openCV 2.4.8 MacOSX 10.9.3 VideoCapture issue

asked 2014-06-29 15:35:45 -0500

windowtab gravatar image

updated 2014-06-29 15:37:19 -0500

Hi all, I have installed opencv 2.4.8 with ffmpeg=on on my Macbook with OSX 10.9.3 and am able to run through the face detection example. However, when trying to load a video file in the source code directory using: VideoCapture cap("test.avi");
I get an error message: WARNING: Couldn't read movie file test.avi I installed ffmpeg using macports and tried installing opencv using macports, however after having the same issue I compiled the opencv source using cmake and installed it. With the issue remaining.

This is a partial dump of the cmake configuration output: -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: NO -- FFMPEG: YES -- codec: YES (ver Unknown) -- format: YES (ver Unknown) -- util: YES (ver Unknown) -- swscale: YES (ver Unknown) -- gentoo-style: YES

Anyone faced a similar issue? Any help is much appreciated! Thanks

edit retag flag offensive close merge delete