I have been for a few days struggling with minimizing latency with a GStreamer pipeline I’ve created.
The pipelines for capturing the camera is as follows:
nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1440, height=1080 , format=NV12, framerate=30/1’ ! nvvidconv flip-method=0 ! ‘video/x-raw,format=BGRx’ ! videoconvert ! appsink";
And the pipeline for streaming the camera is as follows:
appsrc ! videoconvert ! omxh264enc preset-level=0 control-rate=3 bitrate=12000000 ! video/x-h264, stream-format=byte-stream ! rtph264pay ! udpsink host=127.0.0.1 port=5600";
The pipelines are run on a Jetson Xavier NX, with the latency streaming on a seperate computer being reported at around 300ms.