Clips Settings

This topic contains details for encoding settings related to video clips.

start_clip

start_clip:String

API Versions: V2

Parent: outputs

Valid Values: A timecode (HH:MM:SS.S), or a positive number representing a number of seconds

Compatible Job Types: vod

Example:

  • 00:00:10.0
  • 01:31:08.3
  • 60
  • 12.5

Description:

Create a subclip of the original video, starting at a particular time. This can either be a timecode with a format of HH:MM:SS.S, or a decimal expressing the number of seconds to start at. Note that the actual start time may not be perfectly exact, depending on the arrangement of keyframes within the video.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "start_clip": "00:00:10.0"
    }
  ]
}

See Also: clip_length

clip_length

clip_length:String

API Versions: V2

Parent: outputs

Valid Values: A duration in the format of HH:MM:SS.S or a positive number representing a number of seconds

Compatible Job Types: VOD

Example:

  • 00:00:10.0
  • 01:31:08.3
  • 60
  • 12.5

Description:

Create a subclip of a particular length. This can either be a duration with a format of HH:MM:SS.S, or a decimal expressing the length of the clip in seconds. Can be combined with start_clip to create subclips in the middle of a video. If start_clip is not provided, the clip will start at the beginning of the video. Note that the actual clip length may not be perfectly exact, depending on the arrangement of keyframes within the video. Also note that clip_length is a duration and is not the timecode in the media file at which the subclip should end.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "clip_length": "00:00:10.0"
    }
  ]
}

See Also: start_clip