I'm building .NET application that uses DirectX API for web camera device
rendering.
I'm using DirectShowNet Library .
When I create instance of for ICaptureGraphBuilder2 interface and call
RenderStream like bellow
Guid cat = PinCategory.Still;
Guid med = MediaType.Video;
,where
target is my target filter,.
when I call the method RenderStream it
failes with return code -2147024809.When I change the category to
PinCategory.Preview I'm also getting
the same result.
Do you know how to fix it?
Thank you very much!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm building .NET application that uses DirectX API for web camera device
rendering.
I'm using DirectShowNet Library .
When I create instance of for ICaptureGraphBuilder2 interface and call
RenderStream like bellow
Guid cat = PinCategory.Still;
Guid med = MediaType.Video;
hr =capGraph.RenderStream(ref cat, ref med, capFilter, null,target);
,where
target is my target filter,.
when I call the method RenderStream it
failes with return code -2147024809.When I change the category to
PinCategory.Preview I'm also getting
the same result.
Do you know how to fix it?
Thank you very much!
If you were using our library, you wouldn't be using "ref" in your
RenderStream call.
Aside from that, have you checked to see if your device actually has a Still
pin? And are you actually adding your device to the graph?
i am using DShowNET lib.it uses "ref" in RenderStream call.
how to solve the issue.
Pls help me
If you want to use the library from CodeProject, you should ask for support
there.
If you want to use the SF library, you can download it, along with a
collection of samples from the "Files" option above.
I notice that you didn't answer the 2 questions I asked you before:
"have you checked to see if your device actually has a Still pin? And are you actually adding your device to the graph?"