Log in

View Full Version : Copying Vcd .dat files to hard drive


lpn1160
20th December 2005, 16:02
I've read up and found out the hard way, one can not copy the .dat files to hard disk so easily. Does anyone know the proper programs and syntax to do this?

Thank you all in advance

patxitron
20th December 2005, 20:07
Some time ago I used vcdxrip, part of vcdimager (http://www.gnu.org/software/vcdimager/) package. The project seems to be dead but I'm sure that it is very easy to find it.

The package includes documetation but here (http://http://ccrma.stanford.edu/planetccrma/man/man1/vcdxrip.1.html) you can read the man page.

Best regards

arckane
23rd December 2005, 20:00
I copy the disc to the hard disk as a raw/iso (dd if=/dev/cdrom of=/tmp/image.iso) then I use vcdgear to extract the dat to mpg:

vcdgear -raw2mpg /tmp/image.iso movie.mpg

:)

IHTH

lpn1160
23rd December 2005, 21:41
Had my hopes up on that last one, however this is the error message I received:

dd: reading `/mnt/cdrom/mpegav/avseq01.dat': Input/output error
0+0 records in
0+0 records out
I'll keep tryin
Thanks all

random asshat
23rd December 2005, 22:35
I copy the disc to the hard disk as a raw/iso (dd if=/dev/cdrom of=/tmp/image.iso) then I use vcdgear to extract the dat to mpg:

vcdgear -raw2mpg /tmp/image.iso movie.mpg


This is pretty much the method I would recommend as well, the one change
I would add is that I use readcd (http://www.die.net/doc/linux/man/man1/readcd.1.html) as it handles copying from the CD medium
much better than dd, IMHO.

"vcdgear -fix -cue2mpg" has been reliable in extracting a working mpg
from a standard image file set, at least in my experience.

arckane
23rd December 2005, 22:38
Yup, just tried with DD and had an issue. readcd is a good tool, I prefer cdrdao myself and this command line should get you a lovelly bin/cue to use vcdgear on:

cdrdao read-cd --device ATA:1,1,0 --driver generic-mmc-raw --read-raw image.cue

Change the device for whatever is your reader!

Good luck :)

lpn1160
24th December 2005, 03:16
arckane,
Un f---ing believable!! Worked Like a charm!!
Thank you all for responding

Merry christmas, happy holidays 2 all !!!!

arckane
24th December 2005, 10:20
Thanks lpn1160. I didn't realise that people still had issues with this, I suppose it's something that is scriptable.

If anyone else falls into this trap, give me/us a shout and I'll get it into a quick and dirty Bash Script :)