decodebin - static linking of decoder and sink

Sebastian Dröge sebastian at centricular.com
Thu Apr 28 06:25:46 UTC 2016


On Mi, 2016-04-27 at 14:24 -0700, Ash 20001 wrote:
> Hi Sebastian,
> Here is the pipeline picture from within my C++ app using appsrc
> where I am trying to statically create pipeline. 
> Also attached is the DEBUG log (zipped)...I think the key portion is
> this:
> 
> D/GST_LOG (22134): : (0) > [_0_] 0:00:05.562008914 0xb423b690 DEBUG  
>             GST_CAPS
> gstpad.c:5034:pre_eventfunc_check:<omx_h264dec:sink> caps video/x-
> h264, width=(int)1280, height=(int)720, framerate=(fraction)0/1,
> parsed=(boolean)true, stream-format=(string)avc,
> alignment=(string)au, level=(string)4, profile=(string)high,
> codec_data=(buffer)01640028ffe1000b67640028ac34ec05005b9001000468ea43
> 8b not accepted
> 
> I am not sure why this is not accepted as the sink pad on omx_h264dec
> says:
>   SINK template: 'sink'
>     Availability: Always
>     Capabilities:
>       video/x-h264
>                   width: [ 0, 1920 ]
>                  height: [ 0, 1088 ]
>                maxwidth: [ 0, 1920 ]
>               maxheight: [ 0, 1088 ]
>               framerate: [ 0/1, 2147483647/1 ]

The caps are missing the maxwidth/maxheight fields. Whatever decoder
you're using there is using non-standard caps fields and as such can't
work with any of the other GStreamer elements out of the box.

You should complain to whoever provided you this decoder.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160428/baf28947/attachment.sig>


More information about the gstreamer-devel mailing list