Written by Justin Goetz -
Step 1: Install compiling packages.
sudo apt-get install yasm nasm \ build-essential automake autoconf \ libtool pkg-config libcurl4-openssl-dev \ intltool libxml2-dev libgtk2.0-dev \ libnotify-dev libglib2.0-dev libevent-dev \ checkinstall
Step 2: Clone the ffmpeg repo.
git clone git://git.videolan.org/ffmpeg.git
Step 3: Compile!
time make -j 8
After that has finished, you need to get the version. Type
cat RELEASE. Remember that number for the next step.
Now, begin the process of building a .deb file.
It is ESSENTIAL that you now create the directory to install ffmpeg in, otherwise the install fails!
sudo mkdir /usr/share/ffmpeg
sudo checkinstall and the install will start. This is where you have to remeber the Version number that we got earlier. When the installer asks you if all the information is correct, you must type "3", to change version numbers. Enter the new version, press enter, and continue with the install.
Once the installer finished (will take some time), it will say "Done. The new package has been installed and saved to Almost done! Now, just type
sudo dpkg --install ffmpeg_*.deb to install ffmpeg.
Almost done! Now, just type