Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 错误:必须安装libfdk_aac_Macos_Ffmpeg - Fatal编程技术网

Macos 错误:必须安装libfdk_aac

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,但此错误显示:

☁  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
    
  • 查看可用选项(可选):

  • 使用libfdk aac aac编码器安装
    ffmpeg

    brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --HEAD
    
  • 有关更多信息,请参阅和


    *请注意,此点击并非来自FFmpeg项目本身。

    感谢Steven的支持。不幸的是,此点击不再有效:(据我在github上从本期文章中收集到的信息,此选项已被删除,但又重新添加。
    brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --HEAD