cv2.Videocapture() works fine while using webcam but while trying to read from hard drive it shows error cap.isOpened() returns false
import cv2 import nump
You need the ffmpeg codec to be able to read the video.