record opengl movie