Darksoul71
2nd June 2008, 22:51
Hi all,
even if many of us might deal with HD material right now I
still see a lot of people doing DVD backups.
Most modern DVDs are using corrupted sectors beside
the standard CSS. For SAPs those corrupted sectors
do not cause any harm since the SAP simply plays the
correct sectors.
Older ripping tools (e.g. DVD Decrypter, DVD Shrink)
try scan the complete disk and fail for one or the
other title. AFAIK this is caused by those corrupted
sectors (which have bad CRC checksums).
On Windows most of us might use other tools such as
AnyDVD or Fab DVDDecrypter. With newer title the approach
of "corruption" often changes and thus making the most
recent version of the above named tool not working
(at least that is / was my observation).
On Linux you´ll often find ddrescue being named as
solution for copying corrupted DVDs to HDD. Since
the main purpose of ddrescue is to create images
from corrupted HDDs it seems quite obvious why it
matches perfectly our requirements.
How can a Linux tool help us ?
Well, on Windows Linux tools are often able to run
due to Cygwin (http://www.cygwin.com/).
Roughly speaking Cygwin is some sort of abstraction
layer providing a Linux2windows subsystem. Many
Linux tools have been compiled for Windows use by
using the Cygwin.dll
A windows binary of ddrescue can be grabbed here:
http://ftp.uni-kl.de/pub/windows/cygwin/release/ddrescue/
The required cygwin.dll can be grabbed at:
http://www.cygwin.dll
Try to use the most recent dll. Older versions of Cygwin
sometimes have not the required interfaces for ddrescue.
Since we are using Cygwin as "Linux wrapper" we also
have to use the provided devices for accessing the
CD-ROM instead of "E:\".
The CD-ROM / DVD-ROM has usually one of the following devicenames:
/dev/scd0
/dev/scd1
...
or
/dev/sr0
/dev/sr1
...
For my /dev/scd0 worked perfectly. YMMV
A detailed description of the available devices can be found here:
http://www.cygwin.com/cygwin-ug-net/using-specialnames.html
Now on to work:
The command to create an ISO file from a corrupted DVD could look like this:
ddrescue.exe -n -b 2048 /dev/scd0 C:\MyMovie.iso C:\MyMovie.log
The option -n tells ddrescue not to try to split error areas which
makes perfectly sense since our "error areas" were created intentional.
The option -b specifies the block size which is 2048 bytes for CD/DVD
The result (to my understanding) is a bit-wise of the good sectors on the DVD being still encrypted with CSS.
I think the output name and the log file are self-explainatory ;)
Now the gooooood old DVD Decrypter comes into play. DVD Decrypter is already able to fix certain corruptions in the Mastering structure. As the DVD is already on our HDD DVD Decrypter will not fail to read it (as it happens with newer DVDs).
Let´s now simply decrypt the image and output to another ISO for further preparation:
DVDDecrypter.exe /MODE ISOREAD /SRC "C:\MyMovie.iso" /DEST "C:\MyMovie.decrypted.iso" /START /CLOSE
The resulting ISO should now perfectly be usable for DVDShrink and other tools.
Voilà: In theory we should not require any new vesion of AnyDVD or DVD Fabdecrypter in order to make backups of our DVDs. No matter what crappy corruption, eerrr, new copyright protection they might have.
Of course a simple batch file is not really comfortable but there are really tons of scripting solutions out there to automise the process (e.g. Drag and Drop robot, AutoIt, Autohotkey, Python...just to name a few)
Note: I haven´t tested this with a lot of newer titles but it should work for pretty much any "corruption".
Feel free to try out and post your results here in the thread.
Cheers,
D$
Credits: I´ve taken some informations from this Linux guide for Gentoo:
http://gentoo-wiki.com/HOWTO_Backup_a_DVD
even if many of us might deal with HD material right now I
still see a lot of people doing DVD backups.
Most modern DVDs are using corrupted sectors beside
the standard CSS. For SAPs those corrupted sectors
do not cause any harm since the SAP simply plays the
correct sectors.
Older ripping tools (e.g. DVD Decrypter, DVD Shrink)
try scan the complete disk and fail for one or the
other title. AFAIK this is caused by those corrupted
sectors (which have bad CRC checksums).
On Windows most of us might use other tools such as
AnyDVD or Fab DVDDecrypter. With newer title the approach
of "corruption" often changes and thus making the most
recent version of the above named tool not working
(at least that is / was my observation).
On Linux you´ll often find ddrescue being named as
solution for copying corrupted DVDs to HDD. Since
the main purpose of ddrescue is to create images
from corrupted HDDs it seems quite obvious why it
matches perfectly our requirements.
How can a Linux tool help us ?
Well, on Windows Linux tools are often able to run
due to Cygwin (http://www.cygwin.com/).
Roughly speaking Cygwin is some sort of abstraction
layer providing a Linux2windows subsystem. Many
Linux tools have been compiled for Windows use by
using the Cygwin.dll
A windows binary of ddrescue can be grabbed here:
http://ftp.uni-kl.de/pub/windows/cygwin/release/ddrescue/
The required cygwin.dll can be grabbed at:
http://www.cygwin.dll
Try to use the most recent dll. Older versions of Cygwin
sometimes have not the required interfaces for ddrescue.
Since we are using Cygwin as "Linux wrapper" we also
have to use the provided devices for accessing the
CD-ROM instead of "E:\".
The CD-ROM / DVD-ROM has usually one of the following devicenames:
/dev/scd0
/dev/scd1
...
or
/dev/sr0
/dev/sr1
...
For my /dev/scd0 worked perfectly. YMMV
A detailed description of the available devices can be found here:
http://www.cygwin.com/cygwin-ug-net/using-specialnames.html
Now on to work:
The command to create an ISO file from a corrupted DVD could look like this:
ddrescue.exe -n -b 2048 /dev/scd0 C:\MyMovie.iso C:\MyMovie.log
The option -n tells ddrescue not to try to split error areas which
makes perfectly sense since our "error areas" were created intentional.
The option -b specifies the block size which is 2048 bytes for CD/DVD
The result (to my understanding) is a bit-wise of the good sectors on the DVD being still encrypted with CSS.
I think the output name and the log file are self-explainatory ;)
Now the gooooood old DVD Decrypter comes into play. DVD Decrypter is already able to fix certain corruptions in the Mastering structure. As the DVD is already on our HDD DVD Decrypter will not fail to read it (as it happens with newer DVDs).
Let´s now simply decrypt the image and output to another ISO for further preparation:
DVDDecrypter.exe /MODE ISOREAD /SRC "C:\MyMovie.iso" /DEST "C:\MyMovie.decrypted.iso" /START /CLOSE
The resulting ISO should now perfectly be usable for DVDShrink and other tools.
Voilà: In theory we should not require any new vesion of AnyDVD or DVD Fabdecrypter in order to make backups of our DVDs. No matter what crappy corruption, eerrr, new copyright protection they might have.
Of course a simple batch file is not really comfortable but there are really tons of scripting solutions out there to automise the process (e.g. Drag and Drop robot, AutoIt, Autohotkey, Python...just to name a few)
Note: I haven´t tested this with a lot of newer titles but it should work for pretty much any "corruption".
Feel free to try out and post your results here in the thread.
Cheers,
D$
Credits: I´ve taken some informations from this Linux guide for Gentoo:
http://gentoo-wiki.com/HOWTO_Backup_a_DVD