First of all thank you very much to candela and all the other people on doom9 that have made possible to watch blu-rays "featuring" BD+ using free software.
I remember that post, but it is not here anymore. I red it some time ago, and followed that instructions when I was using Debian 10, some time ago.
I recently upgrade to Debian 11 (bullseye) and had to setup all this again. This is what I did. I hope it works for you:
For libaacs, I built 0.11.1 release from Debian 12 (bookworm) source repository:
As root user:
- I added a line like "deb-src http://deb.debian.org/debian/ bookworm main" to /etc/apt/sources.list
- I updated the package indexes: "apt update"
- I installed some dependencies: "apt install dpkg-dev pkg-config" . pkg-config is a dependency for libbdplus.
- I installed dependencies for building libaacs : "apt build-dep libaacs"
As an ordinary (not-privileged) user:
- I got sources for libaacs 0.11.1 and built the deb packages: "apt source --compile libaacs"
After that I had three deb files:
- libaacs-dev_0.11.1-1_amd64.deb
- libaacs0_0.11.1-1_amd64.deb
- libaacs0-dbgsym_0.11.1-1_amd64.deb
I installed the first two running as root the following commmand:
- apt install ./libaacs-dev_0.11.1-1_amd64.deb ./libaacs0_0.11.1-1_amd64.deb
I needed to install dev package because is necessary for libbdplus building.
For libbdplus, i tried with 0.2.0 release from Debian 12 (bookworm), that according to
changelog supports cached conversion tables, but it didn't worked.
The artifacts with BD+ discs are still there.
I couldn't successfully apply the patch included in
2020-07-26_libaacs_libbdplus.7z link from the first candela's post over libbdplus 0.1.2 source. I needed to download libbdplus source as it was on 2020_07_26.
You can browse the history of the code at:
https://code.videolan.org/videolan/l.../commits/0.2.0
The last commit before 2020_07_26 is e98c143cbd33c3c6b0c67690dec31c7772e133d2.
You can check that code at:
https://code.videolan.org/videolan/l...c31c7772e133d2
The tarball for the libbdplus at that temporal point can be downloaded from:
https://code.videolan.org/videolan/l...2e133d2.tar.gz
This is what I did to get a proper working libbdplus library:
As a normal (non privileged) user:
I got the code:
I extracted the tarball:
- tar -xvzf libbdplus-e98c143cbd33c3c6b0c67690dec31c7772e133d2.tar.gz
I changed working directory to the just created directory:
- cd libbdplus-e98c143cbd33c3c6b0c67690dec31c7772e133d2
Tha candela patch can be applied cleanly over this tree.
I downloaded the candela
2020-07-26_libaacs_libbdplus.7z file from first post, and extracted the candela patch:
libbdplus-0001-Use-cached-conversion-tables.patch
I applied the patch. In this example the patch was in my $HOME directory (~):
- patch -p1 -i ~/libbdplus-0001-Use-cached-conversion-tables.patch
The patch applied successfully.
Then I compiled the patched libbdplus library:
- ./bootstrap
- ./configure
- make
And then, as root, I installed libbdplus library:
This setup works for me. I hope it can be helpful to others.
Of course, I needed to put a proper KEYDB.cfg file in ~/.config/aacs and convtab files in ~/.cache/libbdplus/convtab. This is well explained over the thread.