Opencv 3.3 - VideoCapture not working [closed]
I am using visual studio 2015 with opencv 3.3 on windows.
VideoCapture vidCap(fileName);
Mat image;
vidCap.read(image);
But image is empty. I have verified that filename is correct. How do I check what went wrong ? Can anybody tell me what went wrong ?
try
^^ indeed, VideoCapture::read() returns a bool, not the image
I have tried that sturkmen but it does not work as well. Berak, where can I find the opencv_ffmpeg340.dll ?
I have edited my code. That is what I have tried but the image is still empty
first search opencv_ffmpeg330_64.dll in your computer
@Nbb, <your_opencv_folder>\build\bin