Enable DVD Playback

Warning: It is illegal to circumvent DRM in many countries, including the United States. But it is legal in most countries to make private copies/backups of your possession. Proceed at your own risk.

By default, Trisquel is unable to play many DVDs because it lacks a library to bypass the CSS (Content Scrambling System) DRM (Digital Restrictions Management) algorithm that prevents access to encrypted DVDs. You need to install a simple free software library called libdvdcss, which bypasses the encryption, includes an API to access DVDs as a block device, and ignores region codes.

Installation

A simple way to install libdvdcss is to manually download its latest package from https://download.videolan.org/pub/debian/stable/ and then install it.

  • Move to your Download folder and install the package with gdebi like this:

 $ cd ~/Downloads/
 # gdebi libdvdcss2_x.x.x-x_x.deb

Install livdvdcss using a repository

This section needs to be rewritten

First you need to add the VideoLAN Debian repository to your sources.

Simply execute the following command in the terminal to open the sources.list file in a text editor:

$ sudo nano /etc/apt/sources.list

Use the arrow keys to move to the very bottom of this file

And simply append the following entries to the bottom of the file:

deb https://download.videolan.org/pub/debian/stable/ /

deb-src https://download.videolan.org/pub/debian/stable/ /

It should now look like this:

Now press Ctrl + O to save the document. When prompted about the "File Name to Write", just press enter to accept the default. And then Press Ctrl + X to exit.

Import the key:

$ wget -O - https://download.videolan.org/pub/debian/videolan-apt.asc | sudo apt-key add - This section needs to be rewritten error apt-key is deprecated. Manage keyring files in trusted.gpg.d instead

Now, update the repositories:

$ sudo apt-get update

And finally, install libdvdcss:

$ sudo apt-get install libdvdcss2

Additional codecs

Users may also have to install the gstreamer0.10-plugins-ugly package to have DVD's play properly. This is unrelated to the CSS encryption on the disks.

Install livdvdcss by compiling it

A simple way to install libdvdcss is to manually download its latest source code from repository and then compile it.

First install the tools needed to download/compile it.

$ sudo apt install build-essential git meson ninja-build

Select a directory where you are going to install it, according to Filesystem Hierarchy Standard /opt/ would be appropriate.

Create the directory in /opt/ under your username, this is not mandatory but it's preferable for organization. mkdir /opt/Insert.Your.Username/

Go in the directory cd /opt/Insert.Your.Username/

Git clone the repository $ git clone https://code.videolan.org/videolan/libdvdcss.git

Go in the libdvdcss directory cd libdvdcss/

Configure libdvdcss meson setup build --prefix=/usr

Building libdvdcss. First move to the build directory. cd build/

Now run "ninja" ninja/

Installing libdvdcss Stay in the build directory and run meson install. meson install/

Now VLC should be able to read DVD for your Trisquel media center :)

Enable Bluray playback

Install the necessary libraries for VLC $ sudo apt install libaacs0 libbdplus0 libbluray2 libaacs0 libbdplus0 libbluray-bdj libbluray-bin

Getting and putting the the AACS keys in the right directory Sadly the keys can't be shared legally you have to find them by yourself.

But if you find them you put them in: $ ~/.config/aacs/KEYDB.cfg Note that the name of the file is case sensitive, it must be in capital letters.

Reading the Bluray with VLC: Once that is done all you need to do is to launch VLC, select "Media", then select "Open a disc" and then you choose "Blu-Ray" and point to where it's located.

Why is it not legal to share the AACS keys? The keys are actually on each Bluray, extracting them is considered a breaking the DRM, and sharing them a violation of copyright. If you wish to see this evolve, the FSF in the USA and the APRIL in France are the entities you should seek to lobby against these unethical methods.

Why do we read dvds as easily then ? Different encryption different interpretation of the law.

Extras: K3B will be able to copy into an image disc the Blu-ray you give it but it will also import the DRM.

AttachmentSize
dvd-nano.png39.27 KB

Revisions

02/16/2010 - 05:47
AndrewT
01/19/2011 - 09:16
SirGrant
08/01/2011 - 01:08
Bertel
11/25/2012 - 17:56
joek3
08/13/2013 - 19:18
lloydsmart
10/25/2013 - 22:20
ssdclickofdeath
12/29/2014 - 06:39
Pandya
12/05/2015 - 11:06
lembas
12/05/2015 - 18:45
jxself
02/19/2016 - 22:09
Magic Banana
05/10/2018 - 07:52
hydra
05/11/2018 - 17:24
loldier
03/10/2024 - 14:49
knife
12/09/2025 - 05:48
mangeur de nuage