Python images to video library using OpenCV