<div dir="auto">I actually reported this recently here also: <a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1709#note_1721501">https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1709#note_1721501</a><div dir="auto"><br></div><div dir="auto">I have a custom application so I was able to just check the pad-added call back and only link the pad that comes through with video caps. (2 pads get added: 1 for onvif and 1 for video). </div><div dir="auto"><br></div><div dir="auto">As I posted in that ticket, I'm also surprised that the cli doesn't auto find the appropriate pad to link. You could try adding a capsfilter after your uridecodebin3 for video caps only and see if this helps the pipeline properly link.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 20, 2023, 4:22 AM Edward Hervey via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
  Please try with a more recent GStreamer version (1.20.x or the<br>
upcoming 1.22 release). Pretty sure this was fixed.<br>
<br>
  BR,<br>
<br>
    Edward<br>
<br>
On Fri, 2023-01-20 at 11:04 +0200, Vladan Jovanovic via gstreamer-devel<br>
wrote:<br>
> I assumed this would be the uridecodebin3 issue as I've seen reports<br>
> of similar issues before for uridecodebin and it was fixed there.<br>
> <br>
> In case it is not - any advice on what plugin is missing or what<br>
> needs<br>
> to be done for uridecodebin3 to properly stream from RTSP source?<br>
> <br>
> best regards,<br>
> Vladan<br>
> <br>
> On Wed, Jan 11, 2023 at 3:28 PM Vladan Jovanovic<br>
> <<a href="mailto:vladan.jovanovic@gmail.com" target="_blank" rel="noreferrer">vladan.jovanovic@gmail.com</a>> wrote:<br>
> > <br>
> > Hi<br>
> > <br>
> > I'm encountering an issue with uridecodebin3 that it is not able to<br>
> > initiate streaming from RTSP source due to a missing<br>
> > VND.ONVIF.METADATA RTP depayloader. Is this a known issue for<br>
> > uridecodebin3?<br>
> > <br>
> > This happens on gstreamer 1.16.3 on Ubuntu x86 as well as gstreamer<br>
> > 1.20.0 on i.MX/ARM CPU.<br>
> > <br>
> > root@imx8qmmek:~# gst-launch-1.0 uridecodebin3<br>
> > uri=rtsp://<a href="http://192.168.10.114/btox_1080p_11_mbps.mp4" rel="noreferrer noreferrer" target="_blank">192.168.10.114/btox_1080p_11_mbps.mp4</a> !<br>
> > imxvideoconvert_g2d<br>
> > ! autovideosink<br>
> > <br>
> > Setting pipeline to PAUSED ...<br>
> > Pipeline is live and does not need PREROLL ...<br>
> > Progress: (open) Opening Stream<br>
> > Progress: (connect) Connecting to<br>
> > rtsp://<a href="http://192.168.10.114/btox_1080p_11_mbps.mp4" rel="noreferrer noreferrer" target="_blank">192.168.10.114/btox_1080p_11_mbps.mp4</a><br>
> > Pipeline is PREROLLED ...<br>
> > Prerolled, waiting for progress to finish...<br>
> > Progress: (open) Retrieving server options<br>
> > Progress: (open) Retrieving media info<br>
> > Progress: (request) SETUP stream 0<br>
> > Progress: (request) SETUP stream 1<br>
> > Progress: (open) Opened Stream<br>
> > Setting pipeline to PLAYING ...<br>
> > New clock: GstSystemClock<br>
> > Progress: (request) Sending PLAY request<br>
> > Redistribute latency...<br>
> > Redistribute latency...<br>
> > Redistribute latency...<br>
> > Progress: (request) Sending PLAY request<br>
> > Redistribute latency...<br>
> > Progress: (request) Sent PLAY request<br>
> > Redistribute latency...<br>
> > Redistribute latency...<br>
> > Redistribute latency...<br>
> > <br>
> > ====== V4L2DEC: 1.20.0 build on Jul 28 2022 06:57:16. ======<br>
> > Redistribute latency...<br>
> > Redistribute latency...<br>
> > Missing element: VND.ONVIF.METADATA RTP depayloader<br>
> > ERROR: from element<br>
> > /GstPipeline:pipeline0/GstURIDecodeBin3:uridecodebin3-<br>
> > 0/GstDecodebin3:decodebin3-0/GstParseBin:<br>
> > parsebin1: Your GStreamer installation is missing a plug-in.<br>
> > Additional debug info:<br>
> > ../git/gst/playback/gstparsebin.c(3470): gst_parse_bin_expose ():<br>
> > /GstPipeline:pipeline0/GstURIDecodeBin3:uridecode<br>
> > bin3-0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin1:<br>
> > no suitable plugins found:<br>
> > Missing parser: application/x-rtp (application/x-rtp,<br>
> > media=(string)application, payload=(int)98, clock-rate=(int)9<br>
> > 0000, encoding-name=(string)VND.ONVIF.METADATA, npt-<br>
> > start=(guint64)0,<br>
> > npt-stop=(guint64)410634000000, play-speed=(d<br>
> > ouble)1, play-scale=(double)1, onvif-mode=(boolean)false,<br>
> > ssrc=(uint)1944520475)<br>
> > <br>
> > Execution ended after 0:00:02.594221971<br>
> > Setting pipeline to NULL ...<br>
> > <br>
> > I can start streaming just fine specifying the pipeline directly:<br>
> > gst-launch-1.0 rtspsrc<br>
> > location="rtsp://<a href="http://192.168.10.114/btox_1080p_11_mbps.mp4" rel="noreferrer noreferrer" target="_blank">192.168.10.114/btox_1080p_11_mbps.mp4</a>" !<br>
> > rtph264depay<br>
> > ! h264parse ! v4l2h264dec ! imxvideoconvert_g2d ! autovideosink<br>
> > <br>
> > best regards,<br>
> > Vladan<br>
<br>
</blockquote></div>