Hi,
I need to implement the File Source(async) filter. Can anyone tell me the Dshow classes and interfaces that are required.And the overall design of the filter.I am newbie any help in this regard in welcome.
Printable View
Hi,
I need to implement the File Source(async) filter. Can anyone tell me the Dshow classes and interfaces that are required.And the overall design of the filter.I am newbie any help in this regard in welcome.
You may use IMoniker, IMoniker has created the AsyncFilter instance. you will need to implement IFileSourceFilter and your IFileSourceFilter::Load() will call
FileDRMCreateFile(). Your SetPointer(), Read() and Size() methods will simply call the corresponding file I/O functions. The file source (async) filter opens and reads local files of many different data formats and passes the data to a parser filter. You may have a look at this.
http://msdn.microsoft.com/en-us/library/aa931130.aspx