[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Wed Dec 23 2020

H264 Presets

VoD Quality Preset ConfigurationsLink Icon

VoD Quality PresetsVOD_STANDARDVOD_QUALITYVOD_HIGH_QUALITY
adaptiveQuantizationModeVARIANCEVARIANCEVARIANCE
adaptiveQuantizationStrength111
adaptiveSpatialTransformfalsefalsetrue
bAdaptiveStrategyFASTFULLFULL
bPyramidNORMALNORMALNORMAL
bframes338
cabactruetruetrue
deblockAlpha-00
deblockBeta-00
encodingModeTWO_PASSTHREE_PASSTHREE_PASS
fastSkipDetectionPFramestruetruetrue
macroblockTreeRatecontrol-truetrue
mixedReferencestruetruetrue
motionEstimationMethodHEXHEXUMH
mvPredictionModeSPATIALSPATIALSPATIAL
mvSearchRangeMax162424
nalHrdNONENONENONE
partitionsP8X8,B8X8,I8X8,I4X4I4X4,I8X8,P8X8,B8X8,P4X4I4X4,I8X8,P8X8,B8X8,P4X4
profileHIGHHIGHHIGH
psyRateDistortionOptimization-11
psyTrellis-00
quantizerCurveCompression-0.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 ConfigurationsLink Icon

VoD Speed PresetsVOD_SPEEDVOD_HIGH_SPEEDVOD_VERYHIGH_SPEEDVOD_EXTRAHIGH_SPEEDVOD_SUPERHIGH_SPEEDVOD_ULTRAHIGH_SPEED
adaptiveQuantizationModeVARIANCEVARIANCEVARIANCEVARIANCEVARIANCEDISABLED
adaptiveQuantizationStrength111110
adaptiveSpatialTransformtrue-----
bAdaptiveStrategyFASTFASTFASTFASTFASTNONE
bPyramidNORMALNORMALNORMALNORMALNORMALNORMAL
bframes333330
cabactruetruetruetruetruefalse
deblockAlpha0-----
deblockBeta0-----
encodingModeSINGLE_PASSSINGLE_PASSSINGLE_PASSSINGLE_PASSSINGLE_PASSSINGLE_PASS
fastSkipDetectionPFramestruetruetruetruetruetrue
macroblockTreeRatecontroltrue-----
mixedReferencestruetruefalsefalsefalsefalse
motionEstimationMethodHEXHEXHEXHEXDIADIA
mvPredictionModeSPATIALSPATIALSPATIALSPATIALSPATIALSPATIAL
mvSearchRangeMax161616161616
nalHrdNONENONENONENONENONENONE
partitionsI4X4,I8X8,P8X8,B8X8P8X8,B8X8,I8X8,I4X4P8X8,B8X8,I8X8,I4X4P8X8,B8X8,I8X8,I4X4I8X8,I4X4NONE
profileHIGHHIGHHIGHHIGHHIGHHIGH
psyRateDistortionOptimization1-----
psyTrellis0-----
quantizerCurveCompression0.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 ConfigurationsLink Icon

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
partitionsI4X4,I8X8,P8X8,B8X8I4X4,I8X8,P8X8,B8X8I4X4,I8X8,P8X8,B8X8I4X4,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 ConfigurationsLink Icon

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
partitionsI4X4,I8X8,P8X8,B8X8I4X4,I8X8NONE
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 ProfilesLink Icon

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

Give us feedback