rip an audio track from a ISO9660 image
Hello, guys, I have a data+audio ISO image and want to rip the audio tracks without burning a CD-RW first. In Windows I could use Alcohol 120%, but I really don't know about what to do in Linux... I wished to use cdparanoia, but I'm stuck. can somebody help me please?
|
What linux distribution are you using?
|
I'm using Debian 4.0
|
I wonder if you can dd the audio part out into a new ISO9660 loopback filesystem and then rip it from there once mounted? just a thought.
|
Sorry, I didn't get it... But anyway, I once tried to mount it and rip the tracks with cdparanoia, but that was just the point. I had the image mounted, but then how to rip the tracks? I couldn't do it the same way I do with audio CDs.
|
Are they WAV files?
|
Use losetup to create a loop device node for the ISO image. Then use cdparanoia with the force drive option with the loop device node. Though I have not tried it this way.
|
They are standard audio tracks on a CD image.
|
I have never used losetup. But I tried now (no success...):
#losetup -f /dev/loop0 #losetup /dev/loop0 /media/usb/disk.iso gave no output #cdparanoia -Qvd /dev/loop0 cdparanoia III release 10pre0 (August 29, 2006) (C) 2006 Monty <monty@xiph.org> and Xiph.Org FreeBSD porting (c) 2003 Simon 'corecode' Schubert <corecode@corecode.ath.cx> Report bugs to paranoia@xiph.org http://www.xiph.org/paranoia/ Checking /dev/loop0 for cdrom... Testing /dev/loop0 for SCSI/MMC interface SG_IO device: /dev/loop0 Inquiry command failed; unable to probe drive Testing /dev/loop0 for cooked ioctl() interface /dev/loop0 is not a cooked ioctl CDROM. --- As I have never used losetup, I ever don't know if I did it correctly... |
Quote:
|
Yeah, no problem, of course... but I'm still trying to access the disk via /dev/loop0. I've seen some people said the same about losetup, but to access files contained in ISO images (that is not the way I do...). The search continues :scratch:
|
Quote:
|
Thank you. Interesting, I had never heard of a block device guru!! I'm doing some research in some websites, but nothing appropriate.
|
Can't you just mount the image, like this:
Code:
# mkdir /mnt/iso Code:
lame /mnt/iso/track1.wav /home/me/track1.mp3 |
Tredegar, I don't think you have misunderstood the question. When I saw your post, I thought: "but that won't work". And I tried. I saw lame encoded a track from the ISO and so I couldn't believe it was so easy and so obvious. It was unbelieveble! But when I heard the file generated by lame, there was just a white noise on it :eek: ... I tried the same with .bin images too, without success. Already tried to just listen to the tracks with kscd (the cdda# files where there) using the tricks people have told here.
This is strange for me: I see some people tell on the web that ISO images can't hold audio tracks alongside with a data track (they say that kind of image must be .bin, .mdf/mds or the like), but I have at least 2 ISO images like that, and they are working. Thank all the people helping me. I'm still trying. I could just flip to Windows and use software like the Daemon Tools, but I'm sure we can do it with Linux too!! Freedom for all! |
All times are GMT -5. The time now is 06:45 PM. |