Bake Video Rotation Metadata

Fix sideways phone clips by turning the hidden rotate flag into real upright pixels, right in your browser. Nothing is uploaded.

Try:
Rotation-baked video

Fix sideways videos by baking the rotate flag into pixels

Some phones save video sideways and add a hidden rotation metadata flag that tells players how to display it. Most modern players obey the flag; some editing apps, upload pipelines, previews, and older players ignore it, so the clip looks sideways. This tool re-encodes the video so ffmpeg applies the embedded orientation while decoding, then writes normal upright pixels and clears the rotate flag.

Worked example: load a portrait phone clip that looks correct in your phone's player but sideways after upload. Run the tool once. The result is an H.264 video whose pixels are actually upright, so players no longer need to understand the original rotate/display-matrix metadata.

What changes

Notes and limits

FAQ

How is this different from rotating a video manually?

Manual rotation asks you to choose an angle. This tool reads the angle already stored in the video container and bakes that orientation into the pixels, then clears the metadata flag.

Will this be lossless?

No. Baking metadata into pixels requires decoding and re-encoding the video. The default H.264 CRF 23 setting is a practical quality/size tradeoff, and audio is copied when the container allows it.

Why clear the rotate flag?

After the pixels are upright, keeping the old flag could make players rotate the clip a second time. Clearing it makes the baked output display consistently.

What if my clip is already upright?

The output should still display upright. If there was no rotate metadata, this acts as a normalization/transcode pass rather than a visible rotation fix.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool video-bake-rotation 'url=https://example.com/input'

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/video-bake-rotation/?url=https://example.com/input

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.