49

I have been using Brasero to rip my DVD collection to .iso. However, I've discovered some errors in some of the DVDs through playback e.g. VLC player would just stop playing the iso file when a bad section in playback is met (half-way through a film).

The worst thing is that no errors or warnings were thrown during the ripping process - I could have . Is there a method or application that will monitor DVD/file data integrity and avoid such scenarios in the future?

Anything equivalent to Exact Audio Copier or CDparanoia for DVDs?

  • 3
    I believe EAC and cdparanoia are needed for music CDs because CD-Audio doesn't include the error-correction data in higher-level formats like DVD-Video. It should suffice to just copy the bits directly, as Neojames suggests. – Mechanical snail Dec 19 '12 at 0:21
  • 1
    @Mechanicalsnail That's not correct, the encoding of a CD has functionality like parity, but there is also functionality in a drive to read a CD less accurate which EAC and cdparanoia disable or force the drive to verify the read data to get accurate results. – LiveWireBT Dec 15 '15 at 17:31
  • off topic but cdda2wav can use paranoia and should be preferred – ustick Apr 26 '18 at 10:07

12 Answers 12

58

I think you can use dd to copy disks well. Using

dd if=/dev/cdrom of=image_name.iso

I can confirm it works well with CDs and should work well with DVDs too.

Edit: I just used this to rip a DVD, so I can confirm it works with DVDs too.

  • 4
    Should the DVDs itself be faulty, I can only recommend gddrescue as it will automatically skip over unreadable sectors (the default is to try around thirty times, if I recall correctly, which just takes forever and fails if it does not succeed in reading the disk). – sup Feb 13 '13 at 12:11
  • 9
    That did not work, failed with input/output error, though nothing seems to be wrong with the CD. – mikewhatever Apr 11 '14 at 18:53
  • 5
    Worked for me (for DVD), using: sudo dd if=/dev/sr0 of=image_name.iso – david6 Aug 16 '15 at 1:58
  • 13
    You should really use isoinfo -d -i /dev/cdrom to find out the logical block size (almost always 2048) and the number of blocks ("Volume size is" line) on the volume to pass as arguments to dd. Which makes the dd command look like dd if=/dev/cdrom bs=2048 count=1621535 of=filename.iso. – tgharold Sep 1 '15 at 23:11
  • 6
    If you don't tell dd when to stop copying, it's going to copy the entire disk up to its full size. So the resulting ISO image file is going to be the same size as the media itself, not the size of the data on the media. In other words, if you have a DVD with only 1GB of data on it, your ISO file will be 4.7GB (or more) in size. If you give dd a block size and count as @tgharold mentioned, the resulting ISO file will be only as big as necessary to hold the data on the media. – Dan Moulding Oct 25 '17 at 7:13
18

I haven't found one link that points to what I believe is a correct answer. Most just say DD the cd/dvd. But there is an extra padding at the end of the media that may cause errors.

I should also point out this will work with most, but I ran into issues with Sony CSS/CPPM Protection, which I used another program to achieve the desired results.

Any, i've found the following to work great for me.. :

  1. get the info of the CD/DVD you're copying. I haven't tried this with an audio CD because I just rip them to flac's , but the following is a test on a DVD..
[root@sisyphus ~]# isoinfo -d -i /dev/sr1 | grep -i -E 'block size|volume size'
Logical block size is: 2048
Volume size is: 2264834
[root@sisyphus ~]#

We use the Logical block size for the BS= variable and Volume size for the COUNT=

  1. use DD to copy the DVD to an iso:
[root@sisyphus ~]# dd if=/dev/sr1 of=/mnt/incoming/test.iso bs=2048 count=2264834
2264834+0 records in
2264834+0 records out
4638380032 bytes (4.6 GB, 4.3 GiB) copied, 373.405 s, 12.4 MB/s
[root@sisyphus ~]#
  1. Test the image against the actual DVD..

[root@sisyphus ~]# md5sum /mnt/incoming/test.iso 
d3a2cdd58b8c9ade05786526a4a8eae2  /mnt/incoming/test.iso

[root@sisyphus ~]# md5sum /dev/sr1
d3a2cdd58b8c9ade05786526a4a8eae2  /dev/sr1

[root@sisyphus ~]#

Hope this helps someone looking for a complete answer.

  • isosize -x /dev/sr0 works also for getting the info – Tony Dec 31 '18 at 16:17
13

You have several Options, all work well in Gnome

AcidRip Install acidrip is an automated front end for MPlayer/Mencoder (ripping and encoding DVD tool using mplayer and mencoder) written in Perl, using Gtk2::Perl for a graphical interface. Makes encoding a DVD just one button click!

sudo apt-get install acidrip

dvd-rip Install dvdrip is a full featured DVD copy program written in Perl i.e. fron end for transcode and ffmpeg. It provides an easy to use but feature-rich Gtk+ GUI to control almost all aspects of the ripping and transcoding process.

It uses the widely known video processing swissknife transcode and many other Open Source tools. dvd::rip itself is licensed under GPL / Perl Artistic License. You can install dvd::rip as follows under Debian / Ubuntu Linux:

sudo apt-get install dvdrip

K9copy Install k9copy is a KDE DVD Backup tool. It allows the copy of a DVD9 to a DVD5. It is also known as a Linux DVD shrink. It supports the following features: The video stream is compressed to make the video fiton a 4.7GB recordable DVD. DVD Burning. Creation of ISO images. Choosing which audio and subtitle tracks are copied. Title preview (video only). The ability to preserve the original menus.

sudo apt-get install k9copy

  • 7
    None of these will rip to an ISO as the original question asked. – HDave Jul 20 '12 at 5:11
  • 1
    k9copy does, but it's no longer available in the Ubuntu repository. – Joey Adams Dec 28 '13 at 0:43
  • Neither is acidrip, for that matter. :-( – tudor Jan 6 '15 at 4:07
  • @JoeyAdams: K9Copy should be available in the Ubuntu multiverse repository, see this help page. – basic6 Jul 6 '15 at 7:40
7

Use dvdbackup.

Here's how to rip the entire DVD:

dvdbackup -i /dev/dvd -o ~ -M

That puts the DVD contents into a new subdirectory of your home directory (~). To then generate an .iso, use this command:

mkisofs -dvd-video -udf -o ~/dvd.iso ~/[movie_name]

If you want, you can alternatively only rip the main feature (see archlinux or sourceforge documentation). If you want a video file (e.g. .m4v) instead of an .iso, use handbrake after ripping the entire DVD (don't forget to install libdvdcss!).

There are ways to reduce the number of steps, but this seems to be more robust than alternatives.

I've been especially happy with the archlinux documentation.

P.S. I suspect that most of the answers were excellent at the time of writing, but I found them to be unhelpful at the time I'm writing this, so I thought I'd write an answer that works for me in case others are finding this question around the same time that I did.

3

Brasero will accurately copy DVDs. You must first install 'libdvdcss2' from the VLC website. This allows Brasero to defeat the 'CSS' (Content Scramble System) which is used in commercial DVDs to prevent unauthorized copying.

  • 3
    This may be a stupid question, but can you copy a DVD without decrypting? Essentially making a raw copy of the encrypted disc where the copy is also encrypted? – thomasrutter Jul 21 '16 at 5:43
2
mkisofs -r -o file.iso /dev/cdrom

This is just one example, feel free to check mkisofs --help to check all the other options.

  • 1
    This command does not works for me. It returns: I: -input-charset not specified, using utf-8 (detected in locale settings) Total translation table size: 0 Total rockridge attributes bytes: 264 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 0 175 extents written (0 MB) – PHP Learner Feb 12 '15 at 17:26
  • maybe adding -l to the command can help... – DJCrashdummy Jul 6 '18 at 20:55
2

I add SimpleBurn (http://simpleburn.tuxfamily.org/ ), a minimalistic free Linux application enabling you to make ISO file from DVD disc easily and quickly. Of course, you will have to install libdvdcss2 in your Linux if you want to extract media content from the copy-protected DVD discs. For more DVD/Blu-ray digitizing tools and knowledge, visit my site at: http://dvd0101.com.

1

I used to use dd to rip my DVDs in the past, it required libdvdcss to work though.

sudo apt-get install libdvd-pkg
1

D1g1ta1's answer about using bs=# count=# at the end of the dd command successfully created 4.6GB .iso files of my 4.6GB DVD (of a Qubes OS 4.0 .iso). However upon calculating the sha256 hash, I found that the contents for some reason turned out different.

K3b is a GUI program. I found it successfully creates .iso files and the hashes calculated of the resulting .iso files are correct!

The Brasero program also works and the resulting .iso files are also correct.

I do not know of a command line utility that 'just works'.

EDIT: Using 'dd if=discDrive of=disc.iso', without parameters, works normally and produces and correct hash values. Before, my drive was acting up and it was producing the wrong hash value; in addition, before, my disc drive was not creating the full 4.6GB iso. I think my drive is just broken. So dd is indeed a command line utility that 'just works'. Brasero and K3b and suitable GUI alternatives.

  • We don't put questions in answers. – Stephen Rauch Jun 16 '18 at 18:23
  • I didn't know that. Thanks for letting me know. – user138072 Jun 17 '18 at 15:07
1

Try using ddrescue. I was able to make a bitwise copy of my DVD with the following command with success from a cygwin command prompt:

ddrescue --no-scrape /dev/scd0 backup.iso

A similar command can be used on other variations of *inx. Of course you would have to download ddrescue for your flavour of *inx using the appropriate install app. See your *inx help pages for details.

0
mkisofs -pad -J -R -oDVD.iso -graft-points "/AUDIO_TS=/media/sr0/AUDIO_TS" "/VIDEO_TS=/media/sr0/VIDEO_TS"

mount -t iso9660 -o loop,ro DVD.iso /mnt

growisofs -dvd-compat -Z /dev/dvd=DVD.iso -speed=2
  • 12
    You may want to add exactly what this does to help the original poster in order to improve your answer. – Oyibo Sep 29 '12 at 14:33
0

I have extracted to an .iso file with k3b (KDE based tool)

K3b Main Menu -> Tools -> Copy Medium

On the left, check "Create image" if not already checked and uncheck "Remove image" if it checked.

Click on the Image tab and pick a path for "Write image file to:"

E.g. "/home/me/tmp/myDvd.iso"

Click "Start"

Then just cancel the copy after the file has been extracted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.