Simple OpenCV video input/output sample