add opengl rendering with ffmpeg