Hi, I would like to pass information to libnvsample_cudaprocess.so which is used in a gstreamer pipeline by nvivafilter.
Which is the easiest way to do this?
Which method do I use for a “one off” way to pass information, and which way can I dynamically pass data to my .so file while it is running in the pipeline?
I’d prefer to use a proper method compatible with nvivafilter rather than setting up my own Linux IPC method which could be nasty given the .so is dynamically used by nvivafilter.
You may get the public sources of nvvidconv that has similar implementation as nvivafilter, so you would be able to use the same CUDA processing with minor adaptation. You would be able to add properties to your custom plugin and check for these in your implementation.
Hi,
It depends on yout use-case. It is fixed interface in using nvivafilter. If you need more flexibility in your development, may use appsink so that NvBuffer APIs can be used.
Honey_Patouceul’s suggestion is good. Since nvvidconv plugin is open source from Jetpack 4.5.1, you can download the source code and do customization on it.