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

Class: Aws::MediaConvert::Types::VideoSelector

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

{
  color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709, HDR10, HLG_2020
  color_space_usage: "FORCE", # accepts FORCE, FALLBACK
  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,
  },
  pid: 1,
  program_number: 1,
}

Selector for video.

Instance Attribute Summary collapse

Instance Attribute Details

#color_spaceString

Specifies the colorspace of an input. This setting works in tandem with "Color Corrector":#color_corrector > color_space_conversion to determine if any conversion will be performed.

Returns:

  • (String)


13723
13724
13725
13726
13727
13728
13729
13730
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13723

class VideoSelector < Struct.new(
  :color_space,
  :color_space_usage,
  :hdr_10_metadata,
  :pid,
  :program_number)
  include Aws::Structure
end

#color_space_usageString

There are two sources for color metadata, the input file and the job configuration. This enum controls which takes precedence. FORCE: System will use color metadata supplied by user, if any. If the user does not supply color metadata the system will use data from the source. FALLBACK: System will use color metadata from the source. If source has no color metadata, the system will use user-supplied color metadata values if available.

Returns:

  • (String)


13723
13724
13725
13726
13727
13728
13729
13730
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13723

class VideoSelector < Struct.new(
  :color_space,
  :color_space_usage,
  :hdr_10_metadata,
  :pid,
  :program_number)
  include Aws::Structure
end

#hdr_10_metadataTypes::Hdr10Metadata

Use the HDR master display (Hdr10Metadata) settings to provide values for HDR color. 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.



13723
13724
13725
13726
13727
13728
13729
13730
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13723

class VideoSelector < Struct.new(
  :color_space,
  :color_space_usage,
  :hdr_10_metadata,
  :pid,
  :program_number)
  include Aws::Structure
end

#pidInteger

Use PID (Pid) to select specific video data from an input file. Specify this value as an integer; the system automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet identifier, is an identifier for a set of data in an MPEG-2 transport stream container.

Returns:

  • (Integer)


13723
13724
13725
13726
13727
13728
13729
13730
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13723

class VideoSelector < Struct.new(
  :color_space,
  :color_space_usage,
  :hdr_10_metadata,
  :pid,
  :program_number)
  include Aws::Structure
end

#program_numberInteger

Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported.

Returns:

  • (Integer)


13723
13724
13725
13726
13727
13728
13729
13730
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 13723

class VideoSelector < Struct.new(
  :color_space,
  :color_space_usage,
  :hdr_10_metadata,
  :pid,
  :program_number)
  include Aws::Structure
end