[问题]mplayer 遇到新问题,无法播放rmvb,非解码器问题(已解决)

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

[问题]mplayer 遇到新问题,无法播放rmvb,非解码器问题(已解决)

#1

帖子 yohu » 2007-01-04 23:15

mplayer还有totem都无法播放rmvb,解码器装了,提示:

代码: 全选

==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/win32/drvc.so: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: 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/win32/drv4.so.6.0: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: 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
Win32 LoadLibrary failed to load: 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
Error: /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: 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!

google了一下,发现有人跟我一样的,说是跟selinux有关,还有人说运行chcon -t textrel_shlib_t /usr/lib/codecs/drv*可以解决,我运行了结果报错:

代码: 全选

chcon: can't apply partial context to unlabeled file /usr/lib/codecs/drv2.so
chcon: can't apply partial context to unlabeled file /usr/lib/codecs/drv2.so.6.0
chcon: can't apply partial context to unlabeled file /usr/lib/codecs/drv3.so.6.0
chcon: can't apply partial context to unlabeled file /usr/lib/codecs/drv4.so.6.0
chcon: can't apply partial context to unlabeled file /usr/lib/codecs/drvc.so
郁闷哦~~各位帮帮我,我等着看片呢。
上次由 yohu 在 2007-01-04 23:23,总共编辑 1 次。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-01-04 23:17

/usr/lib/win32/的链接丢了吧。
/usr/lib/codecs/才是实际安装的位置。
先看看这2个目录吧。
● 鸣学
yohu
帖子: 955
注册时间: 2006-12-18 17:04
来自: 福建泉州

#3

帖子 yohu » 2007-01-04 23:22

吐血,我自己的问题,已经解决了,今天刚重装系统,结果做链接的时候,做错掉了,做到/usr/share/win32了,楼上的方法也不对,我/usr/lib下本来就有codecs的链接,最后我做了/usr/lib/win32才解决的问题,哈哈~折腾了半个小时,谢谢eexpress,要不是你提醒我还得折腾半天。
回复