Hi,
30 is a good value for idrinterval. For 30fps, you will see one IDR frame every second. 45 or 60 is also good.
You may try to set idrinterval=iframeinterval, and h264parse config-interval=1 . If the issue still persists, please dump the h264 stream and check the deviation through JM decoder. Please refer to