Deepstream runs with the same fps as input mp4 file

When I try to run deepstream python application with input 12 fps video (mp4), the fps I get from probe is 12. If I run it with 60 fps video the fps I get from probe is 60. But in deepstream-app I am getting 214 fps for 12 fps video. How can I replicate the same thing in python application?

Please provide below information,

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)

Which python app you are using?

Jetson AGX Xavier,
Deepstream 5.1
Jetpack 4.5.1
TensorRT 7.1.3-1+cuda10.2

deepstream-test3 python application

In deepstream-app components properties set through configuration, make sure you run deepstream-app have same condition as python test3 app.