decodebin - static linking of decoder and sink

Ash 20001 ash20001 at hotmail.com
Thu Apr 28 06:42:53 UTC 2016


Is there an easy way I can fix this? Just add maxwidth/maxheight to the caps?
How does decodebin do it?

Subject: Re: decodebin - static linking of decoder and sink
From: sebastian at centricular.com
To: gstreamer-devel at lists.freedesktop.org
Date: Thu, 28 Apr 2016 09:25:46 +0300

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
 

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160427/d9230bcd/attachment.html>


More information about the gstreamer-devel mailing list