Archived

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

fk1ee

Play a media data from memory in DirectShow

Recommended Posts

fk1ee    122
Hi All, Is there any method to play a media file which already loaded in memory and i want to play it from that block of memory ? Thx!

Share this post


Link to post
Share on other sites
thona    100
Sure. All you need is your own source filter :-)

Regards

Thomas Tomiczek
THONA Consulting Ltd.
(Microsoft MVP C#/.NET)

Share this post


Link to post
Share on other sites
fk1ee    122
ic..
It''s Source Filter
I search and found it in msdn then ..
it say,
"The source filter is the Async File Source, which reads a byte stream from the file and passes it to the AVI Splitter filter."

It seem that i need to create a Source filter for handling the media data and then pass it to the AVI Splitter filter.
But How does it work ?
using IFileSourceFilter::GetCurfile() ?

Share this post


Link to post
Share on other sites