Playing AVI files from memory

Started by
0 comments, last by yadango 17 years, 7 months ago
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?
--Sergey K. Linderdaum Project Coordinator http://www.linderdaum.comsupport@linderdaum.com
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...

This topic is closed to new replies.

Advertisement