Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting Master Playlist Formats? #88

Open
iebb opened this issue Sep 2, 2021 · 2 comments
Open

Supporting Master Playlist Formats? #88

iebb opened this issue Sep 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@iebb
Copy link

iebb commented Sep 2, 2021

As defined in RFC8216, Section 8.6

#EXTM3U
   #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="English", \
      DEFAULT=YES,AUTOSELECT=YES,LANGUAGE="en", \
      URI="main/english-audio.m3u8"
   #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Deutsch", \
      DEFAULT=NO,AUTOSELECT=YES,LANGUAGE="de", \
      URI="main/german-audio.m3u8"
   #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="aac",NAME="Commentary", \
      DEFAULT=NO,AUTOSELECT=NO,LANGUAGE="en", \
      URI="commentary/audio-only.m3u8"
   #EXT-X-STREAM-INF:BANDWIDTH=1280000,CODECS="...",AUDIO="aac"
   low/video-only.m3u8
   #EXT-X-STREAM-INF:BANDWIDTH=2560000,CODECS="...",AUDIO="aac"
   mid/video-only.m3u8
   #EXT-X-STREAM-INF:BANDWIDTH=7680000,CODECS="...",AUDIO="aac"
   hi/video-only.m3u8
   #EXT-X-STREAM-INF:BANDWIDTH=65000,CODECS="mp4a.40.5",AUDIO="aac"
   main/english-audio.m3u8

A master playlist could contain multiple variants of video (could be different in resolution) and multiple audio tracks (useful for multi-language videos).

Providing a master m3u8 directly with Minyami would result in its sub-m3u8s being downloaded and merged, while that's 100% not the desired result (though using entries from the master m3u8 worked).

@iebb
Copy link
Author

iebb commented Sep 2, 2021

image

@Last-Order Last-Order added the enhancement New feature or request label Sep 4, 2021
@Last-Order
Copy link
Owner

I've experimentally supported master playlist in 4.4.0. When giving a master playlist to Minyami, the best quality stream will be downloaded.

#EXT-X-MEDIA is not supported now but maybe supported in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants