Cheatsheet Pages / FFmpeg Cheatsheet

How to crop a region out of a video — ffmpeg crop

Only a rectangle of the frame matters — a screen area, a speaker's face, a detail.

ffmpeg -i input.mp4 -vf "crop=640:480:100:50" output.mp4

Good to know

Format is crop=W:H:X:Y — width, height, and the top-left corner to start from.

FFmpeg Cheatsheet one-page card — 28 commands that actually work
The full one-page card — FFmpeg Cheatsheet. Get the complete cheatsheet on GitHub