From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 24 05:11:58 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B657716A418 for ; Mon, 24 Sep 2007 05:11:58 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 576EE13C447 for ; Mon, 24 Sep 2007 05:11:58 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IZgEf-000LHE-Ax; Mon, 24 Sep 2007 09:11:57 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IZgGG-0007J6-H9; Mon, 24 Sep 2007 09:13:36 +0400 To: Andreas Davour References: <96901221@srv.sem.ipt.ru> <41534790@bs1.sp34.ru> From: Boris Samorodov Date: Mon, 24 Sep 2007 09:13:36 +0400 In-Reply-To: (Andreas Davour's message of "Mon\, 24 Sep 2007 06\:50\:26 +0200 \(CEST\)") Message-ID: <54006511@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Can't get audio in realvideo X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 05:11:58 -0000 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 "? > > > >> 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