Share via


MFMPEG2DLNASINKSTATS-Struktur (mfmp2dlna.h)

Enthält Codierungsstatistiken aus der DLNA-Mediensenke (Digital Living Network Alliance).

Diese Struktur wird mit dem attribut MF_MP2DLNA_STATISTICS verwendet.

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;

Member

cBytesWritten

Gesamtanzahl der Bytes, die in den Bytestream geschrieben wurden.

fPAL

Wenn TRUE, ist der Videodatenstrom ein PAL-Format. Andernfalls ist der Videostream ein NTSC-Format.

fccVideo

Ein FOURCC-Code, der das Videoformat angibt.

dwVideoWidth

Die Breite des Videoframes in Pixel.

dwVideoHeight

Die Höhe des Videoframes in Pixel.

cVideoFramesReceived

Die Anzahl der empfangenen Videoframes.

cVideoFramesEncoded

Die Anzahl der videoframes, die codiert wurden.

cVideoFramesSkipped

Die Anzahl der Videoframes, die übersprungen wurden.

cBlackVideoFramesEncoded

Die Anzahl der schwarzen Frames, die codiert wurden.

cVideoFramesDuplicated

Die Anzahl duplizierter Videoframes.

cAudioSamplesPerSec

Die Audio-Abtastrate in Beispielen pro Sekunde.

cAudioChannels

Die Anzahl der Audiokanäle.

cAudioBytesReceived

Die Gesamtmenge der empfangenen Audiodaten in Bytes.

cAudioFramesEncoded

Die Anzahl der audioframes, die codiert wurden.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 7 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 R2 [nur Desktop-Apps]
Kopfzeile mfmp2dlna.h

Weitere Informationen

Media Foundation-Strukturen