Advanced Capture Topics

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

This section describes some advanced aspects of video capture in DirectShow. Most of the issues described in this section are automatically handled by the ICaptureGraphBuilder2 interface. However, the information here may be useful if you need to troubleshoot a video capture application. You should also read this section if your application builds a custom capture graph of some kind and you find that ICaptureGraphBuilder2 does not suit your needs. Finally, this section contains some information about using the Video Mixing Renderer (VMR) filter in a video capture application.

It is possible to build a video capture graph entirely using IGraphBuilder methods. You can also combine the two interfaces, using ICaptureGraphBuilder2 for some tasks and IGraphBuilder for others.

This section contains the following topics:

Video Capture