Convertio.com

FFmpeg Presets: Speed vs Quality vs File Size

FFmpeg's x264 encoder has 10 presets from ultrafast to veryslow. They control how hard the encoder works to compress your video — slower presets produce smaller files at the same quality. This guide benchmarks every preset so you can make an informed choice.

Convert MKV to MP4

Optimized encoding preset applied automatically

MKV MP4

Tap to choose your file

or

Supports M4A, WAV, FLAC, OGG, AAC, WMA, AIFF, OPUS • Max 100 MB

What Are FFmpeg Presets?

When encoding video with x264 (H.264) or x265 (H.265), the preset controls how many compression algorithms the encoder uses. More algorithms = better compression = smaller files, but slower encoding.

The 10 x264 presets, from fastest to slowest:

  1. ultrafast
  2. superfast
  3. veryfast
  4. faster
  5. fast
  6. medium (default)
  7. slow
  8. slower
  9. veryslow
  10. placebo (not recommended — negligible improvement over veryslow)

A critical point: at the same CRF, all presets produce identical visual quality. The only difference is file size and encoding speed. Slower presets don't look better — they compress better.

Benchmark Table: All Presets Compared

Encoding a 1-minute 1080p video at CRF 23 on an 8-core CPU (representative benchmarks):

Preset Speed (fps) Encode Time File Size Size vs Medium
ultrafast ~120 fps ~15s ~95 MB +58%
superfast ~90 fps ~20s ~80 MB +33%
veryfast ~70 fps ~25s ~70 MB +17%
faster ~55 fps ~33s ~65 MB +8%
fast ~42 fps ~43s ~62 MB +3%
medium ~30 fps ~60s ~60 MB baseline
slow ~15 fps ~2 min ~52 MB -13%
slower ~8 fps ~3.5 min ~50 MB -17%
veryslow ~4 fps ~7.5 min ~48 MB -20%

The Sweet Spots

Three presets stand out as the best choices for different scenarios:

medium — General Use (Our Default)

The default for a reason. It offers the best balance of encoding speed and file size. For an online converter where users are waiting for results, medium provides fast turnaround without excessive file bloat.

slow — Best Size Savings Worth the Wait

Compared to medium, slow takes about 2x longer but produces files 10–15% smaller. If you're encoding a large library for archival and time isn't a factor, slow is the best preset. The savings compound across many files.

veryfast — When Speed Is Critical

About 2.3x faster than medium at the cost of 17% larger files. Ideal for batch processing, quick previews, or when encoding speed is the bottleneck. The quality is identical — only file size increases.

Diminishing Returns

The critical insight: the slower you go, the less you gain per step.

  • veryfastmedium: -17% size (significant, worth the 2.3x slower encoding)
  • mediumslow: -13% size (still significant, worth it for archival)
  • slowslower: -4% size (marginal, 2x slower for little gain)
  • slowerveryslow: -3% size (marginal, 2x slower for almost nothing)

This is why veryslow and placebo are rarely worth using. The encoding time doubles or triples for single-digit percentage improvements in file size.

Practical recommendation: Use medium unless you have a specific reason not to. If file size matters and you have time, use slow. Never use placebo — it's effectively identical to veryslow at 3–5x the encoding time.

Preset + CRF Interaction

Presets and CRF work together but control different things:

  • CRF controls quality level (what you see)
  • Preset controls compression efficiency (how many bytes it takes to achieve that quality)

At CRF 23 with ultrafast, the video looks identical to CRF 23 with veryslow. But the veryslow file is 40–50% smaller because the encoder spent more time finding efficient ways to represent the same visual information.

This means you can achieve smaller files in two ways:

  1. Increase CRF (e.g., 23 → 28) — reduces quality and file size
  2. Use a slower preset (e.g., medium → slow) — reduces file size only, quality stays the same

Our Converter Settings

Our online converter uses the medium preset with CRF 23. This was chosen for the best user experience:

  • Fast processing: Users don't want to wait 10 minutes for a 1-minute video
  • Excellent quality: CRF 23 produces visually indistinguishable output
  • Reasonable file size: medium provides good compression without excessive encoding time

For users who need maximum compression, downloading FFmpeg and running the slow preset locally is the best option for large file libraries.

Ready to Convert?

Convert your video with optimized encoding settings

MKV MP4

Tap to choose your file

or

Supports M4A, WAV, FLAC, OGG, AAC, WMA, AIFF, OPUS • Max 100 MB

Frequently Asked Questions

At the same CRF, all presets produce identical visual quality. Slower presets achieve the same quality in a smaller file. Faster presets produce larger files with the same quality. The preset never degrades what you see.

medium for most cases. slow if you want 10–15% smaller files and don't mind longer encoding times. veryfast if speed is your top priority and you can accept 17% larger files.

Ultrafast encodes roughly 30x faster than veryslow but produces files about 50% larger. At the same CRF, both look identical — the difference is purely in file size and encoding time.

Veryslow offers diminishing returns over slow — only 2–5% smaller files for 3–5x longer encoding. For online conversion, the extra wait time is rarely justified. The slow preset captures most of the compression benefit at a fraction of the time.

More MKV to MP4 Guides

MKV vs MP4: Which Container Should You Choose?
MKV vs MP4 compared: codec support, subtitle tracks, device compatibility, and when to use each container format.
H.264 vs H.265 (HEVC): Which Video Codec Is Better?
H.264 vs H.265 codec comparison: quality, file size, encoding speed, hardware support, and compatibility.
MKV to MP4 Without Losing Quality: Complete Guide
Convert MKV to MP4 losslessly via remuxing or with minimal quality loss. CRF settings and codec compatibility explained.
Container vs Codec: What's the Difference?
Understand the difference between video containers (MKV, MP4, AVI) and codecs (H.264, H.265, VP9). Essential knowledge for video conversion.
CRF Quality Guide: H.264 & H.265 Settings Explained
Master CRF (Constant Rate Factor) settings for H.264 and H.265. Quality vs file size tradeoffs with visual examples.
Frame Rate Guide: 24 vs 30 vs 60 FPS Explained
Video frame rates explained: 24 fps for film, 30 fps for TV, 60 fps for gaming. When to change FPS during conversion.
Pixel Format YUV420p: Why It Matters for Video Compatibility
Why yuv420p is required for universal video playback. Chroma subsampling, color depth, and compatibility with every device.
Two-Pass Encoding vs CRF: Which Is Better?
Compare two-pass encoding and CRF for video quality. When to use each method and how they affect file size and quality.
MKV Subtitles: How to Handle Multiple Tracks
Handle MKV subtitle tracks during conversion: extract SRT, burn-in SSA/ASS, and preserve subtitle data when converting to MP4.
Back to MKV to MP4 Converter