[FFmpeg-devel] [PATCH] Dynamic plugins loading

Nicolas George nicolas.george
Sun Oct 31 14:42:14 CET 2010


Hi.

This patch is an attempt at implementing a simple plugins architecture for
ffmpeg / libav*.

The design is kept minimalistic on purpose: any file named av*.so in
$PREFIX/lib/ffmpeg/ or $AV_PLUGIN_PATH is dlopened, and its _init function
is expected to call av_register_something to publish its features.

There is probably much to discuss, but at the very least, it works to simply
add support for a new format in lavf by just dropping a file in a directory.
Codecs and filters should work just the same.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-plugins-20101031-1429-01-plugins.diff
Type: text/x-diff
Size: 10043 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101031/e285eaa9/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101031/e285eaa9/attachment.pgp>



More information about the ffmpeg-devel mailing list