Hi I am trying to compile ffmpeg but this error shows:
☁ 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.
I am simply following this compilation guide: https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide
A few FFmpeg contributors and community members created a new Homebrew tap*, homebrew-ffmpeg, that includes many options. This is in response to the removal of options from the core Homebrew FFmpeg formulae.
Uninstall ffmpeg
you installed it from Homebrew core:
brew uninstall ffmpeg
Enable the repository:
brew tap homebrew-ffmpeg/ffmpeg
View available options (optional):
brew options homebrew-ffmpeg/ffmpeg/ffmpeg
Install ffmpeg
with the libfdk-aac AAC encoder:
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-fdk-aac --HEAD
See homebrew-ffmpeg and FFmpeg Wiki: macOS for more info.
* Note that this tap is not from the FFmpeg Project itself.
You can install ffmpeg with that encoding library like so:
brew install ffmpeg --with-fdk-aac
First try
brew install fdk-aac
Failing that you can compile like I do
git clone git://github.com/mstorsjo/fdk-aac
cd fdk-aac
autoreconf -i
./configure
make install
Example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With