Different multi rtsp dealy,but same is real time

I created a link

uricodebin streammux pgie tiler nvvidconv nvosd nvvidconv_postosd caps encoder rtppay sink

thats is test3 add rtsp-out

if i input the same rtsp stream ,the fps is 25
but i input differenet ,the fps is 16,the stream will delay

Why is that?

Have you modified deepstream-test3? How do you measure FPS with deepstream-test3? Do you know the original frame rate of each rtsp source you used?

Have you modified deepstream-test3?
Yes I add test1-rtsp-out

How do you measure FPS with deepstream-test3?
Use Common.FPS import GETFPS

Do you know the original frame rate of each rtsp source you used?
25fps

Can you provide your python script?

My python script
a.py (15.0 KB)

thats out
FPS*******************
Fps of stream 0 is 16.6
Fps of stream 1 is 25.0

Can you set ‘batch-size’ of nvstreammux to number_sources? Please change ‘sink.set_property(‘sync’, 1)’ to ‘sink.set_property(‘sync’, 0)’

ok, i will change it, and report .
btw,the udpsink not has ‘sync’ in this web, Can you provide some information?

this web : https://gstreamer.freedesktop.org/documentation/udp/udpsink.html

‘sync’ is from GstBaseSink https://gstreamer.freedesktop.org/documentation/base/gstbasesink.html?gi-language=c, most sinks are derived from it.