Latency compensation

Wolfgang Grandegger wg at grandegger.com
Wed Dec 12 19:38:41 UTC 2018


Hello,

I'm trying to understand how the processing latency is compensated for
the simple pipeline:

  $ gst-launch-1.0 -v udpsrc port=50004 buffer-size=180000000 \
    caps="application/x-rtp, media=(string)video, clock-rate=(int)90000,
    encoding-name=(string)JPEG, payload=(int)26,framerate(fraction)60/1" \
    ! rtpjitterbuffer latency=0
    ! rtpjpegdepay 
    ! vaapijpegdec
    ! vaapisink 

GST_TRACERS="latency" reports the following latency from the src to the sink:

  61495822
  61865042
  61219613
  61537702

If I use "sync=false" on the "vaapisink", I see that the latency is just 2ms.
There is some latency adoption taking place? How does it work? How can I
change it?

Wolfgang.


More information about the gstreamer-devel mailing list