Thanks Dane.
I am trying to blend a PNG onto a camera stream, and this post seems to indicate that is not supported for nvcompositor: NVidia Form Post. In your opinion, is the information in that post still true for the Orin Nano? I briefly tried it and nvcompositor did not seem to recognize the alpha channel in the PNG.
I used this pipline for my test:
$ gst-launch-1.0 nvcompositor \
name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 \
sink_0::height=1080 sink_1::width=1920 sink_1::height=1080 ! \
'video/x-raw(memory:NVMM)' ! queue ! nv3dsink \
nvarguscamerasrc sensor-id=0 ! \
'video/x-raw(memory:NVMM),width=1920,height=1080,format=NV12,framerate=60/1' \
! comp.sink_0 \
filesrc location='overlay.png' ! pngdec ! imagefreeze ! nvvidconv ! comp.sink_1 -e
In this case, the PNG is drawn on the video but with no alpha blend.
I will investigate the NvBufSurfTransformMultiInputBufCompositeBlend() API and see what that does for me and will report back.
Thanks again for your assistance.