Creating .iso from DVD problem ( looking for alternatives / suggestions )


 
Thread Tools Search this Thread
Operating Systems Linux Creating .iso from DVD problem ( looking for alternatives / suggestions )
# 1  
Old 03-10-2012
Creating .iso from DVD problem ( looking for alternatives / suggestions )

I want to be able to copy DVD disks directly to an ISO file from the command line (via bash script).

I have such a script that I have refined over time that works quite well about 80% of the time.

About two DVD's out of ten will not burn to an iso file, and the script hangs on one of the commands.

A larger percentage shows some sort of error at the beginning, indicating a problem, but eventually it
does create the .iso file.

---
For these DVD's I really need an alternative, hopefully something I can run on the command line.
I am not looking for a GUI replacement where I would be required to click. I am looking to make an
exact and complete image of the DVD for backup purposes.

The problem does not lie with the DVD but with the software used to create the .iso file. I have
tried getting another DVD (exact one), and it hangs in the exact same place, I have tried up to
four DVD's at one time returning each one to the store where I purchased it saying that it was "not playable".

In truth it was playable in a DVD player, but I could not rip it to a .iso file.

What are my alternatives here? Is there anyone out there maintaining these utilities that could fix the bugs?

I have even tried putting the same DVD into a windows box and having HandBrake read it, but even HandBrake
cannot read the DVD.

They are clearly bugs and when I search on the error messages they have been reported many, many, many, many
times and the utilities remain outdated.

---
These are the commands I am using in my script (if there are better/updated utils or even alternatives that would give me the same output, please advise):

To get the DVD title (that I use later in as a variable to mkisofs):
Code:
TITLE="$lsdvd /dev/sr0 | head -1 | awk '{print $3}')"

The above command works most of the time. On older DVD's it consistently returns "DVD_VIDEO" or sometimes nothing at all, but most of the time it returns something meaningful.

To mount the DVD:
Code:
mount /mnt/dvd0

This is the entry in my fstab file:
Code:
/dev/sr0 /mnt/dvd0 iso9660 noauto,user,ro,unhide 0 0

(any suggestions with the above entry?)

To copy the DVD onto disk:
Code:
vobcopy -m -l -i /dev/sr0

This creates a directory with the name of the video onto my hard disk drive. Ideally would like to go straight to .iso if that would be
quicker, but not sure how to skip this step, if anyone is aware of alternatives, please let me know.

I then unmount the DVD
Code:
umount /dev/sr0

I then eject the DVD (but many times the tray will not stay open - I want it to stick open, but it retracts and closes (any ideas here?)
Code:
eject -r /dev/sr0

The last step is to create the .iso file from the folder that was created, then I delete the folder
Code:
mkisofs -quiet -dvd-video -V"${TITLE}" -o ${TITLE}.iso ${TITLE}

After this command completes, I usually have my .iso ( 8 out of 10 times)
Code:
rm -rf $TITLE

---
Errors:

Much of the time, the script simply starts creating the directory on disk and then hangs. Sometimes my machine will reboot (using the latest version of CentOS).

The last thing I see in the terminal window is something like:
454MB of 1024MB written ( 44.4% ) and it will sit there overnight and go no further.

I have purchased an advanced DVD cleaner, purchased the DVD new (multiple times) and get the same message each and every time with every DVD.

The above is the more common case.

Less common is an error message from libdvdread:
Code:
*** libdvdread: CHECK_VALUE failed in /builddir/build/BUILD/libdvdread-4.1.4/src/ifo_read.c:1147 ***
	*** for data[i] + sizeof(ptt_info_t) <= vts_ptt_srpt->last_byte + 1 + 4 ***

It repeats the above over and over and then craps out.

any ideas on a replacement for 'libdvdread' that is being maintained?

Sometimes I get this:
Code:
libdvdread: Using libdvdcss version 1.2.11 for DVD access
	Please send bug report - no VTS_TMAPT ??

This message ( "Please send bug report...") gets repeated over and over and has been logged countless times with no remedy.

I have thought of learning how to program to pick up this project and fix the issue. It would be pointless to report the problem at this point.
At this point I am looking for an alternative.

I get various errors from time to time, but the offender seems to be 'libdvdread' and it's libraries. I have updated my system and am on the latest/greatest rpm's specifically
for my Linux version.

If there are utilities that I can run from the command line as a libdvdread alternative, or you have any suggestions, please advise.

Last edited by Scott; 03-10-2012 at 07:07 AM.. Reason: Please use code tags
# 2  
Old 03-10-2012
If you require ISO's only (the copy part), considering using dd
Code:
dd if=/dev/sr0 of=/folder/dvd.iso

# 3  
Old 03-10-2012
That does not work. I tried that before posting. Do you have any other ideas?
# 4  
Old 03-10-2012
I would have thought that an entry of
Code:
/dev/sr0 /mnt/dvd0 auto ro,user,unhide   0      0

or similar would be more appropriate as many DVDs are not in iso9660 format.
# 5  
Old 03-12-2012
that sounds good, will give that a try and see if that makes a difference, I think I picked that up from googling how to mount a dvd, but did not realize the difference (just copied the line into the file).

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

How to Create ISO Image of a CD/DVD in Solaris 10?

Hi Solaris 10 Experts, How can I create an ISO Image of a CD/DVD from the cdrom to a temporary directory, and then use that image to burn it on a blank DVD in the cdrom in Solaris 10 1/13 OS environment? Please provide me with an example. With best regards, SS (1 Reply)
Discussion started by: ssabet
1 Replies

2. Red Hat

How to make boot.iso image from rhel6 installation dvd iso ?

Hello Everyone, Can anyone let me know how to make minimal boot.iso from rhl6 installation dvd iso image. I have a dvd image with me but i want to make just a minimal boot media. Somehow it is not shipped with dvd iso. I know we can download boot.iso from redhat site but is there any anyway we... (5 Replies)
Discussion started by: Rohit Bhanot
5 Replies

3. Solaris

solaris 10 update 10 8/11 dvd iso

Hi, I can not download iso file as it failed after downloading 1.1 or 1.2 gigs. I tried several times but each time it failed and the error messages like "File not found" or "Read error". My connection is stable (shown 32kbps and 18 hrs completion time) and I used jdownloader and flashgot... (10 Replies)
Discussion started by: vectrum
10 Replies

4. HP-UX

Need HP-UX 11i v1 ISO dvd

Hello, I need a dvd with HP-UX 11iv1 to perform a reinstall in a rp5430. I've looking all over hp but it doesn't seem to be available for download anywhere. Is there any possibility of obtaining an online copy?? Best regards (4 Replies)
Discussion started by: iperez
4 Replies

5. Solaris

How to write DVD ISO?

Hi friends, I wish to know that how i can write a dvd or cd iso images to the blank dvd in solaris. Is there any software like Nero for windows? Pleas help me. Thanks | P.Bharathiraja.http://static.linuxquestions.org/questions/images/smilies/read.gif (1 Reply)
Discussion started by: bharathiraja
1 Replies

6. Solaris

Solaris 8/07 DVD ISO for SPARC

I'm in shock! Sorry =( Step 1. I'm download 2 segments of Sun Solaris 10 8/07 from Solaris Operating System - Get Solaris 10. After unzip they i have it: bash$ ls -l total 9705512 -rw-r--r-- 1 root root 321 Feb 1 11:13 checksum.md5 -rw-r--r-- 1 root root 1621098496... (5 Replies)
Discussion started by: jess_t03
5 Replies

7. Linux

Downloading OpenSuSE 10.2 DVD ISO with Internet Explorer

Hi, not sure if anybody else has run into this problem, but when I try to download a 3.61 GB ISO file from opensuse.org, Internet Explorer will save it as a 0 kilobyte file. Occasionally when I click the link, the ISO file opens up in Internet Explorer, showing all the code as it's downloading. I... (1 Reply)
Discussion started by: dhinge
1 Replies

8. Solaris

iso files to make bootable dvd image

Hey all, I'm a newbie to iso files and I just downloaded the 2 iso files for *cough* ms2003 R2 *cough* trial software. After I downloaded the iso files I just dragged them to my burn software gui and sure enough it burned to dvd 2 iso files. When I attempted to boot the image using VMware... (0 Replies)
Discussion started by: bdsffl
0 Replies
Login or Register to Ask a Question