insufficient resources for HD video

Erik Norgaard norgaard at locolomo.org
Wed Feb 21 20:02:48 UTC 2007


Hi:

I recently posted asking about mpeg2-ts, I got a reference to a mpeg2-ts 
  that plays fine. It appears that the problem is not playing ts but 
rather resolution, or something: With mplayer I get an error

X Error of failed request:  BadAlloc (insufficient resources for operation)
   Major opcode of failed request:  140 (XVideo)
   Minor opcode of failed request:  19 ()
   Serial number of failed request:  23
   Current serial number in output stream:  24

(Full output below)

How do I process HDV streams? I can't see if the problem is the screen 
is too small or there is not enough memory.

One thing is to play, but I am thinking of buying a HDV cam so I also 
need to process/edit the stream.

Thanks, Erik

Some HDV clips I have tried are here:

   http://dvinfo.net/conf/archive/index.php/t-52060.html

Which should be mpeg2-ts but in 1440x1080 -> 1920x1080. mplayer produces 
the following output:

photon$ mplayer XLH1bikeseq24.m2t
MPlayer 1.0rc1-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model: 13, 
Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing XLH1bikeseq24.m2t.
TS file format detected.
VIDEO MPEG2(pid=2064) AUDIO MPA(pid=2068) NO SUBS (yet)!  PROGRAM N. 100
VIDEO:  MPEG2  1440x1080  (aspect 3)  29.970 fps  25000.0 kbps (3125.0 
kbyte/s)
[VO_SDL] Using driver: x11.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1440 x 1080 (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 adding the scale filter, 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))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->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 - 1440 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [sdl] 1440x1080 => 1920x1080 Planar YV12
Selected font is fixed-width. ct: -0.003   2/  2 ??% ??% ??,?% 0 0
X Error of failed request:  BadAlloc (insufficient resources for operation)
   Major opcode of failed request:  140 (XVideo)
   Minor opcode of failed request:  19 ()
   Serial number of failed request:  23
   Current serial number in output stream:  24

Thanks, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3408 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070221/d4783281/smime.bin


More information about the freebsd-questions mailing list