Interface VideoSelector.Builder

  • Method Details

    • colorSpace

      VideoSelector.Builder colorSpace(String colorSpace)
      Controls how MediaLive will use the color space metadata from the source. Typically, choose FOLLOW, which means to use the color space metadata without changing it. Or choose another value (a standard). In this case, the handling is controlled by the colorspaceUsage property.
      Parameters:
      colorSpace - Controls how MediaLive will use the color space metadata from the source. Typically, choose FOLLOW, which means to use the color space metadata without changing it. Or choose another value (a standard). In this case, the handling is controlled by the colorspaceUsage property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpace

      Controls how MediaLive will use the color space metadata from the source. Typically, choose FOLLOW, which means to use the color space metadata without changing it. Or choose another value (a standard). In this case, the handling is controlled by the colorspaceUsage property.
      Parameters:
      colorSpace - Controls how MediaLive will use the color space metadata from the source. Typically, choose FOLLOW, which means to use the color space metadata without changing it. Or choose another value (a standard). In this case, the handling is controlled by the colorspaceUsage property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpaceSettings

      VideoSelector.Builder colorSpaceSettings(VideoSelectorColorSpaceSettings colorSpaceSettings)
      Choose HDR10 only if the following situation applies. Firstly, you specified HDR10 in ColorSpace. Secondly, the attached input is for AWS Elemental Link. Thirdly, you plan to convert the content to another color space. You need to specify the color space metadata that is missing from the source sent from AWS Elemental Link.
      Parameters:
      colorSpaceSettings - Choose HDR10 only if the following situation applies. Firstly, you specified HDR10 in ColorSpace. Secondly, the attached input is for AWS Elemental Link. Thirdly, you plan to convert the content to another color space. You need to specify the color space metadata that is missing from the source sent from AWS Elemental Link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • colorSpaceSettings

      default VideoSelector.Builder colorSpaceSettings(Consumer<VideoSelectorColorSpaceSettings.Builder> colorSpaceSettings)
      Choose HDR10 only if the following situation applies. Firstly, you specified HDR10 in ColorSpace. Secondly, the attached input is for AWS Elemental Link. Thirdly, you plan to convert the content to another color space. You need to specify the color space metadata that is missing from the source sent from AWS Elemental Link. This is a convenience method that creates an instance of the VideoSelectorColorSpaceSettings.Builder avoiding the need to create one manually via VideoSelectorColorSpaceSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to colorSpaceSettings(VideoSelectorColorSpaceSettings).

      Parameters:
      colorSpaceSettings - a consumer that will call methods on VideoSelectorColorSpaceSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpaceUsage

      VideoSelector.Builder colorSpaceUsage(String colorSpaceUsage)
      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.
      Parameters:
      colorSpaceUsage - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • colorSpaceUsage

      VideoSelector.Builder colorSpaceUsage(VideoSelectorColorSpaceUsage colorSpaceUsage)
      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.
      Parameters:
      colorSpaceUsage - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectorSettings

      VideoSelector.Builder selectorSettings(VideoSelectorSettings selectorSettings)
      The video selector settings.
      Parameters:
      selectorSettings - The video selector settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • selectorSettings

      default VideoSelector.Builder selectorSettings(Consumer<VideoSelectorSettings.Builder> selectorSettings)
      The video selector settings. This is a convenience method that creates an instance of the VideoSelectorSettings.Builder avoiding the need to create one manually via VideoSelectorSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to selectorSettings(VideoSelectorSettings).

      Parameters:
      selectorSettings - a consumer that will call methods on VideoSelectorSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: