On-the-fly video optimization
Short clip processing and delivery for websites and web applications
Please contact the support team to activate the video feature for your token.
Filerobot offers on-the-fly video processing with delivery via CDN using the Filerobot URL for seamless integration. This feature is suited for short clips for websites and web applications such as hero videos or product videos.
Input files are limited to 500 MB and compressed videos are limited to 4k resolution and duration of no more than 1 minute. If your videos exceed those limits, your use case probably does not fall into the scope of this feature and you should consider using Upload post-processes and Video API.
The video files processed in the URLs need to have the proper file extension (eg. .mp4, .webm).
Available parameters
//token.filerobot.com/folder/origin_video.mp4?w=600&format=auto
Parameter | Allowed values | Description |
---|---|---|
w |
| Sets the target video width |
h |
| Sets the target video height |
func |
| Sets the resize function if both width and height parameters are provided |
bg_color | hex color code / color name | Background (padding) color (for use with func=fit) |
bg_img_fit |
| Use blurred version of the video for background / padding (for use with func=fit) |
format |
| Defines the video format |
bitrate |
| Sets the compression bitrate (in kilobits or megabits per second) |
The automatic format delivery chooses the most efficient codec and format based on the viewer platform support - h265 (HEVC) mp4, vp9 webm or h264 (AVC) mp4.
Examples
Preview | Syntax |
---|---|
Simple resize: /docs/waterfall-hd.mp4?w=400 | |
Crop function: /docs/waterfall-hd.mp4?w=400&h=300 | |
Fit function with blurred background: /docs/waterfall-hd.mp4?w=400&h=300&func=fit&bg_img_fit=1 |
Last updated