Issue opening and playing live hls m3u8 stream that has WebVTT files in its manifest
#1.336 geöffnet am 20. Nov. 2019
Repository-Metriken
- Stars
- (6.985 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
When it comes across with a *.vtt file inside a m3u8 list it goes in an infinite loop. I’d found that by making a local copy of your link and excluded references to *.vtt and after that I successfully opened it in my standalone FFmpeg.exe. That came me to an idea how to workaround the bug in the application – make a local copy of a master m3u8 URL and all of the slave URLs, change all relative paths inside them to the absolute ones and exclude all *.vtt references from the local copies. After that the app will be able to open it. But I didn’t succeed because such an approach demands to set a special parameter for FFmpeg but JavaCV sets it in a wrong order and as a result nothing works. I also tried to find a way how to tell FFmpeg to ignore particular parts in a m3u8 but failed again. So by now I don’t see a way to fix it.
Any suggestions, or am I missing something?