# Different multi rtsp dealy,but same is real time

**URL:** <https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161>\
**Category:** DeepStream SDK\
**Created:** [January 5, 2021, 12:35am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161 "2021-01-05T00:35:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gharbv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gharbv](https://forums.developer.nvidia.com/u/gharbv)\
**Post date:** [January 5, 2021, 12:35am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/1 "2021-01-05T00:35:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [January 5, 2021, 5:16am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/3 "2021-01-05T05:16:17Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![gharbv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gharbv](https://forums.developer.nvidia.com/u/gharbv)\
**Post date:** [January 5, 2021, 5:35am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/4 "2021-01-05T05:35:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [January 5, 2021, 5:37am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/5 "2021-01-05T05:37:57Z")

</div>

Can you provide your python script?

---

<div class="post-metadata">

**Author:** ![gharbv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gharbv](https://forums.developer.nvidia.com/u/gharbv)\
**Post date:** [January 5, 2021, 5:39am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/6 "2021-01-05T05:39:58Z")

</div>

My python script  
[a.py](https://forums.developer.nvidia.com/uploads/short-url/rIt5z5m3ZqbLrqorqbVQm6tjkBR.py) (15.0 KB)

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

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [January 5, 2021, 6:10am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/7 "2021-01-05T06:10:43Z")

</div>

Can you set ‘batch-size’ of nvstreammux to number\_sources? Please change ‘sink.set\_property(‘sync’, 1)’ to ‘sink.set\_property(‘sync’, 0)’

---

<div class="post-metadata">

**Author:** ![gharbv](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gharbv](https://forums.developer.nvidia.com/u/gharbv)\
**Post date:** [January 6, 2021, 12:44am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/8 "2021-01-06T00:44:39Z")

</div>

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

this web : [udpsink](https://gstreamer.freedesktop.org/documentation/udp/udpsink.html)

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [January 6, 2021, 3:41am UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/9 "2021-01-06T03:41:25Z")

</div>

> [@gharbv](#):
>
> ,the udpsink not has ‘sync’ in this web, Can you provide some information？
> 
> this web : [https://gstreamer.freedesktop.org/documentation/udp/udpsink.html](https://gstreamer.freedesktop.org/documentation/udp/udpsink.html)

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

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:15pm UTC](https://forums.developer.nvidia.com/t/different-multi-rtsp-dealy-but-same-is-real-time/165161/11 "2021-10-12T16:15:32Z")

</div>

Closed on October 12, 2021, 4:15pm UTC


