Hi all, @kesong @junshengy
I’m having an issue using DeepStream to consume an RTSP stream coming from VST. The stream URL is like this:
rtsp://
10.63.142.104:8555/live/D11
When I use this RTSP URL in DeepStream, I consistently get the following error:
WARNING from src: Could not open resource for reading.
Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3/GstRTSPSrc:src:
No supported authentication protocol was found
WARNING from src: Not found
...
...
Stream Not Found (404)
Active sources : 0
Tue Sep 9 06:45:46 2025
**PERF:
0.00 (0.00) source_id : 3 stream_name D39
0.00 (0.00) source_id : 2 stream_name D35
0.00 (0.00) source_id : 4 stream_name D11
0.00 (0.00) source_id : 1 stream_name D50
0.00 (0.00) source_id : 0 stream_name D46
However, when I open the same URL in ffplay
, it works fine and I can see the video stream:
ffplay rtsp://10.63.142.104:8555/live/D11
Also, I can view the stream perfectly through the VST Web UI, which indicates the stream is active and accessible.
Some additional observations:
-
This issue only occurs when the RTSP stream is directly from the camera added to VST.
-
If I use an RTSP stream from a video file in memory (also via VST), DeepStream works without errors.
-
So it seems DeepStream fails only when the RTSP is a live passthrough from a physical camera via VST.
Here is part of the DeepStream log output when the error occurs:
transformer models will be used.
Copying onnx-files to DS docker volume for perserving PVCs…
(gst-plugin-scanner:29): GStreamer-WARNING **: 06:45:30.084: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenmpt.so’: libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:29): GStreamer-WARNING **: 06:45:30.122: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so’: libmpeg2.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:29): GStreamer-WARNING **: 06:45:30.130: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so’: libmpg123.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:29): GStreamer-WARNING **: 06:45:30.195: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so’: libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:29): GStreamer-WARNING **: 06:45:30.370: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so’: libavcodec.so.58: cannot open shared object file: No such file or directory
(gst-plugin-scanner:35): GStreamer-WARNING **: 06:45:30.554: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so’: librivermax.so.1: cannot open shared object file: No such file or directory
(gst-plugin-scanner:35): GStreamer-WARNING **: 06:45:30.657: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so’: libtritonserver.so: cannot open shared object file: No such file or directory
(gst-plugin-scanner:35): GStreamer-WARNING **: 06:45:30.668: Failed to load plugin ‘/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ucx.so’: libucs.so.0: cannot open shared object file: No such file or directoryStarting Deepstream FSL AppTiled text: 0Playback UTC: 0PGIE model used: 1no-force-tcp: 1Log level: 5Message rate: 1target-class: 1
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8555/ds-test ***
Civetweb version: v1.16Server running at port: 9000gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so[NvMultiObjectTracker] Loading TRT Engine for tracker ReID…[NvMultiObjectTracker] Loading Complete!ERROR: [TRT]: 3: [runtime.cpp::~Runtime::346] Error Code 3: API Usage Error (Parameter check failed at: runtime/rt/runtime.cpp::~Runtime::346, condition: mEngineCounter.use_count() == 1. Destroying a runtime before destroying deserialized engines created by the runtime leads to undefined behavior.)[NvMultiObjectTracker] Initialized0:00:11.066941687 28 0x621689e17350 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2092> [UID = 1]: deserialized trt engine from :/opt/storage/dino_model_op17.onnx_b4_gpu0_fp16.engine0:00:11.429427648 28 0x621689e17350 INFO nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2195> [UID = 1]: Use deserialized engine model: /opt/storage/dino_model_op17.onnx_b4_gpu0_fp16.engine0:00:11.438007554 28 0x621689e17350 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.4/sources/apps/sample_apps/deepstream-fewshot-learning-app/ds-mtmc-pgie-config.yml sucessfullyINFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [FullDims Engine Info]: layers num: 30 INPUT kFLOAT inputs 3x544x960 min: 1x3x544x960 opt: 4x3x544x960 Max: 4x3x544x9601 OUTPUT kFLOAT pred_logits 900x4 min: 0 opt: 0 Max: 02 OUTPUT kFLOAT pred_boxes 900x4 min: 0 opt: 0 Max: 0
Runtime commands:h: Print this helpq: Quit
p: Pause r: Resume
Active sources : 0
**PERF:Tue Sep 9 06:45:41 2025**PERF:
new stream added [0:D46:D46]
new stream added [1:D50:D50]
new stream added [2:D35:D35]
new stream added [3:D39:D39]
new stream added [4:D11:D11]
** INFO: <bus_callback:301>: Pipeline ready
** INFO: <bus_callback:287>: Pipeline running
WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3/GstRTSPSrc:src:Stream Not Found (404)WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin0/GstRTSPSrc:src:Stream Not Found (404)WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin4/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin4/GstRTSPSrc:src:Stream Not Found (404)WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin1/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin1/GstRTSPSrc:src:Stream Not Found (404)WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin2/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin2/GstRTSPSrc:src:Stream Not Found (404)Active sources : 0Tue Sep 9 06:45:46 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Active sources : 0Tue Sep 9 06:45:51 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Active sources : 0Tue Sep 9 06:45:56 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Active sources : 0Tue Sep 9 06:46:01 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Resetting source rtsp://10.63.142.104:8555/live/D11WARNING from dsnvurisrcbin4: No data from source rtsp://10.63.142.104:8555/live/D11 since last 30 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin4WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin4/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin4/GstRTSPSrc:src:Stream Not Found (404)Resetting source rtsp://10.63.142.104:8555/live/D39WARNING from dsnvurisrcbin3: No data from source rtsp://10.63.142.104:8555/live/D39 since last 33 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3WARNING from src: Could not open resource for reading.Debug info: ../gst/rtsp/gstrtspsrc.c(6427): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3/GstRTSPSrc:src:No supported authentication protocol was foundWARNING from src: Not foundDebug info: ../gst/rtsp/gstrtspsrc.c(6736): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3/GstRTSPSrc:src:Stream Not Found (404)Active sources : 0Tue Sep 9 06:46:06 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Resetting source rtsp://10.63.142.104:8555/live/D35WARNING from dsnvurisrcbin2: No data from source rtsp://10.63.142.104:8555/live/D35 since last 36 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin2mimetype is video/x-rawResetting source rtsp://10.63.142:8555/live/D50WARNING from dsnvurisrcbin1: No data from source rtsp://10.63.142.104:8555/live/D50 since last 39 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin1Active sources : 0Tue Sep 9 06:46:11 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
WARNING from dsnvurisrcbin0: No data from source rtsp://10.62.162.104:8555/live/D46 since last 42 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin0Resetting source rtsp://10.63.142.104:8555/live/D46Active sources : 0Tue Sep 9 06:46:16 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Active sources : 0Tue Sep 9 06:46:21 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Active sources : 0Tue Sep 9 06:46:26 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Active sources : 0Tue Sep 9 06:46:31 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Resetting source rtsp://10.63.142.104:8555/live/D11WARNING from dsnvurisrcbin4: No data from source rtsp://10.63.142.104:8555/live/D11 since last 30 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin4WARNING from dsnvurisrcbin3: No data from source rtsp://10.63.142.104:8555/live/D39 since last 30 sec. Trying reconnectionDebug info: gstdsnvurisrcbin.cpp(1286): watch_source_status (): /GstPipeline:pipeline/GstBin:multiuri_src_bin/GstDsNvMultiUriBin:src_nvmultiurisrcbin/GstBin:src_nvmultiurisrcbin_creator/GstDsNvUriSrcBin:dsnvurisrcbin3Resetting source rtsp://10.63.142.104:8555/live/D39Active sources : 0Tue Sep 9 06:46:36 2025**PERF:0.00 (0.00) source_id : 3 stream_name D390.00 (0.00) source_id : 2 stream_name D350.00 (0.00) source_id : 4 stream_name D110.00 (0.00) source_id : 1 stream_name D500.00 (0.00) source_id : 0 stream_name D46
Has anyone encountered a similar problem? Is there any known limitation with DeepStream and certain types of RTSP sources (like live camera passthrough via VST)? Any suggestions or debugging steps would be greatly appreciated.
Thanks!