LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1868|回复: 10

FC5下的yum安装mplayer后的解码器的目录在哪里??

[复制链接]
发表于 2006-6-8 19:17:44 | 显示全部楼层 |阅读模式
如题,请指教
发表于 2006-6-8 20:18:37 | 显示全部楼层
/usr/lib/win32
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-8 20:29:00 | 显示全部楼层
可是我把解码器essential里的文件都放在/usr/lib/win32/下,为什么还是不能放视频呢?
应该怎样做呢?
回复 支持 反对

使用道具 举报

发表于 2006-6-8 20:29:48 | 显示全部楼层
使用命令:
whereis mplayer |grep lib
即可找到
回复 支持 反对

使用道具 举报

发表于 2006-6-8 20:37:55 | 显示全部楼层
应该使用all的解码器
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-9 06:50:00 | 显示全部楼层
我下了all的解码器,放在/usr/lib/win32/下,可为什么还是不能方呢?放rmvb时,有声音没有视频,这是shell中的内容:

MPlayer dev-CVS-060417-03:18-rpm.livna.org-4.1.0 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP/XP-M Barton,Thorton (Family: 6, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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 选美小姐2.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
Stream mimetype: application/x-pn-realevent
Not audio/video stream or unsupported!
Stream mimetype: application/x-pn-imagemap
Not audio/video stream or unsupported!
Stream mimetype: logical-fileinfo
Something went wrong, no index chunk found on given address (16777216)
VIDEO:  [RV40]  832x352  24bpp  23.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: �ֻ�ͼ��֮��-mms.101860.com
author: �ֻ�ͼ��֮��-mms.101860.com
copyright: �ֻ�ͼ��֮��-mms.101860.com
File not found: '/root/.mplayer/default.sub'
Failed to open /root/.mplayer/default.sub
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/win32/drvc.so: cannot restore segment prot after reloc: Permission denied
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 restore segment prot after reloc: Permission denied
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!
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
各位大哥帮忙看一下,看问题出在哪里??
我用where
回复 支持 反对

使用道具 举报

发表于 2006-6-9 13:11:16 | 显示全部楼层
把selinux中兼容性里面允许访问共享库的选项勾上就行了 。
回复 支持 反对

使用道具 举报

发表于 2006-6-9 13:54:52 | 显示全部楼层
从“Error: /usr/lib/win32/drvc.so: cannot restore segment prot after reloc: Permission denied”这里就可以看到,用chmod设置一下/usr/lib/win32目录的权限:
chmod -R 644 /usr/lib/win32
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-6-10 12:13:38 | 显示全部楼层
谢谢7楼的大哥,现在可以了!
回复 支持 反对

使用道具 举报

发表于 2006-6-11 01:29:21 | 显示全部楼层
请问mplayer的解码器到什么地方能下载到。
回复 支持 反对

使用道具 举报

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

本版积分规则

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