LogoLogo
BlogHelp CenterPrivacyLoginRegister
  • Let's optimize your images
  • Transformations
    • Input formats
    • Image operations
      • Width and height
      • Prevent enlargement
      • Crop
        • Automatic gravity crop
        • Positionable crop
        • Focal point crop
        • Face crop
        • Face hide
        • Aspect ratio crop
      • Fit
      • Cropfit
      • Bound
      • Boundmin
      • Cover
      • Device pixel ratio
      • Flip
      • Rotate
      • Trim
      • Rounded corners
      • Background removal
    • Image filters
      • Adjustment
        • Brightness
        • Contrast
        • Saturate
      • Color manipulation
        • Color overlay
        • Grayscale
        • Duotone
        • Sepia
        • Invert
      • Blur
      • Pixelate
      • Sharpen
      • Face blur
    • Image watermarking
      • Static watermark
      • Dynamic watermark
      • Text watermark
        • Text watermark fonts
    • Image compression
      • Image formats
      • Optipress
      • SVG compression
      • Color management
    • Static content
      • PDF to image
      • JS/CSS optimization
    • Video operations
  • Setup
    • Shortening URLs
      • Origin URL prefix
      • Aliases
      • Presets
      • Rules
    • Connecting storage bucket
      • Amazon S3
      • Google Cloud Storage
      • Microsoft Azure Blob
      • Basic authentication HTTP
    • Security
      • Token security
        • Domain whitelisting
        • URL signature
        • URL sealing
      • Account security
      • Origin security
  • Implementation
    • URL API implementation
    • Responsive images JS plugin
    • CMS plugins
      • Spryker
      • Drupal
      • Kontent.ai
      • Contentful
      • Adobe Commerce (Magento)
        • Basic implementation
        • Advanced implementation
      • Opencart
      • Prestashop
        • Prestashop tutorial
      • Shopware
      • Sylius
      • Wordpress
      • Shopify tutorial
        • Shopify integration
        • Theme files
        • FAQ
      • Commercetools tutorial
      • Ruby wrapper
    • Migrating from another image CDN
  • Caching and acceleration
    • CDN basics
    • Caching interval
    • Invalidation API
    • Warmup API
  • Analytics
    • Dashboards
      • Overview
      • Volumetry
      • Optimization
      • Delivery
      • Top-Ranking
      • RUM
      • Logs API
  • Cloudimage_v6 EOL
Powered by GitBook
LogoLogo

Resources

  • Help center
  • Contact support
  • Developers
  • cloudimage.io

Solutions

  • Media optimization
  • DAM
  • Performance report

Company

  • Blog
  • Service status
  • About us

Legal stuff

  • Terms & conditions
  • Privacy center
  • DMCA

Copyright © 2023 Scaleflex

On this page
  • Available Parameters
  • Examples

Was this helpful?

Export as PDF
  1. Transformations

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, 4k resolution and maximum 60 seconds length. For longer videos, only the first minute will be optimized and delivered, resulting in a trimmed video.

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

Parameter
Allowed values
Description

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

Preview
Syntax

PreviousJS/CSS optimizationNextSetup

Last updated 4 months ago

Was this helpful?

Simple resize:

Crop function:

Fit function with blurred background:

Sets the compression bitrate in kilobits or megabits per second.

/sample.li/waterfall-hd.mp4?w=400
/sample.li/waterfall-hd.mp4?w=400&h=300
/sample.li/waterfall-hd.mp4?w=400&h=300&func=fit&bg_img_fit=1
/sample.li/waterfall-hd.mp4?bitrate=1000k