On 06/08/2009 08:15 AM, Mark Knecht wrote:
On Sun, Jun 7, 2009 at 11:33 AM, Mark
Knecht<markknecht(a)gmail.com> wrote:
> On Sun, Jun 7, 2009 at 11:11 AM, Mark Knecht<markknecht(a)gmail.com> wrote:
>
> - FOLLOW-UP
>
> <SNIP>
>
>> k3b seems to use:
>>
>> /usr/bin/cdrecord -v gracetime=2 dev=/dev/hda speed=40 -raw96r
>> driveropts=burnfree -clone -eject /home/mark/backups/k3b_0.img
>>
>> to build an image file for what that program calls a Clone. I then see this:
>>
>> /usr/bin/readcd -v dev=/dev/hda f=/home/mark/backups/k3b_0.img -clone
>> retries=128 ts=128k
>>
>> I suspect to write the CD-Rs that aren't working in my car.
>>
> <SNIP>
>
> Obviously I have the two commands above backwards.
>
> Clone read of CD:
>
> readcd -v dev=/dev/hda f=/home/mark/backups/k3b_0.img -clone retries=128 ts=128k
>
> The use of the readcd -clone option puts the whole disk info into a single file.
>
> Clone write of CD:
>
> cdrecord -v gracetime=2 dev=/dev/hda speed=40 -raw96r
> driveropts=burnfree -clone -eject /home/mark/backups/k3b_0.img
>
>
I'm not sure about the clone function. I usually use cdda2wav ||
cdrecord. I always use cdrecord -dao -useinfo for gapless tracks.
There is also an option for reading a toc file. It's somewhere in the
--help section. You can also check the cdrecord website for a complete
instruction manual and howto.
hth
The -raw96r
option tells cdrecord it's reading a Clone type file.
According to the man page gracetime=2 is not allowed as it's below a
minimum of 3.
burnfree is write drive dependent.
- Mark
So does anyone use cdrecord with the info obtained by cdda2wav to
write CDs? Here's the files:
Mark@gamer ~
$ ls aud*
audio.cddb audio_02.wav audio_05.inf audio_07.wav audio_10.inf
audio.cdindex audio_03.inf audio_05.wav audio_08.inf audio_10.wav
audio_01.inf audio_03.wav audio_06.inf audio_08.wav audio_11.inf
audio_01.wav audio_04.inf audio_06.wav audio_09.inf audio_11.wav
audio_02.inf audio_04.wav audio_07.inf audio_09.wav
Mark@gamer ~
Mark@gamer ~
$ cat audio.cddb
# xmcd
#
# Track frame offsets:
#
# 150
# 23177
# 44320
# 63367
# 76837
# 117555
# 132102
# 142832
# 162057
# 186125
# 217632
#
# Disc length: 3521 seconds
#
# Revision: 0
# Submitted via: cdda2wav 2.01.01a60_cygwin32_nt_1.5.25(0.156-4-2)_i686_i686
DISCID=870dbf0b
DTITLE=IZZ / Sliver of a Sun
DYEAR=
DGENRE=
TTITLE0=Endless Calling
TTITLE1=I Get Lost
TTITLE2=Lornadoone
TTITLE3=She Walked Out the Door
TTITLE4=Assurance
TTITLE5=Take it Higher
TTITLE6=Double Bass
TTITLE7=Just a Girl
TTITLE8=Meteor
TTITLE9=Razor
TTITLE10=Where I Belong
EXTD=
EXTT0=
EXTT1=
EXTT2=
EXTT3=
EXTT4=
EXTT5=
EXTT6=
EXTT7=
EXTT8=
EXTT9=
EXTT10=
PLAYORDER=
Mark@gamer ~
$
Mark@gamer ~
$ cat audio.cdindex
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE CDInfo SYSTEM "http://www.musicbrainz.org/dtd/CDInfo.dtd">
<CDInfo>
<Title>Sliver of a Sun</Title>
<NumTracks>11</NumTracks>
<IdInfo>
<DiskId>
<Id>YasSG0mWGVxInJOH.LN2lnPcBoY-</Id>
</DiskId>
</IdInfo>
<SingleArtistCD>
<Artist>IZZ</Artist>
<Track Num="1">
<Name>Endless Calling</Name>
</Track>
<Track Num="2">
<Name>I Get Lost</Name>
</Track>
<Track Num="3">
<Name>Lornadoone</Name>
</Track>
<Track Num="4">
<Name>She Walked Out the Door</Name>
</Track>
<Track Num="5">
<Name>Assurance</Name>
</Track>
<Track Num="6">
<Name>Take it Higher</Name>
</Track>
<Track Num="7">
<Name>Double Bass</Name>
</Track>
<Track Num="8">
<Name>Just a Girl</Name>
</Track>
<Track Num="9">
<Name>Meteor</Name>
</Track>
<Track Num="10">
<Name>Razor</Name>
</Track>
<Track Num="11">
<Name>Where I Belong</Name>
</Track>
</SingleArtistCD>
</CDInfo>
Mark@gamer ~
$
Mark@gamer ~
$ cat audio_01.inf
#created by cdda2wav 2.01.01a60_cygwin32_nt_1.5.25(0.156-4-2)_i686_i686 06/07/09
17:08:52
#
CDINDEX_DISCID= 'YasSG0mWGVxInJOH.LN2lnPcBoY-'
CDDB_DISCID= 0x870dbf0b
MCN=
ISRC= 0P-400-12-00051
#
Albumperformer= 'IZZ'
Performer= 'IZZ'
Albumtitle= 'Sliver of a Sun'
Tracktitle= 'Endless Calling'
Tracknumber= 1
Trackstart= 0
# track length in sectors (1/75 seconds each), rest samples
Tracklength= 23027, 0
Pre-emphasis= no
Channels= 2
Copy_permitted= once (copyright protected)
Endianess= little
# index list
Index= 0
Index0= -1
# md5 sum
MD5-offset= 44
Mark@gamer ~
$
What's the process of writing the CD with this information that links
the copy I build up to cddb, has the right text for track names and
artist, etc.?
Thanks,
Mark
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user(a)lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user