Right. A friend on IRC solved this for me. Basically, I was not copying memory correctly so my output was uninitialised memory. Because my camera outputs UYVY and therefore my filter outputs UYVY, when this is uninitialised (in windows, this has a value), the RGB output is converted to green...
My filter is compiled directly into my app, so I'm not sure I can use GraphEdit without registering the filter first. So, I don't know. If no-one has come across this problem before, then I'll spend the time needed to make the filter into a dll and COM object.
Here's an odd thing. I am using the DirectX 9 SDK to develop a DirectShow app using live input from a firewire camera.
Using just a capture input and default renderer, I build the filter graph and set it to run. No problem. Lovely live output onto the screen.
However, when I use my custom...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.