When attempting to play a RealMedia file with MPlayer, MPlayer looks for the RealMedia DLLs at /usr/lib/win32//usr/lib/real instead of /usr/lib/win32: Opening audio decoder: [realaud] RealAudio decoder opening shared obj '/usr/lib/real/cook.so.6.0' Error: /usr/lib/real/cook.so.6.0: cannot open shared object file: No such file or directory opening win32 dll '/usr/lib/real/cook.so.6.0' Win32 LoadLibrary failed to load: /usr/lib/real/cook.so.6.0, /usr/lib/win32//usr/lib/real/cook.so.6.0, /usr/local/lib/win32//usr/lib/real/cook.so.6.0 Error loading dll ERROR: Could not open required DirectShow codec cook.so.6.0. Read the RealAudio section of the DOCS! ADecoder preinit failed :( ADecoder init failed :( *** Try to upgrade /home/excyber/.mplayer/codecs.conf from etc/codecs.conf *** If it still does not work, read DOCS/codecs.html! Cannot find codec for audio format 0x6B6F6F63. ========================================================================== SDL: Using driver: x11 Disabling DPMS ========================================================================== Opening video decoder: [realvid] RealVideo decoder opening shared obj '/usr/lib/real/drv2.so.6.0' Error: /usr/lib/real/drv2.so.6.0: cannot open shared object file: No such file or directory opening win32 dll '/usr/lib/real/drv2.so.6.0' Win32 LoadLibrary failed to load: /usr/lib/real/drv2.so.6.0, /usr/lib/win32//usr/lib/real/drv2.so.6.0, /usr/local/lib/win32//usr/lib/real/drv2.so.6.0 Error loading dll ERROR: Could not open required DirectShow codec drv2.so.6.0. Read the RealVideo section of the DOCS! VDecoder init failed :( Opening video decoder: [realvid] RealVideo decoder opening shared obj '/usr/lib/real/drv23260.dll' Error: /usr/lib/real/drv23260.dll: cannot open shared object file: No such file or directory opening win32 dll '/usr/lib/real/drv23260.dll' Win32 LoadLibrary failed to load: /usr/lib/real/drv23260.dll, /usr/lib/win32//usr/lib/real/drv23260.dll, /usr/local/lib/win32//usr/lib/real/drv23260.dll Error loading dll ERROR: Could not open required DirectShow codec drv23260.dll. Read the RealVideo section of the DOCS! VDecoder init failed :( Other Win32 codecs are loaded correctly; this problem only seems to affect RealMedia. However, I wasn't able to locate anything in the Mplayer configuration files that would make it search the incorrect path.
I believe the actual problem is that the real codecs aren't even installed. You can download them here: ftp://ftp.lug.udel.edu/MPlayer/releases/codecs/ Or, as part of the official Real download, it is under codecs. However, there doesn't seem to be an ebuild. Simple enough to install. download real8 and real9, and place them in /usr/lib/real Could really use an ebuild, though.
We have media-video/realplayer, and the mplayer ebuild supports it.