Class Av1Settings
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Av1Settings.Builder,
Av1Settings>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AfdSignaling
Configures whether MediaLive will write AFD values into the video.final String
Configures whether MediaLive will write AFD values into the video.final Integer
bufSize()
The size of the buffer (HRD buffer model) in bits.static Av1Settings.Builder
builder()
final Av1ColorSpaceSettings
Color Space settingsfinal boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FixedAfd
fixedAfd()
Complete this property only if you set the afdSignaling property to FIXED.final String
Complete this property only if you set the afdSignaling property to FIXED.final Integer
The denominator for the framerate.final Integer
The numerator for the framerate.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final Double
gopSize()
The GOP size (keyframe interval).final Av1GopSizeUnits
Choose the units for the GOP size: FRAMES or SECONDS.final String
Choose the units for the GOP size: FRAMES or SECONDS.final int
hashCode()
final Av1Level
level()
Sets the level.final String
Sets the level.final Av1LookAheadRateControl
Sets the amount of lookahead.final String
Sets the amount of lookahead.final Integer
The maximum bitrate to assign.final Integer
Applies only if you enable SceneChangeDetect.final Integer
The denominator for the output pixel aspect ratio (PAR).final Integer
The numerator for the output pixel aspect ratio (PAR).final Integer
Controls the target quality for the video encode.final Av1SceneChangeDetect
Controls whether MediaLive inserts I-frames when it detects a scene change.final String
Controls whether MediaLive inserts I-frames when it detects a scene change.static Class
<? extends Av1Settings.Builder> final TimecodeBurninSettings
Configures the timecode burn-in feature.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
afdSignaling
Configures whether MediaLive will write AFD values into the video. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: the AFD value will be the value configured in the fixedAfd parameter. NONE: MediaLive won't write AFD into the videoIf the service returns an enum value that is not available in the current SDK version,
afdSignaling
will returnAfdSignaling.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromafdSignalingAsString()
.- Returns:
- Configures whether MediaLive will write AFD values into the video. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: the AFD value will be the value configured in the fixedAfd parameter. NONE: MediaLive won't write AFD into the video
- See Also:
-
afdSignalingAsString
Configures whether MediaLive will write AFD values into the video. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: the AFD value will be the value configured in the fixedAfd parameter. NONE: MediaLive won't write AFD into the videoIf the service returns an enum value that is not available in the current SDK version,
afdSignaling
will returnAfdSignaling.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromafdSignalingAsString()
.- Returns:
- Configures whether MediaLive will write AFD values into the video. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: the AFD value will be the value configured in the fixedAfd parameter. NONE: MediaLive won't write AFD into the video
- See Also:
-
bufSize
The size of the buffer (HRD buffer model) in bits.- Returns:
- The size of the buffer (HRD buffer model) in bits.
-
colorSpaceSettings
Color Space settings- Returns:
- Color Space settings
-
fixedAfd
Complete this property only if you set the afdSignaling property to FIXED. Choose the AFD value (4 bits) to write on all frames of the video encode.If the service returns an enum value that is not available in the current SDK version,
fixedAfd
will returnFixedAfd.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfixedAfdAsString()
.- Returns:
- Complete this property only if you set the afdSignaling property to FIXED. Choose the AFD value (4 bits) to write on all frames of the video encode.
- See Also:
-
fixedAfdAsString
Complete this property only if you set the afdSignaling property to FIXED. Choose the AFD value (4 bits) to write on all frames of the video encode.If the service returns an enum value that is not available in the current SDK version,
fixedAfd
will returnFixedAfd.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfixedAfdAsString()
.- Returns:
- Complete this property only if you set the afdSignaling property to FIXED. Choose the AFD value (4 bits) to write on all frames of the video encode.
- See Also:
-
framerateDenominator
The denominator for the framerate. Framerate is a fraction, for example, 24000 / 1001.- Returns:
- The denominator for the framerate. Framerate is a fraction, for example, 24000 / 1001.
-
framerateNumerator
The numerator for the framerate. Framerate is a fraction, for example, 24000 / 1001.- Returns:
- The numerator for the framerate. Framerate is a fraction, for example, 24000 / 1001.
-
gopSize
The GOP size (keyframe interval). If GopSizeUnits is frames, GopSize must be a whole number and must be greater than or equal to 1. If GopSizeUnits is seconds, GopSize must be greater than 0, but it can be a decimal.- Returns:
- The GOP size (keyframe interval). If GopSizeUnits is frames, GopSize must be a whole number and must be greater than or equal to 1. If GopSizeUnits is seconds, GopSize must be greater than 0, but it can be a decimal.
-
gopSizeUnits
Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS, MediaLive converts the size into a frame count at run time.If the service returns an enum value that is not available in the current SDK version,
gopSizeUnits
will returnAv1GopSizeUnits.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromgopSizeUnitsAsString()
.- Returns:
- Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS, MediaLive converts the size into a frame count at run time.
- See Also:
-
gopSizeUnitsAsString
Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS, MediaLive converts the size into a frame count at run time.If the service returns an enum value that is not available in the current SDK version,
gopSizeUnits
will returnAv1GopSizeUnits.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromgopSizeUnitsAsString()
.- Returns:
- Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS, MediaLive converts the size into a frame count at run time.
- See Also:
-
level
Sets the level. This parameter is one of the properties of the encoding scheme for AV1.If the service returns an enum value that is not available in the current SDK version,
level
will returnAv1Level.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlevelAsString()
.- Returns:
- Sets the level. This parameter is one of the properties of the encoding scheme for AV1.
- See Also:
-
levelAsString
Sets the level. This parameter is one of the properties of the encoding scheme for AV1.If the service returns an enum value that is not available in the current SDK version,
level
will returnAv1Level.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlevelAsString()
.- Returns:
- Sets the level. This parameter is one of the properties of the encoding scheme for AV1.
- See Also:
-
lookAheadRateControl
Sets the amount of lookahead. A value of LOW can decrease latency and memory usage. A value of HIGH can produce better quality for certain content.If the service returns an enum value that is not available in the current SDK version,
lookAheadRateControl
will returnAv1LookAheadRateControl.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlookAheadRateControlAsString()
.- Returns:
- Sets the amount of lookahead. A value of LOW can decrease latency and memory usage. A value of HIGH can produce better quality for certain content.
- See Also:
-
lookAheadRateControlAsString
Sets the amount of lookahead. A value of LOW can decrease latency and memory usage. A value of HIGH can produce better quality for certain content.If the service returns an enum value that is not available in the current SDK version,
lookAheadRateControl
will returnAv1LookAheadRateControl.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlookAheadRateControlAsString()
.- Returns:
- Sets the amount of lookahead. A value of LOW can decrease latency and memory usage. A value of HIGH can produce better quality for certain content.
- See Also:
-
maxBitrate
The maximum bitrate to assign. For recommendations, see the description for qvbrQualityLevel.- Returns:
- The maximum bitrate to assign. For recommendations, see the description for qvbrQualityLevel.
-
minIInterval
Applies only if you enable SceneChangeDetect. Sets the interval between frames. This property ensures a minimum separation between repeated (cadence) I-frames and any I-frames inserted by scene change detection (SCD frames). Enter a number for the interval, measured in number of frames. If an SCD frame and a cadence frame are closer than the specified number of frames, MediaLive shrinks or stretches the GOP to include the SCD frame. Then normal cadence resumes in the next GOP. For GOP stretch to succeed, you must enable LookAheadRateControl. Note that the maximum GOP stretch = (GOP size) + (Minimum I-interval) - 1- Returns:
- Applies only if you enable SceneChangeDetect. Sets the interval between frames. This property ensures a minimum separation between repeated (cadence) I-frames and any I-frames inserted by scene change detection (SCD frames). Enter a number for the interval, measured in number of frames. If an SCD frame and a cadence frame are closer than the specified number of frames, MediaLive shrinks or stretches the GOP to include the SCD frame. Then normal cadence resumes in the next GOP. For GOP stretch to succeed, you must enable LookAheadRateControl. Note that the maximum GOP stretch = (GOP size) + (Minimum I-interval) - 1
-
parDenominator
The denominator for the output pixel aspect ratio (PAR).- Returns:
- The denominator for the output pixel aspect ratio (PAR).
-
parNumerator
The numerator for the output pixel aspect ratio (PAR).- Returns:
- The numerator for the output pixel aspect ratio (PAR).
-
qvbrQualityLevel
Controls the target quality for the video encode. With QVBR rate control mode, the final quality is the target quality, constrained by the maxBitrate. Set values for the qvbrQualityLevel property and maxBitrate property that suit your most important viewing devices. To let MediaLive set the quality level (AUTO mode), leave the qvbrQualityLevel field empty. In this case, MediaLive uses the maximum bitrate, and the quality follows from that: more complex content might have a lower quality. Or set a target quality level and a maximum bitrate. With more complex content, MediaLive will try to achieve the target quality, but it won't exceed the maximum bitrate. With less complex content, This option will use only the bitrate needed to reach the target quality. Recommended values are: Primary screen: qvbrQualityLevel: Leave empty. maxBitrate: 4,000,000 PC or tablet: qvbrQualityLevel: Leave empty. maxBitrate: 1,500,000 to 3,000,000 Smartphone: qvbrQualityLevel: Leave empty. maxBitrate: 1,000,000 to 1,500,000- Returns:
- Controls the target quality for the video encode. With QVBR rate control mode, the final quality is the target quality, constrained by the maxBitrate. Set values for the qvbrQualityLevel property and maxBitrate property that suit your most important viewing devices. To let MediaLive set the quality level (AUTO mode), leave the qvbrQualityLevel field empty. In this case, MediaLive uses the maximum bitrate, and the quality follows from that: more complex content might have a lower quality. Or set a target quality level and a maximum bitrate. With more complex content, MediaLive will try to achieve the target quality, but it won't exceed the maximum bitrate. With less complex content, This option will use only the bitrate needed to reach the target quality. Recommended values are: Primary screen: qvbrQualityLevel: Leave empty. maxBitrate: 4,000,000 PC or tablet: qvbrQualityLevel: Leave empty. maxBitrate: 1,500,000 to 3,000,000 Smartphone: qvbrQualityLevel: Leave empty. maxBitrate: 1,000,000 to 1,500,000
-
sceneChangeDetect
Controls whether MediaLive inserts I-frames when it detects a scene change. ENABLED or DISABLED.If the service returns an enum value that is not available in the current SDK version,
sceneChangeDetect
will returnAv1SceneChangeDetect.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsceneChangeDetectAsString()
.- Returns:
- Controls whether MediaLive inserts I-frames when it detects a scene change. ENABLED or DISABLED.
- See Also:
-
sceneChangeDetectAsString
Controls whether MediaLive inserts I-frames when it detects a scene change. ENABLED or DISABLED.If the service returns an enum value that is not available in the current SDK version,
sceneChangeDetect
will returnAv1SceneChangeDetect.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsceneChangeDetectAsString()
.- Returns:
- Controls whether MediaLive inserts I-frames when it detects a scene change. ENABLED or DISABLED.
- See Also:
-
timecodeBurninSettings
Configures the timecode burn-in feature. If you enable this feature, the timecode will become part of the video.- Returns:
- Configures the timecode burn-in feature. If you enable this feature, the timecode will become part of the video.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Av1Settings.Builder,
Av1Settings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-