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

Yogesh Tyagi yogesh.bit2006 at gmail.com
Thu Jun 6 05:56:27 PDT 2013


Hi,

With GST_DEBUG=3 I found that following log is getting generated:

0:00:00.487000907  1390  0x8c2e050 INFO        GST_ELEMENT_PADS
gstutils.c:1698:gst_element_link_pads_full: trying to link element
enc:(any) to element vaimagesink0:(any)
0:00:00.487361292  1390  0x8c2e050 INFO        GST_ELEMENT_PADS
gstelement.c:972:gst_element_get_static_pad: no such pad 'src_04' in
element "enc"
0:00:00.487584089  1390  0x8c2e050 INFO        GST_ELEMENT_PADS
gstutils.c:1216:gst_element_get_compatible_pad:<enc> Could not find a
compatible pad to link to vaimagesink0:sink
0:00:00.487635074  1390  0x8c2e050 INFO                 default
gstutils.c:2037:gst_element_link_pads_filtered: Could not link pads:
enc:(null) - vaimagesink0:(null)
Setting pipeline to PAUSED ...
0:00:00.508238789  1390  0x8c2e050 INFO              GST_STATES
gstelement.c:2460:gst_element_continue_state:<vaimagesink0> completed state
change to READY
0:00:00.508375401  1390  0x8c2e050 INFO              GST_STATES
gstelement.c:2365:_priv_gst_element_state_changed:<vaimagesink0> notifying
about state-changed NULL to READY (VOID_PENDING pending)

Am I missing something in the gst-launch command?

Thanks,
Yogesh


On Thu, Jun 6, 2013 at 5:54 PM, Yogesh Tyagi <yogesh.bit2006 at gmail.com>wrote:

> 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/d1528087/attachment.html>


More information about the gstreamer-devel mailing list