Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 23:41:59 -0400 (EDT)
From:      Russell Francis <frussell@p1.cs.ohiou.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: mp3 -> wav woes
Message-ID:  <Pine.GSO.3.96.1010712233919.14556B-100000@p1>
In-Reply-To: <Pine.BSF.4.32L2.0107122007540.23310-100000@shell-1.enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 12 Jul 2001, David Scheidt wrote:

> On Thu, 12 Jul 2001, Russell Francis wrote:
> 
> :Hello,
> :
> :I have converted an mp3 file to a wav file using these commands
> :
> :mpg123 -s track01.mp3 >> track01.raw
> :sox -r 44100 -w -s track01.raw track01.wav
> :
> :The wav file plays fine on XMMS and looks fine otherwise but when
> :I try to burn it to cd with
> :
> :cdrecord -dummy -audio dev=0,2,0 speed=8 track01.wav
> :
> :cdrecord gives this error
> :
> :cdrecord: Inappropriate audio coding in 'track01.wav'.
> :
> :Does anyone know why this is, and/or how to fix it?
> :
> 
> You haven't made a .wav file that's 16bit stereo PCM 44100 samples/sec.
> Is the source mp3 stereo?  If it's not, you'll need to give the --stereo
> option to mpg123, or force sox to do (-c 2, I think).  mpg123 can write .wav
> files directly, mpg123 -w track01.wav track01.mp3.  (if it's not a stereo
> mp3, you still need mpg123 to force to treat it as one.)

Thanks for pointing me in the right direction.

mpg123 -r 44100 --stereo -w track01.wav track01.mp3

did the trick.
-Russ


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1010712233919.14556B-100000>