Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2009, 11:06 PM   #1
Registered: Feb 2006
Distribution: Slackware
Posts: 465

Rep: Reputation: 21
Audio Copy CD with .inf and cd-text using cdda2wav and cdrecord

I am trying to make a copy of a CD, but I would like to add cd-text entries for the title and tracks.

K3B does this. However, I am trying to do it with cdda2wav and cdrecord.

Sometime ago, this worked fine. cdda2wav created .inf files, and -useinfo on cdrecord did it's magic. However the good old days are over, and new versions make my old incantations useless.

In particular, I am having problems getting cdda2wav to actually create the .inf file, with a lookup in the cddb database. I've poured through the man pages, and searched for examples, but I find nothing that helps me. Can anyone give me their cookbook example of how they do this.

In the end, I am trying to make copies of my CDs which I will put in a reader, which will display the text information, which is not on all the cds, but is in the cddb database.

Thanks for any pointers.
Old 06-21-2009, 03:39 AM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,846

Rep: Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007
It seems to be working for me. "cdda2wav -B -L 0 -D /dev/cdrom" (actually icedax) generates audio.cddb, audio.cdindex, and an audio.inf file for each .wav it produces. I didn't try to run it through cdrecord/wodim though.

My man page for wodim has this to say:
To copy an audio CD in the most accurate way, first run

icedax dev=/dev/cdrom -vall cddb=0 -B -Owav

and then run

wodim dev=/dev/cdrw -v -dao -useinfo -text *.wav

This will try to copy track indices and to read CD-Text informa‐
tion from disk. If there is no CD-Text information, icedax will
try to get the information from instead.
I tried running the icedax command above and it appears to produce an identical output to my first command.

In any case, if it doesn't work for you, there are other standalone cddb info readers you should be able to use to make the index you need. You should be able to find something with a simple search of your installable program repository.

Last edited by David the H.; 06-21-2009 at 03:41 AM. Reason: minor fix


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
cdrecord and .inf files dive Linux - Software 3 12-03-2006 05:51 PM
WG311v3.inf cant copy to /sbin/ndiswrapper line 135 fahd Linux - Wireless Networking 3 08-10-2006 12:39 AM
k3b; cdrecord; cdda2wav PROBLEM! pepeq SUSE / openSUSE 2 10-20-2004 01:35 PM
Suse 9.1; k3b; cdrecord; cdda2wav PROBLEM. pepeq Linux - Software 5 10-20-2004 01:33 PM
cdda2wav audio ripping problem ugenn Linux - Software 4 06-26-2004 02:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration