最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Can i merge multiple m3u8 files into one m3u8 file? - Stack Overflow

programmeradmin5浏览0评论

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 badges
Add a ment  | 

1 Answer 1

Reset to default 6

Solved by using the EXT-X-DISCONTINUITY tag https://datatracker.ietf/doc/html/draft-pantos-http-live-streaming-23#section-4.3.2.3

发布评论

评论列表(0)

  1. 暂无评论