Search code examples
c#c++dlldirectshow

How to convert DirectShow Filter to C++\C#?


We have some filter for DS. It works - uses standard win dll's.

We want to convert that filter to some sort of program that doesn't rely on using DS. We want it to call dlls in the right order, do all what DS is doing but not be in any way dependable on DS - only on filter dll's.

So... How to convert DirectShow Filter to C++\C#?


Solution

  • A better solution is to use the filter within a single-purpose graph, in which you have a custom source feeding the filter from the app, and a custom sink receiving the output and delivering it to the app. There's an example of this on www.gdcl.co.uk. I know this isn't quite what you are asking for, but your dependencies on dshow are very limited, and it's hard to see an environment in which the filter binary works but dshow basics are not available.

    G