[MPlayer-users] How to include the external library x264 into MPlayer/FFmpeg?

Phil Oleynik oleynik.phil at mail.ioffe.ru
Thu Nov 29 11:57:05 CET 2007


boku wrote:
> On 11/29/07, Phil Oleynik <Oleynik.Phil at mail.ioffe.ru> wrote:
>   
>> boku wrote:
>>     
>>> As well as x264, I only can make MPlayer instead of install. Will it
>>> be a problem for the building ?
>>>
>>>       
>> Hello,
>>
>> you may install x264 in your home, adding its location to e.g.
>> --extra-libs=FLAGS.
>> Also you may set environment variables that are used by gcc.
>> Mplayer may be installed anywhere you have rights to, using --prefix or
>> more complex options (like --bindir=DIR, etc)
>>
>> Best regards, Phil
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>
>>     
> Thanks, Phil,
>     I checked out MPlayer's configure parameters and found there are 2
> that i can use. Could I set up such as follows?
>     --extra-libs=libx264.a
>     --with-extralibdir=/LIBX264DIR/
Hello, boku
the first parameter is only necessary if your x264 lib (or any other) is 
not named in usual way, libx264.a, but something like my_x264.a or 
anything else.
So in your case the second parameter should be sufficient. Remember to 
set full path there.

Best regards, Phil



More information about the MPlayer-users mailing list