MF_MEDIA_ENGINE_STATISTIC enumeration (mfmediaengine.h)

Identifies statistics that the Media Engine tracks during playback. To get a playback statistic from the Media Engine, call IMFMediaEngineEx::GetStatistics.

In the descriptions that follow, the data type and value-type tag for the PROPVARIANT are listed in parentheses.

Syntax

typedef enum MF_MEDIA_ENGINE_STATISTIC {
  MF_MEDIA_ENGINE_STATISTIC_FRAMES_RENDERED = 0,
  MF_MEDIA_ENGINE_STATISTIC_FRAMES_DROPPED = 1,
  MF_MEDIA_ENGINE_STATISTIC_BYTES_DOWNLOADED = 2,
  MF_MEDIA_ENGINE_STATISTIC_BUFFER_PROGRESS = 3,
  MF_MEDIA_ENGINE_STATISTIC_FRAMES_PER_SECOND = 4,
  MF_MEDIA_ENGINE_STATISTIC_PLAYBACK_JITTER = 5,
  MF_MEDIA_ENGINE_STATISTIC_FRAMES_CORRUPTED = 6,
  MF_MEDIA_ENGINE_STATISTIC_TOTAL_FRAME_DELAY = 7
} ;

Constants

 
MF_MEDIA_ENGINE_STATISTIC_FRAMES_RENDERED
Value: 0
The number of rendered video frames. (ULONG, VT_UI4)
MF_MEDIA_ENGINE_STATISTIC_FRAMES_DROPPED
Value: 1
The number of dropped video frames. (ULONG, VT_UI4)
MF_MEDIA_ENGINE_STATISTIC_BYTES_DOWNLOADED
Value: 2
The number of bytes that have been downloaded since the last HTTP range request. (ULARGE_INTEGER, VT_UI8).
MF_MEDIA_ENGINE_STATISTIC_BUFFER_PROGRESS
Value: 3
The percentage of the playout buffer filled during buffering. The value is an integer in the range 0–100. (LONG, VT_I4)
MF_MEDIA_ENGINE_STATISTIC_FRAMES_PER_SECOND
Value: 4
The frames per second. (FLOAT, VT_R4)
MF_MEDIA_ENGINE_STATISTIC_PLAYBACK_JITTER
Value: 5
The amount of playback jitter. (DOUBLE, VT_R8)

Supported in Windows 8.1 and later.
MF_MEDIA_ENGINE_STATISTIC_FRAMES_CORRUPTED
Value: 6
The number of corrupted frames. (ULONG, VT_UI4)

Supported in Windows 8.1 and later.
MF_MEDIA_ENGINE_STATISTIC_TOTAL_FRAME_DELAY
Value: 7
The total amount of frame delay. (DOUBLE, VT_R8)

Supported in Windows 8.1 and later.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header mfmediaengine.h

See also

IMFMediaEngineEx::GetStatistics

Media Foundation Enumerations