./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.)

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 ...

Thanks Carl Eugen,
Peter
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to