Class: Aws::MediaLive::Types::Mpeg2Settings

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-medialive/types.rb

Overview

Note:

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

{
  adaptive_quantization: "AUTO", # accepts AUTO, HIGH, LOW, MEDIUM, OFF
  afd_signaling: "AUTO", # accepts AUTO, FIXED, NONE
  color_metadata: "IGNORE", # accepts IGNORE, INSERT
  color_space: "AUTO", # accepts AUTO, PASSTHROUGH
  display_aspect_ratio: "DISPLAYRATIO16X9", # accepts DISPLAYRATIO16X9, DISPLAYRATIO4X3
  filter_settings: {
    temporal_filter_settings: {
      post_filter_sharpening: "AUTO", # accepts AUTO, DISABLED, ENABLED
      strength: "AUTO", # accepts AUTO, STRENGTH_1, STRENGTH_2, STRENGTH_3, STRENGTH_4, STRENGTH_5, STRENGTH_6, STRENGTH_7, STRENGTH_8, STRENGTH_9, STRENGTH_10, STRENGTH_11, STRENGTH_12, STRENGTH_13, STRENGTH_14, STRENGTH_15, STRENGTH_16
    },
  },
  fixed_afd: "AFD_0000", # accepts AFD_0000, AFD_0010, AFD_0011, AFD_0100, AFD_1000, AFD_1001, AFD_1010, AFD_1011, AFD_1101, AFD_1110, AFD_1111
  framerate_denominator: 1, # required
  framerate_numerator: 1, # required
  gop_closed_cadence: 1,
  gop_num_b_frames: 1,
  gop_size: 1.0,
  gop_size_units: "FRAMES", # accepts FRAMES, SECONDS
  scan_type: "INTERLACED", # accepts INTERLACED, PROGRESSIVE
  subgop_length: "DYNAMIC", # accepts DYNAMIC, FIXED
  timecode_insertion: "DISABLED", # accepts DISABLED, GOP_TIMECODE
}

Mpeg2 Settings

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#adaptive_quantizationString

Choose Off to disable adaptive quantization. Or choose another value to enable the quantizer and set its strength. The strengths are: Auto, Off, Low, Medium, High. When you enable this field, MediaLive allows intra-frame quantizers to vary, which might improve visual quality.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#afd_signalingString

Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO. AUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid). FIXED: MediaLive will use the value you specify in fixedAFD.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#color_metadataString

Specifies whether to include the color space metadata. The metadata describes the color space that applies to the video (the colorSpace field). We recommend that you insert the metadata.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#color_spaceString

Choose the type of color space conversion to apply to the output. For detailed information on setting up both the input and the output to obtain the desired color space in the output, see the section on \“MediaLive Features - Video - color space\” in the MediaLive User Guide. PASSTHROUGH: Keep the color space of the input content - do not convert it. AUTO:Convert all content that is SD to rec 601, and convert all content that is HD to rec 709.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#display_aspect_ratioString

Sets the pixel aspect ratio for the encode.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#filter_settingsTypes::Mpeg2FilterSettings

Optionally specify a noise reduction filter, which can improve quality of compressed content. If you do not choose a filter, no filter will be applied. TEMPORAL: This filter is useful for both source content that is noisy (when it has excessive digital artifacts) and source content that is clean. When the content is noisy, the filter cleans up the source content before the encoding phase, with these two effects: First, it improves the output video quality because the content has been cleaned up. Secondly, it decreases the bandwidth because MediaLive does not waste bits on encoding noise. When the content is reasonably clean, the filter tends to decrease the bitrate.



12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#fixed_afdString

Complete this field only when afdSignaling is set to FIXED. Enter the AFD value (4 bits) to write on all frames of the video encode.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#framerate_denominatorInteger

description“: ”The framerate denominator. For example, 1001. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.

Returns:

  • (Integer)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#framerate_numeratorInteger

The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.

Returns:

  • (Integer)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#gop_closed_cadenceInteger

MPEG2: default is open GOP.

Returns:

  • (Integer)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#gop_num_b_framesInteger

Relates to the GOP structure. The number of B-frames between reference frames. If you do not know what a B-frame is, use the default.

Returns:

  • (Integer)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#gop_sizeFloat

Relates to the GOP structure. The GOP size (keyframe interval) in the units specified in gopSizeUnits. If you do not know what GOP is, use the default. If gopSizeUnits is frames, then the gopSize must be an integer and must be greater than or equal to 1. If gopSizeUnits is seconds, the gopSize must be greater than 0, but does not need to be an integer.

Returns:

  • (Float)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#gop_size_unitsString

Relates to the GOP structure. Specifies whether the gopSize is specified in frames or seconds. If you do not plan to change the default gopSize, leave the default. If you specify SECONDS, MediaLive will internally convert the gop size to a frame count.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#scan_typeString

Set the scan type of the output to PROGRESSIVE or INTERLACED (top field first).

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#subgop_lengthString

Relates to the GOP structure. If you do not know what GOP is, use the default. FIXED: Set the number of B-frames in each sub-GOP to the value in gopNumBFrames. DYNAMIC: Let MediaLive optimize the number of B-frames in each sub-GOP, to improve visual quality.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end

#timecode_insertionString

Determines how MediaLive inserts timecodes in the output video. For detailed information about setting up the input and the output for a timecode, see the section on \“MediaLive Features - Timecode configuration\” in the MediaLive User Guide. DISABLED: do not include timecodes. GOP_TIMECODE: Include timecode metadata in the GOP header.

Returns:

  • (String)


12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
# File 'lib/aws-sdk-medialive/types.rb', line 12765

class Mpeg2Settings < Struct.new(
  :adaptive_quantization,
  :afd_signaling,
  :color_metadata,
  :color_space,
  :display_aspect_ratio,
  :filter_settings,
  :fixed_afd,
  :framerate_denominator,
  :framerate_numerator,
  :gop_closed_cadence,
  :gop_num_b_frames,
  :gop_size,
  :gop_size_units,
  :scan_type,
  :subgop_length,
  :timecode_insertion)
  SENSITIVE = []
  include Aws::Structure
end