Writing to video with OpenCV – PyImageSearch