Browser FFmpeg recipe
Crop Video Online with FFmpeg
Crop the top-left 1080 by 1080 area from the video.
Command
Run this FFmpeg command
ffmpeg -i input.mp4 -vf crop=1080:1080:0:0 -c:a copy cropped.mp4When to use it
- square clips
- removing edges
- social previews
How it works
- Upload the video file.
- Adjust width, height, x, and y values in the crop filter.
- Run FFmpeg and download the cropped video.
Option reference
| Option | What it does |
|---|---|
crop=1080:1080:0:0 | Uses width:height:x:y crop syntax. |
-c:a copy | Copies audio without re-encoding. |
Practical notes
- The x and y values control where the crop starts from the left and top edges.
- For a centered crop, calculate x and y from the source dimensions.
FAQ
What do the four crop numbers mean?
They mean output width, output height, x offset, and y offset.
Can I crop to vertical video?
Yes. Use a vertical size such as crop=720:1280:x:y.