View Full Version : iso -> decrypted iso command line tool
drostin77
13th September 2009, 23:53
I think this is a stupid (I should have found the answer on my own) question, but I can't find exactly what I'm looking for. Basically I have a mencoder script that I love, it can grab any of my dvds older than 2-3 years, it can handle multiple episodes, it can do multiple subs, etc. But somtimes it just fails. I can then rip the dvds it fails on to isos with anydvd's rip to image feature on my windows box, but thats really inconvenient, I would much rather just have the script convert dvds to decrypted isos on its own, then rip. So my question at its simplest is:
Is there a command line program to go from dvd to decrypted iso that more or less always works (like anydvd's tool)? I don't want the program to encode/shrink/whatever, just decrypt.
I think dvddecrypter might be able to do this, but I've read multiple places that with dvddecrypter one should rip to ifo, and I want to rip to ISO. Also I don't know if the cli works from linux.
Dinominant
14th September 2009, 03:46
$ filestat /dev/dvdrom
$ dd if=/dev/dvdrom of=dvd.iso bs=2048 conv=noerror,sync
The first command unlocks the drive. The second dumps everything to an ISO. I've tested my entire DVD collection and only found 1 disc that didn't decrypt properly (Farscape Season 2 Disc 10 - In fact, I couldn't even play it with latest versions of vlc and libdvdcss).
nm
14th September 2009, 10:21
I think this is a stupid (I should have found the answer on my own) question, but I can't find exactly what I'm looking for. Basically I have a mencoder script that I love, it can grab any of my dvds older than 2-3 years, it can handle multiple episodes, it can do multiple subs, etc. But somtimes it just fails.
Try MEncoder's dvdnav support: mencoder dvdnav://TITLEID. That should work for DVDs that have ARccOS or RipGuard protection.
Is there a command line program to go from dvd to decrypted iso that more or less always works (like anydvd's tool)? I don't want the program to encode/shrink/whatever, just decrypt.
There are no such native tools to my knowledge. Vobcopy can create a decrypted image, but it does not work around ARccOS-type schemes. DVD Decrypter doesn't either. Some other Windows-based tools can be run with Wine, but I don't know if any has a command-line interface.
Dinominant's dd command should work on ARccOS-protected discs, but it doesn't decrypt them and you need to use dvdnav for playback. So, you can use that for dumping the disc to hard drive and then use MEncoder's dvdnav support when re-encoding.
drostin77
15th September 2009, 02:35
$ filestat /dev/dvdrom
$ dd if=/dev/dvdrom of=dvd.iso bs=2048 conv=noerror,sync
The first command unlocks the drive. The second dumps everything to an ISO. I've tested my entire DVD collection and only found 1 disc that didn't decrypt properly (Farscape Season 2 Disc 10 - In fact, I couldn't even play it with latest versions of vlc and libdvdcss).
Hahahah yes, I know what those commands do, and, if indeed they take care of protection thats hilarious :) I'll give that a shot. Out of curiosity what level is the protection at, I assumed it was embedded in video files, but if dd works that can't be right...
@nm
dvdnav, eh? that would be quite an easy change, I'll give that a shot as well :)
nm
15th September 2009, 11:05
Hahahah yes, I know what those commands do, and, if indeed they take care of protection thats hilarious :) I'll give that a shot. Out of curiosity what level is the protection at, I assumed it was embedded in video files, but if dd works that can't be right...
As I said, dd doesn't remove any protection, it just reads the disc and tries to ignore CRC errors from "corrupted" sectors. You still need to use libdvdnav or some tool that supports DVD navigation to skip the bad spots on playback. Otherwise there will be decoding errors and corrupted video/audio just as in the original disk.
drostin77
15th September 2009, 11:49
Thats what I get for trying to speed-read replies at work :P gotcha, thx for the correction.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.