Deepstream rtmpsink Output smooth video stream

rtspsrc-> … -> nvinfer (interval = 12) -->… nvv4l2h264enc --> h264parse–>flvmux -->rtmpsink

stream FPS is 25,so 40ms per frame;
but after nvinfer plugin ,80 ms with two frames per scond;
i want get 40ms per frame from rtmpsink;But I do not how to config plugin para.

**• Hardware Platform (Jetson / GPU)**xavier nx
• DeepStream Version5.0
**• JetPack Version (valid for Jetson only)**4.4
• TensorRT Version7.1.3
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Can you give the whole pipeline and all parameters you set in the pipeline? If you are not using deepstream-app, you need to tell us how to reproduce your problem.We can not give any advice without knowing what is happenning.