<div dir="ltr"><div style>Hi,</div><div style><br></div><div style>I am getting "X Error of failed request:  BadMatch (invalid parameter attributes)" error on executing following command:</div><div style><br></div>
<div style><br></div><div style><br></div><div># 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</div>
<div><br></div><div><br></div><div>libva: libva version 0.32.0</div><div>libva: va_getDriverName() returns 0</div><div>libva: Trying to open /usr/lib/dri/emgd_drv_video.so</div><div>Intel(R) Embedded Media and Graphics Driver 1.18 Build 3398</div>
<div>Using XCB based dispatch table.</div><div>libva: va_openDriver() returns 0</div><div>Setting pipeline to PAUSED ...</div><div>Pipeline is PREROLLING ...</div><div>/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, width=(int)352, height=(int)288, framerate=(fraction)15/1, format=(fourcc)I420</div>
<div>/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</div><div>/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</div>
<div>/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:sink: caps = video/x-raw-yuv, width=(int)352, height=(int)288, framerate=(fraction)15/1, format=(fourcc)I420</div><div>/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</div>
<div>/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</div>
<div>/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</div>
<div>/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</div><div>Pipeline is PREROLLED ...</div><div>
Setting pipeline to PLAYING ...</div><div>New clock: GstSystemClock</div><div>Got EOS from element "pipeline0".</div><div>Execution ended after 5160942589 ns.</div><div>Setting pipeline to PAUSED ...</div><div>Setting pipeline to READY ...</div>
<div>/GstPipeline:pipeline0/GstVaImageSink:vaimagesink0.GstPad:sink: caps = NULL</div><div>/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = NULL</div><div>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL</div>
<div>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL</div><div>/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:src_04: caps = NULL</div><div>/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:src_01: caps = NULL</div>
<div>/GstPipeline:pipeline0/MixVideoEncoderH264:enc.GstPad:sink: caps = NULL</div><div>/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL</div><div>Setting pipeline to NULL ...</div><div>Freeing pipeline ...</div>
<div>X Error of failed request:  BadMatch (invalid parameter attributes)</div><div>  Major opcode of failed request:  133 (XVideo)</div><div>  Minor opcode of failed request:  13 ()</div><div>  Serial number of failed request:  52</div>
<div>  Current serial number in output stream:  54</div><div></div><div style>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?</div>
<div style><br></div><div style>Thanks,</div><div style>Yogesh</div><div><br></div></div>