VIDEOENCODER_BITRATE_MODE Enumeration

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

Syntax

typedef enum VIDEOENCODER_BITRATE_MODE {
  ConstantBitRate,
  VariableBitRateAverage,
  VariableBitRatePeak
} ;

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