I am creating a video capture application on Windows and use DirectShow to capture. As each frame comes in, I want to capture it as an unprocessed RGB bitmap into the buffer, after which my code will do whatever processing I need.
I was looking for patterns that are similar to what I want to do, and wherever I look online, people recommend using IMediaDet and / or ISampleGrabber for frame shots. Unfortunately, both of them are outdated and are not even in the latest version of the Windows SDK.
What is the best (modern) way to do frame-by-frame capture in DirectShow? If not, is there another library I should use that will give me frame by frame?
source share