How to get no latency on gstreamer for FPV

I am using G streamer on raspberry pi on both ends (receiver and sender both are raspberry pi) and i am using this for FPV on my RC truck…i have latency about 600ms how can i reduce or is there any way to get no latency here are my commands
On raspberry pi sender (Rc truck):-
raspivid -t 0 -w 640 -h 480 -fps 22 -b 500000 -awb tungsten -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host= port=10001

on ground station:-
gst-launch-1.0 -v tcpclientsrc host=<your_Pi’s_IP> port=10001 ! gdpdepay ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

Any help?

Hi @sjsingh2188 ,

Sorry for the delayed response.

Had you tried adjusting the bitrate and the fps of your setup? You can do that by adjusting with -b switch or -fps.

How fast is your internet connection?

I am using my setup for FPV and on both end i am using 4G LTE and yes I changed bitrate and frame rate to adjust latency but video quality become very poor…

Hi @sjsingh2188,

I’m afraid that 4G LTE isn’t really an optimal connection for the hi-res streaming. I think the 320x240 at 20 fps resolution could be the maximum for 4G with no latency.

Ok i ll try this Resolution and let u know

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