I wanted to watch a short RealVideo 4.0 clip today. $ mplayer Steamboy_Making.rm ........ ========================================================================== Opening video decoder: [realvid] RealVideo decoder Selected video codec: [rv3040] vfm: realvid (Linux RealPlayer 10 RV30/40 decoder) ========================================================================== ........ As you can see, rv3040 is selected as the default codec. I wasn't happy with this for various reasons so I wanted to try a different RV40 codec. $ mplayer -vc help | grep 40 rv3040 realvid working Linux RealPlayer 10 RV30/40 decoder [drvc.so] rv40 realvid working Linux RealPlayer 9 RV40 decoder [drv4.so.6.0] rv40win realvid working Win32 RealPlayer 9 RV40 decoder [drv43260.dll] rv40mac realvid working Mac OS X RealPlayer 9 RV40 decoder [drvc.bundle/Contents/MacOS/drvc] I then tried: $ mplayer Steamboy_Making.rm -vc rv40 .......... ========================================================================== Forced video codec: rv40 Opening video decoder: [realvid] RealVideo decoder Error: /opt/RealPlayer/codecs/drv4.so.6.0: cannot open shared object file: No such file or directory Win32 LoadLibrary failed to load: drv4.so.6.0, /usr/lib/win32/drv4.so.6.0, /usr/local/lib/win32/drv4.so.6.0 Error loading dll ERROR: Could not open required DirectShow codec drv4.so.6.0. Read the RealVideo section of the DOCS! VDecoder init failed :( Cannot find codec matching selected -vo and video format 0x30345652. Read DOCS/HTML/en/codecs.html! ========================================================================== ............... $ ls -l /usr/lib/win32/drv4.so.6.0 lrwxrwxrwx 1 root root 25 Apr 25 19:51 /usr/lib/win32/drv4.so.6.0 -> /usr/lib/real/drv4.so.6.0
$ emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0.20060415 -3dfx +3dnow +3dnowext +X +aac +aalib +alsa (-altivec) -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc +dts -dv -dvb +dvd +dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg +libcaca -lirc -live -livecd +lzo +mad +matroska -matrox +mmx +mmxext +musepack -nas -nvidia +openal +opengl -oss +png +real +rtc -samba +sdl +sse -sse2 -svga +tga +theora +truetype +unicode -v4l -v4l2 +vorbis +win32codecs -x264 -xanim -xinerama -xmms +xv +xvid -xvmc 0 kB Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://gentoo.osuosl.org" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync1.ro.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apm audiofile avi bitmap-fonts bzip2 cairo cdr cli crypt cups curl dri dts eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd geoip gif glut gpm gstreamer gtk2 guile idn imagemagick imlib imlib2 isdnlog jikes jpeg junit lcms libcaca libwww lua lzo mad matroska mhash mikmod mmx mmxext mng modplug motif mp3 mpeg ncurses network nls no_wxgtk1 ogg oggvorbis openal opengl pam pcre pdflib png pppd python quicktime readline reflection rtc ruby sdl session slang spell spl sse ssl tcpd tga theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis xchatdccserver xml2 xorg xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
I'm afraid it isn't in the right path Opening video decoder: [realvid] RealVideo decoder Error: /opt/RealPlayer/codecs/drv4.so.6.0: cannot open shared object file: No such file or directory Win32 LoadLibrary failed to load: drv4.so.6.0, /usr/lib/win32/drv4.so.6.0, /usr/local/lib/win32/drv4.so.6.0 Error loading dll Move it to /opt/RealPlayer/codecs/
That seems to work. Shouldn't these files be installed in their proper locations by the ebuilds though? drv4.so.6.0 seems to be useless in its current location.
*** Bug 148623 has been marked as a duplicate of this bug. ***
drvc.so is in /usr/lib32/real/, needs a symling to /opt/RealPlayer/codecs/ as well for mplayer to find it.
(In reply to comment #5) > drvc.so is in /usr/lib32/real/, needs a symling to /opt/RealPlayer/codecs/ as > well for mplayer to find it. > It's only there if you have the real useflag when installing win32codecs, wich is masked on AMD64, even though it works if unmask the real useflag.
Created attachment 97841 [details] Updated win32codecs-20060611.ebuild I have updated the win32codecs-20060611.ebuild to take care of this issue, I also added an errormsg if you try to install win32codecs with the real flag and have realplayer installed. We should add a warning in the realplayer ebuild also since the install at the same location to make mplayer happy. Now the questions are why the real flag is masked on AMD64 and isn't this a mplayer problem really?
Should be finally fixed, commited new changes to package.use.mask for amd64 profile (use portage 2.1.2 or higher to see changes). In short, emerge media-video/realplayer and things should be snappy. Please open a *new* bug if you find streams that don't work.