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 1st November 2020, 23:30   #61  |  Link
nuraman00
Registered User
 
Join Date: Oct 2020
Posts: 10
Quote:
Originally Posted by candela View Post
Libaacs can't retrieve the key for that disc, use FindVuk
Quote:
Originally Posted by DanTheMann15 View Post
@nuraman00

you can get FindVUK here: https://forum.doom9.org/showthread.php?t=172472
and DVDFab here: https://www.dvdfab.cn/download.htm
Thanks. After I try these steps, I will let you know what happens, or if I need more help.
nuraman00 is offline   Reply With Quote
Old 9th November 2020, 03:05   #62  |  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   #63  |  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   #64  |  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   #65  |  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   #66  |  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   #67  |  Link
Grimsdyke
Registered User
 
Join Date: Nov 2013
Location: Hannover, Germany
Posts: 183
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   #68  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 958
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 working on that issue. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 5th January 2021, 22:10   #69  |  Link
hnsteyding
Registered User
 
Join Date: Dec 2020
Posts: 2
Bluray playback with libaacs & libbdplus for MPLayer

Hello Guys.

Here are my working instructions for playing Bluray with MPLayer.

I use MinGW32 environment on Windows 10 for compille libbluray/libaacs/libbluray/MPlayer.
I install MinGW32 via media-autobuild_suite script:

https://github.com/m-ab-s/media-autobuild_suite

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

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

2. Set system variable:
Name: JAVA_HOME
Path: C:\Program Files\Java\jdk-15.0.1

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 ANT: https://ftp-stud.hs-esslingen.de/pub.../ant/binaries/
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.2.1.jar, libbluray-j2se-1.2.1.jar) from folder "/mingw32/share/java" or "/mingw64/share/java"
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 FindVUK via link below:
https://forum.doom9.org/showthread.php?t=172472

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.2.1.jar, libbluray-j2se-1.2.1.jar) from source sub folder ".libs" corresponding MPLayer binary (MPLayer.exe) directory.

Solution 2:
-----------
Delete system variable "JAVA_HOME"
Attachments Pending Approval
File Type: txt compile-libaacs.sh.txt
File Type: txt compile-libbdplus.sh.txt
File Type: txt compile-libbluray.sh.txt
hnsteyding is offline   Reply With Quote
Old 28th January 2021, 05:47   #70  |  Link
daviduu
Registered User
 
Join Date: Jan 2021
Posts: 1
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
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 03:27.


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