Huge Latency Gstreamer

Good day.
In my project I am using jetson AGX xavier
I tried to use gstreamer to capture the video from FLIR camera and send it through the network to client pc (and read with VLC player)

I am using following pipeline
gst-launch-1.0 -v v4l2src ! x264enc bitrate =512 byte-stream=true ! mpegtsmux ! tcpserversink port=8888 host=192.168.10.66

From other side (windows 10 PC) I am using VLC "Open network stream " with address
tcp://192.168.10.66:8888

It works but huge (2-4 sec) delay

Could you plz help me to fix this problem? Thank you

Hi,
It seems to be specific to VLC. Probably it us due to buffering mechanism in VLC. There is discussion in
Gstreamer TCPserversink 2-3 seconds latency

Would suggest try

  1. To decode the stream by running gst-launch-1.0 tcpserversrc ! …
  2. Try UDP streaming like this post:
    Gstreamer TCPserversink 2-3 seconds latency - #5 by DaneLLL

Thank you

How can I read UDP stream on client side? I am using vlc to read tcp stream. What is the setting for udp stream?

Hi,
Looks like you would need to put a sdp file. Please check this post
Gstreamer TCPserversink 2-3 seconds latency - #10 by Bazziil

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