Surprisingly not needed, unless you're writing traditional (non DMO) filters. A well-kept secret is an unofficial .NET wrapper to all the traditional C++ API calls to the DirectShow interfaces. It supports about 95% of the functionality. It's even possible to capture the callback frame at 30ps and process the bitmaps to add things like superimposed subtitles. This was on an XP machine with a P4.
Since the subject of DirectShow has been brought up.....
Gordon, if you are paying attention, I am not sure if you have any expertise in this area, but here goes...
I am currently trying to figure out the best way to put a crosshair image on top of a webcam output, in real-time, because post-time just won't cut it. I know it can be done with filters in DirectShow. In the past, I have toyed with the SampleGrabber filter, but I do not want to mess around with sample grabbing and BitBlt's, because this would slow down the video tremendously.
Any idea of what might be a good way to go about this?
EDIT: I suppose I should mention that the webcam video will be shown locally as compared to remotely.
EDIT: Please disregard this post. Since the original post, I have found an old DirectDraw sample application named Mosquito, which can be modified to suit my needs perfectly. Thanks anyhow.
Comments
Since the subject of DirectShow has been brought up.....
Gordon, if you are paying attention, I am not sure if you have any expertise in this area, but here goes...
I am currently trying to figure out the best way to put a crosshair image on top of a webcam output, in real-time, because post-time just won't cut it. I know it can be done with filters in DirectShow. In the past, I have toyed with the SampleGrabber filter, but I do not want to mess around with sample grabbing and BitBlt's, because this would slow down the video tremendously.
Any idea of what might be a good way to go about this?
EDIT: I suppose I should mention that the webcam video will be shown locally as compared to remotely.
EDIT: Please disregard this post. Since the original post, I have found an old DirectDraw sample application named Mosquito, which can be modified to suit my needs perfectly. Thanks anyhow.