LinuxSir.cn,穿越时空的Linuxsir!

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

帮忙看看,opensuse11播放视频问题。

[复制链接]
发表于 2008-12-12 18:31:59 | 显示全部楼层 |阅读模式
前几天看gnome,不顺眼,就换到了kde上,我现在的版本是kde4.13很漂亮很稳定虽然启动有点慢,,,重装后就是安装vlc 安装后播放avi很ok,就是不能播放rmvb文件,于是安装了win32codic,还是不能播放rmvb,可是kaffeine却能播放了,本以为一切功德完满,可是晚上播放avi突然闪一下就没了,但是中文播放的也是这个文件,再换别的文件,也是一样,再用kaffine播放rmvb的时候只有声音没图像了郁闷...
安装了mplayer,也是一样,打开视频一闪就没了....在gnome的时候也遇到这种问题,不过当时装了很多插件,就奇迹的好了...囧...
难道这个也需要人品?!

我的主板是945的,显卡是集成的。

在命令行下用mplayer播放avi的信息如下....


mplayer shenghuaweiji.avi
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.0 (i686)-Packman (C) 2000-2008 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.26GHz (Family: 15, Model: 4, Stepping: 9)               
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1                             
Compiled with runtime CPU detection.                                                   
Can't open joystick device /dev/input/js0: No such file or directory                    
Can't init input joystick                                                               
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 shenghuaweiji.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  877.0 kbps (107.1 kbyte/s)
Clip info:                                                            
Software: Nandub v1.0rc2                                             
SUB: Detected subtitle file format: subviewer                        
SUB: Read 890 subtitles.                                             
SUB: Added subtitle file (1): ./shenghuaweiji.srt                     
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family         
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)               
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3                     
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)     
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)   
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)                              
Starting playback...                                                           
[mpeg4 @ 0x88c6130]Invalid and inefficient vfw-avi packed B frames detected   
[mpeg4 @ 0x88c6130]Invalid and inefficient vfw-avi packed B frames detected   
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)        
VDec: using Planar YV12 as output csp (no 0)                                   
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.                  
VO: [xv] 624x352 => 624x352 Planar YV12                                       
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation) 1.0% 0 0
X11 error: BadAlloc (insufficient resources for operation) 0.9% 0 0
X11 error: BadAlloc (insufficient resources for operation) 0.9% 0 0
X11 error: BadAlloc (insufficient resources for operation) 0.9% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
[mpeg4 @ 0x88c6130]Invalid and inefficient vfw-avi packed B frames detected

后面就是周而复始了...

各位大虾帮忙分析下,貌似是x11的问题,给个x11设置的截图...还一个是昨晚vlc的错误显示

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2008-12-12 21:02:48 | 显示全部楼层
Post by waylovin;1923005
前几天看gnome,不顺眼,就换到了kde上,我现在的版本是kde4.13很漂亮很稳定虽然启动有点慢,,,重装后就是安装vlc 安装后播放avi很ok,就是不能播放rmvb文件,于是安装了win32codic,还是不能播放rmvb,可是kaffeine却能播放了,本以为一切功德完满,可是晚上播放avi突然闪一下就没了,但是中文播放的也是这个文件,再换别的文件,也是一样,再用kaffine播放rmvb的时候只有声音没图像了郁闷...
安装了mplayer,也是一样,打开视频一闪就没了....在gnome的时候也遇到这种问题,不过当时装了很多插件,就奇迹的好了...囧...
难道这个也需要人品?!

我的主板是945的,显卡是集成的。

在命令行下用mplayer播放avi的信息如下....


mplayer shenghuaweiji.avi
MPlayer dev-SVN-r27637-4.3-openSUSE Linux 11.0 (i686)-Packman (C) 2000-2008 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.26GHz (Family: 15, Model: 4, Stepping: 9)               
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1                             
Compiled with runtime CPU detection.                                                   
Can't open joystick device /dev/input/js0: No such file or directory                    
Can't init input joystick                                                               
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 shenghuaweiji.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  877.0 kbps (107.1 kbyte/s)
Clip info:                                                            
Software: Nandub v1.0rc2                                             
SUB: Detected subtitle file format: subviewer                        
SUB: Read 890 subtitles.                                             
SUB: Added subtitle file (1): ./shenghuaweiji.srt                     
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family         
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)               
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3                     
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)     
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)   
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)                              
Starting playback...                                                           
[mpeg4 @ 0x88c6130]Invalid and inefficient vfw-avi packed B frames detected   
[mpeg4 @ 0x88c6130]Invalid and inefficient vfw-avi packed B frames detected   
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)        
VDec: using Planar YV12 as output csp (no 0)                                   
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.                  
VO: [xv] 624x352 => 624x352 Planar YV12                                       
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation) 1.0% 0 0
X11 error: BadAlloc (insufficient resources for operation) 0.9% 0 0
X11 error: BadAlloc (insufficient resources for operation) 0.9% 0 0
X11 error: BadAlloc (insufficient resources for operation) 0.9% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)         
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.7% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.8% 0 0
[mpeg4 @ 0x88c6130]Invalid and inefficient vfw-avi packed B frames detected

后面就是周而复始了...

各位大虾帮忙分析下,貌似是x11的问题,给个x11设置的截图...还一个是昨晚vlc的错误显示

应该是你安装的什么vlc 引起的,我的Mplayer,totem,realplayer,全部没有问题。
回复 支持 反对

使用道具 举报

发表于 2008-12-12 21:38:00 | 显示全部楼层
1 关闭 3d 特效试试看
2 重新启动后试试看
回复 支持 反对

使用道具 举报

发表于 2008-12-12 22:43:09 | 显示全部楼层
因为不太了解媒体播放方面的东东;但我用mplayer的经验是,最好装个图形界面,然后遇到播放问题时,在播放器的设置里可以换另外的显示输出驱动,直到好为止---如果还不好,那就没办法了:)
另外,可以加装个 smplayer 前端,这样许多单纯用mp播放有问题的文件(主要是可以播放,但还会弹出找不到XX文件的错误),这样错误也就没有了--呵呵,自欺欺人,掩耳盗铃吧--反正没有出现烦人的提示就好了:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-13 09:41:27 | 显示全部楼层
Post by four;1923092
1 关闭 3d 特效试试看
2 重新启动后试试看


囧....


关了特效什么都好了....

日了...

不会是KDE的bug吧....
回复 支持 反对

使用道具 举报

发表于 2008-12-13 20:00:34 | 显示全部楼层
Post by waylovin;1923208
囧....


关了特效什么都好了....

日了...

不会是KDE的bug吧....


不是,是你的显卡太垃圾了。以前我在NVIDIA FX 5200上开着特效看电影,结果播放器闪一下就崩溃了,关闭特效就完全正常。
回复 支持 反对

使用道具 举报

发表于 2008-12-14 15:04:23 | 显示全部楼层
额,我的显卡现在败给倒贴钱都没人要
呜呜呜
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-14 16:53:41 | 显示全部楼层
Post by 逍遥游510;1923457
不是,是你的显卡太垃圾了。以前我在NVIDIA FX 5200上开着特效看电影,结果播放器闪一下就崩溃了,关闭特效就完全正常。


确实是显卡太差,不过有个疑问,就是在gnome的时候也是这样,但是并没有关闭特效,只是加了一堆的解码插件就好了...
回复 支持 反对

使用道具 举报

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

本版积分规则

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