2014-02-04 2 views
5

Привет Я пытаюсь скомпилировать FFmpeg, но эта ошибка показывает:Ошибка: libfdk_aac должен быть установлен

☁ 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 
[email protected] 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

ответ

10

Сначала попробуйте

brew install fdk-aac 

В противном случае вы можете скомпилировать, как я делаю

git clone git://github.com/mstorsjo/fdk-aac 
cd fdk-aac 
autoreconf -i 
./configure 
make install 

Example

+0

Спасибо Стивену за это – xirukitepe

19

Вы можете установить FFmpeg с этой библиотекой кодирования так:

brew install ffmpeg --with-fdk-aac

Смежные вопросы