乾坤一笑 阅读(1387) 评论(11)
一般来说都是缺相关解码插件的问题。定位问题的方法很简单,在xterm下执行mplayer,看看输出结果再说。如下:

$ mplayer -fs test1.rm
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing v1.rm.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
VIDEO: [RV30] 320x240 24bpp 29.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: K1mv_001 Digital Phoro Album �2001
author: Digital Phoro Album http://manet.iinet.net.au/photoalbum/
copyright: Digital Phoro Album �2001
xscreensaver_disable: Could not find XScreenSaver window.
GNOME screensaver disabled
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/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/lib/codecs/drv3.so.6.0: cannot open shared object file: No such file or directory
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
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/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 0x30335652.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 1 ch, s16le, 32.0 kbit/9.08% (ratio: 4005->44100)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 42.0 (41.9) of 1403.0 (23:23.0) 0.8%

MPlayer interrupted by signal 2 in module: play_audio


上述信息表明,mplayer运行过程中一直在查找一个叫做drvc.so的解码链接库,但是我们并没有提供。如果我们找到这个库,并把他放在/usr/lib/codecs/里,就可以解决这个问题。对于i386的机器,直接装w32codecs就可以了。对于x64的机器,可以安装essential-amd64-20061203.tar.bz2这个包,下载链接是http://www2.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20061203.tar.bz2





评论列表
hatemath
re: mplayer播放rm/rmvb有声音没图像
mp一般都是有图像没声音的,你比较特殊。
sdfd
re: mplayer播放rm/rmvb有声音没图像
mplayer -fs test1.rm -vo x11
加盟
re: mplayer播放rm/rmvb有声音没图像
<a href="http://hexun.com/gzhry2/default.html">广州瑞雅</a>
<a href="http://gzhry1.blogcn.com/index.shtml">广州瑞雅</a>
<a href=http://blog.sina.com.cn/gzhry2">广州瑞雅</a>
<a href="http://hexun.com/gzhry3/default.html">广州瑞雅</a>
445454
re: mplayer播放rm/rmvb有声音没图像
<a href=" http://shop57256185.taobao.com">登高车</a>
<a href=" http://shop57256185.taobao.com">张国书15905155873</a>
ww
re: mplayer播放rm/rmvb有声音没图像
<a href=" http://shop57256185.taobao.com">蚊帐</a>
<a href=" http://shop57256185.taobao.com">物流台车</a>
<a href=" http://shop57256185.taobao.com">仓储笼</a>
<a href=" http://shop57256185.taobao.com">登高车</a>
<a href=" http://shop57256185.taobao.com">张国书15905155873</a>

发表评论
切换编辑模式