Повернуть видео
Исправьте видео, снятое боком, за секунды. Ничего не загружается и по умолчанию не перекодируется.
Файл читает и перекодирует ваш собственный браузер. Ни один запрос никуда его не отправляет — у этой страницы просто нет сервера, куда его загружать.
Вопросы
Ухудшится ли качество при повороте?
По умолчанию нет. В видеофайле есть отметка поворота, которую читают плееры: инструмент ставит её, а кадры копирует как есть — то же качество, за секунды. Если отметить «вписать поворот в кадры», картинка перекодируется, это стоит немного качества один раз.
Почему в каком-то приложении видео всё ещё боком?
Некоторые плееры и формы загрузки не читают отметку поворота и показывают кадры как есть. Для них поверните ещё раз с галочкой «вписать поворот в кадры»: тогда поворот станет частью картинки, и любой плеер покажет видео ровно.
Видео куда-то загружается?
Нет. Файл читает и записывает ваш браузер через WebCodecs, ничего не уходит с устройства.
Пусть это сделает ваш агент: Rotate Video: подключите MCP Life2Film (52 видеоинструментов, гайды и навыки)
claude mcp add --transport http life2film https://life2film.com/mcpПромпт, навык
Вставьте агенту:
Use Life2Film's rotate-video on my file: call get_tool("rotate-video") on the life2film MCP, then do it.Claude.ai / ChatGPT connector: https://life2film.com/mcp · Cursor: {"mcpServers":{"life2film":{"url":"https://life2film.com/mcp"}}}
get_tool("rotate-video") · Файл навыка: /tools/rotate-video/skill.md · all skills
Другие инструменты
Встроить в свой проект
Rotating a video, locally — the same way this page does it, on the user's machine, with no server. Take the code, or hand the prompt to a coding agent.
import { Input, Output, Conversion, BlobSource, BufferTarget, Mp4OutputFormat, ALL_FORMATS } from 'mediabunny';
const input = new Input({ source: new BlobSource(file), formats: ALL_FORMATS });
const output = new Output({ format: new Mp4OutputFormat(), target: new BufferTarget() });
// Metadata when possible (lossless); allowTransformationMetadata: false draws it into the frames.
const conversion = await Conversion.init({ input, output, video: { rotate: 90 } });
await conversion.execute(); Add "rotate or flip a video" to my project, running entirely in the browser.
Requirements:
- Use "mediabunny" (WebCodecs). Offer 90° right, 90° left, 180° and a horizontal mirror.
- Default to rotation metadata so the frames are copied untouched; offer an explicit option to
draw the turn into the frames (allowTransformationMetadata: false) for players that ignore it,
and say that this re-encodes.
- Keep the source container (MP4 stays MP4, MOV stays MOV).
- Write results in pieces (StreamTarget), not one ArrayBuffer: Chrome refuses buffers over ~2 GB.
Reference implementation: https://life2film.com/tools/rotate-video/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.