Installing HandBrake DVD Ripper on Ubuntu

When I first saw HandBrake, I decided that I needed it. I downloaded the tarball (sadly, I didn’t find a deb), and tried to run ./configure. Much to my surprise, it just barked that I needed to run jam. Lame. So, I remedied that, along with some compiling junk:


sudo apt-get install jam build-essential nasm libdvdcss2

I found a quick tutorial here, and they recommended that I edit the JamFile.


$ vim libhb/Jamfile
# Change this:
ObjectCcFlags $(LIBHB_SRC) : -I$(TOP)/contrib/include ;
# Into this:
ObjectCcFlags $(LIBHB_SRC) : -I$(TOP)/contrib/include -I$(TOP)/contrib/mpeg4ip/lib/mp4v2 ;

Now, to compile, simply type


jam

wgets and things spewed all over the screen. It fetched a ton of packages. It takes forever to compile. Finally, it finished, and I did this:


sudo cp HBTest /usr/local/bin/

And it runs.



Comments are closed