Video Capture Filter (Compact 7)

3/12/2014

The Video Capture filter controls analog capture devices.

Filter property Description

Filter Interfaces

ICaptureMetadata Interface,

IPersistPropertyBag,

IAMCameraControl Interface,

IAMDroppedFrames Interface,

IAMVideoControl Interface,

IAMVideoProcAmp Interface,

IKsPropertySet Interface,

IVPConfig Interface,

IAMVideoConfig

Input Pin Media Types

Driver-dependent.

Input Pin Interfaces

Driver-dependent.

Output Pin Media Types

Driver-dependent.

Output Pin Interfaces

IAMStreamConfig Interface,

IAMBufferNegotiation Interface,

IAMStreamControl,

ImplCsPropertySet

Filter CLSID

CLSID_VideoCapture

Executable

None

Merit

Do not use.

Filter Category

CLSID_VideoInputDeviceCategory

Remarks

This filter generates an EC_CAMERA_SAMPLE_SCANNED event. The parameters associated with this event are shown in the following table:

Parameter Description

Param1

The pin ID originating the event

Param2

A pointer to a "CAM_NOTIFICATION_CONTEXT", which contains the size of the structure, an hresult, and the picture ID.

If the attempt to allocate memory for the camera notification context does not succeed, Param2 will be NULL. The application must check the pointer to determine if it is valid before dereferencing it.

See Also

Reference

Supported DirectShow Filters