MediaConvertSegment

更新时间:
复制 MD 格式

Parameter

Type

Description

Example

object

The segment configuration for video transcoding.

ForceSegTime

string

The points in time at which the video is forcibly segmented. Separate multiple points with commas (,). A maximum of 10 points are allowed.

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

  • Type: decimal. Up to three decimal places are supported.

  • Unit: seconds.

  • Example: 1,2,4,6,10,14,18, which forces segmentation at the 1st, 2nd, 4th, 6th, 10th, 14th, and 18th seconds.

1,2

Duration

integer

The duration of each segment.

  • Unit: seconds.

  • Valid values: [1,60].

  • Default value: 10. This creates segments at the 10s, 20s, 30s, and 40s marks of the video.

10