First time here? Check out the FAQ!
answered 2017-06-22 16:08:21 -0600
Your url cv2.VideoCapture(xxx.mp4/avi) isn't correct.. .mp4 is already a video type and doing \ means you want to go inside the directory even though xxx.mp4 is not a directory but a file.
cv2.VideoCapture(xxx.mp4/avi)
.mp4
\
xxx.mp4