[Libav-user] statically linking x264 and x265 into ffmpeg

Peter Steinbach steinbach at scionics.de
Tue Sep 6 15:18:33 EEST 2016

Alright, so this
./configure --prefix=/tmp/ffmpeg --disable-programs --enable-pic 
--enable-static --enable-libx264 --enable-libx265 --enable-gpl 

generates the static libraries I wanted and it contains x264/x265 symboles.

I checked libavcodec with nm, and I see stuff like this:
$ nm libavcodec.a|grep ff_hevc_transform_add16_10_sse2
0000000000002810 T ff_hevc_transform_add16_10_sse2
                  U ff_hevc_transform_add16_10_sse2

Which I found a bit weird as the function call is declared as undefined 
and as found in the .text section. I'll check downstream now, if my 
project can such that up without having to link against libx264/libx265 
as well.

Let me do some more checks, before I sign this thread off. ;)
Thanks for the help so far.


More information about the Libav-user mailing list