Read DVD on Debian
Introduction
I found myself having issues trying to play DVD in VLC on Debian.
Here are the couple steps that I had to do to resolve my issue.
Install DVD Libraries
First thing is to install the dvd libraries that, some codecs and regionset:
sudo apt install libdvd-pkg regionset libavcodec-extra
libdvd-pkg need to be compiled and install additional libraries by running:
sudo dpkg-reconfigure libdvd-pkg
Changing DVD region codes
Having bought my computer in France, I never though about encryption and copyrights that were set on DVD. DVD would be loading but being unable to play. For fixing it, I had to change the region code of the DVD firmware:
sudo regionset /dev/sr0
Then set the proper region set for the DVD:
- North America (USA and Canada)
- Europe, Middle East, South Africa and Japan
- Southeast Asia, Taiwan, Korea
- Latin America, Australia, New Zealand
- Former Soviet Union (Russia, Ukraine, etc.), rest of Africa, India
- China
Source: https://www.cyberciti.biz/faq/installing-plugins-codecs-libdvdcss-in-debian-ubuntu-linux/