This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Latency Problem

Hi,

We are using Custom made LeopardBoard Dm368. considering N/W video streaming latency (capture + encode + rtp + udpsink + network +udpsource +rtpdepay +  decode + display)

Encoding 1920*1088 resolution.
 By measuring latency, it is 440 ms. our target is  less than 150ms. So, we want to find which stage it is taking more time.

How to measure latency of every stage?
At receiving side we are using Gstreamer pipeline ffdec_h264 decoder to decode in windows.

Following are the transmitting and receiving pipelines:

Transmitting side:

gst-launch -v  v4l2src queue-size=6 always-copy=FALSE input-src=component ! "video/x-raw-yuv,format=(fourcc)NV12,width=1920,height=1088" ! TIVidenc1 engineName=codecServer  codecName=h264enc contiguousInputFrame=TRUE ! dmaiperf print-arm-load=true ! rtph264pay pt=96 ! udpsink host=192.168.1.17 port=3000 sync=false

Receiving side:

gst-launch udpsrc port=3000 caps = "application/x-rtp,media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parametersets=(string)\\\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQDwBEyAA\\\\\\=\\\\\\=\\\\\\,aO48sAA\\\\\\=\\\"" ! rtph264depay queue-delay=0 ! ffdec_h264 ! d3dvideosink sync=false

Any Help?

Regards,

Dasari.