How to get picture from nv12 (memory:NVMM) in nvbuf?

Hi,
In gstreamer, you can use nvvidconv plugin to convert to RGBA. And then call dump_dmabuf() to dump the data. Please refer to
Dump YUV buffer with libargus - #9 by DaneLLL

There are also sample code in

/usr/src/jetson_multimedia_api

Can also call NvBufferTransform() for NV12 to RGBA conversion.