add opencv video.py for video based code