I am looking for either modifying or blocking the video stream for all cameras from kernel after a while since it was started. I managed to find the frames when I am using v4l2src in GStreamer. They pass through the function tegra_channel_capture_frame in vi4_fops.vi, but when I use nvarguscamerasrc, the frames do not pass through tegra_channel_capture_frame.
I have read that when I am using nvarguscamerasrc, it uses a userspace driver:
I have tried to locate the function, but I have not achieved it.
Also, I have tried to turn off the camera and release the buffers queue to block the frame streams, but it leads to Kernel Panics and Segmentation faults.
So, my goal is either alter the frames or stop the transmission from Kernel without touching camera drivers. I thought I could do it with v4l2, but I am not sure until now that it is possible. Does someone do something similar or know where I could block the video stream or alter the frames from kernel?
Any suggestion is welcome as well.
Thanks in advance