Backing up Disney DVDs

Many of you know that I had a son about 6 months ago now. What you may not know is that my wife decided to quit her job and start a home day­care so she could be at home with our son. We all know how hard kids can be on DVDs and the like, so its impor­tant to be able to back them up. I am not a fan of the encryp­tion or the new copy pro­tec­tions that have been put in place (ARc­cOS, Rip­Guard). These copy pro­tec­tions intro­duce bad sec­tors in the DVD, and set top play­ers are sup­posed to just ignore them. The prob­lem is not all play­ers fol­low the rules. I’ve got a few cheapo play­ers that just wont play many newer titles because of this copy protection.

Now that there is a swarm of chil­dren in the house I have sev­eral moti­va­tions to back­ing up my DVDs.

1) I want the kids to be able to use the cheap DVD play­ers. If some­thing bad hap­pens no big deal.

2) I want the kids to use copies of the orig­i­nal DVDs instead of the orig­i­nal. Again burn­ing a new dvd is much cheaper than buy­ing a new one.

3) My MythTV fron­tends can stream ISOs and thats more con­ve­nient, I never have to get up and put a DVD in the player.

So a bit of research and some trial and error I believe I have come up with a pretty easy process.

Pack­ages needed:

  • Gnu ddres­cue
  • dvd­backup
  • libdvdcss2
  • vlc
  • mkisofs

The process:

  1. ddres­cue –n –b 2048 /dev/dvd output.iso
  2. dvd­backup –M –i output.iso –o dvd_structure
  3. mkisofs –dvd-video –o clean_dvd.iso dvd_structure

Step 1 copys the DVD to disk block by block but any bad sec­tors found zero data is filled in. At this point you are left with a DVD iso that has the copy pro­tec­tion removed but the encryp­tion is still intact. Step 2 extract the con­tents to a direc­tory. This sec­ond step leaves you with the struc­ture of a dvd with­out the encryp­tion. I want to pre­serve every­thing about the orig­i­nal DVD (except the copy pro­tec­tion and encryp­tion) so I used the mir­ror option. This leaves me with all the fea­tures and orig­i­nal menus. Step 3 take the DVD struc­ture and pack it up into a nice ISO.

A few things to note:

I took no steps to make the DVD fit on a sin­gle layer DVD (4.something GB). If you wanted to do that you should requan­tize after step 2. To ver­ify that the final ISO did indeed have the encryp­tion removed I un-installed libdvdcss2 and attempted to play the first ISO with VLC. VLC failed to prop­erly play the ISO with only the copy pro­tec­tion removed but suc­ceeded in play­ing the final ISO. After test­ing that I rein­stalled libdvdcss2.

Process tested on Dis­ney Pixar Cars.
I hope you find this helpful.

22 Comments

  • Dusty Wilson Ubuntu Firefox 3.5.7 wrote:

    Awe­some. Thanks Nick! I was using k9copy, but I like this way much better.

  • Check­out wodim to burn Isos from cli.

  • Horacio Reséndiz Ubuntu Firefox 3.6.8 wrote:

    Use­ful, use­ful, use­ful!!!!
    I’ve been hav­ing a lot of prob­lems with these DVDs. I had always done back-ups using the com­mand ‘dd’ and had no prob­lems, except for Dis­ney DVDs

    Now I under­stand why it’s return­ing an error. Will try it right away. Thanks!!!

  • Hope it works out for you :)

  • Horacio Reséndiz Ubuntu Firefox 3.6.8 wrote:

    I’m post­ing back my progress.
    Unfor­tu­nately this method didn’t work for me.
    I tried ‘ddres­cue’ , ‘dd_rescue’ , ‘vob­copy’ and
    I even used the options: conv=notrunc,noerror,sync
    which cor­re­spond to the com­mand ‘dd’
    ..
    ..
    I am just talk­ing about new Dis­ney DVDs
    What hap­pens is that every dif­fer­ent com­mand either returns an I/O error, or takes a lot of time to be read­ing and writ­ting ‘zeroes’ where errors are found.
    ..
    ..
    I might need to try it dur­ing the night and check in the morn­ing if it fin­ishes.
    ..
    ..
    I used “k9copy” to just cre­ate an ISO from the main title (movie, that is with­out the DVD Menu. I still have good qual­ity though)
    ..
    ..
    I will post again if it works or if I find a workaround. Any sug­ges­tions will be appre­ci­ated. Thanks!

  • Horacio Reséndiz Ubuntu Firefox 3.6.8 wrote:

    Update:
    ..
    ..
    Finally got a work-around to copy new Dis­ney DVDs. Actu­ally I came up with a dif­fer­ent way to do it
    ..
    ..
    I always try to cre­ate an ISO image from the DVDs. I must men­tion, the Dis­ney DVD that was giv­ing me headaches was ‘Alice in Won­der­land’ (which I only could cre­ate a suc­cess­fully image with “DVD­Fab”).
    ..
    ..
    For all oth­ers (or most of them) you can try using ‘dd_rescue’ on Linux. In order to be able to backup the DVD, you must first play it (I did it on ‘VLC’), then hit pause. Now, you can enter on the ter­mi­nal the fol­low­ing com­mand
    ..
    ..
    dd_rescue –b 2048 –l OptionalLogFile.log –Afv /dev/sr0 /yourfolder/yourimage.iso
    ..
    ..
    If it doesn’t work then you need to use for a lit­tle bit ‘Win­dows’, which I hate to get back, but this time it was very help­ful. Down­load ‘DVD­Fab’, you need to buy it or find an acti­vated edi­tion on your own. Every­thing else is very easy, you can choose where to save the image, etc.. BTW DVDFab’s ver­sion that is able to backup ‘Alice in Won­der­land’ is 7.0.6.0. Appar­ently there a new Copy­right code/method Dis­ney is using in their DVDs. Prob­a­bly it is just this movie. I don’t know yet the details, but it worked for me. Hope it works for you!

  • Reinhard Linux Firefox 3.6.9 wrote:

    Thanks for this blog post! To me it seems to be a robust pro­ce­dure to get around copy pro­tec­tion in the form of delib­er­ately bro­ken sectors.

    I did have a prob­lem though — ddres­cue took very long and the DVD drive made noises (prob­a­bly repo­si­tion­ing the head). I left it read­ing for over 20 hours on a dual-layer DVD and it still hadn’t quite fin­ished (was at 7.8 GB when I had to inter­rupt it for other reasons).

    I found out that even though ddres­cue with the –n option doesn’t try to re-read bro­ken sec­tors, the DVD drive itself (or dri­ver?) did. Inves­ti­gat­ing the device mode pages with sdparm, I came up with the fol­low­ing to make it stop try­ing to read those blocks over and over again:

    sdparm –set=RRC=0 /dev/sr0

    As I under­stand it the names of the fields are stan­dard­ized, but in any case “sdparm –long –long –all /dev/sr0” will show all pages and fields. Inter­est­ingly enough my read-only DVD drive showed no change­able fields while the DVD-RW drive allowed me to set RRC (Read retry count), even though those dri­ves are of the same brand and bought at the same time.

  • dvd­backup seg­faults on the Thor DVD. VLC and dragon player both crash when attempt­ing to play the disc. Plays in a stand-alone dvd player.

    I may have pur­chased my last DVD.

  • monga Linux Firefox 7.0.1 wrote:

    DVDFAB 8.1.2.4 no prob­lem
    I think any­thing after 8.1.1.9 han­dles Thor.

  • @monga, this post and dis­cus­sion cen­ters around back­ing up the dvds from Linux. afaik dvd­fab is a win­dows pro­gram. I will leave the post in case it helps some­one but please try to keep cor­rect context.

  • Conrad Linux Google Chrome 15.0.874.121 wrote:

    Thanks for this! I’m in a sim­i­lar boat with a new baby, 6 months now. This should help pro­tect the old collection.

    I finally took the plunge to make a real front-end. Decided to go with XBMC, not MythTV. Although, I already have a Myth Back­end setup if I get some free-time. Next time you’re in the mar­ket, check out the Zotac boxes with Nvidia Ion. So far, it has been a dream as a front-end and for under $300.

  • I hope it works out for you. I have found sev­eral titles that I had prob­lems with. dvd­backup couldn’t read the TOC cor­rectly. This still seems to work for most movies, I haven’t taken the time to fig­ure out some of those discs.

    I have actu­ally switched to a box­ee­box and dont have any more myth boxes. The zotac looks cool I might con­sider run­ning xbmc on that for another room.

  • Robert Linux Opera 9.80 wrote:

    It worked for me as well. Thank you for pub­lish­ing that!

  • Awe­some stuff! Was using Brasero to copy to ISO file and then Hand­brake to rip but was stuck with the struc­ture protection…

    Cre­ated the .iso using the ddres­cue com­mand above, tried play­ing it using VLC to check and then used Hand­brake to rip to H264 MKVs, worked very well indeed!

    Oh yes, see the Title num­ber while play­ing in VLC to pick up the right Title to rip in Hand­brake as the Dis­ney DVDs are lit­tered with fake titles…

    Might help men­tion that ddres­cue does take some time to work…

  • Craig Linux Firefox 10.0.2 wrote:

    I’m hav­ing a real prob­lem back­ing up the movie Hugo (not dis­ney, Paramount).Using ddres­cue went fine and I can play the movie mount­ing the output.iso (via loop option) in VlC but using vob­copy or dvd­backup on the iso image causes a huge prob­lem because the iso image is report­ing there to be 69GB worth of data even though the iso image is only 6.7GB. Look­ing at the mounted iso folder reveals there to be 66 VOBs at 1024Mb.Why is it report­ing these erro­neous file sizes. What can I do about it? I usu­ally back my dvds up using vob­copy and mkisofs and haven’t had prob­lems till this one. If I just write the output.iso in k3b it makes a faulty disk. well one that won’t play in my dvd player.It plays but it has skips and rub­bish on the screen. The orig­i­nal plays fine but I need a backup. Any­body know what the deal is and how to fix my output.iso

  • Craig Linux Firefox 10.0.2 wrote:

    It should be obvi­ous, the rea­son dvd­backup didn’t work is that it cre­ates a folder with 66+ files using up 69GB of my disk and tak­ing a while doing it. I didn’t have that much space and mkisofs is only going to make a 69GB iso file. plus it reports errors dur­ing its oper­a­tion (please send bug report: No VTS_TMAPT) I tried using k9copy but it copies all the vobs too using up all my disk space. And k3b won’t copy the medium report­ing a disk read error. any ideas?

  • I don’t but please update us when you find an answer.

  • Jimmy Linux Google Chrome 19.0.1084.52 wrote:

    It hadn’t occured to me to use ddres­cue — Thanks! Worked for me.

    If you still end up with an unplayable disk, there may be (inten­tion­ally) cor­rupt data right at the start. Instead of dvd­copy, you might try loop mount­ing the ISO and using ‘vob­copy –i /path/to/mounted/iso –m –b 4m’ to skip the first 4MB of data. This, along with updat­ing to the very lat­est lib­d­v­dread, solved all my problems.

  • Jimmy Linux Google Chrome 19.0.1084.52 wrote:

    BTW the “please send bug report: No VTS_TMAPT” prob­lem is cured with lib­d­v­dread 4.2.0.

  • Enjinn Ubuntu Google Chrome 18.0.1025.168 wrote:

    Thanks for cre­at­ing this really use­ful blog. I’ve been try­ing to back up my son’s copy of Cars 2 for weeks (on and off) to MPG so we can watch it through out of our DLNA server. (stops lit­tle hands from going near my Blu-ray player and the orig­i­nal disks etc)

    I tried to fol­low the above in a num­ber of dif­fer­ent ways but alas to no avail. Kept being defeated by the dreaded 99 titles spoof­ing. Ran out of disk space the first time I tried to mir­ror using DVDBACKUP!

    After trawl­ing the web I’d pretty much given up hope when I thought I’d just try Hand­Brake­CLI straight from the orig­i­nal disk. Unbe­liev­ably it pulled the tar­get title (41 on my Cars2) straight to MP4!! Just thought I’d men­tion this in case it’s use­ful to any­one else who’s just look­ing to pull the video (and audio) off the disc rather than mak­ing a com­plete copy of the disk.

    Sys­tem spec:

    Ubuntu 12.04 (32bit)
    Hand­Brake­CLI v0.9.8
    libdvdread4 v4.2.0
    libdvdcss2 v1.2.12

    Not sure there’s much else required as Hand­brake did this straight from the orig­i­nal disk. Com­mand here:

    Hand­Brake­CLI –i /dev/sr0 –title 41 –o ~/cars2/cars_2.mp4 –for­mat mp4

    Out­put (-o) was into my home folder (~) and a sub­folder cars2. I then transcoded the MP4 into MPG for play­ing through my DLNA server. Only prob­lem was the aspect ratio of the MPG is 4:3 instead of 16:9. Odd as I used ffm­peg and spec­i­fied this aspect ratio as I nor­mally do.

  • Someone Somewhere Linux Google Chrome 23.0.1271.97 wrote:

    This site gave me some great point­ers for back­ing up our Brave dvd.

    using vob­copy this was suc­cess­ful for out­putting mymovie.vob

    vob­copy –o ~/ –l –t mymovie –b 8m –n 6 –f

  • This is the most bril­liant repur­pos­ing of data recov­ery tools I’ve ever seen, in addi­tion to finally explain­ing how/why these cer­tain DVDs will not back up.

    Thanks!

Leave a Reply

Your email is never shared.Required fields are marked *

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha