Skip to content
v2.273.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

Av1SettingsProps Struct ​

Properties for AV1 codec settings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const afdSignaling: medialive_alpha.AfdSignaling;
declare const av1BitDepth: medialive_alpha.Av1BitDepth;
declare const av1ColorSpaceSettings: medialive_alpha.Av1ColorSpaceSettings;
declare const av1Level: medialive_alpha.Av1Level;
declare const av1RateControl: medialive_alpha.Av1RateControl;
declare const av1SceneChangeDetect: medialive_alpha.Av1SceneChangeDetect;
declare const av1SpatialAq: medialive_alpha.Av1SpatialAq;
declare const av1TemporalAq: medialive_alpha.Av1TemporalAq;
declare const av1TimecodeInsertion: medialive_alpha.Av1TimecodeInsertion;
declare const framerate: medialive_alpha.Framerate;
declare const gopSize: medialive_alpha.GopSize;
declare const lookAheadRateControl: medialive_alpha.LookAheadRateControl;
declare const pixelAspectRatio: medialive_alpha.PixelAspectRatio;
declare const timecodeBurninFontSize: medialive_alpha.TimecodeBurninFontSize;
declare const timecodeBurninPosition: medialive_alpha.TimecodeBurninPosition;
const av1SettingsProps: medialive_alpha.Av1SettingsProps = {
  afdSignaling: afdSignaling,
  bitDepth: av1BitDepth,
  bufSize: 123,
  colorSpaceSettings: av1ColorSpaceSettings,
  fixedAfd: 'fixedAfd',
  framerate: framerate,
  gopSize: gopSize,
  level: av1Level,
  lookAheadRateControl: lookAheadRateControl,
  minBitrate: 123,
  minIInterval: 123,
  pixelAspectRatio: pixelAspectRatio,
  rateControl: av1RateControl,
  sceneChangeDetect: av1SceneChangeDetect,
  spatialAq: av1SpatialAq,
  temporalAq: av1TemporalAq,
  timecodeBurnin: {
    fontSize: timecodeBurninFontSize,
    position: timecodeBurninPosition,
    prefix: 'prefix',
  },
  timecodeInsertion: av1TimecodeInsertion,
};

Properties ​

afdSignalingAfdSignalingafd_signalingAfdSignalingafdSignalingAfdSignalingAfdSignalingAfdSignalingAfdSignalingAfdSignaling= AfdSignaling.NONE#
AFD signaling mode.
bitDepthAv1BitDepthbit_depthAv1BitDepthbitDepthAv1BitDepthBitDepthAv1BitDepthBitDepthAv1BitDepth= service default#
Bit depth for the AV1 encode.
bufSizenumberbuf_sizeint | floatbufSizeNumberBufSizedoubleBufSize*float64= service default#
Size of buffer (HRD buffer model) in bits.
colorSpaceSettingsAv1ColorSpaceSettingscolor_space_settingsAv1ColorSpaceSettingscolorSpaceSettingsAv1ColorSpaceSettingsColorSpaceSettingsAv1ColorSpaceSettingsColorSpaceSettingsAv1ColorSpaceSettings= service default#
Color space settings for the video.
fixedAfdstringfixed_afdstrfixedAfdStringFixedAfdstringFixedAfd*string= service default#
Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED.

Valid values: FIXED_0000, FIXED_0010, FIXED_0011, FIXED_0100, FIXED_1000, FIXED_1001, FIXED_1010, FIXED_1011, FIXED_1100, FIXED_1101, FIXED_1110, FIXED_1111.

framerateFramerateframerateFramerateframerateFramerateFramerateFramerateFramerateFramerate= follow source#
The video frame rate.
gopSizeGopSizegop_sizeGopSizegopSizeGopSizeGopSizeGopSizeGopSizeGopSize= GopSize.seconds(1)#
The GOP size (keyframe interval).
levelAv1LevellevelAv1LevellevelAv1LevelLevelAv1LevelLevelAv1Level= Av1Level.AV1_LEVEL_AUTO#
The AV1 level.

Valid values: AV1_LEVEL_2, AV1_LEVEL_2_1, AV1_LEVEL_3, AV1_LEVEL_3_1, AV1_LEVEL_4, AV1_LEVEL_4_1, AV1_LEVEL_5, AV1_LEVEL_5_1, AV1_LEVEL_5_2, AV1_LEVEL_5_3, AV1_LEVEL_6, AV1_LEVEL_6_1, AV1_LEVEL_6_2, AV1_LEVEL_6_3, AV1_LEVEL_AUTO.

lookAheadRateControlLookAheadRateControllook_ahead_rate_controlLookAheadRateControllookAheadRateControlLookAheadRateControlLookAheadRateControlLookAheadRateControlLookAheadRateControlLookAheadRateControl= LookAheadRateControl.HIGH#
Amount of lookahead.

Low decreases latency/memory; high can produce better quality.

minBitratenumbermin_bitrateint | floatminBitrateNumberMinBitratedoubleMinBitrate*float64= service default#
Minimum bitrate in bits/second.
minIIntervalnumbermin_i_intervalint | floatminIIntervalNumberMinIIntervaldoubleMinIInterval*float64= service default#
Only meaningful if sceneChangeDetect is enabled.

Enforces separation between repeated (cadence) I-frames and I-frames inserted by scene change detection.

pixelAspectRatioPixelAspectRatiopixel_aspect_ratioPixelAspectRatiopixelAspectRatioPixelAspectRatioPixelAspectRatioPixelAspectRatioPixelAspectRatioPixelAspectRatio= service default#
The pixel aspect ratio (PAR) of the video.
rateControlAv1RateControlrate_controlAv1RateControlrateControlAv1RateControlRateControlAv1RateControlRateControlAv1RateControl= service default#
The rate control configuration.
sceneChangeDetectAv1SceneChangeDetectscene_change_detectAv1SceneChangeDetectsceneChangeDetectAv1SceneChangeDetectSceneChangeDetectAv1SceneChangeDetectSceneChangeDetectAv1SceneChangeDetect= Av1SceneChangeDetect.ENABLED#
Scene change detection.
spatialAqAv1SpatialAqspatial_aqAv1SpatialAqspatialAqAv1SpatialAqSpatialAqAv1SpatialAqSpatialAqAv1SpatialAq= Av1SpatialAq.ENABLED#
Spatial adaptive quantization.
temporalAqAv1TemporalAqtemporal_aqAv1TemporalAqtemporalAqAv1TemporalAqTemporalAqAv1TemporalAqTemporalAqAv1TemporalAq= Av1TemporalAq.ENABLED#
Temporal adaptive quantization.
timecodeBurninTimecodeBurninSettingstimecode_burninTimecodeBurninSettingstimecodeBurninTimecodeBurninSettingsTimecodeBurninTimecodeBurninSettingsTimecodeBurninTimecodeBurninSettings= no timecode burn-in#
Timecode burn-in settings to overlay timecode on the video.
timecodeInsertionAv1TimecodeInsertiontimecode_insertionAv1TimecodeInsertiontimecodeInsertionAv1TimecodeInsertionTimecodeInsertionAv1TimecodeInsertionTimecodeInsertionAv1TimecodeInsertion= service default#
Timecode insertion mode.