#[non_exhaustive]pub struct ImscDestinationSettings {
pub accessibility: Option<ImscAccessibilitySubs>,
pub style_passthrough: Option<ImscStylePassthrough>,
}
Expand description
Settings related to IMSC captions. IMSC is a sidecar format that holds captions in a file that is separate from the video container. Set up sidecar captions in the same output group, but different output from your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/ttml-and-webvtt-output-captions.html.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.accessibility: Option<ImscAccessibilitySubs>
If the IMSC captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=“public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound” and AUTOSELECT=“YES”. For DASH manifests, MediaConvert adds the following in the adaptation set for this track:
style_passthrough: Option<ImscStylePassthrough>
Keep this setting enabled to have MediaConvert use the font style and position information from the captions source in the output. This option is available only when your input captions are IMSC, SMPTE-TT, or TTML. Disable this setting for simplified output captions.
Implementations§
source§impl ImscDestinationSettings
impl ImscDestinationSettings
sourcepub fn accessibility(&self) -> Option<&ImscAccessibilitySubs>
pub fn accessibility(&self) -> Option<&ImscAccessibilitySubs>
If the IMSC captions track is intended to provide accessibility for people who are deaf or hard of hearing: Set Accessibility subtitles to Enabled. When you do, MediaConvert adds accessibility attributes to your output HLS or DASH manifest. For HLS manifests, MediaConvert adds the following accessibility attributes under EXT-X-MEDIA for this track: CHARACTERISTICS=“public.accessibility.describes-spoken-dialog,public.accessibility.describes-music-and-sound” and AUTOSELECT=“YES”. For DASH manifests, MediaConvert adds the following in the adaptation set for this track:
sourcepub fn style_passthrough(&self) -> Option<&ImscStylePassthrough>
pub fn style_passthrough(&self) -> Option<&ImscStylePassthrough>
Keep this setting enabled to have MediaConvert use the font style and position information from the captions source in the output. This option is available only when your input captions are IMSC, SMPTE-TT, or TTML. Disable this setting for simplified output captions.
source§impl ImscDestinationSettings
impl ImscDestinationSettings
sourcepub fn builder() -> ImscDestinationSettingsBuilder
pub fn builder() -> ImscDestinationSettingsBuilder
Creates a new builder-style object to manufacture ImscDestinationSettings
.
Trait Implementations§
source§impl Clone for ImscDestinationSettings
impl Clone for ImscDestinationSettings
source§fn clone(&self) -> ImscDestinationSettings
fn clone(&self) -> ImscDestinationSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImscDestinationSettings
impl Debug for ImscDestinationSettings
source§impl PartialEq for ImscDestinationSettings
impl PartialEq for ImscDestinationSettings
source§fn eq(&self, other: &ImscDestinationSettings) -> bool
fn eq(&self, other: &ImscDestinationSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImscDestinationSettings
Auto Trait Implementations§
impl Freeze for ImscDestinationSettings
impl RefUnwindSafe for ImscDestinationSettings
impl Send for ImscDestinationSettings
impl Sync for ImscDestinationSettings
impl Unpin for ImscDestinationSettings
impl UnwindSafe for ImscDestinationSettings
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