how to play encrypted DVD's in Debian

Desktop Environments and Multimedia
Post Reply
Message
Author
rosneft
Posts: 3
Joined: 2018-01-12 22:28

how to play encrypted DVD's in Debian

#1 Post by rosneft »

Just follow the instructions on this page: https://www.cyberciti.biz/faq/debian-li ... 2-command/
Last edited by rosneft on 2018-01-12 23:52, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: how to play encrypted DVD's in Debian/BunsenLabs

#2 Post by Head_on_a_Stick »

https://forums.bunsenlabs.org/viewtopic ... 684#p66684

EDIT: please remove the "BunsenLabs" reference from the thread title, these are the Debian User Forums.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
GarryRicketson
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: how to play encrypted DVD's in Debian/BunsenLabs

#3 Post by GarryRicketson »

At a glance the link the OP posted is some what out of date:
Debian Linux 6: Install libdvdcss2 For DVD Decryption Playback
Posted on August 17, 2012in Categories Debian / Ubuntu last updated August 17, 2012

How do I install libdvdcss2 which is part of the VideoLAN project to play DVDs under Debian Linux 6 (squeeze) operating system?
Is this supposed to be some kind of joke, and I missed the punch line ?
Last edited by GarryRicketson on 2018-01-12 23:58, edited 1 time in total.

rosneft
Posts: 3
Joined: 2018-01-12 22:28

Re: how to play encrypted DVD's in Debian/BunsenLabs

#4 Post by rosneft »

GarryRicketson wrote:At a glance the link the OP posted is some what out of date:
Debian Linux 6: Install libdvdcss2 For DVD Decryption Playback
Posted on August 17, 2012in Categories Debian / Ubuntu last updated August 17, 2012

How do I install libdvdcss2 which is part of the VideoLAN project to play DVDs under Debian Linux 6 (squeeze) operating system?
Is this supposed to be some kind of joke, and I missed the punch line ?
Or maybe another Ninja bot ? I mean first it posts this at bunsenlabs , then
it comes here and copy/paste the same title , same post,.... :?:
No, it's not a joke. I tried lots of other pages on how to play encrypted DVD's on my BunsenLabs laptop and that was the only one with advice that worked. It may be dated but it worked, unlike the rest. Just trying to help others who might be in the same boat. I'm sure I wasn't the only one.

User avatar
GarryRicketson
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: how to play encrypted DVD's in Debian

#5 Post by GarryRicketson »

Ok, well thanks, and thank you for editing the title.

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31

Re: how to play encrypted DVD's in Debian

#6 Post by HuangLao »

LOL Garry is on the lookout for ninjabots.... ;)

or one could just go to the horses mouth so to speak:
https://wiki.debian.org/CDDVD
Video DVD

You can use many video players on Debian to read video DVDs, including VLC, Xine (or players with a Xine backend, such as totem-xine) or MPlayer. Since most DVDs are protected by CSS (Content Scramble System) you will require the installation of libdvdread4:

# apt-get install libdvdread4

libdvdcss2

libdvdcss is required for the decryption of CSS protected-DVDs. This cannot be obtained from the Debian repositories due to licence restrictions in various countries. Please also read the /usr/share/doc/libdvdread4/README.css file.

There are various sources for libdvdcss2:

from the libdvd-pkg package (available in contrib starting from stretch and jessie-backports): this is an helper package that downloads, checks and compiles the sources from upstream and creates a .deb package.

as deb directly from the project's homepage videolan: see http://download.videolan.org/debian/

compiled from source from videolan http://download.videolan.org/pub/libdvdcss/
Read the file INSTALL and follow the instructions, e.g.

./configure --prefix=/usr
make
sudo make install

from the unofficial repository deb-multimedia.org

rosneft
Posts: 3
Joined: 2018-01-12 22:28

Re: how to play encrypted DVD's in Debian

#7 Post by rosneft »

I installed the libdvd-pkg package and tried using Xine, VLC, and SMPlayer to play a DVD and nothing worked. Maybe BunsenLabs is different from Debian. If so, then I found out something new today. It was only when I followed those instructions on editing the etc/apt/sources.list file that I could get the DVD to play in my BunsenLabs laptop.

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: how to play encrypted DVD's in Debian

#8 Post by Head_on_a_Stick »

rosneft wrote:I installed the libdvd-pkg package
Did you run

Code: Select all

sudo dpkg-reconfigure libdvd-pkg
afterwards?

The package actually tells you to do this:

https://cdn.scrot.moe/images/2018/01/13 ... _scrot.png

Once that is done, the libraries are downloaded, packed into a .deb and installed for you with the package even offering to automate the process.

I've just tested it from a live session:

Code: Select all

debian: ~ $ apt-cache policy libdvdcss2
libdvdcss2:
  Installed: 1.4.0-1~local
  Candidate: 1.4.0-1~local
  Version table:
 *** 1.4.0-1~local 100
        100 /var/lib/dpkg/status
debian: ~ $
Works for me ;)

I really do think that deb-multimedia repository will cause serious problems for you in the future and I think you should remove all packages you have installed from there, delete the repository and then update APT's database.

Or even better, restore from a backup made before adding the repositories, just to be absolutely sure.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
HuangLao
Posts: 485
Joined: 2015-01-27 01:31

Re: how to play encrypted DVD's in Debian

#9 Post by HuangLao »

HOAS, was probably installed from GUI and didn't see the message to build and repackage...

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: how to play encrypted DVD's in Debian

#10 Post by Head_on_a_Stick »

HuangLao wrote:was probably installed from GUI and didn't see the message to build and repackage
Curse you synaptic! *shakes fist* :x
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

Post Reply