Browser FFmpeg recipe

Rotate Video Online with FFmpeg

Rotate the video 90 degrees clockwise while keeping the audio stream.

Command

Run this FFmpeg command

ffmpeg -i input.mp4 -vf transpose=1 -c:a copy rotated.mp4

When to use it

  • phone videos
  • orientation fixes
  • quick rotation

How it works

  1. Upload the video file.
  2. Choose the transpose direction you need.
  3. Run FFmpeg and download the rotated file.

Option reference

OptionWhat it does
transpose=1Rotates video 90 degrees clockwise.
-c:a copyCopies audio without re-encoding.

Practical notes

  • Use transpose=2 for 90 degrees counterclockwise.
  • Use two transpose filters for a 180 degree rotation.

FAQ

Can I rotate without re-encoding?

Some files support metadata-only rotation, but this recipe creates a visual rotation by filtering frames.

Why did processing take time?

Video filters require re-encoding, and browser FFmpeg runs on your local device.