How to display a bluray with VLC

Hi there and many thx for reading and answering this post if you can:

I’m thriving to read a bluray with vlc 3.0.13 from opensuse 15.2
of course libaacs0 is present ans I also downloaded KEYDB.cfg and put it into .config/aacs as recommended. So far so good, but when I run vlc and try to read the bluray I get:

[FONT=monospace]syntax error: line 1
bad entry at or around line 1
aacs.c:597: Error calculating media key. Missing right processing key ?
aacs.c:111: No usable AACS libraries found!
dec.c:197: aacs_open() failed: -3!
bdj.c:689: BD-J check: Failed to load JVM library
bdj.c:689: BD-J check: Failed to load JVM library
00007f6ee80010d0] libbluray demux: First play: 0, Top menu: 0
**HDMV Titles: 2, BD-J Titles: 87, Other: 87

**[/FONT]I also converted KEYDB.cfg with

sed -i ‘s/(:xdigit:]]){5,}/0x&/g’ ~/.config/aacs/KEYDB.cfg

but it was even worse.

What’s wrong ?

Thx again for reading this post

Hi, thanks for your post. You actually reminded me that I haven’t tried that, yet. Followed your recommendation. It works well here with KEYDB.cfg in this

https://www.aiseesoft.de/tutorial/vlc-bluray.html

tutorial. Sorry, German only. It’s the link below

AACS Plug-In für VLC auf Linux

No editing, no restart, not even logout required. Just restarted VLC. It complains about some missing JAVA libs, same as yours:

[FONT=monospace][FONT=monospace]kasi@mars:~> vlc       
VLC media player 3.0.13 Vetinari (revision 3.0.12.1-158-g6977abc430) 
syntax error: line 1 
bad entry at or around line 1 
bdj.c:689: BD-J check: Failed to load JVM library 
bdj.c:689: BD-J check: Failed to load JVM library
[FONT=monospace][/FONT]

[FONT=monospace][/FONT][/FONT][/FONT]
Whatever. It plays.

Have a lot of fun!

kasi

Try to use VLC not from openSUSE repositories, but from Packman or VLC for openSUSE.
Try to install aacsupdater and libaacs0.

Hi Svyatko,

That’s where I got it from:

**mars:~ #** zypper se -i -s vlc 
Loading repository data... 
Reading installed packages... 

S  | Name                | Type    | Version             | Arch   | Repository 
---+---------------------+---------+---------------------+--------+----------- 
i+ | libvlc5             | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i+ | libvlccore9         | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i+ | vlc                 | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i+ | vlc-codec-gstreamer | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i  | vlc-codecs          | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i+ | vlc-lang            | package | 3.0.13-pm152.2.14.2 | noarch | Packman 
i+ | vlc-noX             | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i+ | vlc-qt              | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
i+ | vlc-vdpau           | package | 3.0.13-pm152.2.14.2 | x86_64 | Packman 
**mars:~ #**

It really only started working after loading libaacs0 and adding that file into the to-be-created folder ~/.config/aacs/

https://en.wikipedia.org/wiki/BD-J - ILL needs libbluray-bdj.
Another packages: libbluray2 and libbluray-tools.

I got all three. So I should better remove libbluray-bdj? I’ll try - maybe tomorrow.

Changed the provider to pacman and reinstalled with aacsupdater, but nothing changed.

@ladar1

Did you check / replace that KEYDB.cfg?

[FONT=monospace]aacs.c:597: Error calculating media key. Missing right processing key ? 
aacs.c:111: No usable AACS libraries found![/FONT]

It’s a simple editable text file, listing several keys and more than 24,000 film titles. Either, that file is damaged or maybe the film you want to watch is just not listed?

At last, I actually had a brief look at that German tutorial. It actually tells, if you want to watch new movies you might get an error message - such as yours. Then better check if there is an update to KEYDB.cfg .
:wink:

You’re right. My KEYDB.cfg seems to be a bit old (25-3-2018) However, I don’t know where to find a more recent version of the file. And moreover, aacsupdater doesn’t work anymore (can’t contact its server).

Did you try the link I posted? I don’t actually know about the status regarding copyrights etc. As far as I understand this is just helping to watch the blu-ray you have bought. Should be perfectly legal, but you never know - or, at least I don’t . So I don’t know if a direct link is appropriate. If you follow that tutorial and just <ctrl+f “linux”> you’ll get to that chapter. A little lower there’s the link to KEYDB.cfg I just used.

Or maybe just ask the duck (google) “keydb.cfg” as I just did.

I have no idea about aacsupdater, don’t know if it’s needed. I don’t have it, but - I just downloaded recent packages…
Maybe later I’ll need it - ???

Ok, downloaded the KEYDB.cfg you refer to, but I got the same results. In addition, the doom9 forum seems to be dead.

and I also found out a site with recent keydb.cfg files: http://fvonline-db.bplaced.net/.
and when I run vlc it only displays:

aacs.c:597: Error calculating media key. Missing right processing key ?

No other errors

Strange.
Are you sure the title you want to watch is listed? Maybe it’s worth to check. Did you try different titles?

Ok, I got some positive results with a recent db file. Thx for your help.

Glad it worked and thanks for the feedback.
:slight_smile: