[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: converting pcm raw output to wav or mp3 file



On Mon, Sep 20, 2010 at 05:13:18PM +0530, Siju George wrote:
> > You would need an MP3 encoder, such as LAME. LAME is not available in
> > Debian, but is available from unofficial repositories, such as Debian
> > Multimedia (see http://debian-multimedia.org/ for details)
> >
> 
> thanks i found out
> 
> $lame -r out.raw out.wav
> 
> to convert to wave and
> 
> $ffmpeg-i out.wav out.mp3
> 
> to convert to mp3
> 
> thanks :-)

Actually, you wouldn't need to use ffmpeg at all; 
lame sample.wav sample.mp3 should usually do the trick. See here for
details:

http://lame.cvs.sourceforge.net/viewvc/lame/lame/USAGE

HTH.

Kumar
-- 
Linux: Because a PC is a terrible thing to waste.
(By komarimf@craft.camp.clarkson.edu, Mark Komarinski)


Reply to: