• Advertisement

Archived

This topic is now archived and is closed to further replies.

Opengl and avi

This topic is 6607 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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).

Share this post


Link to post
Share on other sites
Well, like the subject says. How are you able to make avi play on opengl instead of directx.
thanks

Share this post


Link to post
Share on other sites
Well all the apis that i have seen uses directx for bliting. i will look further into it. thanks for you suggestions.

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

Share this post


Link to post
Share on other sites

  • Advertisement