Hey! Using these gstreamer pipelines I measured latency:
gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), format=NV12, width=1920, height=1080,framerate=60/1’ ! nvv4l2h265enc insert-sps-pps=true ! h265parse ! rtph265pay pt=96 ! udpsink host=192.168.0.108 port=8001 sync=false -e
Host (Windows PC):
gst-launch-1.0 udpsrc address=192.168.0.108 port=8001 caps=‘application/x-rtp, encoding-name=(string)H265, payload=(int)96’ ! rtph265depay ! h265parse ! queue ! nvh265dec ! autovideosink
The latency is about 150ms. This is too much for my use case. Is it possible to reduce the latency? For example, I saw in jtop that NVENC frequency is about 115MHz. But for the first second, it is 729MHz. I already activated jtops. Is it possible to increase frequency continously to reduce the latency?
Do you have other suggestions?
EDIT: When I display directly to monitor in jetson I have a latency ~50ms. So there seem to be ~100ms for encoding-transfer-decoding.