Problems with direct Bluray access via libmmbd.so

The place to discuss linux version of MakeMKV
Post Reply
alex123
Posts: 1
Joined: Sat Feb 28, 2015 1:35 am

Problems with direct Bluray access via libmmbd.so

Post by alex123 »

Hello,

due to the fact, the direct disc setup via libmmbd.so worked some days before, I'm totally confused.
Since this evening I get error output as follows in any program, that uses libmmbd.so via libaacs and libbdplus:
For example vlc:
index_parse.c:190: indx_parse(): error opening /dev/sr0/BDMV/index.bdmv
index_parse.c:190: indx_parse(): error opening /dev/sr0/BDMV/BACKUP/index.bdmv
[00007f3614000a98] core input error: open of `bluray:///dev/sr0' failed
Current file setting:

Code: Select all

lrwxrwxrwx 1 root root    12 Feb 28 02:04 /usr/lib/libaacs.so.0 -> libmmbd.so.0
lrwxrwxrwx 1 root root    12 Feb 28 02:04 /usr/lib/libbdplus.so.0 -> libmmbd.so.0
-rwxr-xr-x 1 root root 34272 Feb 28 02:00 /usr/lib/libmmbd.so.0
brw-rw----+ 1 root optical 11, 0 Feb 28 01:26 /dev/sr0
In /etc/group:

Code: Select all

optical:x:93:alex
When I mount the disc previously, everything works fine.
Does anyone know the reason?

Best regards
Alex

Edit:

I found out, that the libbluray library missed the aacs support. Maybe due to an update. Nevertheless, my problem changed to following one:
LANG=C MMBD_TRACE=1 bd_info /dev/sr0
MMBD: MakeMKV v1.9.1 linux(x64-release) started
MMBD: Debug logging enabled, log will be saved as /tmp/MakeMKV-0x76a-1.tmp
MMBD: Opening files on harddrive at /dev/sr0
MMBD: DEBUG: Code 0 at .&:+:k~<nm6=d1H(:213134630
MMBD: DEBUG: Code 0 at .&:+:k~<nm6=d1H(:213131755
MMBD: DEBUG: Code 0 at .&:+:k~<nm6=d1H(:121265407
MMBD: Failed to open disc
aacs.c:288: get_aacs_data(DISC_ID): libaacs not initialized!
dec.c:204: aacs_open() failed!
bdj.c:412: BD-J check: Failed to load JVM library
Does anyone know the reason?
mike admin
Posts: 4065
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Problems with direct Bluray access via libmmbd.so

Post by mike admin »

alex123 wrote:
LANG=C MMBD_TRACE=1 bd_info /dev/sr0
Does anyone know the reason?
You have to open the directory where disc content is mounted, not the drive device node.
Woodstock
Posts: 9912
Joined: Sun Jul 24, 2011 11:21 pm

Re: Problems with direct Bluray access via libmmbd.so

Post by Woodstock »

In case someone reads this thread before Mike zaps that last message (and this one, after he gets rid of leoyelverton's), visiting a site that sells copied college thesis papers isn't going to do anything for reading bluray disks.
MakeMKV Frequently Asked Questions
How to aid in finding the answer to your problem: Activating Debug Logging
Post Reply