Skip to content

How do I check whether a face-swap handoff needs its pixels rotated or just a display setting?

Make a physically rotated diagnostic copy and compare it with a player that honors orientation metadata. This separates an actual sideways picture from a disagreement about how a container should be displayed.

PLAN AN EXTERNAL VIDEO REPAIRAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Set up the edit

Find a fixed vertical edge before exporting, such as the room's doorframe. Confirm the intended top of frame with the source editor. Rotate once in a duplicate and compare against that edge at both ends.

shell
ffmpeg -i studio.mp4 -filter_complex "[0:v:0]transpose=clock[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

The example turns a landscape frame clockwise and swaps its width and height. It demonstrates pixel rotation deliberately; the published dance itself is already upright.

With the original living-room dance, the local FFmpeg run decoded 150 video frames at 720 × 1280 pixels. Use the linked file to reproduce the example. This was an offline edit of the existing public clip.

If the first pass falls short

If two tools now disagree in opposite directions, revisit the export's orientation metadata. Avoid baking a second rotation just because one preview starts sideways.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example