@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()
Adaptive quantization.
|
Integer |
getBitrate()
Specify the average bitrate in bits per second.
|
String |
getCodecLevel()
Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
|
String |
getCodecProfile()
Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
|
String |
getDynamicSubGop()
Choose Adaptive to improve subjective video quality for high-motion content.
|
String |
getFramerateControl()
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
String |
getFramerateConversionAlgorithm()
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
Integer |
getFramerateDenominator()
Frame rate denominator.
|
Integer |
getFramerateNumerator()
Frame rate numerator - frame rate is a fraction, e.g.
|
Integer |
getGopClosedCadence()
Frequency of closed GOPs.
|
Double |
getGopSize()
GOP Length (keyframe interval) in frames or seconds.
|
String |
getGopSizeUnits()
Indicates if the GOP Size in MPEG2 is specified in frames or seconds.
|
Integer |
getHrdBufferInitialFillPercentage()
Percentage of the buffer that should initially be filled (HRD buffer model).
|
Integer |
getHrdBufferSize()
Size of buffer (HRD buffer model) in bits.
|
String |
getInterlaceMode()
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
String |
getIntraDcPrecision()
Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients.
|
Integer |
getMaxBitrate()
Maximum bitrate in bits/second.
|
Integer |
getMinIInterval()
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
Integer |
getNumberBFramesBetweenReferenceFrames()
Number of B-frames between reference frames.
|
String |
getParControl()
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
Integer |
getParDenominator()
Pixel Aspect Ratio denominator.
|
Integer |
getParNumerator()
Pixel Aspect Ratio numerator.
|
String |
getQualityTuningLevel()
Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video
encoding.
|
String |
getRateControlMode()
Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).
|
String |
getSceneChangeDetect()
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
String |
getSlowPal()
Enables Slow PAL rate conversion.
|
Integer |
getSoftness()
Softness.
|
String |
getSpatialAdaptiveQuantization()
Adjust quantization within each frame based on spatial variation of content complexity.
|
String |
getSyntax()
Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
|
String |
getTelecine()
Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970.
|
String |
getTemporalAdaptiveQuantization()
Adjust quantization within each frame based on temporal variation of content complexity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
void |
setBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
void |
setCodecLevel(String codecLevel)
Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
|
void |
setCodecProfile(String codecProfile)
Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
|
void |
setDynamicSubGop(String dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
void |
setFramerateControl(String framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
void |
setFramerateConversionAlgorithm(String framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
void |
setFramerateDenominator(Integer framerateDenominator)
Frame rate denominator.
|
void |
setFramerateNumerator(Integer framerateNumerator)
Frame rate numerator - frame rate is a fraction, e.g.
|
void |
setGopClosedCadence(Integer gopClosedCadence)
Frequency of closed GOPs.
|
void |
setGopSize(Double gopSize)
GOP Length (keyframe interval) in frames or seconds.
|
void |
setGopSizeUnits(String gopSizeUnits)
Indicates if the GOP Size in MPEG2 is specified in frames or seconds.
|
void |
setHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
Percentage of the buffer that should initially be filled (HRD buffer model).
|
void |
setHrdBufferSize(Integer hrdBufferSize)
Size of buffer (HRD buffer model) in bits.
|
void |
setInterlaceMode(String interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
void |
setIntraDcPrecision(String intraDcPrecision)
Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients.
|
void |
setMaxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
void |
setMinIInterval(Integer minIInterval)
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
void |
setNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Number of B-frames between reference frames.
|
void |
setParControl(String parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
void |
setParDenominator(Integer parDenominator)
Pixel Aspect Ratio denominator.
|
void |
setParNumerator(Integer parNumerator)
Pixel Aspect Ratio numerator.
|
void |
setQualityTuningLevel(String qualityTuningLevel)
Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video
encoding.
|
void |
setRateControlMode(String rateControlMode)
Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).
|
void |
setSceneChangeDetect(String sceneChangeDetect)
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
void |
setSlowPal(String slowPal)
Enables Slow PAL rate conversion.
|
void |
setSoftness(Integer softness)
Softness.
|
void |
setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
void |
setSyntax(String syntax)
Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
|
void |
setTelecine(String telecine)
Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970.
|
void |
setTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
String |
toString()
Returns a string representation of this object.
|
Mpeg2Settings |
withAdaptiveQuantization(Mpeg2AdaptiveQuantization adaptiveQuantization)
Adaptive quantization.
|
Mpeg2Settings |
withAdaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
Mpeg2Settings |
withBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
Mpeg2Settings |
withCodecLevel(Mpeg2CodecLevel codecLevel)
Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
|
Mpeg2Settings |
withCodecLevel(String codecLevel)
Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
|
Mpeg2Settings |
withCodecProfile(Mpeg2CodecProfile codecProfile)
Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
|
Mpeg2Settings |
withCodecProfile(String codecProfile)
Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
|
Mpeg2Settings |
withDynamicSubGop(Mpeg2DynamicSubGop dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
Mpeg2Settings |
withDynamicSubGop(String dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
Mpeg2Settings |
withFramerateControl(Mpeg2FramerateControl framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Mpeg2Settings |
withFramerateControl(String framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Mpeg2Settings |
withFramerateConversionAlgorithm(Mpeg2FramerateConversionAlgorithm framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
Mpeg2Settings |
withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
Mpeg2Settings |
withFramerateDenominator(Integer framerateDenominator)
Frame rate denominator.
|
Mpeg2Settings |
withFramerateNumerator(Integer framerateNumerator)
Frame rate numerator - frame rate is a fraction, e.g.
|
Mpeg2Settings |
withGopClosedCadence(Integer gopClosedCadence)
Frequency of closed GOPs.
|
Mpeg2Settings |
withGopSize(Double gopSize)
GOP Length (keyframe interval) in frames or seconds.
|
Mpeg2Settings |
withGopSizeUnits(Mpeg2GopSizeUnits gopSizeUnits)
Indicates if the GOP Size in MPEG2 is specified in frames or seconds.
|
Mpeg2Settings |
withGopSizeUnits(String gopSizeUnits)
Indicates if the GOP Size in MPEG2 is specified in frames or seconds.
|
Mpeg2Settings |
withHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
Percentage of the buffer that should initially be filled (HRD buffer model).
|
Mpeg2Settings |
withHrdBufferSize(Integer hrdBufferSize)
Size of buffer (HRD buffer model) in bits.
|
Mpeg2Settings |
withInterlaceMode(Mpeg2InterlaceMode interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
Mpeg2Settings |
withInterlaceMode(String interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
Mpeg2Settings |
withIntraDcPrecision(Mpeg2IntraDcPrecision intraDcPrecision)
Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients.
|
Mpeg2Settings |
withIntraDcPrecision(String intraDcPrecision)
Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients.
|
Mpeg2Settings |
withMaxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
Mpeg2Settings |
withMinIInterval(Integer minIInterval)
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
Mpeg2Settings |
withNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Number of B-frames between reference frames.
|
Mpeg2Settings |
withParControl(Mpeg2ParControl parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
Mpeg2Settings |
withParControl(String parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
Mpeg2Settings |
withParDenominator(Integer parDenominator)
Pixel Aspect Ratio denominator.
|
Mpeg2Settings |
withParNumerator(Integer parNumerator)
Pixel Aspect Ratio numerator.
|
Mpeg2Settings |
withQualityTuningLevel(Mpeg2QualityTuningLevel qualityTuningLevel)
Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video
encoding.
|
Mpeg2Settings |
withQualityTuningLevel(String qualityTuningLevel)
Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video
encoding.
|
Mpeg2Settings |
withRateControlMode(Mpeg2RateControlMode rateControlMode)
Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).
|
Mpeg2Settings |
withRateControlMode(String rateControlMode)
Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).
|
Mpeg2Settings |
withSceneChangeDetect(Mpeg2SceneChangeDetect sceneChangeDetect)
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
Mpeg2Settings |
withSceneChangeDetect(String sceneChangeDetect)
Enable this setting to insert I-frames at scene changes that the service automatically detects.
|
Mpeg2Settings |
withSlowPal(Mpeg2SlowPal slowPal)
Enables Slow PAL rate conversion.
|
Mpeg2Settings |
withSlowPal(String slowPal)
Enables Slow PAL rate conversion.
|
Mpeg2Settings |
withSoftness(Integer softness)
Softness.
|
Mpeg2Settings |
withSpatialAdaptiveQuantization(Mpeg2SpatialAdaptiveQuantization spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
Mpeg2Settings |
withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
Mpeg2Settings |
withSyntax(Mpeg2Syntax syntax)
Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
|
Mpeg2Settings |
withSyntax(String syntax)
Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
|
Mpeg2Settings |
withTelecine(Mpeg2Telecine telecine)
Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970.
|
Mpeg2Settings |
withTelecine(String telecine)
Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970.
|
Mpeg2Settings |
withTemporalAdaptiveQuantization(Mpeg2TemporalAdaptiveQuantization temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
Mpeg2Settings |
withTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
public void setAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Mpeg2AdaptiveQuantization
public String getAdaptiveQuantization()
Mpeg2AdaptiveQuantization
public Mpeg2Settings withAdaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Mpeg2AdaptiveQuantization
public Mpeg2Settings withAdaptiveQuantization(Mpeg2AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Mpeg2AdaptiveQuantization
public void setBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates
must be unique when rounded down to the nearest multiple of 1000.public Integer getBitrate()
public Mpeg2Settings withBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates
must be unique when rounded down to the nearest multiple of 1000.public void setCodecLevel(String codecLevel)
codecLevel
- Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.Mpeg2CodecLevel
public String getCodecLevel()
Mpeg2CodecLevel
public Mpeg2Settings withCodecLevel(String codecLevel)
codecLevel
- Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.Mpeg2CodecLevel
public Mpeg2Settings withCodecLevel(Mpeg2CodecLevel codecLevel)
codecLevel
- Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.Mpeg2CodecLevel
public void setCodecProfile(String codecProfile)
codecProfile
- Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.Mpeg2CodecProfile
public String getCodecProfile()
Mpeg2CodecProfile
public Mpeg2Settings withCodecProfile(String codecProfile)
codecProfile
- Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.Mpeg2CodecProfile
public Mpeg2Settings withCodecProfile(Mpeg2CodecProfile codecProfile)
codecProfile
- Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.Mpeg2CodecProfile
public void setDynamicSubGop(String dynamicSubGop)
dynamicSubGop
- Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service
to use fewer B-frames (which infer information based on other frames) for high-motion portions of the
video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value
you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).Mpeg2DynamicSubGop
public String getDynamicSubGop()
Mpeg2DynamicSubGop
public Mpeg2Settings withDynamicSubGop(String dynamicSubGop)
dynamicSubGop
- Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service
to use fewer B-frames (which infer information based on other frames) for high-motion portions of the
video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value
you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).Mpeg2DynamicSubGop
public Mpeg2Settings withDynamicSubGop(Mpeg2DynamicSubGop dynamicSubGop)
dynamicSubGop
- Choose Adaptive to improve subjective video quality for high-motion content. This will cause the service
to use fewer B-frames (which infer information based on other frames) for high-motion portions of the
video and more B-frames for low-motion portions. The maximum number of B-frames is limited by the value
you provide for the setting B frames between reference frames (numberBFramesBetweenReferenceFrames).Mpeg2DynamicSubGop
public void setFramerateControl(String framerateControl)
framerateControl
- If you are using the console, use the Framerate setting to specify the frame rate for this output. If you
want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate
conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the
dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a
fraction. If you are creating your transcoding job sepecification as a JSON file without the console, use
FramerateControl to specify which value the service uses for the frame rate for this output. Choose
INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if
you want the service to use the frame rate you specify in the settings FramerateNumerator and
FramerateDenominator.Mpeg2FramerateControl
public String getFramerateControl()
Mpeg2FramerateControl
public Mpeg2Settings withFramerateControl(String framerateControl)
framerateControl
- If you are using the console, use the Framerate setting to specify the frame rate for this output. If you
want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate
conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the
dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a
fraction. If you are creating your transcoding job sepecification as a JSON file without the console, use
FramerateControl to specify which value the service uses for the frame rate for this output. Choose
INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if
you want the service to use the frame rate you specify in the settings FramerateNumerator and
FramerateDenominator.Mpeg2FramerateControl
public Mpeg2Settings withFramerateControl(Mpeg2FramerateControl framerateControl)
framerateControl
- If you are using the console, use the Framerate setting to specify the frame rate for this output. If you
want to keep the same frame rate as the input video, choose Follow source. If you want to do frame rate
conversion, choose a frame rate from the dropdown list or choose Custom. The framerates shown in the
dropdown list are decimal approximations of fractions. If you choose Custom, specify your frame rate as a
fraction. If you are creating your transcoding job sepecification as a JSON file without the console, use
FramerateControl to specify which value the service uses for the frame rate for this output. Choose
INITIALIZE_FROM_SOURCE if you want the service to use the frame rate from the input. Choose SPECIFIED if
you want the service to use the frame rate you specify in the settings FramerateNumerator and
FramerateDenominator.Mpeg2FramerateControl
public void setFramerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.Mpeg2FramerateConversionAlgorithm
public String getFramerateConversionAlgorithm()
Mpeg2FramerateConversionAlgorithm
public Mpeg2Settings withFramerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.Mpeg2FramerateConversionAlgorithm
public Mpeg2Settings withFramerateConversionAlgorithm(Mpeg2FramerateConversionAlgorithm framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.Mpeg2FramerateConversionAlgorithm
public void setFramerateDenominator(Integer framerateDenominator)
framerateDenominator
- Frame rate denominator.public Integer getFramerateDenominator()
public Mpeg2Settings withFramerateDenominator(Integer framerateDenominator)
framerateDenominator
- Frame rate denominator.public void setFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.public Integer getFramerateNumerator()
public Mpeg2Settings withFramerateNumerator(Integer framerateNumerator)
framerateNumerator
- Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.public void setGopClosedCadence(Integer gopClosedCadence)
gopClosedCadence
- Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder
joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break
output segmenting.public Integer getGopClosedCadence()
public Mpeg2Settings withGopClosedCadence(Integer gopClosedCadence)
gopClosedCadence
- Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder
joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break
output segmenting.public void setGopSize(Double gopSize)
gopSize
- GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.public Double getGopSize()
public Mpeg2Settings withGopSize(Double gopSize)
gopSize
- GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.public void setGopSizeUnits(String gopSizeUnits)
gopSizeUnits
- Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert
the GOP Size into a frame count at run time.Mpeg2GopSizeUnits
public String getGopSizeUnits()
Mpeg2GopSizeUnits
public Mpeg2Settings withGopSizeUnits(String gopSizeUnits)
gopSizeUnits
- Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert
the GOP Size into a frame count at run time.Mpeg2GopSizeUnits
public Mpeg2Settings withGopSizeUnits(Mpeg2GopSizeUnits gopSizeUnits)
gopSizeUnits
- Indicates if the GOP Size in MPEG2 is specified in frames or seconds. If seconds the system will convert
the GOP Size into a frame count at run time.Mpeg2GopSizeUnits
public void setHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
hrdBufferInitialFillPercentage
- Percentage of the buffer that should initially be filled (HRD buffer model).public Integer getHrdBufferInitialFillPercentage()
public Mpeg2Settings withHrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
hrdBufferInitialFillPercentage
- Percentage of the buffer that should initially be filled (HRD buffer model).public void setHrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.public Integer getHrdBufferSize()
public Mpeg2Settings withHrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.public void setInterlaceMode(String interlaceMode)
interlaceMode
- Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First
(TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having
the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow,
Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior
depends on the input scan type. - If the source is interlaced, the output will be interlaced with the same
polarity as the source (it will follow the source). The output could therefore be a mix of
"top field first" and "bottom field first". - If the source is progressive, the output will be interlaced
with "top field first" or "bottom field first" polarity, depending on which of the Follow options you
chose.Mpeg2InterlaceMode
public String getInterlaceMode()
Mpeg2InterlaceMode
public Mpeg2Settings withInterlaceMode(String interlaceMode)
interlaceMode
- Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First
(TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having
the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow,
Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior
depends on the input scan type. - If the source is interlaced, the output will be interlaced with the same
polarity as the source (it will follow the source). The output could therefore be a mix of
"top field first" and "bottom field first". - If the source is progressive, the output will be interlaced
with "top field first" or "bottom field first" polarity, depending on which of the Follow options you
chose.Mpeg2InterlaceMode
public Mpeg2Settings withInterlaceMode(Mpeg2InterlaceMode interlaceMode)
interlaceMode
- Use Interlace mode (InterlaceMode) to choose the scan line type for the output. * Top Field First
(TOP_FIELD) and Bottom Field First (BOTTOM_FIELD) produce interlaced output with the entire output having
the same field polarity (top or bottom first). * Follow, Default Top (FOLLOW_TOP_FIELD) and Follow,
Default Bottom (FOLLOW_BOTTOM_FIELD) use the same field polarity as the source. Therefore, behavior
depends on the input scan type. - If the source is interlaced, the output will be interlaced with the same
polarity as the source (it will follow the source). The output could therefore be a mix of
"top field first" and "bottom field first". - If the source is progressive, the output will be interlaced
with "top field first" or "bottom field first" polarity, depending on which of the Follow options you
chose.Mpeg2InterlaceMode
public void setIntraDcPrecision(String intraDcPrecision)
intraDcPrecision
- Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC
coefficients. If you choose the value auto, the service will automatically select the precision based on
the per-frame compression ratio.Mpeg2IntraDcPrecision
public String getIntraDcPrecision()
Mpeg2IntraDcPrecision
public Mpeg2Settings withIntraDcPrecision(String intraDcPrecision)
intraDcPrecision
- Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC
coefficients. If you choose the value auto, the service will automatically select the precision based on
the per-frame compression ratio.Mpeg2IntraDcPrecision
public Mpeg2Settings withIntraDcPrecision(Mpeg2IntraDcPrecision intraDcPrecision)
intraDcPrecision
- Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC
coefficients. If you choose the value auto, the service will automatically select the precision based on
the per-frame compression ratio.Mpeg2IntraDcPrecision
public void setMaxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.public Integer getMaxBitrate()
public Mpeg2Settings withMaxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.public void setMinIInterval(Integer minIInterval)
minIInterval
- Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or
stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting
I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change
Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1public Integer getMinIInterval()
public Mpeg2Settings withMinIInterval(Integer minIInterval)
minIInterval
- Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or
stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting
I-interval. The normal cadence resumes for the next GOP. This setting is only used when Scene Change
Detect is enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1public void setNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Number of B-frames between reference frames.public Integer getNumberBFramesBetweenReferenceFrames()
public Mpeg2Settings withNumberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Number of B-frames between reference frames.public void setParControl(String parControl)
parControl
- Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the
input. Using the console, do this by choosing Follow source for Pixel aspect ratio.Mpeg2ParControl
public String getParControl()
Mpeg2ParControl
public Mpeg2Settings withParControl(String parControl)
parControl
- Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the
input. Using the console, do this by choosing Follow source for Pixel aspect ratio.Mpeg2ParControl
public Mpeg2Settings withParControl(Mpeg2ParControl parControl)
parControl
- Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the
input. Using the console, do this by choosing Follow source for Pixel aspect ratio.Mpeg2ParControl
public void setParDenominator(Integer parDenominator)
parDenominator
- Pixel Aspect Ratio denominator.public Integer getParDenominator()
public Mpeg2Settings withParDenominator(Integer parDenominator)
parDenominator
- Pixel Aspect Ratio denominator.public void setParNumerator(Integer parNumerator)
parNumerator
- Pixel Aspect Ratio numerator.public Integer getParNumerator()
public Mpeg2Settings withParNumerator(Integer parNumerator)
parNumerator
- Pixel Aspect Ratio numerator.public void setQualityTuningLevel(String qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass
video encoding.Mpeg2QualityTuningLevel
public String getQualityTuningLevel()
Mpeg2QualityTuningLevel
public Mpeg2Settings withQualityTuningLevel(String qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass
video encoding.Mpeg2QualityTuningLevel
public Mpeg2Settings withQualityTuningLevel(Mpeg2QualityTuningLevel qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass
video encoding.Mpeg2QualityTuningLevel
public void setRateControlMode(String rateControlMode)
rateControlMode
- Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant
(cbr).Mpeg2RateControlMode
public String getRateControlMode()
Mpeg2RateControlMode
public Mpeg2Settings withRateControlMode(String rateControlMode)
rateControlMode
- Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant
(cbr).Mpeg2RateControlMode
public Mpeg2Settings withRateControlMode(Mpeg2RateControlMode rateControlMode)
rateControlMode
- Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant
(cbr).Mpeg2RateControlMode
public void setSceneChangeDetect(String sceneChangeDetect)
sceneChangeDetect
- Enable this setting to insert I-frames at scene changes that the service automatically detects. This
improves video quality and is enabled by default.Mpeg2SceneChangeDetect
public String getSceneChangeDetect()
Mpeg2SceneChangeDetect
public Mpeg2Settings withSceneChangeDetect(String sceneChangeDetect)
sceneChangeDetect
- Enable this setting to insert I-frames at scene changes that the service automatically detects. This
improves video quality and is enabled by default.Mpeg2SceneChangeDetect
public Mpeg2Settings withSceneChangeDetect(Mpeg2SceneChangeDetect sceneChangeDetect)
sceneChangeDetect
- Enable this setting to insert I-frames at scene changes that the service automatically detects. This
improves video quality and is enabled by default.Mpeg2SceneChangeDetect
public void setSlowPal(String slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up
correspondingly.Mpeg2SlowPal
public String getSlowPal()
Mpeg2SlowPal
public Mpeg2Settings withSlowPal(String slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up
correspondingly.Mpeg2SlowPal
public Mpeg2Settings withSlowPal(Mpeg2SlowPal slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up
correspondingly.Mpeg2SlowPal
public void setSoftness(Integer softness)
softness
- Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.public Integer getSoftness()
public Mpeg2Settings withSoftness(Integer softness)
softness
- Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.public void setSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Mpeg2SpatialAdaptiveQuantization
public String getSpatialAdaptiveQuantization()
Mpeg2SpatialAdaptiveQuantization
public Mpeg2Settings withSpatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Mpeg2SpatialAdaptiveQuantization
public Mpeg2Settings withSpatialAdaptiveQuantization(Mpeg2SpatialAdaptiveQuantization spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Mpeg2SpatialAdaptiveQuantization
public void setSyntax(String syntax)
syntax
- Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).Mpeg2Syntax
public String getSyntax()
Mpeg2Syntax
public Mpeg2Settings withSyntax(String syntax)
syntax
- Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).Mpeg2Syntax
public Mpeg2Settings withSyntax(Mpeg2Syntax syntax)
syntax
- Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).Mpeg2Syntax
public void setTelecine(String telecine)
telecine
- Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. Set Telecine
(Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from a 23.976 input. Set it to Soft (soft) to
produce 23.976 output and leave converstion to the player.Mpeg2Telecine
public String getTelecine()
Mpeg2Telecine
public Mpeg2Settings withTelecine(String telecine)
telecine
- Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. Set Telecine
(Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from a 23.976 input. Set it to Soft (soft) to
produce 23.976 output and leave converstion to the player.Mpeg2Telecine
public Mpeg2Settings withTelecine(Mpeg2Telecine telecine)
telecine
- Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970. Set Telecine
(Mpeg2Telecine) to Hard (hard) to produce a 29.97i output from a 23.976 input. Set it to Soft (soft) to
produce 23.976 output and leave converstion to the player.Mpeg2Telecine
public void setTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.Mpeg2TemporalAdaptiveQuantization
public String getTemporalAdaptiveQuantization()
Mpeg2TemporalAdaptiveQuantization
public Mpeg2Settings withTemporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.Mpeg2TemporalAdaptiveQuantization
public Mpeg2Settings withTemporalAdaptiveQuantization(Mpeg2TemporalAdaptiveQuantization temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.Mpeg2TemporalAdaptiveQuantization
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.