Hi...

About: creating CD's with CD-TEXT (cdtext) data using cdrecord, cdda2wav
and inf2cdtext.pl 

I have been trying to create CDs with new cdtext data using the above
tools.  I have had some success but had to make the following changes to
cdrecord and inf2cdtext.pl as well as modify one of the resulting
audio_xx.inf files.  But, first, I had to make some assumptions.  Joerg,
let me (us) know if I am on track here with the way CDs are encoded and
with your intentions with respect to future development of this package.

The cdda2wav program pulls ISRC records from CDs (along with many other
types of information), but then adds "-" to the field to make it easier
to read.  These fields end up in the audio_xx.inf files. Both cdrecord
(which can use the audio_xx.inf files directly) and inf2cdtext.pl (which
can use the audio_xx.inf files to create a single cdtext.dat file which
cdrecord can use instead of reading each audio_xx.inf files) do not take
these "-" out of the ISRC fields.  I don't believe this is a problem on
my cdtext capable console player, but programs like xmcd appear to find
the problem and not play the CD.

Joerg, it looks like you already have code to remove the "-" in the ISRC
field in cdrecord.  So I am assuming this is the direction you want to
go instead of removing the code in cdda2wav which adds the "-"
characters to the ISRC fields.  This change appears to activate your
code:


diff cdrecord/auinfo.c cdrecord/old_auinfo.c
98c98
<                       txp->tc_isrc =
savestr(((&trackp[track])->isrc));
---
>                       txp->tc_isrc = savestr(p);


I should add that I have been adding the following line to the last
audio_xx.inf file (it can probably be added to any audio_xx.inf file) in
order to make cdrecord produce a CD which looks to have proper cdtext
data (it might be necessary, but I haven't arranged a test to make
sure):

Albumperformer= 'Various Artists'

Then I used the command:

cdrecord -dev=0,0,0 -v -dao -text  *.wav

However, after all this, I still wasn't able to make a playable CD.  My
console CD player reads all the cdtext data and displays it.  But, only
the first track is playable in the normal sense.  The second track
plays, but the CD timer stays at 00 seconds.  Subsequent tracks can not
be found by skipping to their beginnings.  The only way to listen to the
whole CD is to let the console player play through all tracks in
sequence.

So, I tried to create a CD using inf2cdtext.pl with the following
modifications to inf2detext.pl to remove the "-" characters:

diff cdda2wav/inf2cdtext.pl cdda2wav/old_inf2cdtext.pl 
161a162,163
> # Trying to get rid of minus chars in ISRC field
>               $ISRC =~ s/\-//g;


Then using the following command sequence:

cdda2wav -D 0,0,0 -B -v255 -L 0
inf2cdtext.pl "Various Artists" > cdtext.dat
cdrecord -dev=0,0,0 -v -dao textfile=cdtext.dat *.wav 

I can create a CD which plays and displays cdtext data on my console CD
player.

But here is what bugs me. Using the following command:

cdrecord -vv -toc -dev 0,0,0

I can get a dump of the cdtext.dat file from both the working and
non-working CD.  Both cdtext.dat files turn out to be the same!  Joerg,
at this point, I am lost.  If you have any suggestions as to what to
test next I would be willing to try them.


...thanks everyone, [EMAIL PROTECTED]



P.S. I believe all diffs were made on cdrtools-1.11a21 files.  

And the CDROM hardware:

cat /proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: LG       Model: CD-RW CED-8083B  Rev: 1.06
  Type:   CD-ROM                           ANSI SCSI revision: 02

And the platform:

uname -a
Linux <computers_name> 2.4.7-10 #1 Thu Sep 6 17:21:28 EDT 2001 i586
unknown


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to