LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1450|回复: 18

Mplayer就是放不了rmvb和rm

[复制链接]
发表于 2006-10-31 17:13:52 | 显示全部楼层 |阅读模式
用yum装的mplayer,自己加的all-20061022到 /usr/lib64/codecs下, 这个目录是mplayer建的,就是放不了rmvb和rm。
发表于 2006-10-31 17:55:11 | 显示全部楼层
“自己加的all-20061022”
什么意思?
回复 支持 反对

使用道具 举报

发表于 2006-10-31 17:55:43 | 显示全部楼层
放在 /usr/lib/win32 下面
回复 支持 反对

使用道具 举报

发表于 2006-10-31 18:05:25 | 显示全部楼层
有没有出错信息,贴出来可以帮你参谋一下。如果不知道的话,你可以终端里用gmplayer或mplayer
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 18:07:02 | 显示全部楼层
还是没有用啊
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 18:15:56 | 显示全部楼层
错误信息:
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/codecs/drvc.so: wrong ELF class: ELFCLASS32
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: /usr/lib64/codecs/drv4.so.6.0: wrong ELF class: ELFCLASS32
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!
回复 支持 反对

使用道具 举报

发表于 2006-10-31 18:37:17 | 显示全部楼层
文件的selinux类型为textrel_shlib_t才行。
命令更改selinux类型:
  1. chcon -t textrel_shlib_t /usr/lib64/codecs/*.*
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 18:44:44 | 显示全部楼层
那我问一下,把selinux关了行不?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-31 18:50:57 | 显示全部楼层
还是不行啊,错误信息同上
回复 支持 反对

使用道具 举报

发表于 2006-10-31 18:57:30 | 显示全部楼层
从你的出错信息来看,应该还是解码库有问题,提个建议,先把/usr/lib64/codecs/目录下所有的东西删了,然后再把你的all-20061022里的所有文件复制到/usr/lib64/codecs/目录下,然后再看看。因为mplayer在解码视频文件时,需要解码库,会到/usr/lib64/codecs/目录下找相关的解码。注意删除前最好先备份下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表