Building HandBrake for BSD
If you have installed a HandBrake package from your distribution or other third-party package repository, please remove it before proceeding. See the section, Warning about broken third-party builds on Where to get HandBrake for more information.
Dependency installation instructions are available for the following distributions.
Clone the HandBrake repository.
git clone https://github.com/HandBrake/HandBrake.git && cd HandBrake
Build HandBrake. To enable experimental support for Intel Quick Sync Video, append
--enable-qsv. To build the command line interface only, disable the graphical interface by appending
./configure --launch-jobs=$(sysctl -n hw.ncpu) --launch
When complete, you will find
HandBrakeCLI in the
build directory. If the graphical interface is enabled, you will also find
ghb in the
Install HandBrake (optional). When installing the graphical interface, icon and desktop files for the Applications menu will be also installed.
sudo gmake --directory=build install
To start over, simply remove the
rm -rf build