How to quickly compile FFmpeg with mp3, aac+ and x264

Version 1 (modified by burek, 5 years ago) (diff)


First, compile/install libmp3lame

See here How to quickly compile libaacplus

See here How to quickly compile libx264

In order to quickly compile your FFmpeg with the support for libraries libmp3lame, libaacplus and libx264, you can type the following commands in your shell:

# git clone git://
# cd ffmpeg
# ./configure --enable-gpl --enable-libx264 --enable-libmp3lame --enable-nonfree --enable-libaacplus
# make
# make install

P.S. If you are using Ubuntu, you'll most probably have to use sudo for the last 2 commands, like:

# sudo make install
# sudo ldconfig