Hi all,
I have an issue with my USB camera. When I plug it into my system, it creates two different links: /dev/video0 and /dev/video1. Sometimes, it happens that the video frames are indifferently passed to index 0 or index 1.
I know how to detect the correct video source an, for this reason, I create a virtual video device that is a map of that source.
Now, I would like to know if it is possible to call the VideoCapture function, passing directly the name of the device, e.g., /dev/videoMine instead of the index.
I already tried something like:
VideoCapture cap("/dev/videoMine", CAP_V4L);
but it does not work.
thanks