X Error of failed request - xvimagesink
Weipeng HE
heweipeng at gmail.com
Wed Jul 13 09:58:26 UTC 2016
Hi all,
I have an issue of displaying video using gstreamer. It fails with
autovideosink, xvimagesink and fpsdisplaysink.
It works fine with ximagesink or if I use ssh x forwarding on another
computer.
Is there any solution for this? Thank you very much! (detailed info below)
Best,
Weipeng
Reproduce and error message:
$ gst-launch-1.0 -v videotestsrc ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps =
video/x-raw, format=(string)YUY2, width=(int)320, height=(int)240,
framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1,
interlace-mode=(string)progressive
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 150 (XVideo)
Minor opcode of failed request: 13 ()
Serial number of failed request: 31
Current serial number in output stream: 34
Extra info:
System : Ubuntu 14.04
uname -a : Linux 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22
15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Gstreamer : 1.2.4
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0
xvinfo :
X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) Textured Video"
number of ports: 32
port base: 111
operations supported: PutImage
supported visuals:
depth 24, visualID 0x47
number of attributes: 1
"XV_SYNC_TO_VBLANK" (range -1 to 1)
client settable attribute
client gettable attribute (current value is 1)
maximum XvImage size: 16384 x 16384
Number of image formats: 5
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x434d5658 (XVMC)
guid: 58564d43-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
Adaptor #1: "Intel(R) Video Sprite"
number of ports: 1
port base: 143
operations supported: PutImage
supported visuals:
depth 24, visualID 0x47
number of attributes: 2
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_ALWAYS_ON_TOP" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 8192 x 8192
Number of image formats: 3
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x18424752
guid: 50415353-5448-524f-5547-485247423234
bits per pixel: 32
number of planes: 1
type: RGB (packed)
depth: 24
red, green, blue masks: 0xff0000, 0xff00, 0xff
More information about the gstreamer-devel
mailing list