Bug in property read "src-crop" in nvvideoconvert

•|Hardware Platform (Jetson / GPU): GPU
•|DeepStream Version: 5.0
•|TensorRT Version
•|NVIDIA GPU Driver Version (valid for GPU only) 440.33.01
•Issue Type( questions, new requirements, bugs) bug
**•How to reproduce the issue ? **

The src-crop value in nvvideoconvert is read back wrong:

g_print("src-crop (%d): %s\n", i, crop_string);
g_object_set (G_OBJECT (vidconv[i]), "src-crop", crop_string, NULL);
g_object_get (G_OBJECT (vidconv[i]), "src-crop", &ret, NULL);
g_print("src-crop: %s\n", i, ret);


src-crop (0): 0:0:960:540
src-crop: 0:540:960:540

The cropping is executed properly, though, so it’s just the read back that seems to have a bug-

Yes. You are right. The “src-crop” property_get is wrong. We will fix it.

I also found that.

Annother question:
How to dynamicly set the crop property when the pipeline was created already!


No. This property can not be changed dynamically. It can only be changed when the pipeline state is READY or NULL.

So the only way is to rebuild the pipeline from start?

The way is to change the pipeline state to READY, change the property, and then change the pipeline state to PLAYING.