Interface of FFmpeg and OpenCV