I have problem in using VideoCapture calss for opening a MPEG video file. The code was compile properly. However, during the running time, it can not open the file and give me the following warning message:
warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:477)
I have this problem only when I build my code in debug mode. I relsease mode the code works correctly.
The code also works correctly in the c style using CvCapture and cvCaptureFromAVI (in both release and debug mode), however, I'd like to develop my code in more C++ style.
(I am using OpenCV 2.3 in Visual-studio (C++) 10)
Thank you for you helps