I using python 2.7 and openCV 2.3.1 (win 7). I trying open video file:
stream = cv.VideoCapture("test1.avi") if stream.isOpened() == False: print "Cannot open input video!" exit()
But I have warning:
warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl_v2.hpp:394)
If use video camera (
stream = cv.VideoCapture(0)), this code works.
Any ideas as to what I'm doing wrong?
Thanks a lot to all!