Partager via


Image Sink Filter

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This filter writes still image data from a video stream to a file, and depending on the input source it may also encode the image data.

This filter uses the Imaging API internally and therefore the filter has access to any installed image encoders. These encoders may or may not be optimized for the hardware on your device. This filter accepts RGB data for encoding and it also accepts pre-encoded JPEG data. It does not accept YCbCr as the input color space for encoding.

This filter is used to render still images and is the interface to the Imaging API. For more information, see Video Capture.

Filter Property Description

Filter Interfaces

IFileSinkFilter2 Interface, IImageSinkFilter

Input Pin Media Types

The following media types are supported:

MEDIATYPE_Video, FORMAT_VideoInfo. The following subtypes are supported:

  • MEDIASUBTYPE_RGB32
  • MEDIASUBTYPE_RGB24
  • MEDIASUBTYPE_RGB555
  • MEDIASUBTYPE_RGB565
  • MEDIASUBTYPE_IJPG

See the topic Media Types and Sub Types for more information.

Input Pin Interfaces

IMemInputPin, IPin

Output Pin Media Types

None

Output Pin Interfaces

None

Filter CLSID

CLSID_IMGSinkFilter

Property Page CLSID

None

Executable

quartz.dll

Merit

MERIT_DO_NOT_USE

Filter Category

CLSID_VideoCompressorCategory

See Also

Concepts

Supported DirectShow Filters
Video Capture