Solving Problem opencv 4.x.x video stream failed I hope this can help Change videocapture = cv2.VideoCapture(0 ) to videocapture = cv2.VideoCapture(0 , cv2.CAP_V4L ) Share this:Click to print (Opens in new window)Click to email a link to a friend (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Like this:Like Loading...