pub struct CaptionDestinationSettings {
pub burnin_destination_settings: Option<BurninDestinationSettings>,
pub destination_type: Option<String>,
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 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. In your job JSON, an instance of captions DestinationSettings is equivalent to one captions tab in the 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
burnin_destination_settings: Option<BurninDestinationSettings>
Settings related to burn-in 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.
destination_type: Option<String>
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 (SCTE20PLUSEMBEDDED). To create a non-compliant output where the embedded captions come first, choose Embedded plus SCTE-20 (EMBEDDEDPLUSSCTE20).
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. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to DVB_SUB.
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. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to EMBEDDED, EMBEDDEDPLUSSCTE20, or SCTE20PLUSEMBEDDED.
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. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to IMSC.
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. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to SCC.
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. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to TELETEXT.
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. When you work directly in your JSON job specification, include this object and any required children when you set destinationType to TTML.
webvtt_destination_settings: Option<WebvttDestinationSettings>
WEBVTT Destination Settings
Trait Implementations
sourceimpl Clone for CaptionDestinationSettings
impl Clone for CaptionDestinationSettings
sourcefn clone(&self) -> CaptionDestinationSettings
fn clone(&self) -> CaptionDestinationSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CaptionDestinationSettings
impl Debug for CaptionDestinationSettings
sourceimpl Default for CaptionDestinationSettings
impl Default for CaptionDestinationSettings
sourcefn default() -> CaptionDestinationSettings
fn default() -> CaptionDestinationSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CaptionDestinationSettings
impl<'de> Deserialize<'de> for CaptionDestinationSettings
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CaptionDestinationSettings> for CaptionDestinationSettings
impl PartialEq<CaptionDestinationSettings> for CaptionDestinationSettings
sourcefn eq(&self, other: &CaptionDestinationSettings) -> bool
fn eq(&self, other: &CaptionDestinationSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CaptionDestinationSettings) -> bool
fn ne(&self, other: &CaptionDestinationSettings) -> bool
This method tests for !=
.
impl StructuralPartialEq for CaptionDestinationSettings
Auto Trait Implementations
impl RefUnwindSafe for CaptionDestinationSettings
impl Send for CaptionDestinationSettings
impl Sync for CaptionDestinationSettings
impl Unpin for CaptionDestinationSettings
impl UnwindSafe for CaptionDestinationSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more