View Full Version : BackupHDDVD, a tool to decrypt AACS protected movies
bestperson
25th January 2007, 20:58
you guys are truly a great help. thank you very much.
bass4040
26th January 2007, 21:34
I've done a few movies fine, but I get a Java io exception halfway decrypting Dune. It hangs at the same place every time and I tried a few different versions of backupdvd.
Oleg_Jdev
26th January 2007, 22:19
I've done a few movies fine, but I get a Java io exception halfway decrypting Dune. It hangs at the same place every time and I tried a few different versions of backupdvd.
Which version you use?
IOException throws with error reading/writing from HDDVD or hard disc. May be not enough free space on hard disc?
bass4040
27th January 2007, 03:48
I just did a four more movies no problem on my 500 gig hard drive. I tried backupdvd c++, gui, command line 1.0, 1.1. Only movie that I get a java io exception is Dune.
romgohan
27th January 2007, 11:32
I've done a few movies fine, but I get a Java io exception halfway decrypting Dune. It hangs at the same place every time and I tried a few different versions of backupdvd.
You should get exception stack trace on the console, it can help us to find where the problem might be...
Oleg_Jdev
27th January 2007, 11:40
I just did a four more movies no problem on my 500 gig hard drive. I tried backupdvd c++, gui, command line 1.0, 1.1. Only movie that I get a java io exception is Dune.
Post stack trace here.
culprit
27th January 2007, 18:29
Could this program be adapted to work with DRM's DVR-MS files recorded thru Media Center? It is really frustrating to not be able to watch shows recorded on my Media Center on any other computer.
Thanks,
Rob
j10
29th January 2007, 07:07
Hi Guys, There is this mirror for BackupHDDVD, they have the GUI version and the video updated
http://www.backuphddvd.net/
bass4040
29th January 2007, 07:09
This is the error msg I get on Dune. I don't know if this is what a stack is.
java.io.Exception: Data error (cyclic redundacy check)
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at aacs.decoder.DecryptEVOB.loadChunk(DecryptEVOB.java:73)
at aacs.decoder.DecryptEVOB.decryptEVOBFile(DecryptEVOB.java:53)
at aacs.main.BackupHDDVD.main(BackupHDDVD.java:67)
Post stack trace here.
Emon
29th January 2007, 07:25
This is the error msg I get on Dune. I don't know if this is what a stack is.
java.io.Exception: Data error (cyclic redundacy check)
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at aacs.decoder.DecryptEVOB.loadChunk(DecryptEVOB.java:73)
at aacs.decoder.DecryptEVOB.decryptEVOBFile(DecryptEVOB.java:53)
at aacs.main.BackupHDDVD.main(BackupHDDVD.java:67)
I got that same thing when tried to backup Superman Returns.
romgohan
29th January 2007, 08:10
It is a disk read error. Try copying the disk to HDD (if the disk is corrupted the the copy will fail too) and decrypt from there. .
Oleg_Jdev
29th January 2007, 23:20
I got that same thing when tried to backup Superman Returns.
May be it is protection of a disc :confused:
evdberg
30th January 2007, 14:30
In the days of DVD, VOBU_ea was supposed to be in bytes
No, it is not. It is in blocks (per 2048 bytes).
All ILVU packs are decrypted with Sequence Keys Kc = AES-G ( SEG_KEY*, Dtk || CPIlsb_96 )
Can you please tell me where you read this? As far as I know ILVU already exists on DVD and there is not such thing as an ILVU pack. It is a combination of info in the IFO file (maybe on HD in the VTI or MAP file) and pointers in the nav block.
Edit: the above quotes come from this post (http://forum.doom9.org/showthread.php?p=941169#post941169).
scanner
1st February 2007, 12:04
Has anyone noticed that on commericals for the releases they are no longer saying "Now available in HDvD and BlueRay"
trancemix04
2nd February 2007, 03:56
Thanks for the program Muslix64,
I had a whole lot more to say but i ended up erasing it all by accident by copying and pasting over it. I would just like to know if you can use tools like DVD-SHRINK,DVDDECRYPTER anydvd, and main commercial GUI programs like DVD-X-Copy, and DVD-Cloner to enhance BackupHDDVD.
Me and my father have been in the DVD scene for the past 3-4 years and i have to say that despite all the protections being introduced (expecially on DISNEY DVD's) its very easy to make a BACKUP COPY of a DVD today. THEREFORE i wanted to put my interest in something more complicated. By looking at the "changelogs" of these programs i find very interesting information that could possibly be used towards the development of BackupHDDVD.
If you would look at these dvd programs and keep adding special options like dvd-shrink has, where its able to seperate the MAIN video from the special features and seperate the Surround Sound channels maybe making it small enouph to fit on a Dual Layer, OR 2.
And to show my appreciation i have uploaded Muslix64's ORIGINAL video on youtube HERE.http://www.youtube.com/watch?v=I7wrbtfK-tU&mode=user&search=
MY YOUTUBE NAME is trancemix07 in case the link doesnt work....
I am trying to upload the file so everyone can download it, because after reading all these post's YOU really do have the need for "proof" if you will". I will try to upload it to rapidshare, or sendspace in the days to come. It comes as an .ASF or .WMV but the >asf will fit onto a AIPTEK DV5900 and playback on its screen decently (if you rename it IMG0001, IMG0002, ETC.), and also it doesn't have that annoying Boilsoft watermark on it!
AND HERE IT IS (DONT OVERFLOW THE WEBSITE and only 1 DOWNLOAD for EACH PERSON)
http://www.sendspace.com/file/lwm6wz
MIRROR LOCATION HERE
http://rapidshare.com/files/14495738/Replay_Screencast_2007-01-20-22.asf
Galileo2000
2nd February 2007, 07:42
Nice, thank you.
Now, let's try to do something useful for the project in terms of:
- coding;
-testing;
-submitting new keys,
-coming out with the ideas for the future actions if/when players keys are revoked.
Most of us have seen the video quite a few times, just to let you know.
K40
2nd February 2007, 08:46
Can someone discuss a possible way how to search for
already known VUK's in newer Software players?
laserfan
2nd February 2007, 15:50
Zutton had wondered how many people would really wanna back-up their HD movies:
true zutton, but you could convert the discs into x264 codec, say about 15gb. or even a 720p x264 and fit it on 1 dvdr. we wont be getting cheap hd writers or media for 18+ months so no point even thinking about that!If there has been discussion of converting HD-DVDs to other formats I missed it. In particular I wonder: CAN these programs be converted to other formats e.g. Xvid?
I honestly don't know if I need/want/care to back-up my HD-DVD discs, but some programs e.g. TV shows merit conversion to be playable on my networked media players (some of which are SD of course).
solar eclipse
2nd February 2007, 16:53
Will BackupHDDVD or BackupBluRay work on Linux or OS X since it is written in Java? I don't have any HDDVD or BluRay drives so I can't test this myself.
evdberg
2nd February 2007, 16:58
The Java version should work perfectly fine on OS-X, the real problem is reading the HD-DVD disks. Although OS-X is supposed to read UDF 2.5, it won't recognize a HD-DVD when I insert it in my Xbox 360 drive. Homebrew HD-DVD disks are mounted without any problem and even used to playback in Apple DVD player. However, nowadays that does not work anymore, so my guess is that some update removed this feature, most likely because Apple in public commited to BluRay.
Oleg_Jdev
2nd February 2007, 17:07
Will BackupHDDVD or BackupBluRay work on Linux or OS X since it is written in Java? I don't have any HDDVD or BluRay drives so I can't test this myself.
Java version works under Linux fine.
But it is do not rebuilting menu. Zotty's aca_decrypter works only under Windows. (Or it can be recompiled under Linux).
And I do not know of players on Linux, which will be read HDDVD disk.
solar eclipse
2nd February 2007, 17:07
Thanks for your fast responses.
Hopefully VLC or MPlayer are updated soon to play HDDVD and BluRay discs.
Oleg_Jdev
2nd February 2007, 18:43
Thanks for your fast responses.
Hopefully VLC or MPlayer are updated soon to play HDDVD and BluRay discs.
I am not sure.
They must obtain a licence to play these disks.
May be this players will be able to play decrypted content.
Gusar
2nd February 2007, 19:46
I am not sure.
They must obtain a licence to play these disks.
May be this players will be able to play decrypted content.
Of course decrypted content, do you really believe that we will get an official hd-dvd player for linux? We don't even have one for normal dvds. The biggest problem to get anything regarding hd-dvd working on linux right now is the lack of a UDF2.5 driver.
However speaking of linux and hd-dvd...
http://img296.imageshack.us/img296/1452/linuxhddvdud2.th.jpg (http://img296.imageshack.us/my.php?image=linuxhddvdud2.jpg)
;)
He-Man
2nd February 2007, 20:53
If there has been discussion of converting HD-DVDs to other formats I missed it. In particular I wonder: CAN these programs be converted to other formats e.g. Xvid?
Read this topic: http://forum.doom9.org/showthread.php?t=120652
awhitehead
3rd February 2007, 03:46
Of course decrypted content, do you really believe that we will get an official hd-dvd player for linux? We don't even have one for normal dvds. The biggest problem to get anything regarding hd-dvd working on linux right now is the lack of a UDF2.5 driver.
However speaking of linux and hd-dvd...
http://img296.imageshack.us/img296/1452/linuxhddvdud2.th.jpg (http://img296.imageshack.us/my.php?image=linuxhddvdud2.jpg)
;)
VC-1 decoder have been implemented in latest versions of ffmpeg. H.264 support was in place already. Ian Caulfield have been busy working on getting HD-DVD support (EVO demux, VC1, E-AC3 support, etc) Since mplayer, vlc, etc are all based on ffmpeg, we will see gradual propogation of support for unencrypted HD-DVD and Blu-Ray media in free players, as these players synchronize their versions of ffmpeg with the upstream version.
If you are interested in finding out what the current state of ffmpeg is check out ffmpeg mailing list (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/thread.html ), and search for 'HD DVD", "EVO" or any post by Ian.
BackupHDDVD (and BackupBluRay) both 'run' under MacOSX 10.4, however I've not verified that they can actually decrypt anything.
This weekend I am planning to buy an Xbox HD-DVD, and give it a whirl under MacOS X 10.5 beta (We are an Apple developer, and since Apple announced support for Blu-Ray, I'd imagine that there is a UDF 2.5 driver in Leopard), and under NetBSD 4.0.
El Toro
3rd February 2007, 03:54
Hi, have just about read the entire thread and either I missed it and or no posting on the sequence to the fllow thru to download the HD files and how to copy them and burned them, etc. :o
If their such an animal, where is it your help will be greatly appreciated.
blutach
3rd February 2007, 07:59
@El Toro
Perhaps when the software development is more complete, the guidewriters will emerge :)
Regards
El Toro
3rd February 2007, 09:13
Thanks, for your response, that makes sence.
Gusar
3rd February 2007, 11:43
VC-1 decoder have been implemented in latest versions of ffmpeg. H.264 support was in place already. Ian Caulfield have been busy working on getting HD-DVD support (EVO demux, VC1, E-AC3 support, etc) Since mplayer, vlc, etc are all based on ffmpeg, we will see gradual propogation of support for unencrypted HD-DVD and Blu-Ray media in free players, as these players synchronize their versions of ffmpeg with the upstream version.
If you are interested in finding out what the current state of ffmpeg is check out ffmpeg mailing list (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/thread.html ), and search for 'HD DVD", "EVO" or any post by Ian.
BackupHDDVD (and BackupBluRay) both 'run' under MacOSX 10.4, however I've not verified that they can actually decrypt anything.
This weekend I am planning to buy an Xbox HD-DVD, and give it a whirl under MacOS X 10.5 beta (We are an Apple developer, and since Apple announced support for Blu-Ray, I'd imagine that there is a UDF 2.5 driver in Leopard), and under NetBSD 4.0.
My screenshot shows, that it's ALREADY possible to play .evo files with mplayer, because mplayer already supports full .evo demuxing. The only thing that's missing is a E-AC3 decoder, hence the '-nosound' in my commandline. But if the movie contains an AC3 stream (like the commentary track on Serenity), it's fully playable with mplayer.
Other players use ffmpeg's decoders (libavcodec), but not ffmpeg's demuxers (libavformat), so VLC, xine, etc. will have to implement their own .evo demuxing.
Also, if it's not evident from the screenshot, I'm running linux.
xyz987
3rd February 2007, 14:31
Other players use ffmpeg's decoders (libavcodec), but not ffmpeg's demuxers (libavformat), so VLC, xine, etc. will have to implement their own .evo demuxing.
I have played evo files with VLC on Ubuntu Linux 6.06.
v1rtu0s1ty
3rd February 2007, 23:16
My screenshot shows, that it's ALREADY possible to play .evo files with mplayer, because mplayer already supports full .evo demuxing.
2 weeks ago, I was able to try mplayer to play an .evo file. Yes, it does play it and the playback is very smooth. Audio is also very nice. However, the audio is not in sync with the video. Maybe, it was about 6 to 8 seconds delay. I don't know if there was an issue on the sample trailer 1920x1080 .evo file that I downloaded. I don't have xbox hddvd drive to so I can't extract any. If you guys know of another .evo trailer file that I can try, that will tell me that something is still wrong with mplayer's decoder.
Any help will be greatly appreciated!
blutach
3rd February 2007, 23:22
Please direct playback issues to the Software Players forums - this has nothing to do with Decrypting.
Regards
reachnet
4th February 2007, 20:43
Forgive the noob question.
After decryption - does the decrypted file contain any key info at all or is it all stripped by HDDVDBackup ?
In otherwards, could I do a mem dump of the decrypted file and see the keys in the same way that I would before decryption ?
Ishan
4th February 2007, 20:44
there's no aacs left after decryption.
reachnet
4th February 2007, 20:46
there's no aacs left after decryption.
Cheers. :)
KenD00
8th February 2007, 17:08
Hello, i'm following this thread since its beginning because i have almost the same problem as the author of this program (i have a hdcp-capable display but only a 1/2 hdcp-capable gfx-card). I took a closer look at the source, read the aacs-spec and identified some things the program cannot do / do correctly. I also examined the various mods and was quite disappointed that no one seems to address these issues. And because i wanted the menus as well i started developing my own program.
Having gathered some insights about HD-DVD and AACS i want to comment various things i've read in this forum.
NAV-Chain Bug
--------------
Using PowerDVD Ultra 7.2 i have never experienced this bug, maybe it was present in 6.5, but now it's gone (but there are enough other bugs left ;)). Its a pain to see that all? available mods are still using this buxfix. This bugfix is actually "damaging" the NAV_PCKs by modifying correct values!
IME-Bug
--------
This is a bug i can verify. Playing around with the EVOs i figured out that PowerDVD is not able to distinguish between video/audio-streams for main and for sub, it interprets them as one stream! If you patch the StreamIDs of the video-stream for sub and at least the first audio-stream for sub to something else (eg. to Padding stream) PowerDVD plays them back without problem. Again, this is not the sense of a backup and quite unnecessary if you have a backup including menus.
BackupHDDVD
-------------
The program distinguishes only between Nav-Pack and Not-Nav-Pack. This works quite well for most of the pack types found in an EVO, but not for HL_PCKs and ADV_PCKs. If a pack is not a NAV_PCK the program checks the PES_scrambling_control bit. This bit is found in a PES_header_extension, this is present in all streams of an EVO except Padding Stream and Private Stream 2. I havent found any HL_PCKs yet but i found ADV_PCKs. They are a Private Stream 2 with SubstreamID 0x80. The SubstreamID is located at the same position as the PES_header_extension byte containing the PES_scrambling_control bit. Luckily 0x80 doesn't has a 1 at that location so the ADV_PCKs will not get decrypted. In fact, these packs are not encrypted themselves, BUT their content IS. ADV_PCKs contain ARFs like in the ADV_OBJ-Folder, and these ARFs are AACS-protected. On The Bourne Supremacy and King Kong (EUR) i've found all ACAs multiplexed into various EVOs on the disk. Playing back these disks with decrypted ACAs in the ADV_OBJ-Folder and the still encrypted ACAs in the EVOs was not a problem. Looking at the XPLs on the disks i saw that referenced ARFs have an attribute multiplexed which was always false, so i think the multiplexed ARFs are ignored. But in the future it might be possible that this wont be the case.
In contrast, HL_PCKs are encrypted. According to the AACS-Spec, they seem not to have a PES_scrambling control bit. And because they are related to navigation, and everything that is related to navigation is a Private Stream 2, i think these packs belong to a Private Stream 2. Now, depending on its SubstreamID, BackupHDDVD will either identify them as encrypted, decrypt them and change the PES_scrambling_control bit (and in fact changes the SubstreamID!!) or it will copy them encrypted (but leaving the SubstreamID intact). In any way, it cannot handle them properly. I'm quite interested in identifying these packs, they are only found on HD-DVDs with Standard Content. I'm not aware of any available commercial HD-DVD which does contain Standard Content, but i've seen that someone made a trailer of Departed in Standard Content mode. Too bad that it does not contain any HL_PCKs (no Buttons?).
I've attached my PackScanner which scans EVOs for pack types (it can also "blank" the video/audio stream for sub), perhaps someone else has an EVO with HL_PCKs and can scan it and tell me the results.
Another thing BackupHDDVD cannot handle properly are
ILVUs
-----
ILVUs are used for two purposes: multi-angle and Sequence Key Sections. Multi-angle is nothing special and can be decrypted with a Title Key like every other pack. But Sequence Key Sections are different, they require a Sequence Key. Up to now there are no disks using this feature, so this is not an issue right now. And when this is used, someone has to figure out how to get the VVUKs and SKUNs (or the decrypted Sequence Key Table Set) first ;). Then you can decrypt these ILVUs with the Sequence Key like the other packs too. But i think this is not enough, in the spec is written that Sequence Key Sections carry a special mark in the IFO/MAP files, so you might need to patch these files too. Maybe these sections can be converted to multi-angle sections.
:rolleyes:
MattyDwyer
8th February 2007, 19:24
<deleted>all that other stuff that was so wrong</deleted>
You will find that HLI_PACKs are private stream 2, substream 0x8.
Contrary to my previous assertion (in the original version of this post), HLI packs will be left undecrypted by the standard code, although the stream ID will remain correct.
Correct handling requires recognition of the private stream 2 case, then handling of the substream ID by rule if it is 8 because the HLI_PACK has no scrambling control field. For the ADV_PACK the scrambling control is present, but the AACS spec indicates that it may not be used.
In the case of the HLI_PACK, the scrambling bit does not exist, but the bit in the substream ID will not be set in any case.
Momotte
8th February 2007, 20:37
NAV-Chain Bug
--------------
Using PowerDVD Ultra 7.2 i have never experienced this bug, maybe it was present in 6.5, but now it's gone (but there are enough other bugs left ). Its a pain to see that all? available mods are still using this buxfix. This bugfix is actually "damaging" the NAV_PCKs by modifying correct values!
This is something that I am worried about. Up to now, all of the HDDVD I have tried played back properly, but it would be nice if someone released their engine (either the java or c#) without this patch so that we can try it with powerdvd 7.x (which is still buggy because most of the time, the subtitle still show up after the playback has started, one has to go into the menu again to turn them off)...
kad77
11th March 2007, 19:33
So has public work on discussing/fixing the variety of decryption errors in muslix64's original implementation basically stalled?
No posts in a month? Wow.
Ishan
11th March 2007, 20:32
Just check the DumpHD thread.
hajj_3
12th March 2007, 01:14
dont, check the c# by emon instead.
El Toro
12th March 2007, 01:21
Just give me a HD-DVD burner and decreypter and we will all be happy.
Thank U:helpful:
blutach
12th March 2007, 01:24
@kad77 - please search and you will find all sorts of joyous developments.
Regards
Jim@labDV.com
27th March 2007, 10:14
Could you send me the source code (removed from many sites) by mail, I'll host and include in DVDx.
And at SourceForge if I can...
Jim
blutach
27th March 2007, 11:14
Jim,
Please have regard to http://forum.doom9.org/showthread.php?t=121780
Regards
Jim@labDV.com
27th March 2007, 12:02
OK - no problem, I understand.
dirio49
28th March 2007, 03:26
Could you send me the source code (removed from many sites) by mail, I'll host and include in DVDx.
And at SourceForge if I can...
Jim
I know that blutach already answer you, but source code are in the threads, Just search, and you should be able to find it ;)
j10
28th March 2007, 22:26
Hi, this is the mirror for the software:
http://www.backuphddvd.net/
Cheers.
This mirror http://www.backuphddvd.net/ for BackupHDDVD is back.
Also
http://www.backuphddvd.org
http://www.backuphddvd.info
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.