Sign in to follow this  
_Sergey_

Playing AVI files from memory

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this