Video operations
Short clip processing and delivery for websites and web applications
Please contact the support team to activate the video feature for your token.
Cloudimage offers on-the-fly video processing with delivery via CDN using the Cloudimage 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 1 minute in duration.
The video files processed in the URLs need the proper extension (eg. .mp4, .webm).
Available Parameters
//token.cloudimg.io/original_image_url.mp4?w=600&format=auto
w
>100
Sets the target video width
h
>100
Sets the target video height
func
crop
(default) | fit
| cropfit
| bound
| boundmin
| cover
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
1
Use blurred version of the video for background / padding (for use with func=fit)
format
auto
(default) | mp4
| webm
| h264.mp4
| h265.mp4
| vp9.webm
Defines the video format
bitrate
10k..20000k
| 1m..20m
(ex.300k, 2m
)
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
Simple resize: /sample.li/waterfall-hd.mp4?w=400
Crop function: /sample.li/waterfall-hd.mp4?w=400&h=300
Fit function with blurred background: /sample.li/waterfall-hd.mp4?w=400&h=300&func=fit&bg_img_fit=1
Sets the compression bitrate in kilobits or megabits per second. /sample.li/waterfall-hd.mp4?bitrate=1000k
Last updated