How to Rotate a Video
Sometimes phone video gets recorded in the wrong orientation. Maybe you held the phone sideways but it saved landscape; maybe you recorded vertically and the app expected horizontal. The video plays sideways or upside-down. Fixing it is straightforward on every platform.
On iPhone
In Photos app:
- Open the video
- Tap Edit
- Tap the crop/rotate icon (bottom)
- Tap the rotate button (curved arrow) — rotates 90° each tap
- Tap Done when correctly oriented
Saved video has corrected orientation.
On Android
In Google Photos:
- Open video
- Tap Edit
- Tap the crop/rotate icon
- Rotate as needed
- Tap Save copy
Some manufacturer galleries have similar rotate features in built-in editors.
On Mac: QuickTime Player
- Open video in QuickTime Player
- Edit menu → look for rotate options:
- Rotate Left
- Rotate Right
- Flip Horizontal
- Flip Vertical
- File → Save to persist changes
Different macOS versions have rotation in slightly different menu locations; check Edit and View menus.
On Mac: iMovie
For more control:
- Open iMovie
- Create new movie, drag in video
- Click video in timeline
- Use rotation controls in the inspector
- Export → choose quality
On Windows: Photos app
- Open video in Photos app
- Click Edit & Create → Edit
- Use rotation controls
- Save a copy
Desktop: HandBrake (free, cross-platform)
For technical control:
- Open HandBrake
- Add video
- Filters tab → enable Rotate
- Choose 90°, 180°, 270°
- Set output filename
- Click Start Encode
HandBrake re-encodes (slower but precise).
Desktop: FFmpeg (command-line)
ffmpeg -i input.mp4 -vf "transpose=1" output.mp4
transpose=1 rotates 90° clockwise. Other values: 0 (90° CCW), 2 (90° CCW flipped), 3 (90° CW flipped).
For 180° rotation:
ffmpeg -i input.mp4 -vf "hflip,vflip" output.mp4
Fast and lossless when possible.
Rotation metadata vs actual rotation
Similar to image rotation: video orientation is sometimes stored as metadata (telling the player to rotate at playback) rather than baked into the actual video stream.
Metadata rotation:
- Original video data is in one orientation
- Metadata says “display rotated 90°”
- Most modern players respect this
- Some older or stripped-down players don’t
Actual rotation:
- The video pixel data itself is in the desired orientation
- Works in every player
- Larger files (re-encoded) unless using stream-copy with metadata trick
For maximum compatibility, baking rotation into the video data ensures it works everywhere.
Lossless rotation when possible
Some tools (FFmpeg with the -metadata:s:v rotate flag, certain video editors) can rotate by changing the rotation metadata without re-encoding the video stream. This is:
- Instant (no encoding time)
- Lossless (no quality reduction)
- Smaller (no new file generated)
Trade-off: relies on the metadata being respected.
For most uses: full re-encoding produces a video that works everywhere.
Common scenarios
Phone video recorded sideways: rotate to portrait or landscape.
Drone footage with gimbal error: rotate to level.
Video shot in selfie mode that’s mirrored: flip horizontal.
Footage from a camera mounted upside-down: rotate 180°.
After rotation
Trim if needed: see our Trim or Cut Video guide.
Compress for sharing: see our Compress Video guide.
Convert format: see our MOV to MP4 guide or MKV to MP4 guide.
Extract audio if needed: MP4 to MP3.
Avoiding rotation issues in the first place
When shooting video:
- Hold the phone in your dominant orientation: most phones default to landscape video; some apps default to portrait
- Watch the on-screen indicator to verify orientation
- Check after the first few seconds before continuing to record
- Lock orientation if needed (rotation lock prevents accidental orientation changes mid-record)
What gets preserved when rotating
Always preserved:
- All video content (just oriented differently)
- Audio
- Subtitles (if any)
- Other metadata
May change:
- File size (re-encoded versions can be slightly different)
- Frame rate (usually same)
- Codec (if re-encoding, output is in your chosen codec)
TL;DR
- iPhone: Photos → Edit → rotate icon
- Android: Google Photos → Edit → rotate
- Mac: QuickTime Player or iMovie
- Windows: Photos app
- Cross-platform free: HandBrake (GUI) or FFmpeg (command-line)
- For lossless rotation: FFmpeg with metadata change (if supported by player)
- For maximum compatibility: re-encode with baked-in rotation
- For follow-up operations: Trim, Compress, Convert format