Av1SettingsProps
- class aws_cdk.aws_medialive_alpha.Av1SettingsProps(*, afd_signaling=None, bit_depth=None, buf_size=None, color_space_settings=None, fixed_afd=None, framerate=None, gop_size=None, level=None, look_ahead_rate_control=None, min_bitrate=None, min_i_interval=None, pixel_aspect_ratio=None, rate_control=None, scene_change_detect=None, spatial_aq=None, temporal_aq=None, timecode_burnin=None, timecode_insertion=None)
Bases:
object(experimental) Properties for AV1 codec settings.
- Parameters:
afd_signaling (
Optional[AfdSignaling]) – (experimental) AFD signaling mode. Default: AfdSignaling.NONEbit_depth (
Optional[Av1BitDepth]) – (experimental) Bit depth for the AV1 encode. Default: - service defaultbuf_size (
Union[int,float,None]) – (experimental) Size of buffer (HRD buffer model) in bits. Default: - service defaultcolor_space_settings (
Optional[Av1ColorSpaceSettings]) – (experimental) Color space settings for the video. Default: - service defaultfixed_afd (
Optional[str]) – (experimental) 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. Default: - service defaultframerate (
Optional[Framerate]) – (experimental) The video frame rate. Default: - follow sourcegop_size (
Optional[GopSize]) – (experimental) The GOP size (keyframe interval). Default: GopSize.seconds(1)level (
Optional[Av1Level]) – (experimental) 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. Default: Av1Level.AV1_LEVEL_AUTOlook_ahead_rate_control (
Optional[LookAheadRateControl]) – (experimental) Amount of lookahead. Low decreases latency/memory; high can produce better quality. Default: LookAheadRateControl.HIGHmin_bitrate (
Union[int,float,None]) – (experimental) Minimum bitrate in bits/second. Default: - service defaultmin_i_interval (
Union[int,float,None]) – (experimental) Only meaningful if sceneChangeDetect is enabled. Enforces separation between repeated (cadence) I-frames and I-frames inserted by scene change detection. Default: - service defaultpixel_aspect_ratio (
Optional[PixelAspectRatio]) – (experimental) The pixel aspect ratio (PAR) of the video. Default: - service defaultrate_control (
Optional[Av1RateControl]) – (experimental) The rate control configuration. Default: - service defaultscene_change_detect (
Optional[Av1SceneChangeDetect]) – (experimental) Scene change detection. Default: Av1SceneChangeDetect.ENABLEDspatial_aq (
Optional[Av1SpatialAq]) – (experimental) Spatial adaptive quantization. Default: Av1SpatialAq.ENABLEDtemporal_aq (
Optional[Av1TemporalAq]) – (experimental) Temporal adaptive quantization. Default: Av1TemporalAq.ENABLEDtimecode_burnin (
Union[TimecodeBurninSettings,Dict[str,Any],None]) – (experimental) Timecode burn-in settings to overlay timecode on the video. Default: - no timecode burn-intimecode_insertion (
Optional[Av1TimecodeInsertion]) – (experimental) Timecode insertion mode. Default: - service default
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_medialive_alpha as medialive_alpha # afd_signaling: medialive_alpha.AfdSignaling # av1_bit_depth: medialive_alpha.Av1BitDepth # av1_color_space_settings: medialive_alpha.Av1ColorSpaceSettings # av1_level: medialive_alpha.Av1Level # av1_rate_control: medialive_alpha.Av1RateControl # av1_scene_change_detect: medialive_alpha.Av1SceneChangeDetect # av1_spatial_aq: medialive_alpha.Av1SpatialAq # av1_temporal_aq: medialive_alpha.Av1TemporalAq # av1_timecode_insertion: medialive_alpha.Av1TimecodeInsertion # framerate: medialive_alpha.Framerate # gop_size: medialive_alpha.GopSize # look_ahead_rate_control: medialive_alpha.LookAheadRateControl # pixel_aspect_ratio: medialive_alpha.PixelAspectRatio # timecode_burnin_font_size: medialive_alpha.TimecodeBurninFontSize # timecode_burnin_position: medialive_alpha.TimecodeBurninPosition av1_settings_props = medialive_alpha.Av1SettingsProps( afd_signaling=afd_signaling, bit_depth=av1_bit_depth, buf_size=123, color_space_settings=av1_color_space_settings, fixed_afd="fixedAfd", framerate=framerate, gop_size=gop_size, level=av1_level, look_ahead_rate_control=look_ahead_rate_control, min_bitrate=123, min_i_interval=123, pixel_aspect_ratio=pixel_aspect_ratio, rate_control=av1_rate_control, scene_change_detect=av1_scene_change_detect, spatial_aq=av1_spatial_aq, temporal_aq=av1_temporal_aq, timecode_burnin=medialive_alpha.TimecodeBurninSettings( font_size=timecode_burnin_font_size, position=timecode_burnin_position, prefix="prefix" ), timecode_insertion=av1_timecode_insertion )
Attributes
- afd_signaling
(experimental) AFD signaling mode.
- Default:
AfdSignaling.NONE
- Stability:
experimental
- bit_depth
(experimental) Bit depth for the AV1 encode.
- Default:
service default
- Stability:
experimental
- buf_size
(experimental) Size of buffer (HRD buffer model) in bits.
- Default:
service default
- Stability:
experimental
- color_space_settings
(experimental) Color space settings for the video.
- Default:
service default
- Stability:
experimental
- fixed_afd
(experimental) 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.
- Default:
service default
- Stability:
experimental
- framerate
(experimental) The video frame rate.
- Default:
follow source
- Stability:
experimental
- gop_size
(experimental) The GOP size (keyframe interval).
- Default:
GopSize.seconds(1)
- Stability:
experimental
- level
(experimental) 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.
- Default:
Av1Level.AV1_LEVEL_AUTO
- Stability:
experimental
- look_ahead_rate_control
(experimental) Amount of lookahead.
Low decreases latency/memory; high can produce better quality.
- Default:
LookAheadRateControl.HIGH
- Stability:
experimental
- min_bitrate
(experimental) Minimum bitrate in bits/second.
- Default:
service default
- Stability:
experimental
- min_i_interval
(experimental) Only meaningful if sceneChangeDetect is enabled.
Enforces separation between repeated (cadence) I-frames and I-frames inserted by scene change detection.
- Default:
service default
- Stability:
experimental
- pixel_aspect_ratio
(experimental) The pixel aspect ratio (PAR) of the video.
- Default:
service default
- Stability:
experimental
- rate_control
(experimental) The rate control configuration.
- Default:
service default
- Stability:
experimental
- scene_change_detect
(experimental) Scene change detection.
- Default:
Av1SceneChangeDetect.ENABLED
- Stability:
experimental
- spatial_aq
(experimental) Spatial adaptive quantization.
- Default:
Av1SpatialAq.ENABLED
- Stability:
experimental
- temporal_aq
(experimental) Temporal adaptive quantization.
- Default:
Av1TemporalAq.ENABLED
- Stability:
experimental
- timecode_burnin
(experimental) Timecode burn-in settings to overlay timecode on the video.
- Default:
no timecode burn-in
- Stability:
experimental
- timecode_insertion
(experimental) Timecode insertion mode.
- Default:
service default
- Stability:
experimental