I am swapping from EmguCV to OpenCV so that I can try some of the OpenCV functions that are not yet wrapped by EmguCV. However I\'m failing to load my simple test video file, wh
It appears that, following advice from @tobias-senst on another answer, I needed to build OpenCV on my local machine rather than rely on the DLLs that are provided with the standard distribution. It has been a headache to get OpenCV to build locally (see here, here, and here) but now that I reference to a copy of OpenCV 2.4.6 that was built on this machine I can open the video files.
I have no idea why this works, why it is not mentioned in the requirements, why others are not more frequently having this problem, nor what is failing with the default deployment, but at least I have it fixed.
umm..if emgu and your project use the same version, just copy the emgu's opencv dlls(and all other dlls) to your folder..maybe it will work.
one reason why that maybe is because opencv is not built with ffmpeg (or you are missing them in your folder, just copy them over then it also might start to work
). opencv rely on ffmpeg to do almost all of the decoding. opencv ffmpeg/s are probably built in release mode so if your project is in debug mode it probably wont work either.