Gstreamer writing to CUDA memory and zero copy cv::cuda::GpuMat with Jetpack 5.1.2

Hi,

Please check the two samples below:

It is expected to work on JetPack 6 as both use the NvBufSurface API.
Thanks.