Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BurninDestinationSettings = BurninDestinationSettings' {
- backgroundOpacity :: Maybe Natural
- fallbackFont :: Maybe BurninSubtitleFallbackFont
- fontOpacity :: Maybe Natural
- shadowYOffset :: Maybe Int
- fontResolution :: Maybe Natural
- yPosition :: Maybe Natural
- backgroundColor :: Maybe BurninSubtitleBackgroundColor
- shadowXOffset :: Maybe Int
- fontSize :: Maybe Natural
- xPosition :: Maybe Natural
- teletextSpacing :: Maybe BurninSubtitleTeletextSpacing
- fontScript :: Maybe FontScript
- alignment :: Maybe BurninSubtitleAlignment
- shadowOpacity :: Maybe Natural
- applyFontColor :: Maybe BurninSubtitleApplyFontColor
- stylePassthrough :: Maybe BurnInSubtitleStylePassthrough
- outlineColor :: Maybe BurninSubtitleOutlineColor
- outlineSize :: Maybe Natural
- shadowColor :: Maybe BurninSubtitleShadowColor
- hexFontColor :: Maybe Text
- fontColor :: Maybe BurninSubtitleFontColor
- newBurninDestinationSettings :: BurninDestinationSettings
- burninDestinationSettings_backgroundOpacity :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_fallbackFont :: Lens' BurninDestinationSettings (Maybe BurninSubtitleFallbackFont)
- burninDestinationSettings_fontOpacity :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_shadowYOffset :: Lens' BurninDestinationSettings (Maybe Int)
- burninDestinationSettings_fontResolution :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_yPosition :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_backgroundColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleBackgroundColor)
- burninDestinationSettings_shadowXOffset :: Lens' BurninDestinationSettings (Maybe Int)
- burninDestinationSettings_fontSize :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_xPosition :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_teletextSpacing :: Lens' BurninDestinationSettings (Maybe BurninSubtitleTeletextSpacing)
- burninDestinationSettings_fontScript :: Lens' BurninDestinationSettings (Maybe FontScript)
- burninDestinationSettings_alignment :: Lens' BurninDestinationSettings (Maybe BurninSubtitleAlignment)
- burninDestinationSettings_shadowOpacity :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_applyFontColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleApplyFontColor)
- burninDestinationSettings_stylePassthrough :: Lens' BurninDestinationSettings (Maybe BurnInSubtitleStylePassthrough)
- burninDestinationSettings_outlineColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleOutlineColor)
- burninDestinationSettings_outlineSize :: Lens' BurninDestinationSettings (Maybe Natural)
- burninDestinationSettings_shadowColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleShadowColor)
- burninDestinationSettings_hexFontColor :: Lens' BurninDestinationSettings (Maybe Text)
- burninDestinationSettings_fontColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleFontColor)
Documentation
data BurninDestinationSettings Source #
Burn-in is a captions delivery method, rather than a captions format. Burn-in writes the captions directly on your video frames, replacing pixels of video content with the captions. Set up burn-in captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/burn-in-output-captions.html. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to BURN_IN.
See: newBurninDestinationSettings
smart constructor.
BurninDestinationSettings' | |
|
Instances
newBurninDestinationSettings :: BurninDestinationSettings Source #
Create a value of BurninDestinationSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:backgroundOpacity:BurninDestinationSettings'
, burninDestinationSettings_backgroundOpacity
- Specify the opacity of the background rectangle. Enter a value from 0 to
255, where 0 is transparent and 255 is opaque. If Style passthrough
(StylePassthrough) is set to enabled, leave blank to pass through the
background style information in your input captions to your output
captions. If Style passthrough is set to disabled, leave blank to use a
value of 0 and remove all backgrounds from your output captions.
$sel:fallbackFont:BurninDestinationSettings'
, burninDestinationSettings_fallbackFont
- Specify the font that you want the service to use for your burn in
captions when your input captions specify a font that MediaConvert
doesn't support. When you set Fallback font (FallbackFont) to best
match (BEST_MATCH), or leave blank, MediaConvert uses a supported font
that most closely matches the font that your input captions specify.
When there are multiple unsupported fonts in your input captions,
MediaConvert matches each font with the supported font that matches
best. When you explicitly choose a replacement font, MediaConvert uses
that font to replace all unsupported fonts from your input.
$sel:fontOpacity:BurninDestinationSettings'
, burninDestinationSettings_fontOpacity
- Specify the opacity of the burned-in captions. 255 is opaque; 0 is
transparent.
$sel:shadowYOffset:BurninDestinationSettings'
, burninDestinationSettings_shadowYOffset
- Specify the vertical offset of the shadow relative to the captions in
pixels. A value of -2 would result in a shadow offset 2 pixels above the
text. Leave Shadow y-offset (ShadowYOffset) blank and set Style
passthrough (StylePassthrough) to enabled to use the shadow y-offset
data from your input captions, if present.
$sel:fontResolution:BurninDestinationSettings'
, burninDestinationSettings_fontResolution
- Specify the Font resolution (FontResolution) in DPI (dots per inch).
$sel:yPosition:BurninDestinationSettings'
, burninDestinationSettings_yPosition
- Specify the vertical position (YPosition) of the captions, relative to
the top of the output in pixels. A value of 10 would result in the
captions starting 10 pixels from the top of the output. If no explicit
y_position is provided, the caption will be positioned towards the
bottom of the output.
$sel:backgroundColor:BurninDestinationSettings'
, burninDestinationSettings_backgroundColor
- Specify the color of the rectangle behind the captions. Leave background
color (BackgroundColor) blank and set Style passthrough
(StylePassthrough) to enabled to use the background color data from your
input captions, if present. Within your job settings, all of your
DVB-Sub settings must be identical.
$sel:shadowXOffset:BurninDestinationSettings'
, burninDestinationSettings_shadowXOffset
- Specify the horizontal offset of the shadow, relative to the captions in
pixels. A value of -2 would result in a shadow offset 2 pixels to the
left.
$sel:fontSize:BurninDestinationSettings'
, burninDestinationSettings_fontSize
- Specify the Font size (FontSize) in pixels. Must be a positive integer.
Set to 0, or leave blank, for automatic font size.
$sel:xPosition:BurninDestinationSettings'
, burninDestinationSettings_xPosition
- Specify the horizontal position (XPosition) of the captions, relative to
the left side of the output in pixels. A value of 10 would result in the
captions starting 10 pixels from the left of the output. If no explicit
x_position is provided, the horizontal caption position will be
determined by the alignment parameter.
$sel:teletextSpacing:BurninDestinationSettings'
, burninDestinationSettings_teletextSpacing
- Specify whether the text spacing (TeletextSpacing) in your captions is
set by the captions grid, or varies depending on letter width. Choose
fixed grid (FIXED_GRID) to conform to the spacing specified in the
captions file more accurately. Choose proportional (PROPORTIONAL) to
make the text easier to read for closed captions.
$sel:fontScript:BurninDestinationSettings'
, burninDestinationSettings_fontScript
- Set Font script (FontScript) to Automatically determined (AUTOMATIC), or
leave blank, to automatically determine the font script in your input
captions. Otherwise, set to Simplified Chinese (HANS) or Traditional
Chinese (HANT) if your input font script uses Simplified or Traditional
Chinese.
$sel:alignment:BurninDestinationSettings'
, burninDestinationSettings_alignment
- Specify the alignment of your captions. If no explicit x_position is
provided, setting alignment to centered will placethe captions at the
bottom center of the output. Similarly, setting a left alignment
willalign captions to the bottom left of the output. If x and y
positions are given in conjunction with the alignment parameter, the
font will be justified (either left or centered) relative to those
coordinates.
$sel:shadowOpacity:BurninDestinationSettings'
, burninDestinationSettings_shadowOpacity
- Specify the opacity of the shadow. Enter a value from 0 to 255, where 0
is transparent and 255 is opaque. If Style passthrough
(StylePassthrough) is set to Enabled, leave Shadow opacity
(ShadowOpacity) blank to pass through the shadow style information in
your input captions to your output captions. If Style passthrough is set
to disabled, leave blank to use a value of 0 and remove all shadows from
your output captions.
$sel:applyFontColor:BurninDestinationSettings'
, burninDestinationSettings_applyFontColor
- Ignore this setting unless Style passthrough (StylePassthrough) is set
to Enabled and Font color (FontColor) set to Black, Yellow, Red, Green,
Blue, or Hex. Use Apply font color (ApplyFontColor) for additional font
color controls. When you choose White text only (WHITE_TEXT_ONLY), or
leave blank, your font color setting only applies to white text in your
input captions. For example, if your font color setting is Yellow, and
your input captions have red and white text, your output captions will
have red and yellow text. When you choose ALL_TEXT, your font color
setting applies to all of your output captions text.
$sel:stylePassthrough:BurninDestinationSettings'
, burninDestinationSettings_stylePassthrough
- Set Style passthrough (StylePassthrough) to ENABLED to use the available
style, color, and position information from your input captions.
MediaConvert uses default settings for any missing style and position
information in your input captions. Set Style passthrough to DISABLED,
or leave blank, to ignore the style and position information from your
input captions and use default settings: white text with black
outlining, bottom-center positioning, and automatic sizing. Whether you
set Style passthrough to enabled or not, you can also choose to manually
override any of the individual style and position settings.
$sel:outlineColor:BurninDestinationSettings'
, burninDestinationSettings_outlineColor
- Specify font outline color. Leave Outline color (OutlineColor) blank and
set Style passthrough (StylePassthrough) to enabled to use the font
outline color data from your input captions, if present.
$sel:outlineSize:BurninDestinationSettings'
, burninDestinationSettings_outlineSize
- Specify the Outline size (OutlineSize) of the caption text, in pixels.
Leave Outline size blank and set Style passthrough (StylePassthrough) to
enabled to use the outline size data from your input captions, if
present.
$sel:shadowColor:BurninDestinationSettings'
, burninDestinationSettings_shadowColor
- Specify the color of the shadow cast by the captions. Leave Shadow color
(ShadowColor) blank and set Style passthrough (StylePassthrough) to
enabled to use the shadow color data from your input captions, if
present.
$sel:hexFontColor:BurninDestinationSettings'
, burninDestinationSettings_hexFontColor
- Ignore this setting unless your Font color is set to Hex. Enter either
six or eight hexidecimal digits, representing red, green, and blue, with
two optional extra digits for alpha. For example a value of 1122AABB is
a red value of 0x11, a green value of 0x22, a blue value of 0xAA, and an
alpha value of 0xBB.
$sel:fontColor:BurninDestinationSettings'
, burninDestinationSettings_fontColor
- Specify the color of the burned-in captions text. Leave Font color
(FontColor) blank and set Style passthrough (StylePassthrough) to
enabled to use the font color data from your input captions, if present.
burninDestinationSettings_backgroundOpacity :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough (StylePassthrough) is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all backgrounds from your output captions.
burninDestinationSettings_fallbackFont :: Lens' BurninDestinationSettings (Maybe BurninSubtitleFallbackFont) Source #
Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you set Fallback font (FallbackFont) to best match (BEST_MATCH), or leave blank, MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.
burninDestinationSettings_fontOpacity :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent.
burninDestinationSettings_shadowYOffset :: Lens' BurninDestinationSettings (Maybe Int) Source #
Specify the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. Leave Shadow y-offset (ShadowYOffset) blank and set Style passthrough (StylePassthrough) to enabled to use the shadow y-offset data from your input captions, if present.
burninDestinationSettings_fontResolution :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the Font resolution (FontResolution) in DPI (dots per inch).
burninDestinationSettings_yPosition :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the vertical position (YPosition) of the captions, relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output.
burninDestinationSettings_backgroundColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleBackgroundColor) Source #
Specify the color of the rectangle behind the captions. Leave background color (BackgroundColor) blank and set Style passthrough (StylePassthrough) to enabled to use the background color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
burninDestinationSettings_shadowXOffset :: Lens' BurninDestinationSettings (Maybe Int) Source #
Specify the horizontal offset of the shadow, relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left.
burninDestinationSettings_fontSize :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the Font size (FontSize) in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size.
burninDestinationSettings_xPosition :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the horizontal position (XPosition) of the captions, relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter.
burninDestinationSettings_teletextSpacing :: Lens' BurninDestinationSettings (Maybe BurninSubtitleTeletextSpacing) Source #
Specify whether the text spacing (TeletextSpacing) in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid (FIXED_GRID) to conform to the spacing specified in the captions file more accurately. Choose proportional (PROPORTIONAL) to make the text easier to read for closed captions.
burninDestinationSettings_fontScript :: Lens' BurninDestinationSettings (Maybe FontScript) Source #
Set Font script (FontScript) to Automatically determined (AUTOMATIC), or leave blank, to automatically determine the font script in your input captions. Otherwise, set to Simplified Chinese (HANS) or Traditional Chinese (HANT) if your input font script uses Simplified or Traditional Chinese.
burninDestinationSettings_alignment :: Lens' BurninDestinationSettings (Maybe BurninSubtitleAlignment) Source #
Specify the alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates.
burninDestinationSettings_shadowOpacity :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough (StylePassthrough) is set to Enabled, leave Shadow opacity (ShadowOpacity) blank to pass through the shadow style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all shadows from your output captions.
burninDestinationSettings_applyFontColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleApplyFontColor) Source #
Ignore this setting unless Style passthrough (StylePassthrough) is set to Enabled and Font color (FontColor) set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color (ApplyFontColor) for additional font color controls. When you choose White text only (WHITE_TEXT_ONLY), or leave blank, your font color setting only applies to white text in your input captions. For example, if your font color setting is Yellow, and your input captions have red and white text, your output captions will have red and yellow text. When you choose ALL_TEXT, your font color setting applies to all of your output captions text.
burninDestinationSettings_stylePassthrough :: Lens' BurninDestinationSettings (Maybe BurnInSubtitleStylePassthrough) Source #
Set Style passthrough (StylePassthrough) to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual style and position settings.
burninDestinationSettings_outlineColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleOutlineColor) Source #
Specify font outline color. Leave Outline color (OutlineColor) blank and set Style passthrough (StylePassthrough) to enabled to use the font outline color data from your input captions, if present.
burninDestinationSettings_outlineSize :: Lens' BurninDestinationSettings (Maybe Natural) Source #
Specify the Outline size (OutlineSize) of the caption text, in pixels. Leave Outline size blank and set Style passthrough (StylePassthrough) to enabled to use the outline size data from your input captions, if present.
burninDestinationSettings_shadowColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleShadowColor) Source #
Specify the color of the shadow cast by the captions. Leave Shadow color (ShadowColor) blank and set Style passthrough (StylePassthrough) to enabled to use the shadow color data from your input captions, if present.
burninDestinationSettings_hexFontColor :: Lens' BurninDestinationSettings (Maybe Text) Source #
Ignore this setting unless your Font color is set to Hex. Enter either six or eight hexidecimal digits, representing red, green, and blue, with two optional extra digits for alpha. For example a value of 1122AABB is a red value of 0x11, a green value of 0x22, a blue value of 0xAA, and an alpha value of 0xBB.
burninDestinationSettings_fontColor :: Lens' BurninDestinationSettings (Maybe BurninSubtitleFontColor) Source #
Specify the color of the burned-in captions text. Leave Font color (FontColor) blank and set Style passthrough (StylePassthrough) to enabled to use the font color data from your input captions, if present.