i have new camera ezviz C3TN not good but i want to use for input stream in deepstream_app_source1_detection_models.txt .
this rtsp://192.168.18.65:554 work in VLC but here I got error so I add channel at the end rtsp://192.168.18.65:554/h.264/channel=1 of this uri then it got me the following black OSD .
also check my different combinations.
deepstream-app -c deepstream_app_source1_detection_models.txt
** WARN: <parse_source:622>: Unknown key 'uri:rtsp://admin:HPAIWD@192.168.18.65:554/h.264/channel' for group [source0]
(deepstream-app:2951525): GLib-CRITICAL **: 18:14:49.242: g_str_has_prefix: assertion 'str != NULL' failed
** (deepstream-app:2951525): CRITICAL **: 18:14:49.242: gst_rtsp_url_parse: assertion 'urlstr != NULL' failed
*** DeepStream: Launched RTSP Streaming at rtsp://localhost:8554/ds-test ***
Unknown or legacy key specified 'is-classifier' for group [property]
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
gstnvtracker: Batch processing is ON
gstnvtracker: Past frame output is ON
[NvMultiObjectTracker] Initialized
0:00:01.667942058 2951525 0x5651b9fe0150 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-6.1/samples/models/tao_pretrained_models/yolov4/new/yolov4_resnet18_epoch_070.etlt_b1_gpu0_fp32.engine
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 5
0 INPUT kFLOAT Input 3x384x1248
1 OUTPUT kINT32 BatchedNMS 1
2 OUTPUT kFLOAT BatchedNMS_1 200x4
3 OUTPUT kFLOAT BatchedNMS_2 200
4 OUTPUT kFLOAT BatchedNMS_3 200
0:00:01.770388018 2951525 0x5651b9fe0150 INFO nvinfer gstnvinfer.cpp:646:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2012> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-6.1/samples/models/tao_pretrained_models/yolov4/new/yolov4_resnet18_epoch_070.etlt_b1_gpu0_fp32.engine
0:00:01.773441541 2951525 0x5651b9fe0150 INFO nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-6.1/samples/configs/tao_pretrained_models/nvinfer_config.txt sucessfully
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
**PERF: FPS 0 (Avg)
**PERF: 0.00 (0.00)
** INFO: <bus_callback:194>: Pipeline ready
ERROR from src_elem0: Resource not found.
Debug info: gstrtspsrc.c(7884): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstRTSPSrc:src_elem0:
No valid RTSP URL was provided
** INFO: <reset_source_pipeline:1579>: Resetting source 0
ERROR from src_elem0: Resource not found.
Debug info: gstrtspsrc.c(7884): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstRTSPSrc:src_elem0:
No valid RTSP URL was provided
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
Quitting
[NvMultiObjectTracker] De-initialized
App run successful
I tried a different combinations but the same error black OSD and the above log.
please kindly solve this problem.
According to the tool from the page Connect to Ezviz cameras (ispyconnect.com), the rtsp URL for your camera should be rtsp://admin:admin@192.168.1.XXX:554/H.264, have you tried this URL(update with your password and IP)?
The format is wrong. This configuration file is not YAML config file, you can not use YAML format in this configuration file.
If you want YAML configuration, please refer to /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/source30_1080p_dec_infer-resnet_tiled_display_int8.yml as your sample.