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

Class: Aws::MediaLive::Types::VideoSelector

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing VideoSelector as input to an Aws::Client method, you can use a vanilla Hash:

{
  color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709
  color_space_usage: "FALLBACK", # accepts FALLBACK, FORCE
  selector_settings: {
    video_selector_pid: {
      pid: 1,
    },
    video_selector_program_id: {
      program_id: 1,
    },
  },
}

Specifies a particular video stream within an input source. An input may have only a single video selector.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#color_spaceString

Specifies the color space of an input. This setting works in tandem with colorSpaceUsage and a video description\'s colorSpaceSettingsChoice to determine if any conversion will be performed.

Possible values:

  • FOLLOW
  • REC_601
  • REC_709

Returns:

  • (String)

    Specifies the color space of an input.

#color_space_usageString

Applies only if colorSpace is a value other than follow. This field controls how the value in the colorSpace field will be used. fallback means that when the input does include color space data, that data will be used, but when the input has no color space data, the value in colorSpace will be used. Choose fallback if your input is sometimes missing color space data, but when it does have color space data, that data is correct. force means to always use the value in colorSpace. Choose force if your input usually has no color space data or might have unreliable color space data.

Possible values:

  • FALLBACK
  • FORCE

Returns:

  • (String)

    Applies only if colorSpace is a value other than follow.

#selector_settingsTypes::VideoSelectorSettings

The video selector settings.

Returns: