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
+ Reply to Thread
Results 1 to 2 of 2
-
-
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
Similar Threads
-
Directshow filter for the Animation codec
By roflwaffle in forum Video ConversionReplies: 8Last Post: 12th Oct 2010, 15:09 -
Directshow filter for decoding MPEG-2 TS
By roflwaffle in forum Video ConversionReplies: 5Last Post: 17th Aug 2010, 07:55 -
Directshow Source Filter Issue
By kakskulkarni in forum ProgrammingReplies: 0Last Post: 30th Jun 2010, 18:25 -
DirectShow Filter Problems
By scoooter1 in forum SVCD2DVD & VOB2MPGReplies: 7Last Post: 2nd Oct 2008, 22:12 -
Directshow filter being used...
By fabvideohelp in forum Newbie / General discussionsReplies: 10Last Post: 22nd Nov 2007, 12:27