I'm trying to grab the images from a video file but I can't succeed to open it and I don't know why.
Below is a code sample that print False
where I'm expecting to get a True
. I don't get why I can't open this simple video file, any lead would be very much appreciated!
I tried with a relative path first then moved to an absolute path to see if anything changed and it's still the same...
video = cv2.VideoCapture()
path = "C:\\Users\\Leo\\Dropbox\\Projet VISORD\\TP3\\video.mpg"
print video.open(path)