Amazon Elastic Transcoder · JSON Structure

Amazon Elastic Transcoder Time Span Structure

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

Type: object Properties: 2
Amazon Web ServicesMediaTranscodingVideo

TimeSpan is a JSON Structure definition published by Amazon Elastic Transcoder, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

StartTime Duration

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-elastic-transcoder/refs/heads/main/json-structure/amazon-elastic-transcoder-time-span-structure.json",
  "name": "TimeSpan",
  "description": "Settings that determine when a clip begins and how long it lasts.",
  "type": "object",
  "properties": {
    "StartTime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Time"
        },
        {
          "description": "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."
        }
      ]
    },
    "Duration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Time"
        },
        {
          "description": "<p>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.</p> <p>If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.</p>"
        }
      ]
    }
  }
}