Hello,
I had a problem about rtsp stream, i wonder can you give some advice, thanks.
Actually Deepstream python app test-3 works well with local files h264, but cannot decode rtsp stream, I generated rtsp stream by a usb camera with obs on another computer… I got the errors as below when I run
deepstream_test_3.py:
GST_DEBUG=3 python3 deepstream_test_3.py rtsp://user:password@ipaddress:554/live
Creating Pipeline
Creating streamux
Creating source_bin 0
Creating source bin
source-bin-00
Creating PgieCreating tiler
Creating nvvidconv
Creating nvosd
Creating transform
Creating EGLSink
At least one of the sources is live
Adding elements to PipelineLinking elements in the Pipeline
Now playing…
1 : rtsp://user:password@ipaddress:554/live
Starting pipelineUsing winsys: x11
0:00:06.149006885 2527 0x32a3750 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1701> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.0/sources/python/tlt_trained_models/resnet18_detector_Dec3.etlt_b1_gpu0_fp16.engine
INFO: [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x1920x1080
1 OUTPUT kFLOAT output_bbox/BiasAdd 8x120x68
2 OUTPUT kFLOAT output_cov/Sigmoid 2x120x68ERROR: [TRT]: INVALID_ARGUMENT: Cannot find binding of given name: conv2d_bbox
0:00:06.149204857 2527 0x32a3750 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::checkBackendParams() <nvdsinfer_context_impl.cpp:1669> [UID = 1]: Could not find output layer ‘conv2d_bbox’ in engine
ERROR: [TRT]: INVALID_ARGUMENT: Cannot find binding of given name: conv2d_cov/Sigmoid
0:00:06.149249493 2527 0x32a3750 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::checkBackendParams() <nvdsinfer_context_impl.cpp:1669> [UID = 1]: Could not find output layer ‘conv2d_cov/Sigmoid’ in engine
0:00:06.149295328 2527 0x32a3750 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1805> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.0/sources/python/tlt_trained_models/resnet18_detector_Dec3.etlt_b1_gpu0_fp16.engine
0:00:06.342794192 2527 0x32a3750 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:dstest3_pgie_config.txt sucessfully
Decodebin child added: source0:00:06.421803379 2527 0x27a6000 FIXME default gstutils.c:3981:gst_pad_create_stream_id_internal:fakesrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:06.422198437 2527 0x27a60f0 FIXME default gstutils.c:3981:gst_pad_create_stream_id_internal:fakesrc1:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Decodebin child added: decodebin0Decodebin child added: rtph264depay0
0:00:12.437504028 2527 0x27a5b20 WARN rtph264depay gstrtph264depay.c:1259:gst_rtp_h264_depay_process: warning: Undefined packet type
0:00:12.437659604 2527 0x27a5b20 WARN rtph264depay gstrtph264depay.c:1259:gst_rtp_h264_depay_process: warning: Undefined packet type
0:00:12.438103101 2527 0x27a5b20 WARN rtph264depay gstrtph264depay.c:1259:gst_rtp_h264_depay_process: warning: Undefined packet type
0:00:12.438205863 2527 0x27a5b20 WARN rtph264depay gstrtph264depay.c:1259:gst_rtp_h264_depay_process: warning: Undefined packet type
Warning: gst-stream-error-quark: Could not decode stream. (7): gstrtph264depay.c(1259): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
0:00:12.438613370 2527 0x27a5b20 WARN rtph264depay gstrtph264depay.c:1259:gst_rtp_h264_depay_process: warning: Undefined packet type
0:00:12.438761341 2527 0x27a5b20 WARN rtph264depay gstrtph264depay.c:1259:gst_rtp_h264_depay_process: warning: Undefined packet type
Warning: gst-stream-error-quark: Could not decode stream. (7): gstrtph264depay.c(1259): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type