找回密码
 注册
查看: 1189|回复: 10

Mplayer问题??

[复制链接]
发表于 2005-2-3 22:58:13 | 显示全部楼层 |阅读模式
我已经装了 all-20050115.tar.bz2  解码包,可是还是不能放RM/RMVB等文件,这是为什么?我用的是FC3
发表于 2005-2-4 14:05:53 | 显示全部楼层
贴出在终端下用mplayer播放rmvb文件的输出信息
回复

使用道具 举报

发表于 2005-2-5 10:44:40 | 显示全部楼层
下这个
http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20040704.tar.bz2

解压后将里面的*.DLL文件解压到MPLAYER的代码目录,看一看MPLAYER里的README,里面有。

然后就OK了
回复

使用道具 举报

 楼主| 发表于 2005-2-16 15:25:08 | 显示全部楼层
在终端下打开RM文件显示:
[smile@www My documents]$ cat 大腕.rmvb | mplayer -
MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Linux RTC init error in ioctl (rtc_irqp_set 1024): 权限不够
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing -.
Reading from stdin...
REAL file format detected.
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 2
Samplerate: 44100
avg byte/sec: 96468
Block align: 1400
bits/sample: 16
cbSize: 26
Unknown extra header dump: [18] [1] [10] [0] [19] [0] [78] [5] [10] [0] [1] [0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0] [8] [0] [5]
===========================
Not audio/video stream or unsupported!
VIDEO:  RV40 [40002000,01081020]  608x344  (aspect 0.00)  30.00 fps
VIDEO:  [RV40]  608x344  24bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: <��(www.lanyin.net),Ƭ�����,�����;!
author: <��(www.lanyin.net),Ƭ�����,�����;!
copyright: (C) 2003
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/win32/cook.so.6.0'
Error: /usr/local/lib/codecs/win32/cook.so.6.0: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'cook.so.6.0'
Win32 LoadLibrary failed to load: cook.so.6.0, /usr/local/lib/codecs/win32/cook.so.6.0, /usr/lib/win32/cook.so.6.0, /usr/local/lib/win32/cook.so.6.0
Error loading dll
ERROR: Could not open required DirectShow codec cook.so.6.0.
Read the RealAudio section of the DOCS!
ADecoder preinit failed
ADecoder init failed
Opening audio decoder: [realaud] RealAudio decoder
opening win32 dll 'cook3260.dll'
Win32 LoadLibrary failed to load: cook3260.dll, /usr/local/lib/codecs/win32/cook3260.dll, /usr/lib/win32/cook3260.dll, /usr/local/lib/win32/cook3260.dll
Error loading dll
ERROR: Could not open required DirectShow codec cook3260.dll.
Read the RealAudio section of the DOCS!
ADecoder preinit failed
ADecoder init failed
Opening audio decoder: [realaud] RealAudio decoder
opening shared obj '/usr/local/lib/codecs/win32/cook.bundle/Contents/MacOS/cook'
Error: /usr/local/lib/codecs/win32/cook.bundle/Contents/MacOS/cook: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'cook.bundle/Contents/MacOS/cook'
Win32 LoadLibrary failed to load: cook.bundle/Contents/MacOS/cook, /usr/local/lib/codecs/win32/cook.bundle/Contents/MacOS/cook, /usr/lib/win32/cook.bundle/Contents/MacOS/cook, /usr/local/lib/win32/cook.bundle/Contents/MacOS/cook
Error loading dll
ERROR: Could not open required DirectShow codec cook.bundle/Contents/MacOS/cook.
Read the RealAudio section of the DOCS!
ADecoder preinit failed
ADecoder init failed
Cannot find codec for audio format 0x6B6F6F63.
Read DOCS/HTML/en/codecs.html!
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
opening shared obj '/usr/local/lib/codecs/win32/drv4.so.6.0'
Error: /usr/local/lib/codecs/win32/drv4.so.6.0: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'drv4.so.6.0'
Win32 LoadLibrary failed to load: drv4.so.6.0, /usr/local/lib/codecs/win32/drv4.so.6.0, /usr/lib/win32/drv4.so.6.0, /usr/local/lib/win32/drv4.so.6.0
Error loading dll
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
opening win32 dll 'drv43260.dll'
Win32 LoadLibrary failed to load: drv43260.dll, /usr/local/lib/codecs/win32/drv43260.dll, /usr/lib/win32/drv43260.dll, /usr/local/lib/win32/drv43260.dll
Error loading dll
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
opening shared obj '/usr/local/lib/codecs/win32/drvc.bundle/Contents/MacOS/drvc'
Error: /usr/local/lib/codecs/win32/drvc.bundle/Contents/MacOS/drvc: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'drvc.bundle/Contents/MacOS/drvc'
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/codecs/win32/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 0x30345652.
Read DOCS/HTML/en/codecs.html!
==========================================================================


Exiting... (End of file)
回复

使用道具 举报

 楼主| 发表于 2005-2-16 15:26:16 | 显示全部楼层
打不开,好郁闷~~~~  大侠给看看呀
回复

使用道具 举报

发表于 2005-2-16 23:20:38 | 显示全部楼层
你的是什么系统。我的gentoo用emerge安装的mplayer就会找不到rm的解码器,不知道是什么问题,自己编译的就没事。
回复

使用道具 举报

发表于 2005-2-18 20:16:43 | 显示全部楼层
俺刚装,能放rmvb 俺是redhat 9 ,也是all包的......1.你下载一首MP3,看能不能放?2.看一下你的系统支持如何(,在添加程序里),把开发项:下面全选,3.写出你的./configure的参数出来,让我看看........
回复

使用道具 举报

发表于 2005-2-19 02:53:30 | 显示全部楼层
Step 1:安装最新的RealPlayer10 for Linux,目的仅仅是获取那个Codecs目录。

Step 2:获取rv9_libc6_i386_cs2.tgz这个插件包(google找下就有),把里面Codecs目录下的文件全部Copy到RealPlayer安装目录下的Codecs目录里(按理不会有重名文件),现在官方RealPlayer的历史使命已完成,想杀想剐随意,- -只要保留住那个Codecs目录(假设备档为/usr/local/rvcodecs)。

Step 3:准备Mplayer源码包以及所有解码器(all-20050115.tar.bz2),解码器最好按标准存在/usr/lib/codecs目录下。

Step 4:编译安装Mplayer,记得其中要有这个编译参数:--with-reallibdir=/usr/local/rvcodecs。

Step 5:装完后的Mplayer按理就能够正常(包括Audio和Video)播放不少
rmvb文件了。但不是全部,可能会出现类似警告:
*******************************************************
ADecoder预初始化失败
ADecoder初始化失败
打开音频解码器: [realaud] RealAudio decoder
opening shared obj '/usr/local/rvcodes//cook.bundle/Contents/MacOS/cook'
Error: /usr/local/rvcodes//cook.bundle/Contents/MacOS/cook: 无法打开共享对象文件: 没有那个文件或目录
opening win32 dll 'cook.bundle/Contents/MacOS/cook'
Win32 LoadLibrary failed to load: cook.bundle/Contents/MacOS/cook, /usr/local/lib/codecs/cook.bundle/Contents/MacOS/cook, /usr/lib/win32/cook.bundle/Contents/MacOS/cook, /usr/local/lib/win32/cook.bundle/Contents/MacOS/cook
Error loading dll
错误: 无法打开要求的DirectShow解码器: cook.bundle/Contents/MacOS/cook
Read the RealAudio section of the DOCS!
ADecoder预初始化失败
ADecoder初始化失败
找不到音频格式 0x6B6F6F63 的解码器.
请看DOCS/zh/codecs.html!
**************************************************
这就意味着对应的rmvb视频有像无声。-____-显然rmvb并不只应用了一种音频解码格式。

Step 6:在/usr/local/rvcodes目录下执行如下命令:
mkdir cook.bundle/Contents/MacOS -p
cd cook.bundle/Contents/MacOS
ln -s /usr/lib/codecs/cook.so ./cook

自然这种做法不一定意味着能完美播放所有rmvb视频,但至少自己手头的都没有任何问题了。

注1:经过这个处理后以-forceidx参数播放本来无声的rmvb视频依然会出现
Unknown extra header dump: [18] [1] [10] [0] [19] [0] [78] [5] [10] [0] [1] [0] [0] [3] [8] [0] [0] [25] [0] [0] [0] [0] [0] [8] [0] [5]
===========================
Not audio/video stream or unsupported!
一段警示,而且会卡一下。睬都不要睬它…

现在Retry,愿上帝保佑你一切正常。

注2:RealPlayer解码器单独存放一个目录也许没有确实的必要,不过可理解作方便管理…
回复

使用道具 举报

发表于 2005-2-19 06:53:48 | 显示全部楼层
要重新 编译
!!!
回复

使用道具 举报

发表于 2005-2-19 14:19:32 | 显示全部楼层
请问rv9_libc6_i386_cs2.tgz这个包是干嘛用的??
回复

使用道具 举报

发表于 2005-2-19 14:42:39 | 显示全部楼层
是播放RMVB的插件,按照这里的说法:http://www.linuxfans.org/nuke/mo ... p;p=3841626#3841626
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-5-18 05:12 , Processed in 0.048350 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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