Video Rotator
Pick a rotation angle and get the exact FFmpeg command to rotate your video 90, 180, or 270 degrees — copy and run it locally.
Used in the generated command. Change this to match your actual file.
Rotation Angle
Method
Visual Preview
TOP
16:9
Original orientation — no rotation applied
FFmpeg Command
Run in your terminal. Requires FFmpeg installed.
FFmpeg Rotation Reference
| Rotation | FFmpeg filter | Notes |
|---|---|---|
| 90° CW | transpose=1 | Rotates right; swaps w/h |
| 180° | hflip,vflip | Two flips = 180°; w/h unchanged |
| 270° CW | transpose=2 | = 90° CCW; swaps w/h |
| Metadata | -display_rotation | MP4/MOV only; no re-encode |
Copied!
Summary
Pick a rotation angle and get the exact FFmpeg command to rotate your video 90, 180, or 270 degrees — copy and run it locally.
How it works
- Enter your video filename (e.g. clip.mp4) in the filename field.
- Select the rotation angle: 90° clockwise, 180°, or 270° clockwise (= 90° counter-clockwise).
- Choose between lossless metadata rotation (MP4 only, instant) or full re-encode (all formats).
- The correct FFmpeg command is generated instantly with the right transpose or vflip flags.
- Click Copy to copy the command, then paste it into your terminal and run it.
Use cases
- Fix a portrait video recorded sideways that plays on its side in media players.
- Correct orientation on drone or action-cam footage shot at an unexpected angle.
- Rotate screen recordings that captured in the wrong orientation.
- Flip a video 180° to correct upside-down footage.
- Batch-rotate multiple files by adapting the generated command in a shell loop.
- Learn the correct FFmpeg transpose flags without consulting documentation each time.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu