kVTCompressionPropertyKey_VariableBitRate
Declaration
let kVTCompressionPropertyKey_VariableBitRate: CFStringDiscussion
Requires that the encoder use a variable bitrate (VBR) rate control algorithm and specifies the desired variable bitrate in bits per second.
The actual peak bitrate present in the bitstream may be above or below this value based on other parameters such as kVTCompressionPropertyKey_VBVMaxBitRate. This property key needs to be set to achieve Variable Bitrate (VBR) rate control. This property key is not compatible with:
kVTCompressionPropertyKey_AverageBitRate,
kVTCompressionPropertyKey_ConstantBitRate,
kVTCompressionPropertyKey_DataRateLimits,
VTVideoEncoderSpecification_EnableLowLatencyRateControl = True.
See Also
Rate Control
kVTCompressionPropertyKey_AverageBitRatekVTCompressionPropertyKey_ConstantBitRatekVTCompressionPropertyKey_DataRateLimitskVTCompressionPropertyKey_EstimatedAverageBytesPerFramekVTCompressionPropertyKey_MoreFramesAfterEndkVTCompressionPropertyKey_MoreFramesBeforeStartkVTCompressionPropertyKey_QualitykVTCompressionPropertyKey_TargetQualityForAlphakVTCompressionPropertyKey_VBVBufferDurationkVTCompressionPropertyKey_VBVInitialDelayPercentagekVTCompressionPropertyKey_VBVMaxBitRate