Can't get audio in realvideo
Boris Samorodov
bsam at ipt.ru
Sun Sep 23 07:52:37 PDT 2007
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:
-----
# file drvc.so
drvc.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
# strings drvc.so | grep lib
libstdc++.so.5
libm.so.6
libgcc_s.so.1
libc.so.6
-----
Back to our trace:
-----
1149 mplayer RET read 4096/0x1000
1149 mplayer CALL mmap(0,0x51000,0x5,0x20002,0x5,0,0,0)
1149 mplayer RET mmap 702193664/0x29daa000
1149 mplayer CALL mprotect(0x29df6000,0x1000,0x7)
1149 mplayer RET mprotect 0
1149 mplayer CALL mprotect(0x29df6000,0x1000,0x5)
1149 mplayer RET mprotect 0
1149 mplayer CALL mmap(0x29df7000,0x1000,0x3,0x12,0x5,0,0x4d000,0)
1149 mplayer RET mmap 702509056/0x29df7000
1149 mplayer CALL mmap(0x29df8000,0x3000,0x3,0x1012,0xffffffff,0,0,0)
1149 mplayer RET mmap 702513152/0x29df8000
1149 mplayer CALL close(0x5)
1149 mplayer RET close 0
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/lib/libstdc++.so.5"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/lib/libstdc++.so.5"
1149 mplayer RET access 0
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/lib/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/lib/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/lib/compat/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/X11R6/lib/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/compat/pkg/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/compat/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/gcc/i386-portbld-freebsd6.2/3.4.6/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/graphviz/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/kde3/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/mplayer/vidix/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/mysql/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/nss/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/pth/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/lib/wine/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/local/libexec/openldap/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/lib/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL access(0x28661000,0)
1149 mplayer NAMI "/usr/lib/libm.so.6"
1149 mplayer RET access -1 errno 2 No such file or directory
1149 mplayer CALL munmap(0x29daa000,0x51000)
1149 mplayer RET munmap 0
1149 mplayer CALL sigprocmask(0x3,0x286589f0,0)
1149 mplayer RET sigprocmask 0
1149 mplayer CALL sigprocmask(0x1,0x286589e0,0xbfbfd520)
1149 mplayer RET sigprocmask 0
1149 mplayer CALL sigprocmask(0x3,0x286589f0,0)
1149 mplayer RET sigprocmask 0
1149 mplayer CALL write(0x2,0xbfbfc990,0x42)
1149 mplayer GIO fd 2 wrote 66 bytes
"Error: Shared object "libm.so.6" not found, required by "drvc.so"
"
-----
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.
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