Deepstream python app test-3 cannot decode rtsp stream

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 Pgie

Creating tiler

Creating nvvidconv

Creating nvosd

Creating transform

Creating EGLSink

At least one of the sources is live
Adding elements to Pipeline

Linking elements in the Pipeline

Now playing…
1 : rtsp://user:password@ipaddress:554/live
Starting pipeline

Using 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 2x120x68

ERROR: [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: source

0: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: decodebin0

Decodebin 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

Actually now test-3 works well with public rtsp stream like below:

GST_DEBUG=3 python3 deepstream_test_3.py rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

But still not working with my own rtsp stream generated from my laptop camera with obs rtsp server: GST_DEBUG=3 python3 deepstream_test_3.py rtsp://ipaddress:8554/live, the errors as as below…
do not know why this happens, thanks!

Creating Pipeline

Creating streamux

Creating source_bin 0

Creating source bin
source-bin-00
Creating Pgie

Creating tiler

Creating nvvidconv

Creating nvosd

Creating transform

Creating EGLSink

Atleast one of the sources is live
Adding elements to Pipeline

Linking elements in the Pipeline

Now playing…
1 : rtsp://ipaddress:8554/live
Starting pipeline

Using winsys: x11
ERROR: Deserialize engine failed because file path: /opt/nvidia/deepstream/deepstream-5.0/sources/python/apps/deepstream-test3/…/…/…/…/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine open error
0:00:04.817187632 3190 0x2137f750 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1690> [UID = 1]: deserialize engine from file :/opt/nvidia/deepstream/deepstream-5.0/sources/python/apps/deepstream-test3/…/…/…/…/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed
0:00:04.817271643 3190 0x2137f750 WARN nvinfer gstnvinfer.cpp:616:gst_nvinfer_logger: NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1797> [UID = 1]: deserialize backend context from engine from file :/opt/nvidia/deepstream/deepstream-5.0/sources/python/apps/deepstream-test3/…/…/…/…/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine failed, try rebuild
0:00:04.817309352 3190 0x2137f750 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1715> [UID = 1]: Trying to create engine from model files
WARNING: INT8 not supported by platform. Trying FP16 mode.
INFO: [TRT]: Some tactics do not have sufficient workspace memory to run. Increasing workspace size may increase performance, please check verbose output.
INFO: [TRT]: Detected 1 inputs and 2 output network tensors.
0:00:43.026848836 3190 0x2137f750 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger: NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1748> [UID = 1]: serialize cuda engine to file: /opt/nvidia/deepstream/deepstream-5.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_fp16.engine successfully
INFO: [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x368x640
1 OUTPUT kFLOAT conv2d_bbox 16x23x40
2 OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40

0:00:43.422331448 3190 0x2137f750 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus: [UID 1]: Load new model:dstest3_pgie_config.txt sucessfully
Decodebin child added: source

0:00:44.306505074 3190 0x20884370 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:44.307601602 3190 0x20884320 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
0:00:49.340386268 3190 0x20883990 WARN rtspsrc gstrtspsrc.c:5427:gst_rtspsrc_reconnect: warning: Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.
Warning: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(5427): gst_rtspsrc_reconnect (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin/GstRTSPSrc:source:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.

And after the above errors, there are huge of messy letters and number coming up…

The rtsp seems not standard RFC 2326 stream. Please contact the camera vendor.

rtspsrc: GStreamer Good Plugins 1.0 Plugins Reference Manual