MFMPEG2DLNASINKSTATS structure (mfmp2dlna.h)

Contains encoding statistics from the Digital Living Network Alliance (DLNA) media sink.

This structure is used with the MF_MP2DLNA_STATISTICS attribute.

Syntax

typedef struct _MFMPEG2DLNASINKSTATS {
  DWORDLONG cBytesWritten;
  BOOL      fPAL;
  DWORD     fccVideo;
  DWORD     dwVideoWidth;
  DWORD     dwVideoHeight;
  DWORDLONG cVideoFramesReceived;
  DWORDLONG cVideoFramesEncoded;
  DWORDLONG cVideoFramesSkipped;
  DWORDLONG cBlackVideoFramesEncoded;
  DWORDLONG cVideoFramesDuplicated;
  DWORD     cAudioSamplesPerSec;
  DWORD     cAudioChannels;
  DWORDLONG cAudioBytesReceived;
  DWORDLONG cAudioFramesEncoded;
} MFMPEG2DLNASINKSTATS;

Members

cBytesWritten

Total number of bytes written to the byte stream.

fPAL

If TRUE, the video stream is a PAL format. Otherwise, the video stream is an NTSC format.

fccVideo

A FOURCC code that specifies the video format.

dwVideoWidth

The width of the video frame, in pixels.

dwVideoHeight

The height of the video frame, in pixels.

cVideoFramesReceived

The number of video frames received.

cVideoFramesEncoded

The number of video frames that have been encoded.

cVideoFramesSkipped

The number of video frames that have been skipped.

cBlackVideoFramesEncoded

The number of black frames that have been encoded.

cVideoFramesDuplicated

The number of duplicated video frames.

cAudioSamplesPerSec

The audio sample rate, in samples per second.

cAudioChannels

The number of audio channels.

cAudioBytesReceived

The total amount of audio data received, in bytes.

cAudioFramesEncoded

The number of audio frames that have been encoded.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header mfmp2dlna.h

See also

Media Foundation Structures