The thing is, I need this pipeline to also work on x86 but I noticed that I don’t have access to nvbuf_utils.h, so I don’t have the ability to create NvBuffers from my existing image data and then pass it onto my pipeline. How do you pass NVMM memory to the pipeline if I don’t have access to the NvBuffer header files on x86?
@DaneLLL Ok, then let me modify my question. If I have some raw CUDA buffers from VPI / a cudaMalloc, how do I pass it into the gstreamer appsrc if the appsrc is set to NVMM? I have only seen examples where they pass data to the appsrc by using a NvBuffer, such as the example shown above, but I have not seen raw cuda buffer examples. Is that something related to "video/x-raw(memory:CUDAMemory)" ? Can you point me to an example.