Question regarding Directshow and custom video capture
-
Hi, I need to make a custom filter that connects to a camera, how does one begin this, and what kind of filter do I have to write? I am fairly new at Directshow so any help would be greatly appreciated.
-
Hi, I need to make a custom filter that connects to a camera, how does one begin this, and what kind of filter do I have to write? I am fairly new at Directshow so any help would be greatly appreciated.
Here's the place to start: Writing DirectShow Filters[^] The filter type you want is a capture filter. The section of the SDK specifically for that is Writing Capture Filters[^] I highly recommend starting with the base classes included with the SDK. It saves alot of work. There's also working filter samples in the Platform SDK if you want some code to get you started. The Push Source Filters Sample[^], although not a true capture filter, may be a good place to start. If you haven't already, download the Platform SDK - all the DirectShow stuff is there :) Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder