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

Hi, when I use the command as:
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?


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

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:

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