[FFmpeg-devel] [PATCH] Dynamic plugins loading

Reinhard Tartler siretart
Wed Nov 3 07:48:36 CET 2010

On Di, Nov 02, 2010 at 22:22:49 (CET), Nicolas George wrote:

> Le duodi 12 brumaire, an CCXIX, Reinhard Tartler a ?crit?:
>> What's holding me back from doing this are three build dependencies,
>> that are not available in the 'main' section: libx264-dev,
>> Would the project accept patches to dlopen() these three libraries at
>> runtime? Then I could (finally) drop ffmpeg-extra.
> What good will it do to dlopen() libx264 if you do not know the prototype
> for x264_encoder_encode?
> The prototype is quite complex and changes pretty often: you still
> build-depend on x264.h.

I'd copy it to the ffmpeg source package. Same for mp3lame and
xvid. Still ugly, but already done IIRC for faad.h.

> What you can do to cheat stupid patent laws is create The "x264crap"
> project, which is a fork of x264 with all possibly patent infringing code
> removed, but exactly the same API and ABI as x264. It may produce files with
> an horribly bad quality, or even not work at all, that's not a problem, as
> it would only be used for building / linking, not for encoding.

I'll consider that idea when the need actually arises.

Reinhard Tartler, KeyID 945348A4

More information about the ffmpeg-devel mailing list