[MPlayer-users] $ mencoder mms://url/of/some/asf/stream -oac mp3lame -o stream.mp3
Michal Panoch
michal at panoch.net
Tue Jun 1 07:24:44 CEST 2004
The Wanderer <inverseparadox at comcast.net> writes:
>> ASF file format detected.
>> Video stream is mandatory!
>> Exiting...
>> Why this action NEEDS VIDEO stream as well ?!?!
>
> Because Mencoder is not an audio encoder, it's a video encoder. The
> fact that it can also encode audio is purely a matter of convenience,
> which appears to have been included simply because one rarely wants to
> encode video without some accompanying audio.
ok, but would it be that complicated to add this feature.. mencoder would be even
more convenient.. :)
>> All i need is to save some internet radio asf stream directly into an
>> mp3 file, which I thought could not be a problem with mplayer.. But
>> after whole night effort to make mplayer work with lame, this
>> appears.. :((
>
> Saving directly into MP3 isn't possible, but:
>
> ==
> mplayer mms://stream -ao pcm -aofile stream.wav && \
> lame ${opts} stream.wav stream.mp3 && \
> rm stream.wav
> ==
>
> ought to do the job, with I think just about the same end result.
but i'm trying to avoid saving 100+ MB files and encode them
afterwards..
>> I can't even force mplayer to dump the stream to stdout and pipe it
>> through lame.. WHY ???
>
> Because currently, stdout is used for printing all of those text
> messages which are displayed when MPlayer is run; I'm working on
> changing that, after which "send output to stdout" will be able to be
> implemented, but that may take a while.
gotcha, so i think it might be easier to recode mencoder.c instead.. :)
-mp-
More information about the MPlayer-users
mailing list