Browser FFmpeg recipe
Rotate Video Online with FFmpeg
Rotate the video 90 degrees clockwise while keeping the audio stream.
Command
Run this FFmpeg command
ffmpeg -i input.mp4 -vf transpose=1 -c:a copy rotated.mp4When to use it
- phone videos
- orientation fixes
- quick rotation
How it works
- Upload the video file.
- Choose the transpose direction you need.
- Run FFmpeg and download the rotated file.
Option reference
| Option | What it does |
|---|---|
transpose=1 | Rotates video 90 degrees clockwise. |
-c:a copy | Copies audio without re-encoding. |
Practical notes
- Use transpose=2 for 90 degrees counterclockwise.
- Use two transpose filters for a 180 degree rotation.
FAQ
Can I rotate without re-encoding?
Some files support metadata-only rotation, but this recipe creates a visual rotation by filtering frames.
Why did processing take time?
Video filters require re-encoding, and browser FFmpeg runs on your local device.