globocom / hlsclient

Python HLS Client
Other
105 stars 21 forks source link

Should suport multiple bitrates #11

Closed hltbra closed 12 years ago

hltbra commented 12 years ago

It should create an m3u8 linking to other m3u8s and download all .ts

hltbra commented 12 years ago

hlsclient should discover and consume variant playlists, like:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1280000
http://example.com/low.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2560000
http://example.com/mid.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=7680000
http://example.com/hi.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=65000,CODECS="mp4a.40.5"
http://example.com/audio-only.m3u8