Gray16 format support in nvvidconv plugin or any 16-bit color formats

I’m working on a GStreamer pipeline on Jetson Xavier NX where I need to process grayscale images in GRAY16 format (16 bits per pixel). However, I noticed that the nvvidconv plugin does not seem to accept GRAY16 as a valid input format.

I tried to push video/x-raw, format=GRAY16 buffers to nvvidconv, but it fails with a caps negotiation error. The plugin only seems to accept formats like GRAY8, NV12, RGBA, I420, etc.

  • Does nvvidconv support GRAY16, GRAY16_LE, or any other 16-bit per pixel formats?
  • Would support for 16-bit formats be available in future versions of nvvidconv?

Hi,
This is constraint of hardware converter. This format is not supported. You may look for software converter.

I’m using DeepStream SDK 6.3, and I’ve encountered an issue where setting a custom buffer size in NvBufSurfaceCreateParams::size
(specifically surfaceList[0].dataSize) has no effect during NvBufSurfaceCreate. I’m using NVBUF_MEM_SURFACE_ARRAY memtype. It is using width , height and color format for allocating memory. Please help me to allocate custom memory size in NVBUF_MEM_SURFACE_ARRAY surface.

Hi,
GRAY16 is not supported, so the memory cannot be allocated. Are you able to switch to use supported format?