According to the specification of HTTP Live Streaming , and if you are not using an older version of ffmpeg (I use 1.0), the m3u8 file it creates is beautiful.
My looks like this (while ffmpeg is still encoding):
#EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-ALLOWCACHE:1 #EXTINF:8.308300, stream00000.ts #EXTINF:8.341667, stream00001.ts
By disabling the # EXT-X-ENDLIST tag, the client must know to reload this m3u8 file for more media. This is described here . As soon as ffmpeg exits (or I ctrl-c from it) # EXT-X-ENDLIST is added to the end of the file.
source share