Hi,

Steve Langasek <[EMAIL PROTECTED]> - Mon, Jan 17, 2005:

> $ gst-launch-0.8 filesrc location=warty-dance.avi '!' xvimagesink
> RUNNING pipeline ...
> X Error of failed request:  BadAlloc (insufficient resources for operation)
>   Major opcode of failed request:  141 (XVideo)
>   Minor opcode of failed request:  19 ()
>   Serial number of failed request:  49
>   Current serial number in output stream:  50
> Switching this to either sdlvideosink or ximagesink fixes this problem.

 I don't know what's happening, and there might be another bug, but I'm
 not sure you're supposed to send things to xvimagesink that way.  Here,
 it worked though, and I've got two or three lines of scrambled pixels.

 Could you please try:
 gst-launch-0.8 filesrc location=warty-dance.avi '!' ffmpegcolorspace \
    '!' ximagesink
 and:
 gst-launch-0.8 filesrc location=warty-dance.avi '!' ffmpegcolorspace \
    '!' xvimagesink

 Please paste the result of following commands too:
 gst-launch-0.8 -v videotestsrc ! ximagesink
 and:
 gst-launch-0.8 -v videotestsrc ! xvimagesink

 For example, I get:
 bee% gst-launch-0.8 -v videotestsrc ! ximagesink
 EXECUTION du tube en cours ...
 /pipeline0/videotestsrc0.src: caps = video/x-raw-rgb, bpp=(int)32,
 endianness=(int)4321, depth=(int)24, red_mask=(int)65280,
 green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)320,
 height=(int)240, framerate=(double)30, pixel-aspect-ratio=(fraction)1/1
 /pipeline0/ximagesink0.sink: caps = video/x-raw-rgb, bpp=(int)32,
 endianness=(int)4321, depth=(int)24, red_mask=(int)65280,
 green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)320,
 height=(int)240, framerate=(double)30, pixel-aspect-ratio=(fraction)1/1
 /pipeline0/videotestsrc0.src: active = TRUE
 /pipeline0/ximagesink0.sink: active = TRUE
 bee% gst-launch-0.8 -v videotestsrc ! xvimagesink
 EXECUTION du tube en cours ...
 /pipeline0/videotestsrc0.src: caps = video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 framerate=(double)30
 /pipeline0/xvimagesink0.sink: caps = video/x-raw-yuv,
 format=(fourcc)YUY2, width=(int)320, height=(int)240,
 framerate=(double)30
 /pipeline0/videotestsrc0.src: active = TRUE
 /pipeline0/xvimagesink0.sink: active = TRUE


     Thanks,

-- 
Lo�c Minier <[EMAIL PROTECTED]>

Reply via email to