title: Input a mp4 to a texture OpenGL
body: <p>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:</p>
  
  <pre><code>glBindTexture( GL_TEXTURE_2D, textureID );
  
  glTexImage2D( GL_TEXTURE_2D, 0, RGBA, width, height, 0, format, GL_UNSIGNED_BYTE, &amp;data.front() );
  </code></pre>
  
  <p>Thanks for the help!</p>