Seyfullah Çetin
Guest
|
Posted:
Sat Oct 09, 2004 12:53 pm Post subject:
Re: Using a DirectShow filter with Encoder |
|
|
Hi again,
I have solved this problem. In case someone else faced the same problem, I
am posting how I solved it. My solution is in fact NOT a solution. I just
couldn't query the interface of the filter. The only thing I had was an
IUnknown instance which I still don't know refers to what. I queried an
ISpecifyPropertyPages interface from this pointer. Then queried "the
interface of the filter". Also I needed an IBaseFilter interface of the
filter. And surprisingly I could query that from "the interface of the
filter". I know this is not the normal way but at least now I can do what I
want.
"Seyfullah Çetin" <schwarzxxl@yahoo.com> wrote in message
news:OEk93S4pEHA.556@TK2MSFTNGP11.phx.gbl...
| Quote: | Hi,
I am writing an app that uses WMEncoder SDK to encode a video stream. As
Encoder SDK allows us to use DirectShow filters as Transform plugins, I
had
added an overlay filter to the app to print date, time still image etc. to
the stream. It was OK because I didn't have to access filter's interfaces
through the code. I simply view the property page of the filter to use its
methods. But I added another filter. This time I MUST use its interfaces
to
make it work. The whole app is written with C#. Is there a way to do that.
Any suggestions?
|
|
|