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 25th April 2020, 22:51   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 737
Just got a Blu-Ray drive, everything is borked

Yes, I realize I'm 14 years late to the party, but I just got my first Blu-Ray drive as a belated birthday present and I'd like to start ripping and converting the two Blu-Rays that I have (Bumblebee and Tron Legacy). Or at least watch them. But I'm having two problems so far.

The first is that neither VLC nor MPC can make heads or tails of my Blu-Rays. One of them, on one movie, was kind enough to say something about AACS, so I downloaded the key and the .dll and put them in the right places on my hard drive and now all four possible combinations of player and disc tell me "I can't open that, I don't know what went wrong, go f**k yourself"

So, any help with that would be lovely. But it's not necessary, as long as I can rip... right?

So, I'd like to be pointed in the direction of a free, no-bullshit tool that just copies the m2ts files from the disc to a hard drive without touching them (except possibly splitting and joining). Something like Smartripper or DVD Decrypter, but for Blu-rays. I do not need to clone the whole disc, nor do I need a single tool that does both ripping and recompressing. The forums do have a guide, but it seems to be from 2008 and is focused on whole-movie or whole-disc backup rather than on getting files to import into AVIsynth.
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.
Katie Boundary is offline   Reply With Quote
Old 25th April 2020, 23:09   #2  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,390
MakeMKV backup to folder. Enable it to decrypt while copying. Then you can play the folder with various players or access the streams for Avisynth.

I just know I'm your favorite geek.
videoh is offline   Reply With Quote
Old 25th April 2020, 23:50   #3  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 737
Thanks, I'll try that

I've also found the thread on getting Blu-rays to play with "libre" software. After following all of those steps, I'm happy to report that Tron Legacy is playable, though Bumblebee is not.
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.
Katie Boundary is offline   Reply With Quote
Old 26th April 2020, 00:21   #4  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,390
When you are happy, I am happy.
videoh is offline   Reply With Quote
Old 26th April 2020, 04:07   #5  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 737
Well, my first attempt at doing anything productive with MakeMKV resulted in an indiscriminate, but successful, data dump of EVERYTHING from the disc to an external hard drive, without repacking into a new container format. A bit messy but definitely usable.

Edit: and it looks like the m2ts files can be ported straight into AVIsynth using ffmpegsource2 (though the audio and video require separate imports), cutting out the need for DGindex. VERY nice! Everything works smoothly and I have a shiny new XviD AVI file made from one of the featurettes on the Bumblebee Blu-ray.

Edit 2: Featurettes work fine. Movies themselves still require a separate indexing step performed by ffmsindex.exe; otherwise, the program you're trying to open the video with will stop responding. If ffmsindex is run directly, it opens for 1/10th of a second and then quits, but right-clicking on the m2ts file and selecting "open with..." will make it behave. And that's good for video. Audio is still thwarting me because ffaudiosource wants to overwrite the index file and then we're back to Virtualdub crashing.

Edit 3: Workaround found. I can use TSmuxer to extract the audio to an ac3 file, then import that ac3 file into avisynth using nicac3source().
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.

Last edited by Katie Boundary; 26th April 2020 at 09:04.
Katie Boundary is offline   Reply With Quote
Old 26th April 2020, 10:22   #6  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,390
You can rip with MakeMKV directly to an MKV if you prefer it that way. Look at tutorials found on youtube.

Very few disks are MPEG2 so DGIndex would most likely not be usable anyway.
videoh is offline   Reply With Quote
Old 26th April 2020, 18:50   #7  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,193
Bumblebee has Bus Encryption enabled on the disc, which is actually not that common on standard Blu-ray. Having just the VUK or Unit Keys is not sufficient to play it back; a Host Certificate that hasn't been revoked by the drive is also necessary, although if using the patched libaacs* that also caches the RDK, the non-revoked Host cert is only needed the first time the disc is played back in that drive.

*relevant notes from said post:
Quote:
About RDK:

Discs that have BEE (all UHD and <10% of BD) and are played on a BEC drive (i.e. all recent drives) require a valid Host Cert to be present in KEYDB.CFG in order to calculate the RDK. Once the current Host Cert is revoked by the drive, the previously cached RDK can still used instead
The RDK, drive and disc specific, is saved in %APPDATA%\aacs\rdk\[DriveID]\[DiscID]. The [DriveID] is a hash of the Drive Cert which is assumed to be unique
It seems possible that some BEC drive would calculate a different RDK each time the same BEE disc is played. In this case, caching the RDK will obviously not work. No such drives are known at this time.
ffmsindex is a CLI program, invoke it from an open Command Prompt. All you have to do to get audio indexed at the same time is:
Code:
ffmsindex -t -1 file
qyot27 is offline   Reply With Quote
Old 26th April 2020, 19:32   #8  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 737
Quote:
Originally Posted by videoh View Post
You can rip with MakeMKV directly to an MKV if you prefer it that way.
I hate Matroska so it's very unlikely that I'd prefer it that way What would be most helpful at this point would be a more frame-accurate way of importing the video into AVIsynth, since ffmpegsource has frame-accuracy issues. My current workaround consumes a lot of drive space and is only good for short clips.

Quote:
Originally Posted by qyot27 View Post
Bumblebee has Bus Encryption enabled on the disc, which is actually not that common on standard Blu-ray.
That's not surprising. The DVD versions of Transformers 2&3 used a combination of hard-links tricks and what looked like seamless branching to defeat certain rippers, and Transformers 4 had an undesirable audio track (sort of like a commentary) that would be set as the default track if you didn't pay close attention during ripping. Neither of those is very common on standard DVDs. I don't think they did anything special for #5; they probably figured that pirates would want to rip from the Blu-ray rather than the DVD.

But anyway, I now have 32.2 gigs of "bumblebee.m2ts" on the largest of my external hard drives so I'll never need to worry about bus encryption again
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.
Katie Boundary is offline   Reply With Quote
Old 26th April 2020, 20:05   #9  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 4,995
Quote:
Originally Posted by videoh View Post
You are such a fine lady
I think she claims to be a raptor.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 5th May 2020, 06:40   #10  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 737
Quote:
Originally Posted by videoh View Post
There is DGDecNV is you have a decent nVidia card. You are such a fine lady that I would be happy to send you a free license.
While I did recently get a new Nvidia card, that use for it won't be necessary. A little bit more fooling around with MakeMKV has revealed that the program can perform a direct stream copy from the m2ts files to MKV files, keeping the original compression, and ffmpegsource2 has better frame-accuracy when importing an MKV instead of an m2ts file. That's a pretty important detail; enough to make me put my Matroskaphobia aside.

Quote:
Originally Posted by Groucho2004 View Post
I think she claims to be a raptor.
All the dinosaurs in Jurassic Park are female.
__________________
If I ask "How do I do X?" or "what happens if I do X?", and X is a very bad thing that no one would ever normally do, assume that I already know this, and that I have Katie reasons for asking anyway.

Last edited by Katie Boundary; 5th May 2020 at 06:49.
Katie Boundary is offline   Reply With Quote
Old 5th May 2020, 15:17   #11  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,646
Now I think it's clear to everybody why God isn't married.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 5th May 2020, 16:51   #12  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 821
Love those KT threads ;-)
__________________
"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
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:34.


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