Class: Aws::MediaConvert::Types::ColorCorrector

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 ColorCorrector data as a hash:

{
  brightness: 1,
  color_space_conversion: "NONE", # accepts NONE, FORCE_601, FORCE_709, FORCE_HDR10, FORCE_HLG_2020
  contrast: 1,
  hdr_10_metadata: {
    blue_primary_x: 1,
    blue_primary_y: 1,
    green_primary_x: 1,
    green_primary_y: 1,
    max_content_light_level: 1,
    max_frame_average_light_level: 1,
    max_luminance: 1,
    min_luminance: 1,
    red_primary_x: 1,
    red_primary_y: 1,
    white_point_x: 1,
    white_point_y: 1,
  },
  hue: 1,
  sample_range_conversion: "LIMITED_RANGE_SQUEEZE", # accepts LIMITED_RANGE_SQUEEZE, NONE
  saturation: 1,
}

Settings for color correction.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#brightnessInteger

Brightness level.

Returns:

  • (Integer)


3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end

#color_space_conversionString

Specify the color space you want for this output. The service supports conversion between HDR formats, between SDR formats, from SDR to HDR, and from HDR to SDR. SDR to HDR conversion doesn't upgrade the dynamic range. The converted video has an HDR format, but visually appears the same as an unconverted output. HDR to SDR conversion uses Elemental tone mapping technology to approximate the outcome of manually regrading from HDR to SDR.

Returns:

  • (String)


3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end

#contrastInteger

Contrast level.

Returns:

  • (Integer)


3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end

#hdr_10_metadataTypes::Hdr10Metadata

Use these settings when you convert to the HDR 10 color space. Specify the SMPTE ST 2086 Mastering Display Color Volume static metadata that you want signaled in the output. These values don't affect the pixel values that are encoded in the video stream. They are intended to help the downstream video player display content in a way that reflects the intentions of the the content creator. When you set Color space conversion (ColorSpaceConversion) to HDR 10 (FORCE_HDR10), these settings are required. You must set values for Max frame average light level (maxFrameAverageLightLevel) and Max content light level (maxContentLightLevel); these settings don't have a default value. The default values for the other HDR 10 metadata settings are defined by the P3D65 color space. For more information about MediaConvert HDR jobs, see https://docs.aws.amazon.com/console/mediaconvert/hdr.



3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end

#hueInteger

Hue in degrees.

Returns:

  • (Integer)


3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end

#sample_range_conversionString

Specify the video color sample range for this output. To create a full range output, you must start with a full range YUV input and keep the default value, None (NONE). To create a limited range output from a full range input, choose Limited range (LIMITED_RANGE_SQUEEZE). With RGB inputs, your output is always limited range, regardless of your choice here. When you create a limited range output from a full range input, MediaConvert limits the active pixel values in a way that depends on the output's bit depth: 8-bit outputs contain only values from 16 through 235 and 10-bit outputs contain only values from 64 through 940. With this conversion, MediaConvert also changes the output metadata to note the limited range.

Returns:

  • (String)


3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end

#saturationInteger

Saturation level.

Returns:

  • (Integer)


3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 3624

class ColorCorrector < Struct.new(
  :brightness,
  :color_space_conversion,
  :contrast,
  :hdr_10_metadata,
  :hue,
  :sample_range_conversion,
  :saturation)
  SENSITIVE = []
  include Aws::Structure
end