how to generate rtsp stream with gstreamer in TX2

Hi @kealennieh,

GStreamer doesn’t offer a “rtspsink” element, that can be used out of the box like the rtspsrc element for example. You can use the following example app they provide to generate a rtps stream and send it over the network:

An example based on your above GStreamer pipeline will be as follows:

./test-launch "v4l2src device="/dev/video0" ! video/x-raw,width=640,height=480 ! omxh265enc ! rtph265pay name=pay0 pt=96"

You may find interesting the following link about our GStreamer RTSPsink solution:

As a quick overview, RTSP Sink is a GStreamer element which permits high performance streaming to multiple computers using the RTSP / RTP protocols. The GstRtspSink element leverages previous logic from GStreamer’s RTSP server with extensions to create a GStreamer sink element providing benefits like greater flexibility, easy application integration and quick gst-launch prototyping.

I hope the above information helps you.

Best regards,
-Daniel