video playing

how do i play a video in mpg ?? i have seen nehes tutorial but its only for avi’s

You know, it is not really an OpenGL problem. First find a way to decode MPEG, then send that texture to GL. This second part should be the same as the NeHe tutorial.