[FFmpeg-devel] [PATCH] Add Apple HTTP Live Streaming protocol handler

Martin Storsjö martin
Mon Jul 26 11:42:22 CEST 2010


On Mon, 26 Jul 2010, Luca Barbato wrote:

> On 07/25/2010 08:13 PM, Ronald S. Bultje wrote:
>  > Why is this not a demuxer? It seems it's a playlist.
> 
> It isn't exactly a playlist, using the protocol is quite effective in
> this case. Still I'm wondering why split files this way.
> 
> I'm not sure why they proposed that and not just put in the index the
> right offsets and let the player ask using Range...

You could do that, but I think they've tried to make it as simple (on the 
http level) as possible, so that as many weird proxies and similar as 
possible can cache the segment files, I'm not sure if all of them are up 
to caching range requests. You could have the backend store it in one 
single file and just serve it up like serve.cgi?range=1234-4567 and use 
that kind of urls in the playlist if you'd want to, though.

// Martin



More information about the ffmpeg-devel mailing list