class Aws::MediaConvert::Types::Mpeg2Settings


@see docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/Mpeg2Settings AWS API Documentation
@return [String]
filter with the setting Adaptive quantization.
When you enable temporal quantization, adjust the strength of the
faces, you might choose to disable this feature. Related setting:
have moving objects with sharp edges, such as sports athletes’
to be focusing their attention on a part of the screen that doesn’t
where the viewer’s attention is likely to be. If viewers are likely
quality. Note, though, that this feature doesn’t take into account
matches. Enabling this feature will almost always improve your video
readability of text tickers on newscasts and scoreboards on sports
sharp edges that move a lot. For example, this feature improves the
frame that aren’t moving and uses more bits on complex objects with
enable this feature, the encoder uses fewer bits on areas of the
frame based on temporal variation of content complexity. When you
Keep the default value, Enabled, to adjust quantization within each
@!attribute [rw] temporal_adaptive_quantization
@return [String]
to create a smoother picture.
conversion to 29.97 without doing anything with the field polarity
the default value, None, MediaConvert does a standard frame rate
player device to do the conversion during play back. When you keep
produces an output with a 23.976 output that signals to the video
picture. Hard telecine produces a 29.97i output. Soft telecine
optionally enable hard or soft telecine to create a smoother
(fps) to 29.97 fps, and your output scan type is interlaced, you can
When you do frame rate conversion from 23.976 frames per second
@!attribute [rw] telecine
@return [String]
D10.
choose D10 for your MXF profile, you must also set this value to
default value to not use the syntax. Related settings: When you
Specify whether this output’s video uses the D10 syntax. Keep the
@!attribute [rw] syntax
@return [String]
Higher.
Low. For content with a wider variety of textures, set it to High or
homogeneous content, such as cartoons and video games, set it to
value for Adaptive quantization depending on your content. For
setting: When you enable spatial adaptive quantization, set the
complex texture, you might choose to disable this feature. Related
focusing their attention on a part of the screen with a lot of
viewer’s attention is likely to be. If viewers are likely to be
Note, though, that this feature doesn’t take into account where the
Enabling this feature will almost always improve your video quality.
fewer bits and smooth textured blocks are encoded with more bits.
noticeable. For example, complex textured blocks are encoded with
uses more bits on areas where any small distortion will be
sustain more distortion with no noticeable visual degradation and
enable this feature, the encoder uses fewer bits on areas that can
frame based on spatial variation of content complexity. When you
Keep the default value, Enabled, to adjust quantization within each
@!attribute [rw] spatial_adaptive_quantization
@return [Integer]
results in the softest video.
result in increasing reduction of high-frequency data. The value 128
to 128 to use planar interpolation. Increasing values from 17 to 128
0, to use the AWS Elemental default matrices. Choose a value from 17
quantization matrices that the encoder uses. Keep the default value,
enabling a noise reducer filter. The Softness setting specifies the
output by using a lower value for the setting Sharpness or by
requirement, we recommend that you adjust the softness of your
that requires a specific value. If you don’t have a specification
Ignore this setting unless you need to comply with a specification
@!attribute [rw] softness
@return [String]
Framerate to 25.
duration of your video. Required settings: You must also set
video. Note that enabling this setting will slightly reduce the
25 fps and resamples your audio to keep it synchronized with the
When you enable slow PAL, MediaConvert relabels the video frames to
frames per second (fps). Enable slow PAL to create a 25 fps output.
Ignore this setting unless your input frame rate is 23.976 or 24
@!attribute [rw] slow_pal
@return [String]
enabled by default.
service automatically detects. This improves video quality and is
Enable this setting to insert I-frames at scene changes that the
@!attribute [rw] scene_change_detect
@return [String]
must also set Interlace mode to a value other than Progressive.
You can’t use optimized interlacing for hard telecine outputs. You
use optimized interlacing, you must set Telecine to None or Soft.
automatically falls back to basic interlacing. Required settings: To
isn’t suitable for optimized interlacing, MediaConvert
interlacing and you set your output frame rate to a value that
and then interlaces the frames. When you choose Optimized
interlacing, MediaConvert performs any frame rate conversion first
interlacing, for all other output frame rates. With basic
an interlaced field in the output. Keep the default value, Basic
In this case, each progressive frame from the input corresponds to
Optimized interlacing to create a better quality interlaced output.
is half of your input frame rate. In this situation, choose
Use this setting for interlaced outputs, when your output frame rate
@!attribute [rw] scan_type_conversion_mode
@return [String]
(vbr) or constant (cbr).
Use Rate control mode to specify whether the bitrate is variable
@!attribute [rw] rate_control_mode
@return [String]
faster, lower quality, single-pass encoding.
off encoding speed for output video quality. The default behavior is
Optional. Use Quality tuning level to choose how you want to trade
@!attribute [rw] quality_tuning_level
@return [Integer]
ratio 40:33. In this example, the value for parNumerator is 40.
ratio. For example, for D1/DV NTSC widescreen, you would specify the
different from your input video PAR, provide your output PAR as a
When you specify an output pixel aspect ratio (PAR) that is
console, this corresponds to any value other than Follow source.
Required when you set Pixel aspect ratio to SPECIFIED. On the
@!attribute [rw] par_numerator
@return [Integer]
ratio 40:33. In this example, the value for parDenominator is 33.
ratio. For example, for D1/DV NTSC widescreen, you would specify the
different from your input video PAR, provide your output PAR as a
When you specify an output pixel aspect ratio (PAR) that is
console, this corresponds to any value other than Follow source.
Required when you set Pixel aspect ratio to SPECIFIED. On the
@!attribute [rw] par_denominator
@return [String]
for the parNumerator and parDenominator settings.
you choose SPECIFIED for this setting, you must also specify values
PAR in the console, choose any value other than Follow source. When
PAR from your input video for your output. To specify a different
(PAR) for this output. The default behavior, Follow source, uses the
Optional. Specify how the service determines the pixel aspect ratio
@!attribute [rw] par_control
@return [Integer]
to 2.
0 through 7. When you don’t specify a value, MediaConvert defaults
reference frames in this output. Valid values are whole numbers from
Specify the number of B-frames that MediaConvert puts between
@!attribute [rw] number_b_frames_between_reference_frames
@return [Integer]
GOPs.
surrounding the scene change are smaller than the usual cadence
then the encoder leaves all I-frames in place and the GOPs
are farther from the scene-change I-frame than the value you set,
and one GOP is stretched slightly. When the cadence-driven I-frames
the cadence-driven I-frame. In this way, one GOP is shrunk slightly
within 5 frames of a scene-change I-frame, then the encoder skips
you set Min I interval to 5 and a cadence-driven I-frame would fall
skip a cadence-driven I-frame by the value you set. For example, if
specify a value for this setting, the encoder determines whether to
I-frames that it inserts for Scene change detection. When you
I-frames that it inserts as part of the I-frame cadence and the
This setting determines how the encoder manages the spacing between
Use this setting only when you also enable Scene change detection.
@!attribute [rw] min_i_interval
@return [Integer]
second as 5000000.
Maximum bitrate in bits/second. For example, enter five megabits per
@!attribute [rw] max_bitrate
@return [String]
compression ratio.
automatically select the precision based on the per-frame
DC coefficients. If you choose the value auto, the service will
Use Intra DC precision to set quantization precision for intra-block
@!attribute [rw] intra_dc_precision
@return [String]
field first, depending on which of the Follow options you choose.
progressive, the output will be interlaced with top field bottom
interlaced with the same polarity as the source. If the source is
scan type. If the source is interlaced, the output will be
over the course of the output. Follow behavior depends on the input
that have multiple inputs, the output field polarity might change
produce outputs with the same field polarity as the source. For jobs
throughout. Use Follow, default top or Follow, default bottom to
create an output that’s interlaced with the same field polarity
type of your input. Use Top field first or Bottom field first to
Progressive to create a progressive output, regardless of the scan
Choose the scan line type for the output. Keep the default value,
@!attribute [rw] interlace_mode
@return [Integer]
megabits as 5000000.
Size of buffer (HRD buffer model) in bits. For example, enter five
@!attribute [rw] hrd_buffer_size
@return [Integer]
model).
Percentage of the buffer that should initially be filled (HRD buffer
@!attribute [rw] hrd_buffer_initial_fill_percentage
@return [Integer]
percentage.
to 0 or leave blank to automatically determine the final buffer fill
end of each encoded video segment. For the best video quality: Set
the minimum percentage of the HRD buffer that’s available at the
If your downstream systems have strict buffer requirements: Specify
@!attribute [rw] hrd_buffer_final_fill_percentage
@return [String]
by default the encoder measures GOP size in frames.
Specify the units for GOP size. If you don’t specify a value here,
@!attribute [rw] gop_size_units
@return [Float]
default value for GOP mode control is Frames.
size in seconds, set GOP mode control to Specified, seconds. The
this output. Default: 12 Related settings: When you specify the GOP
Specify the interval between keyframes, in seconds or frames, for
@!attribute [rw] gop_size
@return [Integer]
segmenting.
as possible. Don’t set this value to 0; that would break output
so that players starting mid-stream receive an IDR frame as quickly
streaming output, we recommend that you keep the default value, 1,
require a closed GOP, set this value to 5. When you create a
output. For example, if you want to allow four open GOPs and then
Specify the relative frequency of open to closed GOPs in this
@!attribute [rw] gop_closed_cadence
@return [Integer]
Framerate. In this example, specify 23.976.
use frame rate conversion, provide the value as a decimal number for
FramerateNumerator. When you use the console for transcode jobs that
of this fraction. In this example, use 24000 for the value of
/ 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator
conversion, specify the frame rate as a fraction. For example, 24000
When you use the API for transcode jobs that use frame rate
@!attribute [rw] framerate_numerator
@return [Integer]
a decimal number for Framerate. In this example, specify 23.976.
transcode jobs that use frame rate conversion, provide the value as
value of FramerateDenominator. When you use the console for
denominator of this fraction. In this example, use 1001 for the
/ 1001 = 23.976 fps. Use FramerateDenominator to specify the
conversion, specify the frame rate as a fraction. For example, 24000
When you use the API for transcode jobs that use frame rate
@!attribute [rw] framerate_denominator
@return [String]
least 128x96.
When you choose FrameFormer, your input video resolution must be at
increases the transcoding time and incurs a significant add-on cost.
conversion method frame by frame. Note that using FrameFormer
motion-compensated interpolation. FrameFormer uses the best
converted from its original cadence: Choose FrameFormer to do
conversions, especially if your source video has already been
might introduce undesirable video artifacts. For complex frame rate
stutter: Choose Interpolate. This results in a smooth picture, but
value, Drop duplicate. For numerically complex conversions, to avoid
such as 60 fps to 30 fps: We recommend that you keep the default
or decreasing the frame rate. For numerically simple conversions,
Choose the method that you want MediaConvert to use when increasing
@!attribute [rw] framerate_conversion_algorithm
@return [String]
frame rate as a fraction.
approximations of fractions. If you choose Custom, specify your
choose Custom. The framerates shown in the dropdown list are decimal
frame rate conversion, choose a frame rate from the dropdown list or
rate as the input video, choose Follow source. If you want to do
the frame rate for this output. If you want to keep the same frame
If you are using the console, use the Framerate setting to specify
@!attribute [rw] framerate_control
@return [String]
setting B frames between reference frames.
number of B-frames is limited by the value you provide for the
the video and more B-frames for low-motion portions. The maximum
infer information based on other frames) for high-motion portions of
content. This will cause the service to use fewer B-frames (which
Choose Adaptive to improve subjective video quality for high-motion
@!attribute [rw] dynamic_sub_gop
@return [String]
Use Profile to set the MPEG-2 profile for the video output.
@!attribute [rw] codec_profile
@return [String]
Use Level to set the MPEG-2 level for the video output.
@!attribute [rw] codec_level
@return [Integer]
down to the nearest multiple of 1000.
CBR. For MS Smooth outputs, bitrates must be unique when rounded
Specify the average bitrate in bits per second. Required for VBR and
@!attribute [rw] bitrate
@return [String]
quantization.
settings: Spatial adaptive quantization, and Temporal adaptive
enable. The value that you choose here applies to the following
Specify the strength of any adaptive quantization filters that you
@!attribute [rw] adaptive_quantization
Required when you set Codec to the value MPEG2.