ffmpeg -i input.mp4 -filter:v "crop=out_w:out_h:x:y" output.mp4
Where the options are as follows:
out_w is the width of the output rectangle
out_h is the height of the output rectangle
x and y specify the top left corner of the output rectangle (coordinates start at (0,0) in the top left corner of the input)