I want to implement raw saving capability for my C++ application, so turned to v4l.
I am generally using OpenCV VideoCapture with a GStreamer pipeline to stream images from my camera,
but I want to be able to dynamically disable the VideoCapture, open a v4l session where I capture raws and then restart the GStreamer pipeline when I am done saving raw.
However I am having trouble starting V4L after I have had a GStreamer session open.
Even though I call release() and destroy the OpenCV Video Capture object, V4L is complaining that the device is still busy.
I am trying to figure out what’s causing the device to be busy, but so far I can’t
Both fuser -v /dev/video0 and lsof /dev/video0 print nothing
Any ideas what I can do to get past this?