Why is ffmpeg and vlc able run RTSP stream but gstreamer is unable to?

I have a RTSP server streaming out h264 video. Both ffmpeg ( ffplay uri )and vlc are able to stream the video but gstreamer is unable to.

Below is the output of gstreamer when gst-play uri is launched:

ERROR Your GStreamer installation is missing a plug-in. for rtsp://---- ERROR debug information: ../gst/playback/gsturidecodebin.c(1028): no_more_pads_full (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0: no suitable plugins found: ../gst/rtsp/gstrtspsrc.c(7691): gst_rtspsrc_setup_streams_start (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source Reached end of play list.

Am I missing certain gstreamer plugins or is my RTSP video stream set up wrongly?

Appreciate any advice! Thank you!

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Please check if you can run this command:

gst-launch-1.0 rtspsrc location=_RTSP_URI_ ! rtph264depay ! h264parse ! nvv4l2decoder ! nvoverlaysink

Hello DaneLLL

Thank you for the reply!

I got the following after running the above command:

Please clean gstreamer cache and try again:

$ rm .cache/gstreamer-1.0/registry.aarch64.bin

If the plugin is still absent, suggest re-install DeepStream SDK.

Not sure but you should use PC with desktop GPU. On Jetson platforms, the plugin is installed by default.

Hello DaneLLL,

Currently, I am getting this warning when running the command: WARNING: erroneous pipeline: no element “nvv4l2decoder”

May I know which plugins I am missing and how to install them? (Like a sudo apt)

I am running gstreamer on Ubuntu WSL on Windows 10.

Thank you.

Hello DaneLL,

When executing this command (gst-launch-1.0 rtspsrc location=rtsp://--- --gst-debug=3) I get this output:

Not sure how to make sense of this because my RTSP stream is sending via TCP.

UPDATE: Managed to solve the above errors seemed to be a udp uri issue. However, there is a new error from gstreamer:

Any advice is greatly appreciated!

Do you use Jetson platforms like Xavier or Jetson Nano?

I am not on any Jetson platforms.

Which hardware platform you’re using?

rtspsrc follows RFC 2326, please check with your RTSP server vendor whether it follows RFC 2326.

rtspsrc (gstreamer.freedesktop.org)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.