Open
Description
I built (I think) a CUDA enabled libvmaf which I then managed to use in order to build a Linux ffmpeg binary. But my ultimate goal was to build a Windows binary.
On my Windows machine I used media-autobuild_suite
before and it built just fine. But now I wanted to try and build it with the (hopefully) CUDA enabled VMAF. So I copied:
libvmaf.a
tomedia-autobuild_suite/local64/lib/
libvmaf.so
tomedia-autobuild_suite/local64/lib/
vmaf.h
tomedia-autobuild_suite/local64/include/libvmaf/
libvmaf_cuda.h
tomedia-autobuild_suite/local64/include/libvmaf/
...then I fired up the build .bat file and I got the below:
├ Compiling static FFmpeg...
├ Running uninstall...
├ Running configure...
Likely error (tail of the failed operation logfile):
CXXFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1
LDFLAGS: -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -static-libgcc -liconv -static-libstdc++ -L/local64/lib -L/mingw64/lib
../configure --prefix=/local64 --bindir=/local64/bin-video --pkg-config=pkgconf --pkg-config-flags=--keep-system-libs --keep-system-cflags --static --cc=ccache gcc --cxx=ccache g++ --ld=ccache g++ --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d12va --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libharfbuzz --enable-libvpl --enable-libmysofa --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-chromaprint --enable-frei0r --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfribidi --enable-libgme --enable-libilbc --enable-libsvthevc --enable-libkvazaar --enable-libmodplug --enable-librist --enable-librtmp --enable-librubberband --enable-libtesseract --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-libplacebo --enable-libjxl --enable-libvvenc --enable-libvvdec --enable-liblc3 --enable-opencl --enable-opengl --enable-libopenh264 --enable-gnutls --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags=-IC:/media-autobuild_suite/local64/include --extra-cflags=-IC:/media-autobuild_suite/local64/include/AL --extra-version=ge8d4c55987+3
ERROR: libvmaf >= 2.0.0 not found using pkg-config
Important things to note:
- I encountered the same message
ERROR: libvmaf >= 2.0.0 not found using pkg-config
when I attempted to cross compile inside my WSL environment - In my WSL environment,
libvmaf
is found just fine when runningpkg-config
:pkg-config --modversion libvmaf 3.0.0
- After failing to find a solution, I thought I'd try this autobuild suite but it seems the issue is systemic across environments and it's related to the
configure
script offfmpeg
So while I acknowledge that I used non-standard vmaf library files and the issue is with ffmpeg
rather than with this suite, I would appreciate some help if possible, in the hopes that it's a rather simple solution which escapes me.
Metadata
Metadata
Assignees
Labels
No labels
Activity