# fastest crop with minimal quality loss # # out_w:out_h: Width and height of the cropped area. # x:y: Top-left corner coordinates. # -crf 18: Visually lossless quality (lower numbers = higher quality; 17–18 is standard for high fidelity). # -c:a copy: Copies the audio without re-encoding it to save time ffmpeg -i input.mp4 -vf "crop=out_w:out_h:x:y" -c:v libx264 -crf 18 -c:a copy output.mp4