public static interface Mpeg2Settings.Builder extends SdkPojo, CopyableBuilder<Mpeg2Settings.Builder,Mpeg2Settings>
Modifier and Type | Method and Description |
---|---|
Mpeg2Settings.Builder |
adaptiveQuantization(Mpeg2AdaptiveQuantization adaptiveQuantization)
Adaptive quantization.
|
Mpeg2Settings.Builder |
adaptiveQuantization(String adaptiveQuantization)
Adaptive quantization.
|
Mpeg2Settings.Builder |
bitrate(Integer bitrate)
Average bitrate in bits/second.
|
Mpeg2Settings.Builder |
codecLevel(Mpeg2CodecLevel codecLevel)
Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
|
Mpeg2Settings.Builder |
codecLevel(String codecLevel)
Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.
|
Mpeg2Settings.Builder |
codecProfile(Mpeg2CodecProfile codecProfile)
Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
|
Mpeg2Settings.Builder |
codecProfile(String codecProfile)
Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.
|
Mpeg2Settings.Builder |
dynamicSubGop(Mpeg2DynamicSubGop dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
Mpeg2Settings.Builder |
dynamicSubGop(String dynamicSubGop)
Choose Adaptive to improve subjective video quality for high-motion content.
|
Mpeg2Settings.Builder |
framerateControl(Mpeg2FramerateControl framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Mpeg2Settings.Builder |
framerateControl(String framerateControl)
If you are using the console, use the Framerate setting to specify the frame rate for this output.
|
Mpeg2Settings.Builder |
framerateConversionAlgorithm(Mpeg2FramerateConversionAlgorithm framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
Mpeg2Settings.Builder |
framerateConversionAlgorithm(String framerateConversionAlgorithm)
When set to INTERPOLATE, produces smoother motion during frame rate conversion.
|
Mpeg2Settings.Builder |
framerateDenominator(Integer framerateDenominator)
Frame rate denominator.
|
Mpeg2Settings.Builder |
framerateNumerator(Integer framerateNumerator)
Frame rate numerator - frame rate is a fraction, e.g.
|
Mpeg2Settings.Builder |
gopClosedCadence(Integer gopClosedCadence)
Frequency of closed GOPs.
|
Mpeg2Settings.Builder |
gopSize(Double gopSize)
GOP Length (keyframe interval) in frames or seconds.
|
Mpeg2Settings.Builder |
gopSizeUnits(Mpeg2GopSizeUnits gopSizeUnits)
Indicates if the GOP Size in MPEG2 is specified in frames or seconds.
|
Mpeg2Settings.Builder |
gopSizeUnits(String gopSizeUnits)
Indicates if the GOP Size in MPEG2 is specified in frames or seconds.
|
Mpeg2Settings.Builder |
hrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
Percentage of the buffer that should initially be filled (HRD buffer model).
|
Mpeg2Settings.Builder |
hrdBufferSize(Integer hrdBufferSize)
Size of buffer (HRD buffer model) in bits.
|
Mpeg2Settings.Builder |
interlaceMode(Mpeg2InterlaceMode interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
Mpeg2Settings.Builder |
interlaceMode(String interlaceMode)
Use Interlace mode (InterlaceMode) to choose the scan line type for the output.
|
Mpeg2Settings.Builder |
intraDcPrecision(Mpeg2IntraDcPrecision intraDcPrecision)
Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients.
|
Mpeg2Settings.Builder |
intraDcPrecision(String intraDcPrecision)
Use Intra DC precision (Mpeg2IntraDcPrecision) to set quantization precision for intra-block DC coefficients.
|
Mpeg2Settings.Builder |
maxBitrate(Integer maxBitrate)
Maximum bitrate in bits/second.
|
Mpeg2Settings.Builder |
minIInterval(Integer minIInterval)
Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection.
|
Mpeg2Settings.Builder |
numberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
Number of B-frames between reference frames.
|
Mpeg2Settings.Builder |
parControl(Mpeg2ParControl parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
Mpeg2Settings.Builder |
parControl(String parControl)
Using the API, enable ParFollowSource if you want the service to use the pixel aspect ratio from the input.
|
Mpeg2Settings.Builder |
parDenominator(Integer parDenominator)
Pixel Aspect Ratio denominator.
|
Mpeg2Settings.Builder |
parNumerator(Integer parNumerator)
Pixel Aspect Ratio numerator.
|
Mpeg2Settings.Builder |
qualityTuningLevel(Mpeg2QualityTuningLevel qualityTuningLevel)
Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video
encoding.
|
Mpeg2Settings.Builder |
qualityTuningLevel(String qualityTuningLevel)
Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video
encoding.
|
Mpeg2Settings.Builder |
rateControlMode(Mpeg2RateControlMode rateControlMode)
Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant
(cbr).
|
Mpeg2Settings.Builder |
rateControlMode(String rateControlMode)
Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant
(cbr).
|
Mpeg2Settings.Builder |
sceneChangeDetect(Mpeg2SceneChangeDetect sceneChangeDetect)
Scene change detection (inserts I-frames on scene changes).
|
Mpeg2Settings.Builder |
sceneChangeDetect(String sceneChangeDetect)
Scene change detection (inserts I-frames on scene changes).
|
Mpeg2Settings.Builder |
slowPal(Mpeg2SlowPal slowPal)
Enables Slow PAL rate conversion.
|
Mpeg2Settings.Builder |
slowPal(String slowPal)
Enables Slow PAL rate conversion.
|
Mpeg2Settings.Builder |
softness(Integer softness)
Softness.
|
Mpeg2Settings.Builder |
spatialAdaptiveQuantization(Mpeg2SpatialAdaptiveQuantization spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
Mpeg2Settings.Builder |
spatialAdaptiveQuantization(String spatialAdaptiveQuantization)
Adjust quantization within each frame based on spatial variation of content complexity.
|
Mpeg2Settings.Builder |
syntax(Mpeg2Syntax syntax)
Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
|
Mpeg2Settings.Builder |
syntax(String syntax)
Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).
|
Mpeg2Settings.Builder |
telecine(Mpeg2Telecine telecine)
Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970.
|
Mpeg2Settings.Builder |
telecine(String telecine)
Only use Telecine (Mpeg2Telecine) when you set Framerate (Framerate) to 29.970.
|
Mpeg2Settings.Builder |
temporalAdaptiveQuantization(Mpeg2TemporalAdaptiveQuantization temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
Mpeg2Settings.Builder |
temporalAdaptiveQuantization(String temporalAdaptiveQuantization)
Adjust quantization within each frame based on temporal variation of content complexity.
|
copy
applyMutation, build
Mpeg2Settings.Builder adaptiveQuantization(String adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Mpeg2AdaptiveQuantization
,
Mpeg2AdaptiveQuantization
Mpeg2Settings.Builder adaptiveQuantization(Mpeg2AdaptiveQuantization adaptiveQuantization)
adaptiveQuantization
- Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.Mpeg2AdaptiveQuantization
,
Mpeg2AdaptiveQuantization
Mpeg2Settings.Builder bitrate(Integer bitrate)
bitrate
- Average bitrate in bits/second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be
unique when rounded down to the nearest multiple of 1000.Mpeg2Settings.Builder codecLevel(String codecLevel)
codecLevel
- Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.Mpeg2CodecLevel
,
Mpeg2CodecLevel
Mpeg2Settings.Builder codecLevel(Mpeg2CodecLevel codecLevel)
codecLevel
- Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.Mpeg2CodecLevel
,
Mpeg2CodecLevel
Mpeg2Settings.Builder codecProfile(String codecProfile)
codecProfile
- Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.Mpeg2CodecProfile
,
Mpeg2CodecProfile
Mpeg2Settings.Builder codecProfile(Mpeg2CodecProfile codecProfile)
codecProfile
- Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.Mpeg2CodecProfile
,
Mpeg2CodecProfile
Mpeg2Settings.Builder dynamicSubGop(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
,
Mpeg2DynamicSubGop
Mpeg2Settings.Builder dynamicSubGop(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
,
Mpeg2DynamicSubGop
Mpeg2Settings.Builder framerateControl(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
,
Mpeg2FramerateControl
Mpeg2Settings.Builder framerateControl(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
,
Mpeg2FramerateControl
Mpeg2Settings.Builder framerateConversionAlgorithm(String framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.Mpeg2FramerateConversionAlgorithm
,
Mpeg2FramerateConversionAlgorithm
Mpeg2Settings.Builder framerateConversionAlgorithm(Mpeg2FramerateConversionAlgorithm framerateConversionAlgorithm)
framerateConversionAlgorithm
- When set to INTERPOLATE, produces smoother motion during frame rate conversion.Mpeg2FramerateConversionAlgorithm
,
Mpeg2FramerateConversionAlgorithm
Mpeg2Settings.Builder framerateDenominator(Integer framerateDenominator)
framerateDenominator
- Frame rate denominator.Mpeg2Settings.Builder framerateNumerator(Integer framerateNumerator)
framerateNumerator
- Frame rate numerator - frame rate is a fraction, e.g. 24000 / 1001 = 23.976 fps.Mpeg2Settings.Builder gopClosedCadence(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.Mpeg2Settings.Builder gopSize(Double gopSize)
gopSize
- GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.Mpeg2Settings.Builder gopSizeUnits(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
,
Mpeg2GopSizeUnits
Mpeg2Settings.Builder gopSizeUnits(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
,
Mpeg2GopSizeUnits
Mpeg2Settings.Builder hrdBufferInitialFillPercentage(Integer hrdBufferInitialFillPercentage)
hrdBufferInitialFillPercentage
- Percentage of the buffer that should initially be filled (HRD buffer model).Mpeg2Settings.Builder hrdBufferSize(Integer hrdBufferSize)
hrdBufferSize
- Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.Mpeg2Settings.Builder interlaceMode(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
,
Mpeg2InterlaceMode
Mpeg2Settings.Builder interlaceMode(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
,
Mpeg2InterlaceMode
Mpeg2Settings.Builder intraDcPrecision(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
,
Mpeg2IntraDcPrecision
Mpeg2Settings.Builder intraDcPrecision(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
,
Mpeg2IntraDcPrecision
Mpeg2Settings.Builder maxBitrate(Integer maxBitrate)
maxBitrate
- Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.Mpeg2Settings.Builder minIInterval(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 - 1Mpeg2Settings.Builder numberBFramesBetweenReferenceFrames(Integer numberBFramesBetweenReferenceFrames)
numberBFramesBetweenReferenceFrames
- Number of B-frames between reference frames.Mpeg2Settings.Builder parControl(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
,
Mpeg2ParControl
Mpeg2Settings.Builder parControl(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
,
Mpeg2ParControl
Mpeg2Settings.Builder parDenominator(Integer parDenominator)
parDenominator
- Pixel Aspect Ratio denominator.Mpeg2Settings.Builder parNumerator(Integer parNumerator)
parNumerator
- Pixel Aspect Ratio numerator.Mpeg2Settings.Builder qualityTuningLevel(String qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass
video encoding.Mpeg2QualityTuningLevel
,
Mpeg2QualityTuningLevel
Mpeg2Settings.Builder qualityTuningLevel(Mpeg2QualityTuningLevel qualityTuningLevel)
qualityTuningLevel
- Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass
video encoding.Mpeg2QualityTuningLevel
,
Mpeg2QualityTuningLevel
Mpeg2Settings.Builder rateControlMode(String rateControlMode)
rateControlMode
- Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or
constant (cbr).Mpeg2RateControlMode
,
Mpeg2RateControlMode
Mpeg2Settings.Builder rateControlMode(Mpeg2RateControlMode rateControlMode)
rateControlMode
- Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or
constant (cbr).Mpeg2RateControlMode
,
Mpeg2RateControlMode
Mpeg2Settings.Builder sceneChangeDetect(String sceneChangeDetect)
sceneChangeDetect
- Scene change detection (inserts I-frames on scene changes).Mpeg2SceneChangeDetect
,
Mpeg2SceneChangeDetect
Mpeg2Settings.Builder sceneChangeDetect(Mpeg2SceneChangeDetect sceneChangeDetect)
sceneChangeDetect
- Scene change detection (inserts I-frames on scene changes).Mpeg2SceneChangeDetect
,
Mpeg2SceneChangeDetect
Mpeg2Settings.Builder slowPal(String slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped
up correspondingly.Mpeg2SlowPal
,
Mpeg2SlowPal
Mpeg2Settings.Builder slowPal(Mpeg2SlowPal slowPal)
slowPal
- Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped
up correspondingly.Mpeg2SlowPal
,
Mpeg2SlowPal
Mpeg2Settings.Builder softness(Integer softness)
softness
- Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.Mpeg2Settings.Builder spatialAdaptiveQuantization(String spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Mpeg2SpatialAdaptiveQuantization
,
Mpeg2SpatialAdaptiveQuantization
Mpeg2Settings.Builder spatialAdaptiveQuantization(Mpeg2SpatialAdaptiveQuantization spatialAdaptiveQuantization)
spatialAdaptiveQuantization
- Adjust quantization within each frame based on spatial variation of content complexity.Mpeg2SpatialAdaptiveQuantization
,
Mpeg2SpatialAdaptiveQuantization
Mpeg2Settings.Builder syntax(String syntax)
syntax
- Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).Mpeg2Syntax
,
Mpeg2Syntax
Mpeg2Settings.Builder syntax(Mpeg2Syntax syntax)
syntax
- Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).Mpeg2Syntax
,
Mpeg2Syntax
Mpeg2Settings.Builder telecine(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
,
Mpeg2Telecine
Mpeg2Settings.Builder telecine(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
,
Mpeg2Telecine
Mpeg2Settings.Builder temporalAdaptiveQuantization(String temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.Mpeg2TemporalAdaptiveQuantization
,
Mpeg2TemporalAdaptiveQuantization
Mpeg2Settings.Builder temporalAdaptiveQuantization(Mpeg2TemporalAdaptiveQuantization temporalAdaptiveQuantization)
temporalAdaptiveQuantization
- Adjust quantization within each frame based on temporal variation of content complexity.Mpeg2TemporalAdaptiveQuantization
,
Mpeg2TemporalAdaptiveQuantization
Copyright © 2019. All rights reserved.