Skip to content

Commit 41bce57

Browse files
author
AWS
committed
AWS Elemental MediaLive Update: Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream.
1 parent 974d9c5 commit 41bce57

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Elemental MediaLive",
4+
"contributor": "",
5+
"description": "Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream."
6+
}

services/medialive/src/main/resources/codegen-resources/service-2.json

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9910,17 +9910,27 @@
99109910
"FillLineGap": {
99119911
"shape": "EbuTtDFillLineGapControl",
99129912
"locationName": "fillLineGap",
9913-
"documentation": "Specifies how to handle the gap between the lines (in multi-line captions).\n\n- enabled: Fill with the captions background color (as specified in the input captions).\n- disabled: Leave the gap unfilled."
9913+
"documentation": "Specifies how to handle the gap between the lines (in multi-line captions). ENABLED: Fill with the captions background color (as specified in the input captions). DISABLED: Leave the gap unfilled"
99149914
},
99159915
"FontFamily": {
99169916
"shape": "__string",
99179917
"locationName": "fontFamily",
9918-
"documentation": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to \"monospaced\". (If styleControl is set to exclude, the font family is always set to \"monospaced\".)\n\nYou specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.\n\n- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as Arial), or a generic font family (such as serif), or default (to let the downstream player choose the font).\n- Leave blank to set the family to monospace."
9918+
"documentation": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if style_control is set to include. (If style_control is set to exclude, the font family is always set to monospaced.) Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as Arial), or a generic font family (such as serif), or default (to let the downstream player choose the font). Or leave blank to set the family to monospace. Note that you can specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size."
99199919
},
99209920
"StyleControl": {
99219921
"shape": "EbuTtDDestinationStyleControl",
99229922
"locationName": "styleControl",
9923-
"documentation": "Specifies the style information (font color, font position, and so on) to include in the font data that is attached to the EBU-TT captions.\n\n- include: Take the style information (font color, font position, and so on) from the source captions and include that information in the font data attached to the EBU-TT captions. This option is valid only if the source captions are Embedded or Teletext.\n- exclude: In the font data attached to the EBU-TT captions, set the font family to \"monospaced\". Do not include any other style information."
9923+
"documentation": "Specifies the style information to include in the font data that is attached to the EBU-TT captions. INCLUDE: Take the style information from the source captions and include that information in the font data attached to the EBU-TT captions. This option is valid only if the source captions are Embedded or Teletext. EXCLUDE: Set the font family to monospaced. Do not include any other style information."
9924+
},
9925+
"DefaultFontSize": {
9926+
"shape": "__integerMin1Max800",
9927+
"locationName": "defaultFontSize",
9928+
"documentation": "Specifies the default font size as a percentage of the computed cell size. Valid only if the defaultLineHeight is also set. If you leave this field empty, the default font size is 80% of the cell size."
9929+
},
9930+
"DefaultLineHeight": {
9931+
"shape": "__integerMin80Max800",
9932+
"locationName": "defaultLineHeight",
9933+
"documentation": "Documentation update needed"
99249934
}
99259935
},
99269936
"documentation": "Ebu Tt DDestination Settings"
@@ -28445,6 +28455,18 @@
2844528455
"max": 256,
2844628456
"pattern": "^[\\S]+$",
2844728457
"documentation": "Placeholder documentation for __stringMin1Max256PatternS"
28458+
},
28459+
"__integerMin1Max800": {
28460+
"type": "integer",
28461+
"min": 1,
28462+
"max": 800,
28463+
"documentation": "Placeholder documentation for __integerMin1Max800"
28464+
},
28465+
"__integerMin80Max800": {
28466+
"type": "integer",
28467+
"min": 80,
28468+
"max": 800,
28469+
"documentation": "Placeholder documentation for __integerMin80Max800"
2844828470
}
2844928471
},
2845028472
"documentation": "API for AWS Elemental MediaLive"

0 commit comments

Comments
 (0)