DeepStream 5 python Gst nvvideconvert plugin

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version 5
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)

I am using the src-crop property of Gst nvvideconvert plugin but I don’t understand how the left top width and height parameters work.
can someone explain to me how they work

nvvideoconvert can do scaling, format conversion, cropping,…

src_crop is to crop an area from the input video image and use this cropped image as the input of format conversion, scaling,… For example, if the origin input image size is 800x600, and you set the output size is 600x300 and the src_crop is top 0, left 0, width 200, height 100, then the output image will be 600x300 size, but the content in the image is scaled from the (0,0,200,100) area in the input image.
As to the picture, the green area of input is scaled as output

Thanks for the explanation.

I’m not a deepstream and gstreamer expert :)
At the moment i’m using deepstreamer 5 with pytho and i’m trying to crop a portion of image from an rtsp stream.
The image input is 1280X720 and the output 600X300 but when I set the left property to 200 it always seems to stay at 0.
I am attaching a screenshot to explain myself better

I can’t understand what i’m wrong … help …

Have you tried 640:300:400:200? I can not reproduce your problem.