[FFmpeg-devel] Future of applehttp demuxer, Was: [FFmpeg-commits] Add Apple HTTP Live Streaming protocol handler

Martin Storsjö martin
Mon Mar 7 11:53:50 CET 2011


On Sun, 6 Mar 2011, Martin Storsj?  wrote:

> Add Apple HTTP Live Streaming protocol handler
> 
> Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> 
> ---
> 
>  doc/general.texi             |    1 +
>  libavformat/Makefile         |    1 +
>  libavformat/allformats.c     |    1 +
>  libavformat/applehttpproto.c |  358 ++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 361 insertions(+), 0 deletions(-)

Now that this is committed, what's the future of the applehttp demuxer? It 
has some features that the protocol handler variant doesn't support at the 
moment (seeking, receiving multiple bitrate variants at the same time). 
Both of them lack automatic bitrate switching.

There's not really much code to share between them - they're structured 
quite similarly but almost everything actually differs in practice. The 
make_absolute_url function is identical between the both, though, and 
might be useful as a general lavf internal function. If we intend to keep 
both of them around for more than just a short while, at least this should 
be factored out. I'll follow up with a patch for that soon.

// Martin



More information about the ffmpeg-devel mailing list