Friday, November 17, 2017

How to play a DVD movie on Fedora 24

This probably works on newer Fedora versions too.  You might have problems with DVDs not playing, due to them being encrypted and Fedora not coming with the decryption software.  Here's how to get your DVD movie playing.

sudo su

dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

dnf install gstreamer1-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0
nf -y install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

dnf -y install gstreamer-ffmpeg gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-good-extras gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-devel gstreamer-plugins-base-devel gstreamer1-libav gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly

dnf -y install libdvdread libdvdnav lsdvd

sudo dnf -y install git autoconf automake libtool kaffeine

# Download and install libdvdcss
mkdir /path/to/anywhere
cd /path/to/anywhere
git clone https://code.videolan.org/videolan/libdvdcss.git
cd libdvdcss
autoreconf -i
./configure
make
sudo make install

Then start Kaffeine by pressing the Windows button on your keyboard, and searching for "Kaffeine". The DVD should start.

No comments: