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

Martin Storsjö martin
Mon Jul 26 13:18:24 CEST 2010


On Mon, 26 Jul 2010, Vladimir Pantelic wrote:

> Martin Storsj? wrote:
> > 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.
> 
> which would not work for live streaming,
> which I am sure they had in mind too...

Sure it could work (I think), writing continuously to one file, then 
adding byte range segments from the file to the playlist when they're 
written. Anyhow, all of that is up to the backend to sort out any way it 
wants, and not really relevant here...

// Martin



More information about the ffmpeg-devel mailing list