I have an AVI video which I need to process in C++ using OpenCV. The problem is that OpenCV detects a FrameRate of 30, while in Matlab the VideoReader detects a FrameRate of 60 for the same video file. As a result, I can only extract half the frames in C++ compared to Matlab.
I tried setting the FPS to 60 in C++ with cv::VideoCapture::set(cv::CAP_PROP_FPS) but it does not affect it. I read that it also has to do with VideoCapture Backends (mine uses FFMPEG).
Is there a way to increase the FPS rate in OpenCV, since the video file supports it according to MATLAB?