Struct aws_sdk_mediaconvert::types::CaptionSourceSettings
source · #[non_exhaustive]pub struct CaptionSourceSettings {
pub ancillary_source_settings: Option<AncillarySourceSettings>,
pub dvb_sub_source_settings: Option<DvbSubSourceSettings>,
pub embedded_source_settings: Option<EmbeddedSourceSettings>,
pub file_source_settings: Option<FileSourceSettings>,
pub source_type: Option<CaptionSourceType>,
pub teletext_source_settings: Option<TeletextSourceSettings>,
pub track_source_settings: Option<TrackSourceSettings>,
pub webvtt_hls_source_settings: Option<WebvttHlsSourceSettings>,
}
Expand description
If your input captions are SCC, TTML, STL, SMI, SRT, or IMSC in an xml file, specify the URI of the input captions source file. If your input captions are IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
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.ancillary_source_settings: Option<AncillarySourceSettings>
Settings for ancillary captions source.
dvb_sub_source_settings: Option<DvbSubSourceSettings>
DVB Sub Source Settings
embedded_source_settings: Option<EmbeddedSourceSettings>
Settings for embedded captions Source
file_source_settings: Option<FileSourceSettings>
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
source_type: Option<CaptionSourceType>
Use Source to identify the format of your input captions. The service cannot auto-detect caption format.
teletext_source_settings: Option<TeletextSourceSettings>
Settings specific to Teletext caption sources, including Page number.
track_source_settings: Option<TrackSourceSettings>
Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.
webvtt_hls_source_settings: Option<WebvttHlsSourceSettings>
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.
Implementations§
source§impl CaptionSourceSettings
impl CaptionSourceSettings
sourcepub fn ancillary_source_settings(&self) -> Option<&AncillarySourceSettings>
pub fn ancillary_source_settings(&self) -> Option<&AncillarySourceSettings>
Settings for ancillary captions source.
sourcepub fn dvb_sub_source_settings(&self) -> Option<&DvbSubSourceSettings>
pub fn dvb_sub_source_settings(&self) -> Option<&DvbSubSourceSettings>
DVB Sub Source Settings
sourcepub fn embedded_source_settings(&self) -> Option<&EmbeddedSourceSettings>
pub fn embedded_source_settings(&self) -> Option<&EmbeddedSourceSettings>
Settings for embedded captions Source
sourcepub fn file_source_settings(&self) -> Option<&FileSourceSettings>
pub fn file_source_settings(&self) -> Option<&FileSourceSettings>
If your input captions are SCC, SMI, SRT, STL, TTML, WebVTT, or IMSC 1.1 in an xml file, specify the URI of the input caption source file. If your caption source is IMSC in an IMF package, use TrackSourceSettings instead of FileSoureSettings.
sourcepub fn source_type(&self) -> Option<&CaptionSourceType>
pub fn source_type(&self) -> Option<&CaptionSourceType>
Use Source to identify the format of your input captions. The service cannot auto-detect caption format.
sourcepub fn teletext_source_settings(&self) -> Option<&TeletextSourceSettings>
pub fn teletext_source_settings(&self) -> Option<&TeletextSourceSettings>
Settings specific to Teletext caption sources, including Page number.
sourcepub fn track_source_settings(&self) -> Option<&TrackSourceSettings>
pub fn track_source_settings(&self) -> Option<&TrackSourceSettings>
Settings specific to caption sources that are specified by track number. Currently, this is only IMSC captions in an IMF package. If your caption source is IMSC 1.1 in a separate xml file, use FileSourceSettings instead of TrackSourceSettings.
sourcepub fn webvtt_hls_source_settings(&self) -> Option<&WebvttHlsSourceSettings>
pub fn webvtt_hls_source_settings(&self) -> Option<&WebvttHlsSourceSettings>
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.
source§impl CaptionSourceSettings
impl CaptionSourceSettings
sourcepub fn builder() -> CaptionSourceSettingsBuilder
pub fn builder() -> CaptionSourceSettingsBuilder
Creates a new builder-style object to manufacture CaptionSourceSettings
.
Trait Implementations§
source§impl Clone for CaptionSourceSettings
impl Clone for CaptionSourceSettings
source§fn clone(&self) -> CaptionSourceSettings
fn clone(&self) -> CaptionSourceSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CaptionSourceSettings
impl Debug for CaptionSourceSettings
source§impl PartialEq for CaptionSourceSettings
impl PartialEq for CaptionSourceSettings
source§fn eq(&self, other: &CaptionSourceSettings) -> bool
fn eq(&self, other: &CaptionSourceSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptionSourceSettings
Auto Trait Implementations§
impl Freeze for CaptionSourceSettings
impl RefUnwindSafe for CaptionSourceSettings
impl Send for CaptionSourceSettings
impl Sync for CaptionSourceSettings
impl Unpin for CaptionSourceSettings
impl UnwindSafe for CaptionSourceSettings
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