uridecodebin3 fails due to missing RTP depayloader

Matt Feury mattfeury at gmail.com
Fri Jan 20 11:31:55 UTC 2023


I actually reported this recently here also:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1709#note_1721501

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).

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.

On Fri, Jan 20, 2023, 4:22 AM Edward Hervey via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:

> Hi,
>
>   Please try with a more recent GStreamer version (1.20.x or the
> upcoming 1.22 release). Pretty sure this was fixed.
>
>   BR,
>
>     Edward
>
> On Fri, 2023-01-20 at 11:04 +0200, Vladan Jovanovic via gstreamer-devel
> wrote:
> > I assumed this would be the uridecodebin3 issue as I've seen reports
> > of similar issues before for uridecodebin and it was fixed there.
> >
> > In case it is not - any advice on what plugin is missing or what
> > needs
> > to be done for uridecodebin3 to properly stream from RTSP source?
> >
> > best regards,
> > Vladan
> >
> > On Wed, Jan 11, 2023 at 3:28 PM Vladan Jovanovic
> > <vladan.jovanovic at gmail.com> wrote:
> > >
> > > Hi
> > >
> > > I'm encountering an issue with uridecodebin3 that it is not able to
> > > initiate streaming from RTSP source due to a missing
> > > VND.ONVIF.METADATA RTP depayloader. Is this a known issue for
> > > uridecodebin3?
> > >
> > > This happens on gstreamer 1.16.3 on Ubuntu x86 as well as gstreamer
> > > 1.20.0 on i.MX/ARM CPU.
> > >
> > > root at imx8qmmek:~# gst-launch-1.0 uridecodebin3
> > > uri=rtsp://192.168.10.114/btox_1080p_11_mbps.mp4 !
> > > imxvideoconvert_g2d
> > > ! autovideosink
> > >
> > > Setting pipeline to PAUSED ...
> > > Pipeline is live and does not need PREROLL ...
> > > Progress: (open) Opening Stream
> > > Progress: (connect) Connecting to
> > > rtsp://192.168.10.114/btox_1080p_11_mbps.mp4
> > > Pipeline is PREROLLED ...
> > > Prerolled, waiting for progress to finish...
> > > Progress: (open) Retrieving server options
> > > Progress: (open) Retrieving media info
> > > Progress: (request) SETUP stream 0
> > > Progress: (request) SETUP stream 1
> > > Progress: (open) Opened Stream
> > > Setting pipeline to PLAYING ...
> > > New clock: GstSystemClock
> > > Progress: (request) Sending PLAY request
> > > Redistribute latency...
> > > Redistribute latency...
> > > Redistribute latency...
> > > Progress: (request) Sending PLAY request
> > > Redistribute latency...
> > > Progress: (request) Sent PLAY request
> > > Redistribute latency...
> > > Redistribute latency...
> > > Redistribute latency...
> > >
> > > ====== V4L2DEC: 1.20.0 build on Jul 28 2022 06:57:16. ======
> > > Redistribute latency...
> > > Redistribute latency...
> > > Missing element: VND.ONVIF.METADATA RTP depayloader
> > > ERROR: from element
> > > /GstPipeline:pipeline0/GstURIDecodeBin3:uridecodebin3-
> > > 0/GstDecodebin3:decodebin3-0/GstParseBin:
> > > parsebin1: Your GStreamer installation is missing a plug-in.
> > > Additional debug info:
> > > ../git/gst/playback/gstparsebin.c(3470): gst_parse_bin_expose ():
> > > /GstPipeline:pipeline0/GstURIDecodeBin3:uridecode
> > > bin3-0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin1:
> > > no suitable plugins found:
> > > Missing parser: application/x-rtp (application/x-rtp,
> > > media=(string)application, payload=(int)98, clock-rate=(int)9
> > > 0000, encoding-name=(string)VND.ONVIF.METADATA, npt-
> > > start=(guint64)0,
> > > npt-stop=(guint64)410634000000, play-speed=(d
> > > ouble)1, play-scale=(double)1, onvif-mode=(boolean)false,
> > > ssrc=(uint)1944520475)
> > >
> > > Execution ended after 0:00:02.594221971
> > > Setting pipeline to NULL ...
> > >
> > > I can start streaming just fine specifying the pipeline directly:
> > > gst-launch-1.0 rtspsrc
> > > location="rtsp://192.168.10.114/btox_1080p_11_mbps.mp4" !
> > > rtph264depay
> > > ! h264parse ! v4l2h264dec ! imxvideoconvert_g2d ! autovideosink
> > >
> > > best regards,
> > > Vladan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230120/d17c7a13/attachment.htm>


More information about the gstreamer-devel mailing list