VideoTrimJob
Extracts a time range from a video, producing a shorter clip. Go method:Client.VideoTrim(ctx, job)
Parameters
Path to the source video file.
Path for the trimmed output clip.
Start time of the clip in seconds.
End time of the clip in seconds.
Example
VideoThumbnailJob
Extracts a single frame from a video and saves it as an image. Go method:Client.VideoThumbnail(ctx, job)
Parameters
Path to the source video file.
Path for the output image file.
Position in the video from which to extract the frame. Accepts a percentage string such as
"25%" or a time in seconds such as "30.5".Output image format. Accepted values:
jpeg, png, webp. Defaults to the format inferred from the output file extension.Image quality for lossy formats (JPEG, WebP). Range:
1–100.Example
VideoProfileJob
Encodes a video using a predefined web-optimized profile. Profiles handle resolution and bitrate selection automatically. Go method:Client.VideoProfile(ctx, job)
Parameters
Path to the source video file.
Path for the encoded output file.
Encoding profile to apply. Accepted values:
web-low, web-mid, web-high.Profile specifications
| Profile | Resolution | Bitrate | Use case |
|---|---|---|---|
web-low | 480p | 1 Mbps | Mobile, low-bandwidth connections |
web-mid | 720p | 2.5 Mbps | Standard web streaming |
web-high | 1080p | 5 Mbps | High-quality web delivery |