why the frame rate of my online video is so low

 The hardware environment : Jetson nano, and the software environment :  Jetpack 4.2.2 ,deepstream SDK 4.0.1.

run deepstream-app (Load the algorithm of objectdetector_ssd, pull one channel of Hikvision IPCAM real-time video stream analysis, the video stream format is H264).Fps is only 6, but the MP4 file is loaded directly, the frame rate can reach 18 frames.
I think the common configures and the dl performance OK. Now I need you help to find out why the frame rate of my online video is so low.
The log information is as follows:

xiukd@xiukd-desktop:~/sutpc_app_nano$ deepstream-app -c deepstream_app_config_ssd.txt
0:00:00.049903579 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “pipeline” named “pipeline”
0:00:00.050150938 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “multi_src_bin”
0:00:00.091689472 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvstreammux” named “src_bin_muxer”
0:00:00.092140125 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “src_sub_bin0”
0:00:00.095197604 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “uridecodebin” named “src_elem”
0:00:00.096905104 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “queue”
0:00:00.097350652 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “fakesink” named “src_fakesink”
0:00:00.097637128 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “fakequeue”
0:00:00.097742395 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “tee”
0:00:00.098552289 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvstreamdemux” named “demuxer”
0:00:00.098761989 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “processing_bin_0”
0:00:00.098820482 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “sink_bin”
0:00:00.098866058 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “sink_bin_queue”
0:00:00.099014765 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “tee” named “sink_bin_tee”
0:00:00.099167378 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “sink_sub_bin1”
0:00:00.099221184 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “fakesink” named “sink_sub_bin_sink1”
0:00:00.099307647 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “render_queue1”
0:00:00.099600217 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “sink_sub_bin2”
0:00:00.099648762 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “sink_sub_bin_queue2”
0:00:00.101248600 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvvideoconvert” named “sink_sub_bin_transform2”
0:00:00.101598673 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “capsfilter” named “sink_sub_bin_cap_filter2”
0:00:00.103147987 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “h264parse” named “h264-parser”
0:00:00.106123742 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvv4l2h264enc” named “sink_sub_bin_encoder2”
0:00:00.108530140 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “rtph264pay” named “sink_sub_bin_rtppay2”
0:00:00.109728650 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “udpsink” named “sink_sub_bin_udpsink2”

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

0:00:00.114431022 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “osd_bin”
0:00:00.114497901 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvvideoconvert” named “osd_conv”
0:00:00.114589000 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “osd_queue”
0:00:00.114702497 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “capsfilter” named “osd_caps”
0:00:00.114796044 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “osd_conv_queue”
0:00:00.125661450 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvdsosd” named “nvosd0”
0:00:00.128163478 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “bin” named “primary_gie_bin”
0:00:00.128245722 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvvideoconvert” named “primary_gie_conv”
0:00:00.128331144 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “queue” named “primary_gie_queue”
0:00:00.153764578 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “nvinfer” named “primary_gie_classifier”
Opening in BLOCKING MODE
Creating LL OSD context new
0:00:05.460820171 10603 0x10136b00 WARN nvinfer gstnvinfer.cpp:515:gst_nvinfer_logger:<primary_gie_classifier> NvDsInferContext[UID 1]:checkEngineParams(): Could not find output layer ‘MarkOutput_0’ in engine
0:00:05.501415974 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “rtspsrc” named “source”
0:00:05.503826069 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtspreal”
0:00:05.505206725 10603 0x10136b00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtspwms”
cb_sourcesetup set 100 latency

Runtime commands:
h: Print this help
q: Quit

    p: Pause
    r: Resume

**PERF: FPS 0 (Avg)
**PERF: 0.00 (0.00)
** INFO: <bus_callback:163>: Pipeline ready

** INFO: <bus_callback:149>: Pipeline running

0:00:05.630699673 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsrc”
0:00:05.631941102 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsrc”
0:00:05.632645052 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsrc”
0:00:05.637604520 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “rtpbin” named “manager”
0:00:05.638536035 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpsession”
0:00:05.639180814 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpssrcdemux”
0:00:05.639376034 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpstorage”
0:00:05.639619330 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “funnel”
0:00:05.639737045 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “funnel”
0:00:05.641667944 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsink”
0:00:05.642184069 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “fakesrc”
0:00:05.643166629 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsink”
0:00:05.644481709 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsrc”
0:00:05.645252641 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsrc”
0:00:05.645837781 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsrc”
0:00:05.648930834 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpsession”
0:00:05.649066155 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpssrcdemux”
0:00:05.649142878 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpstorage”
0:00:05.649258771 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “funnel”
0:00:05.649326743 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “funnel”
0:00:05.651017940 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsink”
0:00:05.651459842 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “fakesrc”
0:00:05.652119257 10603 0x102b70a0 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “udpsink”
0:00:05.784750660 10603 0x7f18037a30 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpjitterbuffer”
0:00:05.785183446 10603 0x7f18037a30 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpptdemux”
0:00:05.786531758 10603 0x7f18037b70 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpjitterbuffer”
0:00:05.786766928 10603 0x7f18037b70 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtpptdemux”
0:00:05.787959917 10603 0x7f0c004370 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “decodebin”
0:00:05.788314522 10603 0x7f0c004370 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “typefind” named “typefind”
0:00:05.789178481 10603 0x7ee8003b70 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “decodebin”
0:00:05.789259892 10603 0x7ee8003b70 INFO GST_ELEMENT_FACTORY gstelementfactory.c:359:gst_element_factory_create: creating element “typefind” named “typefind”
0:00:05.796102913 10603 0x7f0c004370 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtph264depay”
0:00:05.796534033 10603 0x7ee8003b70 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “rtppcmadepay”
0:00:05.797653163 10603 0x7f0c004370 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “h264parse”
0:00:05.798429929 10603 0x7f0c004370 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “capsfilter”
0:00:05.798783805 10603 0x7ee8003b70 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “alawdec”
0:00:05.801530899 10603 0x7f0c004370 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element “nvv4l2decoder”
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
** INFO: <bus_callback:149>: Pipeline running

Creating LL OSD context new
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 66, Level = 0
**PERF: 18.01 (18.01)
**PERF: 5.35 (6.99)
**PERF: 6.25 (6.64)
PERF: 4.87 (6.11)
^C
ERROR: <_intr_handler:140>: User Interrupted…

Hikvision IPCAM :

 resolution: 1280 * 720, frame rate: 25 frames,the video stream format is H264.

Hi,
Please refer to
[url]https://devtalk.nvidia.com/default/topic/1044543/deepstream-sdk/deepstream-sdk-3-error/post/5394803/#5394803[/url]

You may try ‘sync=0’ in [sink*]. Network bandwidth can probably be the reason of slow frame rate.