LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: lantern

MPlayer还是自己编译安装的好

[复制链接]
发表于 2008-12-28 07:47:34 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2008-12-28 11:05:20 | 显示全部楼层
选一个视频文件,比如 mkv, 让系统自动搜索,会到你到一个英文页面,选 community ,会给出 mp3 等的 repo 文件,点它,一切自动帮你搞定~
回复 支持 反对

使用道具 举报

发表于 2008-12-28 12:44:42 | 显示全部楼层
Post by sean_gao;1930698
通过Packman安装w32codecs-all和MPlayer之后,默认确实无法播放rm和rmvb格式的媒体文件,原因是w32codecs-all打包时是链的RealPlayer10的默认安装路径,解决方法可以是ln -s相关的codec,或者安装RealPlayer到/usr/lib/RealPlayer10。


good,很好。
回复 支持 反对

使用道具 举报

发表于 2008-12-28 16:25:11 | 显示全部楼层
"我用源码编译出错了,晕。。。
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/dragon/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] 错误 2"
我也如此,因为太菜,没再花心思,网上google了一下,下了个SVN,通过了编译
回复 支持 反对

使用道具 举报

发表于 2008-12-28 18:38:38 | 显示全部楼层
其实自己编译需要经验
在 configure 的时候看准要哪些特性,这就依赖你事先安装了哪些软件开发包
回复 支持 反对

使用道具 举报

发表于 2008-12-28 20:11:46 | 显示全部楼层
xterm下执行mplayer 播放rm/rmvb
然后看输出
多半是提示/usr/lib/RealPlayer10/codecs/drvc.so找不到
把那个文件扔进提示的位置就好了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-28 20:25:17 | 显示全部楼层
Post by yuanhong;1931018
xterm下执行mplayer 播放rm/rmvb
然后看输出
多半是提示/usr/lib/RealPlayer10/codecs/drvc.so找不到
把那个文件扔进提示的位置就好了


我这里是打不开那个dll

dragon@bogon:~> /usr/local/mplayer/bin/gmplayer
MPlayer dev-SVN-r28204-4.3 (C) 2000-2008 MPlayer Team
CPU: AMD Sempron(tm) (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
134 audio & 284 video codecs
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 /media/disk-1/Music/Test450p_800K.rmvb.
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:  [RV40]  800x448  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
comment:
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Called unk_malloc
Win32 LoadLibrary failed to load: drvc.dll
Error loading dll
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
Selected video codec: [rv40] vfm: realvid (Linux RealPlayer 9 RV40 decoder)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 11025 Hz, 1 ch, s16le, 11.0 kbit/6.25% (ratio: 1378->22050)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 11025Hz 1ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 448 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.79:1 - prescaling to correct movie aspect.
VO: [xv] 800x448 => 800x448 Planar I420
回复 支持 反对

使用道具 举报

发表于 2008-12-28 20:43:32 | 显示全部楼层
Post by lantern;1931027
我这里是打不开那个dll

dragon@bogon:~> /usr/local/mplayer/bin/gmplayer
MPlayer dev-SVN-r28204-4.3 (C) 2000-2008 MPlayer Team
CPU: AMD Sempron(tm) (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
134 audio & 284 video codecs
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 /media/disk-1/Music/Test450p_800K.rmvb.
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:  [RV40]  800x448  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
comment:
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Called unk_malloc
Win32 LoadLibrary failed to load: drvc.dll
Error loading dll
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
Selected video codec: [rv40] vfm: realvid (Linux RealPlayer 9 RV40 decoder)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 11025 Hz, 1 ch, s16le, 11.0 kbit/6.25% (ratio: 1378->22050)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
AO: [alsa] 11025Hz 1ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 800 x 448 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.79:1 - prescaling to correct movie aspect.
VO: [xv] 800x448 => 800x448 Planar I420

搞了这么多天还没有搞定,安装realplayer后它就不会报错了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-28 21:00:00 | 显示全部楼层
Post by chanshun8;1931044
搞了这么多天还没有搞定,安装realplayer后它就不会报错了。


我已经安装RealPlayer了!还是出错!

出错是出错,但是播放正常!
回复 支持 反对

使用道具 举报

发表于 2008-12-28 21:12:28 | 显示全部楼层
Post by lantern;1931054
我已经安装RealPlayer了!还是出错!

出错是出错,但是播放正常!


是要安装suse的RealPlayer10它才会寻找到,RealPlayer11的话还是会出错,我是安装源里的一点问题都没有。
回复 支持 反对

使用道具 举报

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

本版积分规则

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