What is a .M3U8 file? + Example M3u8 template
A .M3U8 file is an ‘extensible playlist’ file format. It is basically a playlist containing UTF-8 encoded text that points at video files.
The m3u8 file format is a de facto standard playlist format suitable for carrying lists of media file URLs. Apple got good at metafiles that interacted with the video because of their development alongside of Real of .smil files. (ever wonder what happened to smil files?)
Like a mRSS metadata file, m3u8 is the format used as the index file for HTTP Live Streaming. For details, see IETF Internet-Draft of the HTTP Live Streaming specification.Which can be a bit dense if you’re in a hurry.
Here’s an example of a m3u8 file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1217000,RESOLUTION=1280x720 2013girlwithipad-1200k.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=824000,RESOLUTION=896x504 2013girlwithipad-800k.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=629000,RESOLUTION=640x360 2013girlwithipad-600k.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=430000,RESOLUTION=512x288 2013girlwithipad-400k.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=216000,RESOLUTION=400x300 2013girlwithipad-200k.m3u8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=121000,RESOLUTION=400x300 2013girlwithipad-110k.m3u8
If you are on an iOS device such as an iPhone or iPad, you can watch the video right now, because our source video has been transcoded to HLS and is ready to play encoded and ready to go for iOS.