video decoding from file with realtime speed issue

Hi nvidia & experts,

I have a issue with decoding speed for file input .
for smaller resolution like 720p it is decoding at 114fps but input file has frame rate 24fps.
but i want to decode it at real time speed not more then that ,like re option in ffmpeg.

For UDP input it will be proper decoding speed but how to make file decoding at real time.

The NVDec decoder is not a player, it will deliver frames as fast as it can. You need to pace things yourself.