Struct rusoto_mediaconvert::FileSourceSettings
source · [−]pub struct FileSourceSettings {
pub convert_608_to_708: Option<String>,
pub framerate: Option<CaptionSourceFramerate>,
pub source_file: Option<String>,
pub time_delta: Option<i64>,
}
Expand description
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.
Fields
convert_608_to_708: Option<String>
Specify whether this set of input captions appears in your outputs in both 608 and 708 format. If you choose Upconvert (UPCONVERT), MediaConvert includes the captions data in two ways: it passes the 608 data through using the 608 compatibility bytes fields of the 708 wrapper, and it also translates the 608 data into 708.
framerate: Option<CaptionSourceFramerate>
Ignore this setting unless your input captions format is SCC. To have the service compensate for differing frame rates between your input captions and input video, specify the frame rate of the captions file. Specify this value as a fraction, using the settings Framerate numerator (framerateNumerator) and Framerate denominator (framerateDenominator). For example, you might specify 24 / 1 for 24 fps, 25 / 1 for 25 fps, 24000 / 1001 for 23.976 fps, or 30000 / 1001 for 29.97 fps.
source_file: Option<String>
External caption file used for loading captions. Accepted file extensions are 'scc', 'ttml', 'dfxp', 'stl', 'srt', 'xml', 'smi', 'webvtt', and 'vtt'.
time_delta: Option<i64>
Specifies a time delta in seconds to offset the captions from the source file.
Trait Implementations
sourceimpl Clone for FileSourceSettings
impl Clone for FileSourceSettings
sourcefn clone(&self) -> FileSourceSettings
fn clone(&self) -> FileSourceSettings
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 FileSourceSettings
impl Debug for FileSourceSettings
sourceimpl Default for FileSourceSettings
impl Default for FileSourceSettings
sourcefn default() -> FileSourceSettings
fn default() -> FileSourceSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FileSourceSettings
impl<'de> Deserialize<'de> for FileSourceSettings
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<FileSourceSettings> for FileSourceSettings
impl PartialEq<FileSourceSettings> for FileSourceSettings
sourcefn eq(&self, other: &FileSourceSettings) -> bool
fn eq(&self, other: &FileSourceSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FileSourceSettings) -> bool
fn ne(&self, other: &FileSourceSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for FileSourceSettings
impl Serialize for FileSourceSettings
impl StructuralPartialEq for FileSourceSettings
Auto Trait Implementations
impl RefUnwindSafe for FileSourceSettings
impl Send for FileSourceSettings
impl Sync for FileSourceSettings
impl Unpin for FileSourceSettings
impl UnwindSafe for FileSourceSettings
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