VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Jan 2006
    Location
    Netherlands
    Search Comp PM
    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
    Quote Quote  
  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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!