Parameter Reference
Quick reference for all available parameters:| Parameter | Full Name | Description |
|---|---|---|
w | width | Video width in pixels |
h | height | Video height in pixels |
c | crop | Crop mode for resizing |
q | quality | Compression quality using CRF (1-100) |
so | start offset | Start time in seconds for trimming or thumbnail extraction |
eo | end offset | End time in seconds for trimming |
f | format | Output format (mp4 for video, webp/jpeg/png for thumbnails) |
Core Parameters
Set the width of the video in pixels.Common resolutions:
w_1920- Full HD 1080p widthw_1280- HD 720p widthw_640- Standard definition (SD) width
Set the height of the video in pixels.Common resolutions:
h_1080- Full HD 1080p heighth_720- HD 720p heighth_480- Standard definition (SD) heighth_360- Low resolution preview height
Define how the video is cropped during resizing.Available modes:
fill- Fill entire area, cropping if necessary (scale + crop strategy)crop- Resize and crop to exact dimensions
Control video quality using encoding. Range: 1-100.Quality mapping:
q_100→ CRF 18 (very high quality, large file)q_85→ CRF 23 (high quality, recommended)q_75→ CRF 28 (good quality, balanced)q_50→ CRF 35 (medium quality, smaller file)q_10→ CRF 45 (low quality, minimum size)
Set the start time in seconds for video trimming or thumbnail extraction. When used with
eo, creates a trimmed video segment. When used with f (image format), extracts a single frame as a thumbnail.Examples:so_5- Start at 5 secondsso_0- Start from the beginningso_10.5- Start at 10.5 seconds (supports decimals)
Set the end time in seconds for video trimming. Must be used together with
so to create a trimmed video segment. The resulting video duration is eo - so seconds.Examples:eo_12- End at 12 seconds (exclusive)eo_30- End at 30 secondseo_15.5- End at 15.5 seconds (supports decimals)
The end offset is exclusive, meaning a video trimmed with
so_5,eo_12 will be 7 seconds long (from 5s to 12s).Force a specific output format. For videos, defaults to MP4. When combined with
so (and without eo), extracts a single frame as an image thumbnail.Video formats:mp4- Standard video format (default)
webp- Modern format, excellent compressionjpeg/jpg- Universal image formatpng- Lossless format with transparency support
Video Examples
- HD Optimization
- Preview Generation
- Video Trimming
- Thumbnail Extraction
Supported Video Formats
- Input Formats
- Output Format
The system accepts the following video formats as input:
- MP4 - With H.264 or H.265 codecs
- MOV - QuickTime format
- WebM - With VP8 or VP9 codecs
Use Cases
Social media optimization
Social media optimization
Mobile-friendly format
Mobile-friendly format
High-quality presentations
High-quality presentations
Video trimming and segments
Video trimming and segments
Video thumbnails
Video thumbnails
so with an image format (f_webp, f_jpeg, or f_png) to create thumbnails for video galleries, preview cards, or social media sharing.Performance Considerations
Video transformations are significantly more resource-intensive than image operations. Keep these factors in mind:Processing time
Video processing can take 5-30 seconds depending on original file resolution and quality settings.
Cache efficiency
Cached video transformations are served in under 50ms, making caching essential for performance.
Storage impact
Higher quality settings result in larger file sizes. Balance quality against storage costs.
Bandwidth usage
Consider delivering lower resolutions to mobile devices to reduce bandwidth consumption.