[Debburn-changes] Question about wodim
JD
jd1008 at gmail.com
Sun Dec 26 06:00:41 UTC 2010
Dear all,
Wodim man page says:
.
.
.
To copy an audio CD from a pipe (without intermediate files),
first run
icedax dev=1,0 -vall cddb=0 -info-only
and then run
icedax dev=1,0 -no-infofile -B -Oraw - | wodim dev=2,0 -v
-dao -audio -useinfo -text *.inf
Well since I only have one CD burner, I decided to break the
second step which pipes the audio into wodim, into 2 steps; namely:
icedax dev=/dev/sr0 -no-infofile -B -Oraw - > xx
cat xx | wodim dev=/dev/sr0 -v -dao -audio -useinfo -text *.inf
Here, I eject the source cd after the second invocation of icedax,
and insert the blank media, and then invoke the third step which
runs wodim.
But wodim fails as follows:
$ cat xx | wodim dev=/dev/sr0 -v -dao -audio -useinfo -text *.inf
TOC Type: 0 = CD-DA
scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'Slimtype'
Identification : 'DVD A DS8A1P '
Revision : 'CX17'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009 (CD-R)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1053184 = 1028 KB
FIFO size : 67108864 = 65536 KB
wodim: MCN '886978115126' has illegal length.
So, my question is what is the difference between the pipe (assuming I
had 2 cd burners):
icedax dev=/dev/sr0 -no-infofile -B -Oraw - | wodim dev=/dev/sr1 -v -dao
-audio -useinfo -text *.inf
versus this pipe:
cat xx | wodim dev=/dev/sr0 -v -dao -audio -useinfo -text *.inf
where xx was saved from
icedax dev=/dev/sr0 -no-infofile -B -Oraw - > xx
Why would wodim complain in this way since in both cases it is getting
it's input from a pipe?
PS: The reason why I wanted to do this is because I though this would
include CD Text in the CD I wanted to burn.
If this is the wrong way to go about doing that, please enlighten me,
and probably many others on how to achieve that.
Cheers,
JD
More information about the Debburn-changes
mailing list