Despite the fact that DVDs are a little bit old fashioned, I tried to watch one the other day. To my surprise I wasn’t able to do so. Every time I tried I got the following error
GStreamer backend error
Could not read DVD. This may be because the DVD is encrypted and a DVD decryption library is not installed.
But I already installed the library. I added the Medibuntu repository with the following command
sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update
and installed libdvdcss2
sudo apt-get install libdvdcss2 -y
But I still wasn’t able to watch the DVD. As it turned out, I need to set the region of the DVD drive. That’s pretty simply done with the tool regionset, which can be installed with your favorite package manager. Afterwards just execute the tool and set the region with the wizard.