Reducing Latency when streaming ZED camera via Gstreamer

It seems like I am mostly able to worsen the quality of my video stream, without reducing the latency. I am very new to Gstreamer, so I expect there to be several parameters and tricks that I am not aware of right now.
On my Jetson AGX Xavier, I have a Zed2 camera connected. I use their Gstreamer suite to stream the video from it to my computer over mobile network on a private VPN.
Pipeline is as follows:
gst-zed-rtsp-launch -a robot zedsrc camera-resolution=3 camera-fps=15 ! autovideoconvert ! omxh264enc temporal-tradeoff=4 insert-sps-pps=1 ! rtph264pay pt=96 name=pay0
Resulting in above 2 second latency. Reducing resolution to VGA and fps to 15 made no meaningful difference; I suspect something else needs to change. Any pointers in what to explore?

Hi,
We have deprecated omx plugin. Could you try with nvv4l2h264enc?

Unable to get any output by just replacing here. Do I need to convert or add any parameters?

Hi,
Please replace omxh264enc with nvvidconv ! nvv4l2h264enc and try again.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.