Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Decrypting

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th November 2020, 03:05   #61  |  Link
nuraman00
Registered User
 
Join Date: Oct 2020
Posts: 10
Now the Blu Ray plays, but I'm getting this error:

This Blu-ray disc requires Java for menus support.Java was not found on your system.
The disc will be played without menus.

I have java installed here:

C:\Program Files\Java\jdk-12.0.1
nuraman00 is offline   Reply With Quote
Old 9th November 2020, 03:12   #62  |  Link
nuraman00
Registered User
 
Join Date: Oct 2020
Posts: 10
This is the log file:


src/libaacs/aacs.c:1276: libaacs 0.11.0 [176]
src/libaacs/aacs.c:1278: Initializing libgcrypt...
src/libaacs/unit_key.c:196: 1 CPS unit keys (AACS1)
src/libaacs/unit_key.c:98: Assigning CPS units to titles ...
src/libaacs/unit_key.c:109: Title FP : CPS unit 1
src/libaacs/unit_key.c:110: Title TM : CPS unit 1
src/libaacs/unit_key.c:130: Title 01 : CPS unit 1
src/libaacs/unit_key.c:130: Title 02 : CPS unit 1
src/libaacs/unit_key.c:130: Title 03 : CPS unit 1
src/libaacs/unit_key.c:130: Title 04 : CPS unit 1
src/libaacs/aacs.c:1078: Disc ID: ba4590ca75e050e4760dba62404ebcb9a6749235
src/file/file_win32.c:131: Opened WIN32 file C:\Users\nuram\AppData\Roaming\aacs\KEYDB.cfg (04f4b3b0)
src/file/keydbcfg.c:101: Opened C:\Users\nuram\AppData\Roaming\aacs\KEYDB.cfg for r
src/file/keydbcfg.c:567: found config file: C:\Users\nuram\AppData\Roaming\aacs\KEYDB.cfg
src/file/file_win32.c:46: Closed WIN32 file (04f4b3b0)
src/file/file_win32.c:131: Opened WIN32 file C:\ProgramData\aacs\KEYDB.cfg (04f4b4c8)
src/file/keydbcfg.c:125: Reading C:\ProgramData\aacs\KEYDB.cfg
src/file/keydbcfg.c:567: found config file: C:\ProgramData\aacs\KEYDB.cfg
src/file/file_win32.c:46: Closed WIN32 file (04f4b4c8)
src/file/file_win32.c:113: Error opening file C:\Users\nuram\AppData\Roaming\aacs\ProcessingDeviceKeysSimple.txt
src/file/keydbcfg.c:101: C:\Users\nuram\AppData\Roaming\aacs\ProcessingDeviceKeysSimple.txt not found
src/file/file_win32.c:113: Error opening file C:\ProgramData\aacs\ProcessingDeviceKeysSimple.txt
src/file/keydbcfg.c:136: C:\ProgramData\aacs\ProcessingDeviceKeysSimple.txt not found
src/file/file_win32.c:113: Error opening file C:\Users\nuram\AppData\Roaming\aacs\HostKeyCertificate.txt
src/file/keydbcfg.c:101: C:\Users\nuram\AppData\Roaming\aacs\HostKeyCertificate.txt not found
src/file/file_win32.c:113: Error opening file C:\ProgramData\aacs\HostKeyCertificate.txt
src/file/keydbcfg.c:136: C:\ProgramData\aacs\HostKeyCertificate.txt not found
src/file/keydbcfg.c:659: Config summary:
src/file/keydbcfg.c:661: 0 Device keys
src/file/keydbcfg.c:663: 19 Processing keys
src/file/keydbcfg.c:665: 8 Host certificates
src/file/keydbcfg.c:667: 1 Disc entries
src/libaacs/aacs.c:1321: Starting AACS waterfall...
src/file/file_win32.c:113: Error opening file C:\Users\nuram\AppData\Roaming\aacs\vuk\ba4590ca75e050e4760dba62404ebcb9a6749235
src/file/keydbcfg.c:387: C:\Users\nuram\AppData\Roaming\aacs\vuk\ba4590ca75e050e4760dba62404ebcb9a6749235 not found
src/libaacs/aacs.c:1006: Searching for keydb config entry...
src/libaacs/aacs.c:841: Found config entry for discid ba4590ca75e050e4760dba62404ebcb9a6749235
src/libaacs/aacs.c:875: Acquire CPS unit keys from keydb config file...
src/libaacs/aacs.c:913: Unit key 0 from keydb entry: 0a34a4ec251da52d7273b2d8b398abbf
src/file/mmc_device_win32.c:140: Opening Windows MMC drive D:\...
src/file/mmc_device_win32.c:161: Windows MMC drive \\.\D: opened
src/libaacs/mmc.c:132: MMC get configuration [feature 0x10d] ...
src/file/mmc_device_win32.c:122: Send succeeded!
src/libaacs/mmc.c:231: AACS feature descriptor:
src/libaacs/mmc.c:232: AACS version: 1
src/libaacs/mmc.c:233: AACS active: 1
src/libaacs/mmc.c:234: Binding Nonce generation support: 1
src/libaacs/mmc.c:235: Binding Nonce block count: 1
src/libaacs/mmc.c:236: Bus encryption support: 1
src/libaacs/mmc.c:237: Read drive certificate: 1
src/libaacs/mmc.c:238: AGID count: 2
src/libaacs/mmc.c:66: MMC report key...
src/file/mmc_device_win32.c:122: Send succeeded!
src/libaacs/aacs.c:1139: Bus Encryption Capable flag in drive certificate: 1
src/libaacs/mmc.c:413: Closed MMC drive
src/libaacs/aacs.c:1344: AACS initialized!
src/libaacs/mkb.c:79: MKB size: 14944
src/libaacs/mkb.c:49: Retrieved MKB record 0x10 (04f58e38)
src/libaacs/mkb.c:80: MKB type: 0x41003
src/libaacs/mkb.c:49: Retrieved MKB record 0x10 (04f58e38)
src/libaacs/mkb.c:81: MKB version: 72
src/libaacs/mkb.c:49: Retrieved MKB record 0x10 (04f58e38)
src/libaacs/aacs.c:1690: aacs_set_title(first_play): CPS unit 0
src/libaacs/aacs.c:1690: aacs_set_title(first_play): CPS unit 0
src/libaacs/aacs.c:1360: AACS destroyed!
nuraman00 is offline   Reply With Quote
Old 21st November 2020, 11:14   #63  |  Link
Ghostsmurf
Registered User
 
Join Date: Nov 2020
Posts: 2
Hello everyone,

Thank you for this amazing tutorial and providing all those ressources !

I would like to ask a question which seems appropriate in this thread "Bluray playback with libaacs & libbdplus" :

In which folder should I put libaacs and libbdplus in the following setup : Potplayer + LAVFilters + MadVR ?

For VLC everything works fine but I'd prefer to use PotPlayer as my default player for Blurays.

I hope you can help me,
Have a great day,
Ghostsmurf.
Ghostsmurf is offline   Reply With Quote
Old 6th December 2020, 22:18   #64  |  Link
SpaceSaver
Registered User
 
Join Date: Nov 2020
Posts: 2
Quote:
Originally Posted by Ghostsmurf View Post
Hello everyone,

Thank you for this amazing tutorial and providing all those ressources !

I would like to ask a question which seems appropriate in this thread "Bluray playback with libaacs & libbdplus" :

In which folder should I put libaacs and libbdplus in the following setup : Potplayer + LAVFilters + MadVR ?

For VLC everything works fine but I'd prefer to use PotPlayer as my default player for Blurays.

I hope you can help me,
Have a great day,
Ghostsmurf.
Hi Ghostsmurf!

I have done a little research regarding your question and to me it would make sense to install the libraries to PotPlayer since LAVFilters and MadVR are playing the content through PotPlayer. I would recommend trying that and going from there.

Hope this helps!
Have a superb day,
SpaceSaver

Last edited by SpaceSaver; 6th December 2020 at 22:30.
SpaceSaver is offline   Reply With Quote
Old 6th December 2020, 22:29   #65  |  Link
SpaceSaver
Registered User
 
Join Date: Nov 2020
Posts: 2
Quote:
Originally Posted by nuraman00 View Post
Now the Blu Ray plays, but I'm getting this error:

This Blu-ray disc requires Java for menus support.Java was not found on your system.
The disc will be played without menus.

I have java installed here:

C:\Program Files\Java\jdk-12.0.1
Hi nuraman00!

I have done some research on your problem and have come up with two things you should try. Make sure the version of Java is the same as VLC (64bit or 32bit), and try setting the JAVA_HOME environment variable to the location where the Java executable is installed.

Hope this helps!
Have an amazing day,
SpaceSaver
SpaceSaver is offline   Reply With Quote
Old 25th December 2020, 13:37   #66  |  Link
Grimsdyke
Registered User
 
Join Date: Nov 2013
Location: Hannover, Germany
Posts: 292
UHD playback requires a UHD friendly drive, i.e. a non-AACS2.0 drive that supports reading UHD discs and accepts AACS1.0 Host Certs

In the last couple of days I did set this up to become a little more independent of the usual apps. Great work, thanks !!
However, unfortunately none of my UHDs work so, I guess, my drive does not have the above abilities, right ?
Grimsdyke is offline   Reply With Quote
Old 28th December 2020, 17:17   #67  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,531
You don't need to guess, more knowledge is here:
https://makemkv.com/forum/viewforum.php?f=16
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 5th January 2021, 22:10   #68  |  Link
hnsteyding
Registered User
 
Join Date: Dec 2020
Posts: 3
Bluray playback with libaacs & libbdplus for MPLayer

1. Download and install the following Java environments via link below:
OpenJDK 19.0.2:
https://www.oracle.com/java/technolo...downloads.html
jdk-19.0.2_windows-x64_bin.exe

!!! Attention !!!
Don't use JDK (Java SE Development Kit) Version 20 or above - libbluray does not support these versions at the moment !!


JRE 8:
https://www.java.com/de/download/manual.jsp
jre-8u391-windows-x64.exe
jre-8u391-windows-i586.exe

2. Set system variable:
Name: JAVA_HOME
Path: C:\Program Files (x86)\Java\jre-1.8

3. Download und compile libaacs and libbdplus libraries via links below:
Download libaacs: https://www.videolan.org/developers/libaacs.html
Download libbdplus: https://www.videolan.org/developers/libbdplus.html
Download latest ANT binaries:
https://archive.apache.org/dist/ant/binaries/?C=M;O=D
apache-ant-1.10.14-bin.zip

Extract binaries package and move containing folders BIN,LIB,ETC to /mingw32 (x86) or /mingw64 (x64)
Compile libbluray library (without option --disable-bdjava-jar !!)

4. Move compiled DLLs ("libaacs-0.dll", "libbdplus-0.dll") to corresponding MPLayer binary (MPLayer.exe) directory und rename to "libaacs.dll" and "libbdplus.dll"
Move JAR files (e.g. libbluray-awt-j2se-1.3.4.jar, libbluray-j2se-1.3.4.jar) from source code sub folder ".libs"
to corresponding MPLayer binary (MPLayer.exe) directory.

5. Download AACS keydb.cfg file via http://fvonline-db.bplaced.net and move it to "C:\Users\<YourWindowsUser>\AppData\Roaming\aacs"
For example "C:\Users\WonderFox\AppData\Roaming\aacs". Just create an "aacs" folder if it doesn't exist in the subfolder of "Roaming".

6. Now run MPLayer: "mplayer -cache 8192 br:///E:" in case E: is your Bluray drive

Troubleshooting:
--------------------------------------------------------------------------------------------------------------------------------------------------------
Bluray would not be played - MPLayer message(s):

----------------------> ../src/libaacs/aacs.c:597: Error calculating media key. Missing right processing key ?
../src/libaacs/mmc.c:682: Drive does not support reading drive certificate
../src/libaacs/aacs.c:1142: Unable to read drive certificate
src/libbluray/disc/aacs.c:121: No usable AACS libraries found!
src/libbluray/disc/dec.c:197: aacs_open() failed: -3!
src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
Fülle Zwischenpuffer: 0.00% (0 Bytes) src/libbluray/bluray.c:752: Skipping broken unit at 0
src/libbluray/bluray.c:299: 00002.m2ts: no timestamp for SPN 0 (got 0). clip 90000-436666140.
src/libbluray/bluray.c:752: Skipping broken unit at 0
src/libbluray/bluray.c:752: Skipping broken unit at 6144
...
src/libbluray/bluray.c:695: TP header copy permission indicator != 0. Stream seems to be encrypted.
...

Explanation:
------------
The AACS keydb.cfg file does not contain the appropriate Device- and/or ProcessingKeys for AACS library for your Bluray device.

Solution:
---------
Download latest FindVUK version via link below:
http://fvonline-db.bplaced.net/findvuk/?C=M;O=D

Install one of the following programs:
DVDFab 10.0.4.8
Passkey 9.2.1.1 or
Media Player 3.2.0.0.

Registered versions are recommended !

However, newwer versions of DVDFab has stopped supporting these players for newer discs. Latest DVDFab programs only allow retrieval of UnitKeys.

Start FindVUK and follow the instructions.

--------------------------------------------------------------------------------------------------------------------------------------------------------
Bluray would not be played - MPLayer message(s):

----------------------> ../src/file/keydbcfg.c:701: No valid AACS configuration files found
../src/libaacs/mmc.c:682: Drive does not support reading drive certificate
../src/libaacs/aacs.c:1142: Unable to read drive certificate
src/libbluray/disc/aacs.c:121: No usable AACS libraries found!
src/libbluray/disc/dec.c:197: aacs_open() failed: -2!
src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
Fülle Zwischenpuffer: 0.00% (0 Bytes) src/libbluray/bluray.c:752: Skipping broken unit at 0
src/libbluray/bluray.c:299: 00002.m2ts: no timestamp for SPN 0 (got 0). clip 90000-436666140.
src/libbluray/bluray.c:752: Skipping broken unit at 0
src/libbluray/bluray.c:752: Skipping broken unit at 6144
...
src/libbluray/bluray.c:695: TP header copy permission indicator != 0. Stream seems to be encrypted.
src/libbluray/bluray.c:752: Skipping broken unit at 55296
...

Solution:
---------
Check if the AACS keydb.cfg file is located in "C:\Users\<YourWindowsUser>\AppData\Roaming\aacs"
For example "C:\Users\WonderFox\AppData\Roaming\aacs". Just create an "aacs" folder if it doesn't exist in the subfolder of "Roaming".
--------------------------------------------------------------------------------------------------------------------------------------------------------
MPLayer message(s):
...
----------------------> src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
----------------------> src/libbluray/bdj/bdj.c:750: BD-J check: Failed to load JVM library
...

Solution 1:
-----------
Copy JAR files (e.g. libbluray-awt-j2se-1.3.4.jar, libbluray-j2se-1.3.4.jar) from source sub folder ".libs" corresponding MPLayer binary (MPLayer.exe) directory.

Solution 2:
-----------
Delete system variable "JAVA_HOME"
Attached Files
File Type: txt compile-libaacs.sh.txt (218 Bytes, 217 views)
File Type: txt compile-libbdplus.sh.txt (224 Bytes, 194 views)
Attachments Pending Approval
File Type: txt compile-libbluray.sh.txt

Last edited by hnsteyding; 20th December 2023 at 15:05.
hnsteyding is offline   Reply With Quote
Old 28th January 2021, 05:47   #69  |  Link
daviduu
Registered User
 
Join Date: Jan 2021
Posts: 3
Thought I should quickly write about my experience using these instructions for VLC. I had a few snags here and there but things seem to be working fairly well for the most part.

The first hiccup (which was due to my own confusion with the instructions) occurred because, while I put the aacs and libbdplus DLLs in the corresponding %programdata% folders, I hadn't copied them into the VLC folder in my C: drive. After putting copies of the DLLs inside that folder, I was able to play Blu-rays pretty smoothly.

Menus weren't working at first, but downloading Java fixed that.

I was occasionally getting some fragmenting with certain discs in certain chapters, but disabling hardware-accelerated decoding seems to have fixed that issue.

I've been using VLC to watch my Twin Peaks Blu-rays, and the program seems to crash reliably in the same spot right before getting to the main menu (after selecting the language and right after the DTS logo). I've been able to circumvent this by changing the starting position to title 3 when opening the discs. Doing this opens the disc into one of the episodes, allowing me to hit shit+m to reach the main menu.

I've occasionally had issues where playback won't continue when a new chapter is reached, and I haven't found a great fix for this other than manually clicking the progress bar forward. This has only happened on two episodes so far. If anyone has any suggestions, let me know. I'll admit I'm not really knowledgeable about this stuff and have essentially cobbled enough knowledge together to barely scrape by.
daviduu is offline   Reply With Quote
Old 17th April 2021, 12:30   #70  |  Link
Count_Omega
Registered User
 
Join Date: Mar 2021
Posts: 1
Hi all, I´ve tried ( unsuccessfully) to playback my Legion blu ray disk with vlc. I did all the steps candela described in the intitial post. VLC keeps complaining about the missing libary despite it being installed. Log:

src/libbluray/disc/bdplus.c:142: attempting to load libbdplus

and

-- logger module started --
main: VLC is run with the default interface. Use 'cvlc' to use VLC without interface.
main: playlist is empty
libbluray: First play: 0, Top menu: 0
HDMV Titles: 5, BD-J Titles: 86, Other: 86
libbluray: First play: 0, Top menu: 0
HDMV Titles: 5, BD-J Titles: 86, Other: 86
-- logger module stopped --

i also tried 32 bit VLC.

I guess the libary isn´t "recognized" by VLC. Any thoughts on this? My drive is a Hitachi hl-dt-st bddvdrw ch10n.
Count_Omega is offline   Reply With Quote
Old 23rd June 2021, 03:11   #71  |  Link
daviduu
Registered User
 
Join Date: Jan 2021
Posts: 3
Thought I'd write an update of sorts to my last post.

I just bought Second Sight's release of Lake Mungo on Blu-ray, and when I put it in my disc drive, I was sad to see an error relating to AACS and keys (I figure because it's such a new release). I was fiddling around with MakeMKV afterwards and realized there's an option in the preferences which allows VLC to use MakeMKV to decrypt Blu-ray discs. I checked the box, closed MakeMKV, fired up VLC and voila, the disc played perfectly. This might be a placebo, but it seems to load a bit faster than the method outlined here, and it seems like you don't have to do as much fiddling. I've since removed everything from the steps listed here and all is still good. We'll see how it works in the long run.

A funny change I've noticed is that VLC no longer loads a splash card upon loading the disc. No idea why.

I think it's worth checking out for anyone interested in BD playback in VLC!

Edit: It seems I've spoken too soon! I was testing VLC with other discs and it seems to crash a lot with the MakeMKV method. I guess I'll be using both for now.

Last edited by daviduu; 23rd June 2021 at 04:15.
daviduu is offline   Reply With Quote
Old 25th June 2021, 09:40   #72  |  Link
Grimsdyke
Registered User
 
Join Date: Nov 2013
Location: Hannover, Germany
Posts: 292
I am using the "system wide" settings in MakeMKV and have not had any problems so far !
By the way, does anyone maybe know how to set up this decryption only as a Windows service ?
Grimsdyke is offline   Reply With Quote
Old 8th July 2021, 19:07   #73  |  Link
richy
Registered User
 
Join Date: Jun 2003
Posts: 21
I've just been checking a stack of discs I've acquired to make sure their keys were already in the online database before I got shot of most of them. Any that were missing keys I've been submitting via FindVUK.

One of the first few I tried was an Alvin and the Chipmunks movie trilogy set and I soon discovered they were blighted with BD+ so I produced my own set of tables using Pavtube BDMagic and BlurayTest&Decrypt as well. I've done this before with other Fox titles I own because I figure it doesn't hurt to double check them against the "official" ones (in the first post of this thread) to make sure they're ok. On this occasion I wasn't able to do the first film using my normal method and had to use bdvmdbg instead because BDMagic didn't produce a table for this one... I'm guessing because it's a MKBv7 disc??

Anyway, the first two films matched the existing tables and played fine. The third one, however, consistently produced a table that was the same size as the existing one but was not an exact match. I even deleted the files BDMagic had downloaded and re-did the whole process and still got the same result.

Looking in a hex editor I can see that there's a whole run where every 16th byte differs for about 34 instances, then there's a gap, then there's a run of differences every 16th byte for 32 instances... and so on, and so on. Basically, there is a lot of similarity but they obviously aren't identical. What doesn't help is that both tables *appear* to work ok with my disc in terms of playback. I don't know whether BD+ would only affect specific files or whether the whole disc would be affected. For instance, I've only skimmed the main movie and one of the extras and they seemed ok to me.

Presumably it isn't technically possible to produce two tables that aren't identical and yet have them both work ok... right?

Alvin and the Chipmunks: Chipwrecked MKBv23
Disc ID: EB347A795DB26D90EF780868805FF850082865E2
Media key: EAAB32C8E239547746AC537E9D2E5410

Existing BD+ table CRC32: 6F33BE9C
My BD+ table CRC32: F9D2F008

I've tried having a look at them in ConvTableView but it's really way over my head. Would it be any use if I sent my table for someone to look at? I'd hate to think that a cinematic classic such as this had an incorrect BD+ table

TL;DR - is it possible to have two differing BD+ tables for the same title?
richy is offline   Reply With Quote
Old 10th July 2021, 06:52   #74  |  Link
maetel99
Registered User
 
Join Date: Apr 2018
Posts: 21
Quote:
Originally Posted by richy View Post
TL;DR - is it possible to have two differing BD+ tables for the same title
I believe the answer is yes. The reason is that there are values in the BD+ fixup tables called "type 2" switchable entries. During the decryption of the tables, those entries are resolved into either inactive "type 0" entries or active "type 1" entries.

The different BD+ tools store the resolved active "type 1" entries in different ways, with some tools leaving the "type 2" bit still set and others clearing that bit and storing them as true "type 1" entries.

My guess is that players ignore the "type 2" bit during playback so that it doesn't matter which format you use to store the table. However, tables stored by two different tools might end up with differing entries.
maetel99 is offline   Reply With Quote
Old 11th July 2021, 12:29   #75  |  Link
richy
Registered User
 
Join Date: Jun 2003
Posts: 21
Thanks for your reply and I'm pretty sure you're right as after reading it it occurred to me that I ought to be able to verify if the tables were both producing the same results by hashing and comparing the decrypted video files - a lot more scientific than trying to spot if two videos that looked ok were actually the same just by watching them!

I initially compared the checksums of some of the smaller files and they matched so I ended up creating two full iso images using the two different tables and both were 100% identical.

I use Xreveal as it's free and can decrypt discs on the fly and I also noticed that it creates a temporary text file which appears to be a cached version of all the addresses it needs to patch (headings of LBA, Addr, Data followed by 15904 entries). Using the two different tables produced an identical text file both times (which is what you'd expect if the decrypted files were the same) so after all that belt and braces checking I guess I've now got a definitive answer to my question.

I don't know if either table is a more "elegant"(?) option but if I do happen to get differing tables in the future I can at least verify them 100%. If anyone does want a copy of my table for any reason then just let me know.
richy is offline   Reply With Quote
Old 11th July 2021, 22:48   #76  |  Link
candela
Registered User
 
Join Date: Jun 2005
Posts: 259
Quote:
Originally Posted by richy View Post
Thanks for your reply and I'm pretty sure you're right as after reading it it occurred to me that I ought to be able to verify if the tables were both producing the same results by hashing and comparing the decrypted video files - a lot more scientific than trying to spot if two videos that looked ok were actually the same just by watching them!

I initially compared the checksums of some of the smaller files and they matched so I ended up creating two full iso images using the two different tables and both were 100% identical.
It won't always work. I've seen different tables that patch the 5 corrected bytes with an addres offset of 1 (so in a sequence of 6 bytes, only 4 get patched to the same value by the different tables). Yet both tables seem to work. It may be some kind of watermarking going on to identify the emulated player (or simply an error in one of the tables, can't really know)

Quote:
Originally Posted by richy View Post
I use Xreveal as it's free and can decrypt discs on the fly and I also noticed that it creates a temporary text file which appears to be a cached version of all the addresses it needs to patch (headings of LBA, Addr, Data followed by 15904 entries). Using the two different tables produced an identical text file both times (which is what you'd expect if the decrypted files were the same) so after all that belt and braces checking I guess I've now got a definitive answer to my question.
This would be the same as the Convtabview columns +address 0, +address 1, patch0, patch1

Quote:
Originally Posted by richy View Post
I don't know if either table is a more "elegant"(?) option but if I do happen to get differing tables in the future I can at least verify them 100%. If anyone does want a copy of my table for any reason then just let me know.
Like maetel99 said, the difference in table hash is sometimes caused by the different entry types. Unfortunately the original cached libbdplus format removed the inactive entries (instead of keeping them and ignoring) which causes all the offsets in the table to change.

The encrypted version of the table is actually somewhere in the BDSVM files on the disc (except for the final versions of bdplus). You can find them by searching for the table headers, eg search for the first 12 bytes of the table in the BDSVM files. Note that later BD+ version have more than 1 encrypted table, requiring different encryption keys (targeting different players)

Basically the cached table matches a encrypted version on the disc, except the "patch 0/1" data has been decrypted. But because of those removed entries and changed offsets in the tables in this collection, it's not always possible to easily compare them.

It would be possible to seriously reduce the table database size by supplying only the decryption keys for the tables on the disc. It would allow you to generate the decrypted table for Libbdplus using your disc and the keys. It's probably more reliable. But we would need a cross platform user friendly tool.
candela is offline   Reply With Quote
Old 1st September 2021, 14:56   #77  |  Link
trucide
Registered User
 
Join Date: Aug 2021
Posts: 4
With libaacs and a proper keydb (thanks to findVUK), I can decrypt nearly all of my bluray on the fly and play them with VLC and Kodi.

I wonder if this combo can be used with other softwares who need to access bluray ? For example, BDInfo is unable to decrypt a blu ray directly from the disc. Ideally, if a software like AnyDVD HD could be coupled to libaacs, we could achieve a complete access to blu ray discs. Is there a way to achieve that ? or is it completely foolish ?

Anyway, a big thanks to all those who contribute to develop these tools that help us to be independent from blu ray player manufacturers.
trucide is offline   Reply With Quote
Old 1st September 2021, 15:38   #78  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,340
If you already have AnyDVD HD, you don't need libaacs anymore, since AnyDVD HD will decrypt the disc before any other software can see it.

On the other side, MakeMKV actually can make its decryption engine mimick libaacs and libbdplus, so with that you can also play discs that MakeMKV can decrypt without needing a seperate libaacs setup.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 2nd September 2021, 17:00   #79  |  Link
trucide
Registered User
 
Join Date: Aug 2021
Posts: 4
Thank you for your answer.

I don't have and don't want to use anyDVD. My question was about replacing anyDVD who decrypt the bluray "on the fly" (which allow free access to the content of the bluray, so any video player who can read mkv will play movie files directly from the disc) with an open soft that doesn't need to access the internet to find the bluray keys and just get them from keybd (via libaacs ?)
>> Free access to the content of the bluray whatever soft used, without access to the internet.
I don't know if I'm clear. English is not my maternal language.
trucide is offline   Reply With Quote
Old 5th September 2021, 15:15   #80  |  Link
richy
Registered User
 
Join Date: Jun 2003
Posts: 21
I'd recommend Xreveal by yubsoft. It's a free on-the-fly decrypter that uses the keys from your keydb.cfg file to decrypt any blu-ray you insert and doesn't require access to the internet.
richy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:48.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.