Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 20:17:09 -0500 (CDT)
From:      David Scheidt <dscheidt@tumbolia.com>
To:        Russell Francis <frussell@p1.cs.ohiou.edu>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: mp3 -> wav woes
Message-ID:  <Pine.BSF.4.32L2.0107122007540.23310-100000@shell-1.enteract.com>
In-Reply-To: <Pine.GSO.3.96.1010712205257.11556A-100000@p1>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)

-- 
dscheidt@tumbolia.com
Bipedalism is only a fad.


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.BSF.4.32L2.0107122007540.23310-100000>