macos - 错误: libfdk_aac must be installed

标签 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-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.

我只是遵循这个编译指南:https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide

最佳答案

您可以使用该编码库安装 ffmpeg,如下所示:

brew install ffmpeg --with-fdk-aac

关于macos - 错误: libfdk_aac must be installed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21553286/

相关文章:

FFMPEG - 填充图像底部

windows - 从一组 png 图像创建动画 gif

objective-c - Mac OS X NSUserNotificationCenter 通知获取取消事件/回调

FFMPEG 提取剪辑和淡入淡出

ffmpeg - 如何在流畅的FFMPEG Nodejs中添加多个字幕

macos - 如何使用 FFmpeg 转换视频文件的音频编解码器?

bash - Docker osx挂载文件夹为空

macos - Mac OS X 10.4+ 上的 Bash 配置

swift - 如何使用 SwiftUI 在 macOS 上可靠地检索窗口的背景颜色?

c++ - GLUT 显示空白窗口