View Full Version : DumpHD - a HD-DVD / Blu-Ray Decrypter
Pages :
1
2
3
4
[
5]
6
7
8
9
KenD00
10th November 2008, 04:06
It means that it doesn't know the convtable switch :confused:. Now this is strange! I just downloaded all my uploaded archives (and found out that the shell scripts aren't marked as executable inside the tar.gz archives, i just uploaded new ones) to make sure that i haven't uploaded a wrong one, but none produced that error, and i copy pasted your command line.
Are you sure that you are really using DumpHD 0.5? What happens if you just type
dumphd.sh -h
does it say DumpHD 0.5?
:rolleyes:
kkloster21
10th November 2008, 05:26
problem fixed. you were right, i wasn't using v0.5. there was a problem with the way i modified the script file. i feel like an idiot. sorry for troubling you KenD00.
the good news is it works great!
thanks for your help and your great work!
kkloster21
12th November 2008, 02:31
this may be a stupid question but what is the highest MKBv that dumpHD 0.5 can decrypt? I have a MKBv8 disc here that won't play and i'm guessing that's the issue. I was able to get a VUK from aacskeys but i don't think its decrypting and dumping properly and mplayer won't play it. the weird thing is that there doesn't seem to be any error message. it just says "Exiting... (End of file)" has anyone seen this?
sakman
12th November 2008, 03:52
MKBv7.
No keys for v8 or v9 yet.
KenD00
12th November 2008, 06:08
DumpHD does not decrypt any MKB, it uses aacskeys for this task, so aacskeys determines the decrypting ability and this is indeed up to MKBv7 currently. So i highly doubt that aacskeys gave you a VUK for a MKBv8 disc, did you run aacskeys in verbose mode and does it really say MKBv8? If thats the case then there seems to be a bug in aacskeys or you have more processing keys than i know of ;).
MPlayer quits with this message because DumpHD terminated and the pipe got closed so it most probably couldn't decrypt the disc. Maybe you can see the output of DumpHD in the console but if mplayer ran too long the output may be already gone.
:rolleyes:
kkloster21
12th November 2008, 14:26
here is the output from aacskeys (I have cut out potentially sensitive info):
$./aacskeys -v /media/cdrom1/
aacskeys 0.3.5 by arnezami, KenD00
MKBv: 8
.
.
.
Volume ID (AACSBYPASS): B765D9E8DEB0713718AE063D862C57DD
Volume Unique Key: 7974454FD6C00873BEBCF56C55793F21
Unit Key File Hash (Disc ID): 010E25C238FEEE6839C0025825324D57170931B4
.
.
.
but the disc won't play. my guess is that the VUK is incorrect.
kkloster21
12th November 2008, 14:38
cancel that actually, I am able to play the MKBv8 disc! It seems like aacskeys can do MKBv8!
I can confirm though that aacskeys is not able to retrieve a key for a MKBv9 disc.
evdberg
12th November 2008, 15:03
How do you use DumpHD on the Mac? When I run dumphd.sh I get the following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
What is wrong or what am I doing wrong? I am no Java expert ...
SuperGoof
12th November 2008, 15:20
I can also confirm that MKBv7 Processing Key (7A5F...) can also process MKBv8 (e.g. Indiana Jones IV) and MKBv6 (e.g. Rambo II - IV).
KenD00
12th November 2008, 18:48
@kkloster21, SuperGoof
These are amazing news, so actually the MKBv7 Processing Key is a MKBv6 Processing Key which hasn't been revoked until MKBv9 :). That explains why Slysoft could support MKBv8 so fast and MKBv9 was released so shortly behind ;). Does MKBv5 exists? Maybe its even a MKBv5 Processing Key? Can someone check this out?
@evdberg
Your JRE is too old, the released binary has been compiled for JRE 1.6. To get it run you either have to update your JRE or, if you have JRE 1.5, you can recompile DumpHD with JDK 1.5, DumpHD currently doesn't use any 1.6 features.
:rolleyes:
evdberg
12th November 2008, 20:02
@KenDOO,
You are right, I was running V1.5.0_16. I found a Java Preference tool, and changed the preferred version from J2SE 5.0 (32-bit) to Java SE 6 (64-bit, no 32-bits version available). That seems to do the trick, as the cmdline java command is now reporting V1.6.0_07.
teox99
17th November 2008, 12:24
first of all thanks to everybody for the great job!
Consider my contribute:
You can build a new kernerl 2.6.27.4 for the UDF support and The sun-java6-bin package. (JRE) for the apps.
I had some prob trying to get the "volume unique id" with aacskeys or dumpvid.exe, so the only way was to patch the device. i've a
GGW-H20L version YL03 patched to YL05, wine can patch only in root mode downloading the dll needed from the web! the trick works perfect. Now dumphd 0.5 can do everything alone and after few minutes you have all the m2ts files on the HD! the process works with BD+ discs protected too after finding the conv_tab with BDVM-Debugger.
Ok these were the good things now the watching test results!
I tested on PC with:
CPU Core2DUO 2.66GHZ, RAM 2GB, GeForce8800 GTX, 500GB HD SataII. [Windows Wista]
Under Vista using MediaPlayer with ffdshow the m2ts stream perfect the sound sometime is bad.
Under Linux:
mplayer, ffmpeg other codecs.
CPU 3.00GHZ, RAM 2GB, GeForce8500GT 1GB VRAM HDCP HDMI(nvidia linux driver.177.82), 500GB HD. [Slackware 12.1]
CPU Core2DUO 2.66GHZ, RAM 2GB, GeForce8800 GTX linux driver, 500GB HD SataII. [Ubuntu]
With normal Bluray protection, the m2ts streaming with mplayer works only with -frame drop enabled, the cpu loads 50%/60%
otherwise without frame dropping the movie crash after few seconds "sending too many pockets..." with 90%/95% cpu load.
About Bluray with BD+ protection it seems neither frame dropping is enough, the movie is too slow and "too many packets..." crash the player.
NO other mplayer flags or -vo seems to fix the prob.
I think for:
- a not correct decrypting?
- the audio track is too heavy to sync with the HD video...
- linux need better codecs to stream optimum HD files.
I have no prob with mplayer play HD-1080p wmv or mov files.
-------
from dumpHD process:
Some m2ts files are in different main language, you have to switch the audio track.
The files sequence seems to be not correct so you have to find it to watch the movie from the begin to the end.
-------
Other questions:
I use an HDMI connection PC to SONY-kdl40w4500 TV and the sound is always processed by the PC Sound Card, why?
HDMI signal include audio isnt it?
thats all!
thanks
kkloster21
17th November 2008, 14:37
i disagree that you need framedropping enabled to watch blu-rays on linux. also, i am able to watch BD+ movies smoothly without framedropping. I am running a quad core processor, so maybe this is the reason. however, you should try the following switch in mplayer (for your dual core system):
-lavdopts threads=2
it is possible to set the number of threads as high as 8 with this switch. also, if you want to pass the audio stream to directly to some other hardware, i think you may need to use one of the following switches:
-ac hwac3
or
-ac hwdts
although, i'm not sure this will work with an HDMI cable.
as a possible solution to your problem of too much CPU usage/choppy video, there is a new (beta) NVIDIA driver that allows GPU acceleration of VC1, H.264, MPEG-1&2, and WMV3 video. there is a thread about it here:
http://forum.doom9.org/showthread.php?t=142801
I have two questions for you: (1) have you been able to watch any discs with TrueHD tracks on them? (2) have you been able to get subtitles from any of the discs you've played?
@mod: sorry that this is an OT post - should teox and i start a new thread?
KenD00
18th November 2008, 04:38
- a not correct decrypting?
No, if you get video/audio then the decryption IS fine, otherwise you would get junk only. Quite stange that it gets noticeable worse with BD+ removal, that shouldn't need so much additional processing power.
from dumpHD process:
Some m2ts files are in different main language, you have to switch the audio track.
If you don't specify which audio track to use mplayer uses the first one. Its up to the movie studio which language they put into the first track.
The files sequence seems to be not correct so you have to find it to watch the movie from the begin to the end.
I assume you are using the complete disc mode here. DumpHD is a ripper, not a streaming server. In complete disc mode the files are processed in alphabetical order. If thats not suitable you have to use the --infile switch to specify which files to play in what order.
:rolleyes:
teox99
18th November 2008, 09:56
Thanx! yesterday i tried another BD+ but the streaming was again too slow, i'll try out another without BD+ to confirm my prob, maybe the BD+ are used to protect new movie enhanced than normal BD?!?
Anyway i tried the new Nvidia GeForce Driver 180.06 that enables a full GPU Acceleration! NVIDIA has developed patches to ffmpeg and MPlayer to
demonstrate a video player using VDPAU: http://lists.freedesktop.org/archives/xorg/2008-November/040279.html
The results is formidable!!! you can stream HD movie using just 2/3% of the CPU power everything is hold by the GPU.
But m2ts files is not supported on all the board yet!
"VC-1 support in NVIDIA's VDPAU implementation currently requires GeForce
9300 GS, GeForce 9200M GS, GeForce 9300M GS, or GeForce 9300M GS."
I've a 8500GT waiting the next ver!!!
------------------------------------------
Edited 19/11/2008
@KenD00: you are right about BD+
Fix some bugs with Nvidia GeForce 180.08 linux driver, fix acceleration for H.264 decoding on 8500GT
- if mplayer can't retrive automatically fps setting you can add the -fps <number> find on the backside of the BD disk, usually is 24 fps.
- if -alang is not working you can change the language track while streaming the movie with the key: #
- no fix VC1 decode yet.
Titan79
21st November 2008, 17:30
OK.. Well I tryed to ask this in my own thread but was told to search for a different one to ask.. I have tryed to use the DumpHD that is described in this thread but it tells memy host cert has been revoked.. For some reason when I use Any DVD HD it will give me an error one some disc saying "disc is not ready"! I thought at first it was a scratch or something on the disc but even after cleaning it sometimes Any DVD will give me the error. So I thought the ONLY way to fix this issue is to have or find the CPS/Volume key for EVERY disc I have. Now. My BR drive is BRAND new. (ATAPI BDODH4O1S 2P53 SNAP_MAIN_060519) by Lite-on.. I have read and searched and read everything I can get my hands on to fix this problem with no luck.. Can someone point me in the right direction of how to overcome this host cert problem.
BTW I've even tryed Blue-ray ripper with anydvd running in back-ground.. Is it fair to say that its 100% the disc fault? ( disc dirty or scratched?)
Doom9
21st November 2008, 19:31
Actually, I told you to read up before asking. I figured since I've never used anything but AnyDVD HD I could give it a shot, too. So, I entered dumpvid into the search engine and spent the next 20 minutes reading. I found a few examples on how to use dumpvid. You go to the commandline and type
dumpvid x
where x is the drive letter of your Blu-ray drive. I also found KenD00's post where he explains how different players work differently.
Armed with that knowledge I gave it a shot myself. I have a the LG GGW-H20L drive with firmware 03 (unpatched) - and no UDF2.5 drivers installed, and the drive letter is e.
So, I installed PowerDVD8 (it's a new setup, I didn't have PowerDVD yet) and brought it up to the latest patch level (8.0.2217.50). Then I turned off the process that makes PowerDVD start automatically when you enter a disc (DVD8Serv). Then I entered the disc and started PowerDVD. Then I typed
dumpvid e
On the commandline and pressed enter. Then I saw
C:\temp>dumpvid.exe e
DumpVID 0.3 by KenD00 (adapted for bluray testing)
Drive type is recognised as CDROM/DVD.
Sending SPC1 Test Unit CDB6 command..done.
Returned good status.
Press ENTER to start hammering
So I pressed Enter and then pressed play in PowerDVD.
Then I got the following two additional lines in the commandline
vid: 62AA5F3CBD4CED5FABBEBD578D566AB0
Hammering finished.
C:\temp>
Voila.. there's your volume id. See how I didn't once say that I have read everything.. perhaps in some instances it makes sense to reference what you read, but if you have searched and read everything you could get your hands on as you claimed, then I wonder why you didn't try what I just did. You should at least have come back with the output of a dumpvid run.. and give the details I gave above in case it's not working.. so that everybody who reads your post knows exactly what you're doing.
@edit: I thought maybe it's a question of what steps are taken in what order (e.g. start hammering prior to starting PowerDVD) but so far I cannot figure out why I've only been able to get the vid of 2 out of 10 discs I tried. I'm not sure that if I don't get the vid and PowerDVD starts playing if closing the player will be enough, if it also takes a tray cycle or if I have to reboot - I'm currently trying all permutations.
Titan79
21st November 2008, 20:12
Thanks for your response.. It seems to be alot easier to understand your examples than it was for me to understand the others.. Maybe because I've been so fustrated with with this.. Thanks for the help and not making me feel to bad about asking!
OK now I feel stupid.. I had the dumpvid.exe in the wrong place the whole time! Thanks for the help!
Doom9
21st November 2008, 20:40
By the way, the next step is aacskeys..
Download, unpack and I figured it might be a good idea to add all the .txt files to the aacskeys.exe directory just in case. Then you open another commandline and type
C:\temp>aacskeys e 62AA5F3CBD4CED5FABBEBD578D566AB0
aacskeys 0.3.5 by arnezami, KenD00
Volume Unique Key: 0D079748168A86154873EE2BAC825A4F
Unit Key File Hash (Disc ID): 95D01A7D31EB7754EE85531124BE3E05FC202C31
Where e is once again the drive letter, and you see that I put the VID I got from DumpVid as additional parameter.
Note that the first time I ran it, aacskeys told me it couldn't open a file.. then again the file it specified was not accessible from windows explorer either - so I knew I needed the UDF 2.50 drivers now, and a reboot.
The next step is DumpHD. It is a java app so install the latest java runtime, then you can just double click on DumpHD.jar. Once you select your drive you'll get a bunch of error messages - the most important being
The given Host Certficate / Private Key has been revoked by your drive.
So, aacskeys integration failed but that's why we just used DumpVid and aacskey manually to get the required info. Now you just need to put the data into the KEYDB.cfg file - open the file with Notepad and it tells you how an entry should look like. If you don't get that error but
Loading aacskeys library... FAILED
no aacskeys in java.library.path
Direct key retrieval disabled, only keys from the database will be usedthen you were being lazy and skipped reading the readme.. it says it needs an aacskeys library.. and where would that lib be? probably the lib directory in the aacskeys folder which contains one library file (aacskeys.dll) ;)
The two values aacskeys returns are all we need to write a correct line for KEYDB.CFG:
95D01A7D31EB7754EE85531124BE3E05FC202C31 = | D | 0000-00-00 | V | 0D079748168A86154873EE2BAC825A4F
So..the DiscID from aacskeys goes first, then = and then the name of the disc (seems you can leave it out though), and the last element is the VUK.
Now if you start DumpHD and select your Blu-ray drive (e in my case), and click open, after a few seconds you'll see something like:
Initializing source...
Disc type found: Blu-Ray BDMV
Collecting input files...
Source initialized
Identifying disc... OK
DiscID : 95D01A7D31EB7754EE85531124BE3E05FC202C31
Searching disc in key database...
Disc found in key database
So.. DumpHD found your shiny new key and is ready to decrypt.
So that's all there is to it - except maybe figuring out why the hammering seems to have very limited success on my box.
So I figured I put maybe 40 minutes to an hour into this.. seems a reasonable amount of effort if you ask me - and of course writing down helps since you're forced to rethink all your steps.
@edit: after playing with the timing parameter in dumpvid, I seem to be having more success in recovering vids..
dumpvid 10 e
seems to work better than the default, however in my 10 test discs I still had one where I had to do the whole process (cycle tray and restart powerdvd) 4 times until I finally had a vid. I guess I finally understand why people keep posting keys. If you have a drive that can be patched then you don't even need processing keys, but if you need to run dumpvid, it's a pain in the ass.
@edit2: if you have an XBox360 HD DVD drive or one of the drives for which there is a VolumeID patch (http://forum.doom9.org/showthread.php?t=139522), then dumpvid is optional as aacskeys can automatically recover the volume id from those drives. If you run aacskeys as follows:
aacskeys -v x where x: is the drive letter for your Blu-ray disc drive, then you'll get a longer output which contains something like this:
Volume ID (AACSBYPASS): 09C233A123B5E42D9A10416F817E1081
Volume Unique Key: 27A7C84BFA58125F90576E45BCF02324
Unit Key File Hash (Disc ID): D6805625914BF194A54335C6BD3748CBF7494043
So, the first line is your volume ID.
Also note that if you're on Linux, the instructions are the same but instead of the drive letter you'd use the mount path (e.g. /mount/cdrom or wherever your Linux flavor mounts your BD drive... depending on the distribution you're using the path might change from disc to disc as certain distros use the disc's name as part of the mounth path... in Ubuntu, you might want to right click on the desktop link that's automatically put on your desktop when a disc is being mounted and look at the properties to see the mount path).
KenD00
21st November 2008, 21:41
dumpvid 10 e
seems to work better than the default, however in my 10 test discs I still had one where I had to do the whole process (cycle tray and restart powerdvd) 4 times until I finally had a vid.
Timing is the problem in the whole process, there is only a short window in which the validated communication channel to the drive is open. Cycling the tray and restarting PowerDVD shouldn't be necassary but timing is crucial. PowerDVD does not process every disc in the same time, sometimes it needs longer to read it, sometimes not, so it may be necessary to adjust the delay from disc to disc even.
If you have a drive that can be patched then you don't even need processing keys
Nope, thats not correct. Without a processing key you can't decrypt the MKB on the disc.
but if you need to run dumpvid, it's a pain in the ass.
Yeah, too bad no one has found a new Host Certificate yet :(.
And thanks for the nice tutorial :).
:rolleyes:
Doom9
21st November 2008, 22:10
Nope, thats not correct. Without a processing key you can't decrypt the MKB on the disc.Hmpf.. of course - time to freshen up on those aacs threads.
@edit: I just purchased ArcSoft Total Media Theatre and the same guide still applies. However, I got no vid from DumpVid when playing an HD DVD. Do I need to revert back to arnezami's old fetchvid tools?
Titan79
22nd November 2008, 07:47
Thanks guys.. I gave back in the aacskeys section.. u guys are great! TY!
yippiekayee
30th November 2008, 03:15
Based upon the instructions in this thread I managed to decrypt some BD+ titles as well. The procedure is slightly different though:
First of all, for those that have a drive with the VolumeID hack, you could just copy the aacskeys library to the dumphd directory and unless you've played an MKBv9 disc (no keys out for those yet) or are dealing with such a disc, all will be done automatically for you.
However, with BD+ it's still manual labor. Unless you used dumpvid, run aacskeys with the -v option to also get the volume id printed out.
So run aacskeys like this:
aacskeys -v X
where X is the drive letter of your Blu-ray drive.
In the output you should see something like
Volume ID (AACSBYPASS): 90BB4394DCC6500554FE96169607DE66
Volume Unique Key: 921DAE3B3D08BF212C3CA7B28910EF19
Unit Key File Hash (Disc ID): 86BFB76B2243A09EC6D0F1D8FA7BD3D7B334DAC3
Then run the bdvm debugger from the commandline (I know you can just double click on the jar file but it won't get you the console output which can be crucial):
java -jar bdvmdbg.jar > output.txt
We redirect the output to output.txt so that a console overrun won't mean we lose anything.
Now select settings, Set Volume ID and paste the volume id from dumpvid/aacskeys there (right click won't work so you have to copy using control-v). Then select Settings and then Select disc mount point and browse to the drive letter of your Blu-ray drive and click on Open. Then click on the Run button and wait. Once the Run button no longer has a different color, you can close the program again. In the bdvm debugger directory you'll now find a conv_tab.bin file.
Next you run dumphd from the commandline and point it to that file
java -jar DumpHD.jar --convtable:c:\temp\conv_tab.bin X: c:\mymovie
Where X is once again the drive letter of your blur-ay drive and c:\mymovie is the path where you want the movie to be backed up to.
And that's it.
ggking7
30th November 2008, 21:17
Have I run into an MKBv9 disc? From dumphd I get:
aacskeys ERROR: PROCESSMKB, errnr: -3
It's "Encounters at the End of the World".
KenD00
1st December 2008, 08:58
Next you run dumphd from the commandline and point it to that file
java -jar DumpHD.jar --convtable:c:\temp\conv_tab.bin X: c:\mymovie
I suggest not to invoke java directly but use the included shell scripts, especially under linux because there the aacskeys library won't be found if you start DumpHD without them. Otherwise nice tutorial, thanks.
aacskeys ERROR: PROCESSMKB, errnr: -3
-3 means no Media Key could be calculated, so it is indeed a MKB for which you don't have a processing key. Some lines before that error message aacskeys has written the MKBv it has encountered ;).
:rolleyes:
bourke
2nd December 2008, 00:02
...Next you run dumphd from the commandline and point it to that file
java -jar DumpHD.jar --convtable:c:\temp\conv_tab.bin X: c:\mymovie
Where X is once again the drive letter of your blur-ay drive and c:\mymovie is the path where you want the movie to be backed up to.
And that's it.
Is anyone looking at integrating the BD+ decryption code into DumpHD?
KenD00
2nd December 2008, 01:08
Depends on what you mean with integrating. If you mean using it the "aacskeys way" as library then yes, me :D.
:rolleyes:
bourke
2nd December 2008, 02:21
Depends on what you mean with integrating. If you mean using it the "aacskeys way" as library then yes, me :D.
:rolleyes:Shweet. Do you have a PayPal account for donations? =)
KenD00
4th December 2008, 01:44
Due to some recent events i saw the need for a new DumpVID version, so here it is.
This new version supports HD-DVD and Blu-Ray now, hammering is the default action and only AGID 0 gets used (can be reverted to the old behavior using a command line switch). This process has proven to be more reliable than the old one.
I have updated the download links on the first page.
:rolleyes:
KenD00
5th December 2008, 20:00
And another release, this time its DumpHD 0.51. This update adds support for BD-ROMs which use multiple CPS Units. I'm using the same approach as Blu-ray Disc ripper, testing every CPS Unit Key and checking the result, however i use another test to verify that the right CPS Unit Key was found.
:rolleyes:
yippiekayee
6th December 2008, 00:53
Considering that knowing the volume id could become necessary for BD+ handling, would you consider changing the key file format to allow for an optional volume id (to be filled out automatically when the aacskeys library is being used)?
Also, I'd consider it very convenient if DumpHD would use the disc name and put it as the movie title.
yippiekayee
6th December 2008, 22:40
I just redid Dr. No - the hashes now all match up except for file 00091.m2ts which DumpHD reports as unencrypted and copies 1:1. Playback from the HD still doesn't work (no problems playing it from disc with anydvd running) so I'm currently ripping the disc with AnyDVD HD to compare the entire directory and not only that small file to see if it's TMT's bug or if that file or any other are the cause for the playback issue.
KenD00
7th December 2008, 12:41
There is no need to change the KEYDB format, read the one which ships with DumpHD, it already supports various other entry types than V ;). Storing the Volume ID for BD+ titles will be included later, but this needs an updated aacskeys because it passes the VUK only currently.
The disc name is a problem because this is platform specific. Java has a function to get it but the result is not guaranteed and varies from platform to platform, e.g. under windows it should be something like "<volume name> (<drive letter>: )" while under linux its the last part of the mountpath. Now my linux version automounts Blu-Rays indeed on a path with the volume name, but HD-DVD's are mounted on /media/cdrom which would result into the volume name cdrom. I will see what i can do but this is not a priority for me.
Anyway thanks for your testing effort.
:rolleyes:
yippiekayee
7th December 2008, 17:26
You probably mean the library needs an update... aacskeys.exe already returns the vid in verbose mode (that's how I got it for my BD+ tests).
I have one followup question for that though: is there a way to get aacskeys to, or is there another software that makes use of the aacs bypass and gets me the vid? I know there's dumpvid but if I play an MKBv9 disc then I lose the existing processing keys and I'm not willing to go there.
Also, you said in the other thread that you can use dumphd to just remove BD+. So I tried:
C:\temp>java -jar DumpHD.jar --convtable:conv_tab-firefly-disc1.bin d:\firefly-d1-anydvd\FIREFLYUS_D1 d:\FIREFLYUS_D1 >
And here's what happens:
Checking source...
Source path: d:\firefly-d1-anydvd\FIREFLYUS_D1
Initializing source...
Disc type found: Blu-Ray BDMV
Collecting input files...
Source initialized
Identifying source...
Identifying disc... FAILED
AACS directory not found
Finished identifying source
Checking destination...
Destination path: d:\FIREFLYUS_D1
Dumping source...
Skipping disc set:
DiscSet:
Type : Blu-Ray BDMV
Source directory : d:\firefly-d1-anydvd\FIREFLYUS_D1
Destination directory: d:\FIREFLYUS_D1
AACS directory : NONE
Key data : NONE
BD+ protection : YES
Conversion Table : PRESENT
Streamsets :
..
now it's listing all files
..
Dump complete
However, that happens in under a second and obviously enough, nothing has been done in that time. So how do I get dumphd to take the AnyDVD HD ripped files from one directory, then apply the convtable on the existing files on my HD while copying them to another place?
KenD00
7th December 2008, 18:31
You probably mean the library needs an update...
Ah yes, thats what i meant. The "library", which in fact just executes aacskeys :D, enters only the VUK into the data structure that DumpHD gets, that needs to be updated.
I know there's dumpvid but if I play an MKBv9 disc then I lose the existing processing keys and I'm not willing to go there.
You don't lose Processing Keys! Your Processing Keys will always decrypt the discs they can decrypt, however, your Host Certificate can get revoked which removes your ability to get the Volume ID. The only known Host Certificate is for MKBv1 and i'm pretty sure your drive MKBv is far away from that ;).
And it is still unknown if merely putting the disc into the drive will already update the revokation lists. However, if this only happens when an AACS Authentication process is started then the AACSBYPASS process will update the revokation lists because it starts an AACS Authentication process ;). So whatever you do to get the Volume ID your drive will get updated.
Hmm, aacskeys does not give you the VID if it can't decrypt the MKB although it could give you the VID in that case. I will see if i can make it to give you the VID only easily without messing up the code too much :).
Identifying disc... FAILED
AACS directory not found
I am pretty sure that i said you need to copy the AACS directory from the disc... and im also pretty sure that i forgot to mention that you have to make a key entry into the database :D. Of course, you can't make a real entry because you don't have the VUK, just enter a dummy VUK or the disc will be skipped. DumpHD cannot check if the VUK is correct and it will not use it because the disc is already decrypted.
:rolleyes:
ni9ht_5ta1k3r
13th December 2008, 07:28
Not really sure on how to use this program of yours KenD00. I was attempting to decrypt the dark knight and I was confused on what to do.
Doom9
13th December 2008, 16:28
ni9ht_5ta1k3r: just one page back I posted a detailed tutorial.. there's really no excuse for not reading it.
I suspect though that your disc is MKBv9 and that particular subject is even treated on this very page of this very thread - for now you need AnyDVD HD to handle that title.
yippiekayee
13th December 2008, 18:35
@Kend00: I finally compared the DumpHD and AnyDVD HD copy of Dr. No and Live and Let Die for differences.. other than the one stream file which DumpHD says is not encrypted and copies 1:1 (and AnyDVD HD doesn't) I found out that 6 jar files are different - DumpHD once again has a 1:1 copy and AnyDVD HD doesn't, and the app.discroot.crt is also different on both discs and once again DumpHD made a 1:1 copy and AnyDVD HD didn't. The only two options I have enabled in AnyDVD HD are "Enable Blu-ray support" and "Remove BD+ protection".. the rest is inactive. TMT can play AnyDVD's version just fine but chokes on DumpHD's, and if I turn DumpHD's version into an ISO, PowerDVD chokes on it, too. I don't have a standalone Blu-ray player but I think if I cannot get any software Blu-ray player to play the ripped content that there's something off with the DumpHD rips.
ni9ht_5ta1k3r
14th December 2008, 00:00
ni9ht_5ta1k3r: just one page back I posted a detailed tutorial.. there's really no excuse for not reading it.
I suspect though that your disc is MKBv9 and that particular subject is even treated on this very page of this very thread - for now you need AnyDVD HD to handle that title.
mine's the Australian version so i'll have to wait till anydvd get's updated.
yippiekayee
14th December 2008, 19:54
@Kend00: same story for the second bond pack - the same jar files are different, as well with the one certificate.
Also, for Aliens vs. Predator: Requiem I have a different MovieObject.bdmv between DumpHD and AnyDVD HD.
SuperGoof
14th December 2008, 19:59
@Kend00: same story for the second bond pack - the same jar files are different, as well with the one certificate.
Also, for Aliens vs. Predator: Requiem I have a different MovieObject.bdmv between DumpHD and AnyDVD HD.
For them to be the same, you have to turn off Region Code removal, BD-Live removal, PUOs removal and Adverts removal in AnyDVD. If you don't remove BD+ with DumpHD, you will have to turn off BD+ removal in AnyDVD too. Basically, just leave "Enable Blu-ray support" on in AnyDVD. All other options - off. Now you can do binary comparisons.
yippiekayee
14th December 2008, 20:16
I think you missed my comments in this post (https://forum.doom9.org/showthread.php?p=1223811#post1223811).. I already have turned off all the AnyDVD HD features that would change the ripped files.
KenD00
14th December 2008, 21:37
Thanks for your report, i can imagine what the problem is. Interactive content code, BD-J on Blu-Ray, HDi on HD-DVD, has the ability to interact with AACS. This of course does only work if the player is in AACS mode which it is obviously not when playing back a decrypted rip ;). And maybe it can do other fancy stuff to check if the source is still encrypted, i don't know.
Thats why AnyDVD HD edits the JAR archives, it removes code that uses AACS stuff. Thats something what i don't do. DumpHD only removes AACS encryption from encrypted files, it does not analyse the content code and modify it. Thats something beyond my current capability and especially my capacity and i doubt that i will ever implement such functionality.
With AnyDVD HD on the windows side this isn't really necessary, my primary target is the *nix world now, BD-J and friends aren't an issue there yet so i won't start to worry about this missing feature until that changes ;).
:rolleyes:
SuperGoof
14th December 2008, 23:42
I think you missed my comments in this post (https://forum.doom9.org/showthread.php?p=1223811#post1223811).. I already have turned off all the AnyDVD HD features that would change the ripped files.
Ah, sorry. I did not notice this. But now I have a few questions: 1) Do these James Bond movies have BD+ on them? 2) If yes, does AnyDVD handle it? 3) Do bdvmdbg/DumpHD handle it, too? 4) If you un-check "Remove BD+" in AnyDVD, does it still modify any .jar, .bdmv, .cer files? Thanks!
BTW, AnyDVD started making BD+ related modifications to MovieObject.bdmv right when it introduced BD+ support. They even have a special term for it, which I forgot. So it should be an essential part of BD+ removal process.
KenD00
14th December 2008, 23:46
This new version adds automatic BD+ removal to the feature list. Again, as it was with automatic key retrieval, this is done using an external entity, this time the BDVM Debugger.
For this feature to work you need the upcoming BDVM Debugger 0.1.5 or a later version and at least aacskeys 0.3.6. Just copy all files and subdirectories of the BDVM Debugger into the directory of DumpHD and it get automatically used.
Please keep in mind that the BDVM Debugger is still in development and that there are titles which it cannot process right now. If the BDVM Debugger locks up DumpHD locks up too.
:rolleyes:
yippiekayee
15th December 2008, 10:31
@Superdump: all those titles are BD+ protected and AnyDVD HD can handle them, so does DumpHD (with a valid convtable of course), and yes, if I remove "remove BD+" in AnyDVD, it still modifies the files. Interestingly, if I run md5sums on the disk while AnyDVD is running, I get a different checksum than from the files I had previously ripped to my harddisk.
The MovieObject.bdmv only differs on AVP2 - and the dumphd rip can still be played by TMT.. you just have to not press next during the second trailer or it gets stuck. For the bond titles, only the jar files differ. I haven't run md5sums on any other entire discs but those.
sl1pkn07
15th December 2008, 15:00
hello
this Warnings is normal?
sl1pkn07@SpinFlo:~/aplicaciones/aacskeys-0.3.6$ make
==== Building aacskeys ====
aacs_aes.cpp
aacskeys.cpp
src/aacskeys.cpp: In function ‘void GetCurrentPath(char*)’:
src/aacskeys.cpp:167: aviso: se descarta el valor de devolución de ‘char* getcwd(char*, size_t)’, se declaró con el atributo warn_unused_result
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int process_media_key_block(int, bool)’ at src/aacskeys.cpp:871:
/usr/include/bits/stdio2.h:253: aviso: la llamada a ‘__fgets_chk_warn’ se redecló con aviso de atributo: fgets called with bigger size than length of destination buffer
aacs_ecdsa.cpp
ioctl.cpp
cmac.cpp
cmac_aes.cpp
mmc.cpp
Linking aacskeys
==== Building libaacskeys ====
aacs_aes.cpp
aacskeys.cpp
src/aacskeys.cpp: In function ‘void GetCurrentPath(char*)’:
src/aacskeys.cpp:167: aviso: se descarta el valor de devolución de ‘char* getcwd(char*, size_t)’, se declaró con el atributo warn_unused_result
src/aacskeys.cpp: In function ‘void Java_dumphd_aacs_AACSKeys_getKeys(JNIEnv*, _jobject*, _jstring*, _jobject*)’:
src/aacskeys.cpp:2065: aviso: conversión obsoleta de una constante de cadena a ‘char*’
src/aacskeys.cpp:2065: aviso: conversión obsoleta de una constante de cadena a ‘char*’
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int process_media_key_block(int, bool)’ at src/aacskeys.cpp:871:
/usr/include/bits/stdio2.h:253: aviso: la llamada a ‘__fgets_chk_warn’ se redecló con aviso de atributo: fgets called with bigger size than length of destination buffer
aacs_ecdsa.cpp
ioctl.cpp
cmac.cpp
cmac_aes.cpp
mmc.cpp
Linking libaacskeys
sl1pkn07@SpinFlo:~/aplicaciones/aacskeys-0.3.6$
greetings
im edit premake for SSL path. im use ubuntu 8.10 64bits. openssl 0.9.8g
loo3aem3ON
15th December 2008, 17:15
Where is the playlist on a blue ray disc or in other words which file determines the order in which the m2ts files (movie trailers, threats etc before the movie) are played back? (This is about the second parameter of event#0110).
KenD00
15th December 2008, 19:14
There is not the one playlist, its a bit more complicated.
The entry point is the file BDVM/index.bdmv, this file defines the first play and topmenu items and the titles which can be of the type BD-J or HDMV, this is like VIDEO_TS on DVD's. Depending on the title type there are two paths to follow.
For HDMV, the titles refer to a Movie Object which are defined in the file BDMV/MovieObject.bdmv. Each Movie Object is like a VTS on a DVD. A Movie Object contains a program which at some points will start the playback of a Playlist (from BDMV/PLAYLIST). A Playlist finally references the actual m2ts files to playback (actually it refers to the Clipinf files which contain the timestamp to file offset translations).
For BD-J the Java program inside the corresponding JAR archive controls the playback process.
To actually figure out what exactly is played back in what order i think there is no other way than to either analyse the code or execute and trace it :(. I'm not aware of a tool that has such a functionality for BD like PGCEdit has for DVD's. A not fully exact way would be to play the movie, try to find the m2ts you have seen and check which playlists refer them.
A great tool to check out the BD structure files is BDEdit (http://www.pel.hu/down/BDedit.exe).
:rolleyes:
evdberg
15th December 2008, 22:14
For BD-J the Java program inside the corresponding JAR archive controls the playback process.
Can you given an example of a movie that uses this method? I have not found one so far.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.