[MEncoder-users] picking up x264 library
Moritz Barsnick
barsnick at gmx.net
Mon Jul 27 22:30:01 CEST 2009
On Mon, Jul 27, 2009 at 14:49:17 -0500, Matyas wrote:
> Is there a way to tell mencoder to pick the x264 library installed in say
> /usr/local?
You could even install it outside /usr/local, such as /opt/x264 or
/usr/local/x264 (or anywhere else specific to x264):
Install x264 with ./configure --prefix=/usr/local/x264
and then mencoder:
./configure --extra-ldflags="-L/usr/local/x264/lib -Wl,-rpath,/usr/local/x264/lib" --extra-cflags="-I/usr/local/x264/include"
(Just /usr/local instead of /usr/local/x264 should work too.)
I do this for a whole host of libs (8 of them at work, and I don't have
many codec libs there), and they all get picked up (of course) before
/usr and /usr/local, and clash with neither pre-installed libraries nor
headers.
HTH,
Moritz
More information about the MEncoder-users
mailing list