a series of images into a video file using the OpenCV library