All command recipes
Compress recipe

Compress MP4 with FFmpeg

Reduce MP4 file size with H.264 CRF compression.

Command

Use this when

  • You want a smaller MP4 file for sharing or storage.
  • You want a quality-based setting instead of a fixed target size.
  • You need broad compatibility with browsers and devices.

Customize it

Generate FFmpeg commands to reduce video file size with CRF, codec, preset, and resolution controls.

Open Compress Video

Parameter breakdown

-c:v libx264

Encodes video with H.264 for broad compatibility.

-crf 23

Controls quality and size. Lower values improve quality and increase file size.

-preset medium

Balances encoding speed and compression efficiency.

-b:a 128k

Sets a practical AAC audio bitrate for compressed video.

Variants

Smaller output

H.265 compression