VLC won't play BD

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
jvian1
Posts: 16
Joined: Thu May 19, 2016 1:09 am

VLC won't play BD

#1 Post by jvian1 » Tue Jul 25, 2023 4:49 pm

Following the instructions in the post titled "Direct Blu-ray playback with VLC"
viewtopic.php?f=3&t=7009
I linked the libmmbd.so.0 as shown. The links appear acceptable and are correctly formed to function.

However, VLC does not access the disk which I have previously ripped to mkv. The logs show this, and it appears that link is not adequate to properly access the AACS library.
The VLC error shows

Code: Select all

Blu-ray error:
AACS MMC failed.
Your input can't be opened:
VLC is unable to open the MRL 'bluray:///dev/sr0'. Check the log for details.

and journalctl shows

Code: Select all

Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: HDMV Titles: 3, BD-J Titles: 86, Other: 86
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: [00007f221c001130] libbluray demux: First play: 0, Top menu: 0
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: bdj.c:801: BD-J check: Failed to load libbluray.jar
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: bdj.c:614: libbluray-j2se-1.3.4.jar not found.
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: bdj.c:801: BD-J check: Failed to load libbluray.jar
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: bdj.c:614: libbluray-j2se-1.3.4.jar not found.
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: dec.c:197: aacs_open() failed: -6!
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: aacs.c:333: get_aacs_data(DISC_ID): libaacs not initialized!
Jul 25 11:18:55 eagle.home.domain vlc.desktop[183614]: aacs.c:121: No usable AACS libraries found!
Jul 25 11:18:36 eagle.home.domain vlc.desktop[183614]: [0000559f7b7d4ae0] main playlist: playlist is empty
Jul 25 11:18:36 eagle.home.domain vlc[183614]: qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style).>
Jul 25 11:18:36 eagle.home.domain vlc.desktop[183614]: [0000559f7b738520] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Jul 25 11:18:36 eagle.home.domain systemd[3303]: Started app-gnome-vlc-183614.scope - Application launched by gnome-shell.
What else may be needed. I have not found anything as yet.

recoveringpickle
Posts: 9
Joined: Tue Jul 25, 2023 8:55 pm

Re: VLC won't play BD

#2 Post by recoveringpickle » Tue Jul 25, 2023 9:10 pm

Weird... What about using an aacs config file directly without MakeMKV? It's worked for me(mostly, I think I broke disk menu support, but I'm not sure how I broke it, it also doesn't do bdplus that's separate). You can do "mkdir -p ~/.config/aacs && cd ~/.config/aacs/ && wget -O keydb_eng.zip http://fvonline-db.bplaced.net/fv_download.php?lang=eng && unzip keydb_eng.zip && mv keydb.cfg KEYDB.cfg". You can also use these as separate commands if you like(in the same order, it matters). You'll need to make sure wget, unzip, vlc, libaacs, libbluray, libbluray-bdj(java disk menu support) installed before you run this. I think a lot of distros also have libbdplus in the repos, or depending on your distro you may need to add an extra repo like on Fedora you need rpmfusion free(it's not that great to be honest, lots of screen tearing, at least on Independence Day blu ray). More info here: https://wiki.archlinux.org/title/Blu-ray, most of the information here is distro-agnostic, not exclusive to Arch.

jvian1
Posts: 16
Joined: Thu May 19, 2016 1:09 am

Re: VLC won't play BD

#3 Post by jvian1 » Fri Jul 28, 2023 8:42 pm

Thank you very much for the comment.

I ensured all those packages you named were installed (several were not) but vlc still would not play a disk when started from the desktop icon.
Doing a bit more searching I found a reference to starting it without the menu, using cvlc.
When I tried it that way, opening the disk from the command line it gave an error about a missing library file.
/usr/lib/jvm/java-17-openjdk-17.0.7.0.7-5.fc38.x86_64/lib/libawt_xawt.so
which required installing the java-17-openjdk package.

Once that was done I now can play disks (I have tried 3 different ones) using VLC, launched from either the desktop icon or from the command line.

Once again, thanks for the info.
:D

recoveringpickle
Posts: 9
Joined: Tue Jul 25, 2023 8:55 pm

Re: VLC won't play BD

#4 Post by recoveringpickle » Sat Aug 05, 2023 3:09 pm

jvian1 wrote:
Fri Jul 28, 2023 8:42 pm
Thank you very much for the comment.

I ensured all those packages you named were installed (several were not) but vlc still would not play a disk when started from the desktop icon.
Doing a bit more searching I found a reference to starting it without the menu, using cvlc.
When I tried it that way, opening the disk from the command line it gave an error about a missing library file.
/usr/lib/jvm/java-17-openjdk-17.0.7.0.7-5.fc38.x86_64/lib/libawt_xawt.so
which required installing the java-17-openjdk package.

Once that was done I now can play disks (I have tried 3 different ones) using VLC, launched from either the desktop icon or from the command line.

Once again, thanks for the info.
:D
Np, my only concern here is the Java version, if you want disk menus you probably will need to install Java 8(the package is usually called 1.8.0 for some reason, can't just be 8.0) and set your default Java to be Java 8. I didn't actually find this out until very recently, like a couple of days ago.

Post Reply