Best way to install llibdvd-pkg

44 replies [Last post]
GNUbahn
Offline
Joined: 02/19/2016

It seems there are only three ways to install libdvd-pkg (without building by yourself).

* add the debian contrib repository, install via apt
* add ubuntu's multiverse repository, install via apt
* download from videolan

Are there any freedom-wise issues with adding one of the two repositories?

I have downloaded the latest release from videolan, but it seems to require use of the 'Meson build system' which I have no idea of what is or how it works.

In this case I prefer ease, but with minimum freedom issues.

Which way is preferable?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Are there any freedom-wise issues with adding one of the two repositories?

Both include non-free software. We had better not recommend them and, indeed, https://trisquel.info/en/wiki/enable-dvd-playback does not. That manual, with a screenshot of Trisquel 8, would benefit from an update. Would you contribute to it?

mangeur de nuage
Offline
Joined: 09/27/2015

"That manual, with a screenshot of Trisquel 8, would benefit from an update. Would you contribute to it?"
I did update the manual some time ago and added a section to compile it yourself from the VLC sources, it takes less than five minutes.

GNUbahn
Offline
Joined: 02/19/2016

Would you contribute to it?
Yes, but I am not really in the knowing.
Will you help and guide me?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

There is not much to know. https://trisquel.info/en/node/1626/edit allows you to update the page and https://trisquel.info/en/filter/tips gives technical tips, but looking at the tags on the current page is certainly enough here.

The one single quality of technical documentation is its clarity: the easiest way (fewer commands, etc.) is the preferred way, short sentences using the active voice and no parentheses are usually better, a good structure (with sections, if needed) helps, emphasizing important words with italics too, the language must be clear before being nice, it should be spell-checked, a picture is often worth a thousand words, etc.

Nevertheless, the most important is to not be afraid to contribute: we lack contributor. Your contribution needs not be perfect and, as long as it is positive, the whole community profits from it! Even if you completely screw the manual up, https://trisquel.info/en/node/1626/revisions allows to easily recover any previous version it. ;-)

GNUbahn
Offline
Joined: 02/19/2016

I absolutely also need to learn (about) this, how to do the actual editing.
But I was referring to guidance on the content, i.e. the specific way(s) to install libdvd-pkg.
If you (or someone else) will guide me to learn how to actually do the installation, I can update the "Enable DVD Playback" page.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

My computer does not have a DVD player. Please try to follow the instruction of the the current manual.

GNUbahn
Offline
Joined: 02/19/2016

Got it.

Following the manual's first option worked. The version you get is 1.2.13, which appears to work well (source: https://download.videolan.org/pub/debian/stable/).

Nevertheless, according to https://www.videolan.org/developers/libdvdcss.html, the latest verison is 1.5.0.

Also, on https://www.videolan.org/developers/libdvdcss.html, one is guided to get libdvdcss through libdvd-pkg.

What are the implications of this, and how should I regard this in a revision of the guide?

Just stick with how to install version 1.2.13?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

The other proposed way, "Install livdvdcss by compiling it", should provide the latest version. If you feel that some of the instructions you follow were unclear or incomplete, you may improve the manual. I have removed Trisquel 8's screenshot. It was in fact useless. Indeed, the lines to append to /etc/apt/sources.list are given before, in a copiable way.

GNUbahn
Offline
Joined: 02/19/2016

I tried to follow the instructions to compile libdvdcss myself. It failed at this point:

$ meson setup build --prefix=/usr
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 194, in run
return options.run_func(options)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 357, in run
app = MesonApp(options)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 68, in __init__
(self.source_dir, self.build_dir) = self.validate_dirs()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 148, in validate_dirs
(src_dir, build_dir) = self.validate_core_dirs(self.options.builddir, self.options.sourcedir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 121, in validate_core_dirs
os.makedirs(ndir1, exist_ok=True)
File "", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/opt/jbw/libdvdcss/build'

ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

PermissionError: [Errno 13] Permission denied: '/opt/jbw/libdvdcss/build'

You are not allowed to write in /opt. With root's privileges, you will be:
$ sudo meson setup build --prefix=/usr

GNUbahn
Offline
Joined: 02/19/2016

That did it.

But then the command ninja/bash: ninja/: Ingen sådan fil eller filkatalog ("no such file or file catalogue")

ninja (without the "/") was more effective, though the result seems disappointing:


$ ninja
[1/9] Compiling C object src/libdvdcss.so.2.4.0.p/cpxm.c.o
FAILED: src/libdvdcss.so.2.4.0.p/cpxm.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/cpxm.c.o -MF src/libdvdcss.so.2.4.0.p/cpxm.c.o.d -o src/libdvdcss.so.2.4.0.p/cpxm.c.o -c ../src/cpxm.c
../src/cpxm.c:100:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/cpxm.c.o.d: Adgang nægtet
100 | }
| ^
compilation terminated.
[2/9] Compiling C object src/libdvdcss.so.2.4.0.p/error.c.o
FAILED: src/libdvdcss.so.2.4.0.p/error.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/error.c.o -MF src/libdvdcss.so.2.4.0.p/error.c.o.d -o src/libdvdcss.so.2.4.0.p/error.c.o -c ../src/error.c
../src/error.c:66:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/error.c.o.d: Adgang nægtet
66 | }
| ^
compilation terminated.
[3/9] Compiling C object src/libdvdcss.so.2.4.0.p/device.c.o
FAILED: src/libdvdcss.so.2.4.0.p/device.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/device.c.o -MF src/libdvdcss.so.2.4.0.p/device.c.o.d -o src/libdvdcss.so.2.4.0.p/device.c.o -c ../src/device.c
../src/device.c:844:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/device.c.o.d: Adgang nægtet
844 | }
| ^
compilation terminated.
[4/9] Compiling C object src/libdvdcss.so.2.4.0.p/ioctl.c.o
FAILED: src/libdvdcss.so.2.4.0.p/ioctl.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/ioctl.c.o -MF src/libdvdcss.so.2.4.0.p/ioctl.c.o.d -o src/libdvdcss.so.2.4.0.p/ioctl.c.o -c ../src/ioctl.c
../src/ioctl.c:1567:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/ioctl.c.o.d: Adgang nægtet
1567 | }
| ^
compilation terminated.
[5/9] Compiling C object src/libdvdcss.so.2.4.0.p/libdvdcss.c.o
FAILED: src/libdvdcss.so.2.4.0.p/libdvdcss.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/libdvdcss.c.o -MF src/libdvdcss.so.2.4.0.p/libdvdcss.c.o.d -o src/libdvdcss.so.2.4.0.p/libdvdcss.c.o -c ../src/libdvdcss.c
../src/libdvdcss.c:884:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/libdvdcss.c.o.d: Adgang nægtet
884 | }
| ^
compilation terminated.
[6/9] Compiling C object src/libdvdcss.so.2.4.0.p/libdvdcpxm.c.o
FAILED: src/libdvdcss.so.2.4.0.p/libdvdcpxm.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/libdvdcpxm.c.o -MF src/libdvdcss.so.2.4.0.p/libdvdcpxm.c.o.d -o src/libdvdcss.so.2.4.0.p/libdvdcpxm.c.o -c ../src/libdvdcpxm.c
../src/libdvdcpxm.c:935:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/libdvdcpxm.c.o.d: Adgang nægtet
935 | }
| ^
compilation terminated.
[7/9] Compiling C object src/libdvdcss.so.2.4.0.p/css.c.o
FAILED: src/libdvdcss.so.2.4.0.p/css.c.o
cc -Isrc/libdvdcss.so.2.4.0.p -Isrc -I../src -I. -I.. -Isrc/dvdcss -I../src/dvdcss -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c17 -O2 -g -D_DEFAULT_SOURCE -fPIC -MD -MQ src/libdvdcss.so.2.4.0.p/css.c.o -MF src/libdvdcss.so.2.4.0.p/css.c.o.d -o src/libdvdcss.so.2.4.0.p/css.c.o -c ../src/css.c
../src/css.c:550:32: warning: argument 1 of type ‘uint8_t[5]’ {aka ‘unsigned char[5]’} with mismatched bound [-Warray-parameter=]
550 | int dvdcss_unscramble( dvd_key p_key, uint8_t *p_sec )
| ~~~~~~~~^~~~~
In file included from ../src/css.c:54:
../src/css.h:63:25: note: previously declared as ‘uint8_t *’ {aka ‘unsigned char *’}
63 | int dvdcss_unscramble ( uint8_t *, uint8_t * );
| ^~~~~~~~~
../src/css.c:1685:1: fatal error: opening dependency file src/libdvdcss.so.2.4.0.p/css.c.o.d: Adgang nægtet
1685 | }
| ^
compilation terminated.
ninja: build stopped: subcommand failed.

Since there is a "adgang nægtet" (admission refused), I will try with sudo.

GNUbahn
Offline
Joined: 02/19/2016

That apparently worked


$ sudo ninja
[7/9] Compiling C object src/libdvdcss.so.2.4.0.p/css.c.o
../src/css.c:550:32: warning: argument 1 of type ‘uint8_t[5]’ {aka ‘unsigned char[5]’} with mismatched bound [-Warray-parameter=]
550 | int dvdcss_unscramble( dvd_key p_key, uint8_t *p_sec )
| ~~~~~~~~^~~~~
In file included from ../src/css.c:54:
../src/css.h:63:25: note: previously declared as ‘uint8_t *’ {aka ‘unsigned char *’}
63 | int dvdcss_unscramble ( uint8_t *, uint8_t * );
| ^~~~~~~~~
[9/9] Linking target src/libdvdcss.so.2.4.0

GNUbahn
Offline
Joined: 02/19/2016

Though there is a warning: warning: argument 1 of type ‘uint8_t[5]’

GNUbahn
Offline
Joined: 02/19/2016

Next command to run is meson install/

Without sudo it gave me:


$ meson install/
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 194, in run
return options.run_func(options)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 357, in run
app = MesonApp(options)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 68, in __init__
(self.source_dir, self.build_dir) = self.validate_dirs()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 148, in validate_dirs
(src_dir, build_dir) = self.validate_core_dirs(self.options.builddir, self.options.sourcedir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mesonbuild/msetup.py", line 121, in validate_core_dirs
os.makedirs(ndir1, exist_ok=True)
File "", line 225, in makedirs
PermissionError: [Errno 13] Permission denied: '/opt/jbw/libdvdcss/build/install'

ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

WITH sudo it gave me:


$ sudo meson install/

ERROR: Neither source directory 'install/' nor build directory None contain a build file meson.build.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

I don't that looks too good!!

GNUbahn
Offline
Joined: 02/19/2016

OK, I tried WITHOUT the "/", and it seems to work much better:


$ sudo meson install
ninja: Entering directory `/opt/jbw/libdvdcss/build'
ninja: no work to do.
Installing src/libdvdcss.so.2.4.0 to /usr/lib/x86_64-linux-gnu
Installing src/libdvdcss.a to /usr/lib/x86_64-linux-gnu
Installing /opt/jbw/libdvdcss/src/dvdcss/dvdcpxm.h to /usr/include/dvdcss
Installing /opt/jbw/libdvdcss/src/dvdcss/dvdcss.h to /usr/include/dvdcss
Installing /opt/jbw/libdvdcss/build/src/dvdcss/version.h to /usr/include/dvdcss
Installing /opt/jbw/libdvdcss/AUTHORS to /usr/share/doc/libdvdcss
Installing /opt/jbw/libdvdcss/COPYING to /usr/share/doc/libdvdcss
Installing /opt/jbw/libdvdcss/NEWS to /usr/share/doc/libdvdcss
Installing /opt/jbw/libdvdcss/README.md to /usr/share/doc/libdvdcss
Installing /opt/jbw/libdvdcss/build/meson-private/libdvdcss.pc to /usr/lib/x86_64-linux-gnu/pkgconfig
Installing symlink pointing to libdvdcss.so.2.4.0 to /usr/lib/x86_64-linux-gnu/libdvdcss.so.2
Installing symlink pointing to libdvdcss.so.2 to /usr/lib/x86_64-linux-gnu/libdvdcss.so

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

I updated the manual accordingly.

GNUbahn
Offline
Joined: 02/19/2016

I thought I was supposed to do that (eventually) :-)

But thanks a lot.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Sorry then! I have only edited the commands. There is probably more to improve.

GNUbahn
Offline
Joined: 02/19/2016

No worries. I do not mind you doing it, it was just that to distribute work, I "should" do it.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

That advice is actually incorrect, because to install a piece of free software, you simply have to do it.

There are several ways to install libdvd-pkg. It is even the title of this thread.

That doesn't necessitate behaving in any other way shape or form, such as impacting the entire trisquel distribution and all of it's users, (or their 'freedom')

I have never written that adding a repository with proprietary software impacts "the entire trisquel distribution and all of it's users". Anybody doing so on her system loses one of Trisquel's main benefit though: being able to carelessly install anything the package manager proposes without risking to fall into the injustice of proprietary software.

These looping nonsensical 'discussions' are really typical here on trisquel forums

I have noticed here quite a lot of nonsensical discussions during the past ten days. Monologues rather than discussions, actually.

if anyone is seeking real freedom, they should avoid what has become a honeypot for it's destruction.(trisquel.info)

You seek "real freedom", don't you? Why don't you avoid trisquel.info?

--
Magic Banana, archaeologist bot on trisquel.info since 2010

GNUbahn
Offline
Joined: 02/19/2016

I still have not solved this.

I read somewhere (forgot the ref) that downgrading to handbrake version 1.3.3 might help. I tried that, but now I do not get clear images - they are blurred, rough pixeled and weird/surreal.

So far the best output was with the latest version of handbrake (whether from the repo in T11/aramo or T12/ecne, or via flatpak) + libdvdcss2 version 1.2.13.

But in those combinations, subtitles are badly synced and often lay on top of each other.

Hopefully, I will once find a way to install libdvdcss2 version. 1.5.0...

GNUbahn
Offline
Joined: 02/19/2016

Now, if I have actually succeeded to build and install the latest version of libdvdcss, how would I know?

And "where" will it be installed?

How will an app, e.g. handbrake, know that it is installed and get to use it?

GNUbahn
Offline
Joined: 02/19/2016

I learned that I can check it with this command: dpkg -l | grep libdvdcss

It tells me that the installed version of libdvdcss is version 1.2.13-0.

Hence, going through the process of building etc has either
a) not worked
or
b) did not give me the latest version, which should be version 1.5.0

eric23
Offline
Joined: 06/30/2017

If you want to know where it is installed you can use this command:

dpkg -L libdvdcss

Also you don't need grep to see if the package is installed.

dpkg -l libdvdcss

I don't know what handbrake does to find it, but it should be able to if you installed the version in the repository I would think, if not you may need the version from Debian.

GNUbahn
Offline
Joined: 02/19/2016

IGNORE: Sorry, I am a bit confused: Which install method?

I had missed your post.

PS: Can I strike through text here?
The markdown method of '~~' before and after does not seem to work.

icarolongo
Offline
Joined: 03/26/2011

The best way to install libdvd-pkg with the latest version (1.5.0):

sudo apt update && sudo apt install build-essential debhelper meson ninja-build python3-setuptools -y && wget https://ftp.debian.org/debian/pool/contrib/libd/libdvd-pkg/libdvd-pkg_1.5.0-1-1_all.deb && sudo dpkg -i libdvd-pkg_1.5.0-1-1_all.deb && sudo dpkg-reconfigure libdvd-pkg

I tried on a fresh virtual machine with Trisquel 11 Aramo and Trisquel 12 Ecne.

And it works!

GNUbahn
Offline
Joined: 02/19/2016

Thanks, that is very convenient.

I am uncertain though: Are all packages in contrib free software?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

They are, but depend on software out of the distribution. Usually proprietary software. In the case of libdvd-pkg though, there is no freedom issue: Debian does not distribute the player keys by fear of suits for allegedly infringing (unjust) DMCA-style laws.

See https://www.debian.org/doc/debian-policy/ch-archive#s-contrib

GNUbahn
Offline
Joined: 02/19/2016

To understand this right: As long as I only download specific packages with no known freedom issues it should be fine. But adding the contrib repo as would be troublesome?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

As I wrote and the link I provided confirms it, the packages in contrib "depend on software out of the [Debian] distribution". For instance, contrib includes packages to download and install proprietary firmware, proprietary drivers, Steam, Microsoft proprietary fonts, to launch proprietary games, etc.: proposing the installation of any such piece of proprietary software, through a free software package in contrib or directly, goes against the GNU Free Software Distribution Guidelines (GNU FSDG). Trisquel follows them.

That said, some packages in Debian contrib may comply with the GNU FSDG. libdvd-pkg is an example (the problem is here the compliance with unjust laws). The GNU documentation is another one. Indeed, contrary to the GNU FSDG, the Debian Free Software Guidelines (DFSG) weirdly deem problematic documentation distributed under the GNU Free Document License with a non-technical invariant section such as the GNU manifesto.

GNUbahn
Offline
Joined: 02/19/2016

Yes, it works.

Nice trick, icarolongo.

GNUbahn
Offline
Joined: 02/19/2016

A temporary comment:

I still have not fulfilled the goal of installing the latest version fo libdvdcss, but with the help of several people I seem to be getting nearer that goal.

When I started out on this a had a not-the-latest version of handbrake running not-the-latest version of libdvdcss. The problem was, that subtitles where generally not in sync with speech and often-times they would overlay each other.

Now I have the latest version of handbrake running the second-latest version of libdvdcss. I still have not advanced a bit on the problem with the subtitles.

BUT, on the image side things seem to have gotten worse. From the beginning, the pictures were perfect, but now they are awful - see the attached file.

How did that happen? Running from perfect images to this.

handbrake.png
Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

I recently ripped a DVD with HandBrake on an older laptop. I faced no such issue. I chose the preset "Official > General > Super HQ 576p25 Surround" (576p is the resolution of PAL DVDs) and only modified the "Video Encoder", in the "Video" tab, to "H.265 (x265)". It took hours to complete. The resulting m4v file looks perfect to me: no artifact whatsoever. The hour and 26 minutes of movie takes less than 1.6 GB.

GNUbahn
Offline
Joined: 02/19/2016

Can you inform me about the versions of handbrake and libdvdcss?

Which OS was the laptop running?

Also, did you add subtitles? And if so, are they in sync?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

That was with Trisquel 11, using the version 1.5.1+ds1-1build1 of HandBrake, the one in Trisquel 11's repository. I think the DVD includes no subtitle. VLC playing the the m4v file actually proposes English subtitles, but asking for them gives nothing.

GNUbahn
Offline
Joined: 02/19/2016

Hmmm !?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

The package named "handbrake":
$ LC_ALL=C apt search handbrake
Sorting... Done
Full Text Search... Done
handbrake/aramo,now 1.5.1+ds1-1build1 amd64 [installed]
versatile DVD ripper and video transcoder (GTK+ GUI)
handbrake-cli/aramo 1.5.1+ds1-1build1 amd64
versatile DVD ripper and video transcoder (command line)

GNUbahn
Offline
Joined: 02/19/2016

So, now I used icarolongo's method and finally I get the desired output of dpkg -l | grep libdvdcss:

ii libdvdcss-dev:amd64 1.5.0-1~local amd64 library for accessing encrypted DVDs - development files
ii libdvdcss2:amd64 1.5.0-1~local amd64 library for accessing encrypted DVDs

GNUbahn
Offline
Joined: 02/19/2016

After successfully installing the latest version of libdvdcss, handbrake still couldn't render the images right (see he attachment of post #54).

I was using the latest version of handbrake (1.10.x), which I had installed via flatpak. After uninstalling and installing handbrake (1.7.2) from the ecne repo, that part works.

Now the final test: Will it rip my dvd with subtitles synced correctly?

GNUbahn
Offline
Joined: 02/19/2016

> Now the final test: Will it rip my dvd with subtitles synced correctly?

No :-(

GNUbahn
Offline
Joined: 02/19/2016

I have finally reach my goal with installing libdvdcss: To be able to rip dvds with subtitles which are actually in sync.

Please read more in this post from another thread.