pdehon Member
Joined: 04 Jan 2006 Location: Netherlands
|
|
Hello,
I'm writing a source filter that has to receive frame-data from an external application, not from a hardware device. The idea is add an custom COM interface to the source filter to enable data exchange to the source filter from the graphbuilder-dll. Is there any sample source code that demonstrates how to do this? I have tried to do this, but not successful..
Best regards,
Peter de Hon
|
|
JohnnyMalaria Member
Joined: 29 May 2006 Location: United States
|
|
It is certainly possible.
Adding an additional COM interface to a DirectShow filter is relatively straightforward (if you are using Visual Studio).
Does the interface need to be bidirectional? i.e., does the filter need to be able to send information to the application (as well as the reverse - which is more typical)?
If so, you need to implement a COM event interface (that's a little bit more tricky).
Perhaps you could provide some more information about how you have attempted this so far?
_________________ John Miller
enosoft - high performance tools for music and video
Home of the Enosoft DV Processor - Free for personal use!
|
|