AnsweredAssumed Answered

vpudec in gstreamer-1.0 is introducing latency of 2-4 sec

Question asked by Hare Krishna Roy on Oct 26, 2016
Latest reply on Oct 26, 2016 by igorpadykov

Hi All,

I am using below pipeline in my project.

gst-launch-1.0  filesrc location=/nexus4.ts  !  tsdemux ! vpudec ! overlaysink

and getting latency of 2-4 sec.

And when i am using below pipeline, then i am  getting negligible latency

gst-launch-1.0  filesrc location=/nexus4.ts  !  tsdemux !  h264parse ! avdec_h264 ! overlaysink

Only changes in above pipeline is, different video decoder.

So i am believing that vpudec is introducing latency. And reason could be, i am missing some property setting.

So what should i do in order to remove such a huge latency ?