aws-sdk-mediaconvert 1.77.0 → 1.78.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff043929ff37030daafb824c3cd0974e08608a8549768ea54c692bb3d305e9ed
4
- data.tar.gz: 21c23f216be02eeb620f0cd2cdafa84b5861aed5653c5d1bd2fec57e07386039
3
+ metadata.gz: 8b62a07e18cdece36751904e1ca51b230f4991bb5184f64e9c499c188baa238c
4
+ data.tar.gz: 5541892511a171a8adcaf04a78c28e171594c3b0c96440846269b7e4016da9b8
5
5
  SHA512:
6
- metadata.gz: f88b563eddcd21e94edfb4ef5cf241ba97eb7d19ecf2141165bb4edb629a8004aca34f8a56c2b57f4ba9455109ab9961d64ed31f1d9654b62caa2d6b926d2ac1
7
- data.tar.gz: fa98d46cb093a03b3ee94bc2e6f1981967cab44b752ae33a7b71080da0c64d7431c2f1b3bd97bd1cf7b633733d480a546cde497b36dc5325a2e2052b033fe045
6
+ metadata.gz: 4ec0297a8f983208304c782442b5c0f2794f0b907d9326bbc2eee66388e1df9d4fa6da1e882a58966441ba895d8a5e59c19495c5422f632fd52c622d32bd63cb
7
+ data.tar.gz: '094232e552dd300789826674aaebc0f18b7f038d0ebcf4226dbdd7279dc044a94e3196ecc2bef191eddcea77c7e6ff98adbfb5543294ad6f0a8b70c09fbf9e73'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.78.0 (2021-10-20)
5
+ ------------------
6
+
7
+ * Feature - AWS Elemental MediaConvert SDK has added support for specifying caption time delta in milliseconds and the ability to apply color range legalization to source content other than AVC video.
8
+
4
9
  1.77.0 (2021-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.78.0
@@ -559,6 +559,7 @@ module Aws::MediaConvert
559
559
  # },
560
560
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
561
561
  # time_delta: 1,
562
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
562
563
  # },
563
564
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
564
565
  # teletext_source_settings: {
@@ -1805,6 +1806,7 @@ module Aws::MediaConvert
1805
1806
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
1806
1807
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
1807
1808
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
1809
+ # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
1808
1810
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
1809
1811
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
1810
1812
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -2824,6 +2826,7 @@ module Aws::MediaConvert
2824
2826
  # },
2825
2827
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
2826
2828
  # time_delta: 1,
2829
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
2827
2830
  # },
2828
2831
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
2829
2832
  # teletext_source_settings: {
@@ -4039,6 +4042,7 @@ module Aws::MediaConvert
4039
4042
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
4040
4043
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
4041
4044
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
4045
+ # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
4042
4046
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
4043
4047
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
4044
4048
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -6548,6 +6552,7 @@ module Aws::MediaConvert
6548
6552
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
6549
6553
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
6550
6554
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
6555
+ # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
6551
6556
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
6552
6557
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
6553
6558
  # resp.job.settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -7490,6 +7495,7 @@ module Aws::MediaConvert
7490
7495
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
7491
7496
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
7492
7497
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
7498
+ # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
7493
7499
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
7494
7500
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
7495
7501
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -9103,6 +9109,7 @@ module Aws::MediaConvert
9103
9109
  # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
9104
9110
  # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
9105
9111
  # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
9112
+ # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
9106
9113
  # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
9107
9114
  # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
9108
9115
  # resp.job_templates[0].settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -10081,6 +10088,7 @@ module Aws::MediaConvert
10081
10088
  # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
10082
10089
  # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
10083
10090
  # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
10091
+ # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
10084
10092
  # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
10085
10093
  # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
10086
10094
  # resp.jobs[0].settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -11910,6 +11918,7 @@ module Aws::MediaConvert
11910
11918
  # },
11911
11919
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
11912
11920
  # time_delta: 1,
11921
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
11913
11922
  # },
11914
11923
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
11915
11924
  # teletext_source_settings: {
@@ -13122,6 +13131,7 @@ module Aws::MediaConvert
13122
13131
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.framerate.framerate_numerator #=> Integer
13123
13132
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.source_file #=> String
13124
13133
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta #=> Integer
13134
+ # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.file_source_settings.time_delta_units #=> String, one of "SECONDS", "MILLISECONDS"
13125
13135
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.source_type #=> String, one of "ANCILLARY", "DVB_SUB", "EMBEDDED", "SCTE20", "SCC", "TTML", "STL", "SRT", "SMI", "SMPTE_TT", "TELETEXT", "NULL_SOURCE", "IMSC", "WEBVTT"
13126
13136
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.teletext_source_settings.page_number #=> String
13127
13137
  # resp.job_template.settings.inputs[0].caption_selectors["__string"].source_settings.track_source_settings.track_number #=> Integer
@@ -15373,7 +15383,7 @@ module Aws::MediaConvert
15373
15383
  params: params,
15374
15384
  config: config)
15375
15385
  context[:gem_name] = 'aws-sdk-mediaconvert'
15376
- context[:gem_version] = '1.77.0'
15386
+ context[:gem_version] = '1.78.0'
15377
15387
  Seahorse::Client::Request.new(handlers, context)
15378
15388
  end
15379
15389
 
@@ -242,6 +242,7 @@ module Aws::MediaConvert
242
242
  FileGroupSettings = Shapes::StructureShape.new(name: 'FileGroupSettings')
243
243
  FileSourceConvert608To708 = Shapes::StringShape.new(name: 'FileSourceConvert608To708')
244
244
  FileSourceSettings = Shapes::StructureShape.new(name: 'FileSourceSettings')
245
+ FileSourceTimeDeltaUnits = Shapes::StringShape.new(name: 'FileSourceTimeDeltaUnits')
245
246
  FontScript = Shapes::StringShape.new(name: 'FontScript')
246
247
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
247
248
  FrameCaptureSettings = Shapes::StructureShape.new(name: 'FrameCaptureSettings')
@@ -1371,6 +1372,7 @@ module Aws::MediaConvert
1371
1372
  FileSourceSettings.add_member(:framerate, Shapes::ShapeRef.new(shape: CaptionSourceFramerate, location_name: "framerate"))
1372
1373
  FileSourceSettings.add_member(:source_file, Shapes::ShapeRef.new(shape: __stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT, location_name: "sourceFile"))
1373
1374
  FileSourceSettings.add_member(:time_delta, Shapes::ShapeRef.new(shape: __integerMinNegative2147483648Max2147483647, location_name: "timeDelta"))
1375
+ FileSourceSettings.add_member(:time_delta_units, Shapes::ShapeRef.new(shape: FileSourceTimeDeltaUnits, location_name: "timeDeltaUnits"))
1374
1376
  FileSourceSettings.struct_class = Types::FileSourceSettings
1375
1377
 
1376
1378
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
@@ -1588,8 +1588,10 @@ module Aws::MediaConvert
1588
1588
  include Aws::Structure
1589
1589
  end
1590
1590
 
1591
- # Settings related to burn-in captions. Set up burn-in captions in the
1592
- # same output as your video. For more information, see
1591
+ # Burn-in is a captions delivery method, rather than a captions format.
1592
+ # Burn-in writes the captions directly on your video frames, replacing
1593
+ # pixels of video content with the captions. Set up burn-in captions in
1594
+ # the same output as your video. For more information, see
1593
1595
  # https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html.
1594
1596
  # When you work directly in your JSON job specification, include this
1595
1597
  # object and any required children when you set destinationType to
@@ -1623,174 +1625,175 @@ module Aws::MediaConvert
1623
1625
  # }
1624
1626
  #
1625
1627
  # @!attribute [rw] alignment
1626
- # If no explicit x\_position or y\_position is provided, setting
1627
- # alignment to centered will place the captions at the bottom center
1628
- # of the output. Similarly, setting a left alignment will align
1629
- # captions to the bottom left of the output. If x and y positions are
1630
- # given in conjunction with the alignment parameter, the font will be
1631
- # justified (either left or centered) relative to those coordinates.
1632
- # This option is not valid for source captions that are STL,
1633
- # 608/embedded or teletext. These source settings are already
1634
- # pre-defined by the caption stream. All burn-in and DVB-Sub font
1635
- # settings must match.
1628
+ # Specify the alignment of your captions. If no explicit x\_position
1629
+ # is provided, setting alignment to centered will placethe captions at
1630
+ # the bottom center of the output. Similarly, setting a left alignment
1631
+ # willalign captions to the bottom left of the output. If x and y
1632
+ # positions are given in conjunction with the alignment parameter, the
1633
+ # font will be justified (either left or centered) relative to those
1634
+ # coordinates.
1636
1635
  # @return [String]
1637
1636
  #
1638
1637
  # @!attribute [rw] apply_font_color
1639
- # Ignore this setting unless your input captions are STL, any type of
1640
- # 608, teletext, or TTML, and your output captions are burned in.
1641
- # Specify how the service applies the color specified in the setting
1642
- # Font color (BurninSubtitleFontColor). By default, this color is
1643
- # white. When you choose WHITE\_TEXT\_ONLY, the service uses the
1644
- # specified font color only for text that is white in the input. When
1645
- # you choose ALL\_TEXT, the service uses the specified font color for
1646
- # all output captions text. If you leave both settings at their
1647
- # default value, your output font color is the same as your input font
1648
- # color.
1638
+ # Ignore this setting unless Style passthrough (StylePassthrough) is
1639
+ # set to Enabled and Font color (FontColor) set to Black, Yellow, Red,
1640
+ # Green, Blue, or Hex. Use Apply font color (ApplyFontColor) for
1641
+ # additional font color controls. When you choose White text only
1642
+ # (WHITE\_TEXT\_ONLY), or leave blank, your font color setting only
1643
+ # applies to white text in your input captions. For example, if your
1644
+ # font color setting is Yellow, and your input captions have red and
1645
+ # white text, your output captions will have red and yellow text. When
1646
+ # you choose ALL\_TEXT, your font color setting applies to all of your
1647
+ # output captions text.
1649
1648
  # @return [String]
1650
1649
  #
1651
1650
  # @!attribute [rw] background_color
1652
- # Specifies the color of the rectangle behind the captions. All
1653
- # burn-in and DVB-Sub font settings must match.
1651
+ # Specify the color of the rectangle behind the captions. Leave
1652
+ # background color (BackgroundColor) blank and set Style passthrough
1653
+ # (StylePassthrough) to enabled to use the background color data from
1654
+ # your input captions, if present. Within your job settings, all of
1655
+ # your DVB-Sub settings must be identical.
1654
1656
  # @return [String]
1655
1657
  #
1656
1658
  # @!attribute [rw] background_opacity
1657
- # Specifies the opacity of the background rectangle. 255 is opaque; 0
1658
- # is transparent. Leaving this parameter blank is equivalent to
1659
- # setting it to 0 (transparent). All burn-in and DVB-Sub font settings
1660
- # must match.
1659
+ # Specify the opacity of the background rectangle. Enter a value from
1660
+ # 0 to 255, where 0 is transparent and 255 is opaque. If Style
1661
+ # passthrough (StylePassthrough) is set to enabled, leave blank to
1662
+ # pass through the background style information in your input captions
1663
+ # to your output captions. If Style passthrough is set to disabled,
1664
+ # leave blank to use a value of 0 and remove all backgrounds from your
1665
+ # output captions.
1661
1666
  # @return [Integer]
1662
1667
  #
1663
1668
  # @!attribute [rw] fallback_font
1664
1669
  # Specify the font that you want the service to use for your burn in
1665
1670
  # captions when your input captions specify a font that MediaConvert
1666
- # doesn't support. When you keep the default value, Best match
1667
- # (BEST\_MATCH), MediaConvert uses a supported font that most closely
1668
- # matches the font that your input captions specify. When there are
1669
- # multiple unsupported fonts in your input captions, MediaConvert
1670
- # matches each font with the supported font that matches best. When
1671
- # you explicitly choose a replacement font, MediaConvert uses that
1672
- # font to replace all unsupported fonts from your input.
1671
+ # doesn't support. When you set Fallback font (FallbackFont) to best
1672
+ # match (BEST\_MATCH), or leave blank, MediaConvert uses a supported
1673
+ # font that most closely matches the font that your input captions
1674
+ # specify. When there are multiple unsupported fonts in your input
1675
+ # captions, MediaConvert matches each font with the supported font
1676
+ # that matches best. When you explicitly choose a replacement font,
1677
+ # MediaConvert uses that font to replace all unsupported fonts from
1678
+ # your input.
1673
1679
  # @return [String]
1674
1680
  #
1675
1681
  # @!attribute [rw] font_color
1676
- # Specifies the color of the burned-in captions. This option is not
1677
- # valid for source captions that are STL, 608/embedded or teletext.
1678
- # These source settings are already pre-defined by the caption stream.
1679
- # All burn-in and DVB-Sub font settings must match.
1682
+ # Specify the color of the burned-in captions text. Leave Font color
1683
+ # (FontColor) blank and set Style passthrough (StylePassthrough) to
1684
+ # enabled to use the font color data from your input captions, if
1685
+ # present.
1680
1686
  # @return [String]
1681
1687
  #
1682
1688
  # @!attribute [rw] font_opacity
1683
- # Specifies the opacity of the burned-in captions. 255 is opaque; 0 is
1684
- # transparent. All burn-in and DVB-Sub font settings must match.
1689
+ # Specify the opacity of the burned-in captions. 255 is opaque; 0 is
1690
+ # transparent.
1685
1691
  # @return [Integer]
1686
1692
  #
1687
1693
  # @!attribute [rw] font_resolution
1688
- # Font resolution in DPI (dots per inch); default is 96 dpi. All
1689
- # burn-in and DVB-Sub font settings must match.
1694
+ # Specify the Font resolution (FontResolution) in DPI (dots per inch).
1690
1695
  # @return [Integer]
1691
1696
  #
1692
1697
  # @!attribute [rw] font_script
1693
- # Provide the font script, using an ISO 15924 script code, if the
1694
- # LanguageCode is not sufficient for determining the script type.
1695
- # Where LanguageCode or CustomLanguageCode is sufficient, use
1696
- # "AUTOMATIC" or leave unset. This is used to help determine the
1697
- # appropriate font for rendering burn-in captions.
1698
+ # Set Font script (FontScript) to Automatically determined
1699
+ # (AUTOMATIC), or leave blank, to automatically determine the font
1700
+ # script in your input captions. Otherwise, set to Simplified Chinese
1701
+ # (HANS) or Traditional Chinese (HANT) if your input font script uses
1702
+ # Simplified or Traditional Chinese.
1698
1703
  # @return [String]
1699
1704
  #
1700
1705
  # @!attribute [rw] font_size
1701
- # A positive integer indicates the exact font size in points. Set to 0
1702
- # for automatic font size selection. All burn-in and DVB-Sub font
1703
- # settings must match.
1706
+ # Specify the Font size (FontSize) in pixels. Must be a positive
1707
+ # integer. Set to 0, or leave blank, for automatic font size.
1704
1708
  # @return [Integer]
1705
1709
  #
1706
1710
  # @!attribute [rw] hex_font_color
1707
- # Ignore this setting unless your BurninSubtitleFontColor setting is
1708
- # HEX. Format is six or eight hexidecimal digits, representing the
1709
- # red, green, and blue components, with the two extra digits used for
1710
- # an optional alpha value. For example a value of 1122AABB is a red
1711
- # value of 0x11, a green value of 0x22, a blue value of 0xAA, and an
1712
- # alpha value of 0xBB.
1711
+ # Ignore this setting unless your Font color is set to Hex. Enter
1712
+ # either six or eight hexidecimal digits, representing red, green, and
1713
+ # blue, with two optional extra digits for alpha. For example a value
1714
+ # of 1122AABB is a red value of 0x11, a green value of 0x22, a blue
1715
+ # value of 0xAA, and an alpha value of 0xBB.
1713
1716
  # @return [String]
1714
1717
  #
1715
1718
  # @!attribute [rw] outline_color
1716
- # Specifies font outline color. This option is not valid for source
1717
- # captions that are either 608/embedded or teletext. These source
1718
- # settings are already pre-defined by the caption stream. All burn-in
1719
- # and DVB-Sub font settings must match.
1719
+ # Specify font outline color. Leave Outline color (OutlineColor) blank
1720
+ # and set Style passthrough (StylePassthrough) to enabled to use the
1721
+ # font outline color data from your input captions, if present.
1720
1722
  # @return [String]
1721
1723
  #
1722
1724
  # @!attribute [rw] outline_size
1723
- # Specifies font outline size in pixels. This option is not valid for
1724
- # source captions that are either 608/embedded or teletext. These
1725
- # source settings are already pre-defined by the caption stream. All
1726
- # burn-in and DVB-Sub font settings must match.
1725
+ # Specify the Outline size (OutlineSize) of the caption text, in
1726
+ # pixels. Leave Outline size blank and set Style passthrough
1727
+ # (StylePassthrough) to enabled to use the outline size data from your
1728
+ # input captions, if present.
1727
1729
  # @return [Integer]
1728
1730
  #
1729
1731
  # @!attribute [rw] shadow_color
1730
- # Specifies the color of the shadow cast by the captions. All burn-in
1731
- # and DVB-Sub font settings must match.
1732
+ # Specify the color of the shadow cast by the captions. Leave Shadow
1733
+ # color (ShadowColor) blank and set Style passthrough
1734
+ # (StylePassthrough) to enabled to use the shadow color data from your
1735
+ # input captions, if present.
1732
1736
  # @return [String]
1733
1737
  #
1734
1738
  # @!attribute [rw] shadow_opacity
1735
- # Specifies the opacity of the shadow. 255 is opaque; 0 is
1736
- # transparent. Leaving this parameter blank is equivalent to setting
1737
- # it to 0 (transparent). All burn-in and DVB-Sub font settings must
1738
- # match.
1739
+ # Specify the opacity of the shadow. Enter a value from 0 to 255,
1740
+ # where 0 is transparent and 255 is opaque. If Style passthrough
1741
+ # (StylePassthrough) is set to Enabled, leave Shadow opacity
1742
+ # (ShadowOpacity) blank to pass through the shadow style information
1743
+ # in your input captions to your output captions. If Style passthrough
1744
+ # is set to disabled, leave blank to use a value of 0 and remove all
1745
+ # shadows from your output captions.
1739
1746
  # @return [Integer]
1740
1747
  #
1741
1748
  # @!attribute [rw] shadow_x_offset
1742
- # Specifies the horizontal offset of the shadow relative to the
1749
+ # Specify the horizontal offset of the shadow, relative to the
1743
1750
  # captions in pixels. A value of -2 would result in a shadow offset 2
1744
- # pixels to the left. All burn-in and DVB-Sub font settings must
1745
- # match.
1751
+ # pixels to the left.
1746
1752
  # @return [Integer]
1747
1753
  #
1748
1754
  # @!attribute [rw] shadow_y_offset
1749
- # Specifies the vertical offset of the shadow relative to the captions
1755
+ # Specify the vertical offset of the shadow relative to the captions
1750
1756
  # in pixels. A value of -2 would result in a shadow offset 2 pixels
1751
- # above the text. All burn-in and DVB-Sub font settings must match.
1757
+ # above the text. Leave Shadow y-offset (ShadowYOffset) blank and set
1758
+ # Style passthrough (StylePassthrough) to enabled to use the shadow
1759
+ # y-offset data from your input captions, if present.
1752
1760
  # @return [Integer]
1753
1761
  #
1754
1762
  # @!attribute [rw] style_passthrough
1755
- # Ignore this setting unless your output captions are burned in.
1756
- # Choose which set of style and position values the service applies to
1757
- # your output captions. When you choose ENABLED, the service uses the
1758
- # input style and position information from your input. When you
1759
- # choose DISABLED, the service uses any style values that you specify
1760
- # in your output settings. If you don't specify values, the service
1761
- # uses default style and position values. When you choose DISABLED,
1762
- # the service ignores all style and position values from your input.
1763
+ # Set Style passthrough (StylePassthrough) to ENABLED to use the
1764
+ # available style, color, and position information from your input
1765
+ # captions. MediaConvert uses default settings for any missing style
1766
+ # and position information in your input captions. Set Style
1767
+ # passthrough to DISABLED, or leave blank, to ignore the style and
1768
+ # position information from your input captions and use default
1769
+ # settings: white text with black outlining, bottom-center
1770
+ # positioning, and automatic sizing. Whether you set Style passthrough
1771
+ # to enabled or not, you can also choose to manually override any of
1772
+ # the individual style and position settings.
1763
1773
  # @return [String]
1764
1774
  #
1765
1775
  # @!attribute [rw] teletext_spacing
1766
- # Only applies to jobs with input captions in Teletext or STL formats.
1767
- # Specify whether the spacing between letters in your captions is set
1768
- # by the captions grid or varies depending on letter width. Choose
1769
- # fixed grid to conform to the spacing specified in the captions file
1770
- # more accurately. Choose proportional to make the text easier to read
1771
- # if the captions are closed caption.
1776
+ # Specify whether the text spacing (TeletextSpacing) in your captions
1777
+ # is set by the captions grid, or varies depending on letter width.
1778
+ # Choose fixed grid (FIXED\_GRID) to conform to the spacing specified
1779
+ # in the captions file more accurately. Choose proportional
1780
+ # (PROPORTIONAL) to make the text easier to read for closed captions.
1772
1781
  # @return [String]
1773
1782
  #
1774
1783
  # @!attribute [rw] x_position
1775
- # Specifies the horizontal position of the caption relative to the
1776
- # left side of the output in pixels. A value of 10 would result in the
1777
- # captions starting 10 pixels from the left of the output. If no
1778
- # explicit x\_position is provided, the horizontal caption position
1779
- # will be determined by the alignment parameter. This option is not
1780
- # valid for source captions that are STL, 608/embedded or teletext.
1781
- # These source settings are already pre-defined by the caption stream.
1782
- # All burn-in and DVB-Sub font settings must match.
1784
+ # Specify the horizontal position (XPosition) of the captions,
1785
+ # relative to the left side of the output in pixels. A value of 10
1786
+ # would result in the captions starting 10 pixels from the left of the
1787
+ # output. If no explicit x\_position is provided, the horizontal
1788
+ # caption position will be determined by the alignment parameter.
1783
1789
  # @return [Integer]
1784
1790
  #
1785
1791
  # @!attribute [rw] y_position
1786
- # Specifies the vertical position of the caption relative to the top
1787
- # of the output in pixels. A value of 10 would result in the captions
1788
- # starting 10 pixels from the top of the output. If no explicit
1789
- # y\_position is provided, the caption will be positioned towards the
1790
- # bottom of the output. This option is not valid for source captions
1791
- # that are STL, 608/embedded or teletext. These source settings are
1792
- # already pre-defined by the caption stream. All burn-in and DVB-Sub
1793
- # font settings must match.
1792
+ # Specify the vertical position (YPosition) of the captions, relative
1793
+ # to the top of the output in pixels. A value of 10 would result in
1794
+ # the captions starting 10 pixels from the top of the output. If no
1795
+ # explicit y\_position is provided, the caption will be positioned
1796
+ # towards the bottom of the output.
1794
1797
  # @return [Integer]
1795
1798
  #
1796
1799
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/BurninDestinationSettings AWS API Documentation
@@ -2225,8 +2228,10 @@ module Aws::MediaConvert
2225
2228
  # }
2226
2229
  #
2227
2230
  # @!attribute [rw] burnin_destination_settings
2228
- # Settings related to burn-in captions. Set up burn-in captions in the
2229
- # same output as your video. For more information, see
2231
+ # Burn-in is a captions delivery method, rather than a captions
2232
+ # format. Burn-in writes the captions directly on your video frames,
2233
+ # replacing pixels of video content with the captions. Set up burn-in
2234
+ # captions in the same output as your video. For more information, see
2230
2235
  # https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html.
2231
2236
  # When you work directly in your JSON job specification, include this
2232
2237
  # object and any required children when you set destinationType to
@@ -2288,7 +2293,12 @@ module Aws::MediaConvert
2288
2293
  # @return [Types::SccDestinationSettings]
2289
2294
  #
2290
2295
  # @!attribute [rw] srt_destination_settings
2291
- # SRT Destination Settings
2296
+ # Settings related to SRT captions. SRT is a sidecar format that holds
2297
+ # captions in a file that is separate from the video container. Set up
2298
+ # sidecar captions in the same output group, but different output from
2299
+ # your video. When you work directly in your JSON job specification,
2300
+ # include this object and any required children when you set
2301
+ # destinationType to SRT.
2292
2302
  # @return [Types::SrtDestinationSettings]
2293
2303
  #
2294
2304
  # @!attribute [rw] teletext_destination_settings
@@ -2312,7 +2322,14 @@ module Aws::MediaConvert
2312
2322
  # @return [Types::TtmlDestinationSettings]
2313
2323
  #
2314
2324
  # @!attribute [rw] webvtt_destination_settings
2315
- # WEBVTT Destination Settings
2325
+ # Settings related to WebVTT captions. WebVTT is a sidecar format that
2326
+ # holds captions in a file that is separate from the video container.
2327
+ # Set up sidecar captions in the same output group, but different
2328
+ # output from your video. For more information, see
2329
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
2330
+ # When you work directly in your JSON job specification, include this
2331
+ # object and any required children when you set destinationType to
2332
+ # WebVTT.
2316
2333
  # @return [Types::WebvttDestinationSettings]
2317
2334
  #
2318
2335
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CaptionDestinationSettings AWS API Documentation
@@ -2365,6 +2382,7 @@ module Aws::MediaConvert
2365
2382
  # },
2366
2383
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
2367
2384
  # time_delta: 1,
2385
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
2368
2386
  # },
2369
2387
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
2370
2388
  # teletext_source_settings: {
@@ -2422,9 +2440,9 @@ module Aws::MediaConvert
2422
2440
  # Ignore this setting unless your input captions format is SCC. To have
2423
2441
  # the service compensate for differing frame rates between your input
2424
2442
  # captions and input video, specify the frame rate of the captions file.
2425
- # Specify this value as a fraction, using the settings Framerate
2426
- # numerator (framerateNumerator) and Framerate denominator
2427
- # (framerateDenominator). For example, you might specify 24 / 1 for 24
2443
+ # Specify this value as a fraction. When you work directly in your JSON
2444
+ # job specification, use the settings framerateNumerator and
2445
+ # framerateDenominator. For example, you might specify 24 / 1 for 24
2428
2446
  # fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001
2429
2447
  # for 29.97 fps.
2430
2448
  #
@@ -2490,6 +2508,7 @@ module Aws::MediaConvert
2490
2508
  # },
2491
2509
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
2492
2510
  # time_delta: 1,
2511
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
2493
2512
  # },
2494
2513
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
2495
2514
  # teletext_source_settings: {
@@ -3648,6 +3667,7 @@ module Aws::MediaConvert
3648
3667
  # },
3649
3668
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
3650
3669
  # time_delta: 1,
3670
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
3651
3671
  # },
3652
3672
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
3653
3673
  # teletext_source_settings: {
@@ -5042,6 +5062,7 @@ module Aws::MediaConvert
5042
5062
  # },
5043
5063
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
5044
5064
  # time_delta: 1,
5065
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
5045
5066
  # },
5046
5067
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
5047
5068
  # teletext_source_settings: {
@@ -8026,40 +8047,45 @@ module Aws::MediaConvert
8026
8047
  # }
8027
8048
  #
8028
8049
  # @!attribute [rw] alignment
8029
- # If no explicit x\_position or y\_position is provided, setting
8030
- # alignment to centered will place the captions at the bottom center
8031
- # of the output. Similarly, setting a left alignment will align
8032
- # captions to the bottom left of the output. If x and y positions are
8033
- # given in conjunction with the alignment parameter, the font will be
8034
- # justified (either left or centered) relative to those coordinates.
8035
- # This option is not valid for source captions that are STL,
8036
- # 608/embedded or teletext. These source settings are already
8037
- # pre-defined by the caption stream. All burn-in and DVB-Sub font
8038
- # settings must match.
8050
+ # Specify the alignment of your captions. If no explicit x\_position
8051
+ # is provided, setting alignment to centered will placethe captions at
8052
+ # the bottom center of the output. Similarly, setting a left alignment
8053
+ # willalign captions to the bottom left of the output. If x and y
8054
+ # positions are given in conjunction with the alignment parameter, the
8055
+ # font will be justified (either left or centered) relative to those
8056
+ # coordinates. Within your job settings, all of your DVB-Sub settings
8057
+ # must be identical.
8039
8058
  # @return [String]
8040
8059
  #
8041
8060
  # @!attribute [rw] apply_font_color
8042
- # Ignore this setting unless your input captions are STL, any type of
8043
- # 608, teletext, or TTML, and your output captions are DVB-SUB.
8044
- # Specify how the service applies the color specified in the setting
8045
- # Font color (DvbSubtitleFontColor). By default, this color is white.
8046
- # When you choose WHITE\_TEXT\_ONLY, the service uses the specified
8047
- # font color only for text that is white in the input. When you choose
8048
- # ALL\_TEXT, the service uses the specified font color for all output
8049
- # captions text. If you leave both settings at their default value,
8050
- # your output font color is the same as your input font color.
8061
+ # Ignore this setting unless Style Passthrough (StylePassthrough) is
8062
+ # set to Enabled and Font color (FontColor) set to Black, Yellow, Red,
8063
+ # Green, Blue, or Hex. Use Apply font color (ApplyFontColor) for
8064
+ # additional font color controls. When you choose White text only
8065
+ # (WHITE\_TEXT\_ONLY), or leave blank, your font color setting only
8066
+ # applies to white text in your input captions. For example, if your
8067
+ # font color setting is Yellow, and your input captions have red and
8068
+ # white text, your output captions will have red and yellow text. When
8069
+ # you choose ALL\_TEXT, your font color setting applies to all of your
8070
+ # output captions text.
8051
8071
  # @return [String]
8052
8072
  #
8053
8073
  # @!attribute [rw] background_color
8054
- # Specifies the color of the rectangle behind the captions. All
8055
- # burn-in and DVB-Sub font settings must match.
8074
+ # Specify the color of the rectangle behind the captions. Leave
8075
+ # background color (BackgroundColor) blank and set Style passthrough
8076
+ # (StylePassthrough) to enabled to use the background color data from
8077
+ # your input captions, if present.
8056
8078
  # @return [String]
8057
8079
  #
8058
8080
  # @!attribute [rw] background_opacity
8059
- # Specifies the opacity of the background rectangle. 255 is opaque; 0
8060
- # is transparent. Leaving this parameter blank is equivalent to
8061
- # setting it to 0 (transparent). All burn-in and DVB-Sub font settings
8062
- # must match.
8081
+ # Specify the opacity of the background rectangle. Enter a value from
8082
+ # 0 to 255, where 0 is transparent and 255 is opaque. If Style
8083
+ # passthrough (StylePassthrough) is set to enabled, leave blank to
8084
+ # pass through the background style information in your input captions
8085
+ # to your output captions. If Style passthrough is set to disabled,
8086
+ # leave blank to use a value of 0 and remove all backgrounds from your
8087
+ # output captions. Within your job settings, all of your DVB-Sub
8088
+ # settings must be identical.
8063
8089
  # @return [Integer]
8064
8090
  #
8065
8091
  # @!attribute [rw] dds_handling
@@ -8112,44 +8138,48 @@ module Aws::MediaConvert
8112
8138
  # @!attribute [rw] fallback_font
8113
8139
  # Specify the font that you want the service to use for your burn in
8114
8140
  # captions when your input captions specify a font that MediaConvert
8115
- # doesn't support. When you keep the default value, Best match
8116
- # (BEST\_MATCH), MediaConvert uses a supported font that most closely
8117
- # matches the font that your input captions specify. When there are
8118
- # multiple unsupported fonts in your input captions, MediaConvert
8119
- # matches each font with the supported font that matches best. When
8120
- # you explicitly choose a replacement font, MediaConvert uses that
8121
- # font to replace all unsupported fonts from your input.
8141
+ # doesn't support. When you set Fallback font (FallbackFont) to best
8142
+ # match (BEST\_MATCH), or leave blank, MediaConvert uses a supported
8143
+ # font that most closely matches the font that your input captions
8144
+ # specify. When there are multiple unsupported fonts in your input
8145
+ # captions, MediaConvert matches each font with the supported font
8146
+ # that matches best. When you explicitly choose a replacement font,
8147
+ # MediaConvert uses that font to replace all unsupported fonts from
8148
+ # your input.
8122
8149
  # @return [String]
8123
8150
  #
8124
8151
  # @!attribute [rw] font_color
8125
- # Specifies the color of the DVB-SUB captions. This option is not
8126
- # valid for source captions that are STL, 608/embedded or teletext.
8127
- # These source settings are already pre-defined by the caption stream.
8128
- # All burn-in and DVB-Sub font settings must match.
8152
+ # Specify the color of the captions text. Leave Font color (FontColor)
8153
+ # blank and set Style passthrough (StylePassthrough) to enabled to use
8154
+ # the font color data from your input captions, if present. Within
8155
+ # your job settings, all of your DVB-Sub settings must be identical.
8129
8156
  # @return [String]
8130
8157
  #
8131
8158
  # @!attribute [rw] font_opacity
8132
- # Specifies the opacity of the burned-in captions. 255 is opaque; 0 is
8133
- # transparent. All burn-in and DVB-Sub font settings must match.
8159
+ # Specify the opacity of the burned-in captions. 255 is opaque; 0 is
8160
+ # transparent. Within your job settings, all of your DVB-Sub settings
8161
+ # must be identical.
8134
8162
  # @return [Integer]
8135
8163
  #
8136
8164
  # @!attribute [rw] font_resolution
8137
- # Font resolution in DPI (dots per inch); default is 96 dpi. All
8138
- # burn-in and DVB-Sub font settings must match.
8165
+ # Specify the Font resolution (FontResolution) in DPI (dots per inch).
8166
+ # Within your job settings, all of your DVB-Sub settings must be
8167
+ # identical.
8139
8168
  # @return [Integer]
8140
8169
  #
8141
8170
  # @!attribute [rw] font_script
8142
- # Provide the font script, using an ISO 15924 script code, if the
8143
- # LanguageCode is not sufficient for determining the script type.
8144
- # Where LanguageCode or CustomLanguageCode is sufficient, use
8145
- # "AUTOMATIC" or leave unset. This is used to help determine the
8146
- # appropriate font for rendering DVB-Sub captions.
8171
+ # Set Font script (FontScript) to Automatically determined
8172
+ # (AUTOMATIC), or leave blank, to automatically determine the font
8173
+ # script in your input captions. Otherwise, set to Simplified Chinese
8174
+ # (HANS) or Traditional Chinese (HANT) if your input font script uses
8175
+ # Simplified or Traditional Chinese. Within your job settings, all of
8176
+ # your DVB-Sub settings must be identical.
8147
8177
  # @return [String]
8148
8178
  #
8149
8179
  # @!attribute [rw] font_size
8150
- # A positive integer indicates the exact font size in points. Set to 0
8151
- # for automatic font size selection. All burn-in and DVB-Sub font
8152
- # settings must match.
8180
+ # Specify the Font size (FontSize) in pixels. Must be a positive
8181
+ # integer. Set to 0, or leave blank, for automatic font size. Within
8182
+ # your job settings, all of your DVB-Sub settings must be identical.
8153
8183
  # @return [Integer]
8154
8184
  #
8155
8185
  # @!attribute [rw] height
@@ -8160,61 +8190,74 @@ module Aws::MediaConvert
8160
8190
  # @return [Integer]
8161
8191
  #
8162
8192
  # @!attribute [rw] hex_font_color
8163
- # Ignore this setting unless your DvbSubtitleFontColor setting is HEX.
8164
- # Format is six or eight hexidecimal digits, representing the red,
8165
- # green, and blue components, with the two extra digits used for an
8166
- # optional alpha value. For example a value of 1122AABB is a red value
8167
- # of 0x11, a green value of 0x22, a blue value of 0xAA, and an alpha
8168
- # value of 0xBB.
8193
+ # Ignore this setting unless your Font color is set to Hex. Enter
8194
+ # either six or eight hexidecimal digits, representing red, green, and
8195
+ # blue, with two optional extra digits for alpha. For example a value
8196
+ # of 1122AABB is a red value of 0x11, a green value of 0x22, a blue
8197
+ # value of 0xAA, and an alpha value of 0xBB.
8169
8198
  # @return [String]
8170
8199
  #
8171
8200
  # @!attribute [rw] outline_color
8172
- # Specifies font outline color. This option is not valid for source
8173
- # captions that are either 608/embedded or teletext. These source
8174
- # settings are already pre-defined by the caption stream. All burn-in
8175
- # and DVB-Sub font settings must match.
8201
+ # Specify font outline color. Leave Outline color (OutlineColor) blank
8202
+ # and set Style passthrough (StylePassthrough) to enabled to use the
8203
+ # font outline color data from your input captions, if present. Within
8204
+ # your job settings, all of your DVB-Sub settings must be identical.
8176
8205
  # @return [String]
8177
8206
  #
8178
8207
  # @!attribute [rw] outline_size
8179
- # Specifies font outline size in pixels. This option is not valid for
8180
- # source captions that are either 608/embedded or teletext. These
8181
- # source settings are already pre-defined by the caption stream. All
8182
- # burn-in and DVB-Sub font settings must match.
8208
+ # Specify the Outline size (OutlineSize) of the caption text, in
8209
+ # pixels. Leave Outline size blank and set Style passthrough
8210
+ # (StylePassthrough) to enabled to use the outline size data from your
8211
+ # input captions, if present. Within your job settings, all of your
8212
+ # DVB-Sub settings must be identical.
8183
8213
  # @return [Integer]
8184
8214
  #
8185
8215
  # @!attribute [rw] shadow_color
8186
- # Specifies the color of the shadow cast by the captions. All burn-in
8187
- # and DVB-Sub font settings must match.
8216
+ # Specify the color of the shadow cast by the captions. Leave Shadow
8217
+ # color (ShadowColor) blank and set Style passthrough
8218
+ # (StylePassthrough) to enabled to use the shadow color data from your
8219
+ # input captions, if present. Within your job settings, all of your
8220
+ # DVB-Sub settings must be identical.
8188
8221
  # @return [String]
8189
8222
  #
8190
8223
  # @!attribute [rw] shadow_opacity
8191
- # Specifies the opacity of the shadow. 255 is opaque; 0 is
8192
- # transparent. Leaving this parameter blank is equivalent to setting
8193
- # it to 0 (transparent). All burn-in and DVB-Sub font settings must
8194
- # match.
8224
+ # Specify the opacity of the shadow. Enter a value from 0 to 255,
8225
+ # where 0 is transparent and 255 is opaque. If Style passthrough
8226
+ # (StylePassthrough) is set to Enabled, leave Shadow opacity
8227
+ # (ShadowOpacity) blank to pass through the shadow style information
8228
+ # in your input captions to your output captions. If Style passthrough
8229
+ # is set to disabled, leave blank to use a value of 0 and remove all
8230
+ # shadows from your output captions. Within your job settings, all of
8231
+ # your DVB-Sub settings must be identical.
8195
8232
  # @return [Integer]
8196
8233
  #
8197
8234
  # @!attribute [rw] shadow_x_offset
8198
- # Specifies the horizontal offset of the shadow relative to the
8235
+ # Specify the horizontal offset of the shadow, relative to the
8199
8236
  # captions in pixels. A value of -2 would result in a shadow offset 2
8200
- # pixels to the left. All burn-in and DVB-Sub font settings must
8201
- # match.
8237
+ # pixels to the left. Within your job settings, all of your DVB-Sub
8238
+ # settings must be identical.
8202
8239
  # @return [Integer]
8203
8240
  #
8204
8241
  # @!attribute [rw] shadow_y_offset
8205
- # Specifies the vertical offset of the shadow relative to the captions
8242
+ # Specify the vertical offset of the shadow relative to the captions
8206
8243
  # in pixels. A value of -2 would result in a shadow offset 2 pixels
8207
- # above the text. All burn-in and DVB-Sub font settings must match.
8244
+ # above the text. Leave Shadow y-offset (ShadowYOffset) blank and set
8245
+ # Style passthrough (StylePassthrough) to enabled to use the shadow
8246
+ # y-offset data from your input captions, if present. Within your job
8247
+ # settings, all of your DVB-Sub settings must be identical.
8208
8248
  # @return [Integer]
8209
8249
  #
8210
8250
  # @!attribute [rw] style_passthrough
8211
- # Choose which set of style and position values the service applies to
8212
- # your output captions. When you choose ENABLED, the service uses the
8213
- # input style and position information from your input. When you
8214
- # choose DISABLED, the service uses any style values that you specify
8215
- # in your output settings. If you don't specify values, the service
8216
- # uses default style and position values. When you choose DISABLED,
8217
- # the service ignores all style and position values from your input.
8251
+ # Set Style passthrough (StylePassthrough) to ENABLED to use the
8252
+ # available style, color, and position information from your input
8253
+ # captions. MediaConvert uses default settings for any missing style
8254
+ # and position information in your input captions. Set Style
8255
+ # passthrough to DISABLED, or leave blank, to ignore the style and
8256
+ # position information from your input captions and use default
8257
+ # settings: white text with black outlining, bottom-center
8258
+ # positioning, and automatic sizing. Whether you set Style passthrough
8259
+ # to enabled or not, you can also choose to manually override any of
8260
+ # the individual style and position settings.
8218
8261
  # @return [String]
8219
8262
  #
8220
8263
  # @!attribute [rw] subtitling_type
@@ -8225,12 +8268,13 @@ module Aws::MediaConvert
8225
8268
  # @return [String]
8226
8269
  #
8227
8270
  # @!attribute [rw] teletext_spacing
8228
- # Only applies to jobs with input captions in Teletext or STL formats.
8229
- # Specify whether the spacing between letters in your captions is set
8230
- # by the captions grid or varies depending on letter width. Choose
8231
- # fixed grid to conform to the spacing specified in the captions file
8232
- # more accurately. Choose proportional to make the text easier to read
8233
- # if the captions are closed caption.
8271
+ # Specify whether the Text spacing (TextSpacing) in your captions is
8272
+ # set by the captions grid, or varies depending on letter width.
8273
+ # Choose fixed grid (FIXED\_GRID) to conform to the spacing specified
8274
+ # in the captions file more accurately. Choose proportional
8275
+ # (PROPORTIONAL) to make the text easier to read for closed captions.
8276
+ # Within your job settings, all of your DVB-Sub settings must be
8277
+ # identical.
8234
8278
  # @return [String]
8235
8279
  #
8236
8280
  # @!attribute [rw] width
@@ -8241,25 +8285,22 @@ module Aws::MediaConvert
8241
8285
  # @return [Integer]
8242
8286
  #
8243
8287
  # @!attribute [rw] x_position
8244
- # Specifies the horizontal position of the caption relative to the
8245
- # left side of the output in pixels. A value of 10 would result in the
8246
- # captions starting 10 pixels from the left of the output. If no
8247
- # explicit x\_position is provided, the horizontal caption position
8248
- # will be determined by the alignment parameter. This option is not
8249
- # valid for source captions that are STL, 608/embedded or teletext.
8250
- # These source settings are already pre-defined by the caption stream.
8251
- # All burn-in and DVB-Sub font settings must match.
8288
+ # Specify the horizontal position (XPosition) of the captions,
8289
+ # relative to the left side of the outputin pixels. A value of 10
8290
+ # would result in the captions starting 10 pixels from the left ofthe
8291
+ # output. If no explicit x\_position is provided, the horizontal
8292
+ # caption position will bedetermined by the alignment parameter.
8293
+ # Within your job settings, all of your DVB-Sub settings must be
8294
+ # identical.
8252
8295
  # @return [Integer]
8253
8296
  #
8254
8297
  # @!attribute [rw] y_position
8255
- # Specifies the vertical position of the caption relative to the top
8256
- # of the output in pixels. A value of 10 would result in the captions
8257
- # starting 10 pixels from the top of the output. If no explicit
8258
- # y\_position is provided, the caption will be positioned towards the
8259
- # bottom of the output. This option is not valid for source captions
8260
- # that are STL, 608/embedded or teletext. These source settings are
8261
- # already pre-defined by the caption stream. All burn-in and DVB-Sub
8262
- # font settings must match.
8298
+ # Specify the vertical position (YPosition) of the captions, relative
8299
+ # to the top of the output in pixels. A value of 10 would result in
8300
+ # the captions starting 10 pixels from the top of the output. If no
8301
+ # explicit y\_position is provided, the caption will be positioned
8302
+ # towards the bottom of the output. Within your job settings, all of
8303
+ # your DVB-Sub settings must be identical.
8263
8304
  # @return [Integer]
8264
8305
  #
8265
8306
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DvbSubDestinationSettings AWS API Documentation
@@ -9120,6 +9161,7 @@ module Aws::MediaConvert
9120
9161
  # },
9121
9162
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
9122
9163
  # time_delta: 1,
9164
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
9123
9165
  # }
9124
9166
  #
9125
9167
  # @!attribute [rw] convert_608_to_708
@@ -9134,11 +9176,11 @@ module Aws::MediaConvert
9134
9176
  # Ignore this setting unless your input captions format is SCC. To
9135
9177
  # have the service compensate for differing frame rates between your
9136
9178
  # input captions and input video, specify the frame rate of the
9137
- # captions file. Specify this value as a fraction, using the settings
9138
- # Framerate numerator (framerateNumerator) and Framerate denominator
9139
- # (framerateDenominator). For example, you might specify 24 / 1 for 24
9140
- # fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001
9141
- # for 29.97 fps.
9179
+ # captions file. Specify this value as a fraction. When you work
9180
+ # directly in your JSON job specification, use the settings
9181
+ # framerateNumerator and framerateDenominator. For example, you might
9182
+ # specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for
9183
+ # 23.976 fps, or 30000 / 1001 for 29.97 fps.
9142
9184
  # @return [Types::CaptionSourceFramerate]
9143
9185
  #
9144
9186
  # @!attribute [rw] source_file
@@ -9148,9 +9190,30 @@ module Aws::MediaConvert
9148
9190
  # @return [String]
9149
9191
  #
9150
9192
  # @!attribute [rw] time_delta
9151
- # Specifies a time delta in seconds to offset the captions from the
9152
- # source file.
9153
- # @return [Integer]
9193
+ # Optional. Use this setting when you need to adjust the sync between
9194
+ # your sidecar captions and your video. For more information, see
9195
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/time-delta-use-cases.html.
9196
+ # Enter a positive or negative number to modify the times in the
9197
+ # captions file. For example, type 15 to add 15 seconds to all the
9198
+ # times in the captions file. Type -5 to subtract 5 seconds from the
9199
+ # times in the captions file. You can optionally specify your time
9200
+ # delta in milliseconds instead of seconds. When you do so, set the
9201
+ # related setting, Time delta units (TimeDeltaUnits) to Milliseconds
9202
+ # (MILLISECONDS). Note that, when you specify a time delta for
9203
+ # timecode-based caption sources, such as SCC and STL, and your time
9204
+ # delta isn't a multiple of the input frame rate, MediaConvert snaps
9205
+ # the captions to the nearest frame. For example, when your input
9206
+ # video frame rate is 25 fps and you specify 1010ms for time delta,
9207
+ # MediaConvert delays your captions by 1000 ms.
9208
+ # @return [Integer]
9209
+ #
9210
+ # @!attribute [rw] time_delta_units
9211
+ # When you use the setting Time delta (TimeDelta) to adjust the sync
9212
+ # between your sidecar captions and your video, use this setting to
9213
+ # specify the units for the delta that you specify. When you don't
9214
+ # specify a value for Time delta units (TimeDeltaUnits), MediaConvert
9215
+ # uses seconds by default.
9216
+ # @return [String]
9154
9217
  #
9155
9218
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FileSourceSettings AWS API Documentation
9156
9219
  #
@@ -9158,7 +9221,8 @@ module Aws::MediaConvert
9158
9221
  :convert_608_to_708,
9159
9222
  :framerate,
9160
9223
  :source_file,
9161
- :time_delta)
9224
+ :time_delta,
9225
+ :time_delta_units)
9162
9226
  SENSITIVE = []
9163
9227
  include Aws::Structure
9164
9228
  end
@@ -11553,6 +11617,7 @@ module Aws::MediaConvert
11553
11617
  # },
11554
11618
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
11555
11619
  # time_delta: 1,
11620
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
11556
11621
  # },
11557
11622
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
11558
11623
  # teletext_source_settings: {
@@ -12009,6 +12074,7 @@ module Aws::MediaConvert
12009
12074
  # },
12010
12075
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
12011
12076
  # time_delta: 1,
12077
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
12012
12078
  # },
12013
12079
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
12014
12080
  # teletext_source_settings: {
@@ -12667,6 +12733,7 @@ module Aws::MediaConvert
12667
12733
  # },
12668
12734
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
12669
12735
  # time_delta: 1,
12736
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
12670
12737
  # },
12671
12738
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
12672
12739
  # teletext_source_settings: {
@@ -14111,6 +14178,7 @@ module Aws::MediaConvert
14111
14178
  # },
14112
14179
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
14113
14180
  # time_delta: 1,
14181
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
14114
14182
  # },
14115
14183
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
14116
14184
  # teletext_source_settings: {
@@ -21987,7 +22055,12 @@ module Aws::MediaConvert
21987
22055
  include Aws::Structure
21988
22056
  end
21989
22057
 
21990
- # SRT Destination Settings
22058
+ # Settings related to SRT captions. SRT is a sidecar format that holds
22059
+ # captions in a file that is separate from the video container. Set up
22060
+ # sidecar captions in the same output group, but different output from
22061
+ # your video. When you work directly in your JSON job specification,
22062
+ # include this object and any required children when you set
22063
+ # destinationType to SRT.
21991
22064
  #
21992
22065
  # @note When making an API call, you may pass SrtDestinationSettings
21993
22066
  # data as a hash:
@@ -21997,9 +22070,12 @@ module Aws::MediaConvert
21997
22070
  # }
21998
22071
  #
21999
22072
  # @!attribute [rw] style_passthrough
22000
- # Choose Enabled (ENABLED) to have MediaConvert use the font style,
22001
- # color, and position information from the captions source in the
22002
- # input. Keep the default value, Disabled (DISABLED), for simplified
22073
+ # Set Style passthrough (StylePassthrough) to ENABLED to use the
22074
+ # available style, color, and position information from your input
22075
+ # captions. MediaConvert uses default settings for any missing style
22076
+ # and position information in your input captions. Set Style
22077
+ # passthrough to DISABLED, or leave blank, to ignore the style and
22078
+ # position information from your input captions and use simplified
22003
22079
  # output captions.
22004
22080
  # @return [String]
22005
22081
  #
@@ -22540,6 +22616,7 @@ module Aws::MediaConvert
22540
22616
  # },
22541
22617
  # source_file: "__stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT",
22542
22618
  # time_delta: 1,
22619
+ # time_delta_units: "SECONDS", # accepts SECONDS, MILLISECONDS
22543
22620
  # },
22544
22621
  # source_type: "ANCILLARY", # accepts ANCILLARY, DVB_SUB, EMBEDDED, SCTE20, SCC, TTML, STL, SRT, SMI, SMPTE_TT, TELETEXT, NULL_SOURCE, IMSC, WEBVTT
22545
22622
  # teletext_source_settings: {
@@ -25941,18 +26018,16 @@ module Aws::MediaConvert
25941
26018
  # @return [String]
25942
26019
  #
25943
26020
  # @!attribute [rw] sample_range
25944
- # Use this setting when your input video codec is AVC-Intra. Ignore
25945
- # this setting for all other inputs. If the sample range metadata in
25946
- # your input video is accurate, or if you don't know about sample
25947
- # range, keep the default value, Follow (FOLLOW), for this setting.
25948
- # When you do, the service automatically detects your input sample
25949
- # range. If your input video has metadata indicating the wrong sample
25950
- # range, specify the accurate sample range here. When you do,
25951
- # MediaConvert ignores any sample range information in the input
25952
- # metadata. Regardless of whether MediaConvert uses the input sample
25953
- # range or the sample range that you specify, MediaConvert uses the
25954
- # sample range for transcoding and also writes it to the output
25955
- # metadata.
26021
+ # If the sample range metadata in your input video is accurate, or if
26022
+ # you don't know about sample range, keep the default value, Follow
26023
+ # (FOLLOW), for this setting. When you do, the service automatically
26024
+ # detects your input sample range. If your input video has metadata
26025
+ # indicating the wrong sample range, specify the accurate sample range
26026
+ # here. When you do, MediaConvert ignores any sample range information
26027
+ # in the input metadata. Regardless of whether MediaConvert uses the
26028
+ # input sample range or the sample range that you specify,
26029
+ # MediaConvert uses the sample range for transcoding and also writes
26030
+ # it to the output metadata.
25956
26031
  # @return [String]
25957
26032
  #
25958
26033
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoSelector AWS API Documentation
@@ -26360,7 +26435,14 @@ module Aws::MediaConvert
26360
26435
  include Aws::Structure
26361
26436
  end
26362
26437
 
26363
- # WEBVTT Destination Settings
26438
+ # Settings related to WebVTT captions. WebVTT is a sidecar format that
26439
+ # holds captions in a file that is separate from the video container.
26440
+ # Set up sidecar captions in the same output group, but different output
26441
+ # from your video. For more information, see
26442
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
26443
+ # When you work directly in your JSON job specification, include this
26444
+ # object and any required children when you set destinationType to
26445
+ # WebVTT.
26364
26446
  #
26365
26447
  # @note When making an API call, you may pass WebvttDestinationSettings
26366
26448
  # data as a hash:
@@ -26370,9 +26452,12 @@ module Aws::MediaConvert
26370
26452
  # }
26371
26453
  #
26372
26454
  # @!attribute [rw] style_passthrough
26373
- # Choose Enabled (ENABLED) to have MediaConvert use the font style,
26374
- # color, and position information from the captions source in the
26375
- # input. Keep the default value, Disabled (DISABLED), for simplified
26455
+ # Set Style passthrough (StylePassthrough) to ENABLED to use the
26456
+ # available style, color, and position information from your input
26457
+ # captions. MediaConvert uses default settings for any missing style
26458
+ # and position information in your input captions. Set Style
26459
+ # passthrough to DISABLED, or leave blank, to ignore the style and
26460
+ # position information from your input captions and use simplified
26376
26461
  # output captions.
26377
26462
  # @return [String]
26378
26463
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mediaconvert/customizations'
48
48
  # @!group service
49
49
  module Aws::MediaConvert
50
50
 
51
- GEM_VERSION = '1.77.0'
51
+ GEM_VERSION = '1.78.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediaconvert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.77.0
4
+ version: 1.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core