Issue Reading Local Video File

asked 2020-07-14 02:48:59 -0500

Hi,

I have opencv installed, but when i do the following:

import cv2
vs = cv2.VideoCapture('./video1.mp4')
ret, frame = vs.read()

vs.isOpened() returns True but ret always return False and frame is None. Would like to know what would be the possible reason to this? Thank you.

edit retag flag offensive close merge delete