Mailinglist Archive: opensuse (4446 mails)

< Previous Next >
Re: [opensuse] converting an audio file from .asf to .mp3 format
  • From: Jorge Fábregas <jfabregas@xxxxxxxxxxxxx>
  • Date: Tue, 5 Dec 2006 19:54:45 -0400
  • Message-id: <200612051954.45614.jfabregas@xxxxxxxxxxxxx>
On Tuesday 05 December 2006 7:26 pm, Carl Hartung wrote:
> I used mplayer to 'dumpstream' and 'dumpfile' a stream to an .asf format
> file, which I can play with mplayer, but I'd now like to convert it to .mp3
> format. Anyone care to share a commandline shortcut for this procedure?

You need to convert ithat to a wave file first and then you can encode it
with lame.

Assuming you are on the directory where the dump file is:


mplayer -ao pcm:file=output.wav dump.asf

and then:

lame -b 192 output.wav output.mp3

...and you will have output.mp3 encoded at 192 Kb/s

HTH,
Jorge
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References