开发者

DirectShow ISampleGrabber which accepts VIDEOINFOHEADER2

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 开发者_C百科screen which I would like to avoid. Thanks.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜