How to measure performance gained by using DeepStream plugins

Hi All,

I have RTSP server that servers a video from a file using the following gstreamer pipeline

filesrc location=road.mp4 ! decodebin ! videoconvert ! videorate ! video/x-raw,framerate=35/1 ! x264enc speed-preset=ultrafast tune=zerolatency ! rtph264pay name=pay0 pt=96

and I am decoding it on the Xavier using the following pipeline that uses nvidia accelerated plugins

rtspsrc locatiton=rtsp://192.168.4.224/test latency=3000 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! video/x-raw, format=BGRx ! videoconvert ! video/x-raw, format=BGR ! appsink

The other pipeline that also works is as follows-

rtspsrc locatiton=rtsp://192.168.4.224/test latency=3000 ! rtph264depay ! h264parse ! avdec_h264 ! appsink

So, my question is how to measure the performance gained by using these accelerated plugins in comparision to the one used above. Anything related to hardware consumption or increased decoding speed will be helpful to establish the fact that these plugins help with performance. I am not sure how to measure this performance gain.

Hi,
You can run ‘sudo tegrastats’. Once hardware encoder or decoder is run, you can check frequency of NVENC or NVDEC.