Struct aws_sdk_elastictranscoder::types::TimeSpan
source · #[non_exhaustive]pub struct TimeSpan { /* private fields */ }
Expand description
Settings that determine when a clip begins and how long it lasts.
Implementations§
source§impl TimeSpan
impl TimeSpan
sourcepub fn start_time(&self) -> Option<&str>
pub fn start_time(&self) -> Option<&str>
The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.
sourcepub fn duration(&self) -> Option<&str>
pub fn duration(&self) -> Option<&str>
The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.
If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.