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

Sebastian Dröge sebastian at centricular.com
Sat Feb 26 10:19:45 UTC 2022


On Sat, 2022-02-26 at 10:53 +0800, Boss Bibu via gstreamer-devel wrote:
> Hello all,
> When executing this command (gst-launch-1.0 rtspsrc location=rtsp://-
> -- --gst-debug=3) I get this output: 
> image.png
> Not sure how to make sense of this because my RTSP stream is sending
> via TCP. Also, this rtsp stream works when launched on ffmpeg and
> vlc.
> Any help is much appreciated! Apologies if this is the wrong place to
> be asking such question.

That UDP URI looks a bit suspicious. Either the server sends something
strange or we're failing to properly construct/parse the UDP location.

Can you create an issue with
  - a wireshark capture of a connection attempt with GStreamer and
    separately with VLC?
  - a debug log of that same run with GST_DEBUG=6


FWIW, this is clearly trying to start streaming media via UDP so there
might be something else wrong along the way too.


Thanks!
-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com


More information about the gstreamer-devel mailing list