Resources for custom nvivafilter for Jetpack 5.1.1 Jetson NX

Hello,

I have been experimenting a bit with the script. I think I got it to work.

I run the and I got the following:

gst-launch-1.0 videotestsrc pattern=snow ! video/x-raw,width=1280,height=720,framerate=30/1 ! queue ! comp.sink_0 videotestsrc ! video/x-raw,width=640,height=480,framerate=30/1 ! nvvidconv ! ‘video/x-raw(memory:NVMM)’ ! nvivafilter cuda-process=1 customer-lib-name=./libnvsample_cudaprocess.so ! ‘video/x-raw(memory:NVMM),format=RGBA’ ! nvvidconv ! queue ! comp.sink_1 compositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::zorder=1 sink_1::xpos=0 sink_1::ypos=0 sink_1::zorder=2 ! videoconvert ! xvimagesink

After modifying the script with your suggestion, by running the same command as before I get the following:

Edit:
What exactly is pElement, pitch and pDevPtr?