一个多星期了啊
ERROR: speex not found using pkg-config
ERROR: libx264 not found
ERROR: x265 not found using pkg-config
我下载 Homebrew 命令 安装这些库,安装完库重启电脑 还是报一样的错
我在网上找方法,这样做 也不行啊
./configure --prefix=/usr/local/ffmpeg --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libx264 --enable-libx265 --enable-filter=delogo --enable-debug --disable-optimizations --enable-libspeex --enable-videotoolbox --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --cc=clang --host-cflags= --host-ldflags= \
--extra-ldflags="-L/opt/homebrew/Cellar/speex/1.2.0/lib -L/opt/homebrew/Cellar/x265/3.5/lib -L/opt/homebrew/Cellar/x264/r3060/lib " --extra-cflags="-I/opt/homebrew/Cellar/speex/1.2.0/include -I/opt/homebrew/Cellar/x265/3.5/include -I/opt/homebrew/Cellar/x264/r3060/include"