mplayer: X11 error: BadAlloc (insufficient resources for operation)

Anton Shterenlikht mexas at bristol.ac.uk
Wed Sep 30 16:59:41 UTC 2009


On Wed, Sep 30, 2009 at 05:36:40PM +0100, Anton Shterenlikht wrote:
> I've installed port multimedia/mplayer (mplayer-0.99.11_14)
> on 9.0-current ia64.
> 
> Trying to play an mpeg video I get endless stream of 
> 
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> V:   7.6 190/190 17% 82%  0.0% 0 0 
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> X11 error: BadAlloc (insufficient resources for operation)
> 
> Exiting... (End of file)

the same error happens on i386 HEAD:

Playing /usr/home/mexas/ex1.mpg.
MPEG-ES file format detected.
VIDEO:  MPEG1  656x432  (aspect 1)  25.000 fps  1152.0 kbps (144.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 656 x 432 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 656 x 432 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.52:1 - prescaling to correct movie aspect.
VO: [xv] 656x432 => 656x432 Planar YV12 
New_Face failed. Maybe the font path is wrong.                                                      
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[ws] Error in display.
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 132
[ws]  Minor code: 19
[ws]  Modules: flip_page

many thanks for any advice

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list