interface Av1SettingsProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.Av1SettingsProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#Av1SettingsProps |
Java | software.amazon.awscdk.services.medialive.alpha.Av1SettingsProps |
Python | aws_cdk.aws_medialive_alpha.Av1SettingsProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป Av1SettingsProps |
Properties for AV1 codec settings.
Example
// 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
| Name | Type | Description |
|---|---|---|
| afd | Afd | AFD signaling mode. |
| bit | Av1 | Bit depth for the AV1 encode. |
| buf | number | Size of buffer (HRD buffer model) in bits. |
| color | Av1 | Color space settings for the video. |
| fixed | string | Four-bit AFD value to write on all frames. Only valid when afdSignaling is FIXED. |
| framerate? | Framerate | The video frame rate. |
| gop | Gop | The GOP size (keyframe interval). |
| level? | Av1 | The AV1 level. |
| look | Look | Amount of lookahead. |
| min | number | Minimum bitrate in bits/second. |
| min | number | Only meaningful if sceneChangeDetect is enabled. |
| pixel | Pixel | The pixel aspect ratio (PAR) of the video. |
| rate | Av1 | The rate control configuration. |
| scene | Av1 | Scene change detection. |
| spatial | Av1 | Spatial adaptive quantization. |
| temporal | Av1 | Temporal adaptive quantization. |
| timecode | Timecode | Timecode burn-in settings to overlay timecode on the video. |
| timecode | Av1 | Timecode insertion mode. |
afdSignaling?
Type:
Afd
(optional, default: AfdSignaling.NONE)
AFD signaling mode.
bitDepth?
Type:
Av1
(optional, default: service default)
Bit depth for the AV1 encode.
bufSize?
Type:
number
(optional, default: service default)
Size of buffer (HRD buffer model) in bits.
colorSpaceSettings?
Type:
Av1
(optional, default: service default)
Color space settings for the video.
fixedAfd?
Type:
string
(optional, default: 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.
framerate?
Type:
Framerate
(optional, default: follow source)
The video frame rate.
gopSize?
Type:
Gop
(optional, default: GopSize.seconds(1))
The GOP size (keyframe interval).
level?
Type:
Av1
(optional, default: 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.
lookAheadRateControl?
Type:
Look
(optional, default: LookAheadRateControl.HIGH)
Amount of lookahead.
Low decreases latency/memory; high can produce better quality.
minBitrate?
Type:
number
(optional, default: service default)
Minimum bitrate in bits/second.
minIInterval?
Type:
number
(optional, default: service default)
Only meaningful if sceneChangeDetect is enabled.
Enforces separation between repeated (cadence) I-frames and I-frames inserted by scene change detection.
pixelAspectRatio?
Type:
Pixel
(optional, default: service default)
The pixel aspect ratio (PAR) of the video.
rateControl?
Type:
Av1
(optional, default: service default)
The rate control configuration.
sceneChangeDetect?
Type:
Av1
(optional, default: Av1SceneChangeDetect.ENABLED)
Scene change detection.
spatialAq?
Type:
Av1
(optional, default: Av1SpatialAq.ENABLED)
Spatial adaptive quantization.
temporalAq?
Type:
Av1
(optional, default: Av1TemporalAq.ENABLED)
Temporal adaptive quantization.
timecodeBurnin?
Type:
Timecode
(optional, default: no timecode burn-in)
Timecode burn-in settings to overlay timecode on the video.
timecodeInsertion?
Type:
Av1
(optional, default: service default)
Timecode insertion mode.

.NET
Go
Java
Python
TypeScript (