[FFmpeg-user] ERROR: libx264 not found
Reindl Harald
h.reindl at thelounge.net
Mon Sep 18 03:23:23 EEST 2017
nevermind, disabled LTO (which seems to be finally broken) and as
replacement profile-guided-optimization for libx264 since H264 is the
main target....
+ make fprofiled VIDS=/home/builduser/rpmbuild/SOURCES/720x400.yuv -j8
....................
encoded 72 frames, 14.59 fps, 50045.03 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:38.07 size:129576 PSNR Mean Y:20.92
U:23.24 V:23.20 Avg:21.56 Global:21.56
x264 [info]: frame P:18 Avg QP:38.00 size:148134 PSNR Mean Y:20.31
U:23.20 V:23.20 Avg:21.08 Global:21.08
x264 [info]: frame B:53 Avg QP:38.00 size:149927 PSNR Mean Y:20.41
U:23.35 V:23.34 Avg:21.19 Global:21.19
x264 [info]: consecutive B-frames: 1.4% 0.0% 4.2% 94.4% 0.0%
x264 [info]: mb I I16..4: 19.2% 64.4% 16.4%
x264 [info]: mb P I16..4: 39.4% 43.4% 17.0% P16..4: 0.0% 0.0% 0.2%
0.0% 0.0% skip: 0.0%
x264 [info]: mb B I16..4: 33.8% 37.2% 13.0% B16..8: 0.5% 8.3% 7.0%
direct: 0.2% skip: 0.0% L0: 5.8% L1: 4.7% BI:89.6%
x264 [info]: 8x8 transform intra:44.4% inter:7.9%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 100.0%
100.0% 100.0%
x264 [info]: i16 v,h,dc,p: 0% 0% 100% 0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 2% 4% 73% 3% 3% 3% 3%
2% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 4% 6% 42% 8% 8% 7% 8%
6% 11%
x264 [info]: i8c dc,h,v,p: 100% 0% 0% 0%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 58.6% 0.0% 41.4%
x264 [info]: ref B L0: 81.3% 18.7%
x264 [info]: ref B L1: 94.9% 5.1%
x264 [info]: PSNR Mean Y:20.391 U:23.310 V:23.303 Avg:21.164
Global:21.163 kb/s:29839.23
encoded 72 frames, 9.71 fps, 29839.22 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:22.00 size:301449
x264 [info]: frame P:71 Avg QP:34.00 size:194742
x264 [info]: mb I I16..4: 50.2% 0.0% 49.8%
x264 [info]: mb P I16..4: 98.6% 1.4% 0.0% P16..4: 0.0% 0.0% 0.0%
0.0% 0.0% skip: 0.0%
x264 [info]: 8x8 transform intra:1.4% inter:100.0%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 100.0%
100.0% 100.0%
x264 [info]: i16 v,h,dc,p: 0% 0% 79% 21%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 4% 5% 15% 12% 13% 13% 14%
11% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 3% 8% 11% 8% 10% 7%
11% 5%
x264 [info]: i8c dc,h,v,p: 87% 0% 0% 13%
x264 [info]: Weighted P-Frames: Y:74.6% UV:74.6%
x264 [info]: ref P L0: 37.5% 0.0% 18.8% 0.0% 18.8% 12.5% 12.5%
x264 [info]: kb/s:39244.86
encoded 72 frames, 2.80 fps, 39244.85 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:34.00 size:191082
x264 [info]: frame P:71 Avg QP:34.00 size:201729
x264 [info]: mb I I16..4: 3.9% 23.9% 72.2%
x264 [info]: mb P I16..4: 99.2% 0.3% 0.0% P16..4: 0.1% 0.3% 0.1%
0.0% 0.0% skip: 0.0%
x264 [info]: 8x8 transform intra:0.7% inter:99.5%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0% inter: 100.0%
100.0% 100.0%
x264 [info]: i16 v,h,dc,p: 0% 0% 95% 5%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 2% 42% 4% 2% 2% 3%
3% 3%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 3% 29% 8% 6% 7% 7%
7% 6%
x264 [info]: i8c dc,h,v,p: 93% 0% 0% 7%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 21.7% 5.2% 27.4% 25.4% 20.4%
x264 [info]: kb/s:40316.18
encoded 72 frames, 1.02 fps, 40316.18 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.0
x264 [info]: frame I:1 Avg QP:36.84 size:161750
x264 [info]: frame P:49 Avg QP:37.64 size:164243
x264 [info]: mb I I16..4: 8.4% 0.0% 91.6%
x264 [info]: mb P I16..4: 100.0% 0.0% 0.0% P16..4: 0.0% 0.0% 0.0%
0.0% 0.0% skip: 0.0%
x264 [info]: 8x8 transform intra:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0%
x264 [info]: i16 v,h,dc,p: 0% 0% 84% 16%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 3% 16% 9% 8% 9% 8%
9% 7%
x264 [info]: i8c dc,h,v,p: 93% 0% 0% 7%
x264 [info]: Weighted P-Frames: Y:8.2% UV:8.2%
x264 [info]: kb/s:32838.56
encoded 50 frames, 1.16 fps, 32838.56 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High 4:4:4 Predictive, level 3.0, 4:2:0 8-bit
x264 [info]: frame I:50 Avg QP: 0.00 size:433809
x264 [info]: mb I I16..4..PCM: 0.0% 0.0% 0.5% 99.5%
x264 [info]: 8x8 transform intra:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 93% 0% 3% 0% 0% 0% 0%
0% 5%
x264 [info]: i8c dc,h,v,p: 69% 14% 2% 16%
x264 [info]: kb/s:86761.84
encoded 50 frames, 40.60 fps, 86761.84 kb/s
yuv [info]: 720x400p 0:0 @ 25/1 fps (cfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High 4:4:4 Predictive, level 3.0, 4:2:0 8-bit
x264 [info]: frame I:50 Avg QP: 0.00 size:675993
x264 [info]: mb I I16..4: 1.1% 0.0% 98.9%
x264 [info]: coded y,uvDC,uvAC intra: 100.0% 100.0% 100.0%
x264 [info]: i16 v,h,dc,p: 43% 0% 56% 2%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 4% 6% 22% 12% 11% 11% 13%
10% 11%
x264 [info]: i8c dc,h,v,p: 88% 1% 0% 11%
x264 [info]: kb/s:135198.69
Am 18.09.2017 um 01:54 schrieb Carl Eugen Hoyos:
> 2017-09-18 1:16 GMT+02:00 Reindl Harald <h.reindl at thelounge.net>:
>> frankly i build ffmpeg with static x264 for years now and with 3.3.4 as well
>> as master now it's just broken?
>>
>> [builduser at buildserver:/rpmbuild/SPECS]$ rpm -q --filesbypkg x264-latest
>> x264-latest /usr/local/x264/libx264.a
>> x264-latest /usr/local/x264/x264.h
>> x264-latest /usr/local/x264/x264_config.h
>>
>> + ../configure --prefix=/usr/local --bindir=/usr/local/bin
>> --mandir=/usr/local/man
>
>> '--extra-cflags=-I/usr/local/x264 -m64 -O2 -g0
>> -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge -fopenmp
>> -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions
>> -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2
>> -Wstack-protector -Wformat -Werror=format-security -Ofast -ffast-math
>> -funsafe-math-optimizations -Wno-pointer-sign -minline-all-stringops
>> -fno-strict-aliasing -flto -ffat-lto-objects -fuse-ld=gold
>> -fuse-linker-plugin -Wa,--noexecstack' '--extra-ldflags=-I/usr/local/x264
>> -L/usr/local/x264 -ldl -Wl,--as-needed -Wl,-z,now -Wl,-z,relro
>> -Wl,-z,noexecstack -m64 -O2 -g0 -mfpmath=sse -mavx -msse2avx
>> -march=sandybridge -mtune=sandybridge -fopenmp -pipe -fno-strict-aliasing
>> -fomit-frame-pointer -fexceptions -fstack-protector-strong
>> --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat
>> -Werror=format-security -Ofast -ffast-math -funsafe-math-optimizations
>> -Wno-pointer-sign -minline-all-stringops -fno-strict-aliasing -flto
>> -ffat-lto-objects -pie -fPIE -fuse-ld=gold -fuse-linker-plugin
>> -Wa,--noexecstack'
>
> As said before:
> Either this makes sense (in any configuration!), then it should be
> added to the appropriate configure options, or it does not make
> sense (read: It makes the resulting binary slower but not more
> secure compared to the available configure options) then don't
> use it.
> In any case: These options make your configure line unsupported
> here.
> (Mostly because it makes the binary slower for no gain, but using
> contradicting compiler options also counts.)
>
>> --enable-lto --ar=gcc-ar --ranlib=true --enable-nonfree
>> --enable-gpl --enable-pic --enable-version3 --enable-libmp3lame
>> --enable-libtheora --enable-libx264 --enable-libx265 --enable-libvpx
>> --enable-openssl --enable-static --enable-runtime-cpudetect
>> --disable-amd3dnow --disable-amd3dnowext --disable-avdevice --disable-debug
>> --disable-devices --disable-ffplay --disable-ffprobe --disable-ffserver
>> --disable-htmlpages --disable-hwaccels --disable-iconv --disable-libdc1394
>> --disable-libfreetype --disable-libgsm --disable-libopencore-amrnb
>> --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg
>> --disable-libopus --disable-librtmp --disable-libspeex --disable-libvorbis
>> --disable-libxvid --disable-podpages --disable-postproc
>> --disable-protocol=gopher --disable-shared --disable-txtpages
>
> Making the configure line less readable by adding default
> disable-options also doesn't increase the chance of somebody
> finding the issue here.
>
>> ERROR: libx264 not found
>
> Cutting the most important part of the console output also
> won't help
More information about the ffmpeg-user
mailing list