bytedeco/javacv

Issue opening and playing live hls m3u8 stream that has WebVTT files in its manifest

Open

#1,336 创建于 2019年11月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Java (1,583 fork)batch import
help wantedquestion

仓库指标

Star
 (6,985 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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?

贡献者指南