INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
DirectShow source filter with extra/custom COM interface

Forum Index -> Video -> Programming Printer-friendly version
Reply to topic
Author Message
pdehon
Member


Joined: 04 Jan 2006
Location: Netherlands

Post Posted: Oct 31, 2006 08:08 Posts Comp View users profile Send private message Reply with quote

question.gif 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

Post Posted: Oct 31, 2006 08:50 Posts Comp View users profile Send private message Reply with quote

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!


Reply to topic All times are GMT - 6 Hours
Forum Index -> Video -> Programming Page 1 of 1





You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Jump to:  
Display:   
About   Advertise   Forum Archive   RSS Feeds   Statistics