Hi,
I am trying to read a video:
#include <cassert>
#include <opencv2/highgui/highgui.hpp>
int main()
{
cv::VideoCapture in("mpi_sintel_final_alley_1.avi");
cv::Mat frame;
assert(in.isOpened());
assert(in.read(frame));
}
The second assertion fails. I've tried some other videos as well, it doesn't work either. I uploaded this video to my GitHub repo: https://raw.githubusercontent.com/vadimkantorov/mpegflow/master/examples/mpi_sintel_final_alley_1.avi
The version of OpenCV is 2.4.11 and it is compiled with FFmpeg 2.7.2.
What am I missing?
Thank you, Vadim