首先,安装Mplayer的时候需要添加Real支持,默认情况下,real的USE是(-real),也就是不支持real(据说因为安全性的原因,官方portage去掉了real支持),不能添加,所以必须先以root权限执行下列命令:

mkdir -p /etc/portage/profile echo media-video/mplayer -real >> /etc/portage/profile/package.use.mask echo media-libs/win32codecs -real >> /etc/portage/profile/package.use.mask ACCEPT_KEYWORDS="~x86" USE="real" emerge mplayer

安装完成后,如果Mplayer播放rmvb出现

Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll Error loading dll ERROR: Could not open required DirectShow codec drvc.dll.

之类的错误,则需要下载以下两个文件:

drv43260.dll http://cid-ee616f2dc1c3f48b.skydrive.live.com/self.aspx/Share/drv43260.dll
drvc.dll http://cid-ee616f2dc1c3f48b.skydrive.live.com/self.aspx/Share/drvc.dll

下载完后复制到 /usr/lib/win32 目录下,即可解决

转载请注明:作者 Kder 出处 http://kder.yo2.cn/gentoo-mplayer-rmvb-solution.html

参考资料:
http://www.linuxsir.org/bbs/showthread.php?t=337996
http://forums.gentoo.org/viewtopic-t-713051.html?sid=e44c9527cf38ebd470151d1452478d82
http://www.linuxsir.org/bbs/showthread.php?t=338107

您也许想再看看这些: