HTTP Streaming Test Page



HTTP Video On Demand Example




DC's Cherry Blossoms in full bloom!

Here are some sample commands used in ffmpeg:

To wrap the h264 into a .ts envelope (or whatever it is):

ffmpeg -i CherryBlossoms_150k.mov -vcodec copy -acodec copy -vbsf h264_mp4toannexb cherryblossoms_150k.ts

To segment the file and create an m3u8 playlist:

ffmpeg -i CherryBlossoms_150k.ts -codec copy -flags -global_header -map 0 -f segment -segment_time 10 -segment_list cherryblossoms_150k.m3u8 cherryblossoms_150k%03d.ts

As specified by Apple, the videos are broken out into 150k, 750k, 2540k and 4540k versions. A master playlist contains links to the playlists for each version. Apple wants you to have identical audio tracks in each version for audio continuity, but I haven't tried that yet.

This is a link to a very thorough reference to the .m3u8 playlist format.

Here is a link that was really helpful getting started with the ffmpeg segmenter command.

Thanks!