Rotation
rot
Rotates the video frame clockwise. Accepted values are 0, 90, 180, and 270 (degrees).
A rot=90 or rot=270 rotation swaps the output width and height — a 1920×1080 landscape source becomes 1080×1920 portrait after a 90° rotation.
rot applies to the already-auto-oriented frame, not the raw stored pixels. This matches the imgix image API: you rotate what you see, not the container’s byte order. For a phone clip that auto-orients upright, rot=90 rotates that upright frame a further 90° clockwise rather than fighting the auto-orientation.
rot takes effect only on render requests that include an fm= output format (e.g. fm=mp4, fm=gif, fm=png). It applies to all visual outputs — fm=mp4 / webm, fm=hls / dash (every rendition), fm=gif and animated webp / apng, still images, and spritesheet frames. It is ignored for fm=vtt and audio-only outputs (fm=m4a, fm=mp3, fm=wav).
Non-multiples of 90 are floored to the nearest lower multiple: rot=45 → 0, rot=170 → 90, rot=269 → 180. rot=360 wraps to 0. Arbitrary-angle rotation is not supported.