<div dir="ltr"><div>To clarify, in the pad-added callback/signal of the decodebin:</div><div>I have a src pad with caps=video/x-h264,stream-format=avc, however the downstream sink pad to link has caps=video/x-h264,stream-format=byte-stream. Hence I am unable to link them, I think I am missing a re-negotiation for the caps or something.</div><div><br></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 2, 2022 at 9:49 PM Eslam Ahmed <<a href="mailto:eslam.ahmed@avidbeam.com">eslam.ahmed@avidbeam.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,<br></div><div><br></div><div>I am passing a pipeline to <span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:"Droid Sans Mono","monospace",monospace;font-size:14px;white-space:pre-wrap">GstRTSPMediaFactory</span><span style="color:rgb(255,128,128)"> </span>via gst_rtsp_media_factory_set_launch. I wish to use decodebin inside that pipeline and stop decoding at a given point.</div><div><br></div><div>I am trying to force decodebin to stop decoding at caps=video/x-h264,stream-format=byte-stream. However, it doesn't seem to stop at the specified caps and it even continues decoding after obtaining video/x-h264,stream-format=avc from the h264parse element and produces I420 Raw image.</div><div><br></div><div>Is there a way to influence the h264parse that is inserted by the decodebin to produce stream-format of type byte-stream?</div><div><br></div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div></div>
</blockquote></div>