I have filters in Graphedit whose settings can be changed.
I have a usb webcam which i can go to its properties and make it stream at different sizes, but im not sure how i would change these types of options programmatically without popping up the actual webcam property box. I want to keep it stream lined in a sense.
.QueryFilterInfo()
didn't give me any access to those types of options, and neither did
.QueryPinInfo()
Is there a way to get access to these options in C#?
Update: http://sourceforge.net/projects/directshownet/forums/forum/460697/topic/1319584
shows you how to correctly use GetStreamCaps
The interface you're looking for is IAMStreamConfig on the source filter's output pin This lets you specify fps and height and width, etc. Even though the link is for the c++ version, IAMStreamConfig is available in C# as it is listed here.