#[non_exhaustive]pub struct CaptionDestinationSettings {
pub burnin_destination_settings: Option<BurninDestinationSettings>,
pub destination_type: Option<CaptionDestinationType>,
pub dvb_sub_destination_settings: Option<DvbSubDestinationSettings>,
pub embedded_destination_settings: Option<EmbeddedDestinationSettings>,
pub imsc_destination_settings: Option<ImscDestinationSettings>,
pub scc_destination_settings: Option<SccDestinationSettings>,
pub srt_destination_settings: Option<SrtDestinationSettings>,
pub teletext_destination_settings: Option<TeletextDestinationSettings>,
pub ttml_destination_settings: Option<TtmlDestinationSettings>,
pub webvtt_destination_settings: Option<WebvttDestinationSettings>,
}
Expand description
Settings related to one captions tab on the MediaConvert console. Usually, one captions tab corresponds to one output captions track. Depending on your output captions format, one tab might correspond to a set of output captions tracks. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/including-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.burnin_destination_settings: Option<BurninDestinationSettings>
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.
destination_type: Option<CaptionDestinationType>
Specify the format for this set of captions on this output. The default format is embedded without SCTE-20. Note that your choice of video output container constrains your choice of output captions format. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/captions-support-tables.html. If you are using SCTE-20 and you want to create an output that complies with the SCTE-43 spec, choose SCTE-20 plus embedded. To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20.
dvb_sub_destination_settings: Option<DvbSubDestinationSettings>
Settings related to DVB-Sub captions. Set up DVB-Sub captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/dvb-sub-output-captions.html.
embedded_destination_settings: Option<EmbeddedDestinationSettings>
Settings related to CEA/EIA-608 and CEA/EIA-708 (also called embedded or ancillary) captions. Set up embedded captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/embedded-output-captions.html.
imsc_destination_settings: Option<ImscDestinationSettings>
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.
scc_destination_settings: Option<SccDestinationSettings>
Settings related to SCC captions. SCC 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/scc-srt-output-captions.html.
srt_destination_settings: Option<SrtDestinationSettings>
Settings related to SRT captions. SRT 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.
teletext_destination_settings: Option<TeletextDestinationSettings>
Settings related to teletext captions. Set up teletext captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/teletext-output-captions.html.
ttml_destination_settings: Option<TtmlDestinationSettings>
Settings related to TTML captions. TTML 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.
webvtt_destination_settings: Option<WebvttDestinationSettings>
Settings related to WebVTT captions. WebVTT 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.
Implementations§
source§impl CaptionDestinationSettings
impl CaptionDestinationSettings
sourcepub fn burnin_destination_settings(&self) -> Option<&BurninDestinationSettings>
pub fn burnin_destination_settings(&self) -> Option<&BurninDestinationSettings>
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.
sourcepub fn destination_type(&self) -> Option<&CaptionDestinationType>
pub fn destination_type(&self) -> Option<&CaptionDestinationType>
Specify the format for this set of captions on this output. The default format is embedded without SCTE-20. Note that your choice of video output container constrains your choice of output captions format. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/captions-support-tables.html. If you are using SCTE-20 and you want to create an output that complies with the SCTE-43 spec, choose SCTE-20 plus embedded. To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20.
sourcepub fn dvb_sub_destination_settings(&self) -> Option<&DvbSubDestinationSettings>
pub fn dvb_sub_destination_settings(&self) -> Option<&DvbSubDestinationSettings>
Settings related to DVB-Sub captions. Set up DVB-Sub captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/dvb-sub-output-captions.html.
sourcepub fn embedded_destination_settings(
&self
) -> Option<&EmbeddedDestinationSettings>
pub fn embedded_destination_settings( &self ) -> Option<&EmbeddedDestinationSettings>
Settings related to CEA/EIA-608 and CEA/EIA-708 (also called embedded or ancillary) captions. Set up embedded captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/embedded-output-captions.html.
sourcepub fn imsc_destination_settings(&self) -> Option<&ImscDestinationSettings>
pub fn imsc_destination_settings(&self) -> Option<&ImscDestinationSettings>
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.
sourcepub fn scc_destination_settings(&self) -> Option<&SccDestinationSettings>
pub fn scc_destination_settings(&self) -> Option<&SccDestinationSettings>
Settings related to SCC captions. SCC 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/scc-srt-output-captions.html.
sourcepub fn srt_destination_settings(&self) -> Option<&SrtDestinationSettings>
pub fn srt_destination_settings(&self) -> Option<&SrtDestinationSettings>
Settings related to SRT captions. SRT 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.
sourcepub fn teletext_destination_settings(
&self
) -> Option<&TeletextDestinationSettings>
pub fn teletext_destination_settings( &self ) -> Option<&TeletextDestinationSettings>
Settings related to teletext captions. Set up teletext captions in the same output as your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/teletext-output-captions.html.
sourcepub fn ttml_destination_settings(&self) -> Option<&TtmlDestinationSettings>
pub fn ttml_destination_settings(&self) -> Option<&TtmlDestinationSettings>
Settings related to TTML captions. TTML 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.
sourcepub fn webvtt_destination_settings(&self) -> Option<&WebvttDestinationSettings>
pub fn webvtt_destination_settings(&self) -> Option<&WebvttDestinationSettings>
Settings related to WebVTT captions. WebVTT 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.
source§impl CaptionDestinationSettings
impl CaptionDestinationSettings
sourcepub fn builder() -> CaptionDestinationSettingsBuilder
pub fn builder() -> CaptionDestinationSettingsBuilder
Creates a new builder-style object to manufacture CaptionDestinationSettings
.
Trait Implementations§
source§impl Clone for CaptionDestinationSettings
impl Clone for CaptionDestinationSettings
source§fn clone(&self) -> CaptionDestinationSettings
fn clone(&self) -> CaptionDestinationSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CaptionDestinationSettings
impl Debug for CaptionDestinationSettings
source§impl PartialEq for CaptionDestinationSettings
impl PartialEq for CaptionDestinationSettings
source§fn eq(&self, other: &CaptionDestinationSettings) -> bool
fn eq(&self, other: &CaptionDestinationSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptionDestinationSettings
Auto Trait Implementations§
impl Freeze for CaptionDestinationSettings
impl RefUnwindSafe for CaptionDestinationSettings
impl Send for CaptionDestinationSettings
impl Sync for CaptionDestinationSettings
impl Unpin for CaptionDestinationSettings
impl UnwindSafe for CaptionDestinationSettings
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