Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 09:13:36 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Andreas Davour <ante@Update.UU.SE>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Can't get audio in realvideo
Message-ID:  <54006511@srv.sem.ipt.ru>
In-Reply-To: <Pine.LNX.4.64.0709240646360.23961@Psilocybe.Update.UU.SE> (Andreas Davour's message of "Mon\, 24 Sep 2007 06\:50\:26 %2B0200 \(CEST\)")
References:  <Pine.LNX.4.64.0709220800120.31201@Psilocybe.Update.UU.SE> <96901221@srv.sem.ipt.ru> <Pine.LNX.4.64.0709230546550.11569@Psilocybe.Update.UU.SE> <41534790@bs1.sp34.ru> <Pine.LNX.4.64.0709240646360.23961@Psilocybe.Update.UU.SE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Sep 2007 06:50:26 +0200 (CEST) Andreas Davour wrote:
> On Sun, 23 Sep 2007, Boris Samorodov wrote:

> >> Please, keep freebsd-emulation@ cc'ed. At the list there are
> >> significantly more people capable to help you...
> >On Sun, 23 Sep 2007 05:48:10 +0200 (CEST) Andreas Davour wrote:
> >> On Sat, 22 Sep 2007, Boris Samorodov wrote:
> >> > On Sat, 22 Sep 2007 08:03:56 +0200 (CEST) Andreas Davour wrote:
> >> >
> >> >> I have stumbled upon a realvideo file that I want to play, and 
> >mplayer
> >> >> is for some reason not very forthcoming.
> >> >
> >> >> Anyone care to tell me why this doesn't work? I do have a
> >> libm.so.6 
> >on
> >> >> my computer in /usr/compat/linux/lib and have both the newest
> >> >> linux-base_fc4 and the newest mplayer installed.
> >> >
> >> >> Note that I get video, even if mplayer complains about not finding
> >> >> video decoders.
> >> >
> >> >> Any hints?
> >>>
> >>> Can you give a link (http/ftp) to the result of "ktrace -i <command>"?
> >
> >> Thanks.
> >
> >> http://www.update.uu.se/~ante/ktrace.out
> >
> >> I hope you can make some sense out of it.
> >
> > Here is what happens:
> > -----
> >  1149 mplayer  RET   write 75/0x4b
> >  1149 mplayer  CALL  write(0x1,0x87f1000,0x33)
> >  1149 mplayer  GIO   fd 1 wrote 51 bytes
> >       "Opening video decoder: [realvid] RealVideo decoder
> >       "
> >  1149 mplayer  RET   write 51/0x33
> >  1149 mplayer  CALL  sigprocmask(0x1,0x286589e0,0xbfbfd520)
> >  1149 mplayer  RET   sigprocmask 0
> >  1149 mplayer  CALL  open(0x286626c0,0,0)
> >  1149 mplayer  NAMI  "/usr/local/lib/RealPlayer/codecs/drvc.so"    [1]
> >  1149 mplayer  RET   open 5
> >  1149 mplayer  CALL  fstat(0x5,0xbfbfd500)
> >  1149 mplayer  RET   fstat 0
> >  1149 mplayer  CALL  read(0x5,0x28658aa0,0x1000)
> >  1149 mplayer  GIO   fd 5 read 4096 bytes
> > -----
> >
> > Before [1] there was a pure FreeBSD executable and environment. And
> > codecs/drvc.so is a linux library:
> > -----
> [snip]
> > Realplayer uses FreeBSD native libraries. There is no libm.so.6 among
> > them. While mplayer (should it?) does not know anything about
> > linuxulator paths/libraries.

> I'm confused here. Is mplayer thinking it's running on Linux? Is
> RealPlayer?

No, the other way around. All of them running on FreeBSD but directly
use a linux libruary...

> Can I do something about it?

I think it's OK while it works.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



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