Playing MPEG files on OGL ?
I don''t know, it''s a good idea to play MPEG movies on OGL ?
There is some tutors playing AVI/MPEG ?
Please help !
It is not such a good idea, since OpenGL does not provide you with a framebuffer where you could write your pixels at will. The only viable way to do it is to write to a texture (using glSubTexImage2D), and rendering a screen-size quad. The speed is usually sufficient with this technique.
About decoding AVI''s: have a look at M$ AVI texture D3D sample included with the DX7 SDK. You won''t need all the DX stuff, but you could use the AVI decompression code.
About decoding MPEG''s: you could use the Berkeley MPEGPlay code for this.
DaBit
About decoding AVI''s: have a look at M$ AVI texture D3D sample included with the DX7 SDK. You won''t need all the DX stuff, but you could use the AVI decompression code.
About decoding MPEG''s: you could use the Berkeley MPEGPlay code for this.
DaBit
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement