[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 5:05 PM, Kumar Appaiah
<a.kumar@alumni.iitm.ac.in> wrote:
> Dear Siju,
>
> On Mon, Sep 20, 2010 at 03:19:09PM +0530, Siju George wrote:
>> I followed
>>
>> http://wiki.audacityteam.org/index.php?title=Recording_audio_playing_on_the_computer#Using_the_ALSA_PCM_file
>>
>> and got the
>>
>> /tmp/out.raw file
>>
>> How do I convert it to wav or mp3?
>
> 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 :-)

--Siju


Reply to: