Page 1 of 1

.m3u8

Posted: 01 Aug 2015 21:37
by Boy2006
sorry the .m3u8 drive me insane....
Can someone explain how the %/§%"/"§% work?
1) playlist.m3u8

Code: Select all

#EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=469829,CODECS="avc1.77.30,mp4a.40.2",RESOLUTION=640x480 example.m3u8
2) "example.m3u8"

Code: Select all

#EXTM3U #EXT-X-VERSION:3 #EXT-X-ALLOW-CACHE:NO #EXT-X-TARGETDURATION:13 #EXT-X-MEDIA-SEQUENCE:623 #EXTINF:8.389, 1a.ts #EXTINF:7.901, 2a.ts
So why i cant play the "1.ts" directly?
Is that some 30sec each -> 1.ts, 2.ts, 3.ts, 4.ts,.... sshhtttt??

Re: .m3u8

Posted: 02 Aug 2015 12:48
by Lotesdelere
That's the idea behind the HLS and HDS protocols: fragmented streaming. So these .TS files are only fragments of the whole stream.

More info:
https://en.wikipedia.org/wiki/HTTP_Live_Streaming
https://en.wikipedia.org/wiki/Adaptive_ ... _streaming
https://en.wikipedia.org/wiki/Dynamic_A ... _over_HTTP