[Ffmpeg-devel] plug-n-play codecs support

Arpi arpi
Sat Apr 30 11:19:48 CEST 2005


Hi,

> M?ns Rullg?rd wrote:
> > Aaron Lee <waifunlee at gmail.com> writes:
> > > I would like to build a ffmpeg dynamic loading mechanism such that
> > > codecs can be built as a dll and be loaded at runtime rather than
> > > statically bundle all codecs in a big library. Has anyone done that
> > > before?
> > 
> > Many of the codecs share the core components, only the bit parsing
> > being specific.  This means that the cost of each codec isn't as high
> > as it might seem.
> 
>   In addition i think it would be way more useful to make the codecs
> selectable at compile time which is in the works if i understood

the problem(?) is that they share a lot more.
try to remove a codec file from Makefile, and see how many other
codecs use some code from it. the libavcodec codecs has a lot
cross-dependency on eachother, sharing small helper functions or
sometimes even big parsers (with some if()'s inside to check codec type).


A'rpi / MPlayer, Astral & ESP-team

--
Girls are like internet domain names, the ones I like are already taken.




More information about the ffmpeg-devel mailing list