[Libav-user] HTTP Live streaming: using demuxer

Jean-Yves Avenard jyavenard at gmail.com
Wed May 9 18:17:41 CEST 2012


I can easily play a HLS stream, simply by using
ffurl_open(&m_context, url, AVIO_FLAG_READ, NULL, NULL);

I just need to have my url starts with applehttp (obsolete) or hls+http

So the url would be a string with:

when doing so however, I see the message
[hls @ 0x10ab95340] Using the hls protocol is discouraged, please try
using the hls demuxer instead. The hls demuxer should be more complete
and work as well as the protocol implementation. (If not, please
report it.) To use the demuxer, simply use

Also, when using this method, seek do not work (along with other feature)

So I would like to use the demuxer.

But how would you do so ?

Could anyone provide an example on how to use the hls demuxer (or any
demuxer for that matter)

Thanks in advance

More information about the Libav-user mailing list