It definitely won’t work with directshow, but you can try it with V4L2 see the FFMpeg docs. I don’t know if this will work but you can give it a shot and instead of
you could try
OPENCV_FFMPEG_CAPTURE_OPTIONS=input_format;v4l2
It definitely won’t work with directshow, but you can try it with V4L2 see the FFMpeg docs. I don’t know if this will work but you can give it a shot and instead of
you could try
OPENCV_FFMPEG_CAPTURE_OPTIONS=input_format;v4l2