Ask Your Question

Revision history [back]

OpenCV 3 beta ffmpeg complied?

Hi there I'm trying to read an mp4 file with opencv 3 beta. Receiving some runtime errors regarding file can't be opened. It can be opened in media players on same PC but not through opencv code. Visual Studio 2013, compiling with x64 OpenCV beta 3.0 pre-built libs

  1. Can someone confirm was the windows build opencv3 beta download compiled with ffmpeg support turned on? http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0-beta/
  2. The ffmpeg dll and lib files came with the opencv3 beta in the 3rdparty subfolder - do I need to set that up in a path or include directory?
  3. Is there a way to gracefully check for mp4 support at runtime (exception?) or compile time (assert?)

I'm using a basic sample code like this http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#VideoCapture with a file VideoCapture constructor instead of VideoCapture cam(0).

Much obliged for any assistance. Pete .