Opengl and avi

Started by
2 comments, last by JohnFive 24 years, 4 months ago
I believe you can. If it isn't directly supported, it would still be pretty easy to work in a run-around. Microsoft Windows has it's own API for playing AVI files. I think that you can just specify the surface address that you want it to attach to and let her rip. I haven't tried it myself, but it should be easy to implement.
William Reiach - Human Extrodinaire

Marlene and Me


Advertisement
The Win32 API has functions for reading AVIStreams, so for each frame you can retrieve the bitmap and then blit that to whatever surface you want in whatever API you want. Relevant functions: AVIStreamRead, AVIStreamReadFormat, AVIFileOpen, etc. Check the "Win32 Multimedia Programmer's Reference," which comes with the major compilers (Borland, MSVC).
Well, like the subject says. How are you able to make avi play on opengl instead of directx.
thanks
Well all the apis that i have seen uses directx for bliting. i will look further into it. thanks for you suggestions.

------------------

This topic is closed to new replies.

Advertisement