Hi,
For RTSP source, you need to set live-source=1 and adjust bashed-pushed-timeout in [streammux]. The default value is for 30fps:
##time out in usec, to wait after the first buffer is available
##to push the batch even if the complete batch is not formed
batched-push-timeout=40000
You can set 50000 for 25fps.