I am wondering how to go about this one, I could use ffmpeg to transform the mp4 to RGBA (I still haven't been able to do so) and then input into my program but I would like to decode it in my C++ main directly, after that I guess is arbitrary to get it into a texture with something like:
glBindTexture( GL_TEXTURE_2D, textureID );
glTexImage2D( GL_TEXTURE_2D, 0, RGBA, width, height, 0, format, GL_UNSIGNED_BYTE, &data.front() );
Thanks for the help!