Convert BGRA to RGBA

HI guys
I want to convert BGRA frame to RGBA or other format like I420,NV12 and UYVY, but nvvidconv or nvvideoconvert doesnt support these kind of format for src or sink. Should it be better to use Cuda for color conversion or we can find any soulution in nvvidconv or other plugins?


The format is defined in nvbuf_utils.h:


So you can call NvBufferTransform() for the conversion. Furthermore, since nvvidconv is open source, you can customize the plugin to add the format.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.