EdenwareApps / Megacubo

:tv: A intuitive, multi-language and cross-platform IPTV player. Available for Windows, Android, Linux & macOS.
https://megacubo.tv
GNU General Public License v3.0
288 stars 54 forks source link

Error iptv list #2

Closed erickants closed 5 years ago

erickants commented 6 years ago

My iptv list get this error:

Player error: mediaError - fragParsingError

EdenwareApps commented 5 years ago

That's a hls.js error. https://github.com/video-dev/hls.js/issues/135

It may be related to the codec used in the IPTV list. For streams ending in .ts instead of .m3u8, the program uses FFmpeg to transform it in a M3U8 compatible with the HTML5 video player + hls.js. But as transcoding the video would be too resource intensive, it uses "copy" instead of "libx264" as the output video codec parameter on FFmpeg.

If the codec used by the .ts stream isn't compatible with HTML5 video, then it explains this error.

EdenwareApps commented 5 years ago

I can implement a transcoding option unchecked by default, just for completeness, but personally I think it will not mush usable, my CPU gets crazy transcoding even SD streams.

Other possibility would be something like WebChimera, but that seemed too complex at a first look.