No image shown in screen with different dpi from source to nvdsosd

Hi, when I use the command as:
gst-launch-1.0
v4l2src device=/dev/video0 ! “video/x-raw,format=UYVY,width=1920,height=1080” !
videoconvert ! “video/x-raw,format=NV12” !
nvvideoconvert ! “video/x-raw(memory:NVMM),format=RGBA” ! nvdsosd !
nvoverlaysink sync=false,
If the screen is not 1920x1080, the screen is red.
How could I solve this problem without adding nvvideoconvert after nvdsosd?

hi.all.

No matters which plugins used before,it happens all the time,if the sink is

nvvideoconvert ! "video/x-raw(memory:NVMM),format=RGBA,width=1920,height=1080" ! nvdsosd ! nvoverlaysink sync=false

Hi,
The nvdsosd plugin is developed for DeepStream SDK usecases. We would like to suggest you run DeepStream SDK. The latest version is DS4.0.2

Besides, you can also check the development guide:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_app_config.3.2.html%23wwpID0EQHA

There are properties in OSD group that you can configure and try.