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

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Sep 16 15:34:45 EEST 2016


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

> Just to confirm the following does the static linking that I aspired to:
> ./configure --prefix=${HOME}/software/ffmpeg/3.0.2-x264-hevc-static
> --disable-shared --enable-pic --enable-libx264 --enable-libx265 --enable-gpl
> --extra-ldflags="${HOME}/software/x264/master-static/lib/libx264.a
> ${HOME}/software/x265/master-static/lib/libx265.a" ... more flags ...

--disable-shared has no effect, --enable-pic generally either has no
effect, or an undesirable effect.

I am not completely convinced that your extra ld flags would fix the
issue for everybody.

Carl Eugen


More information about the Libav-user mailing list