Can I use ABGR32 as an output fixel format?

Hello,

① Can I use ABGR32 as an output fixel format?
② Is it possible to set ABGR32 to output pixel format by modifying another example?
③ Is it possible to convert the decoded data to RGB format so that it can be drawn in other applications (qt, xwindow)?

Thank you.

Hi,
H264 stream is compressed from YUV420 frames, so the decoded frames are in YUV420M or NV12M. If you need RGBA buffers, please create NvBuffer and do format conversion through NvBufferTransform(). Setting ABGR32 as output pixel format is not supported.

Hardware VIC engine does not support BGR format. Please refer to

1 Like