admin 管理员组文章数量: 1086019
I have multiple m3u8 files which I want to play one after another in the same video player. Is there a way to include all of them in one m3u8 file? For example, let's say that I have these files: zebra.m3u8, giraffe.m3u8 and lion.m3u8, how can I play all of them one after another in the same player?
I was thinking about an m3u8 file which will work like this:
zebra.m3u8 -> master playlist -> media playlist
giraffe.m3u8 ...
Some kind of file which will contain the manifests' urls for the m3u8 clips.
Edit: An idea which came to mind was to list the .ts urls of all clips in the correct order and create sort of a merged m3u8 playlist but it doesn't work, any ideas?
I have multiple m3u8 files which I want to play one after another in the same video player. Is there a way to include all of them in one m3u8 file? For example, let's say that I have these files: zebra.m3u8, giraffe.m3u8 and lion.m3u8, how can I play all of them one after another in the same player?
I was thinking about an m3u8 file which will work like this:
zebra.m3u8 -> master playlist -> media playlist
giraffe.m3u8 ...
Some kind of file which will contain the manifests' urls for the m3u8 clips.
Edit: An idea which came to mind was to list the .ts urls of all clips in the correct order and create sort of a merged m3u8 playlist but it doesn't work, any ideas?
Share Improve this question edited Nov 16, 2020 at 20:47 Alon Yeager asked Nov 15, 2020 at 7:41 Alon YeagerAlon Yeager 9202 gold badges8 silver badges17 bronze badges1 Answer
Reset to default 6Solved by using the EXT-X-DISCONTINUITY tag https://datatracker.ietf/doc/html/draft-pantos-http-live-streaming-23#section-4.3.2.3
本文标签: javascriptCan i merge multiple m3u8 files into one m3u8 fileStack Overflow
版权声明:本文标题:javascript - Can i merge multiple m3u8 files into one m3u8 file? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744095757a2532868.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论