I see that the latency is almost 300ms. I measure by displaying a timer video and using my phone to record and capture the frame that shows the gap between the video and the stream.
Server and Client are connected via LAN. Q: Is this latency normal ? Could I reduce it ? For more information, my laptop doesnt have GPU so I cant use NVIDIA decoder.
Thank you for your help.
It network bandwidth is enough, you should see neglectable latency in the setup. So the setup can show latency in network. And then please try with v4l2src plugin to identify latency from the camera source.
Thank you for your support.
I’m quite sure the network’s bandwidth is enough. It is ~93Mbps, which is measured by iperf.
I’ll find a way to use a monitor for my Jetson and see the latency when using videotestsrc.
The idea is to compare two latency values measured by using videotestsrc and v4l2src to identify if my latency issue comes from the camera source, isn’t it?
Are there solutions to help reduce the latency if the issue is from my camera?
Thank you.
You’re right that the v4l2 source is in 60fps, although I set “framerate=30/1” for v4l2src.
After setting “framerate=60/1” for videotestsrc, its execution time is less than v4l2src’s. In the pipeline with fakesink, the gap is too small, it is about 40ms. But in the udpsink one, v4l2src’s exe time is 3.5s longer than videotestsrc’s.