Handbrake

From openSUSE

This article is a stub!
This article needs to be expanded. You are welcome to help in line with the openSUSE Style Guide. See also the other articles that need to be expanded.

HandBrake is a useful tool for ripping DVDs or converting DVD files to a more portable format.

A current snapshot of HandBrake is now available as binary from http://packages.opensuse-community.org/packageinfo.jsp?checksum=9d3778c4221869d3d6b38eb560affff21bddb4c3&distro=openSUSE_111. This forum thread http://forums.opensuse.org/applications/421296-handbrake-best-video-transcoder-linux.html#post2036108 gives some useful settings.

The rest of the article describes how to compile the program from source

Installing the command line version

Install the required dependencies:

sudo zypper in jam yasm automake autoconf libtool libbz2-devel make gcc gcc-c++ zlib-devel

Not all of these are necessary unless you want to compile all the modules. There may be additional dependencies I already had on my machine that I am unaware of. Jam might not be necessary at all.

opensuse11.1 : jam does not exist but you can use boost-jam :

sudo zypper in boost-jam

Download the source from the Handbrake website:

wget http://handbrake.fr/rotation.php?file=HandBrake-0.9.3.tar.gz

You may wish to verify the checksums, available at the download page.

Extract that file:

tar -zxvf HandBrake-0.9.3.tar.gz

Then go into the directory you extracted it to and compile the program. First, type:

cd HandBrake-0.9.3/

Followed by:

make

Barring any errors, you should now have the command line version of Handbrake installed. To see if it has indeed installed, run:

./HandBrakeCLI -h

Installing GUIs

To install the GTK version, follow the directions on the HandBrake wiki changing the install packages command like so:

sudo zypper in subversion intltool zlib-devel glib-devel gtk2-devel hal-devel \
gtkhtml2-devel gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel

Building and installing the GUI (/usr/local/bin/ghb) is then as simple as:

cd gtk && ./autogen.sh && make && sudo make install

The Qt version is unsupported <ref name="forum">forum post by a developer</ref>, and has not been updated in six months<ref name="source">HandBrake source tree</ref>.


Notes and references

Handbrake 0.9.3 has issues opening many M2TS files which are encountered when backing up Blu-Ray discs. At least as of 2009/4/8, this seems to have been fixed in SVN.

Template:Reflist