You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticTranscoder::Types::TimeSpan
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticTranscoder::Types::TimeSpan
- Defined in:
- (unknown)
Overview
When passing TimeSpan as input to an Aws::Client method, you can use a vanilla Hash:
{
start_time: "Time",
duration: "Time",
}
Settings that determine when a clip begins and how long it lasts.
Returned by:
Instance Attribute Summary collapse
-
#duration ⇒ String
The duration of the clip.
-
#start_time ⇒ String
The place in the input file where you want a clip to start.
Instance Attribute Details
#duration ⇒ String
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.
#start_time ⇒ String
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.