赛迪网 > IT技术 Linux > 系统管理
  IT资讯搜索
 
IT产品搜索
[程序开发][网管世界][网络安全][数据库技术]
[操作系统][嘉宾聊天·在线访谈][活动集锦]
[精彩专题][Symantec专区][订阅IT技术周刊]
[开发论坛][网管论坛][安全论坛][数据库论坛]
[操作系统论坛][Sybase专区][IBM dW技术专区]
[病毒求助][病毒与漏洞播报][文档·源码下载]

Fedora 8系统Mplayer不能播放rmvb的解决

发布时间:2007.12.24 06:39     来源:赛迪网    作者:skid

适用平台:Fedora 8 64位系统

故障原因:yum方式安装了mplayer。下载了all-codecs解码包,解压到readme中所说的/usr/local/lib/codecs/目录仍然不能播放rmvb。只有声音没有图像,提示Cannot find codec matching selected -vo and video format 0x30345652。其实mplayer官方的解码包名称模糊,all-codecs并不含有rmvb解码所需的全部解码器。另外由于非源码安装的mplayer路径并不是/usr/local/lib/codecs/。

解决方法:正确安装适用64位系统的解码器

解决步骤:

1、从http://www.mplayerhq.hu/MPlayer/releases/codecs/下载下面四个文件

all-20071007.tar.bz2

essential-amd64-20071007.tar.bz2

windows-all-20071007.zip

windows-essential-20071007.zip

2、在命令行模式下用mplayer播放一个rmvb格式的文件,注意查看出错信息,看mplayer是从哪儿读取的插件。

我的出错信息如下

Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/codecs/drvc.so:
cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/codecs/drv4.so.6.0: 
cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/codecs/drvc.bundle/Contents/MacOS/drvc: 
cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
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!

所以我的mplayer解码目录是/usr/lib64/codecs

3、将上述4个文件解压到你自己的mplayer提示目录即可(例如,我的系统就将4个文件解压到/usr/lib64/codecs目录)。

注意事项:

1、实际上播放rmvb只要几个文件,将所有的解码器放在一起是防止播放其他文件出现类似问题。

2、所有的文件直接在codecs目录下,而不是在codecs/all-20071007等类似目录下。

(责任编辑:云子)


[ 发表评论 ] 字体[  ] [ 打印 ] [ 进入博客 ] [ 进入论坛 ]  [ 推荐给朋友 ]
  相关文章
· Fedora 8 Linux下GRUB配置文件详细解析 (12-21) · Fedora下播放mp3、wma等多媒体文件的方法 (12-21)
· Fedora 8 Linux下安装配置audacious过程 (12-21) · Linux字符界面下的MP3播放器MP3Blaster (12-21)
· Linux操作系统中关闭“刺耳”的报警声音 (12-21) · Linux系统XMMS安装配置及中文乱码的解决 (12-21)
· Linux操作系统下如何更改终端显示分辨率 (12-21) · Linux系统下如何判断CPU是双核还是单核 (12-21)
· Linux操作系统下关闭指定用户帐号的方法 (12-21) · OpenOffice发布测试版 用户挤破下载站点 (12-21)
  客户需求反馈表
* 姓  名:
更多资料  了解方案  认识厂商
* 单位名称:
* 联系电话:
* 电子邮件:
  赛迪推荐  
  手机·资费 ·新品·导购·评测·手机资费·宽带
手机搜索  诺基亚 N73 MOTO Z6
  IT产品 ·笔记本·台式机·服务器·打印·投影
IT产品搜索 
  IT技术 ·开发·网管·安全·数据库·操作系统
  信息化 ·热点·专题·访谈·周刊·方案案例
· 北京新规不能霸王硬上弓 网店牌照缓期执行
· 软件外包之变的新台阶: 提高全球交付能力
· ERP案例分析 SaaS带来冲击 IT服务商面临挑战
· 通方期货CRM解决方案 房地产行业CRM解决方案
  IT博客 ·曾剑秋·项立刚·Java学习·网管
  IT技术论坛 ·开发·网管·安全·数据库·系统