NV12 to RGBA conversion in batch.

I have studied gst-dsexample sample and in that the conversion is done per frame in the function get_converted_mat. I would like to ask if there is a way to do the conversion to and from NV12 on the full batch of frames rather than in a loop on individual frame.

Hi,
nvvideoconvert plugin can do NV12 to RGBA ocnversion. You may insert the plugin into your pipeline like:

...! video/x-raw(memory:NVMM),format=NV12 ! nvvideoconvert ! video/x-raw(memory:NVMM),format=RGBA !...