# VoD Quality Preset Configurations

VoD Quality PresetsVOD\_STANDARDVOD\_QUALITYVOD\_HIGH\_QUALITY
adaptiveQuantizationModeVARIANCEVARIANCEVARIANCE
adaptiveQuantizationStrength111
adaptiveSpatialTransformFALSEFALSETRUE
bAdaptiveStrategyFASTFULLFULL
bPyramidNORMALNORMALNORMAL
bframes338
cabacTRUETRUETRUE
deblockAlpha000
deblockBeta000
encodingModeTWO\_PASSTHREE\_PASSTHREE\_PASS
fastSkipDetectionPFramesTRUETRUETRUE
macroblockTreeRatecontrol\-TRUETRUE
mixedReferencesTRUETRUETRUE
motionEstimationMethodHEXHEXUMH
mvPredictionModeSPATIALSPATIALSPATIAL
mvSearchRangeMax162424
nalHrdNONENONENONE
partitions"P8X8,B8X8,I8X8,I4X4""I4X4,I8X8,P8X8,B8X8,P4X4""I4X4,I8X8,P8X8,B8X8,P4X4"
profileMAINMAINHIGH
psyRateDistortionOptimization111
psyTrellis000
quantizerCurveCompression0.60.60.6
rcLookahead406060
refFrames3416
sceneCutThreshold000
slices\-11
subMeRD\_ALLRD\_ALLRD\_REF\_ALL
trellisENABLED\_FINAL\_MBENABLED\_ALLENABLED\_ALL
weightedPredictionBFramesTRUETRUETRUE
weightedPredictionPFramesSMARTSMARTSMART

`-` means that the default value of the codec configuration is used. Please see the [API reference](🔗) for the respective value.




# VoD Speed Preset Configurations

VoD Speed PresetsVOD\_SPEEDVOD\_HIGH\_SPEEDVOD\_VERYHIGH\_SPEEDVOD\_EXTRAHIGH\_SPEEDVOD\_SUPERHIGH\_SPEEDVOD\_ULTRAHIGH\_SPEED
adaptiveQuantizationModeVARIANCEVARIANCEVARIANCEVARIANCEVARIANCEDISABLED
adaptiveQuantizationStrength111110
adaptiveSpatialTransformTRUETRUETRUETRUETRUETRUE
bAdaptiveStrategyFASTFASTFASTFASTFASTNONE
bPyramidNORMALNORMALNORMALNORMALNORMALNORMAL
bframes333330
cabacTRUETRUETRUETRUETRUEFALSE
deblockAlpha000000
deblockBeta000000
encodingModeSINGLE\_PASSSINGLE\_PASSSINGLE\_PASSSINGLE\_PASSSINGLE\_PASSSINGLE\_PASS
fastSkipDetectionPFramesTRUETRUETRUETRUETRUETRUE
macroblockTreeRatecontrolTRUE\-\-\-\-\-
mixedReferencesTRUETRUEFALSEFALSEFALSEFALSE
motionEstimationMethodHEXHEXHEXHEXDIADIA
mvPredictionModeSPATIALSPATIALSPATIALSPATIALSPATIALSPATIAL
mvSearchRangeMax161616161616
nalHrdNONENONENONENONENONENONE
partitions"I4X4,I8X8,P8X8,B8X8""P8X8,B8X8,I8X8,I4X4""P8X8,B8X8,I8X8,I4X4""P8X8,B8X8,I8X8,I4X4""I8X8,I4X4"NONE
profileHIGHHIGHHIGHHIGHHIGHHIGH
psyRateDistortionOptimization111111
psyTrellis000000
quantizerCurveCompression0.60.60.60.60.60.6
rcLookahead5030102000
refFrames521211
sceneCutThreshold000000
slices1\-\-\-\-\-
subMeRD\_IPRD\_IPSATDQPEL4SADFULLPEL
trellisENABLED\_ALLENABLED\_FINAL\_MBDISABLEDENABLED\_FINAL\_MBDISABLEDDISABLED
weightedPredictionBFramesTRUETRUETRUETRUETRUEFALSE
weightedPredictionPFramesSMARTSIMPLESIMPLESIMPLESIMPLEDISABLED

`-` means that the default value of the codec configuration is used. Please see the [API reference](🔗) for the respective value.




# Live Quality Preset Configurations

Live Quality PresetsLIVE\_STANDARDLIVE\_HIGH\_QUALITYLIVE\_VERYHIGH\_QUALITYLIVE\_ULTRAHIGH\_QUALITY
adaptiveQuantizationModeVARIANCEVARIANCEVARIANCEVARIANCE
adaptiveQuantizationStrength1111
adaptiveSpatialTransformTRUETRUETRUETRUE
bAdaptiveStrategyFASTFASTFASTFULL
bPyramidNORMALNORMALNORMALNORMAL
bframes3333
cabacTRUETRUETRUETRUE
encodingModeSINGLE\_PASSSINGLE\_PASSSINGLE\_PASSTWO\_PASS
fastSkipDetectionPFramesTRUETRUETRUETRUE
macroblockTreeRatecontrolTRUETRUETRUETRUE
mixedReferencesFALSETRUETRUETRUE
motionEstimationMethodHEXHEXHEXUMH
mvPredictionModeSPATIALSPATIALSPATIALAUTO
mvSearchRangeMax16161616
nalHrdNONENONENONENONE
partitions"I4X4,I8X8,P8X8,B8X8""I4X4,I8X8,P8X8,B8X8""I4X4,I8X8,P8X8,B8X8""I4X4,I8X8,P8X8,B8X8"
profileHIGHHIGHHIGHHIGH
rcLookahead20304050
refFrames2235
sceneCutThreshold0000
subMeQPEL4RD\_IPRD\_ALLRD\_REF\_IP
trellisENABLED\_FINAL\_MBENABLED\_FINAL\_MBENABLED\_FINAL\_MBENABLED\_FINAL\_MB
weightedPredictionBFramesTRUETRUETRUETRUE
weightedPredictionPFramesSIMPLESIMPLESMARTSMART

`-` means that the default value of the codec configuration is used. Please see the [API reference](🔗) for the respective value.




# Live Low Latency Preset Configurations

Live Low Latency PresetsLIVE\_LOW\_LATENCYLIVE\_LOWER\_LATENCYLIVE\_VERYLOW\_LATENCY
adaptiveQuantizationModeVARIANCEVARIANCEDISABLED
adaptiveQuantizationStrength110
adaptiveSpatialTransformTRUETRUEFALSE
bAdaptiveStrategyFASTFASTNONE
bPyramidNORMALNORMALNORMAL
bframes330
cabacTRUETRUEFALSE
encodingModeSINGLE\_PASSSINGLE\_PASSSINGLE\_PASS
fastSkipDetectionPFramesTRUETRUETRUE
macroblockTreeRatecontrolTRUEFALSEFALSE
mixedReferencesFALSEFALSEFALSE
motionEstimationMethodHEXDIADIA
mvPredictionModeSPATIALSPATIALSPATIAL
mvSearchRangeMax161616
nalHrdNONENONENONE
partitions"I4X4,I8X8,P8X8,B8X8""I4X4,I8X8"NONE
profileHIGHHIGHBASELINE
rcLookahead1000
refFrames111
sceneCutThreshold000
subMeSATDSADFULLPEL
trellisDISABLEDDISABLEDDISABLED
weightedPredictionBFramesTRUETRUEFALSE
weightedPredictionPFramesSIMPLESIMPLEDISABLED

`-` means that the default value of the codec configuration is used. Please see the [API reference](🔗) for the respective value.

# Conformance with H264 Profiles

The majority of the profiles listed above set the H264 profile to `HIGH`, and use codec capabilities that target decoders that support this profile. The H264 High profile is by far the most common and has been widely supported for many years.

If your application requires the use of lower profiles, such as `BASELINE` or `MAIN`, you will need to overwrite some of the codec configuration parameters after applying the preset. Note however that the output quality may be reduced in doing so, and file sizes and bandwidth requirements may increase.

## To set the profile to `MAIN`

  • Overwrite `adaptiveSpatialTransform` to False

## To set the profile to `BASELINE`

  • Overwrite `adaptiveSpatialTransform` to False

  • Overwrite `bFrames` to 0

  • Overwrite `cabac` to False

  • Overwrite `weightedPredictionPFrames` to DISABLED

Conversely, if your selected preset sets the profile to `MAIN` and you want to ensure that the output uses `HIGH`, you can make a simple change:

## To force the profile to `HIGH`

  • Overwrite `adaptiveSpatialTransform` to True