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

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Sep 6 21:29:06 EEST 2016


2016-09-06 14:18 GMT+02:00 Peter Steinbach <steinbach at scionics.de>:

> ./configure --prefix=/tmp/ffmpeg --disable-programs --enable-pic
> --enable-static --enable-libx264 --enable-libx265 --enable-gpl
> --extra-ldflags="/home/steinbac/software/x264/master-static/lib/libx264.a
> /home/steinbac/software/x265/master-static/lib/libx265.a"

As said, --enable-static has no effect, I suggest you remove
it to avoid misunderstandings.

[...]

> 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

These are symbols from FFmpeg's decoder (note the "ff_"),
they are unrelated to x265.
(You can test by recompiling without x265.)

Carl Eugen


More information about the Libav-user mailing list