working on encoding
working opengl->mpeg