VFW Capture Filter

[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 filter works with older video capture hardware that uses Video For Windows.

This filter has two output pins. One is called Capture, and the other is called either Preview or Overlay.

Label Value
Filter Interfaces IPersistPropertyBag, IAMVfwCaptureDialogs, IAMFilterMiscFlags, IBaseFilter, ISpecifyPropertyPages, IOverlayNotify
Input Pin Media Types Not applicable.
Input Pin Interfaces Not applicable.
Output Pin Media Types Capture: MEDIATYPE_Video, MEDIASUBTYPE_NULL, FORMAT_VideoInfoOverlay: MEDIATYPE_Video, MEDIASUBTYPE_Overlay, FORMAT_VideoInfo
Preview: MEDIATYPE_Video, MEDIASUBTYPE_NULL, FORMAT_VideoInfo
Output Pin Interfaces Capture Pin: IAMBufferNegotiation, IAMDroppedFrames, IAMPushSource, IAMStreamConfig, IAMStreamControl, IAMVideoCompression, IKsPropertySet, IPin, IQualityControlOverlay Pin: IAMStreamControl, IKsPropertySet, IPin, IQualityControl
Preview Pin: IAMPushSource, IAMStreamControl, IKsPropertySet, IPin, IQualityControl
Filter CLSID CLSID_VfwCapture
Property Page CLSID CLSID_CaptureProperties
Executable qcap.dll
Merit MERIT_DO_NOT_USE
Filter Category CLSID_VideoInputDeviceCategory

 

Remarks

Although the capture pin exposes the IAMStreamConfig interface, only the SetFormat and GetFormat methods are implemented for this interface.

DirectShow Filters

Video Capture