嗨,我正在尝试编译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.
Run Code Online (Sandbox Code Playgroud)
我只是按照这个编译指南:https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide
tma*_*sen 20
您可以使用该编码库安装ffmpeg,如下所示:
brew install ffmpeg --with-fdk-aac
小智 12
第一次尝试
brew install fdk-aac
Run Code Online (Sandbox Code Playgroud)
如果没有你可以像我一样编译
git clone git://github.com/mstorsjo/fdk-aac
cd fdk-aac
autoreconf -i
./configure
make install
Run Code Online (Sandbox Code Playgroud)
几个FFmpeg贡献者和社区成员创建了一个新的Homebrew水龙头,其中包括许多选项*。这是因为从Homebrew FFmpeg核心公式中删除了选项。
卸载ffmpeg
是从Homebrew core安装的:
brew uninstall ffmpeg
Run Code Online (Sandbox Code Playgroud)启用存储库:
brew tap homebrew-ffmpeg/ffmpeg
Run Code Online (Sandbox Code Playgroud)查看可用选项(可选):
brew options homebrew-ffmpeg/ffmpeg/ffmpeg
Run Code Online (Sandbox Code Playgroud)安装ffmpeg
与libfdk-AAC AAC编码器:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --HEAD
Run Code Online (Sandbox Code Playgroud)有关更多信息,请参见varenc / homebrew-ffmpeg和FFmpeg Wiki:macOS。
*请注意,此拍子不是来自FFmpeg项目本身。
归档时间: |
|
查看次数: |
8260 次 |
最近记录: |