All command recipes
Edit recipe

Rotate Video with FFmpeg

Rotate a video 90 degrees clockwise, counter-clockwise, or 180 degrees.

Command

Use this when

  • A phone video opens sideways or upside down.
  • You need actual rotated frames instead of only metadata.
  • You want to keep the original audio stream unchanged.

Customize it

Convert video formats with FFmpeg while controlling codec, quality, and container.

Open Convert Video

Parameter breakdown

transpose=1

Rotates video 90 degrees clockwise.

-c:v libx264

Re-encodes video because rotation is a video filter.

-crf 23

Sets a practical quality and file-size balance.

-c:a copy

Copies the original audio stream.

Variants

Rotate counter-clockwise

Rotate 180 degrees