Recently I am researching how to use cuda-process of nvivafilter.I downlaod an nvsample_cudaprocess source code and modify the contents of gpu_process. I used gstreamer to write a program, and I need to transfer some parameters to the gpu_process of nvivafilter.but I don’t know how to send it. Can someone help me?
Hi changding, by following README you can build your own libnvsample_cudaprocess.so. Any difficulty you have faced in modifying nvsample_cudaprocess.cu?
What should I do if I want to transfer external variables to the gpu_process interface of the nvivafilter element?
hi changding, you can extern the variables to libnvsample_cudaprocess.so
The input image data is stored in EGLImageKHR, and the image data output to the next element is also this EGLImageKHR right？
Some examples of using nvivafilter:
You can also review GstCuda and check if it matches your requirements:
- Carlos R.
I also have the same question, but cannot find any good answer from your links. I have some cuda algorithms, which can not modify the input EGLImageKHR image in place but create new image. I know I can copy the new generated image to the input, but is there any better way like swap the new image handle to it or other? In short, I want to create a gstreamer transform element. Thanks!
We suggest you use MMAPI to have more flexibility.