The officially official Devuan Forum!

You are not logged in.

#1 2023-05-21 20:28:54

Ron
Member
Registered: 2018-04-22
Posts: 557  

[SOLVED] Can't figure out how to play DVDs

As the subject line states, I can't figure out how to play DVDs. I am trying it using SMPlayer (I don't want to install another app if I can help it). The first thing I did was try every option under SMPlayer Preferences >> Drives >> Select your DVD device. None of them worked. Then I read on another forum to download libdvd-pkg, but that didn't help either. Is it impossible to play commercial DVDs on a Linux machine? I'm pretty sure I've done it before (maybe).

Last edited by Ron (2023-05-23 08:58:24)

Offline

#2 2023-05-22 01:08:10

alexkemp
Member
Registered: 2018-05-14
Posts: 360  

Re: [SOLVED] Can't figure out how to play DVDs

I'm using updated Chimaera & VLC Media Player gives me the best results. The one thing that I need to settle to is very little in terms of the interactive DVD menu.

(there are a staggering number of VLC-Plugins; perhaps one of those will fix the bad dvd-menu):

$ apt search vlc
Sorting... Done
Full Text Search... Done
…
vlc/stable,stable-security,now 3.0.18-0+deb11u1 amd64 [installed]
  multimedia player and streamer

vlc-bin/stable,stable-security,now 3.0.18-0+deb11u1 amd64 [installed]
  binaries from VLC

vlc-data/stable,stable-security,now 3.0.18-0+deb11u1 all [installed,automatic]
  common data for VLC

Online

#3 2023-05-22 02:18:07

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 684  

Re: [SOLVED] Can't figure out how to play DVDs

SMPlayer is a front-end for MPlayer and mpv, so look for those plugins if required.

make sure you have permission to use the device by being in the same group ... 'games' group, for xample.

I only use cd s in my laptop.

I hope that helps


pic from 1993, new guitar day.

Offline

#4 2023-05-22 04:33:02

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 79  
Website

Re: [SOLVED] Can't figure out how to play DVDs

As far as I remember .....

Support for DVD menus has been removed in mpv. So disable the option to use DVD menus in Preferences -> Drives.

If it still doesn't work, select mplayer as multimedia engine in Preferences -> General.

Give that a GO ....


Just a simple man!

Offline

#5 2023-05-22 12:43:57

delgado
Member
Registered: 2022-07-14
Posts: 271  

Re: [SOLVED] Can't figure out how to play DVDs

Ron wrote:

Is it impossible to play commercial DVDs on a Linux machine?

Most commercial DVDs are encrypted with "css" and decryption libraries are needed to play them.
I remember remarks on the vlc web site (dvdcss or decss). The DVD-player-software loads the library(s), if present. css is broken since years and some keys are public, even printed on T-shirts. Not sure about the current legal state, but I don't think this will ever make it into debian officially.

Offline

#6 2023-05-22 13:44:22

Kelsoo
Member
Registered: 2016-12-09
Posts: 56  

Re: [SOLVED] Can't figure out how to play DVDs

libdvdread is required as well as libdvd iirc

Offline

#7 2023-05-22 13:48:26

alexkemp
Member
Registered: 2018-05-14
Posts: 360  

Re: [SOLVED] Can't figure out how to play DVDs

Note Before:

DVD & Blu-Ray discs are problematic under Linux for many reasons, and special steps need to be taken before Linux apps can play them.

I thought that it might be useful to expand this post to serve as a reference, since at first I could not remember myself all the steps I took.

delgado wrote:

encrypted with "css" and decryption libraries are needed to play them … don't think this will ever make it into debian officially.

References:
Narrative:

CDs were first issued in 1982 and mostly held music files. The digital files on the media were NOT scrambled & quickly everyone learned to ‘rip’ the music from the disc and load it onto other electronic players. That became a nightmare for the Music Industry when the Internet got going in the 1990s.

DVDs were first released in 1996 and were designed to store larger files than Music required. The industry was determined NOT to make the same mistake as with CDs, and introduced both Regions (to try to restrict distribution regionally) and encryption (CSS) to restrict playing to officially-endorsed machines. The media became popular for both entertainment- (films, games) and software-distribution. CSS was brain-dead and easy to decrypt, but the combo of both endemic disc-players that contained zero hardware-decryption + industry-sponsored law (DMCA (Digital Millennium Copyright Act)), threatening fines and/or incarceration, was a nightmare for Linux users.

Blu-Ray was originated in 2002 & became a standard in 2008. It was designed to store very much larger digital files (required by larger domestic TV screens). In every way it is DVDs with knobs-on.

DVDs:

The modern advice from both Windows & Linux is “Install VLC”.

VLC states “VLC media player binaries are distributed with the libdvdcss library included” (that library is the one that decrypts the DVD-stream). That should mean that, once VLC is installed under Devuan, that other apps in the system should also be able to access the same library & decrypt the same streams. However, life is often not perfect, so here is what to do if glitches appear (it looks like the libdvdcss binary may be pre-installed under Windows but not Linux):–

With more ancient Debian/Ubuntu 15.04 it was sudo apt-get install libdvdread4 then sudo /usr/share/doc/libdvdread4/install-css.sh. My Chimaera still has /usr/share/doc/libdvdread4/README.css within it. However, the current advice is a little different:–

  1. sudo apt install libdvd-pkg

  2. sudo dpkg-reconfigure libdvd-pkg

The second step will download, build and install the latest libdvdcss source on your machine. At that point *all* libdvdcss-aware apps in your system — such as MPlayer, MPV + Handbrake — will be able to play DVDs.

$ apt search libdvd-pkg
Sorting... Done
Full Text Search... Done
libdvd-pkg/stable,now 1.4.2-1-1 all [installed]
  DVD-Video playing library - installer
$ apt search libdvdcss
Sorting... Done
Full Text Search... Done
…
libdvdcss-dev/now 1.4.2-1~local amd64 [installed,local]
  library for accessing encrypted DVDs - development files

libdvdcss2/now 1.4.2-1~local amd64 [installed,local]
  library for accessing encrypted DVDs

libdvdcss2-dbgsym/now 1.4.2-1~local amd64 [installed,local]
  debug symbols for libdvdcss2

libdvdread4/now 6.0.1-1 amd64 [installed,local]
  library for reading DVDs

libdvdread8/stable,now 6.1.1-2 amd64 [installed,automatic]
  library for reading DVDs
Blu-Ray

Blue-Ray presents yet more problems. Once again, refer to How to Play DVDs and Blu-rays on Linux:

  1. sudo apt-get install vlc libaacs0 libbluray-bdj libbluray1

  2. mkdir -p ~/.config/aacs/

  3. cd ~/.config/aacs/ && wget http://vlc-bluray.whoknowsmy.name/files/KEYDB.cfg

$ apt search libbluray
Sorting... Done
Full Text Search... Done
libbluray-bdj/stable,now 1:1.2.1-4+deb11u2 all [installed]
  Blu-ray Disc Java support library (BD-J library)

libbluray-bin/stable 1:1.2.1-4+deb11u2 amd64
  Blu-ray disc playback support library (tools)

libbluray-dev/stable 1:1.2.1-4+deb11u2 amd64
  Blu-ray disc playback support library (development files)

libbluray-doc/stable 1:1.2.1-4+deb11u2 all
  Blu-ray disc playback support library (documentation)

libbluray2/stable,now 1:1.2.1-4+deb11u2 amd64 [installed]
  Blu-ray disc playback support library (shared library)

All the above works fine in my Chimaera system.

Updated:
May 23: Added a fuller narrative on installing libdvdcss.
Added info on the command (libdvd-pkg) to install libdvdcss in order to be able to play DVDs.

Last edited by alexkemp (2023-05-23 15:11:24)

Online

#8 2023-05-22 16:59:38

Andre4freedom
Member
Registered: 2017-11-15
Posts: 235  

Re: [SOLVED] Can't figure out how to play DVDs

Excellent comment, alexkemp.
To play DVDs, vlc and libdvdcss2 did the trick for quite some time already, in most Linux distros.

Bluray is a completely different story! Thank you for your hints!

Offline

#9 2023-05-22 22:55:18

Ron
Member
Registered: 2018-04-22
Posts: 557  

Re: [SOLVED] Can't figure out how to play DVDs

So I installed VLC but it still didn't work. I found this page, and ran the two commands below "Get libdvdcss." Now it works. Thanks everyone for pointing me in the right direction.

Last edited by Ron (2023-05-22 23:25:04)

Offline

#10 2023-10-23 14:33:17

swanson
Member
Registered: 2020-04-22
Posts: 130  

Re: [SOLVED] Can't figure out how to play DVDs

Thanks for the solution @alexkemp! Works on Daedalus too. For VLC at least.

Offline

#11 Yesterday 19:57:30

lhp
Member
Registered: 2023-01-04
Posts: 13  

Re: [SOLVED] Can't figure out how to play DVDs

I just installed vlc on a laptop freshly installed with Excalibur. libdvdcss2 is show as a suggested package, but I get this when I try to install:

lhp@ogygia:~$ sudo apt install libdvdcss2
Package libdvdcss2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Error: Package 'libdvdcss2' has no installation candidate
lhp@ogygia:~$ sudo apt install libdvd-pkg
Error: Unable to locate package libdvd-pkg

Is this post obsolete, and if so, what is the status of DVDCSS on Excalibur? No longer needed?

Offline

#12 Yesterday 21:39:31

Ron
Member
Registered: 2018-04-22
Posts: 557  

Re: [SOLVED] Can't figure out how to play DVDs

It worked for me when I update to Excalibur. Not sure why it's not working for you. Did you try any DVDs yet?

Offline

#13 Yesterday 21:44:39

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,534  

Re: [SOLVED] Can't figure out how to play DVDs

You install libdvd-pkg. It provides libdvdcss2.

Offline

#14 Yesterday 22:54:26

g4sra
Member
Registered: 2018-12-12
Posts: 110  

Re: [SOLVED] Can't figure out how to play DVDs

@lhp,

lhp@ogygia:~$ sudo apt install libdvd-pkg
Error: Unable to locate package libdvd-pkg

have you appended 'contrib' in your sources.list ?

Last edited by g4sra (Yesterday 22:55:41)

Offline

#15 Today 00:48:32

alexkemp
Member
Registered: 2018-05-14
Posts: 360  

Re: [SOLVED] Can't figure out how to play DVDs

$ apt info libdvd-pkg
Package: libdvd-pkg
Version: 1.4.3-1-1.1
Priority: optional
Section: contrib/utils
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Installed-Size: 89.1 kB
Provides: libdvdcss-dev, libdvdcss2
Depends: debconf (>= 0.5) | debconf-2.0, build-essential, wget | devscripts, debhelper-compat (= 13)
Recommends: libcap2-bin
Download-Size: 16.9 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.devuan.org/merged excalibur/contrib amd64 Packages
Description: DVD-Video playing library - installer
 This package provides libraries that are needed for playing video DVDs
 with a media player (such as VLC, SMplayer, Totem, etc.). It automates
 the process of downloading source files, compiling them, and installing
 the binary packages.

So, it *is* available & is inside contrib.

Online

#16 Today 00:52:57

alexkemp
Member
Registered: 2018-05-14
Posts: 360  

Re: [SOLVED] Can't figure out how to play DVDs

[added later]:

Here is my sources.list for Excaliber:

$ grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://deb.devuan.org/merged excalibur                 main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged excalibur-updates         main non-free-firmware non-free contrib
/etc/apt/sources.list:deb http://deb.devuan.org/merged excalibur-security        main non-free-firmware non-free contrib

hth

Online

#17 Today 01:20:53

greenjeans
Member
Registered: 2017-04-07
Posts: 1,321  
Website

Re: [SOLVED] Can't figure out how to play DVDs

Weird. My install of Daedalus from 2023 shows libdvdcss2 as a package, but in the current debian repo it doesn't show it for bookworm, it shows it as provided by the libdvd-pkg package.

It's aggravating, harkens back to the issues with mp3 back in the day. It's really only one small .so file, if you make one it's actually portable at least across daedalus installs, you can just drop the .so in and it works.


https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded October 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do. wink Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate

Offline

Board footer