Jetson latency

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)

jetson nano

• DeepStream Version

nvcr.io/nvidia/deepstream-l4t : 6.0.1-samples

• Question

> My pipeline is nvarguscamerasrc(capsfilter)->nvstreammux->nvinfer->nvvideoconvert->nvdsosd->nvvideoconvert->x264enc->flvmux->rtmpsink (there are queues between each element), the delay is very serious(playing through VLC, about 6s), so I replaced x264enc with nvv4l2h264enc->h264parse, but the delay did not decrease, only the CPU utilization was reduced.Could you give me some suggestions and guidance, thank you.

CODE
deepstaream-test1.txt (10.6 KB)
CONFIG
config.txt (758 Bytes)
LOG
0:00:09.173413039 18227 0x55aab70ed0 INFO baseparse gstbaseparse.c:4004:gst_base_parse_set_latency: min/max latency 0:00:00.033333333, 0:00:00.033333333
0:00:11.173665697 18227 0x55aab70ed0 INFO baseparse gstbaseparse.c:4004:gst_base_parse_set_latency: min/max latency 0:00:00.033333333, 0:00:00.033333333
0:00:13.173076354 18227 0x55aab70ed0 INFO baseparse gstbaseparse.c:4004:gst_base_parse_set_latency: min/max latency 0:00:00.033333333, 0:00:00.033333333
0:00:15.172922029 18227 0x55aab70ed0 INFO baseparse gstbaseparse.c:4004:gst_base_parse_set_latency: min/max latency 0:00:00.033333333, 0:00:00.033333333

rtmpsink --> server --> vlc

1.This does not mean that the delay is caused by the performance of Deepstream/Jetson nano. You can try to remove plugins such as nvstreamux/nvinfer and only use nvarguscamerasrc/nvv4l2h264enc/rtmpsink to build a pipeline to observe the latency.
You can also use nveglglessink to observe the latency
2.This FAQ can measure the element latency of each deepstream