----- Original Message ----- From: "John Griffiths" <[EMAIL PROTECTED]> To: "Benedict Verheyen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 1:08 AM Subject: Re: problem converting and writing mp3 to CD
> at a wild guess your cd writer is faster than your mp3 conversion. it's a Benq 32x10x40 > in any event running 2 CPU heavy events, and one of them time critical (if > the cd writer buffer empties you blow the burn) is not smart. It's a script that i found on many sites though so that surprises me a bit. (it's mentioned in TLDP: http://www.tldp.org/HOWTO/CD-Writing-HOWTO-3.html) > > At 01:05 AM 12/16/02 +0100, Benedict Verheyen wrote: > >Hi, > > > >i found a script to convert mp3 files and write them to disk: > >#!/bin/sh > >for I in *.mp3 > >do > > mpg123 --cdr - "$I" | cdrecord -audio -pad -nofix - > >done > >cdrecord -fix > > > >This resulted in a corrupt cd. > >Converting them first to wav files did succeed however: > >#!/bin/bash > ># change spaces by underscores > >for I in *.mp3; > > do mv "$I" `echo $I | tr ' ' '_'`; > >done > > > ># convert from mp3 to wav > >for I in *.mp3; > > do mpg123 -w `basename $I .mp3`.wav $I; > >done > > > ># write to cd > >cdrecord dev=0,0,0 -eject -pad -audio *.wav > > > ># del wav files > >rm *.wav > > > >How come the first method doesn't work or was i just > >a one time event? > > > >Thanks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]