Using the NvOSD Library on non-X11 display systems

My Jetson Xavier based Ubuntu provides rendering support on non-X11.
I have developed custom video sink plugin based DRM API and it works greate :-)

gst-launch-1.0 nvv4l2camerasrc ! ‘video/x-raw(memory:NVMM),format=UYVY,width=1920,height=1080,framerate=30/1’ ! nvvidconv ! ‘video/x-raw(memory:NVMM),format=RGBA’ ! customsink

My question is, if i can use the Deepstream NvOSD library to draw rectangles and text over the frame on non-X11 display systems?

Alex G

No. nvvidconv is not deepstream plugin. Your sink can work with nvvidconv, it does not mean it can work with nvdsosd. The video surface is different.

nvvidoconvert is deepstream plugin. GStreamer Plugin Overview — DeepStream 5.1 Release documentation

Thanks for your answer!
Apparently I will use opencv library to draw rectangles and text directly on DRM overlay plane memory.

I mean the nvidia internal buffer surface, nvvidconv and nvvideoconvert generate different surface formats. You need to develop based on nvvideoconvert, this is the deepstream plugin.

I understood you well, but my main question was, if I would use Deepstream plugins like nvdosd, nvvideoconvert on systems without X11 window manager?


There is non-window render with deepstream DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums