IMFMediaEngineEx interface

Extends the IMFMediaEngine interface.

Members

The IMFMediaEngineEx interface inherits from IMFMediaEngine. IMFMediaEngineEx also has these types of members:

Methods

The IMFMediaEngineEx interface has these methods.

MethodDescription
ApplyStreamSelections

Applies the stream selections from previous calls to SetStreamSelection.

CancelTimelineMarkerTimer

Cancels the next pending timeline marker.

EnableHorizontalMirrorMode

Enables or disables mirroring of the video.

EnableTimeUpdateTimer

Enables or disables the time update timer.

EnableWindowlessSwapchainMode

Enables or disables windowless swap-chain mode.

FrameStep

Steps forward or backward one frame.

GetAudioEndpointRole

Gets the audio device endpoint role used for the next call to SetSource or Load.

GetAudioStreamCategory

Gets the audio stream category used for the next call to SetSource or Load.

GetBalance

Gets the audio balance.

GetNumberOfStreams

Gets the number of streams in the media resource.

GetPresentationAttribute

Gets a presentation attribute from the media resource.

GetRealTimeMode

Gets the real time mode used for the next call to SetSource or Load.

GetResourceCharacteristics

Gets various flags that describe the media resource.

GetStatistics

Gets a playback statistic from the Media Engine.

GetStereo3DFramePackingMode

For stereoscopic 3D video, gets the layout of the two views within a video frame.

GetStereo3DRenderMode

For stereoscopic 3D video, queries how the Media Engine renders the 3D video content.

GetStreamAttribute

Gets a stream-level attribute from the media resource.

GetStreamSelection

Queries whether a stream is selected to play.

GetTimelineMarkerTimer

Gets the time of the next timeline marker, if any.

GetVideoSwapchainHandle

Gets a handle to the windowless swap chain.

InsertAudioEffect

Inserts an audio effect.

InsertVideoEffect

Inserts a video effect.

IsPlaybackRateSupported

Queries whether the Media Engine can play at a specified playback rate.

IsProtected

Queries whether the media resource contains protected content.

IsStereo3D

Queries whether the media resource contains stereoscopic 3D video.

RemoveAllEffects

Removes all audio and video effects.

SetAudioEndpointRole

Sets the audio device endpoint used for the next call to SetSource or Load.

SetAudioStreamCategory

Sets the audio stream category for the next call to SetSource or Load.

SetBalance

Sets the audio balance.

SetCurrentTimeEx

Seeks to a new playback position using the specified MF_MEDIA_ENGINE_SEEK_MODE.

SetRealTimeMode

Sets the real time mode used for the next call to SetSource or Load.

SetSourceFromByteStream

Opens a media resource from a byte stream.

SetStereo3DFramePackingMode

For stereoscopic 3D video, sets the layout of the two views within a video frame.

SetStereo3DRenderMode

For stereoscopic 3D video, specifies how the Media Engine renders the 3D video content.

SetStreamSelection

Selects or deselects a stream for playback.

SetTimelineMarkerTimer

Specifies a presentation time when the Media Engine will send a marker event.

UpdateVideoStream

Updates the source rectangle, destination rectangle, and border color for the video.

 

Remarks

The IMFMediaEngine interface contains methods that map to the HTML5 media elements. The IMFMediaEngineEx provides additional functionality that does not correspond directly to HTML5.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngine
Media Engine Sample

 

 

Community Additions

ADD
Show:
© 2014 Microsoft