All our DVD's and films are stored digitally on our media centre setup in our house. ITunes on a virtual machine looking at the main NAS store and an Apple TV 3 is the device of choice for viewing these.
I had a a set of AVI's to convert and I wondered if I could utilise the raspberry pi I currently have connected to the network, rather than using a virtual machine on my test vm stack or pulling them down to my laptop for conversion. I use a Handbrake preset as a reliable way of doing conversions so my intention is to replicate this on the pi.
These instructions work to install Handbrake 0.98 on the pi. No pre built packages currently exist so you need to compile from source code. Im interested in using the command line version here, not sure if this will work for the X windows front end. But I just want something which can run efficiently at the command line.
First Download Handbrake Source Code:
This can be got from:
http://handbrake.fr/rotation.php?file=HandBrake-0.9.8.tar.bz2
Extract source tar:
tar -xjf handbrake.tar.bz2
Download and Install Dependancies:
There are a lot of dependancies, but ive managed to get it down to the following.
sudo apt-get install subversion yasm build-essential autoconf libtool zlib1g-dev libbz2-dev libfribidi-dev intltool libglib2.0-dev libdbus-glib-1-dev libgtk2.0-dev libgudev-1.0-dev libwebkit-dev libnotify-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
Configure and Compile:
In the extracted directory:
Change to the build directory and build.
cd ./build
sudo make
Install HandBrake:
sudo make install
Run Handbrake Command Line:
You can run handrake from:
/usr/local/bin/HandBrakeCLI
I will post later some timings to see how a HandBrake encode on the pi compares to other platforms for speed.