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

Class: Aws::MediaConvert::Types::CaptionDestinationSettings

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

{
  burnin_destination_settings: {
    alignment: "CENTERED", # accepts CENTERED, LEFT
    background_color: "NONE", # accepts NONE, BLACK, WHITE
    background_opacity: 1,
    font_color: "WHITE", # accepts WHITE, BLACK, YELLOW, RED, GREEN, BLUE
    font_opacity: 1,
    font_resolution: 1,
    font_size: 1,
    outline_color: "BLACK", # accepts BLACK, WHITE, YELLOW, RED, GREEN, BLUE
    outline_size: 1,
    shadow_color: "NONE", # accepts NONE, BLACK, WHITE
    shadow_opacity: 1,
    shadow_x_offset: 1,
    shadow_y_offset: 1,
    teletext_spacing: "FIXED_GRID", # accepts FIXED_GRID, PROPORTIONAL
    x_position: 1,
    y_position: 1,
  },
  destination_type: "BURN_IN", # accepts BURN_IN, DVB_SUB, EMBEDDED, SCC, SRT, TELETEXT, TTML, WEBVTT
  dvb_sub_destination_settings: {
    alignment: "CENTERED", # accepts CENTERED, LEFT
    background_color: "NONE", # accepts NONE, BLACK, WHITE
    background_opacity: 1,
    font_color: "WHITE", # accepts WHITE, BLACK, YELLOW, RED, GREEN, BLUE
    font_opacity: 1,
    font_resolution: 1,
    font_size: 1,
    outline_color: "BLACK", # accepts BLACK, WHITE, YELLOW, RED, GREEN, BLUE
    outline_size: 1,
    shadow_color: "NONE", # accepts NONE, BLACK, WHITE
    shadow_opacity: 1,
    shadow_x_offset: 1,
    shadow_y_offset: 1,
    teletext_spacing: "FIXED_GRID", # accepts FIXED_GRID, PROPORTIONAL
    x_position: 1,
    y_position: 1,
  },
  scc_destination_settings: {
    framerate: "FRAMERATE_23_97", # accepts FRAMERATE_23_97, FRAMERATE_24, FRAMERATE_29_97_DROPFRAME, FRAMERATE_29_97_NON_DROPFRAME
  },
  teletext_destination_settings: {
    page_number: "__string",
  },
  ttml_destination_settings: {
    style_passthrough: "ENABLED", # accepts ENABLED, DISABLED
  },
}

Specific settings required by destination type. Note that burnin_destination_settings are not available if the source of the caption data is Embedded or Teletext.

Instance Attribute Summary collapse

Instance Attribute Details

#burnin_destination_settingsTypes::BurninDestinationSettings

Burn-In Destination Settings.



1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1173

class CaptionDestinationSettings < Struct.new(
  :burnin_destination_settings,
  :destination_type,
  :dvb_sub_destination_settings,
  :scc_destination_settings,
  :teletext_destination_settings,
  :ttml_destination_settings)
  include Aws::Structure
end

#destination_typeString

Type of Caption output, including Burn-In, Embedded, SCC, SRT, TTML, WebVTT, DVB-Sub, Teletext.

Returns:

  • (String)


1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1173

class CaptionDestinationSettings < Struct.new(
  :burnin_destination_settings,
  :destination_type,
  :dvb_sub_destination_settings,
  :scc_destination_settings,
  :teletext_destination_settings,
  :ttml_destination_settings)
  include Aws::Structure
end

#dvb_sub_destination_settingsTypes::DvbSubDestinationSettings

DVB-Sub Destination Settings



1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1173

class CaptionDestinationSettings < Struct.new(
  :burnin_destination_settings,
  :destination_type,
  :dvb_sub_destination_settings,
  :scc_destination_settings,
  :teletext_destination_settings,
  :ttml_destination_settings)
  include Aws::Structure
end

#scc_destination_settingsTypes::SccDestinationSettings

Settings for SCC caption output.



1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1173

class CaptionDestinationSettings < Struct.new(
  :burnin_destination_settings,
  :destination_type,
  :dvb_sub_destination_settings,
  :scc_destination_settings,
  :teletext_destination_settings,
  :ttml_destination_settings)
  include Aws::Structure
end

#teletext_destination_settingsTypes::TeletextDestinationSettings

Settings for Teletext caption output



1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1173

class CaptionDestinationSettings < Struct.new(
  :burnin_destination_settings,
  :destination_type,
  :dvb_sub_destination_settings,
  :scc_destination_settings,
  :teletext_destination_settings,
  :ttml_destination_settings)
  include Aws::Structure
end

#ttml_destination_settingsTypes::TtmlDestinationSettings

Settings specific to TTML caption outputs, including Pass style information (TtmlStylePassthrough).



1173
1174
1175
1176
1177
1178
1179
1180
1181
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1173

class CaptionDestinationSettings < Struct.new(
  :burnin_destination_settings,
  :destination_type,
  :dvb_sub_destination_settings,
  :scc_destination_settings,
  :teletext_destination_settings,
  :ttml_destination_settings)
  include Aws::Structure
end