Installing dependencies on FreeBSD

The following instructions are for FreeBSD 13 and 14.

Basic requirements to run commands:

Dependencies:

Intel Quick Sync Video dependencies (optional):

Graphical interface dependencies:

Install dependencies.

sudo pkg install autoconf automake bzip2 cmake flac fontconfig freetype2 fribidi git gmake harfbuzz jansson lame libass libiconv libjpeg-turbo libogg libsamplerate libtheora libtool libvorbis libvpx libx264 libxml2 lzma m4 meson nasm ninja opus patch pkgconf python speex

To build with Intel Quick Sync Video support, install the QSV dependencies.

sudo pkg install intel-media-sdk oneVPL

To build the GTK GUI, install the graphical interface dependencies.

sudo pkg install desktop-file-utils gettext gstreamer1-libav gstreamer1-plugins-gdkpixbuf gtk4

FreeBSD is now prepared to build HandBrake. See Building HandBrake for BSD for further instructions.