Argus NV12 to RGBA Conversion

Hello,

I am trying to convert NV12 frames from Argus into RGBA. The backend example from the tegra_multimedia_api uses v4l2, but I need to use Argus. Is there anyway to use the NvVideoConverter with Argus, or do I have to make a CUDA consumer to do this?

Thanks.

hello edexheim,

you may use the gstreamer pipeline with nvarguscamerasrc component.
for example, here’s pipeline to launch camera for preview, you may adding nvvidcov for converting the output format.

$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -ev

Hi edexheim,
Kindly check this thread for details:
[url]How to get RGB Sensor Data with Argus library - Jetson TX2 - NVIDIA Developer Forums