video
Type Aliases
| Type Alias | Description |
|---|---|
| VideoFormat | One of the VIDEO_FORMATS values. |
| VideoQuality | One of the VIDEO_QUALITIES presets. |
| VideoResizeMode | One of the VIDEO_RESIZE_MODES values. |
Variables
| Variable | Description |
|---|---|
| cut | Cuts a fragment starting at startTime; length accepts a duration in the same time format or the end keyword. |
| format | Output container/codec (CDN default mp4). |
| quality | Output quality preset (CDN default normal). |
| size | Output frame size; each dimension must be a positive integer divisible by 4 (downscale only, output capped near 4K). |
| thumbs | Generates N thumbnails (1..50, CDN default 1); must be the last operation in the chain. |
| VIDEO_FORMATS | Output formats accepted by format. |
| VIDEO_QUALITIES | Quality presets accepted by quality. |
| VIDEO_RESIZE_MODES | Resize modes accepted by size. |
Functions
| Function | Description |
|---|---|
| videoPath | Builds the domain-less conversion path /:uuid/video/-/.../ to submit to the REST API (POST /convert/video/). Not a URL — no domain involved. |