[FFmpeg-devel] HLS protocol support?

Stas Oskin stas.oskin at gmail.com
Sun Jul 10 22:30:42 CEST 2011

> Ah, I see. The whole segmenting stuff doesn't really fit into a
> libavformat muxer as a whole currently IMO, so you still need some code
> outside of libavformat (either in ffmpeg.c or a separate application).
> Whether that code is within the ffmpeg/libav repo is a separate question
> of course.

I do agree with you that indeed the final process of writing the files to
disk and letting them to be served by HTTP server, then erasing them is
indeed on application level domain.

On another hand, the segmenting process itself looks to my uninitiated eye
as very similar to RTSP/RTMP muxing - there we are splitting the data to
packets then return to user to do as he please, here we would do additional
step and wrap these packets into segments.

Perhaps ffutils would be the best fit for this? From my inspection of the
segmenter code it would be quite close to migrating the
updatePlaylist()/updateLivePlaylist() functions (attributing the author of
course) to ffutil and making it available to call as post-packetizing step.

More information about the ffmpeg-devel mailing list