Edit tool

Resize Video with FFmpeg

Generate FFmpeg scale commands to change video resolution while preserving aspect ratio when needed.

FFmpeg.Run generates commands only. Your media files stay on your computer and are never uploaded.

Command options

Generated command

Common uses

  • Resize video to 720p or 1080p
  • Scale by width or height while preserving aspect ratio
  • Create smaller files by lowering resolution

Related articles

Related command recipes

Command notes

Use `-2` for the automatic dimension when encoding H.264 or H.265, so the result stays divisible by 2.

Scaling changes video frames, so the video stream must be re-encoded.

Use CRF together with scale when you want to resize and compress in one pass.

FAQ

How do I resize without stretching?

Set one dimension and use `-2` for the other dimension, such as `scale=-2:720` or `scale=1280:-2`.

Can resizing avoid re-encoding?

No. Resizing is a video filter, so FFmpeg must re-encode the video stream. You can still copy the audio stream.

Should I use 720p or 1080p?

Use 720p for smaller files and previews. Use 1080p when quality matters more and the source has enough detail.