[MPlayer-users] building mplayer using non-standard ffmpeg libs
Nico Sabbi
Nicola.Sabbi at poste.it
Wed Aug 29 13:19:48 CEST 2007
The Wanderer wrote:
>
>
>
>>So, how can I compile mplayer effectively against ffmpeg from a
>>non-standard location? ...the only options I've noticed about it are
>>disabling libavcodec ...
>>
>>
>
>
>
in theory using pkg-config, but read below
>I'm not exactly an expert in this part, but I think what you're asking
>for is to compile against previously-installed FFmpeg shared libraries
>instead of using the libav* directories inside the source tree. The
>'--disable-libav*_a' and '--enable-libav*_so' configure options would
>appear to be intended for that purpose. (A ".a" file is a static
>library, intended to be included in the binary at compile time, and a
>".so" file is a shared library, intended to be accessed by the program
>at run time. Static library locations do not need to be specified at
>compile time; they only need to be known by your system linker.)
>
>
unfortunately compilation against external ffmpeg (the terms shared and
static are often confused with external and internal, but they are
not interchangable) was broken long ago
>(If I'm wrong, and what you're asking for is the ability to compile
>against libav* source directories which are located somewhere other than
>in the MPlayer source tree: sorry, that isn't possible, and I don't
>think it can reasonably be made possible because of the design of the
>build system.)
>
>
>
cd main
ln -s /non/standard/ffmpeg/libav* .
More information about the MPlayer-users
mailing list