QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 10381|回复: 15

请问我的mplayer怎么添加解码器?

[复制链接]
发表于 2006-8-1 10:41:47 | 显示全部楼层 |阅读模式
我是一个新手 昨天装了FC5 通过yumex在线安装了mplayer  自己林外装了real 发现real播放rmvb电影时候画面每隔几秒就停顿一下,于是装个mplayer播放rmvb的解码器

我看了论坛上面的如何用mplayer播放rmvb的文章,但都是自己装的mplayer的阿
我的mplayer是通过yum装的阿 用whereis mplayer 查了一下 发现code好像在/usr/lib/mplayer下面  这个文件夹下面有很多.so结尾的文件

请问我怎么添加rmvb解码器 并且如何编译阿?不知道我的问题描述得清楚不?谢谢了  最好那位大侠提供一个all解码器,解码器一般在哪里下载阿?怎么添加解码器呢?
发表于 2006-8-1 10:44:37 | 显示全部楼层
你装个realplay10不就行了嘛
回复

使用道具 举报

 楼主| 发表于 2006-8-1 10:58:02 | 显示全部楼层
谢谢楼上的

对于第一个回复 我已经装了10 问题和以前一样播放时候画面停顿



还有我的我的mplayer看一些.wmv电影时候 提示Culdn't  open Required  Diretshow Codes wmvdmod.dll 阿   这个怎么解决阿?
回复

使用道具 举报

发表于 2006-8-1 18:11:38 | 显示全部楼层
RMVB  的解码器去 www.mplayerhq.hu 找。

或者 mplayer 在 ./configure 的时候加上指定 real-codec 的参数,指向 RealPlayer 的 codec 目录,来让 mplayer 使用 real 的解码器。
回复

使用道具 举报

发表于 2006-8-8 21:44:21 | 显示全部楼层
谢谢啊,正在装软件练手阿,真有意思
回复

使用道具 举报

发表于 2006-8-14 16:41:12 | 显示全部楼层

播放rm文件没有图像

我安装mplayer后 打开rm文件时提示
Cannot find codec matching selected -vo and video format 0x30335652
我下载了官方的rp9codecs-20050115.tar.bz2.tar 和 rp9codecs-win32-20050115.tar.bz2.tar
都 放在默认的目录/usr/local/lib/codecs/ 下了
但播放的时候还是没有图像

刚才又装了RealPlayer10, 用RealPlayer10播放也没有图像
请问是什么问题,怎么解决?

我 用的 redhat9
回复

使用道具 举报

发表于 2006-8-14 17:14:50 | 显示全部楼层
你安装的时候win32codecs的目录指定到哪里,就到官方网站下win32codecs,全部解压到那个文件夹里面……
回复

使用道具 举报

发表于 2006-8-14 19:06:24 | 显示全部楼层
我装的realplayer10播放rm和rmvb的时候也没有图像,会不会是同一原因呢
回复

使用道具 举报

发表于 2006-8-14 19:25:11 | 显示全部楼层
我在运行mplayer时遇到的错误
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codes//drvc.so: 蝸1?9ù򿪹蚕矶韵笪ļ?: û有膩0?0鑫ļ?騺0𕎬?4
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/wincodes//drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
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/lib/codes//drv3.so.6.0: 蝸1?9ù򿪹蚕矶韵笪ļ?: û有膩0?0鑫ļ?騺0𕎬?4
Win32 LoadLibrary failed to load: drv3.so.6.0, /usr/lib/wincodes//drv3.so.6.0, /usr/lib/win32/drv3.so.6.0, /usr/local/lib/win32/drv3.so.6.0
Error loading dll
ERROR: Could not open required DirectShow codec drv3.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
Win32 LoadLibrary failed to load: drv33260.dll, /usr/lib/wincodes//drv33260.dll, /usr/lib/win32/drv33260.dll, /usr/local/lib/win32/drv33260.dllError loading dll
ERROR: Could not open required DirectShow codec drv33260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codes//drvc.bundle/Contents/MacOS/drvc: 蝸1?9ù򿪹蚕矶韵笪ļ?: û有膩0?0鑫ļ?騺0𕎬?4
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/wincodes//drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc
Error loading dll
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 0x30335652.
Read DOCS/HTML/en/codecs.html!
回复

使用道具 举报

发表于 2006-8-14 20:56:41 | 显示全部楼层
楼上,你的解码器不全
回复

使用道具 举报

发表于 2006-8-14 22:47:49 | 显示全部楼层
都是差哪些解码器呢
我已经解压了win32codecs

还有个疑问就是这些错误信息
Error: /usr/lib/codes//drvc.so: 蝸1?9ù򿪹蚕矶韵笪ļ?: û有膩0?0鑫ļ?騺0𕎬?4
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/wincodes//drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!

这里提到的路径/usr/lib/win32/drvc.so 这个文件是存在的
这句话前面的/usr/lib/wincodes//drvc.so看不懂,"//"代表什么意思?
另外这里提到的Read the RealVideo section of the DOCS!
我看了源码包中DOCS/HTML/en/codecs.html
其中 7.1.7. RealVideo
MPlayer supports decoding all versions of RealVideo:

    * RealVideo 1.0, 2.0 (fourcc RV10, RV20) - en/decoding supported by libavcodec
    * RealVideo 3.0, 4.0 (fourcc RV30, RV40) - decoding supported by RealPlayer libraries

Download Real codecs from http://www.mplayerhq.hu/MPlayer/releases/codecs/ and extract them to the /usr/local/lib/codecs directory.
我在上面的链接http://www.mplayerhq.hu/MPlayer/releases/codecs/ 中没有找到和上面4个解码包文件名完全相同的文件

为此我安装了realplayer10(用ralplayer10播放rm和rmvb也是有声音没图像的) ,把RealPlayer10/codecs下的文件复制到 /usr/local/lib/codecs 下
./configure --enable-gui
得到
Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer DLL ... yes (using /usr/local/lib/codecs)

make
make install

gmplayer
选择了一个rm文件播放(选择文件的时候支持的文件里面只有rm,没有rmvb)
就出现了上面的错误信息


请问.....
./configure
make
make install
是不是都在源码包的目录下进行?
回复

使用道具 举报

发表于 2006-8-15 12:41:31 | 显示全部楼层
今天看了bison_gao的贴子才发现,原来在进入Xwindow后直接使用realplayer播放时,我的realplayer是可以正常播放的;
但使用过mplayer之后,再使用realplayer播放,realplayer就没有图像了.

mplayer还是没有弄好,继续研究,还要麻烦各位达人们指导~~
回复

使用道具 举报

发表于 2006-8-15 20:47:33 | 显示全部楼层
drvc.so

去 mplayer 网站找官方的 realplayer 的 codec 不可以么?
回复

使用道具 举报

发表于 2008-5-29 20:41:45 | 显示全部楼层
将RealPlayer10/codecs下的文件复制到/usr/share/lib/win32/下就能用mplayer放
附图:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2008-6-1 13:00:52 | 显示全部楼层
不要随便刨坟……
谢谢合作
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-23 23:14 , Processed in 0.160019 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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