You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MediaConvert::Types::Mpeg2Settings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

Note:

When making an API call, you may pass Mpeg2Settings data as a hash:

{
  adaptive_quantization: "OFF", # accepts OFF, LOW, MEDIUM, HIGH
  bitrate: 1,
  codec_level: "AUTO", # accepts AUTO, LOW, MAIN, HIGH1440, HIGH
  codec_profile: "MAIN", # accepts MAIN, PROFILE_422
  framerate_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
  framerate_conversion_algorithm: "DUPLICATE_DROP", # accepts DUPLICATE_DROP, INTERPOLATE
  framerate_denominator: 1,
  framerate_numerator: 1,
  gop_closed_cadence: 1,
  gop_size: 1.0,
  gop_size_units: "FRAMES", # accepts FRAMES, SECONDS
  hrd_buffer_initial_fill_percentage: 1,
  hrd_buffer_size: 1,
  interlace_mode: "PROGRESSIVE", # accepts PROGRESSIVE, TOP_FIELD, BOTTOM_FIELD, FOLLOW_TOP_FIELD, FOLLOW_BOTTOM_FIELD
  intra_dc_precision: "AUTO", # accepts AUTO, INTRA_DC_PRECISION_8, INTRA_DC_PRECISION_9, INTRA_DC_PRECISION_10, INTRA_DC_PRECISION_11
  max_bitrate: 1,
  min_i_interval: 1,
  number_b_frames_between_reference_frames: 1,
  par_control: "INITIALIZE_FROM_SOURCE", # accepts INITIALIZE_FROM_SOURCE, SPECIFIED
  par_denominator: 1,
  par_numerator: 1,
  quality_tuning_level: "SINGLE_PASS", # accepts SINGLE_PASS, MULTI_PASS
  rate_control_mode: "VBR", # accepts VBR, CBR
  scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED
  slow_pal: "DISABLED", # accepts DISABLED, ENABLED
  softness: 1,
  spatial_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
  syntax: "DEFAULT", # accepts DEFAULT, D_10
  telecine: "NONE", # accepts NONE, SOFT, HARD
  temporal_adaptive_quantization: "DISABLED", # accepts DISABLED, ENABLED
}

Required when you set (Codec) under (VideoDescription)>(CodecSettings) to the value MPEG2.

Instance Attribute Summary collapse

Instance Attribute Details

#adaptive_quantizationString

Adaptive quantization. Allows intra-frame quantizers to vary to improve visual quality.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#bitrateInteger

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.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#codec_levelString

Use Level (Mpeg2CodecLevel) to set the MPEG-2 level for the video output.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#codec_profileString

Use Profile (Mpeg2CodecProfile) to set the MPEG-2 profile for the video output.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#framerate_controlString

If you are using the console, use the Framerate setting to specify the framerate for this output. If you want to keep the same framerate as the input video, choose Follow source. If you want to do framerate conversion, choose a framerate 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 framerate 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 framerate for this output. Choose INITIALIZE_FROM_SOURCE if you want the service to use the framerate from the input. Choose SPECIFIED if you want the service to use the framerate you specify in the settings FramerateNumerator and FramerateDenominator.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#framerate_conversion_algorithmString

When set to INTERPOLATE, produces smoother motion during framerate conversion.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#framerate_denominatorInteger

Framerate denominator.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#framerate_numeratorInteger

Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#gop_closed_cadenceInteger

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.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#gop_sizeFloat

GOP Length (keyframe interval) in frames or seconds. Must be greater than zero.

Returns:

  • (Float)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#gop_size_unitsString

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.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#hrd_buffer_initial_fill_percentageInteger

Percentage of the buffer that should initially be filled (HRD buffer model).

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#hrd_buffer_sizeInteger

Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#interlace_modeString

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.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#intra_dc_precisionString

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.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#max_bitrateInteger

Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#min_i_intervalInteger

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 - 1

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#number_b_frames_between_reference_framesInteger

Number of B-frames between reference frames.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#par_controlString

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.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#par_denominatorInteger

Pixel Aspect Ratio denominator.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#par_numeratorInteger

Pixel Aspect Ratio numerator.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#quality_tuning_levelString

Use Quality tuning level (Mpeg2QualityTuningLevel) to specifiy whether to use single-pass or multipass video encoding.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#rate_control_modeString

Use Rate control mode (Mpeg2RateControlMode) to specifiy whether the bitrate is variable (vbr) or constant (cbr).

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#scene_change_detectString

Scene change detection (inserts I-frames on scene changes).

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#slow_palString

Enables Slow PAL rate conversion. 23.976fps and 24fps input is relabeled as 25fps, and audio is sped up correspondingly.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#softnessInteger

Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image.

Returns:

  • (Integer)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#spatial_adaptive_quantizationString

Adjust quantization within each frame based on spatial variation of content complexity.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#syntaxString

Produces a Type D-10 compatible bitstream (SMPTE 356M-2001).

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#telecineString

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.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end

#temporal_adaptive_quantizationString

Adjust quantization within each frame based on temporal variation of content complexity.

Returns:

  • (String)


9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 9546

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :bitrate,
  :codec_level,
  :codec_profile,
  :framerate_control,
  :framerate_conversion_algorithm,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_size,
  :gop_size_units,
  :hrd_buffer_initial_fill_percentage,
  :hrd_buffer_size,
  :interlace_mode,
  :intra_dc_precision,
  :max_bitrate,
  :min_i_interval,
  :number_b_frames_between_reference_frames,
  :par_control,
  :par_denominator,
  :par_numerator,
  :quality_tuning_level,
  :rate_control_mode,
  :scene_change_detect,
  :slow_pal,
  :softness,
  :spatial_adaptive_quantization,
  :syntax,
  :telecine,
  :temporal_adaptive_quantization)
  include Aws::Structure
end