Class Mpeg2Settings
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Mpeg2Settings.Builder,Mpeg2Settings>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionChoose Off to disable adaptive quantization.final StringChoose Off to disable adaptive quantization.final AfdSignalingIndicates the AFD values that MediaLive will write into the video encode.final StringIndicates the AFD values that MediaLive will write into the video encode.static Mpeg2Settings.Builderbuilder()final Mpeg2ColorMetadataSpecifies whether to include the color space metadata.final StringSpecifies whether to include the color space metadata.final Mpeg2ColorSpaceChoose the type of color space conversion to apply to the output.final StringChoose the type of color space conversion to apply to the output.final Mpeg2DisplayRatioSets the pixel aspect ratio for the encode.final StringSets the pixel aspect ratio for the encode.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Mpeg2FilterSettingsOptionally specify a noise reduction filter, which can improve quality of compressed content.final FixedAfdfixedAfd()Complete this field only when afdSignaling is set to FIXED.final StringComplete this field only when afdSignaling is set to FIXED.final Integerdescription": "The framerate denominator.final IntegerThe framerate numerator.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final IntegerMPEG2: default is open GOP.final IntegerRelates to the GOP structure.final DoublegopSize()Relates to the GOP structure.final Mpeg2GopSizeUnitsRelates to the GOP structure.final StringRelates to the GOP structure.final inthashCode()final Mpeg2ScanTypescanType()Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).final StringSet the scan type of the output to PROGRESSIVE or INTERLACED (top field first).static Class<? extends Mpeg2Settings.Builder> final Mpeg2SubGopLengthRelates to the GOP structure.final StringRelates to the GOP structure.final TimecodeBurninSettingsTimecode burn-in settingsDetermines how MediaLive inserts timecodes in the output video.final StringDetermines how MediaLive inserts timecodes in the output video.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
adaptiveQuantization
Choose Off to disable adaptive quantization. Or choose another value to enable the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, High. When you enable this field, MediaLive allows intra-frame quantizers to vary, which might improve visual quality.If the service returns an enum value that is not available in the current SDK version,
adaptiveQuantizationwill returnMpeg2AdaptiveQuantization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadaptiveQuantizationAsString().- Returns:
- Choose Off to disable adaptive quantization. Or choose another value to enable the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, High. When you enable this field, MediaLive allows intra-frame quantizers to vary, which might improve visual quality.
- See Also:
-
adaptiveQuantizationAsString
Choose Off to disable adaptive quantization. Or choose another value to enable the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, High. When you enable this field, MediaLive allows intra-frame quantizers to vary, which might improve visual quality.If the service returns an enum value that is not available in the current SDK version,
adaptiveQuantizationwill returnMpeg2AdaptiveQuantization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromadaptiveQuantizationAsString().- Returns:
- Choose Off to disable adaptive quantization. Or choose another value to enable the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, High. When you enable this field, MediaLive allows intra-frame quantizers to vary, which might improve visual quality.
- See Also:
-
afdSignaling
Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: MediaLive will use the value you specify in fixedAFD.If 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:
- Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: MediaLive will use the value you specify in fixedAFD.
- See Also:
-
afdSignalingAsString
Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: MediaLive will use the value you specify in fixedAFD.If 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:
- Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: MediaLive will use the value you specify in fixedAFD.
- See Also:
-
colorMetadata
Specifies whether to include the color space metadata. The metadata describes the color space that applies to the video (the colorSpace field). We recommend that you insert the metadata.If the service returns an enum value that is not available in the current SDK version,
colorMetadatawill returnMpeg2ColorMetadata.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorMetadataAsString().- Returns:
- Specifies whether to include the color space metadata. The metadata describes the color space that applies to the video (the colorSpace field). We recommend that you insert the metadata.
- See Also:
-
colorMetadataAsString
Specifies whether to include the color space metadata. The metadata describes the color space that applies to the video (the colorSpace field). We recommend that you insert the metadata.If the service returns an enum value that is not available in the current SDK version,
colorMetadatawill returnMpeg2ColorMetadata.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorMetadataAsString().- Returns:
- Specifies whether to include the color space metadata. The metadata describes the color space that applies to the video (the colorSpace field). We recommend that you insert the metadata.
- See Also:
-
colorSpace
Choose the type of color space conversion to apply to the output. For detailed information on setting up both the input and the output to obtain the desired color space in the output, see the section on \"MediaLive Features - Video - color space\" in the MediaLive User Guide. PASSTHROUGH: Keep the color space of the input content - do not convert it. AUTO:Convert all content that is SD to rec 601, and convert all content that is HD to rec 709.If the service returns an enum value that is not available in the current SDK version,
colorSpacewill returnMpeg2ColorSpace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorSpaceAsString().- Returns:
- Choose the type of color space conversion to apply to the output. For detailed information on setting up both the input and the output to obtain the desired color space in the output, see the section on \"MediaLive Features - Video - color space\" in the MediaLive User Guide. PASSTHROUGH: Keep the color space of the input content - do not convert it. AUTO:Convert all content that is SD to rec 601, and convert all content that is HD to rec 709.
- See Also:
-
colorSpaceAsString
Choose the type of color space conversion to apply to the output. For detailed information on setting up both the input and the output to obtain the desired color space in the output, see the section on \"MediaLive Features - Video - color space\" in the MediaLive User Guide. PASSTHROUGH: Keep the color space of the input content - do not convert it. AUTO:Convert all content that is SD to rec 601, and convert all content that is HD to rec 709.If the service returns an enum value that is not available in the current SDK version,
colorSpacewill returnMpeg2ColorSpace.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcolorSpaceAsString().- Returns:
- Choose the type of color space conversion to apply to the output. For detailed information on setting up both the input and the output to obtain the desired color space in the output, see the section on \"MediaLive Features - Video - color space\" in the MediaLive User Guide. PASSTHROUGH: Keep the color space of the input content - do not convert it. AUTO:Convert all content that is SD to rec 601, and convert all content that is HD to rec 709.
- See Also:
-
displayAspectRatio
Sets the pixel aspect ratio for the encode.If the service returns an enum value that is not available in the current SDK version,
displayAspectRatiowill returnMpeg2DisplayRatio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdisplayAspectRatioAsString().- Returns:
- Sets the pixel aspect ratio for the encode.
- See Also:
-
displayAspectRatioAsString
Sets the pixel aspect ratio for the encode.If the service returns an enum value that is not available in the current SDK version,
displayAspectRatiowill returnMpeg2DisplayRatio.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdisplayAspectRatioAsString().- Returns:
- Sets the pixel aspect ratio for the encode.
- See Also:
-
filterSettings
Optionally specify a noise reduction filter, which can improve quality of compressed content. If you do not choose a filter, no filter will be applied. TEMPORAL: This filter is useful for both source content that is noisy (when it has excessive digital artifacts) and source content that is clean. When the content is noisy, the filter cleans up the source content before the encoding phase, with these two effects: First, it improves the output video quality because the content has been cleaned up. Secondly, it decreases the bandwidth because MediaLive does not waste bits on encoding noise. When the content is reasonably clean, the filter tends to decrease the bitrate.- Returns:
- Optionally specify a noise reduction filter, which can improve quality of compressed content. If you do not choose a filter, no filter will be applied. TEMPORAL: This filter is useful for both source content that is noisy (when it has excessive digital artifacts) and source content that is clean. When the content is noisy, the filter cleans up the source content before the encoding phase, with these two effects: First, it improves the output video quality because the content has been cleaned up. Secondly, it decreases the bandwidth because MediaLive does not waste bits on encoding noise. When the content is reasonably clean, the filter tends to decrease the bitrate.
-
fixedAfd
Complete this field only when afdSignaling is set to FIXED. Enter 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 field only when afdSignaling is set to FIXED. Enter the AFD value (4 bits) to write on all frames of the video encode.
- See Also:
-
fixedAfdAsString
Complete this field only when afdSignaling is set to FIXED. Enter 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 field only when afdSignaling is set to FIXED. Enter the AFD value (4 bits) to write on all frames of the video encode.
- See Also:
-
framerateDenominator
description": "The framerate denominator. For example, 1001. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.- Returns:
- description": "The framerate denominator. For example, 1001. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.
-
framerateNumerator
The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.- Returns:
- The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.
-
gopClosedCadence
MPEG2: default is open GOP.- Returns:
- MPEG2: default is open GOP.
-
gopNumBFrames
Relates to the GOP structure. The number of B-frames between reference frames. If you do not know what a B-frame is, use the default.- Returns:
- Relates to the GOP structure. The number of B-frames between reference frames. If you do not know what a B-frame is, use the default.
-
gopSize
Relates to the GOP structure. The GOP size (keyframe interval) in the units specified in gopSizeUnits. If you do not know what GOP is, use the default. If gopSizeUnits is frames, then the gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, the gopSize must be greater than 0, but does not need to be an integer.- Returns:
- Relates to the GOP structure. The GOP size (keyframe interval) in the units specified in gopSizeUnits. If you do not know what GOP is, use the default. If gopSizeUnits is frames, then the gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, the gopSize must be greater than 0, but does not need to be an integer.
-
gopSizeUnits
Relates to the GOP structure. Specifies whether the gopSize is specified in frames or seconds. If you do not plan to change the default gopSize, leave the default. If you specify SECONDS, MediaLive will internally convert the gop size to a frame count.If the service returns an enum value that is not available in the current SDK version,
gopSizeUnitswill returnMpeg2GopSizeUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgopSizeUnitsAsString().- Returns:
- Relates to the GOP structure. Specifies whether the gopSize is specified in frames or seconds. If you do not plan to change the default gopSize, leave the default. If you specify SECONDS, MediaLive will internally convert the gop size to a frame count.
- See Also:
-
gopSizeUnitsAsString
Relates to the GOP structure. Specifies whether the gopSize is specified in frames or seconds. If you do not plan to change the default gopSize, leave the default. If you specify SECONDS, MediaLive will internally convert the gop size to a frame count.If the service returns an enum value that is not available in the current SDK version,
gopSizeUnitswill returnMpeg2GopSizeUnits.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgopSizeUnitsAsString().- Returns:
- Relates to the GOP structure. Specifies whether the gopSize is specified in frames or seconds. If you do not plan to change the default gopSize, leave the default. If you specify SECONDS, MediaLive will internally convert the gop size to a frame count.
- See Also:
-
scanType
Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).If the service returns an enum value that is not available in the current SDK version,
scanTypewill returnMpeg2ScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanTypeAsString().- Returns:
- Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).
- See Also:
-
scanTypeAsString
Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).If the service returns an enum value that is not available in the current SDK version,
scanTypewill returnMpeg2ScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanTypeAsString().- Returns:
- Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).
- See Also:
-
subgopLength
Relates to the GOP structure. If you do not know what GOP is, use the default. FIXED: Set the number of B-frames in each sub-GOP to the value in gopNumBFrames. DYNAMIC: Let MediaLive optimize the number of B-frames in each sub-GOP, to improve visual quality.If the service returns an enum value that is not available in the current SDK version,
subgopLengthwill returnMpeg2SubGopLength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubgopLengthAsString().- Returns:
- Relates to the GOP structure. If you do not know what GOP is, use the default. FIXED: Set the number of B-frames in each sub-GOP to the value in gopNumBFrames. DYNAMIC: Let MediaLive optimize the number of B-frames in each sub-GOP, to improve visual quality.
- See Also:
-
subgopLengthAsString
Relates to the GOP structure. If you do not know what GOP is, use the default. FIXED: Set the number of B-frames in each sub-GOP to the value in gopNumBFrames. DYNAMIC: Let MediaLive optimize the number of B-frames in each sub-GOP, to improve visual quality.If the service returns an enum value that is not available in the current SDK version,
subgopLengthwill returnMpeg2SubGopLength.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsubgopLengthAsString().- Returns:
- Relates to the GOP structure. If you do not know what GOP is, use the default. FIXED: Set the number of B-frames in each sub-GOP to the value in gopNumBFrames. DYNAMIC: Let MediaLive optimize the number of B-frames in each sub-GOP, to improve visual quality.
- See Also:
-
timecodeInsertion
Determines how MediaLive inserts timecodes in the output video. For detailed information about setting up the input and the output for a timecode, see the section on \"MediaLive Features - Timecode configuration\" in the MediaLive User Guide. DISABLED: do not include timecodes. GOP_TIMECODE: Include timecode metadata in the GOP header.If the service returns an enum value that is not available in the current SDK version,
timecodeInsertionwill returnMpeg2TimecodeInsertionBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimecodeInsertionAsString().- Returns:
- Determines how MediaLive inserts timecodes in the output video. For detailed information about setting up the input and the output for a timecode, see the section on \"MediaLive Features - Timecode configuration\" in the MediaLive User Guide. DISABLED: do not include timecodes. GOP_TIMECODE: Include timecode metadata in the GOP header.
- See Also:
-
timecodeInsertionAsString
Determines how MediaLive inserts timecodes in the output video. For detailed information about setting up the input and the output for a timecode, see the section on \"MediaLive Features - Timecode configuration\" in the MediaLive User Guide. DISABLED: do not include timecodes. GOP_TIMECODE: Include timecode metadata in the GOP header.If the service returns an enum value that is not available in the current SDK version,
timecodeInsertionwill returnMpeg2TimecodeInsertionBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimecodeInsertionAsString().- Returns:
- Determines how MediaLive inserts timecodes in the output video. For detailed information about setting up the input and the output for a timecode, see the section on \"MediaLive Features - Timecode configuration\" in the MediaLive User Guide. DISABLED: do not include timecodes. GOP_TIMECODE: Include timecode metadata in the GOP header.
- See Also:
-
timecodeBurninSettings
Timecode burn-in settings- Returns:
- Timecode burn-in settings
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Mpeg2Settings.Builder,Mpeg2Settings> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-