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

Martin Storsjö martin
Sun Jul 25 13:23:43 CEST 2010


Hi,

This patch set adds an implementation of the Apple HTTP Live Streaming 
protocol, as documented in 
http://tools.ietf.org/html/draft-pantos-http-live-streaming, mostly used 
on iPhones and similar but also available in QuickTime and Safari in Mac 
OS X Snow Leopard.

Do you think applehttp:// is the most suitable protocol name for this?

Secondly, currently the implementation takes a full url to a playlist 
after the applehttp:// part, such as
applehttp://http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8.
This allows using other underlying protocols, too, such as https:// (if 
we'd ever implement that), or file:// for fetching the playlist locally - 
mostly for testing. As another alternative, the urls could simply be 
applehttp://devimages.apple.com/..., not allowing any other underlying 
protocols than normal http, but making the urls look slightly less weird.

Seeking is implemented in a separate patch, and requires a slight addition 
to the mpegts demuxer.

Most protocol issues are implemented, but if the playlist has many bitrate 
variants, it only uses the highest bitrate variant and doesn't try to 
dynamically switch to the most suitable variant.

I'll add a changelog entry and bump minor when applying, if the rest is 
ok.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-parse_key_value-from-httpauth-a-common-lavf-int.patch
Type: text/x-diff
Size: 8108 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100725/5bf72901/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-Apple-HTTP-Live-Streaming-protocol-handler.patch
Type: text/x-diff
Size: 11162 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100725/5bf72901/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implement-seeking-in-applehttp.patch
Type: text/x-diff
Size: 1742 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100725/5bf72901/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Try-av_url_read_fseek-in-the-mpegts-read_seek-functi.patch
Type: text/x-diff
Size: 926 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100725/5bf72901/attachment-0003.patch>



More information about the ffmpeg-devel mailing list