[FFmpeg-user] how to rename libx264 shared library(libx264.so.152) in FFmpeg

Moritz Barsnick barsnick at gmx.net
Wed Oct 16 17:00:58 EEST 2019


On Wed, Oct 16, 2019 at 17:28:25 +0530, Anand Veerappan wrote:
> *  objdump -p /usr/lib/libx264.so.152 | grep SONAME- Please show us the
> output of  objdump -p /usr/lib/libx264-mv.so.152 | grep SONAME*
> *Ans: Though we renamed libx264-mv.so.152 but it is
> referring libx264.so.152 only*
> *Refer below mentioned obj dump. *
> [image: console.jpg]

This shows me that your changes of the libx264 build process did not
change the SONAME as intended. The SONAME of libx264-mv.so.152 is still
"libx264.so.152", so something went wrong there. libx264 is not part of
ffmpeg, so that doesn't really belong here. I tried your change to
libx264's configure (editing the definition of SONAME to include
"-mv"), and I got the proper shared library:

$ objdump -p libx264-mv.so.157 | grep SONAME
  SONAME               libx264-mv.so.157

You should check this immediately after compilation of
libx264-mv.so.XYZ, and then check whether you perhaps copied the wrong
version of libx264 to your target directory.

> Kindly guide us where to make changes to use modified libx264-mv.so.152 in
> ffmpeg binary.

ffmpeg will do the right thing, once libx264.so points to the correctly
compiled libx264-mv.so.XYZ.

Cheers,
Moritz


More information about the ffmpeg-user mailing list