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

Class: Aws::MediaConvert::Types::CaptionSourceSettings

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

{
  ancillary_source_settings: {
    convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
    source_ancillary_channel_number: 1,
    terminate_captions: "END_OF_INPUT", # accepts END_OF_INPUT, DISABLED
  },
  dvb_sub_source_settings: {
    pid: 1,
  },
  embedded_source_settings: {
    convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
    source_608_channel_number: 1,
    source_608_track_number: 1,
    terminate_captions: "END_OF_INPUT", # accepts END_OF_INPUT, DISABLED
  },
  file_source_settings: {
    convert_608_to_708: "UPCONVERT", # accepts UPCONVERT, DISABLED
    source_file: "__stringMin14PatternHttpHttpsS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMI",
    time_delta: 1,
  },
  source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, TELETEXT, NULL_SOURCE, IMSC
  teletext_source_settings: {
    page_number: "__stringMin3Max3Pattern1809aFAF09aEAE",
  },
  track_source_settings: {
    track_number: 1,
  },
}

If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.

Instance Attribute Summary collapse

Instance Attribute Details

#ancillary_source_settingsTypes::AncillarySourceSettings

Settings for ancillary captions source.



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end

#dvb_sub_source_settingsTypes::DvbSubSourceSettings

DVB Sub Source Settings



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end

#embedded_source_settingsTypes::EmbeddedSourceSettings

Settings for embedded captions Source



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end

#file_source_settingsTypes::FileSourceSettings

If your input captions are SCC, SMI, SRT, STL, TTML, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end

#source_typeString

Use Source (SourceType) to identify the format of your input captions. The service cannot auto-detect caption format.

Returns:

  • (String)


1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end

#teletext_source_settingsTypes::TeletextSourceSettings

Settings specific to Teletext caption sources, including Page number.



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end

#track_source_settingsTypes::TrackSourceSettings

Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.



1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 1631

class CaptionSourceSettings < Struct.new(
  :ancillary_source_settings,
  :dvb_sub_source_settings,
  :embedded_source_settings,
  :file_source_settings,
  :source_type,
  :teletext_source_settings,
  :track_source_settings)
  include Aws::Structure
end