jlesage / docker-makemkv

Docker container for MakeMKV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4k BD Rip - Failing with Error "The Volume Key is Unknown for this Disc - video can't be decrypted"

alexandrenobrega1 opened this issue · comments

As per the title, having issues with 4k discs that I was able to decrypt with my drive previously while connected directly to PC - moved it to external enclosure and been having great success with regular BR discs - However for the few 4k Discs that I have, it is failing.

Happy to share more info as needed.

This is not really an issue, but this is how MakeMKV works: it needs a key to decrypt the disc. It seems that no key is available yet for your disc.

More details on the MakeMKV forum:

https://forum.makemkv.com/forum/viewtopic.php?t=24711
https://forum.makemkv.com/forum/viewtopic.php?f=12&t=16883

If the container has access to the internet, you did not disabled internet access in MakeMKV settings and you don't see other errors, you probably need to send the dump.

How is the external enclosure connected? USB?

MakeMKV should clearly tell you if keys failed to be downloaded.

@alexandrenobrega1, the images didn't attach because of the email reply. Could you try putting them directly on GitHub?

And yes, I can confirm that I rip 4K UHD with this container regularly

Apologies - images as follows:

image
image

commented

the error code means there is no decryption key for the disc. do you have connect to internet disabled?

commented

also upgrade the container to the latest version

Internet is enabled on *makemkv settings:

image

From Container seems that I am able to get out - tho I am not sure if this would be the right command to test this on docker (still new on docker, sadly)
]$ sudo docker exec makemkv ping 8.8.8.8
Password:
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=115 time=18.942 ms
64 bytes from 8.8.8.8: seq=1 ttl=115 time=12.158 ms
64 bytes from 8.8.8.8: seq=2 ttl=115 time=10.721 ms
64 bytes from 8.8.8.8: seq=3 ttl=115 time=10.619 ms
64 bytes from 8.8.8.8: seq=4 ttl=115 time=14.359 ms

And Container created today, so I'm pretty sure this is the latest version?>*

commented

submit this file: Saved AACS dump file as /config/data/MKB20 v76 Eric Clapton • The Lady In The Balcony 771.tgz to svq@makemkv.com and wait for it to be added.

Since MakeMKV doesn't contain any BD+ keys it requires either generic or disc-specific SVQ file to process BD+ protected disc. If no disc-specific SVQ is available or BD+ version is too new for a generic svq, and "BD+ dump directory" is set in preferences then program will create a "BD+ dump file". We will produce and make available for download disc-specific SVQ files from all dump files sent to svq@makemkv.com . Sending us a dump file will help to analyze new versions of BD+ protection and expand the generic svq support.

commented

from your screenshot above, it shows MakeMKV Version 1.17.2 and the current container is Version 1.17.3

@C4Wiz 1.17.2 is from my PC where I am able to decrypt the disc just fine:

image

Container is running *latest version as a matter of fact.

image

commented

ok, not sure why you are posting screenshots from 2 different machines together. post the screenshot from the container with the failing to decrypt message. the full screenshot

@C4Wiz posting both screenshots to rule out the "this is a new disc and we don't have the keys to decrypt it yet" theory. As you can see, outside of the container, the disc is decrypted just fine.

Screenshot from Container's logs where I tried to open the same disc twice:

image

commented

yea, there is no key for the disc, it clearly states it right below the hyperlink.
submit the dump and check again in a few days.

if you have sucesfully opened this EXACT PHYSICAL DISC on the other machine, then your docker container is not reaching the server to download the keys

commented

just a fyi 2 of the same disc could need a different key

commented

connect the usb enclosure to your pc and open the disc with makemkv on your pc, if it opens it's your container not reaching the server, if it doesnt then there is no key for it yet, submit the dump and wait

@C4Wiz Perhaps I am not being clear enough in all that I wrote so far, so a quick summary:

WITH THE EXACT SAME PHYSICAL DISC (4K Blu-ray):

1 - Enclosure connected to NAS, with docker container, Fails with the errors already presented;
2 - EXACT same enclosure, moved to PC, Makemkv app running on windows 10, Disc is decrypted and converted w/o any issues.

The Docker container has the internet access enabled in the configs (screenshot above) and I ran the command below from CLI so internet access seems to be fine:

]$ sudo docker exec makemkv ping 8.8.8.8
Password:
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=115 time=18.942 ms
64 bytes from 8.8.8.8: seq=1 ttl=115 time=12.158 ms
64 bytes from 8.8.8.8: seq=2 ttl=115 time=10.721 ms

commented

Ok, well im telling you the docker IS NOT reaching the server to download keys.
Copy your private_data.tar and sdf.bin from your pc to your docker and see if it works. If it does it proves my point.

commented

Im running the same docker on my unraid server and it works fine. So it’s not the container

@C4Wiz, did you remove the downloaded data and confirmed that it was re-downloaded ?

commented

i do not have a encrypted disc to test with at the moment

I'll confirm this issue.

Using identical 4k bluray that i've previously ripped on the exact host machine receiving identical behavior to alexandre in the opening upon trying to read the disk with the docker image.

As suggested above verified that internet access is reported as enabled, container can ping both 8.8.8.8 and google.com resolves as host name.

Attempting to open the 4k bluray in the container results in the following output to the information window:

image

Happy to provide more information or make attempts at diagnosis if it will assist.

Can you try (the older) version 1.22.2 of the Docker image ?

sure. updated my docker-compose image to pull that tag, restarted container and.....

image

Success.

I notice that this info screen mentions downloading latest SDF on startup where the prior version did not, and on opening the disk and loading the content hash table it mentions downloading the HK so I suspect something in the new image is preventing that?

Let me know if you would like further diagnosis steps to be taken, or beta images to be tried to test fixes.

-Accalia

Thanks for the info.
Could you try the Docker image tag issue168 ?

@jlesage thank you so much for actually looking into the issue here and @AccaliaDeElementia for also actually double-checking :)

I just ran tests with container tagged as issue168 and it was a great success:

image

Thanks for confirming. I will prepare and publish an official image with the fix.

Official image now available!

This issue seems to have popped up for me in the latest version. My logs appear as below:

001011:0000 Using LibreDrive mode (v06.3 id=F046CEB2F3AB)
003007:0000 Using direct disc access mode
005085:0000 Loaded content hash table, will verify integrity of M2TS files.
DEBUG: Code 2147483648 at v,`=g{&=n3FORp$%:121265499
001003:0020 DEBUG: Code 0 at Dba&0i#r_n[Z|</K]|d_@P:29393631
001003:0020 DEBUG: Code 0 at v,`=g{&=n3FORp$%:29399956
003332:0000 Saved AACS dump file as file:///config/data/MKB20_v77_MARVEL_STUDIOS'_LOKI_SEASON_1_DISC_2_2A52.tgz
003303:0000 The volume key is unknown for this disc - video can't be decrypted
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213132721
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213131341
005010:0000 Failed to open disc

The network setting is set and I'm fairly positive that the server is reachable as I can use MakeMKV on my own machine. I don't know if this might cause this, but this is running on a Raspberry Pi CM4.

This issue seems to have popped up for me in the latest version. My logs appear as below:

001011:0000 Using LibreDrive mode (v06.3 id=F046CEB2F3AB)
003007:0000 Using direct disc access mode
005085:0000 Loaded content hash table, will verify integrity of M2TS files.
DEBUG: Code 2147483648 at v,`=g{&=n3FORp$%:121265499
001003:0020 DEBUG: Code 0 at Dba&0i#r_n[Z|</K]|d_@P:29393631
001003:0020 DEBUG: Code 0 at v,`=g{&=n3FORp$%:29399956
003332:0000 Saved AACS dump file as file:///config/data/MKB20_v77_MARVEL_STUDIOS'_LOKI_SEASON_1_DISC_2_2A52.tgz
003303:0000 The volume key is unknown for this disc - video can't be decrypted
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213132721
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213131341
005010:0000 Failed to open disc

The network setting is set and I'm fairly positive that the server is reachable as I can use MakeMKV on my own machine. I don't know if this might cause this, but this is running on a Raspberry Pi CM4.

It means makemkv does not have a decryption key for the disc, submit the dump and wait. A quick search on the makemkv forum would have answered this question

I’m well aware of what the error means. I posted in this issue because I am having the exact same issue as the original issue.

I am able to rip this UHD disc on my main laptop if I take the drive to that machine as the hash keys are available for download. However the docker version is not downloading the already available hash keys. If you would like manual proof I can provide logs but I believe the error causing this that was fixed in February appears to be present again, at least in the ARM version of the docker container.

The following log was from the Docker machine. I tried loading the disc and it failed. Then I SSHed in the HK file from my computer where I had successfully loaded the blu ray 5 minutes earlier and the docker container was successfully able to load the disc.

Debug log started at Wed Oct 11 15:29:03 2023 , written by MakeMKV v1.17.5 linux(arm64-release)
001005:0000 MakeMKV v1.17.5 linux(arm64-release) started
001004:0000 Debug logging enabled, log will be saved as file:///config/MakeMKV_log.txt
Using 262272KB for read cache.
001003:0020 DEBUG: Code 0 at Dba&0i#r_n[Z|</K]|d_@P:29393631
001003:0020 DEBUG: Code 0 at v,`=g{&=n3FORp$%:213144750
SDF  v097: BUFFALO_Optical_Drive_BU10_211705301728_MOAKACA4523
SDF  v097: BUFFALO_Optical_Drive_BU10_211705301728_MOAKACA4523
001003:0020 DEBUG: Code 0 at Dba&0i#r_n[Z|</K]|d_@P:29393631
SDF  v097: BUFFALO_Optical_Drive_BU10_211705301728_MOAKACA4523
001011:0000 Using LibreDrive mode (v06.3 id=F046CEB2F3AB)
003007:0000 Using direct disc access mode
005085:0000 Loaded content hash table, will verify integrity of M2TS files.
DEBUG: Code 2147483648 at v,`=g{&=n3FORp$%:121265499
001003:0020 DEBUG: Code 0 at v,`=g{&=n3FORp$%:29399956
003332:0000 Saved AACS dump file as file:///config/data/MKB20_v77_MARVEL_STUDIOS'_LOKI_SEASON_1_DISC_2_2A52.tgz
003303:0000 The volume key is unknown for this disc - video can't be decrypted
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213132721
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213131341
005010:0000 Failed to open disc
001011:0000 Using LibreDrive mode (v06.3 id=F046CEB2F3AB)
003007:0000 Using direct disc access mode
005085:0000 Loaded content hash table, will verify integrity of M2TS files.
DEBUG: Code 2147483648 at v,`=g{&=n3FORp$%:121265499
001003:0020 DEBUG: Code 0 at v,`=g{&=n3FORp$%:29399956
Found java version=1.8.0.372 path=/usr/lib/jvm/java-1.8-openjdk/bin/java
Found java version=1.8.0.372 path=/usr/bin/java
003344:0000 Using Java runtime from /usr/lib/jvm/java-1.8-openjdk/bin/java
DISCID=91AB806257021684C68017D7F65F9489CC8FFFFE
003025:0000 Title #00152.mpls has length of 5 seconds which is less than minimum title length of 120 seconds and w...

Then, I renamed the new HK file to force a new download, and the docker container did not download and therefore failed.

SDF  v097: BUFFALO_Optical_Drive_BU10_211705301728_MOAKACA4523
001011:0000 Using LibreDrive mode (v06.3 id=F046CEB2F3AB)
003007:0000 Using direct disc access mode
005085:0000 Loaded content hash table, will verify integrity of M2TS files.
DEBUG: Code 2147483648 at v,`=g{&=n3FORp$%:121265499
001003:0020 DEBUG: Code 0 at v,`=g{&=n3FORp$%:29399956
003332:0000 Saved AACS dump file as file:///config/data/MKB20_v77_MARVEL_STUDIOS'_LOKI_SEASON_1_DISC_2_2A52.tgz
003303:0000 The volume key is unknown for this disc - video can't be decrypted
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213132721
001003:0020 DEBUG: Code 0 at ,pDYX3_ZfOf\9%`k:213131341
005010:0000 Failed to open disc

Finally, here is the lookup for the HK download location, showing that the server can be reached from the docker machine.

Non-authoritative answer:
Name:	hkdata.fairuse.org
Address: 185.84.108.20

So, again, this appears to be a very similar issue as the original issue that appears to be popping up again in the new version.

Is it working if you use the previous version ?

I actually cannot as this is on an arm64 system and the prior versions of makemkv bundled with the docker version do not work.

I just want to state that this problem is still occurring. Every so often I have to move my drive to a regular PC, open a disc (usually a 4k disc) to download the new keys, and then manually transfer the key file to the docker container on my ripping computer. And then move the drive back to the ripping / docker computer. Newer versions of the docker container installed in the last month have not fixed this issue either.