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 |
|
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 |
|
|
|
|
|
The VIDEOENCODER_BITRATE_MODE enumeration describes the bit rate encoding modes supported by the device.
Specifies that the encoding bit rate is constant.
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.
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.
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).