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

Anand Veerappan anandzone at gmail.com
Fri Oct 18 13:19:06 EEST 2019


Hi

Thanks for sharing the details. We tried those steps and could able to
generate libx264-mv.so &  libx264-mv.so.152 perfectly.

Refer attached screenshot.
Step 1:  x264 configure file

[image: x264_config1.jpg]

[image: x264_config2.jpg]

By doing these two changes we could able to generate  libx264-mv.so &
libx264-mv.so.152.
[image: SO_file.jpg]
Step 2: Build FFmpeg source after Step 1 we are facing compilation error.

[image: ffmpeg_libx264_configure.jpg]

[image: ffmpeg_error.jpg]

Please guide us where to modify in FFmpeg configuration to resolve this
error and pick  libx264-mv.so &  libx264-mv.so.152.

Regards
Anand V



On Wed, Oct 16, 2019 at 7:31 PM Moritz Barsnick <barsnick at gmx.net> wrote:

> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264_config1.jpg
Type: image/jpeg
Size: 38503 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20191018/91aee0cb/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264_config2.jpg
Type: image/jpeg
Size: 91039 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20191018/91aee0cb/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SO_file.jpg
Type: image/jpeg
Size: 16287 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20191018/91aee0cb/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_libx264_configure.jpg
Type: image/jpeg
Size: 97254 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20191018/91aee0cb/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_error.jpg
Type: image/jpeg
Size: 238876 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20191018/91aee0cb/attachment-0004.jpg>


More information about the ffmpeg-user mailing list