[Cdrecord-support] cdrecord truncates .wav file
Joanie Abalone
pfenerty at earthlink.net
Mon Apr 20 23:08:58 CEST 2009
Hello,
I have run cdrecord front-end application k3b, trouble-free, on an old
fedora core 5 box for several years.
Now k3b refuses to write a certain .wav file, but only when volume level
normalization is requested:
/usr/bin/cdrecord: Bad audio track size 79507412 for track 04.
/usr/bin/cdrecord: Audio tracks must be at least 705600 bytes and a multiple
of 2352.
/usr/bin/cdrecord: See -pad option.
Note that the actual file size is 127866524. If I turn off normalization, I
can write the entire file to CDR, and playback all 127866524 bytes.
When I add -pad to the command string, with normalization on, k3b also
writes all the files to CDR, but now the problematic track 04, some 12+
minutes in length, appears on the CDR truncated to 7:30.
As a first attempt at handling this, i updated k3b, growisofs, dvd+rw-tools,
and cdrecord, and in the process upgraded into an apparently, at least for
now, unresolvable security system lockout
(http://linux.derkeiler.com/Mailing-Lists/Fedora/2006-07/msg04134.html ...
none of this works for me), and so i now run k3b as root in order to write
anything at all.
And both the "Bad audio track size" error and the truncated file problem
remain as before.
So i'm a little wary of further upgrades to this old OS, especially given
that this is all about a single audio track (so far, anyway).
But i'd be happy to learn if cdrecord can be informed to handle this
correctly by way of command-line parameters: sector size? raw writing mode?
The cdrecord manpage lists lots of possibilities in this regard that i have
never messed with, and would no doubt have a good time burning up blank
discs whilst exploring. But this is not my area of expertise, and i do have
other things that i need to be working on, and so i am hoping for some
guidance in this regard before launching into a full-on edisonian approach.
Additionally, I'd love to understand why cdrecord only complains about this
file given sound level normalization ... the error is reported in the
logfile before any normalize logging, and is not reported at all when
normalize is turned off ... shouldn't it be a "Bad audio track size" no
matter what?
Thanks for listening!
ps:
... from the k3b logfile ( -pad write session ):
cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/hdc speed=40 -dao
driveropts=burnfree -force textfile=/tmp/k3brWKxZb.dat -eject -overburn -pad
-useinfo -audio /tmp/kde-root/k3b_audio_0_01.wav
/tmp/kde-root/k3b_audio_0_02.wav /tmp/kde-root/k3b_audio_0_03.wav
/tmp/kde-root/k3b_audio_0_04.wav /tmp/kde-root/k3b_audio_0_05.wav
/tmp/kde-root/k3b_audio_0_06.wav /tmp/kde-root/k3b_audio_0_07.wav
/tmp/kde-root/k3b_audio_0_08.wav /tmp/kde-root/k3b_audio_0_09.wav
/tmp/kde-root/k3b_audio_0_10.wav /tmp/kde-root/k3b_audio_0_11.wav
/tmp/kde-root/k3b_audio_0_12.wav /tmp/kde-root/k3b_audio_0_13.wav
... track 04:
Track 04: audio 75 MB (07:31.34) no preemp pad copy
WARNING: padding up to secsize.
Track 04: Total bytes read/written: 79618004/79619904 (33852 sectors).
pps:
=========================================================
[root at gezora cdr]# /usr/bin/cdrecord -version
Cdrecord-Clone 2.01.01a04 (i686-pc-linux-gnu) Copyright (C) 1995-2006 J�rg
Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
related to DVD issues that are not present in the original cdrtools. For
more information see http://crashrecovery.org/oss-dvd.html. The original
cdrtools author should not be bothered with problems in this version.
/usr/bin/cdrecord: Warning: Running on Linux-2.6.17-1.2174_FC5
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or
Solaris.
=========================================================
[root at gezora fedora]# uname -a
Linux gezora 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686 athlon
i386 GNU/Linux
=========================================================
[pf at gezora cdr]$ /usr/bin/file track4.wav
track4.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit,
stereo 44100 Hz
... just like all the others.
=========================================================
... from the k3b logfile:
System
-----------------------
K3b Version: 1.0
KDE Version: 3.5.4-0.1.fc5 Fedora-Core
QT Version: 3.3.6
Kernel: 2.6.17-1.2174_FC5
Devices
-----------------------
PIONEER DVD-RW DVR-110D 1.17 (/dev/hdc, ) [CD-R, CD-RW, CD-ROM, DVD-ROM,
DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM, DVD-R
Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RW
Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer,
CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P,
RAW/R96R, Restricted Overwrite, Layer Jump]
Used versions
-----------------------
cdrecord: 2.1.1a04
cdrecord
-----------------------
/usr/bin/cdrecord: Warning: Running on Linux-2.6.17-1.2174_FC5
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or
Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
Text len: 54
Cdrecord-Clone 2.01.01a04 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg
Schilling
NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
related to DVD issues that are not present in the original cdrtools. For
more information see http://crashrecovery.org/oss-dvd.html. The original
cdrtools author should not be bothered with problems in this version.
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-110D'
Revision : '1.17'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0016
Profile: 0x0015
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1267712 = 1238 KB
FIFO size : 4194304 = 4096 KB
--
View this message in context: http://www.nabble.com/cdrecord-truncates-.wav-file-tp23144913p23144913.html
Sent from the Cdrecord-support mailing list archive at Nabble.com.
More information about the Cdrecord-support
mailing list