我能够使用 ./configure --toolchain=msvc 构建 FFMPEG,但现在我想添加所有其他东西:
./configure --target-os=win64 --arch=x86_64 --toolchain=msvc --enable-gpl --enable-version3 --
enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --
enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-
libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --
enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --
enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-
amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --
enable-librav1e --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-
cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-
libopenmpt --enable-amf --enable-openal
我不确定这是否是实现此目的的方法,目前我收到了此错误:
ERROR: aom >= 1.0.0 not found using pkg-config
在 config.log 中我得到了这个:
require_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
check_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
test_pkg_config libaom aom >= 1.0.0 aom/aom_codec.h aom_codec_version
pkg-config --exists --print-errors aom >= 1.0.0
Package aom was not found in the pkg-config search path.
Perhaps you should add the directory containing `aom.pc'
to the PKG_CONFIG_PATH environment variable
No package 'aom' found
ERROR: aom >= 1.0.0 not found using pkg-config
我只需要感光度滤镜和 lut3d 滤镜,我需要在 ./configure 中包含所有这些东西吗?谢谢
答案1
对于 Ubuntu:
sudo apt-get install libaom-dev
答案2
光敏性和 lut3d 滤镜都不需要任何外部依赖项。您可以删除--enable-libaom
和任何类似的阻止选项。