Log in

View Full Version : BlurayTestAndDecrypt - tool to test bluray files and remove AACS


Pages : 1 2 [3]

Bahamuth
15th May 2023, 21:42
What to you mean with "FindVUK stops" - basically FindVUK only checks if the discovered keys are valid, so as soon as each key has been successfully tested against a single file it's happy as it knows the keys are valid.

FindVUK seems to check every m2ts file on the disc which it thinks is encrypted to see, if it can be decrypted with the (or one of the) unit keys.

Have you tried to make an encrypted backup with BTAD? Does this work fine and does the check at the end succeed?
I never made a disc backup with BTAD. My (encrypted) ISOs so far were made with DIC or DVDFab. But of course I tried it (when DumpDrive&Test was the correct option). Here's the log entry for the sectors, where the file is in:
22:12:30 - Read Blocks > 100/15908448< Pct > 0.00% - Speed 0.06MB/s during last >100< Blocks
22:12:50 - Read Blocks > 79600/15908448< Pct > 0.50% - Speed 7.94MB/s during last >79500< Blocks
22:13:00 - Read Blocks > 159100/15908448< Pct > 1.00% - Speed 14.77MB/s during last >79500< Blocks


and the log of the test afterwards for the file:
Filename >\BDMV\STREAM\00504.m2ts< Size GB > 0.00< Unit_Enc > 0< Unit_Unenc > 0< Unit_Err > 22:37:00 - Filename >\BDMV\STREAM\00504.m2ts< Size GB > 0.00< Unit_Enc > 0< Unit_Unenc > 0< Unit_Err > 90< Duration >0:00:00< TSTA


Besides, it's really difficult to see any errors even happening... at first I overlooked the 90 there:
https://i.imgur.com/YX5neHr.png
(https://i.imgur.com/YX5neHr.png if the pic isn't embedded)

Bahamuth
16th May 2023, 10:46
Found another ISO having the problem. Terminator 3 this time:
11:26:47 - ++ COPY ++ Pct > 9.67%< StartBlock >01798421< BlockLen >00000011<
11:26:47 - ++ DECODE ++ Pct > 9.67%< StartBlock >01798432< BlockLen >00000513< File >\BDMV\STREAM\00273.m2ts<
Filename >\BDMV\STREAM\00273.m2ts< Size GB > 0.00< Progress >1/1<

11:26:47 - ERROR! Unencrypted unit has errors! - stop now
the m2ts file is 1MB in size. And just like with the other disc, creating a backup with DVDFab tells about a read error when making an unencrypted backup and no read errors with an encrypted backup.

When ignoring all errors, it's only this file which has "bad" sectors:
2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798432
2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798464
2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798496
2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798528
2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798560
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798592
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798624
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798656
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798688
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798720
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798752
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798784
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798816
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798848
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798880
2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798912

Kinda looks like RipGuard/ARccOS on a BluRay. As encrypted backups work, I would think, that the file seems to have data which causes a program error upon decrypting?

binaryflow
10th June 2023, 08:55
Found another ISO having the problem. Terminator 3 this time:

11:26:47 - ++ COPY ++ Pct > 9.67%< StartBlock >01798421< BlockLen >00000011<

11:26:47 - ++ DECODE ++ Pct > 9.67%< StartBlock >01798432< BlockLen >00000513< File >\BDMV\STREAM\00273.m2ts<

Filename >\BDMV\STREAM\00273.m2ts< Size GB > 0.00< Progress >1/1<



11:26:47 - ERROR! Unencrypted unit has errors! - stop now

the m2ts file is 1MB in size. And just like with the other disc, creating a backup with DVDFab tells about a read error when making an unencrypted backup and no read errors with an encrypted backup.



When ignoring all errors, it's only this file which has "bad" sectors:

2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798432

2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798464

2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798496

2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798528

2023.05.16-11:43:43: read file BDMV\STREAM\00273.m2ts error Sector = 1798560

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798592

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798624

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798656

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798688

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798720

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798752

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798784

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798816

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798848

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798880

2023.05.16-11:43:44: read file BDMV\STREAM\00273.m2ts error Sector = 1798912



Kinda looks like RipGuard/ARccOS on a BluRay. As encrypted backups work, I would think, that the file seems to have data which causes a program error upon decrypting?Is RipGuard/ARccOS possible?

magician
21st September 2023, 21:12
1)

When converting a Pavtube BD+ table, BTAD 0.94 puts the FUT in bdplus/convtab/MK*.bin and is able to use it immediately. But when checking for existing tables (supposing the Pavtube table is deleted after conversion) BTAD still expects the old conv_tab_DiscID*.bin filename and isn't able to find the previously converted table.

2)

Printing the BD+ details seems to be broken now, unlike in recent versions of FindVUK.

2023-09-20 16:14:02 # 5468 # [I] main / Bluray_InitDisc / BD+ details - Date Gen 0

DanielH
27th December 2023, 09:19
I'll publish the source on github after adding the last 1 or 2 features I'd like to implement.

It's written in Purebasic - and this language also supports linux (but I've never tried to compile something for linux... so I don't know how easy it will be).

Did this ever happen? Or did someone make a Linux version?

nalor
29th December 2023, 21:55
Did this ever happen? Or did someone make a Linux version?

Not yet - but I'm still thinking about publishing the source code :D

coricopat
7th February 2024, 22:27
Hey Nalor

Not yet - but I'm still thinking about publishing the source code :D

I strongly hope you'll decide in favour of this.

My use case is about as follows:
I backup my own (legally bought) BDs/UHDs using MakeMKV's LibreDrive mode.

Being a perfectionist, I make right now three copies of the same BD:

A raw image copy (where the actual movie is still encrypted) using Linux' dd, with MakeMKV having been started but only do get the drive in LibreMode.
A decrypted backup with MakeMKV (where one would still have the BluRay folder structure, menus, etc.), just in case it should ever become impossible to use (1) to get that (libaacs and/or MakeMKV becomming unmaintained, etc. pp.)
A MKV version of (2) (respectively (1)), created with MakeMKV,... well again... just in case and to be on the safe side (also, playing back (1) or (2) in e.g. mpv works far less well, than playing back the MKV).


(1) I can play back directly with FLOSS (e.g. mpv) if, the VUK is known (which is usually the case it seems) and unless it uses BD+ (I know there's libbdplus, but since, AFAIU, it would execute some non-open blob code, I'd not even want to run that on my regular system). Same for BD-J.

(2) Is apparently fully decrypted, so it can be played back in any case, it seems (regardless of BD+, BD-J, whatsoever).
As of course (3).

The idea of (1) is mainly that I have a copy as close to my original medium as possible.
The idea of (2) and (3) is that I can play it back whatever comes.

Works fine, except that it eats up quite some storage.

So ideally I'd want to archive only (1) and be able - with pure open source - to get at least one or even better both (2) and (3) from (1).

I don't want to "cry wolf", but MakeMKV, while brilliant, isn't fully opensource (which I'm fine with)... so in principle it may disappear any time and if it's because of something unfortunate like the upstream author loosing interest or getting ill or worse (Heaven forbid!).


AFAIU, your program would do at least the step (1) -> (2).


Cheers,
Coricopat.

kujikita
3rd March 2024, 00:16
I had problems with BEE disks but it seems that BTAT works perfectly fine when I disable LibreDrive and ANY software like DVDFab, AnyDVD HD or anything like that. I had no clue why I got broken files before that.