Can `nvmultiurisrcbin` work with `rtspclientsink`?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 7.1 docker

gst-launch-1.0 nvmultiurisrcbin port=9999 ip-address=localhost batched-push-timeout=33333 max-batch-size=10 drop-pipeline-eos=1 live-source=1 width=2560 height=1440 ! videoconvert ! nvv4l2h265enc bitrate=3000000 ! rtspclientsink location=rtsp://0.0.0.0:8558/1111

when add a rtsp stream , will error

Setting pipeline to PAUSED ...
Failed to query video capabilities: Invalid argument
Civetweb version: v1.16
Server running at port: 9999
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://0.0.0.0:8558/1111
Progress: (open) Retrieving server options
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending RECORD request
Redistribute latency...
Redistribute latency...
uri:/api/v1/stream/add
method:POST
Redistribute latency...
Progress: (open) Opening Stream
Redistribute latency...
Progress: (open) Open canceled
Progress: (request) Sending PLAY request
Redistribute latency...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.3.227:8558/card/4
Redistribute latency...
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Redistribute latency...
Failed to query video capabilities: Invalid argument
Redistribute latency...
Redistribute latency...
Redistribute latency...
Encode Latency = 182.383057 
Progress: (record) Sending server stream info
Progress: (request) SETUP stream 0
Redistribute latency...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0: Could not get/set settings from/on resource.
Additional debug info:
../gst/rtsp-sink/gstrtspclientsink.c(4258): gst_rtsp_client_sink_setup_streams (): /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0:
Could not setup transport.
Execution ended after 0:00:07.977187391
Setting pipeline to NULL ...
Stopping the server..!! 
Stopped the server..!! 
Freeing pipeline ...
  1. Please put nvmultistreamtiler after nvmultiurisrcbin to convert the batched video(s) to normal single video.
  2. “videoconvert” is the GStreamer open source plugin videoconvert which only supports video in CPU buffers. But the video in the DeepStream plugins are in GPU hardware buffers. You can’t use non-DeepStream plugin directly with DeepStream plugins. All DeepStream plugins are listed in GStreamer Plugin Overview — DeepStream documentation.
  3. Please read the document and understand the DeepStream plugins’ function before you use them.

The possible pipeline may look like

gst-launch-1.0 nvmultiurisrcbin port=9999 ip-address=localhost batched-push-timeout=33333 max-batch-size=10 drop-pipeline-eos=1 live-source=1 width=2560 height=1440 ! nvmultistreamtiler columns=5 rows=2 width=2560 height=1440 ! nvvideoconvert ! nvv4l2h265enc bitrate=3000000 ! rtspclientsink location=rtsp://0.0.0.0:8558/1111

still error

Setting pipeline to PAUSED ...
Failed to query video capabilities: Invalid argument
Civetweb version: v1.16
Server running at port: 9999
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://0.0.0.0:8558/1111
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (open) Retrieving server options
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending RECORD request
Redistribute latency...
Redistribute latency...
uri:/api/v1/stream/add
method:POST
Redistribute latency...
Progress: (open) Opening Stream
Redistribute latency...
Progress: (open) Open canceled
Progress: (request) Sending PLAY request
Progress: (open) Opening Stream
Redistribute latency...
Progress: (connect) Connecting to rtsp://192.168.3.227:8558/card/4
Redistribute latency...
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Redistribute latency...
Redistribute latency...
Failed to query video capabilities: Invalid argument
Redistribute latency...
Redistribute latency...
Encode Latency = 11.345947 
Progress: (record) Sending server stream info
Progress: (request) SETUP stream 0
Redistribute latency...
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0: Could not get/set settings from/on resource.
Additional debug info:
../gst/rtsp-sink/gstrtspclientsink.c(4258): gst_rtsp_client_sink_setup_streams (): /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0:
Could not setup transport.
Execution ended after 0:00:08.627749134
Setting pipeline to NULL ...
Stopping the server..!! 
Stopped the server..!! 
Freeing pipeline ...

Please check your RTSP server.

the stream can open with VLC

Currently the nvmultiurisrcbin does not support work with “gst-launch-1.0” without stream, you need to start the “gst-launch” pipeline with at least one source stream.

Seems there is a RTSP server rtsp://0.0.0.0:8558/1111. Please check this server.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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