start by installing these libraries
sudo apt-get install libfdk-aac-dev libass-dev libopus-dev \ libtheora-dev libvorbis-dev libvpx-dev libssl-dev
On Ubuntu 17.04, sudo apt-get install nasm does not add a sufficiently new nasm, so install it manually
get source for nasm at http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D download the latest version
cd ~/src/nasm-2.13.02 ./configure make -j8 sudo make install
Then for x264:
git clone git://git.videolan.org/x264.git cd x264 ./configure --enable-static --enable-shared make -j8 sudo make install
For mp3, get LAME (libmp3lame) from http://lame.sourceforge.net/ version v3.100, then give it normal
cd lame-3.100/ ./configure make -j8 sudo make install
Finally, download the ffmpeg source and complete the installation:
git clone git://source.ffmpeg.org/ffmpeg.git cd ffmpeg ./configure --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-shared --enable-openssl make -j8 sudo make install
I feel your pain but it works
Scott Stensland Feb 27 '13 at 6:52 2013-02-27 06:52
source share