mplayer vs xine

Jacob S stormspotter at
Fri Feb 4 19:54:11 PST 2005

On Fri, 4 Feb 2005 17:50:10 -0800 (PST)
Rob <spamrefuse at> wrote:

> Jacob S wrote:
> > I like mplayer for cli stuff and xine for gui.
> > Mainly because the cli stuff I do is downloading and
> > converting streams from wma/rm to wav/ogg/mp3, etc.
> > and I use the gui for watching videos and such. 
> How do you convert realmedia to other formats with
> mplayer?
> Or maybe first: how do you play realmedia streams
> with mplayer?

I have mplayer download files and output them to wav format, then
convert them to ogg, mp3 or whatever smaller format I want. The command
I use for converting from realmedia to wav is below. Note, however, this
is for audio - wav, ogg and mp3 don't support video. 

mplayer -ao pcm -aofile outputfile.wav -vo null -vc dummy -playlist
> I have installed:
>    mplayer-gtk2-0.99.5_6
>    linux-realplayer-10.0.2_1
>    win32-codecs-2.1.0.p5,1
> I can't play realplay streams with mplayer.
> When I do:
>    mplayer -vo x11 "rtsp://"

What happens if you drop the "-vo x11" options? mplayer is usually
pretty good at determining which driver to use, in my experience.

> I get lots of output in my terminal, among wich I
> see:
>   Opening video decoder: [realvid] RealVideo decoder
>   opening shared obj
> '/usr/local/lib/win32/'
>   Error: Shared object "" not found, required
>   by "" opening win32 dll ''
> But is in /usr/compat/linux/lib. Hmm, why
> is that not found? I then did
>    ldconfig -m /usr/compat/linux/lib
> That helped. I started mplayer again, but then
> mplayer crashed, as follows:
> [...snip...]
> ==================================================
> Opening audio decoder: [realaud] RealAudio decoder
> opening shared obj '/usr/local/lib/win32/'
> MPlayer interrupted by signal 10 in module:
> init_audio_codec
> - MPlayer crashed. This shouldn't happen.
>   It can be a bug in the MPlayer code _or_ in your
>   drivers _or_ in your
>   gcc version. If you think it's MPlayer's fault,
>   please read
>   DOCS/HTML/en/bugreports.html and follow the
>   instructions there. We can't and
>   won't help unless you provide this information when
>   reporting a possible bug.
> ==================================================
> Any idea why I've got such problems with mplayer
> and real video streams?

hmm... It doesn't give a whole lot of information on why it crashed,
unfortunately. Perhaps a strace would give more clues? 

For video, I typically do a command more along the lines of "mplayer
-dumpfile somefile.rm -dumpstream
rtsp://". This only downloads it,
instead of converting it, simply because I haven't found a good free
format to use instead of realmedia. :-( 


More information about the freebsd-questions mailing list