Script To Automatically Download And Compile FFmpeg And x264 In Ubuntu 9.10 Karmic And 10.04 Lucid

FFmpeg is a complete solution to record, convert and stream audio and video from the command line. As you probably know, the FFmpeg version from the official Ubuntu repositories is compiled without support for some codecs so if you want to use them, you must compile FFmpeg for yourself.

NicoLargo (who has an awasome blog by the way) has created two scripts based on a post from the Ubuntuforums (which we've quoted several times before) to automate the process of compiling FFmpeg in Ubuntu 9.10 Karmic Koala and Ubuntu 10.04 Lucid Lynx.

Basically all you have to do is run the script (and have an active Internet connection) and it will automatically download the latest SVN version of FFmpeg, compile it, create a .deb package with checkinstall and install it. The script will also download and compile the x264 library required by FFmpeg.