Closed seekerquoc closed 8 years ago
Same, Please help. It says Can't open Video!. I'm using VS2013. I guess this program doesn't reqquire OpenCV2.4 to be installed. I have OpenCV3.0 by the way.
I tried to use cv::VideoCapture capture("dataset/video.avi");
instead of CvCapture *capture = 0; capture = cvCaptureFromAVI("dataset/video.avi");
. But, I get this error
IntelliSense: no suitable conversion function from "cv::VideoCapture" to "CvCapture *" exists
Edit: I tweaked a bit and the above error is gone. But, I still can't read the video file. Tried using other video sources but in vain.
download klite, it comes with alll necessary codecs, I had the same issue too until i installed klite
Hi @seekerquoc and @zshn25 , sorry for my long delayed response, I was on vacation. Please copy and past the opencv_ffmpeg2410.dll (for OpenCV 2.4.10) or related file for OpenCV3 in your project folder. Another solution is to put the OpenCV bin folder in your system path. Please, let me know if the problem persists. (and check if all necessary codecs are installed, as @aubryll said).
it alwayls give me error, cant open video, can you help me?