views:

14

answers:

1

As stated in http://msdn.microsoft.com/en-us/library/dd377544(VS.85).aspx, ISampleGrabber accepts only videos with VIDEOINFOHEADER structure, but not VIDEOINFOHEADER2. Is there any alternative to ISampleGrabber, or any example code for a filter that would do similar job? I have tried with IBasicVide, but it renders video on the screen which I would like to avoid. Thanks.

+1  A: 

You have to write your own filter for this goal.

There is already a sample in the SDK. See the dump filter sample. If the renderer sample is too complex, use a transform filter and insert a NullRenderer behind this filter.

Christopher