Twice now I’ve downloaded, built and installed Handbrake 0.9.4 without any problems. Then when I try to re-encode a video, I’ve found that the “Start” button is grayed out and Handbrake isn’t actually working. Unfortunately, these two incidents were so far apart that I forgot the fix and had to start from scratch. I always assume it’s a library/dependency problem, but it’s not!
Since I use Gentoo and Handbrake isn’t in the main portage tree, I’ve just built in from source. The problem is, there seems to be a bug/incompatibility in the 0.9.4 tarball. You’ll find a fair number of people trying to find workarounds if you Google a bit, and a lot of them are messing with installing dependencies and downgrading library versions. But Handbrake is a bit odd (and sometimes shunned) because it pulls down and statically links most of its dependencies. It turns out that if you pull the source straight from SVN, it’s quite stable. It builds fine and runs well.
All I had to do was:
svn co svn://svn.handbrake.fr/HandBrake/trunk HandBrake cd HandBrake/ ./configure cd build/ gmake sudo make install
Once this is done, you’ll find HandBrakeCLI installed in
/usr/local/bin. At first, I was quite confused about running HandBrake in GUI mode and assumed that it hadn’t even been built. This seems to be a common source of confusion because the developers chose to name the GUI executable
ghb. I find it a lot easier to also run:
sudo ln -s /usr/local/bin/ghb /usr/local/bin/HandBrakeGUI