Hi,
For using appsink in OpenCV, this cannot be eliminated. Optimal pipeline on Jetson Nano is to have NVMM bufffers from source to sink. OpenCV is CPU-based stackand it only accepts CPU buffers in appink.
An optimal solution is to leverage CUDA APIs and tegra_multimedia_api. Please refer to