How to build libdvdcss 1.4.3 on macOS

Updated April 03, 2022 · Published September 15, 2019

You may need to have libdvdcss in order to utilize Handbrake or other DVD software. There are multiple ways to install in as shown below.

With Installer Package

This is the easiest way to install libdvdcss, however, it will be the older version, libdvdcss 1.4.2, that was released back in 2018. You can download the installer package directly from VideoLAN.

With Homebrew

This is the second easiest way to install libdvdcss, and will install the latest version, libdvdcss 1.4.3, that was released in 2021.

xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL"
brew install libdvdcss

From Source

The following commands will download the source code of libdvdcss 1.4.3, extract it and build the library. After it's finished compiling, you may need to move the compiled files from /usr/local/lib to /usr/lib.

curl -o libdvdcss-1.4.3.tar.bz2
tar -xf libdvdcss-1.4.3.tar.bz2
xcode-select install
cd libdvdcss-1.4.3
sudo make install