I need to push my own application-generated CUDA image buffers to a Gstreamer pipeline like this:
My application -> appsrc -> nvhdmioverlaysink
So far I’ve managed to make it work using pinned memory, and not setting any memory type when linking appsrc and nvhdmioverlaysink. This works, but I think nvhdmioverlaysink assumes the buffer to be host paged memory, and somehow a host->device copy ends up taking place.
I’ve tried to set the “memory:NVMM” feature when linking appsrc and nvhdmioverlaysink, but sadly it all explodes into errors like these:
NvxBaseWorkerFunction comp OMX.Nvidia.render.hdmi.overlay.yuv420 Error -2147479552
Any ideas about how to make this work?