Size

Activating Imgix Video

Set fm to a video output format — mp4, hls, or dash — for Imgix Video parameters to take effect.

The size parameters control output dimensions, aspect ratio, and how the video is cropped or framed. For background fill and padding behavior, see the Fill section.

Use case

Convert a landscape video to 9:16 for Stories or Reels by specifying the target aspect ratio and letting Imgix derive the output height automatically.

Uses ar=9:16 with fit=crop to convert a landscape video to a 9:16 portrait frame, center-cropped by default.
https://assets.imgix.net/videos/person-running-01.mp4?fm=mp4&ar=9:16&fit=crop&w=600