[MEncoder-users] picking up x264 library

Grozdan microchip at telenet.be
Mon Jul 27 00:32:01 CEST 2009


2009/7/26 Matyas <mplayer.list at sustik.com>:
> Grozdan wrote:
>>> hoping that the x264 from /usr/local/lib will be used, but still no joy.
>>>
>>> I used --enable-shared for x264 but since it still puts stuff in
>>> /usr/local/lib  I added links to the .so from /usr/lib/.  That at least is
>>> producing something different:
>>
>> I don't quite understand what you're doing here. You built the new
>> x264 as shared library, installed it in /usr/local and then linked the
>> libs of the older x264 to /usr/local, yes?
>
> I have libx264.so.65 in /usr/lib.  I need that because some packages (mythtv
> for example) depends on that version.
>
> The x264 compile from git (and make install) put a libx264.so.68 into
> /usr/local/lib.  So I created a link:
> ln -s /usr/local/lib/libx264.so.68 /usr/lib/libx264.so.68
> then also:
> ln -s /usr/lib/libx264.so.68 /usr/lib/libx264.so

Just a note: mencoder does not only look for x264 libs. It also
*needs* x264 headers to actually add support for it. When you install
from source, headers are also installed. Some distros, however, split
x264 into two packages; one that provides just the libs and one that
provides the devel stuff (like headers and so). This may also have
been a problem for you but I'm unsure (can't really tell from here
what's going on on your system)

>
> With this hand-holding the mencoder build picked up the newly compiled x264.
> (I got around the dpkg-shlibdeps error by editing out the call in debian/rules.)
>
> I guess the issue is that x264 sources do not provide debian packaging and
> the mplayer/mencoder debian/rules file is not prepared to look in
> /usr/local/bin for newer versions of libx264.so.  Nobody is really at fault.
>
> However, am I the only one who builds debian mplayer packages from the latest
> sources (with up-to-date x264)?
>
> Now I am rerunning the experiments which failed due to the truncated passlog
> file.  A small test (3 min video) indicated that with the current x264 the
> error does not occur.  The whole movie encoding will finish in 90 minutes or
> so...
>
> Thanks for your help and comments.
> Matyas
> -
> Every hardware eventually breaks.  Every software eventually works.
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>
>


More information about the MEncoder-users mailing list