[Libav-user] What to replace ffurl_register_protocol with?

Hendrik Leppkes h.leppkes at gmail.com
Wed Oct 4 01:49:11 EEST 2017


On Tue, Oct 3, 2017 at 10:39 PM, Mahboud Zabetian <mzabetian at tunein.com> wrote:
> Hi.  I have old code that calls ffurl_register_protocol(), and linked with
> FFMPEG 3.0.2.
>
> I'm upgrading to FFMPEG 3.3. It looks like ffurl_register_protocol()n has
> been deprecated, although there is not a whole lot of mention of what
> replaced it. Google finds only few mentions, such as this one, where someone
> is trying to export ffurl_register_protocol() to continue using it.
>
> Any advice how I should proceed? How can I replace
> ffurl_register_protocol()? Or do I look to export it in the latest FFMPEG?
>

Use a custom avio context with read/write callbacks. Registering
protocols externally is not supported, and the ffurl function was
always an internal function that was errorneously available in a few
versions.

- Hendrik


More information about the Libav-user mailing list