MediaConvertSegment

Updated at:

Parameter

Type

Description

Example

object

Segment configuration during transcoding.

ForceSegTime

string

The points in time at which the video is forcibly segmented. Separate multiple points with commas (,). You can specify up to 10 points.

  • Format: {Point in time},{Point in time},{Point in time}.

  • Type: decimal. This parameter supports up to three decimal places.

  • Unit: seconds.

  • Example: 1,2,4,6,10,14,18, which specifies that the video is forcibly segmented at the 1st, 2nd, 4th, 6th, 10th, 14th, and 18th seconds.

1,2

Duration

integer

The length of the segment.

  • Unit: seconds.

  • Valid values: [1,60].

  • Default value: 10. A value of 10 will create segments at the 10s, 20s, 30s, and 40s marks of the video.

10