Save OpenGL Framebuffer As Video With OpenCV