Jump to content
  • Advertisement
Sign in to follow this  
_Sergey_

Playing AVI files from memory

This topic is 4485 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

Hello. I've found a couple of articles how to play an AVI file. But they all explain only how to do it from file on disk and i need to play an AVI file that is already loaded into memory or is memory mapped (there's a virtual filesystem in my app). After digging into MSDN's AVI reference i found nothing about it. They only have a bunch of AVIFile* and AVIStream* functions to work directly with files. What is the easiest solution for my problem?

Share this post


Link to post
Share on other sites
Advertisement
yes, it can be done by writing a custom source filter. there is an example program with source in the Microsoft Platform SDK that does exactly this. get it here. i forget what directory it's in and what it's called (i'm not on my dev machine), but it's there and it should be in the Samples > Multimedia > DirectShow directory...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!