Fixed duplicated device issue
Adding FFMPEG executable detection
Adding HLS capability detection and fall-back mechanism