Small script with Python and OpenCV to detect motion in videos, based on Basic motion detection and tracking with Python and OpenCV and [Faster video file FPS with cv2.VideoCapture and OpenCV] (https://www.pyimagesearch.com/2017/02/06/faster-video-file-fps-with-cv2-videocapture-and-opencv/).