X Error of failed request: BadMatch (invalid parameter attributes)

Yogesh Tyagi yogesh.bit2006 at gmail.com
Thu Jun 6 05:24:53 PDT 2013


Hi,

I am getting "X Error of failed request:  BadMatch (invalid parameter
attributes)" error on executing following command:



# gst-launch -v filesrc location=/root/videoEncode/352x 288_GIJOE.raw
use-mmap=TRUE blocksize=152064 !
video/x-raw-yuv,width=352,height=288,framerate=15/1,format=\(fourcc\)I420 !
MixVideoEncoderH264 bit-rate=128000 rate-control=NONE need-display=1
name=enc ! queue ! filesink location=H264_1.h264 enc. ! vaimagesink


libva: libva version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/emgd_drv_video.so
Intel(R) Embedded Media and Graphics Driver 1.18 Build 3398
Using XCB based dispatch table.
libva: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
video/x-raw-yuv, width=(int)352, height=(int)288, framerate=(fraction)15/1,
format=(fourcc)I420
/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:src_01: caps =
video/x-h264, width=(int)352, height=(int)288, framerate=(fraction)15/1,
stream-format=(string)avc, alignment=(string)au
/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:src_04: caps =
video/x-va, width=(int)352, height=(int)288, framerate=(fraction)15/1,
va_sync_surface=(boolean)false
/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:sink: caps =
video/x-raw-yuv, width=(int)352, height=(int)288, framerate=(fraction)15/1,
format=(fourcc)I420
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264,
width=(int)352, height=(int)288, framerate=(fraction)15/1,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0142c01effe1001f6742c01eab40b04a420000030002000003003dc0000fa0000bb8000003001001000428ce0bc8
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264,
width=(int)352, height=(int)288, framerate=(fraction)15/1,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0142c01effe1001f6742c01eab40b04a420000030002000003003dc0000fa0000bb8000003001001000428ce0bc8
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps =
video/x-h264, width=(int)352, height=(int)288, framerate=(fraction)15/1,
stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0142c01effe1001f6742c01eab40b04a420000030002000003003dc0000fa0000bb8000003001001000428ce0bc8
/GstPipeline:pipeline0/GstVaImageSink:vaimagesink0.GstPad:sink: caps =
video/x-va, width=(int)352, height=(int)288, framerate=(fraction)15/1,
va_sync_surface=(boolean)false
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 5160942589 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstVaImageSink:vaimagesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:src_04: caps = NULL
/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:src_01: caps = NULL
/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  133 (XVideo)
  Minor opcode of failed request:  13 ()
  Serial number of failed request:  52
  Current serial number in output stream:  54

Transcoding runs fine for few seconds and then above error is
generated. Can somebody provide me a hint as why this error is getting
generated?

Thanks,
Yogesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130606/7c4dbcca/attachment.html>


More information about the gstreamer-devel mailing list