Recently i upgraded from Ubuntu hardy to the beta of Ubuntu Intrepid. I of course love the program Handbrake, which allows you to convert DVD’s and DVD like sources to a movie file, with presets to things like psp, ipod, apple tv, xbox 360, and more.
Anyway, the current stable version is 0.9.2, but the latest version, 0.9.3 svn, has the hotly anticipated GTK+ interface, which finally gives linux users a graphical interface rather then having to use the command line, which for this program can get quite complicated.
There are several guides for compiling on Ubuntu Hardy, but I noticed that there are a few changes that need to be done for it to work on Intrepid. Here is a step by step rundown of what to do.
First, you need to remove ffmpeg if you have it installed already so we can install one that has more codecs available.
sudo apt-get remove ffmpeg
Now, we add the medibuntu repo to our sources.list so we can install their version of ffmpeg. We also install the keyring package so we can actually use the repo.
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
now we install ffmpeg, this time from the medibuntu repo.
sudo apt-get install ffmpeg
Next, we install the required packages. For Intrepid, we do not need to compile from source yasm, as it includes a much more recent version. Get some coffee as this will take a while. (the entire thing is one command)
sudo apt-get install automake build-essential jam libdvdcss-dev libtool subversion zlib1g-dev libbz2-dev dvdbackup xmlto texinfo gfortran libgtk2.0-dev nasm doxygen libsdl1.2-dev gfortran-multilib gcc-multilib g++-multilib libesd0-dev libgtk1.2-dev libfftw3-dev electric-fence libx264-dev libx264-59 x264 libtheora-dev intltool gettext libgtk2.0-dev libglib2.0-dev libhal-storage1 libhal-storage-dev libhal-dev yasm libgtkhtml3.14-dev
Now, we need to make a directory to put the Handbrake svn files in. I personally have a svn folder within my home folder to contain all the svn files of the various programs i compile, that way I can exclude it from backups, and its just easy to remember
cd ~/ mkdir svn cd svn svn co svn://svn.handbrake.fr/HandBrake/trunk HandBrake cd HandBrake
Now, we need to compile the program. In the past, the handbrake devs wanted you to use jam, but after running configure now, it says quite clearly that we are supposed to use make now. So, we shall. After you run make, this will take like 30 minutes to compile as it has to compile a bunch of libraries…so go watch some TV as this is finishing.
./configure make cd gtk ./autogen.sh make sudo make install
Thats it! Now there will be a HandBrake entry in the menu under applications > sound/video > Handbrake. Enjoy your ripping!


