# Dynamically changing input resolution of RTSP streams

**URL:** <https://forums.developer.nvidia.com/t/dynamically-changing-input-resolution-of-rtsp-streams/278968>\
**Category:** DeepStream SDK\
**Tags:** deepstream61\
**Created:** [January 15, 2024, 11:44am UTC](https://forums.developer.nvidia.com/t/dynamically-changing-input-resolution-of-rtsp-streams/278968 "2024-01-15T11:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [January 16, 2024, 2:21am UTC](https://forums.developer.nvidia.com/t/dynamically-changing-input-resolution-of-rtsp-streams/278968/3 "2024-01-16T02:21:37Z")

</div>

> [@vino\_mm](#):
>
> Is there any probes, or callback functions I can use inside it to detect the change in input resolution?

after decoding, you can know the resolution change. you can add a src probe on nvurisrcbin, please refer to this [FAQ](https://forums.developer.nvidia.com/t/deepstream-sdk-faq/80236/17) for how to get width and height.

> [@vino\_mm](#):
>
> In the previous post you mentioned that the decoder plugin can detect changes in width and height. How to achieve this?

after decoding the encoded data, the decoder will know the new with and height. please refer to the comment above.

---

_[View the full topic](https://forums.developer.nvidia.com/t/dynamically-changing-input-resolution-of-rtsp-streams/278968)._
