From owner-freebsd-questions@FreeBSD.ORG Sat Feb 5 03:54:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8049F16A4CE for ; Sat, 5 Feb 2005 03:54:11 +0000 (GMT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C05543D49 for ; Sat, 5 Feb 2005 03:54:11 +0000 (GMT) (envelope-from stormspotter@6Texans.net) Received: from jacob.6texans.net (adsl-66-72-171-214.dsl.rcfril.ameritech.net [66.72.171.214])j153s9GR191462; Fri, 4 Feb 2005 22:54:09 -0500 Date: Fri, 4 Feb 2005 21:54:08 -0600 From: Jacob S To: Rob 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> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: mplayer vs xine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Feb 2005 03:54:11 -0000 On Fri, 4 Feb 2005 17:50:10 -0800 (PST) Rob 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