Before uploading, you want to know how much you can compress a video without losing important details. For this, use a short clip with text, motion, and a calm, static background area. Compare two versions derived from the same source and adjust only one setting at a time.
What we measured in the test sample
On November 6, 2026, we exported an eight-second synthetic test pattern twice using FFmpeg 8.0.1. Both MP4 files use H.264 via libx264, with the medium preset, yuv420p, 1920 × 1080 pixels, and 25 frames per second. Both files contain 200 frames and no audio track. The faststart setting and the number of encoder threads remained unchanged.
- CRF 20 resulted in 7,407,000 bytes, or approximately 7.41 MB.
- CRF 28 resulted in 2,782,348 bytes, or approximately 2.78 MB.
- With the used template, the file size decreased by approximately 62 percent. The figures represent the two test files in decimal megabytes.
CRF controls quality settings in libx264. A higher CRF value enables greater compression. The resulting file size and visible differences depend not only on the content and other settings but also on the specific video material. The moving test pattern demonstrates a measurable change in file size. Whether your fine text remains legible ultimately depends on your own video.
FFmpeg documentation for the libx264 encoder
Upload your material for a side-by-side comparison
- Select a short, representative segment featuring small details and motion. In a screen recording, use light annotations during scrolling.
- Export twice from the same source with identical dimensions, frame rate, and audio settings. First, change only the quality preset.
- Compare file size and duration. Review both versions at the same display size and additionally test critical sections on the target mobile device.
- Choose the smaller version if it still includes all essential information. If the file must meet a fixed size limit, additionally perform an export with an appropriate target bitrate and re-measure the output.
For the synthetic sample, the pattern can be generated using testsrc2=size=1920x1080:rate=25:duration=8. Common output settings include -c:v libx264 -preset medium -threads 4 -pix_fmt yuv420p -an -movflags +faststart. The comparison changed only -crf 20 to -crf 28. The technical characteristics were extracted using ffprobe.
Verify the actually delivered version
A video host can create its own versions of your uploaded file for playback. Therefore, after uploading, assess the visible player and quality on the final page. The size of the exported file indicates the amount of data uploaded. For future traffic, only the actual data delivered matters.