@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Mpeg2Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Mpeg2Settings() |
Modifier and Type | Method and Description |
---|---|
Mpeg2Settings |
clone() |
boolean |
equals(Object obj) |
String |
getAdaptiveQuantization()
Choose Off to disable adaptive quantization.
|
String |
getAfdSignaling()
Indicates the AFD values that MediaLive will write into the video encode.
|
String |
getColorMetadata()
Specifies whether to include the color space metadata.
|
String |
getColorSpace()
Choose the type of color space conversion to apply to the output.
|
String |
getDisplayAspectRatio()
Sets the pixel aspect ratio for the encode.
|
Mpeg2FilterSettings |
getFilterSettings()
Optionally specify a noise reduction filter, which can improve quality of compressed content.
|
String |
getFixedAfd()
Complete this field only when afdSignaling is set to FIXED.
|
Integer |
getFramerateDenominator()
description": "The framerate denominator.
|
Integer |
getFramerateNumerator()
The framerate numerator.
|
Integer |
getGopClosedCadence()
MPEG2: default is open GOP.
|
Integer |
getGopNumBFrames()
Relates to the GOP structure.
|
Double |
getGopSize()
Relates to the GOP structure.
|
String |
getGopSizeUnits()
Relates to the GOP structure.
|
String |
getScanType()
Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).
|
String |
getSubgopLength()
Relates to the GOP structure.
|
String |
getTimecodeInsertion()
Determines how MediaLive inserts timecodes in the output video.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdaptiveQuantization(String adaptiveQuantization)
Choose Off to disable adaptive quantization.
|
void |
setAfdSignaling(String afdSignaling)
Indicates the AFD values that MediaLive will write into the video encode.
|
void |
setColorMetadata(String colorMetadata)
Specifies whether to include the color space metadata.
|
void |
setColorSpace(String colorSpace)
Choose the type of color space conversion to apply to the output.
|
void |
setDisplayAspectRatio(String displayAspectRatio)
Sets the pixel aspect ratio for the encode.
|
void |
setFilterSettings(Mpeg2FilterSettings filterSettings)
Optionally specify a noise reduction filter, which can improve quality of compressed content.
|
void |
setFixedAfd(String fixedAfd)
Complete this field only when afdSignaling is set to FIXED.
|
void |
setFramerateDenominator(Integer framerateDenominator)
description": "The framerate denominator.
|
void |
setFramerateNumerator(Integer framerateNumerator)
The framerate numerator.
|
void |
setGopClosedCadence(Integer gopClosedCadence)
MPEG2: default is open GOP.
|
void |
setGopNumBFrames(Integer gopNumBFrames)
Relates to the GOP structure.
|
void |
setGopSize(Double gopSize)
Relates to the GOP structure.
|
void |
setGopSizeUnits(String gopSizeUnits)
Relates to the GOP structure.
|
void |
setScanType(String scanType)
Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).
|
void |
setSubgopLength(String subgopLength)
Relates to the GOP structure.
|
void |
setTimecodeInsertion(String timecodeInsertion)
Determines how MediaLive inserts timecodes in the output video.
|
String |
toString()
Returns a string representation of this object.
|
Mpeg2Settings |
withAdaptiveQuantization(Mpeg2AdaptiveQuantization adaptiveQuantization)
Choose Off to disable adaptive quantization.
|
Mpeg2Settings |
withAdaptiveQuantization(String adaptiveQuantization)
Choose Off to disable adaptive quantization.
|
Mpeg2Settings |
withAfdSignaling(AfdSignaling afdSignaling)
Indicates the AFD values that MediaLive will write into the video encode.
|
Mpeg2Settings |
withAfdSignaling(String afdSignaling)
Indicates the AFD values that MediaLive will write into the video encode.
|
Mpeg2Settings |
withColorMetadata(Mpeg2ColorMetadata colorMetadata)
Specifies whether to include the color space metadata.
|
Mpeg2Settings |
withColorMetadata(String colorMetadata)
Specifies whether to include the color space metadata.
|
Mpeg2Settings |
withColorSpace(Mpeg2ColorSpace colorSpace)
Choose the type of color space conversion to apply to the output.
|
Mpeg2Settings |
withColorSpace(String colorSpace)
Choose the type of color space conversion to apply to the output.
|
Mpeg2Settings |
withDisplayAspectRatio(Mpeg2DisplayRatio displayAspectRatio)
Sets the pixel aspect ratio for the encode.
|
Mpeg2Settings |
withDisplayAspectRatio(String displayAspectRatio)
Sets the pixel aspect ratio for the encode.
|
Mpeg2Settings |
withFilterSettings(Mpeg2FilterSettings filterSettings)
Optionally specify a noise reduction filter, which can improve quality of compressed content.
|
Mpeg2Settings |
withFixedAfd(FixedAfd fixedAfd)
Complete this field only when afdSignaling is set to FIXED.
|
Mpeg2Settings |
withFixedAfd(String fixedAfd)
Complete this field only when afdSignaling is set to FIXED.
|
Mpeg2Settings |
withFramerateDenominator(Integer framerateDenominator)
description": "The framerate denominator.
|
Mpeg2Settings |
withFramerateNumerator(Integer framerateNumerator)
The framerate numerator.
|
Mpeg2Settings |
withGopClosedCadence(Integer gopClosedCadence)
MPEG2: default is open GOP.
|
Mpeg2Settings |
withGopNumBFrames(Integer gopNumBFrames)
Relates to the GOP structure.
|
Mpeg2Settings |
withGopSize(Double gopSize)
Relates to the GOP structure.
|
Mpeg2Settings |
withGopSizeUnits(Mpeg2GopSizeUnits gopSizeUnits)
Relates to the GOP structure.
|
Mpeg2Settings |
withGopSizeUnits(String gopSizeUnits)
Relates to the GOP structure.
|
Mpeg2Settings |
withScanType(Mpeg2ScanType scanType)
Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).
|
Mpeg2Settings |
withScanType(String scanType)
Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).
|
Mpeg2Settings |
withSubgopLength(Mpeg2SubGopLength subgopLength)
Relates to the GOP structure.
|
Mpeg2Settings |
withSubgopLength(String subgopLength)
Relates to the GOP structure.
|
Mpeg2Settings |
withTimecodeInsertion(Mpeg2TimecodeInsertionBehavior timecodeInsertion)
Determines how MediaLive inserts timecodes in the output video.
|
Mpeg2Settings |
withTimecodeInsertion(String timecodeInsertion)
Determines how MediaLive inserts timecodes in the output video.
|
public void setAdaptiveQuantization(String adaptiveQuantization)
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.Mpeg2AdaptiveQuantization
public String getAdaptiveQuantization()
Mpeg2AdaptiveQuantization
public Mpeg2Settings withAdaptiveQuantization(String adaptiveQuantization)
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.Mpeg2AdaptiveQuantization
public Mpeg2Settings withAdaptiveQuantization(Mpeg2AdaptiveQuantization adaptiveQuantization)
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.Mpeg2AdaptiveQuantization
public void setAfdSignaling(String afdSignaling)
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.AfdSignaling
public String getAfdSignaling()
AfdSignaling
public Mpeg2Settings withAfdSignaling(String afdSignaling)
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.AfdSignaling
public Mpeg2Settings withAfdSignaling(AfdSignaling afdSignaling)
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.AfdSignaling
public void setColorMetadata(String colorMetadata)
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.Mpeg2ColorMetadata
public String getColorMetadata()
Mpeg2ColorMetadata
public Mpeg2Settings withColorMetadata(String colorMetadata)
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.Mpeg2ColorMetadata
public Mpeg2Settings withColorMetadata(Mpeg2ColorMetadata colorMetadata)
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.Mpeg2ColorMetadata
public void setColorSpace(String colorSpace)
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.Mpeg2ColorSpace
public String getColorSpace()
Mpeg2ColorSpace
public Mpeg2Settings withColorSpace(String colorSpace)
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.Mpeg2ColorSpace
public Mpeg2Settings withColorSpace(Mpeg2ColorSpace colorSpace)
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.Mpeg2ColorSpace
public void setDisplayAspectRatio(String displayAspectRatio)
displayAspectRatio
- Sets the pixel aspect ratio for the encode.Mpeg2DisplayRatio
public String getDisplayAspectRatio()
Mpeg2DisplayRatio
public Mpeg2Settings withDisplayAspectRatio(String displayAspectRatio)
displayAspectRatio
- Sets the pixel aspect ratio for the encode.Mpeg2DisplayRatio
public Mpeg2Settings withDisplayAspectRatio(Mpeg2DisplayRatio displayAspectRatio)
displayAspectRatio
- Sets the pixel aspect ratio for the encode.Mpeg2DisplayRatio
public void setFilterSettings(Mpeg2FilterSettings filterSettings)
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.public Mpeg2FilterSettings getFilterSettings()
public Mpeg2Settings withFilterSettings(Mpeg2FilterSettings filterSettings)
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.public void setFixedAfd(String fixedAfd)
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.FixedAfd
public String getFixedAfd()
FixedAfd
public Mpeg2Settings withFixedAfd(String fixedAfd)
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.FixedAfd
public Mpeg2Settings withFixedAfd(FixedAfd fixedAfd)
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.FixedAfd
public void setFramerateDenominator(Integer framerateDenominator)
framerateDenominator
- description": "The framerate denominator. For example, 1001. The framerate is the numerator divided by the
denominator. For example, 24000 / 1001 = 23.976 FPS.public Integer getFramerateDenominator()
public Mpeg2Settings withFramerateDenominator(Integer framerateDenominator)
framerateDenominator
- description": "The framerate denominator. For example, 1001. The framerate is the numerator divided by the
denominator. For example, 24000 / 1001 = 23.976 FPS.public void setFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator.
For example, 24000 / 1001 = 23.976 FPS.public Integer getFramerateNumerator()
public Mpeg2Settings withFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator.
For example, 24000 / 1001 = 23.976 FPS.public void setGopClosedCadence(Integer gopClosedCadence)
gopClosedCadence
- MPEG2: default is open GOP.public Integer getGopClosedCadence()
public Mpeg2Settings withGopClosedCadence(Integer gopClosedCadence)
gopClosedCadence
- MPEG2: default is open GOP.public void setGopNumBFrames(Integer gopNumBFrames)
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.public Integer getGopNumBFrames()
public Mpeg2Settings withGopNumBFrames(Integer gopNumBFrames)
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.public void setGopSize(Double gopSize)
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.public Double getGopSize()
public Mpeg2Settings withGopSize(Double gopSize)
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.public void setGopSizeUnits(String gopSizeUnits)
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.Mpeg2GopSizeUnits
public String getGopSizeUnits()
Mpeg2GopSizeUnits
public Mpeg2Settings withGopSizeUnits(String gopSizeUnits)
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.Mpeg2GopSizeUnits
public Mpeg2Settings withGopSizeUnits(Mpeg2GopSizeUnits gopSizeUnits)
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.Mpeg2GopSizeUnits
public void setScanType(String scanType)
scanType
- Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).Mpeg2ScanType
public String getScanType()
Mpeg2ScanType
public Mpeg2Settings withScanType(String scanType)
scanType
- Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).Mpeg2ScanType
public Mpeg2Settings withScanType(Mpeg2ScanType scanType)
scanType
- Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).Mpeg2ScanType
public void setSubgopLength(String subgopLength)
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.Mpeg2SubGopLength
public String getSubgopLength()
Mpeg2SubGopLength
public Mpeg2Settings withSubgopLength(String subgopLength)
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.Mpeg2SubGopLength
public Mpeg2Settings withSubgopLength(Mpeg2SubGopLength subgopLength)
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.Mpeg2SubGopLength
public void setTimecodeInsertion(String timecodeInsertion)
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.Mpeg2TimecodeInsertionBehavior
public String getTimecodeInsertion()
Mpeg2TimecodeInsertionBehavior
public Mpeg2Settings withTimecodeInsertion(String timecodeInsertion)
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.Mpeg2TimecodeInsertionBehavior
public Mpeg2Settings withTimecodeInsertion(Mpeg2TimecodeInsertionBehavior timecodeInsertion)
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.Mpeg2TimecodeInsertionBehavior
public String toString()
toString
in class Object
Object.toString()
public Mpeg2Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.