Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 18:44:07 -0600 (CST)
From:      Conrad Sabatier <cjsabatier@home.com>
To:        "Jason J. Horton" <jason@intercom.com>
Cc:        "multimedia@FreeBSD.ORG" <multimedia@FreeBSD.ORG>, Kevin LEE <klee@esec.com.au>
Subject:   Re: Tools for converting MP3 to wav file
Message-ID:  <XFMail.20010104184407.cjsabatier@home.com>
In-Reply-To: <Pine.BSF.4.21.0101030129160.32708-100000@kaon.intercom.com>

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

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

-- 
Conrad Sabatier
http://members.home.net/conrads/
ICQ# 1147270


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?XFMail.20010104184407.cjsabatier>