Class Av1Settings
- java.lang.Object
-
- software.amazon.awssdk.services.medialive.model.Av1Settings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Av1Settings.Builder,Av1Settings>
@Generated("software.amazon.awssdk:codegen") public final class Av1Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Av1Settings.Builder,Av1Settings>
Av1 Settings- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAv1Settings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AfdSignalingafdSignaling()Configures whether MediaLive will write AFD values into the video.StringafdSignalingAsString()Configures whether MediaLive will write AFD values into the video.IntegerbufSize()The size of the buffer (HRD buffer model) in bits.static Av1Settings.Builderbuilder()Av1ColorSpaceSettingscolorSpaceSettings()Color Space settingsbooleanequals(Object obj)booleanequalsBySdkFields(Object obj)FixedAfdfixedAfd()Complete this property only if you set the afdSignaling property to FIXED.StringfixedAfdAsString()Complete this property only if you set the afdSignaling property to FIXED.IntegerframerateDenominator()The denominator for the framerate.IntegerframerateNumerator()The numerator for the framerate.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)DoublegopSize()The GOP size (keyframe interval).Av1GopSizeUnitsgopSizeUnits()Choose the units for the GOP size: FRAMES or SECONDS.StringgopSizeUnitsAsString()Choose the units for the GOP size: FRAMES or SECONDS.inthashCode()Av1Levellevel()Sets the level.StringlevelAsString()Sets the level.Av1LookAheadRateControllookAheadRateControl()Sets the amount of lookahead.StringlookAheadRateControlAsString()Sets the amount of lookahead.IntegermaxBitrate()The maximum bitrate to assign.IntegerminIInterval()Applies only if you enable SceneChangeDetect.IntegerparDenominator()The denominator for the output pixel aspect ratio (PAR).IntegerparNumerator()The numerator for the output pixel aspect ratio (PAR).IntegerqvbrQualityLevel()Controls the target quality for the video encode.Av1SceneChangeDetectsceneChangeDetect()Controls whether MediaLive inserts I-frames when it detects a scene change.StringsceneChangeDetectAsString()Controls whether MediaLive inserts I-frames when it detects a scene change.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Av1Settings.Builder>serializableBuilderClass()TimecodeBurninSettingstimecodeBurninSettings()Configures the timecode burn-in feature.Av1Settings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
afdSignaling
public final AfdSignaling 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,
afdSignalingwill 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:
AfdSignaling
-
afdSignalingAsString
public final String 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,
afdSignalingwill 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:
AfdSignaling
-
bufSize
public final Integer bufSize()
The size of the buffer (HRD buffer model) in bits.- Returns:
- The size of the buffer (HRD buffer model) in bits.
-
colorSpaceSettings
public final Av1ColorSpaceSettings colorSpaceSettings()
Color Space settings- Returns:
- Color Space settings
-
fixedAfd
public final FixedAfd 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,
fixedAfdwill 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:
FixedAfd
-
fixedAfdAsString
public final String 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,
fixedAfdwill 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:
FixedAfd
-
framerateDenominator
public final Integer 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
public final Integer 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
public final Double 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
public final Av1GopSizeUnits 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,
gopSizeUnitswill 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:
Av1GopSizeUnits
-
gopSizeUnitsAsString
public final String 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,
gopSizeUnitswill 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:
Av1GopSizeUnits
-
level
public final Av1Level 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,
levelwill 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:
Av1Level
-
levelAsString
public final String 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,
levelwill 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:
Av1Level
-
lookAheadRateControl
public final Av1LookAheadRateControl 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,
lookAheadRateControlwill 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:
Av1LookAheadRateControl
-
lookAheadRateControlAsString
public final String 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,
lookAheadRateControlwill 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:
Av1LookAheadRateControl
-
maxBitrate
public final Integer 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
public final Integer 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
public final Integer parDenominator()
The denominator for the output pixel aspect ratio (PAR).- Returns:
- The denominator for the output pixel aspect ratio (PAR).
-
parNumerator
public final Integer parNumerator()
The numerator for the output pixel aspect ratio (PAR).- Returns:
- The numerator for the output pixel aspect ratio (PAR).
-
qvbrQualityLevel
public final Integer 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
public final Av1SceneChangeDetect 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,
sceneChangeDetectwill 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:
Av1SceneChangeDetect
-
sceneChangeDetectAsString
public final String 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,
sceneChangeDetectwill 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:
Av1SceneChangeDetect
-
timecodeBurninSettings
public final TimecodeBurninSettings 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
public Av1Settings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Av1Settings.Builder,Av1Settings>
-
builder
public static Av1Settings.Builder builder()
-
serializableBuilderClass
public static Class<? extends Av1Settings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-