How to measure "nvv4l2decoder" plugin latency on Jetson Nano


Is there any property to measure individual “nvv4l2decoder plugin” latency in a pipeline, similar to “MeasureEncoderLatency” property in nvv4l2h265enc plugin ?

I am currently using GstShark’s interlatency tracer to measure the “nvv4l2decoder” plugin latency vlaue in a transcoding pipeline given below

gst-launch-1.0 filesrc location=1080p30_nv12.hevc ! h265parse ! nvv4l2decoder ! nvv4l2h265enc MeasureEncoderLatency=1 ! fpsdisplaysink name=fpssink text-overlay=false video-sink=“fakesink” sync=false

Is there any other way to measure nvv4l2decoder latency instead of using GstShark interlatency tracer ?

1 Like

There is no existing property in nvv4l2decoder. Since gst-v4l2 is open source, you can download the source code and add it.

Or may try the 3rdparty tool: