libaacs emulation not working from libaacs 0.7.0 on

The place to discuss linux version of MakeMKV
Post Reply
PascalDragon
Posts: 2
Joined: Sat Feb 08, 2014 12:55 pm

libaacs emulation not working from libaacs 0.7.0 on

Post by PascalDragon » Sat Feb 08, 2014 1:03 pm

Hello together!

After a recent update of my system (ArchLinux) I can no longer use the libaacs emulation provided by libmmbd, because version 0.7.0 exports three new functions with two of those being already expected by libbluray. See also here.

This results in these errors by mplayer (similar errors by VLC):

Code: Select all

MPlayer SVN-r36498-snapshot-4.8.2 (C) 2000-2013 MPlayer Team
206 audio & 433 video codecs
Unknown key 'F160'
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing br:////mnt/bluray.
file/dl_posix.c:101: dlsym(0x7f02ad782be0, 'aacs_get_device_nonce') failed: /usr/lib/libaacs.so.0: undefined symbol: aacs_get_device_nonce
file/dl_posix.c:101: dlsym(0x7f02ad782be0, 'aacs_get_mk') failed: /usr/lib/libaacs.so.0: undefined symbol: aacs_get_mk
file/libaacs.c:272: get_aacs_data(): libaacs not initialized!
libbluray/bluray.c:836: aacs_open() failed!
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/bluray.c:609: TP header copy permission indicator != 0, unit is still encrypted?
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/bluray.c:609: TP header copy permission indicator != 0, unit is still encrypted?
libavformat version 55.19.104 (internal)
libbluray/bluray.c:609: TP header copy permission indicator != 0, unit is still encrypted?
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/bluray.c:609: TP header copy permission indicator != 0, unit is still encrypted?
(...)
Regards,
Sven

Chewi
Posts: 22
Joined: Sun May 11, 2014 9:24 am
Location: Edinburgh, Scotland

Re: libaacs emulation not working from libaacs 0.7.0 on

Post by Chewi » Thu Jul 03, 2014 10:08 pm

Things have changed a bit since the above post but it's now broken for me. The linked thread talked about libaacs not supporting libgcrypt-1.6.0. That's been fixed as of 0.7.1. It also looks like MakeMKV has since added those missing functions as I don't get those undefined symbol errors. It was all working for me a month or so ago but something's changed. I now get this when running aacs_info with the emulation enabled. I get the very same output without the emulation. I guess the emulation has broken somehow.

Code: Select all

Opening /run/media/chewi/TRUEBLOOD_S5_DISC5 using libaacs 0.7.1 ...
libaacs: libaacs/aacs.c:426: Error calculating media key. Missing right processing key ?
libaacs: libaacs/mmc.c:1265: Drive does not support reading drive certificate
libaacs: libaacs/aacs.c:870: Unable to read drive certificate
libaacs open failed: No matching processing key in configuration file(s)
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/aacs.c:1136: aacs_get_vid() failed
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
...

Romansh
Posts: 873
Joined: Sat Jan 22, 2011 7:09 pm

Re: libaacs emulation not working from libaacs 0.7.0 on

Post by Romansh » Sat Jul 05, 2014 12:11 am

Chewi wrote:

Code: Select all

libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
You tried to play a Blu-ray with a newer AACS version than MakeMKV can handle would be my guess.

Chewi
Posts: 22
Joined: Sun May 11, 2014 9:24 am
Location: Edinburgh, Scotland

Re: libaacs emulation not working from libaacs 0.7.0 on

Post by Chewi » Sat Jul 05, 2014 6:57 am

Romansh wrote:
Chewi wrote:

Code: Select all

libaacs: libaacs/mmc.c:1049: Host key / Certificate has been revoked by your drive ?
You tried to play a Blu-ray with a newer AACS version than MakeMKV can handle would be my guess.
Nope. I ripped the disc using the MakeMKV GUI and watched it last night. I forget which version it was, 35 or something.

Post Reply