You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticTranscoder::Types::TimeSpan

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb

Overview

Note:

When making an API call, you may pass TimeSpan data as a hash:

{
  start_time: "Time",
  duration: "Time",
}

Settings that determine when a clip begins and how long it lasts.

Instance Attribute Summary collapse

Instance Attribute Details

#durationString

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.

Returns:

  • (String)


4262
4263
4264
4265
4266
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 4262

class TimeSpan < Struct.new(
  :start_time,
  :duration)
  include Aws::Structure
end

#start_timeString

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.

Returns:

  • (String)


4262
4263
4264
4265
4266
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 4262

class TimeSpan < Struct.new(
  :start_time,
  :duration)
  include Aws::Structure
end