[MPlayer-users] encoding realplayer audio only streams to mp3
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Wed Jul 27 20:12:34 CEST 2005
On Wednesday, 27 July 2005 at 20:08, Nigel Jenkins wrote:
> Hi
>
> I'm trying to work out if there is a one pass way of recording a
> realaudio stream (off the web) into a mp3 file.
>
> I've currently worked out I can stream the file and output it as a wave
> file using the following command:
>
> mplayer rtsp://someserver/somefile.ra -ao pcm
>
> Then I can use lame to encode to mp3.
>
> What I'd like to do is something like:
>
> mplayer rtsp://someserver/somefile.ra -ao mp3
>
> and encode directly to mp3 format.
Well, there isn't and probably won't be something like that in MPlayer.
But you can use a fifo and encode directly from -ao pcm.
There are numerous examples all over this mailing list.
> I looked at mencoder and it can see the file, but because the stream has
> no video it fails with the "Video stream is mandatory!" error.
No surprise here. After all, MEncoder stands for Movie Encoder.
R.
--
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
We stand between the darkness ... and the light."
-- Delenn in Grey Council in Babylon 5:"Babylon Squared"
More information about the MPlayer-users
mailing list