· [Java论坛][安全论坛][数据库论坛][操作系统论坛]
· [专题] IBM Rational高峰论坛 Windows 7十大功能
· [专题] 史上就危险7月 微软 BizSpark 计划介绍
· [IT技术周刊][IT资源下载专区][病毒求助专区]
· [热点] 我也能做CTO_赛迪连载 赛迪七夕特别行动
· [热点] Chrome 4.0采用V8引擎 Java开发编程规范

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)
  客户需求反馈表
* 姓  名:
更多资料  了解方案  认识厂商
* 单位名称:
* 联系电话:
* 电子邮件:
资讯 通信 IT产品 IT技术 信息化
专题:扭亏为盈 联想09年Q2翻番
·专题:Tech·Ed 2009微..
·直播:2009互联网大会..
·迅雷搜狐"互搏" 谁动了..
专题:诺基亚危局已现 或重蹈摩托覆辙
·六股势力角逐4G标准 中..
·专题:联通iPhone并不贵..
·专题:排排坐开商店 三..
商务演示需求分析 多媒体会议室必备投影
·VMware在京隆重举行2009..
·专题:笔记本频道10月热..
·专题:学生机市场 惠普 ..
专题:Tech.Ed 2009微软技术大会
·专题:2009 SYBASE 亚太..
·专题:微软新一代桌面操..
·专题:2009年第3届CSDN..