AI Video Rotate — Fix the Orientation. Save the Footage.
It happens to everyone. You record an important moment — a child's first steps, a crucial meeting, a once-in-a-lifetime event — and when you play it back, it is sideways. The phone was held in the wrong orientation. The camera's auto-rotation failed. The screen recording captured in portrait when it should have been landscape. The footage is perfect except for one thing: it is rotated 90 degrees and unwatchable without tilting your head. This is one of the most common video problems in the world. Smartphones record billions of videos per day, and orientation errors affect an estimated 5-10% of all recordings. That is hundreds of millions of sideways, upside-down, or mirror-flipped videos created every day. Simple rotation — turning the video 90 degrees — is available in most tools. But simple rotation creates problems: a 1920x1080 landscape video rotated 90 degrees becomes 1080x1920 with black bars if the player expects landscape, or the resolution changes unexpectedly, or text overlays that were horizontal are now vertical. NemoVideo handles rotation intelligently: rotating the video, adjusting the canvas, maintaining resolution quality, correcting any text overlays, and optionally filling black bar areas with AI-generated content or blurred extensions.
Use Cases
- 1. Sideways Phone Recording — 90° Fix (any length) — A parent recorded their child's school play but held the phone sideways. The entire 30-minute recording is rotated 90 degrees clockwise. NemoVideo: rotates 90° counter-clockwise, adjusts the canvas to match the new orientation, maintains original resolution quality (no quality loss from re-encoding), and exports as a properly oriented video. Thirty minutes of precious footage saved from being unwatchable.
- 2. Upside-Down Footage — 180° Correction (any length) — An action camera was mounted upside-down (common with GoPro chest mounts and helmet mounts). NemoVideo: detects the 180° orientation issue, flips both vertically and horizontally simultaneously (equivalent to 180° rotation), preserves all metadata and audio sync, and exports correctly oriented. Entire adventure footage recovered.
- 3. Mirror Fix — Horizontal Flip for Selfie Video (any length) — A creator recorded a tutorial using the front-facing camera. The text on their whiteboard appears mirror-reversed. NemoVideo: applies horizontal flip (mirror), correcting all text readability while flipping the speaker's appearance (viewers do not notice the speaker is mirrored; they absolutely notice mirrored text). Tutorial footage becomes usable.
- 4. Creative Rotation — Artistic Angle (any length) — A music video director wants a scene where the world gradually tilts: starting normal and rotating 45 degrees over 10 seconds. NemoVideo: applies smooth animated rotation from 0° to 45° over the specified duration, fills the exposed corners with AI-extended background (no black triangles), maintains subject focus during the rotation, and creates a disorienting artistic effect. Creative rotation for visual storytelling.
- 5. Batch Orientation Fix — Multiple Clips (multiple files) — A photographer shot an event on their phone, alternating between portrait and landscape throughout the day. Some clips are correct, some are sideways, some are upside-down. NemoVideo: auto-detects the intended orientation of each clip using content analysis (not just metadata, which is often wrong), applies the correct rotation per clip, and exports all clips in consistent orientation. A mixed-orientation event becomes a consistently oriented collection ready for editing.
How It Works
Step 1 — Upload Video
Any video with orientation issues. NemoVideo auto-detects the problem in most cases.
Step 2 — Specify Rotation
Auto-detect (AI determines correct orientation), manual (90°, 180°, 270°, custom), flip (horizontal/vertical), or animated rotation.
Step 3 — Generate
CODEBLOCK0
Step 4 — Verify and Download
Play the corrected video. Confirm: orientation is correct, quality is maintained, audio is synced. Download.
Parameters
| Parameter | Type | Required | Description |
|---|
| INLINECODE0 | string | ✅ | Rotation description |
| INLINECODE1 |
string | | "auto-detect", "90-cw", "90-ccw", "180", "horizontal-flip", "vertical-flip", "custom" |
|
angle | float | | Custom rotation angle in degrees |
|
animated | object | | {from
angle, toangle, duration} for animated rotation |
|
corner_fill | string | | "ai-extend", "blur", "black", "mirror" for non-90° rotations |
|
fix_metadata | boolean | | Correct orientation metadata |
|
additional_outputs | array | | [{format, tracking, platform}] |
|
batch | boolean | | Process multiple files |
Output Example
CODEBLOCK1
Tips
- 1. Auto-detect catches orientation issues that metadata misses — Phone metadata often says "landscape" when the video is clearly portrait (or vice versa). NemoVideo's AI analyzes the actual content — faces, text, horizon lines — to determine the correct orientation regardless of metadata.
- Always fix metadata alongside visual rotation — A visually rotated video with incorrect metadata will display wrong on some players and devices. Fixing both ensures universal compatibility.
- Horizontal flip fixes selfie text but consider the speaker — Mirrored text is always worth fixing. But be aware that the speaker's parting, moles, and other asymmetric features will also flip. Most viewers never notice — text readability is more important.
- Batch orientation fix saves event footage — When multiple clips from one event have mixed orientations, fixing them one by one is tedious. Batch auto-detect processes the entire collection in one operation.
- Creative rotation needs corner fill — Rotating a video by any non-90° angle exposes empty corners. AI background extension fills these corners naturally, maintaining the visual flow without distracting black triangles.
Output Formats
| Format | Resolution | Use Case |
|---|
| MP4 16:9 | 1080p / 4K | YouTube / website |
| MP4 9:16 |
1080x1920 | TikTok / Reels / Shorts |
| MP4 1:1 | 1080x1080 | Instagram / LinkedIn |
| MOV | Original | Professional workflow |
Related Skills
AI 视频旋转 — 修正方向,拯救素材。
每个人都会遇到这种情况。你录制了一个重要时刻——孩子的第一步、关键会议、千载难逢的事件——回放时却发现画面是歪的。手机握持方向不对。摄像头自动旋转功能失效。屏幕录制本应是横屏却录成了竖屏。素材本身完美无瑕,唯独一点:它旋转了90度,不歪着头根本没法看。这是世界上最常见的视频问题之一。智能手机每天录制数十亿条视频,而方向错误影响了大约5-10%的录制内容。这意味着每天有数亿条横向、倒置或镜像翻转的视频被创建出来。简单的旋转——将视频旋转90度——大多数工具都能做到。但简单的旋转会带来问题:一个1920x1080的横屏视频旋转90度后,如果播放器期望横屏,就会变成1080x1920并带有黑边,或者分辨率意外改变,又或者原本水平的文字叠加层变成了垂直。NemoVideo智能地处理旋转:旋转视频、调整画布、保持分辨率质量、修正任何文字叠加层,并可选择用AI生成的内容或模糊扩展来填充黑边区域。
使用场景
- 1. 手机横向录制 — 90°修正(任意时长) — 一位家长录制了孩子的学校演出,但手机是横着拿的。整个30分钟的录制内容顺时针旋转了90度。NemoVideo:逆时针旋转90°,调整画布以匹配新方向,保持原始分辨率质量(重新编码无质量损失),并导出为方向正确的视频。三十分钟的珍贵素材免于无法观看的命运。
- 2. 倒置素材 — 180°校正(任意时长) — 运动相机安装反了(GoPro胸带和头盔支架安装常见问题)。NemoVideo:检测到180°方向问题,同时进行垂直和水平翻转(相当于180°旋转),保留所有元数据和音频同步,并导出方向正确的视频。整个冒险素材得以恢复。
- 3. 镜像修复 — 自拍视频水平翻转(任意时长) — 一位创作者使用前置摄像头录制了教程。白板上的文字出现了镜像反转。NemoVideo:应用水平翻转(镜像),在翻转说话者外观的同时修正所有文字的可读性(观众不会注意到说话者被镜像了;但他们绝对会注意到镜像的文字)。教程素材变得可用。
- 4. 创意旋转 — 艺术角度(任意时长) — 一位音乐视频导演想要一个世界逐渐倾斜的场景:从正常开始,在10秒内旋转45度。NemoVideo:在指定时长内应用从0°到45°的平滑动画旋转,用AI扩展背景填充暴露的角落(无黑色三角形),在旋转过程中保持主体焦点,并创造出一种令人迷失方向的艺术效果。为视觉叙事而生的创意旋转。
- 5. 批量方向修正 — 多个片段(多个文件) — 一位摄影师用手机拍摄了一场活动,全天在竖屏和横屏之间交替。有些片段是正确的,有些是歪的,有些是倒置的。NemoVideo:使用内容分析自动检测每个片段的预期方向(不仅仅是元数据,元数据常常出错),为每个片段应用正确的旋转,并以一致的方向导出所有片段。一场方向混杂的活动变成了方向一致的素材集合,随时可以编辑。
工作原理
第1步 — 上传视频
任何有方向问题的视频。NemoVideo在大多数情况下会自动检测问题。
第2步 — 指定旋转
自动检测(AI确定正确方向)、手动(90°、180°、270°、自定义)、翻转(水平/垂直)或动画旋转。
第3步 — 生成
bash
curl -X POST https://mega-api-prod.nemovideo.ai/api/v1/generate \
-H Authorization: Bearer $NEMO_TOKEN \
-H Content-Type: application/json \
-d {
skill: ai-video-rotate,
prompt: 修正手机横向录制——视频顺时针旋转了90度,需要校正为正常的横屏方向。保持原始质量。同时创建一个带人脸追踪的竖屏(9:16)版本用于TikTok。并修正方向元数据,使其在所有设备上都能正确播放。,
rotation: auto-detect,
fix_metadata: true,
additional_outputs: [
{format: 9:16, tracking: face, platform: tiktok}
]
}
第4步 — 验证并下载
播放修正后的视频。确认:方向正确、质量保持、音频同步。下载。
参数
| 参数 | 类型 | 必填 | 描述 |
|---|
| prompt | string | ✅ | 旋转描述 |
| rotation |
string | | auto-detect, 90-cw, 90-ccw, 180, horizontal-flip, vertical-flip, custom |
| angle | float | | 自定义旋转角度(度) |
| animated | object | | 动画旋转的 {from
angle, toangle, duration} |
| corner_fill | string | | 非90°旋转的填充方式:ai-extend, blur, black, mirror |
| fix_metadata | boolean | | 修正方向元数据 |
| additional_outputs | array | | [{format, tracking, platform}] |
| batch | boolean | | 处理多个文件 |
输出示例
json
{
job_id: avrot-20260328-001,
status: completed,
detected_issue: 顺时针旋转90度,
correction_applied: 逆时针旋转90度,
quality: 无损重新编码,
metadata_fixed: true,
outputs: {
corrected: {file: video-fixed.mp4, resolution: 1920x1080, orientation: landscape},
tiktok: {file: video-tiktok.mp4, resolution: 1080x1920, tracking: face}
}
}
提示
- 1. 自动检测能捕捉到元数据遗漏的方向问题 — 当视频明显是竖屏时,手机元数据常常显示为“横屏”(反之亦然)。NemoVideo的AI分析实际内容——人脸、文字、地平线——以确定正确的方向,不受元数据影响。
- 始终在视觉旋转的同时修正元数据 — 视觉上已旋转但元数据错误的视频在某些播放器和设备上会显示错误。同时修正两者可确保通用兼容性。
- 水平翻转可修正自拍文字,但需考虑说话者 — 镜像文字总是值得修正。但要注意,说话者的发际线、痣和其他不对称特征也会被翻转。大多数观众不会注意到——文字可读性更重要。
- 批量方向修正可拯救活动素材 — 当同一活动的多个片段方向混杂时,逐一修正是繁琐的。批量自动检测可一次性处理整个集合。
- 创意旋转需要角落填充 — 将视频旋转任何非90°的角度都会暴露空角。AI背景扩展能自然地填充这些角落,保持视觉流畅,避免分散注意力的黑色三角形。
输出格式
| 格式 | 分辨率 | 使用场景 |
|---|
| MP4 16:9 | 1080p / 4K | YouTube / 网站 |
| MP4 9:16 |
1080x1920 | TikTok / Reels / Shorts |
| MP4 1:1 | 1080x1080 | Instagram / LinkedIn |
| MOV | 原始 | 专业工作流程 |
相关技能