Macos 错误:必须安装libfdk_aac
您好,我正在尝试编译ffmpeg,但此错误显示:Macos 错误:必须安装libfdk_aac,macos,ffmpeg,Macos,Ffmpeg,您好,我正在尝试编译ffmpeg,但此错误显示: ☁ ffmpeg [master] ./configure --enable-gpl --enable-version3 --enable-nonfree \ --enable-postproc --enable-libass \ --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-libfreetype \ --enable-libmp3lame --enable-li
☁ ffmpeg [master] ./configure --enable-gpl --enable-version3 --enable-nonfree \
--enable-postproc --enable-libass \
--enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-libfreetype \
--enable-libmp3lame --enable-libopencore-amrnb \
--enable-libopencore-amrwb --enable-libopenjpeg \
--enable-openssl --enable-libschroedinger --enable-libtheora \
--enable-libvo-aacenc --enable-libvorbis --enable-libvpx \
--enable-libx264 --enable-libxvid --prefix=/usr
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
ERROR: libfdk_aac must be installed and version must be >= 3.4.12.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
我只是按照下面的编译指南进行操作:第一次尝试
brew install fdk-aac
如果失败了,你可以像我一样编译
git clone git://github.com/mstorsjo/fdk-aac
cd fdk-aac
autoreconf -i
./configure
make install
您可以使用该编码库安装ffmpeg,如下所示:
brew安装ffmpeg——使用fdk aac
一些FFmpeg贡献者和社区成员创建了一个新的自制tap*,其中包括许多选项。这是对从核心自制FFmpeg公式中删除选项的回应
ffmpeg
您是从自制内核安装的:
brew uninstall ffmpeg
brew tap homebrew-ffmpeg/ffmpeg
ffmpeg
:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --HEAD
*请注意,此点击并非来自FFmpeg项目本身。感谢Steven的支持。不幸的是,此点击不再有效:(据我在github上从本期文章中收集到的信息,此选项已被删除,但又重新添加。
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --HEAD