Closed kuznetcoff777 closed 1 year ago
https://github.com/jrottenberg/ffmpeg/tree/main/docker-images/6.0/nvidia2004
took this file
Added --enable-libvmaf \ to configure step
--enable-libvmaf \
Before this step i changed logic of step vmaf installation (installed meson)
RUN \ echo "Building VMAF." && \ apt-get -y install meson && \ apt-get autoremove -y && \ apt-get clean -y && \ DIR=/tmp/vmaf && \ mkdir -p ${DIR} && \ cd ${DIR} && \ curl -sLO https://github.com/Netflix/vmaf/archive/v${LIBVMAF_VERSION}.tar.gz && \ tar -xz --strip-components=1 -f v${LIBVMAF_VERSION}.tar.gz && \ cd /tmp/vmaf/libvmaf && \ meson build --buildtype release --prefix=${PREFIX} && \ ninja -vC build && \ ninja -vC build install && \ mkdir -p ${PREFIX}/share/model/ && \ cp -r /tmp/vmaf/model/* ${PREFIX}/share/model/ && \ rm -rf ${DIR}
On output i get error
Step 68/78 : RUN DIR=/tmp/ffmpeg && cd ${DIR} && ./configure --disable-debug --disable-doc --disable-ffplay --enable-cuda --enable-cuvid --enable-fontconfig --enable-gpl --enable-libaom --enable-libaribb24 --enable-libass --enable-libbluray --enable-libfdk_aac --enable-libfreetype --enable-libkvazaar --enable-libmp3lame --enable-libnpp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libsrt --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-libzmq --enable-nonfree --enable-nvenc --enable-openssl --enable-postproc --enable-shared --enable-small --enable-version3 --enable-libvmaf --extra-cflags="-I${PREFIX}/include -I${PREFIX}/include/ffnvcodec -I/usr/local/cuda/include/" --extra-ldflags="-L${PREFIX}/lib -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib32/" --extra-libs=-ldl --extra-libs=-lpthread --prefix="${PREFIX}" && make clean && make && make install && make tools/zmqsend && cp tools/zmqsend ${PREFIX}/bin/ && make distclean && hash -r && cd tools && make qt-faststart && cp qt-faststart ${PREFIX}/bin/ ---> Running in ee2da29ffe58 ERROR: libvmaf >= 2.0.0 not found using pkg-config
Seems to be issue is here https://github.com/Netflix/vmaf/pull/1178
https://github.com/jrottenberg/ffmpeg/tree/main/docker-images/6.0/nvidia2004
took this file
Added
--enable-libvmaf \
to configure stepBefore this step i changed logic of step vmaf installation (installed meson)
On output i get error