#[non_exhaustive]pub struct DvbSubDestinationSettingsBuilder { /* private fields */ }
Expand description
A builder for DvbSubDestinationSettings
.
Implementations§
source§impl DvbSubDestinationSettingsBuilder
impl DvbSubDestinationSettingsBuilder
sourcepub fn alignment(self, input: DvbSubtitleAlignment) -> Self
pub fn alignment(self, input: DvbSubtitleAlignment) -> Self
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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_alignment(self, input: Option<DvbSubtitleAlignment>) -> Self
pub fn set_alignment(self, input: Option<DvbSubtitleAlignment>) -> Self
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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_alignment(&self) -> &Option<DvbSubtitleAlignment>
pub fn get_alignment(&self) -> &Option<DvbSubtitleAlignment>
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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn apply_font_color(self, input: DvbSubtitleApplyFontColor) -> Self
pub fn apply_font_color(self, input: DvbSubtitleApplyFontColor) -> Self
Ignore this setting unless Style Passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose 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.
sourcepub fn set_apply_font_color(
self,
input: Option<DvbSubtitleApplyFontColor>
) -> Self
pub fn set_apply_font_color( self, input: Option<DvbSubtitleApplyFontColor> ) -> Self
Ignore this setting unless Style Passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose 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.
sourcepub fn get_apply_font_color(&self) -> &Option<DvbSubtitleApplyFontColor>
pub fn get_apply_font_color(&self) -> &Option<DvbSubtitleApplyFontColor>
Ignore this setting unless Style Passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose 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.
sourcepub fn background_color(self, input: DvbSubtitleBackgroundColor) -> Self
pub fn background_color(self, input: DvbSubtitleBackgroundColor) -> Self
Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
sourcepub fn set_background_color(
self,
input: Option<DvbSubtitleBackgroundColor>
) -> Self
pub fn set_background_color( self, input: Option<DvbSubtitleBackgroundColor> ) -> Self
Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
sourcepub fn get_background_color(&self) -> &Option<DvbSubtitleBackgroundColor>
pub fn get_background_color(&self) -> &Option<DvbSubtitleBackgroundColor>
Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
sourcepub fn background_opacity(self, input: i32) -> Self
pub fn background_opacity(self, input: i32) -> Self
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 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_background_opacity(self, input: Option<i32>) -> Self
pub fn set_background_opacity(self, input: Option<i32>) -> Self
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 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_background_opacity(&self) -> &Option<i32>
pub fn get_background_opacity(&self) -> &Option<i32>
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 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn dds_handling(self, input: DvbddsHandling) -> Self
pub fn dds_handling(self, input: DvbddsHandling) -> Self
Specify how MediaConvert handles the display definition segment (DDS). To exclude the DDS from this set of captions: Keep the default, None. To include the DDS: Choose Specified. When you do, also specify the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate. To include the DDS, but not include display window data: Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn’t include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must match.
sourcepub fn set_dds_handling(self, input: Option<DvbddsHandling>) -> Self
pub fn set_dds_handling(self, input: Option<DvbddsHandling>) -> Self
Specify how MediaConvert handles the display definition segment (DDS). To exclude the DDS from this set of captions: Keep the default, None. To include the DDS: Choose Specified. When you do, also specify the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate. To include the DDS, but not include display window data: Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn’t include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must match.
sourcepub fn get_dds_handling(&self) -> &Option<DvbddsHandling>
pub fn get_dds_handling(&self) -> &Option<DvbddsHandling>
Specify how MediaConvert handles the display definition segment (DDS). To exclude the DDS from this set of captions: Keep the default, None. To include the DDS: Choose Specified. When you do, also specify the offset coordinates of the display window with DDS x-coordinate and DDS y-coordinate. To include the DDS, but not include display window data: Choose No display window. When you do, you can write position metadata to the page composition segment (PCS) with DDS x-coordinate and DDS y-coordinate. For video resolutions with a height of 576 pixels or less, MediaConvert doesn’t include the DDS, regardless of the value you choose for DDS handling. All burn-in and DVB-Sub font settings must match.
sourcepub fn dds_x_coordinate(self, input: i32) -> Self
pub fn dds_x_coordinate(self, input: i32) -> Self
Use this setting, along with DDS y-coordinate, to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the left side of the frame and the left side of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling to a value other than None. MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment. All burn-in and DVB-Sub font settings must match.
sourcepub fn set_dds_x_coordinate(self, input: Option<i32>) -> Self
pub fn set_dds_x_coordinate(self, input: Option<i32>) -> Self
Use this setting, along with DDS y-coordinate, to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the left side of the frame and the left side of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling to a value other than None. MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment. All burn-in and DVB-Sub font settings must match.
sourcepub fn get_dds_x_coordinate(&self) -> &Option<i32>
pub fn get_dds_x_coordinate(&self) -> &Option<i32>
Use this setting, along with DDS y-coordinate, to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the left side of the frame and the left side of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling to a value other than None. MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment. All burn-in and DVB-Sub font settings must match.
sourcepub fn dds_y_coordinate(self, input: i32) -> Self
pub fn dds_y_coordinate(self, input: i32) -> Self
Use this setting, along with DDS x-coordinate, to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the top of the frame and the top of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling to a value other than None. MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment (PCS). All burn-in and DVB-Sub font settings must match.
sourcepub fn set_dds_y_coordinate(self, input: Option<i32>) -> Self
pub fn set_dds_y_coordinate(self, input: Option<i32>) -> Self
Use this setting, along with DDS x-coordinate, to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the top of the frame and the top of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling to a value other than None. MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment (PCS). All burn-in and DVB-Sub font settings must match.
sourcepub fn get_dds_y_coordinate(&self) -> &Option<i32>
pub fn get_dds_y_coordinate(&self) -> &Option<i32>
Use this setting, along with DDS x-coordinate, to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the top of the frame and the top of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling to a value other than None. MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment (PCS). All burn-in and DVB-Sub font settings must match.
sourcepub fn fallback_font(self, input: DvbSubSubtitleFallbackFont) -> Self
pub fn fallback_font(self, input: DvbSubSubtitleFallbackFont) -> Self
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 to 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.
sourcepub fn set_fallback_font(
self,
input: Option<DvbSubSubtitleFallbackFont>
) -> Self
pub fn set_fallback_font( self, input: Option<DvbSubSubtitleFallbackFont> ) -> Self
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 to 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.
sourcepub fn get_fallback_font(&self) -> &Option<DvbSubSubtitleFallbackFont>
pub fn get_fallback_font(&self) -> &Option<DvbSubSubtitleFallbackFont>
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 to 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.
sourcepub fn font_color(self, input: DvbSubtitleFontColor) -> Self
pub fn font_color(self, input: DvbSubtitleFontColor) -> Self
Specify the color of the captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_font_color(self, input: Option<DvbSubtitleFontColor>) -> Self
pub fn set_font_color(self, input: Option<DvbSubtitleFontColor>) -> Self
Specify the color of the captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_font_color(&self) -> &Option<DvbSubtitleFontColor>
pub fn get_font_color(&self) -> &Option<DvbSubtitleFontColor>
Specify the color of the captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn font_file_bold(self, input: impl Into<String>) -> Self
pub fn font_file_bold(self, input: impl Into<String>) -> Self
Specify a bold TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, an italic, and a bold italic font file.
sourcepub fn set_font_file_bold(self, input: Option<String>) -> Self
pub fn set_font_file_bold(self, input: Option<String>) -> Self
Specify a bold TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, an italic, and a bold italic font file.
sourcepub fn get_font_file_bold(&self) -> &Option<String>
pub fn get_font_file_bold(&self) -> &Option<String>
Specify a bold TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, an italic, and a bold italic font file.
sourcepub fn font_file_bold_italic(self, input: impl Into<String>) -> Self
pub fn font_file_bold_italic(self, input: impl Into<String>) -> Self
Specify a bold italic TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, a bold, and an italic font file.
sourcepub fn set_font_file_bold_italic(self, input: Option<String>) -> Self
pub fn set_font_file_bold_italic(self, input: Option<String>) -> Self
Specify a bold italic TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, a bold, and an italic font file.
sourcepub fn get_font_file_bold_italic(&self) -> &Option<String>
pub fn get_font_file_bold_italic(&self) -> &Option<String>
Specify a bold italic TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, a bold, and an italic font file.
sourcepub fn font_file_italic(self, input: impl Into<String>) -> Self
pub fn font_file_italic(self, input: impl Into<String>) -> Self
Specify an italic TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, a bold, and a bold italic font file.
sourcepub fn set_font_file_italic(self, input: Option<String>) -> Self
pub fn set_font_file_italic(self, input: Option<String>) -> Self
Specify an italic TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, a bold, and a bold italic font file.
sourcepub fn get_font_file_italic(&self) -> &Option<String>
pub fn get_font_file_italic(&self) -> &Option<String>
Specify an italic TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a regular, a bold, and a bold italic font file.
sourcepub fn font_file_regular(self, input: impl Into<String>) -> Self
pub fn font_file_regular(self, input: impl Into<String>) -> Self
Specify a regular TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a bold, an italic, and a bold italic font file.
sourcepub fn set_font_file_regular(self, input: Option<String>) -> Self
pub fn set_font_file_regular(self, input: Option<String>) -> Self
Specify a regular TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a bold, an italic, and a bold italic font file.
sourcepub fn get_font_file_regular(&self) -> &Option<String>
pub fn get_font_file_regular(&self) -> &Option<String>
Specify a regular TrueType font file to use when rendering your output captions. Enter an S3, HTTP, or HTTPS URL. When you do, you must also separately specify a bold, an italic, and a bold italic font file.
sourcepub fn font_opacity(self, input: i32) -> Self
pub fn font_opacity(self, input: i32) -> Self
Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_font_opacity(self, input: Option<i32>) -> Self
pub fn set_font_opacity(self, input: Option<i32>) -> Self
Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_font_opacity(&self) -> &Option<i32>
pub fn get_font_opacity(&self) -> &Option<i32>
Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn font_resolution(self, input: i32) -> Self
pub fn font_resolution(self, input: i32) -> Self
Specify the Font resolution in DPI (dots per inch). Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_font_resolution(self, input: Option<i32>) -> Self
pub fn set_font_resolution(self, input: Option<i32>) -> Self
Specify the Font resolution in DPI (dots per inch). Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_font_resolution(&self) -> &Option<i32>
pub fn get_font_resolution(&self) -> &Option<i32>
Specify the Font resolution in DPI (dots per inch). Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn font_script(self, input: FontScript) -> Self
pub fn font_script(self, input: FontScript) -> Self
Set Font script to Automatically determined, 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_font_script(self, input: Option<FontScript>) -> Self
pub fn set_font_script(self, input: Option<FontScript>) -> Self
Set Font script to Automatically determined, 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_font_script(&self) -> &Option<FontScript>
pub fn get_font_script(&self) -> &Option<FontScript>
Set Font script to Automatically determined, 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn font_size(self, input: i32) -> Self
pub fn font_size(self, input: i32) -> Self
Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_font_size(self, input: Option<i32>) -> Self
pub fn set_font_size(self, input: Option<i32>) -> Self
Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_font_size(&self) -> &Option<i32>
pub fn get_font_size(&self) -> &Option<i32>
Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn height(self, input: i32) -> Self
pub fn height(self, input: i32) -> Self
Specify the height, in pixels, of this set of DVB-Sub captions. The default value is 576 pixels. Related setting: When you use this setting, you must set DDS handling to a value other than None. All burn-in and DVB-Sub font settings must match.
sourcepub fn set_height(self, input: Option<i32>) -> Self
pub fn set_height(self, input: Option<i32>) -> Self
Specify the height, in pixels, of this set of DVB-Sub captions. The default value is 576 pixels. Related setting: When you use this setting, you must set DDS handling to a value other than None. All burn-in and DVB-Sub font settings must match.
sourcepub fn get_height(&self) -> &Option<i32>
pub fn get_height(&self) -> &Option<i32>
Specify the height, in pixels, of this set of DVB-Sub captions. The default value is 576 pixels. Related setting: When you use this setting, you must set DDS handling to a value other than None. All burn-in and DVB-Sub font settings must match.
sourcepub fn hex_font_color(self, input: impl Into<String>) -> Self
pub fn hex_font_color(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_hex_font_color(self, input: Option<String>) -> Self
pub fn set_hex_font_color(self, input: Option<String>) -> Self
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.
sourcepub fn get_hex_font_color(&self) -> &Option<String>
pub fn get_hex_font_color(&self) -> &Option<String>
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.
sourcepub fn outline_color(self, input: DvbSubtitleOutlineColor) -> Self
pub fn outline_color(self, input: DvbSubtitleOutlineColor) -> Self
Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_outline_color(self, input: Option<DvbSubtitleOutlineColor>) -> Self
pub fn set_outline_color(self, input: Option<DvbSubtitleOutlineColor>) -> Self
Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_outline_color(&self) -> &Option<DvbSubtitleOutlineColor>
pub fn get_outline_color(&self) -> &Option<DvbSubtitleOutlineColor>
Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn outline_size(self, input: i32) -> Self
pub fn outline_size(self, input: i32) -> Self
Specify the Outline size of the caption text, in pixels. Leave Outline size blank and set Style passthrough to enabled to use the outline size data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_outline_size(self, input: Option<i32>) -> Self
pub fn set_outline_size(self, input: Option<i32>) -> Self
Specify the Outline size of the caption text, in pixels. Leave Outline size blank and set Style passthrough to enabled to use the outline size data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_outline_size(&self) -> &Option<i32>
pub fn get_outline_size(&self) -> &Option<i32>
Specify the Outline size of the caption text, in pixels. Leave Outline size blank and set Style passthrough to enabled to use the outline size data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn shadow_color(self, input: DvbSubtitleShadowColor) -> Self
pub fn shadow_color(self, input: DvbSubtitleShadowColor) -> Self
Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_shadow_color(self, input: Option<DvbSubtitleShadowColor>) -> Self
pub fn set_shadow_color(self, input: Option<DvbSubtitleShadowColor>) -> Self
Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_shadow_color(&self) -> &Option<DvbSubtitleShadowColor>
pub fn get_shadow_color(&self) -> &Option<DvbSubtitleShadowColor>
Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn shadow_opacity(self, input: i32) -> Self
pub fn shadow_opacity(self, input: i32) -> Self
Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to Enabled, leave Shadow opacity 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_shadow_opacity(self, input: Option<i32>) -> Self
pub fn set_shadow_opacity(self, input: Option<i32>) -> Self
Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to Enabled, leave Shadow opacity 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_shadow_opacity(&self) -> &Option<i32>
pub fn get_shadow_opacity(&self) -> &Option<i32>
Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to Enabled, leave Shadow opacity 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn shadow_x_offset(self, input: i32) -> Self
pub fn shadow_x_offset(self, input: i32) -> Self
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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_shadow_x_offset(self, input: Option<i32>) -> Self
pub fn set_shadow_x_offset(self, input: Option<i32>) -> Self
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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_shadow_x_offset(&self) -> &Option<i32>
pub fn get_shadow_x_offset(&self) -> &Option<i32>
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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn shadow_y_offset(self, input: i32) -> Self
pub fn shadow_y_offset(self, input: i32) -> Self
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 blank and set Style passthrough to enabled to use the shadow y-offset data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_shadow_y_offset(self, input: Option<i32>) -> Self
pub fn set_shadow_y_offset(self, input: Option<i32>) -> Self
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 blank and set Style passthrough to enabled to use the shadow y-offset data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_shadow_y_offset(&self) -> &Option<i32>
pub fn get_shadow_y_offset(&self) -> &Option<i32>
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 blank and set Style passthrough to enabled to use the shadow y-offset data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn style_passthrough(self, input: DvbSubtitleStylePassthrough) -> Self
pub fn style_passthrough(self, input: DvbSubtitleStylePassthrough) -> Self
To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. Note that MediaConvert uses default settings for any missing style or position information in your input captions To ignore the style and position information from your input captions and use default settings: Leave blank or keep the default value, Disabled. Default settings include 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. You can also override any fonts by manually specifying custom font files.
sourcepub fn set_style_passthrough(
self,
input: Option<DvbSubtitleStylePassthrough>
) -> Self
pub fn set_style_passthrough( self, input: Option<DvbSubtitleStylePassthrough> ) -> Self
To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. Note that MediaConvert uses default settings for any missing style or position information in your input captions To ignore the style and position information from your input captions and use default settings: Leave blank or keep the default value, Disabled. Default settings include 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. You can also override any fonts by manually specifying custom font files.
sourcepub fn get_style_passthrough(&self) -> &Option<DvbSubtitleStylePassthrough>
pub fn get_style_passthrough(&self) -> &Option<DvbSubtitleStylePassthrough>
To use the available style, color, and position information from your input captions: Set Style passthrough to Enabled. Note that MediaConvert uses default settings for any missing style or position information in your input captions To ignore the style and position information from your input captions and use default settings: Leave blank or keep the default value, Disabled. Default settings include 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. You can also override any fonts by manually specifying custom font files.
sourcepub fn subtitling_type(self, input: DvbSubtitlingType) -> Self
pub fn subtitling_type(self, input: DvbSubtitlingType) -> Self
Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue.
sourcepub fn set_subtitling_type(self, input: Option<DvbSubtitlingType>) -> Self
pub fn set_subtitling_type(self, input: Option<DvbSubtitlingType>) -> Self
Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue.
sourcepub fn get_subtitling_type(&self) -> &Option<DvbSubtitlingType>
pub fn get_subtitling_type(&self) -> &Option<DvbSubtitlingType>
Specify whether your DVB subtitles are standard or for hearing impaired. Choose hearing impaired if your subtitles include audio descriptions and dialogue. Choose standard if your subtitles include only dialogue.
sourcepub fn teletext_spacing(self, input: DvbSubtitleTeletextSpacing) -> Self
pub fn teletext_spacing(self, input: DvbSubtitleTeletextSpacing) -> Self
Specify whether the Text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_teletext_spacing(
self,
input: Option<DvbSubtitleTeletextSpacing>
) -> Self
pub fn set_teletext_spacing( self, input: Option<DvbSubtitleTeletextSpacing> ) -> Self
Specify whether the Text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_teletext_spacing(&self) -> &Option<DvbSubtitleTeletextSpacing>
pub fn get_teletext_spacing(&self) -> &Option<DvbSubtitleTeletextSpacing>
Specify whether the Text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn width(self, input: i32) -> Self
pub fn width(self, input: i32) -> Self
Specify the width, in pixels, of this set of DVB-Sub captions. The default value is 720 pixels. Related setting: When you use this setting, you must set DDS handling to a value other than None. All burn-in and DVB-Sub font settings must match.
sourcepub fn set_width(self, input: Option<i32>) -> Self
pub fn set_width(self, input: Option<i32>) -> Self
Specify the width, in pixels, of this set of DVB-Sub captions. The default value is 720 pixels. Related setting: When you use this setting, you must set DDS handling to a value other than None. All burn-in and DVB-Sub font settings must match.
sourcepub fn get_width(&self) -> &Option<i32>
pub fn get_width(&self) -> &Option<i32>
Specify the width, in pixels, of this set of DVB-Sub captions. The default value is 720 pixels. Related setting: When you use this setting, you must set DDS handling to a value other than None. All burn-in and DVB-Sub font settings must match.
sourcepub fn x_position(self, input: i32) -> Self
pub fn x_position(self, input: i32) -> Self
Specify the horizontal position 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_x_position(self, input: Option<i32>) -> Self
pub fn set_x_position(self, input: Option<i32>) -> Self
Specify the horizontal position 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_x_position(&self) -> &Option<i32>
pub fn get_x_position(&self) -> &Option<i32>
Specify the horizontal position 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn y_position(self, input: i32) -> Self
pub fn y_position(self, input: i32) -> Self
Specify the vertical position 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn set_y_position(self, input: Option<i32>) -> Self
pub fn set_y_position(self, input: Option<i32>) -> Self
Specify the vertical position 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn get_y_position(&self) -> &Option<i32>
pub fn get_y_position(&self) -> &Option<i32>
Specify the vertical position 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. Within your job settings, all of your DVB-Sub settings must be identical.
sourcepub fn build(self) -> DvbSubDestinationSettings
pub fn build(self) -> DvbSubDestinationSettings
Consumes the builder and constructs a DvbSubDestinationSettings
.
Trait Implementations§
source§impl Clone for DvbSubDestinationSettingsBuilder
impl Clone for DvbSubDestinationSettingsBuilder
source§fn clone(&self) -> DvbSubDestinationSettingsBuilder
fn clone(&self) -> DvbSubDestinationSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DvbSubDestinationSettingsBuilder
impl Default for DvbSubDestinationSettingsBuilder
source§fn default() -> DvbSubDestinationSettingsBuilder
fn default() -> DvbSubDestinationSettingsBuilder
source§impl PartialEq for DvbSubDestinationSettingsBuilder
impl PartialEq for DvbSubDestinationSettingsBuilder
source§fn eq(&self, other: &DvbSubDestinationSettingsBuilder) -> bool
fn eq(&self, other: &DvbSubDestinationSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DvbSubDestinationSettingsBuilder
Auto Trait Implementations§
impl Freeze for DvbSubDestinationSettingsBuilder
impl RefUnwindSafe for DvbSubDestinationSettingsBuilder
impl Send for DvbSubDestinationSettingsBuilder
impl Sync for DvbSubDestinationSettingsBuilder
impl Unpin for DvbSubDestinationSettingsBuilder
impl UnwindSafe for DvbSubDestinationSettingsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more