Date: Thu, 4 Jan 2001 19:56:32 -0500 From: "Donald J . Maddox" <dmaddox@sc.rr.com> To: Conrad Sabatier <cjsabatier@home.com> Cc: "Jason J. Horton" <jason@intercom.com>, "multimedia@FreeBSD.ORG" <multimedia@FreeBSD.ORG>, Kevin LEE <klee@esec.com.au> Subject: Re: Tools for converting MP3 to wav file Message-ID: <20010104195632.A388@cae88-102-101.sc.rr.com> In-Reply-To: <XFMail.20010104184407.cjsabatier@home.com>; from cjsabatier@home.com on Thu, Jan 04, 2001 at 06:44:07PM -0600 References: <Pine.BSF.4.21.0101030129160.32708-100000@kaon.intercom.com> <XFMail.20010104184407.cjsabatier@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 04, 2001 at 06:44:07PM -0600, Conrad Sabatier wrote: > > On 03-Jan-2001 Jason J. Horton wrote: > >> I just want to know what tools in the port tree will allow me to > >> convert MP3 file to a wav file. > > > > /usr/ports/audio/mpg123 > > > > try: > > mpg123 -w filename.wav filename.mp3 > > This doesn't create a wave file, but rather a raw pcm file. What you need to > do is install sox as well, then: > > mpg123 -s filename.mp3 | sox -t raw -s -w -r 44100 -c 2 - filename.wav Uh, mpg123 -w *does* produce wave files: >Mp3> mpg123 -w test.wav AngelEyes.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Playing MPEG stream from AngelEyes.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 44100 Hz stereo [5:21] Decoding of AngelEyes.mp3 finished. >Mp3> file test.wav test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010104195632.A388>