<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Is there an easy way I can fix this? Just add maxwidth/maxheight to the caps?<div><br></div><div>How does decodebin do it?<br><br><div>Subject: Re: decodebin - static linking of decoder and sink<br>From: sebastian@centricular.com<br>To: gstreamer-devel@lists.freedesktop.org<br>Date: Thu, 28 Apr 2016 09:25:46 +0300<br><br><pre>On Mi, 2016-04-27 at 14:24 -0700, Ash 20001 wrote:<br>> Hi Sebastian,<br>> Here is the pipeline picture from within my C++ app using appsrc<br>> where I am trying to statically create pipeline. <br>> Also attached is the DEBUG log (zipped)...I think the key portion is<br>> this:<br>> <br>> D/GST_LOG (22134): : (0) > [_0_] 0:00:05.562008914 0xb423b690 DEBUG <br>> GST_CAPS<br>> gstpad.c:5034:pre_eventfunc_check:<omx_h264dec:sink> caps video/x-<br>> h264, width=(int)1280, height=(int)720, framerate=(fraction)0/1,<br>> parsed=(boolean)true, stream-format=(string)avc,<br>> alignment=(string)au, level=(string)4, profile=(string)high,<br>> codec_data=(buffer)01640028ffe1000b67640028ac34ec05005b9001000468ea43<br>> 8b not accepted<br>> <br>> I am not sure why this is not accepted as the sink pad on omx_h264dec<br>> says:<br>> SINK template: 'sink'<br>> Availability: Always<br>> Capabilities:<br>> video/x-h264<br>> width: [ 0, 1920 ]<br>> height: [ 0, 1088 ]<br>> maxwidth: [ 0, 1920 ]<br>> maxheight: [ 0, 1088 ]<br>> framerate: [ 0/1, 2147483647/1 ]<br> <br>The caps are missing the maxwidth/maxheight fields. Whatever decoder<br>you're using there is using non-standard caps fields and as such can't<br>work with any of the other GStreamer elements out of the box.<br> <br>You should complain to whoever provided you this decoder.<br> <br>-- <br>Sebastian Dröge, Centricular Ltd ˇ <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br> <br></pre><br>_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</div></div> </div></body>
</html>