import cv2 import sys video = cv2.VideoCapture(sys.argv[1])