There is a delay when I use Gstreamer to display videos

There is a delay of approximately two seconds when I use Gstreamer to display videos.I think there is no buffer, but i dont konw how to set it.

My pipeline is :rtspsrc location=rtsp://192.168.0.108:554/stream=0 ! queue ! application/x-rtp ! rtph264depay ! avdec_h264 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink
My mission planner version is 1.3.8.

That way it’ll be faster:

rtspsrc latency = 0 location=rtsp://192.168.0.108:554/stream=0 ! queue ! application/x-rtp ! rtph264depay ! avdec_h264 ! videoconvert ! video/x-raw,format=BGRA ! appsink name=outsink

1 Like

Thank you for your reply , I’ll try to see.