Deepstream Pipiline does not initialize properly

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) dGPU
• DeepStream Version 5.1-21.02-devel
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only) 460.32.03
• 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)

Deepstream Pipiline does not initialize properly. I am using 30 inputs RTSP streams (for some 4-5 streams passwords might be changed which is why we see some warnings) and 30 RTSP sinks.

I observe that it takes some 10-15 attempts before this gets initialized properly. I am using deepstream-nvdsanalytics based deepstream app. See logs below.

root@va16:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-nvdsanalytics-test# make -f Makefile.ds
cc -c -o …/…/apps-common/src/deepstream_tracker_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_tracker_bin.c
cc -c -o …/…/apps-common/src/deepstream_primary_gie_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_primary_gie_bin.c
cc -c -o …/…/apps-common/src/deepstream_source_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_source_bin.c
cc -c -o …/…/apps-common/src/deepstream_audio_classifier_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_audio_classifier_bin.c
cc -c -o …/…/apps-common/src/deepstream_c2d_msg.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_c2d_msg.c
cc -c -o …/…/apps-common/src/deepstream_config_file_parser.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_config_file_parser.c
cc -c -o …/…/apps-common/src/deepstream_common.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_common.c
cc -c -o …/…/apps-common/src/deepstream_sink_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_sink_bin.c
cc -c -o …/…/apps-common/src/deepstream_perf.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_perf.c
cc -c -o …/…/apps-common/src/deepstream_dewarper_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_dewarper_bin.c
cc -c -o …/…/apps-common/src/deepstream_dsexample.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_dsexample.c
cc -c -o …/…/apps-common/src/deepstream_secondary_gie_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_secondary_gie_bin.c
cc -c -o …/…/apps-common/src/deepstream_dsanalytics.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_dsanalytics.c
cc -c -o …/…/apps-common/src/deepstream_tiled_display_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_tiled_display_bin.c
cc -c -o …/…/apps-common/src/deepstream_c2d_msg_util.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_c2d_msg_util.c
cc -c -o …/…/apps-common/src/deepstream_osd_bin.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_osd_bin.c
cc -c -o …/…/apps-common/src/deepstream_streammux.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/…/apps-common/src/deepstream_streammux.c
cc -c -o …/deepstream-app/deepstream_app.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/deepstream-app/deepstream_app.c
cc -c -o …/deepstream-app/deepstream_app_config_parser.o -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include …/deepstream-app/deepstream_app_config_parser.c
g++ -c -o deepstream_nvdsanalytics_meta.o -Wall -Werror -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include deepstream_nvdsanalytics_meta.cpp
g++ -c -o deepstream_app_main.o -fpermissive -Wall -Werror -I./ -I…/…/apps-common/includes -I…/…/…/includes -I…/deepstream-app/ -DDS_VERSION_MINOR=0 -DDS_VERSION_MAJOR=5 -I /usr/local/cuda-11.1/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gstreamer-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include deepstream_app_main.c
g++ -o deepstream-app …/…/apps-common/src/deepstream_tracker_bin.o …/…/apps-common/src/deepstream_primary_gie_bin.o …/…/apps-common/src/deepstream_source_bin.o …/…/apps-common/src/deepstream_audio_classifier_bin.o …/…/apps-common/src/deepstream_c2d_msg.o …/…/apps-common/src/deepstream_config_file_parser.o …/…/apps-common/src/deepstream_common.o …/…/apps-common/src/deepstream_sink_bin.o …/…/apps-common/src/deepstream_perf.o …/…/apps-common/src/deepstream_dewarper_bin.o …/…/apps-common/src/deepstream_dsexample.o …/…/apps-common/src/deepstream_secondary_gie_bin.o …/…/apps-common/src/deepstream_dsanalytics.o …/…/apps-common/src/deepstream_tiled_display_bin.o …/…/apps-common/src/deepstream_c2d_msg_util.o …/…/apps-common/src/deepstream_osd_bin.o …/…/apps-common/src/deepstream_streammux.o …/deepstream-app/deepstream_app.o …/deepstream-app/deepstream_app_config_parser.o deepstream_nvdsanalytics_meta.o deepstream_app_main.o -L/opt/nvidia/deepstream/deepstream-5.1/lib/ -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper -lnvdsgst_smartrecord -lnvds_utils -lnvds_msgbroker -lm -lgstrtspserver-1.0 -ldl -Wl,-rpath,/opt/nvidia/deepstream/deepstream-5.1/lib/ -L/usr/local/cuda-11.1/lib64/ -lcudart -lcuda -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lX11 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
root@va16:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-nvdsanalytics-test# ll
total 444
drwxr-xr-x 1 root root 4096 Apr 13 01:07 ./
drwxr-xr-x 1 root root 4096 Apr 13 01:06 …/
-rw-r–r-- 1 root root 2348 Feb 16 09:57 Makefile
-rw-r–r-- 1 root root 2980 Apr 13 01:07 Makefile.ds
-rw-r–r-- 1 root root 4753 Feb 16 09:56 README
-rw-r–r-- 1 root root 3110 Feb 16 09:56 config_nvdsanalytics.txt
-rwxr-xr-x 1 root root 265152 Apr 13 01:07 deepstream-app*
-rw-r–r-- 1 root root 24824 Feb 16 09:57 deepstream_app_main.c
-rw-r–r-- 1 root root 32424 Apr 13 01:07 deepstream_app_main.o
-rw-r–r-- 1 root root 4778 Feb 16 09:57 deepstream_nvdsanalytics_meta.cpp
-rw-r–r-- 1 root root 46832 Apr 13 01:07 deepstream_nvdsanalytics_meta.o
-rw-r–r-- 1 root root 20000 Feb 16 09:57 deepstream_nvdsanalytics_test.cpp
-rw-r–r-- 1 root root 3295 Feb 16 09:56 nvdsanalytics_pgie_config.txt
-rw-r–r-- 1 root root 4517 Feb 16 09:56 tracker_config.yml
root@va16:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-nvdsanalytics-test# ./deepstream-app -c …/js-nvdsanalytics/assets/pipeline_config.txt

(gst-plugin-scanner:107): GStreamer-WARNING **: 01:07:37.435: 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

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8555/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8556/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8557/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8558/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8559/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8560/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8561/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8562/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8563/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8564/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8565/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8566/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8567/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8568/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8569/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8570/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8571/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8572/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8573/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8574/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8575/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8576/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8577/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8578/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8579/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8580/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8581/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8582/ds-test ***

*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8583/ds-test ***

gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_nvdcf.so
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is OFF
[NvDCF][Warning] minTrackingConfidenceDuringInactive is deprecated
[NvDCF] Initialized
0:00:01.044364970 106 0x55688af93780 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1716> [UID = 1]: Trying to create engine from model files
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Reading Calibration Cache for calibrator: EntropyCalibration2
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Generated calibration scales using calibration cache. Make sure that calibration cache has latest scales.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: To regenerate calibration cache, please delete the existing one. TensorRT will generate a new calibration cache.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
INFO: …/nvdsinfer/nvdsinfer_func_utils.cpp:39 [TRT]: Detected 1 inputs and 2 output network tensors.
0:00:52.606264011 106 0x55688af93780 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1749> [UID = 1]: serialize cuda engine to file: /opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/js-nvdsanalytics/assets/resnet18_detector.etlt_b2_gpu0_int8.engine successfully
INFO: …/nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x544x960
1 OUTPUT kFLOAT output_bbox/BiasAdd 4x34x60
2 OUTPUT kFLOAT output_cov/Sigmoid 1x34x60

0:00:52.612241979 106 0x55688af93780 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/js-nvdsanalytics/assets/pgie_config.txt sucessfully

Runtime commands:
h: Print this help
q: Quit

    p: Pause
    r: Resume

**PERF: FPS 0 (Avg) FPS 1 (Avg) FPS 2 (Avg) FPS 3 (Avg) FPS 4 (Avg) FPS 5 (Avg) FPS 6 (Avg) FPS 7 (Avg) FPS 8 (Avg) FPS 9 (Avg) FPS 10 (Avg) FPS 11 (Avg) FPS 12 (Avg) FPS 13 (Avg) FPS 14 (Avg) FPS 15 (Avg) FPS 16 (Avg) FPS 17 (Avg) FPS 18 (Avg) FPS 19 (Avg) FPS 20 (Avg) FPS 21 (Avg) FPS 22 (Avg) FPS 23 (Avg) FPS 24 (Avg) FPS 25 (Avg) FPS 26 (Avg) FPS 27 (Avg) FPS 28 (Avg) FPS 29 (Avg)
**PERF: 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
** INFO: <bus_callback:181>: Pipeline ready

ERROR from src_elem10: Could not open resource for reading and writing.
Debug info: gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin10/GstRTSPSrc:src_elem10:
Failed to connect. (Generic error)
** INFO: <reset_source_pipeline:1433>: Resetting source 10
ERROR from src_elem27: Could not open resource for reading and writing.
Debug info: gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin27/GstRTSPSrc:src_elem27:
Failed to connect. (Generic error)
** INFO: <reset_source_pipeline:1433>: Resetting source 27
ERROR from src_elem0: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstRTSPSrc:src_elem0:
Unauthorized (401)
** INFO: <reset_source_pipeline:1433>: Resetting source 0
ERROR from src_elem22: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin22/GstRTSPSrc:src_elem22:
Unauthorized (401)
** INFO: <reset_source_pipeline:1433>: Resetting source 22
ERROR from src_elem9: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin9/GstRTSPSrc:src_elem9:
Unauthorized (401)
** INFO: <reset_source_pipeline:1433>: Resetting source 9
ERROR from src_elem10: Could not open resource for reading and writing.
Debug info: gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin10/GstRTSPSrc:src_elem10:
Failed to connect. (Generic error)
ERROR from src_elem24: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin24/GstRTSPSrc:src_elem24:
Unauthorized (401)
** INFO: <reset_source_pipeline:1433>: Resetting source 24
ERROR from src_elem27: Could not open resource for reading and writing.
Debug info: gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin27/GstRTSPSrc:src_elem27:
Failed to connect. (Generic error)
ERROR from src_elem0: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstRTSPSrc:src_elem0:
Unauthorized (401)
ERROR from src_elem22: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin22/GstRTSPSrc:src_elem22:
Unauthorized (401)
ERROR from src_elem24: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin24/GstRTSPSrc:src_elem24:
Unauthorized (401)
ERROR from src_elem9: Unauthorized
Debug info: gstrtspsrc.c(6116): gst_rtspsrc_send (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin9/GstRTSPSrc:src_elem9:
Unauthorized (401)
**PERF: 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
PERF: 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00) 0.00 (0.00)
^C
ERROR: <_intr_handler:156>: User Interrupted…

Quitting
^C
root@va16:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-nvdsanalytics-test#

The file config is as below:
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=10

[source0]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.93
select-rtp-protocol=4
num-sources=1
camera-id=0
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera100

[source1]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.94
select-rtp-protocol=4
num-sources=1
camera-id=1
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera101

[source2]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.95
select-rtp-protocol=4
num-sources=1
camera-id=2
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera102

[source3]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.96
select-rtp-protocol=4
num-sources=1
camera-id=3
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera103

[source4]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.125.97
select-rtp-protocol=4
num-sources=1
camera-id=4
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera104

[source5]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.108
select-rtp-protocol=4
num-sources=1
camera-id=5
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera105

[source6]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.109
select-rtp-protocol=4
num-sources=1
camera-id=6
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera106

[source7]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.110
select-rtp-protocol=4
num-sources=1
camera-id=7
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera107

[source8]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.111
select-rtp-protocol=4
num-sources=1
camera-id=8
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera108

[source9]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.117.112
select-rtp-protocol=4
num-sources=1
camera-id=9
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera109

[source10]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.214
select-rtp-protocol=4
num-sources=1
camera-id=10
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera110

[source11]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.215
select-rtp-protocol=4
num-sources=1
camera-id=11
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera111

[source12]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.216
select-rtp-protocol=4
num-sources=1
camera-id=12
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera112

[source13]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.112.217
select-rtp-protocol=4
num-sources=1
camera-id=13
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera113

[source14]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.176.93
select-rtp-protocol=4
num-sources=1
camera-id=14
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera114

[source15]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.176.94
select-rtp-protocol=4
num-sources=1
camera-id=15
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera115

[source16]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.113.25
select-rtp-protocol=4
num-sources=1
camera-id=16
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera116

[source17]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.113.26
select-rtp-protocol=4
num-sources=1
camera-id=17
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera117

[source18]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.111
select-rtp-protocol=4
num-sources=1
camera-id=18
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera118

[source19]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.112
select-rtp-protocol=4
num-sources=1
camera-id=19
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera119

[source20]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.113
select-rtp-protocol=4
num-sources=1
camera-id=20
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera120

[source21]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.114
select-rtp-protocol=4
num-sources=1
camera-id=21
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera121

[source22]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.115
select-rtp-protocol=4
num-sources=1
camera-id=22
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera122

[source23]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.116
select-rtp-protocol=4
num-sources=1
camera-id=23
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera123

[source24]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.117
select-rtp-protocol=4
num-sources=1
camera-id=24
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera124

[source25]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.116.118
select-rtp-protocol=4
num-sources=1
camera-id=25
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera125

[source26]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.40
select-rtp-protocol=4
num-sources=1
camera-id=26
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera126

[source27]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.41
select-rtp-protocol=4
num-sources=1
camera-id=27
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera127

[source28]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.42
select-rtp-protocol=4
num-sources=1
camera-id=28
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera128

[source29]
enable=1
type=4
uri=rtsp://admin:admin123@192.165.114.43
select-rtp-protocol=4
num-sources=1
camera-id=29
gpu-id=0
cudadec-memtype=0
smart-record=1
smart-rec-duration=5
smart-rec-video-cache=20
smart-rec-start-time=2
smart-rec-default-duration=5
smart-rec-container=0
smart-rec-dir-path=/home/va/work/logs
smart-rec-file-prefix=camera129

[sink0]
enable=1
type=4
source-id=0
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8554
udp-port=5000
gpu-id=0

[sink1]
enable=1
type=4
source-id=1
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8555
udp-port=5001
gpu-id=0

[sink2]
enable=1
type=4
source-id=2
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8556
udp-port=5002
gpu-id=0

[sink3]
enable=1
type=4
source-id=3
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8557
udp-port=5003
gpu-id=0

[sink4]
enable=1
type=4
source-id=4
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8558
udp-port=5004
gpu-id=0

[sink5]
enable=1
type=4
source-id=5
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8559
udp-port=5005
gpu-id=0

[sink6]
enable=1
type=4
source-id=6
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8560
udp-port=5006
gpu-id=0

[sink7]
enable=1
type=4
source-id=7
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8561
udp-port=5007
gpu-id=0

[sink8]
enable=1
type=4
source-id=8
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8562
udp-port=5008
gpu-id=0

[sink9]
enable=1
type=4
source-id=9
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8563
udp-port=5009
gpu-id=0

[sink10]
enable=1
type=4
source-id=10
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8564
udp-port=5010
gpu-id=0

[sink11]
enable=1
type=4
source-id=11
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8565
udp-port=5011
gpu-id=0

[sink12]
enable=1
type=4
source-id=12
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8566
udp-port=5012
gpu-id=0

[sink13]
enable=1
type=4
source-id=13
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8567
udp-port=5013
gpu-id=0

[sink14]
enable=1
type=4
source-id=14
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8568
udp-port=5014
gpu-id=0

[sink15]
enable=1
type=4
source-id=15
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8569
udp-port=5015
gpu-id=0

[sink16]
enable=1
type=4
source-id=16
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8570
udp-port=5016
gpu-id=0

[sink17]
enable=1
type=4
source-id=17
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8571
udp-port=5017
gpu-id=0

[sink18]
enable=1
type=4
source-id=18
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8572
udp-port=5018
gpu-id=0

[sink19]
enable=1
type=4
source-id=19
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8573
udp-port=5019
gpu-id=0

[sink20]
enable=1
type=4
source-id=20
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8574
udp-port=5020
gpu-id=0

[sink21]
enable=1
type=4
source-id=21
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8575
udp-port=5021
gpu-id=0

[sink22]
enable=1
type=4
source-id=22
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8576
udp-port=5022
gpu-id=0

[sink23]
enable=1
type=4
source-id=23
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8577
udp-port=5023
gpu-id=0

[sink24]
enable=1
type=4
source-id=24
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8578
udp-port=5024
gpu-id=0

[sink25]
enable=1
type=4
source-id=25
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8579
udp-port=5025
gpu-id=0

[sink26]
enable=1
type=4
source-id=26
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8580
udp-port=5026
gpu-id=0

[sink27]
enable=1
type=4
source-id=27
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8581
udp-port=5027
gpu-id=0

[sink28]
enable=1
type=4
source-id=28
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8582
udp-port=5028
gpu-id=0

[sink29]
enable=1
type=4
source-id=29
codec=1
enc-type=0
qos=0
sync=0
bitrate=4000000
profile=0
rtsp-port=8583
udp-port=5029
gpu-id=0

[osd]
enable=1
gpu-id=0
border-width=1
text-size=15
text-color=1;1;1;1
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0

[streammux]
gpu-id=0
live-source=1
batch-size=30
batched-push-timeout=60000
width=960
height=544
enable-padding=0
nvbuf-memory-type=0

[primary-gie]
enable=1
gpu-id=0
batch-size=2
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=pgie_config.txt

[nvds-analytics]
enable=1
config-file=roi_config.txt

[tracker]
enable=1
tracker-width=960
tracker-height=544
#ll-lib-file=/opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_mot_iou.so
#ll-config-file=iou_config.txt
ll-lib-file=/opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_nvdcf.so
ll-config-file=tracker_config.yml
gpu-id=0
enable-batch-process=1
enable-past-frame=0
display-tracking-id=0

[img-save]
enable=1
second-to-skip-interval=30
min-box-width=40
min-box-height=40

Connection failure with source0, source10, source9,source22,source24 and source27.

Please use gst-launch-1.0 tool to try these sources. If your rtps is h264 streams, you may use the following command line for testing:

gst-launch-1.0 rtspsrc location=rtsp://… protocols=4 ! rtph264depay ! fakesink

There are 26 other cameras which are working.

You are saying that if 4 cameras are down then deepstream app will not initialise?

If I try 10-15 times it gets started. So the behaviour is odd.

Regards,

Yes. When there is any camera connection failure, the app can not initialize successfully.