Skip to content

Variable: cut ​

ts
const cut: ((startTime, length) => CdnOperation) & NamedOperationCreator;

Defined in: video/operations.ts:129

Cuts a fragment starting at startTime; length accepts a duration in the same time format or the end keyword.

See ​

https://uploadcare.com/docs/transformations/video-encoding/#operation-cut

Example ​

ts
cut('0:0:10.0', '30.0') // → -/cut/0:0:10.0/30.0/