IMFCaptureSource interface

Controls the capture source object. The capture source manages the audio and video capture devices.

Members

The IMFCaptureSource interface inherits from the IUnknown interface. IMFCaptureSource also has these types of members:

Methods

The IMFCaptureSource interface has these methods.

MethodDescription
AddEffect

Adds an effect to a capture stream.

GetAvailableDeviceMediaType

Gets a format that is supported by one of the capture streams.

GetCaptureDeviceActivate

Gets the current capture device's IMFActivate object pointer.

GetCaptureDeviceSource

Gets the current capture device's IMFMediaSource object pointer.

GetCurrentDeviceMediaType

Gets the current media type for a capture stream.

GetDeviceStreamCategory

Gets the stream category for the specified source stream index.

GetDeviceStreamCount

Gets the number of device streams.

GetMirrorState

Gets the current mirroring state of the video preview stream.

GetService

Gets a pointer to the underlying Source Reader object.

GetStreamIndexFromFriendlyName

Gets the actual device stream index translated from a friendly stream name.

RemoveAllEffects

Removes all effects from a capture stream.

RemoveEffect

Removes an effect from a capture stream.

SetCurrentDeviceMediaType

Sets the output format for a capture stream.

SetMirrorState

Enables or disables mirroring of the video preview stream.

 

Remarks

To get a pointer to the capture source, call IMFCaptureEngine::GetSource.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfcaptureengine.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft