Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2005 21:54:08 -0600
From:      Jacob S <stormspotter@6Texans.net>
To:        Rob <spamrefuse@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mplayer vs xine
Message-ID:  <20050204215408.31ea8dfe@jacob.6texans.net>
In-Reply-To: <20050205015010.87497.qmail@web54003.mail.yahoo.com>
References:  <20050205015010.87497.qmail@web54003.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Feb 2005 17:50:10 -0800 (PST)
Rob <spamrefuse@yahoo.com> 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
http://sub.somedomain.com/path/file.ram
 
> 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://some.site.com/movie.rm"

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/drv4.so.6.0'
>   Error: Shared object "libc.so.6" not found, required
>   by "drv4.so.6.0" opening win32 dll 'drv4.so.6.0'
> 
> But libc.so.6 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/cook.so.6.0'
> 
> 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://sub.somedomain.com/path/file.ram". This only downloads it,
instead of converting it, simply because I haven't found a good free
format to use instead of realmedia. :-( 

HTH,
Jacob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050204215408.31ea8dfe>