Converting .asf to .mp3

Behdad Esfahbod behdad-26n5VD7DAF2Tm46uYYfjYg at public.gmane.org
Tue Feb 21 00:09:44 UTC 2006


On Mon, 20 Feb 2006, Igor Denisov wrote:

> Hey everyone,
>
> I've been trying to convert an asf file to mp3 but so far no luck
> (other than ripping the stream with asfrecord and getting the asf file).
>
> The file in question doesn't have a video component, only audio.
> Thanks in advance for the help,

This works using mplayer and lame, given that you have the right
codecs for mplayer:

mplayer -ao pcm:waveheader:file=/dev/fd/10 -really-quiet inputfile.asf </dev/null 10>&1 &>/dev/null | lame --quiet /dev/stdin output.mp3



> Igor
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
>

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list