Handbrake Installation on Ubuntu 9.04 (Jaunty)
November 27th, 2009
Overview
I read an interesting review today on the software HandBrake. I had not heard of this package before but had recently been researching similar items.
Personally, I always used k9copy to make copies of DVDs and to rip to local video files for use on my devices. However, recently I was asked for advice on a Windows solution. It seems that HandBrake fits that bill as it is cross-platform between Mac, Windows and Linux. Of course it states quite specifically that it does not help to crack copyrights. In my experience, k9copy does this almost without error 99% of the time.
So why would I, a Linux user, use HandBrake rather than k9copy? Quite simply, I am not a video guru and, while I normally like having many options, sometimes it is frustrating to have to tweak and retweak and re-rip to solve resolution and smoothness issues. HandBrake seems to have a fine assortment of presets (various qualities for various devices) and also offers a live preview function.
So I decided to give the installation a whirl. The site offers a download for Ubuntu, however this is for Karmic. I have not yet switched most of my computers to Karmic (that is a whole article unto itself). Grabbing the source I proceeded to hack away at it and did finally manage to get the installation completed and running.
Installation
First let’s install the required packages. This took a bit of trial and error to figure out completely, but here is is:
sudo apt-get install build-essential autoconf libtool zlib1g-dev \ libbz2-dev intltool libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev \ libhal-dev libhal-storage-dev libwebkit-dev libnotify-dev \ libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev yasm
Now to get the tar ball, untar, configure and install:
wget http://dl.dropbox.com/u/56460/Handbrake/HandBrake-0.9.4.tar.bz2 tar -jxvf HandBrake-0.9.4.tar.bz2 cd HandBrake-0.9.4 ./configure make sudo make install
Looking at that now, it seems much easier. Figuring out all the dependencies took some time.
Now to run the application simply run the command:
ghb
Or the command line client:
HandBrakeCLI
