Dynamically change resolution in Deepstream

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 6.1
• JetPack Version (valid for Jetson only) 5.0.2
• TensorRT Version 8.4.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) Question

How to detect if the input resolution got changed while running the pipeline? For example: In case of RTSP streams, width and height can be changed from the camera settings. Suppose 1280x720 got changed to 1920x1080, how the pipeline will detect that?

Do you mean the camera will change resolution? Can you provide a detailed description of your user case?

@yuweiw Yes. I am running RTSP cameras. So initially the cameras will take the original height and width (by original I mean when the time it starts). The client have the option to change the resolution, frame rate, fps, etc. on the NVR where they encode the frames. When they change the resolution, the pipeline is not detecting it and the decoded frames will be distorted/pixelated. Even though this is not an ideal issue we want to handle this in our pipeline.

So it is possible to change the resolution of your same rtsp source. Could you try to add a probe to the src_pad of the source plugin and check that?

@yuweiw I’ve tried that. Width and height values are not changing.

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Could you attach your whole pipeline? In theory, the decoder plugin can detect changes in width and height.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.