problems converting MP3s to WAVs

Klaus-Peter Schrage kpschrage
Wed May 25 11:11:05 PDT 2005


Net Llama! wrote:
> I've got a bunch of MP3s that I want to convert to WAVs so that I can make
> audio CDs.  I'm running into an annoying problem where I either end up
> with a WAV that doesn't match the criteria needed to create an audio CD
> (cdrecord barfs with the error "Inappropriate audio coding") or the WAV is
> encoded at 2x speed of the MP3 (and burns to the CD fine, but sounds like
> the chipmunks).
> 
> The commands i've used are as follows:
> mpg321 -r 44100 --stereo -w track01.wav track01.mp3
> 	^ this one gives me the WAVs that won't burn
> 
> mpg321 -b 10000 -s file.mp3 | sox -t raw -r 44100 -s -w -c2 - file.wav
> 	^ this one gives me the WAVs that are 2x fast

Never tried mpg321 in collaboration with cdrecord to create an audio cd, 
so I gave it a test with the following sequence of commands (which, of 
course, I had found out after some trial and error)

mpg321 -w test.wav -v Chaka\ Kahn-\ Aint\ nobody.mp3
cdrecord dev=/dev/hdd -pad -dao test.wav

This gave me a proper one track audio cd ...

mpg321-0.2.10-6.rhfc3.ccrma
cdrecord-2.01.1-5
on fc3

Klaus


More information about the Linux-users mailing list