This is an English version of Memasang HandBrake-cli pada Centos 6
HandBrake is an open-source software for converting videos from almost all format into your own preferred format with widely support of codecs.
HandBrake-CLI is a command line version of HandBrake which can be very useful for scripting and automated task.
This tutorial are written based on installation on 64-bit based Centos 6.4 and Centos 6.5.
First of all, you need to install EPEL. EPEL is a repository by Fedora which we will use to install dependencies.
$ rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ yum groupinstall ‘Development Tools’
$ yum install subversion fribidi-devel yasm webkitgtk-devel gstreamer-devel gstreamer-plugins-base-devel bzip2-devel libgudev1-devel libnotify-devel libass-devel libsamplerate-devel libogg-devel libtheora-devel libvorbis-devel
Fetch source code and compile Handbrake
We are going to use SVN to fetch latest code code
$ cd /usr/local/src/
$ svn co svn://svn.handbrake.fr/HandBrake/trunk handbrake-svn
$ cd handbrake-svn
$ ./configure –launch –disable-gtk
$ cp build/HandBrakeCLI /usr/local/bin/
After completing steps above, HandBrake-CLI should be installed. You can then verify this by checking handBrake-CLI’s version.
$ HandBrakeCLI -u