存档

文章标签 ‘Fedora’

Fedora 8 下mplayer无法播放RM文件问题

2008年4月9日 没有评论

mencoder -vf scale=320:240 -ffourcc FLV1 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -ovc lavc -lavcopts vcodec=flv:vbitrate=200 -srate 22050 -oac lavc -lavcopts acodec=mp3:abitrate=56 ok\1.rmvb -o ok\rmvb.flv

出现错误如下:
Opening video decoder: [realvid] RealVideo decoder
Error: libstdc++.so.5: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/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
Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed :(

阅读全文…

分类: 服务器 标签:

Fedora 8系统Mplayer不能播放rmvb的解决[转]

2008年4月9日 没有评论

适用平台:Fedora 8 64位系统验证通过。

 

故障原因:yum方式安装了mplayer。下载了all-codecs解码包,解压到readme中所说的/usr/local/lib/codecs/目录仍然不能播放rmvb。只有声音没有图像,提示Cannot find codec matching selected -vo and video format 0×30345652。其实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等类似目录下。

分类: 服务器 标签: