Re: putting audio files onto a DVD
On 13/05/12 14:11, Scott Ferguson wrote:
> On 12/05/12 18:07, Jon Dowland wrote:
>> On Sat, May 12, 2012 at 11:14:12AM +1000, Scott Ferguson wrote:
>>
>> header from track on CDDA = "RIFF���WAVEfmt"
>
> What ripper did you use to extract the track?
>
cat
> it's highly likely that your ripper has packed the result into a
> WAV.
Demonstrably, no.
It's an identical copy of the wav file that was used by wodim to create
the track in the first place.
Create audio cd.
1. Convert mp3 files to wav files.
scott@work:~/cdda$ for i in *.mp3; do mpg123 -w `basename $i .mp3`.wav
$i; done
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.12.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: Ministry_-_01_-_Thieves.mp3 ...
Title: Thieves Artist: Ministry
Comment:
Album: The Mind Is A Terrible Thing To Taste
Year: 1989 Genre: Unknown
MPEG 1.0 layer III, VBR, 44100 Hz stereo
[5:02] Decoding of Ministry_-_01_-_Thieves.mp3 finished.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.12.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: Ministry_-_02_-_Burning_Inside.mp3 ...
Title: Burning Inside Artist: Ministry
Comment:
Album: The Mind Is A Terrible Thing To Taste
Year: 1989 Genre: Unknown
MPEG 1.0 layer III, VBR, 44100 Hz stereo
[5:20] Decoding of Ministry_-_02_-_Burning_Inside.mp3 finished.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.12.1; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: Ministry_-_03_-_Never_Believe.mp3 ...
Title: Never Believe Artist: Ministry
Comment:
Album: The Mind Is A Terrible Thing To Taste
Year: 1989 Genre: Unknown
MPEG 1.0 layer III, VBR, 44100 Hz stereo
[4:59] Decoding of Ministry_-_03_-_Never_Believe.mp3 finished.
scott@work:~/cdda$ ls -lh
total 181M
-r-------- 1 scott scott 7.9M May 13 12:44 Ministry_-_01_-_Thieves.mp3
-rw-r--r-- 1 scott scott 51M May 13 13:40 Ministry_-_01_-_Thieves.wav
-r-------- 1 scott scott 8.5M May 13 12:51
Ministry_-_02_-_Burning_Inside.mp3
-rw-r--r-- 1 scott scott 54M May 13 13:40
Ministry_-_02_-_Burning_Inside.wav
-r-------- 1 scott scott 8.7M May 13 12:52 Ministry_-_03_-_Never_Believe.mp3
-rw-r--r-- 1 scott scott 51M May 13 13:40 Ministry_-_03_-_Never_Believe.wav
scott@work:~/cdda$ file "Ministry - 01 - Thieves.mp3"
Ministry - 01 - Thieves.mp3: Audio file with ID3 version 2.3.0,
contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Stereo
scott@work:~/cdda$ file Ministry_-_01_-_Thieves.wav
Ministry_-_01_-_Thieves.wav: RIFF (little-endian) data, WAVE audio,
Microsoft PCM, 16 bit, stereo 44100 Hz
2. Normalize sound levels
scott@work:~/cdda$ normalize-audio -b *.wav
Computing levels...
Ministry_-_03_-_N 100% done, ETA 00:00:00 (batch 100% done, ETA 00:00:00)
Applying adjustment of 2.82dB...
Ministry_-_03_-_N 100% done, ETA 00:00:00 (batch 100% done, ETA 00:00:00)
3. Remove mp3 files
scott@work:~/cdda$ rm *.mp3
4. Create audio CD
scott@work:~/cdda$ wodim dev=/dev/scd0 -v -audio *.wav
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 0 = CD-DA
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.11
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identification : 'DVD-RW DVR-217 '
Revision : '1.05'
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: 0x0002 (Removable disk)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM)
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 : 1136640 = 1110 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 12582912 = 12288 KB
Track 01: audio 50 MB (05:02.86) no preemp
Track 02: audio 53 MB (05:20.16) no preemp
Track 03: audio 50 MB (04:59.00) no preemp
Total size: 155 MB (15:26.02) = 69452 sectors
Lout start: 156 MB (15:28/02) = 69452 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Is not unrestricted
Is not erasable
Disk sub type: Medium Type A, high Beta category (A+) (3)
ATIP start of lead in: -11634 (97:26/66)
ATIP start of lead out: 359846 (79:59/71)
Disk type: Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359846 Blocks current: 359846 Blocks remaining: 290394
Speed set to 7056 KB/s
Starting to write CD/DVD at speed 40.0 in real TAO mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 01: 50 of 50 MB written (fifo 100%) [buf 100%] 20.9x.
Track 01: Total bytes read/written: 53425680/53425680 (22715 sectors).
Starting new track at sector: 22867
Track 02: 53 of 53 MB written (fifo 100%) [buf 99%] 22.4x.
Track 02: Total bytes read/written: 56476224/56476224 (24012 sectors).
Starting new track at sector: 47031
Track 03: 50 of 50 MB written (fifo 100%) [buf 99%] 25.1x.
Track 03: Total bytes read/written: 52743600/52743600 (22425 sectors).
Writing time: 67.926s
Average write speed 16.6x.
Min drive buffer fill was 79%
Fixating...
Fixating time: 17.688s
wodim: fifo had 2563 puts and 2563 gets.
wodim: fifo was 0 times empty and 2017 times full, min fill was 92%.
Kind regards
--
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to questions about Debian:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/
Reply to: