I intend to display video on a 3D cube (3D cube was drawn by OpenGL). I was successful in drawing a 3D cube by using OpenGL. However, when I put video on 3D cube, it does not work. As far as I know, if I display video on 3D cube, I must decode each frame of video and put it into 3D cube. Is there anyone knowing how to decode each frame of video? Or is there any other solution to display movie on a 3D cube? If yes, plz help me?
Thank you very much for your help!