[MPlayer-users] libmpcodec and libavcodec~~

RC cooleyr at gmail.com
Thu Dec 27 02:56:37 CET 2007


On Wed, 26 Dec 2007 16:49:35 +0800
boku <boku0712 at gmail.com> wrote:

> Thanks! Say if I wanna import a general codec that can have some
> decoders like ffmpeg. Where should I better place it? Should be in
> libmpcodecs or in libavcodecs?
> or maybe even create a one sub-dir for the general codec?
> Thanks again!

If it's just a single native codec, and assuming there isn't a license
(LGPL) or technical conflict (native C code) you'll most likely be urged
to write the code so that it can be added to libavcodec, and send it to
the ffmpeg-devel mailing list, so it can be incorporated for use in a
large number of 3rd party projects that use lavc, not just MPlayer.

If it's something like a new family of codecs, or importing an external
project, it probably needs a new subdir, and something of a wrapper
(like ve_lavc/vd_lavc) in libmpcodecs/ to tell MPlayer/Mencoder how to
use it.

If you're writing a wrapper to use an external library or binary, just
add it to libmpcodecs/. 



More information about the MPlayer-users mailing list