I got error while opening avi files with OpenCV2.4.9 (warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545)

asked 2014-10-30 03:14:42 -0500

I tried to open an avi file but when I try to open it I get this error; warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545) This file which I was the Caltech dataset video and it has orginally .seq extension I changed the extension to .avi. I can open it any video player on my computer but I cannot open it using OpenCV 2.4.9. My platform is Windows 7 and I use Eclipse C++.

Thank you.

edit retag flag offensive close merge delete


Double check your path and share your code

FLY gravatar imageFLY ( 2014-10-30 03:22:26 -0500 )edit

highly unlikely, that VideoCapture can read that.

if you can, extract the images to a folder, then use VideoCapture or glob/imread

berak gravatar imageberak ( 2014-10-30 03:32:30 -0500 )edit