LinuxQuestions.org
Visit Jeremy's Blog.
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 08-07-2008, 10:23 PM   #1
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Rep: Reputation: 16
How to read the audio CD IMAGE created by ``cdrdao" ?


I've created an image of an audio CD by ``cdrdao". How can I read that afterward? Now I have an image but I can do nothing with it!

For example, if I want to use flac or lame to encode the music in the image, what should I do? Or I simply want to mount it and play the music, what should I do?

Thanks for any help!
 
Old 08-09-2008, 06:10 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
First you mount the iso.

#mkdir /abc
#su
#mount -t iso9660 -o loop efg.iso /abc
 
Old 08-09-2008, 11:32 PM   #3
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Original Poster
Rep: Reputation: 16
I've tried this, but this did not work. I think this is probably because that audio CD does not contain any filesystem, but simply tracks of audio data.

Any suggestions are welcomed. Thank you!
 
Old 08-10-2008, 02:54 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
Why don't you burn the image to a CD?
How did you make the image?
 
Old 08-10-2008, 06:28 PM   #5
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,752

Rep: Reputation: 188Reputation: 188
Quote:
I've created an image of an audio CD by ``cdrdao
Did you make an .iso file? And have it on your hard drive?

An audio CD does not have a file system on it. You can't mount it.
You read it / play it with an audio player. To mount an .iso file do like amani said.

Quote:
For example, if I want to use flac or lame to encode the music in the image
Not sure what you are doing. The native format for a CD is .wav. If you want to make a CD with .mp3 on it, make a data cd and copy the .mp3 files onto it.

If you want to modify an .iso immage then mount it, alter it, burn it.
 
Old 08-11-2008, 12:20 AM   #6
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Original Poster
Rep: Reputation: 16
Thanks! I should have make it clearer what I've done. Here's what i did.
Quote:
cdrdao read-cd --read-raw --datafile ./image.iso --device /dev/hdb -v 2 ./image.iso.toc
I then have the image of the audio CD named image.iso in the current directory. Now, I want to play the audio within this image. What should I do?
 
Old 08-11-2008, 02:36 AM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
Write it to a CD - your image, although you named it image.iso, it is still no iso image and cannot be mounted - there is still no filesystem - just like on the CD.
cdrdao write <options> _could_ work
You could probably use tools like "cdda2wav" to extract the music or whatever from the image just as you do when doing that on a real CD - but I would'nt know if that works (because the image is no block device as cdda2wav expects to find).
Also look here:
http://www.linuxquestions.org/questi...66#post3243266
for hints on how extracting audio can be done.

Last edited by jomen; 08-11-2008 at 02:49 AM.
 
  


Reply

Tags
cdrdao, flac, lame


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
How to read/write, install micros. windows system on a HD image created with bximage? frenchn00b Linux - General 1 06-01-2008 02:44 PM
mkisofs breaks on multisession; "Read error on old image" Slackware 11.0 slackware-elf Slackware 1 06-07-2007 01:28 PM
gdb error "Failed to read a valid object file image from memory." Fejimush Programming 0 03-11-2007 01:40 PM
Partimage: "Can't Read Block 0 from Image" ebedosu Linux - Software 3 07-15-2006 10:38 AM
audio cd from mp3 whith cdrdao ? zokter Linux - General 3 12-17-2003 06:49 AM


All times are GMT -5. The time now is 01:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration