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.mp4

When to use it

  • square clips
  • removing edges
  • social previews

How it works

  1. Upload the video file.
  2. Adjust width, height, x, and y values in the crop filter.
  3. Run FFmpeg and download the cropped video.

Option reference

OptionWhat it does
crop=1080:1080:0:0Uses width:height:x:y crop syntax.
-c:a copyCopies 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.