Export (0) Print
Expand All
Expand Minimize

VIDEOENCODER_BITRATE_MODE enumeration

The VIDEOENCODER_BITRATE_MODE enumeration type defines the three types of bitrates supported by the IEncoderAPI interface.

Syntax


typedef enum  { 
  ConstantBitRate         = 0,
  VariableBitRateAverage,
  VariableBitRatePeak
} VIDEOENCODER_BITRATE_MODE;

Constants

ConstantBitRate

The bit rate used for encoding is constant.

VariableBitRateAverage

The bit rate used for encoding is variable with the specified bitrate used as a guaranteed average over a specified window. The default window size is considered to be five minutes.

VariableBitRatePeak

The ENCAPIPARAM_BITRATE value is the expected (not guaranteed) average bit rate over a given time period and that the ENCAPIPARAM_PEAK_BITRATE value is the peak which the bit rate must not exceed. The default window size is considered to be 500ms (which is traditionally equal to one GOP).

Requirements

Header

Strmif.h (include Dshow.h)

See also

IEncoderAPI

 

 

Community Additions

ADD
Show:
© 2014 Microsoft