I’m trying to build a low latency decoder pipeline for playing out network streams. I am observing 140ms pipeline latency which I want to reduce.
gst-launch-1.0 udpsrc port=34000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! queue ! rtph264depay ! h264parse ! omxh264dec disable-dpb=true ! nvoverlaysink
I profiled this further and found that omxh264dec has a latency of 56ms, i.e each input frame is outputed after 56ms. My input h264 stream has only I and P frames so I tried the disable-dpb=true option, but there is no difference.
Why does the decoder take 56 ms?. Is there a way to reduce this? Does the disable-dpb configuration work as expected?