Playing AVI files from memory
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?
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...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement