LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2016, 02:37 PM   #1
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 114

Rep: Reputation: 3
Best way to copy a DVD to an ISO


Hi! I'm trying to copy an old DVD (movie) to an ISO file. I have two questions or thoughts.

1. What is the best way (cli) to copy an optical disc? I'm using (or trying) with readom, but would there be a benefit with using ddrescue (or something else) instead?

2. I can't copy anything with readom or dd (not ddrescue, haven't tried that yet) unless I open the DVD with VLC first. Readom hits a read error which it tries to correct and dd just exits with read error.
I assume that it has to do with CSS or some other DRM protection that VLC loads some library to circumvent. I haven't copied a DVD for a long time, but I haven't previously had any problems when using readom as long as libdvdcss has been installed, but that might be because I used to run Ubuntu, but for the last years I've been using Debian.
I searched on this forum and found a thread that suggested using a script that loaded VLC for a few seconds before starting readom. Would there be a way to load the libdvdcss2 library without starting VLC?

Thanks in advance!
 
Old 06-12-2016, 04:24 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,886

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
DVD Shrink works well for this task but it is a widows application but it runs well in linux with wine. I believe K3b a also has that capability if you have transcode and libdvdcss installed. With K3b you insert the dvd, and go to Tools>Copy Medium and select "Only Create Image" in the window that pops up. That will create an iso file. There is also dvd::rip and k9copy.

I'm not familiar with readom but dd and ddrescue will not work without passing a lot of specialized options to get around some of the drm tricks used to prevent copying of commercial dvds. Copying the dvd contents to a folder and making an iso file from there will also not work because of various drm tricks. K3b, dvd::rip and k9copy are gui front ends for a lot of command line tools so theoretically you should be able to do this using those underlying tools but figuring out the appropriate command switches to get around the drm tricks is the main problem IIRC. I haven't bothered with trying to do this in a long time. Now, I usually just rip the dvd to an mp4 file using Handbrake.
 
1 members found this post helpful.
Old 06-12-2016, 05:09 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
vobcopy - copy and decrypt vob files
mplayer can decrypt and dump the movie as a single file
Avidemux - great application to work on vob files or dump file http://www.avidemux.org/admWiki/doku...ial:dvd_to_avi
 
Old 06-12-2016, 09:36 PM   #4
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 114

Original Poster
Rep: Reputation: 3
Thanks for your answers, but I just want an ISO image of the disc, i.e. no conversion or transcoding. K3b certainly works, but I would preferably like to do it "clean" in terminal.
 
Old 06-12-2016, 09:41 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,534

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
then use "dd" and copy the image off the dvd to the hard drive

Last edited by John VV; 06-12-2016 at 09:42 PM.
 
Old 06-12-2016, 09:50 PM   #6
trafikpolisen
Member
 
Registered: Jun 2008
Posts: 114

Original Poster
Rep: Reputation: 3
Well, dd fails if I haven't opened the DVD with VLC first, that's the problem.
 
Old 06-15-2016, 08:41 PM   #7
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
You didn't post your dd string.

Find your optical drive with one of
Code:
lsblk
cat /proc/sys/dev/cdrom/info
cdrecord -prcap
Make .iso with one of
Code:
dd if=/dev/sr0 of=image.iso bs=2048
Code:
genisoimage -J -r -pad -graft-points /dev/sr0 -o image.iso
Code:
mkisofs -R -J /dev/sr0 -o image.iso
Edit: Corect command string

Last edited by teckk; 06-17-2016 at 09:12 AM.
 
Old 06-16-2016, 08:16 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,270

Rep: Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458Reputation: 3458
For some reason I don't believe you can dd a movie DVD to an iso. The format of the disc may not be readable without libdvdcss. (could be wrong)
 
Old 06-17-2016, 09:10 AM   #9
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222Reputation: 1222
Yes, dd will give you a duplicate of the disk. If you mount that .iso loop you'll have to use a player that uses libdvdcss to play it just like the original disk.

Code:
dd if=/dev/sr0 of=image.iso bs=2048
Code:
mount -o loop image.iso /mount/point
Code:
mplayer -dvd-device /mount/point dvd://
You then have an .iso that you can burn to another optical disk. (has to fit)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: DVD -> VOB -> ISO -> DVD ... or, duplicate DVD5 exact copy demerson3 Linux - Software 21 04-20-2018 11:59 AM
copy protected DVD to ISO file hicks666 Linux - Desktop 13 03-22-2012 04:11 AM
copy iso to dvd elishac Linux - Newbie 8 03-08-2011 05:23 PM
The downloaded ISO torrent will not copy to DVD. Lola Kews Linux - Newbie 16 05-19-2009 10:50 AM
DVD copy question (using an ISO) eallen Linux - Software 4 03-11-2003 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration