A phone video that lies on its side
Rotate it 90° and send it to an old player or editor that ignores rotation flags.
Guide
Rotate and Flip Video fixes footage whose orientation is wrong: a phone video shot sideways that lies on its side on a computer, a front-camera recording whose text is mirrored, an old camera export that is upside down. It is the “Rotate and flip” tab of the audio/video workbench, and its five operations map to ffmpeg filters: 90° clockwise (transpose=1), 90° counterclockwise (transpose=2), 180° (hflip,vflip), horizontal flip (hflip) and vertical flip (vflip).
Updated 2026-09-093 min read
Rotate and Flip Video fixes footage whose orientation is wrong: a phone video shot sideways that lies on its side on a computer, a front-camera recording whose text is mirrored, an old camera export that is upside down. It is the “Rotate and flip” tab of the audio/video workbench, and its five operations map to ffmpeg filters: 90° clockwise (transpose=1), 90° counterclockwise (transpose=2), 180° (hflip,vflip), horizontal flip (hflip) and vertical flip (vflip).
The difference from “rotate” in a phone gallery is that a gallery usually only rewrites the rotation flag in the file, and any player or editor that ignores the flag still shows the video lying down. Here every frame is physically rearranged and re-encoded, so every player shows the new direction.
<original-name>_rotated.mp4; MOV / MKV / M4V sources keep their extension and other containers are written as .mkv.| Input | Output | Notes |
|---|---|---|
a 1920×1080 landscape video whose content is actually portrait |
90° clockwise → 1080×1920 |
width and height swap |
a front-camera lesson with mirrored whiteboard text |
Flip horizontally |
left-right only, no size change |
a dash cam mounted upside down |
180° |
the same as flipping both axes |
Rotate it 90° and send it to an old player or editor that ignores rotation flags.
Whiteboard or screen text in a lesson is reversed; a horizontal flip makes it readable.
A surveillance or dash camera fitted the other way round comes right after a 180° turn.
Flip the same running clip horizontally and pair it with the original for a mirrored frame.
The file probably carries a rotation flag that browsers and most players honour, while some software does not. Check the resolution with “Media info” first: 1920×1080 with portrait content means the display is relying on the flag. After rotating, the direction is written into the pixels.
It does re-encode once, but CRF 20 is close to visually lossless and the difference is normally invisible; the file size may differ from the source.
One operation at a time. Do one pass, then drag the output back into the workbench for the second.
The video is rearranged frame by frame and encoded locally in the browser by ffmpeg.wasm and is never uploaded. On first use the engine, about 31 MB, is downloaded from a CDN (the site asset domain or jsDelivr); that request contains no video content.
Updated 2026-09-09
Rotate 90°/180°, flip horizontally or vertically, fix portrait/landscape mistakes
Everything runs locally in your browser; files are never uploaded to a server