Can't get audio in realvideo

Boris Samorodov bsam at ipt.ru
Sun Sep 23 22:11:58 PDT 2007


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


More information about the freebsd-emulation mailing list