Convertio.com

What Is CRF? Video Quality Settings Explained

CRF (Constant Rate Factor) is the most important video encoding setting you've never heard of. It controls quality in FFmpeg, HandBrake, and most modern encoders. This guide explains the CRF scale, recommended values for every use case, and how we use CRF 23 for our conversions.

Convert MOV to MP4

Upload your video and convert with optimal quality

MOV MP4

Tap to choose your file

or

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

Encrypted upload via HTTPS. Files auto-deleted within 2 hours.

What Is CRF?

CRF stands for Constant Rate Factor. It is an encoding mode used by x264, x265, libvpx, and other modern video encoders. Instead of targeting a specific file size or bitrate, CRF targets a consistent visual quality level across the entire video.

When you encode with CRF, the encoder analyzes each frame and asks: "How many bits does this frame need to achieve quality level X?" Simple frames (static shots, solid colors, slow pans) need fewer bits. Complex frames (fast action, detailed textures, confetti explosions) need more bits. The result is a variable bitrate stream where every frame looks equally good, regardless of scene complexity.

The CRF scale for H.264 (x264) ranges from 0 to 51:

  • CRF 0 — Mathematically lossless. Every pixel is preserved exactly. Files are enormous (50–100x larger than CRF 23).
  • CRF 18 — Visually lossless. No human can reliably distinguish it from the original, even on a professional monitor. This is the practical quality ceiling.
  • CRF 23 — FFmpeg's default. Excellent quality that satisfies the vast majority of viewers. VMAF scores of 93–96 out of 100.
  • CRF 28 — Good quality. Artifacts become noticeable on careful inspection but acceptable for web delivery and casual viewing.
  • CRF 51 — Maximum compression, minimum quality. Unwatchable blocky mess. Useful only as a theoretical endpoint.

CRF is not a bitrate target. You do not set a target file size. You tell the encoder "give me this quality" and it figures out how many bits are needed. The file size is a byproduct, not a goal. This is fundamentally different from constant bitrate (CBR) or average bitrate (ABR) encoding, where you specify the size and quality varies.

CRF 23 at medium preset: VMAF 93–96 quality score. Each +1 CRF reduces bitrate approximately 10–12%. Each +6 CRF roughly halves the file size.

CRF Scale Explained

The CRF scale is logarithmic: small changes at the low end (high quality) have a larger perceptual impact than the same change at the high end. The most useful rule of thumb: +/-6 CRF roughly halves or doubles the file size. More precisely, each +1 CRF reduces the bitrate by approximately 10–12%.

The practical range is CRF 18 to 28. Below 18, you're spending exponentially more storage for quality improvements no human can perceive. Above 28, compression artifacts become increasingly visible — blocking, banding, loss of fine detail, and smearing on motion.

Here is a reference table for a typical 1-minute 1080p 30fps clip (real-world source, medium motion complexity):

CRF Quality Description ~1 min 1080p ~VMAF Score Relative Size
0Mathematically lossless~3–6 GB10050–100x
18Visually lossless~120 MB98–992x
20Excellent, near-lossless~85 MB97–981.4x
23Excellent (FFmpeg default)~60 MB93–961x (baseline)
26Good, minor artifacts visible~40 MB88–920.67x
28Good for web delivery~30 MB84–890.5x
33Minimum acceptable~15 MB72–800.25x
40Low quality, visible blocking~6 MB50–650.1x

Note: These sizes are approximate. Actual file sizes vary enormously based on video content. A static talking-head video at CRF 23 might be 20 MB per minute, while a fast-action sports clip could be 100 MB per minute at the same CRF. The CRF value guarantees consistent quality, not consistent size.

Different scenarios have different quality requirements. Using CRF 18 for a social media story is wasteful; using CRF 33 for a professional portfolio is unacceptable. Here are evidence-based recommendations:

Use Case CRF Range Reasoning
Archival / master copy CRF 18 Visually lossless. Maximum quality for long-term storage. Large files but no perceptible degradation.
YouTube upload CRF 18–20 YouTube re-encodes everything. Higher source quality = less generation loss after YouTube's compression.
General use (default) CRF 23 FFmpeg's default for x264. Excellent balance of quality and size. Indistinguishable from original for most viewers.
Web / social media CRF 26–28 Smaller files for faster loading. Quality still good on phone screens and embedded web players.
Email attachment CRF 28–33 Must fit under 25 MB (Gmail). Resolution reduction usually more effective than high CRF.
Minimum acceptable CRF 33 Visible artifacts but content is still watchable. Useful for previews, drafts, or bandwidth-constrained delivery.

For most people, CRF 23 is the right choice. It is FFmpeg's default for a reason: it produces files that are 50–70% smaller than the original camera output with no visible quality loss for typical viewing on screens up to 27 inches. If you are unsure, start with CRF 23 and only adjust if the file is too large (increase CRF) or you need archival quality (decrease to CRF 18).

CRF by Resolution

Higher resolutions contain more pixels per frame, which means more data to encode. However, higher resolution also means each compression artifact covers a smaller percentage of the screen. This allows slightly higher CRF values at higher resolutions without visible degradation — the artifacts are smaller relative to the total image.

Resolution Pixels CRF Range ~1 min Size (CRF mid)
480p (854×480)0.4 MP18–22~15 MB
720p (1280×720)0.9 MP19–23~30 MB
1080p (1920×1080)2.1 MP20–24~60 MB
1440p (2560×1440)3.7 MP21–26~100 MB
4K (3840×2160)8.3 MP22–28~200 MB

The key insight: a CRF 28 encode at 4K can look as good as CRF 23 at 1080p because each artifact block covers a proportionally smaller area of the frame. This is especially true for 4K content viewed on 4K screens at normal viewing distances, where the eye cannot resolve individual pixel-level artifacts.

Conversely, low-resolution video (480p) demands lower CRF values because artifacts are proportionally larger and more obvious. At 480p, the difference between CRF 23 and CRF 28 is easily visible even on a phone screen.

CRF vs Fixed Bitrate

CRF and fixed bitrate are two fundamentally different approaches to video encoding. Understanding when to use each one is critical for optimal results.

CRF (Constant Quality): You specify the quality level. The encoder determines the bitrate needed for each frame to achieve that quality. The output has variable bitrate — complex scenes get more bits, simple scenes get fewer. File size is unpredictable but quality is consistent. Best for: offline encoding, file storage, uploads to platforms that re-encode.

Fixed Bitrate (CBR/ABR): You specify the target bitrate. The encoder distributes that budget across all frames. Simple scenes look great (surplus bits). Complex scenes may suffer (insufficient bits). File size is predictable but quality varies scene-to-scene. Best for: live streaming, bandwidth-constrained delivery, broadcast.

Aspect CRF (Constant Quality) Fixed Bitrate (CBR/ABR)
You controlQuality level (CRF value)Bitrate (kbps / Mbps)
Encoder decidesBitrate per frameQuality per frame
QualityConsistent across all scenesVaries by scene complexity
File sizeUnpredictable (depends on content)Predictable
Encoding passesSingle pass1-pass or 2-pass
Best forFiles, uploads, archivalStreaming, broadcast, bandwidth caps
EfficiencyOptimal — no wasted bitsMay waste bits on simple scenes

For the vast majority of video conversion tasks — converting iPhone MOV to MP4, preparing videos for social media, archiving home videos — CRF is the better choice. It produces smaller files at the same visual quality because it doesn't waste bits on scenes that don't need them. Fixed bitrate is only necessary when you have a hard bandwidth or file size constraint that must be met exactly.

Two-pass ABR encoding is a middle ground: the first pass analyzes the video, the second encodes with optimal bit allocation. It can approach CRF quality while hitting a target file size, but it takes twice as long to encode. If you need a specific file size, two-pass ABR is better than single-pass CBR.

Our Converter Settings

When you convert a video on Convertio.com, we use the following settings:

ffmpeg -i input.mov -c:v libx264 -crf 23 -preset medium \
       -c:a aac -b:a 192k -movflags +faststart output.mp4

Here is what each parameter does and why we chose it:

  • -c:v libx264 — H.264 video codec. The most compatible video codec in existence. Every device, browser, and platform supports H.264 playback.
  • -crf 23 — Constant Rate Factor 23. VMAF scores of 93–96. Visually indistinguishable from the original for the vast majority of viewers. Files are 50–70% smaller than typical camera output.
  • -preset medium — Encoding speed preset. Medium provides the best balance of encoding speed and compression efficiency. Slower presets (slow, veryslow) produce slightly smaller files at the same quality but take 2–10x longer. Faster presets (fast, veryfast) sacrifice compression efficiency for speed.
  • -c:a aac -b:a 192k — AAC audio at 192 kbps. Transparent audio quality for stereo content. AAC at 192 kbps is overkill for most video audio, ensuring no audio quality concerns.
  • -movflags +faststart — Moves the MP4 metadata (moov atom) to the beginning of the file. This enables instant web playback — the browser can start playing before the entire file downloads.

Why CRF 23 and not lower? The difference between CRF 18 and CRF 23 is approximately 2x file size for a quality improvement that is invisible to most viewers on consumer displays. CRF 23 is the "sweet spot" where further quality increases provide diminishing returns relative to storage cost and upload time.

Our converter also detects when remuxing is possible. If your MOV file already contains H.264 video and AAC audio, we use -c copy instead of re-encoding — this is instantaneous and involves zero quality loss. Re-encoding only happens when the source uses a codec that requires conversion (ProRes, HEVC on certain targets, etc.).

For a deeper understanding of the container formats involved, see our MP4 vs MKV vs MOV comparison guide.

Ready to Convert?

Convert your MOV files to MP4 at CRF 23 quality

MOV MP4

Tap to choose your file

or

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

Frequently Asked Questions

Use CRF 18–20 for YouTube uploads. YouTube re-encodes every video regardless of what you submit, so uploading a higher-quality source minimizes generation loss. CRF 18 produces a large file but gives YouTube the best possible input. Going below CRF 18 wastes upload time with no visible benefit after YouTube's re-encoding.

CRF 23 is FFmpeg's default quality setting for H.264 encoding. It targets visually good quality — scoring 93–96 on the VMAF perceptual quality scale (out of 100). The encoder analyzes each frame and allocates enough bits to maintain that quality level, resulting in variable bitrate output. Most viewers cannot distinguish CRF 23 from the original source.

No, but it is mathematically lossless. CRF 0 tells the H.264 encoder to preserve every pixel value exactly — the decoded output is bit-identical to the input. However, the file is still compressed using H.264's prediction and entropy coding, so it is significantly smaller than raw uncompressed video (YUV or RGB). CRF 0 files are typically 5–10x smaller than uncompressed but 50–100x larger than CRF 23.

Yes. HandBrake's RF (Rate Factor) slider maps directly to FFmpeg's CRF value. RF 20 in HandBrake equals CRF 20 in FFmpeg — they use the same x264/x265 encoder underneath. HandBrake's default RF 22 for 1080p is roughly equivalent to FFmpeg's default CRF 23 (HandBrake applies slightly different preset tuning).

Yes, H.265 uses the same CRF concept but the scale produces different results. H.265 is more efficient, so CRF 28 in H.265 produces roughly the same visual quality as CRF 23 in H.264 — at about 40–50% smaller file size. The FFmpeg default for x265 is CRF 28. For equivalent quality, subtract approximately 4–6 from your H.264 CRF value when switching to H.265.

More MOV to MP4 Guides

How to Convert MOV to MP4 on Mac, Windows, iPhone & Online
Step-by-step MOV to MP4 conversion for every platform: online, Mac, Windows, iPhone, Android. Free methods explained.
MOV vs MP4: What's the Difference and Which Is Better?
MOV vs MP4 compared: compatibility, quality, file size, editing, and when to convert. Both are MPEG-4 containers.
Why Convert MOV to MP4? iPhone Video Compatibility Guide
Why iPhone MOV files don't play everywhere and when you need MP4. Remuxing vs re-encoding explained.
How to Play MOV Files on Windows 10 & 11
MOV not playing on Windows? Install VLC, add HEVC codec, or convert to MP4. Fix the iPhone video problem.
MP4 vs MKV vs MOV: Which Video Container Format to Use?
Compare MP4, MKV, and MOV containers: compatibility, codec support, streaming, and which format to choose.
How to Reduce Video File Size Without Losing Quality
5 proven methods to shrink video files: CRF, presets, resolution, frame rate, and codec choice. Size estimation table.
Best Video Settings for YouTube, Instagram & TikTok
Optimal video format, resolution, frame rate, and codec for every social platform. Quick-reference cheat sheet.
Video Resolution Guide: 4K vs 1080p vs 720p vs 480p
Compare video resolutions: pixel count, file size impact, when 1080p is enough, and platform recommendations.
How to Compress Video for Email (Under 25 MB)
Get videos under Gmail's 25 MB limit: resolution, CRF, audio settings, and duration calculator.
H.264 Profiles Explained: Baseline vs Main vs High
H.264 Baseline, Main, and High profiles compared: compression efficiency, compatibility, and recommendations.
MP4 Faststart: Fix Video Buffering for Web Playback
What is the moov atom, why videos buffer, and how faststart fixes instant web playback. FFmpeg movflags explained.
Back to MOV to MP4 Converter