Hi, I am working with Jetson Xavier AGX on video processing. I have created a pipeline for decoding an .mp4 file and I want to measure the latency that is how many frames latency we are getting due to the decoding process. The pipeline that I am using is as follows:
gst-launch-1.0 filesrc location=sample.mp4 ! qtdemux ! h264parse ! nvv4l2decoder enable-max-performance=1 ! fakesink
What are the possible ways of measuring the latency ?