I have an image file (.iso) made from an audio CD. How can I listen to the music?
I have an image file (.iso) made from an audio CD. How can I listen to the music in the image?
|
burn it to a CD and play it.
how did you get the iso? what happens if you try to mount the iso? Have a look through: http://lalists.stanford.edu/lau/2002/12/0144.html |
Quote:
|
An audio CD doesn't have a real filesystem. So you can't mount it. I would expect that an audio cd image would have an .img extension. Look at the file with "file <filename>". If it says that is is an iso9660 image, then maybe your ripping software converted the cd to an iso9660 image made up of cda or wav files. If that is the case, you can mount the file:
sudo mount -t iso9660 <filename> <mountpoint> -o ro,loop |
I use the command "file" to look at the image. It said that it is "data"
I cannot mount it. There is no filesystem in the image... What should I do? By the way, I cannot believe that there is no way listen to the music in an CD image. Even MS Windows has software to do this! How come there is no way for Linux? By the way, the image extension ".iso" is added by me. So it does not mean that the image contain a ISO9660 file system... |
When you created it, did you choose 'data' or 'image' during the process? Have you tried burning it to a cd disc as Simon Bridge mention?
Also see if the program xarchiver will let you extract the songs. |
a few options.
Burn it to a cdrom mount it (might not work these days, but used to iirc) cdda2wav -device file.iso xmms file.iso In theory most media apps should be able to treat the file like a device. And read it accordingly. You might have to enable digital extraction since there's no audio cable connecting the file to the soundcard. Although a lot of modern computers don't have that cable anymore anyway. CD audio is 2 channels of 16 bit 44.1kHz audio. The format on the cd is big endian. The playable wav version is little endian. AFAIK, the file format is the same, except for the byte order. |
Quote:
http://users.elis.ugent.be/~mronsse/cdfs/ You might be able to use cdfs to mount your iso in loopback mode. It's long since the last time I tested cdfs and I don't know if it's still maintained and if it will work against the newer kernels. But it's worth a try. There was also an audiofs project, but I can't seem to find it anymore. I think it just died. Some players might as well be able to play it without problems. Mplayer might play it. However I don't think you can change tracks and things like that unless there's some specific support that allows treating the file as a device as you said. |
Quote:
|
Quote:
It's also possible that it was your distro adding the audiofs patch or something like that... Some distros add patches to the vanilla kernel so we can't discard that. I am more inclined to think that this was the case, because, in first place, if there were builtin support in the kernel to do this, then why would anyone design a 3rd party patch to do the same? In any case, the cdfs seems as the way to go right now. Quote:
As you see, the line about what has a fs and what hasn't is very thin. Conceptually, you can do an fs-like handler for almost anything, from databases to remote shares or even the whole web if we wanted. |
Quote:
MS can play CUE/BIN images - I don't thing they can just play a bitwise captured datastream. Which is why the type of image is important. Which software are you thinking of? Note - your on-disk collection will benifit from being converted from raw images to a collection on FLAC files. No quality loss, and smaller size. Same portability. |
The way I made the image is like the following,
Quote:
|
Did you try cdfs already?
|
Saved this from a couple years back. Is this what you are trying to do?
Code:
So, the first thing you need to do is read the CD to a temporary file on the hard drive. To do that, pop the "protected" cd in your drive, and run this command (all on one line): |
All times are GMT -5. The time now is 06:13 PM. |