Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: libvmaf >= 2.0.0 not found using pkg-config #373

Closed
kuznetcoff777 opened this issue Apr 11, 2023 · 1 comment
Closed

ERROR: libvmaf >= 2.0.0 not found using pkg-config #373

kuznetcoff777 opened this issue Apr 11, 2023 · 1 comment

Comments

@kuznetcoff777
Copy link

https://github.com/jrottenberg/ffmpeg/tree/main/docker-images/6.0/nvidia2004

took this file

Added --enable-libvmaf \ to configure step

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
@kuznetcoff777
Copy link
Author

Seems to be issue is here
Netflix/vmaf#1178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant