Skip to content

Latest commit

 

History

History
81 lines (58 loc) · 3.4 KB

ne-ksmedia-videoencoder_bitrate_mode.md

File metadata and controls

81 lines (58 loc) · 3.4 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NE:ksmedia.VIDEOENCODER_BITRATE_MODE
VIDEOENCODER_BITRATE_MODE (ksmedia.h)
The VIDEOENCODER_BITRATE_MODE enumeration describes the bit rate encoding modes supported by the device.
stream\videoencoder_bitrate_mode.htm
stream
04/23/2018
VIDEOENCODER_BITRATE_MODE enumeration
ConstantBitRate, VIDEOENCODER_BITRATE_MODE, VIDEOENCODER_BITRATE_MODE enumeration [Streaming Media Devices], VariableBitRateAverage, VariableBitRatePeak, encoderef_9d060a81-91a8-4e1a-9043-17cbb179b386.xml, ksmedia/ConstantBitRate, ksmedia/VIDEOENCODER_BITRATE_MODE, ksmedia/VariableBitRateAverage, ksmedia/VariableBitRatePeak, stream.videoencoder_bitrate_mode
ksmedia.h
Ksmedia.h
Windows
Windows
VIDEOENCODER_BITRATE_MODE
VIDEOENCODER_BITRATE_MODE
ksmedia/VIDEOENCODER_BITRATE_MODE
APIRef
kbSyntax
HeaderDef
ksmedia.h
VIDEOENCODER_BITRATE_MODE

VIDEOENCODER_BITRATE_MODE enumeration

-description

The VIDEOENCODER_BITRATE_MODE enumeration describes the bit rate encoding modes supported by the device.

-enum-fields

-field ConstantBitRate

  Specifies that the encoding bit rate is constant.

-field VariableBitRateAverage

Specifies that the encoding bit rate is variable, with the specified bit rate used as a guaranteed average over a specified window. The default window size is considered to be 5 minutes. That is, this guarantees that the average bit rate over the window period (5 minutes) will not exceed that specified in ENCAPIPARAM_BITRATE.

-field VariableBitRatePeak

Specifies that the encoding bit rate is variable with the specified bit rate used as an average with a peak not to exceed the specified peak bit rate over a specified window. The default window size is considered to be 500ms (classically one GOP). That is, this bit rate is "constant quality" − the bit rate is expected to average around ENCAPIPARAM_BITRATE but may spike above this. It cannot exceed the bit rate specified in ENCAPIPARAM_PEAK_BITRATE.

-remarks

For all three modes, ENCAPIPARAM_BITRATE must be set to the expected average bit rate over a 5 minute period.

When VariableBitRatePeak mode is used, the ENCAPIPARAM_PEAK_BITRATE must also be set to the peak bit rate, which the VBR encoder must not exceed over a 500ms period (typically one GOP for MPEG-2 video).

-see-also

ENCAPIPARAM_BITRATE

ENCAPIPARAM_BITRATE_MODE

ENCAPIPARAM_PEAK_BITRATE