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

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, # required
    max_frame_average_light_level: 1, # required
    max_luminance: 1,
    min_luminance: 1,
    red_primary_x: 1,
    red_primary_y: 1,
    white_point_x: 1,
    white_point_y: 1,
  },
  hue: 1,
  saturation: 1,
}

Settings for color correction.

Instance Attribute Summary collapse

Instance Attribute Details

#brightnessInteger

Brightness level.

Returns:

  • (Integer)


1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1665

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

#color_space_conversionString

Determines if colorspace conversion will be performed. If set to _None_, no conversion will be performed. If _Force 601_ or _Force 709_ are selected, conversion will be performed for inputs with differing colorspaces. An input's colorspace can be specified explicitly in the "Video Selector":#inputs-video_selector if necessary.

Returns:

  • (String)


1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1665

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

#contrastInteger

Contrast level.

Returns:

  • (Integer)


1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1665

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

#hdr_10_metadataTypes::Hdr10Metadata

Use the HDR master display (Hdr10Metadata) settings to correct HDR metadata or to provide missing metadata. These values vary depending on the input video and must be provided by a color grader. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that these settings are not color correction. Note that if you are creating HDR outputs inside of an HLS CMAF package, to comply with the Apple specification, you must use the HVC1 for H.265 setting.



1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1665

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

#hueInteger

Hue in degrees.

Returns:

  • (Integer)


1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1665

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

#saturationInteger

Saturation level.

Returns:

  • (Integer)


1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1665

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