红联Linux门户
Linux帮助

MPlayer 在FC9下播放无画面

发布时间:2008-09-07 09:58:35来源:红联作者:Pmsoffice
几经周折,才装上MPLAYER,但是无论是什么格式,均出现只有声音和黑屏的情况,并且一直显示
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)?,?% 0 0
以下是在终端显示的部分信息,向高手求助,谢谢!!!
我是新手,麻烦各位大侠了!

[root@localhost ~]# /usr/local/mplayer/bin/mplayer /media/Entertainments/movie/ 木乃伊3.龙帝之墓CD1.avi
MPlayer 1.0rc2-4.3.0 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ (Family: 15, Model: 75, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing /media/Entertainments/movie/木乃伊3.龙帝之墓CD1.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 720x278 24bpp 29.970 fps 1413.9 kbps (172.6 kbyte/s)
Clip info:
Name: VIDEO DVD.Title1.DVDRip
Artist: GRiM
Product: VIDEO DVD
Software: Lavf52.17.0
==========================================================================
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] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 278 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.59:1 - prescaling to correct movie aspect.
VO: [xv] 720x278 => 720x278 Planar YV12
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0
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)?,?% 0 0
X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0

[ 本帖最后由 Pmsoffice 于 2008-9-7 10:03 编辑 ]
文章评论

共有 1 条评论

  1. Pmsoffice 于 2008-09-07 18:25:55发表:

    引自这位朋友的方法
    http://hi.baidu.com/zhancang/blog/item/6d5b4106105cc77f03088145.html
    这两天下载了一部avi格式的电影,用mplayer播放,却自动退出。在终端中使用命令行播放,没有声音,也没有画面,只是不断的输出:

    X11 error: BadAlloc (insufficient resources for operation)

    后来发现一个简单的方法,就是加入-vo x11就可以了。
    zhancang@ubuntu:~$ mplayer -vo x11 name.avi