Worked example: shrinking a 240 MB video to 81 MB

Take a video that runs 2 minutes and 10 seconds at 1080p and weighs 240 MB. In seconds that is 130 seconds. The average bitrate is the file size times 8 divided by the length: 240 times 8 divided by 130, which is 14.77 megabits per second, a typical rate for a phone recording at high quality. Now pick a target of 5 megabits per second, which is a sensible rate for sharing a 1080p video online. The new file size is the bitrate times the length divided by 8: 5 times 130 divided by 8, which is 81.25 MB. That is 240 minus 81.25, or 158.75 MB removed, a saving of about 66 percent. The quality control that gets you there is called CRF, the constant rate factor, and a CRF of 23 lands close to 5 megabits per second for ordinary 1080p footage. Push the CRF to 28 and the bitrate falls to roughly 2.5 megabits per second, giving a file of 2.5 times 130 divided by 8, which is about 40.6 MB, but faces start to look waxy and fine detail like grass or hair turns to mush. Drop the CRF to 18 and the bitrate rises to about 12 megabits per second, giving 195 MB, which is barely smaller than the original. The lesson is that the first half of the saving costs almost nothing visible, and the second half costs quality you can see.

CRF settings and what they produce

CRF runs from 0, lossless, to 51, worst quality. Each step of 6 roughly halves or doubles the bitrate. These figures are for the 130 second 1080p video in the example, and they are approximate because busy scenes need more data than still ones.

CRF value Approximate bitrate File size for 130 seconds Visible quality
18 About 12 Mbps About 195 MB Nearly identical to the original
23 About 5 Mbps About 81 MB Very good, the recommended balance
28 About 2.5 Mbps About 41 MB Good on phones, soft on a big screen
32 About 1.4 Mbps About 23 MB Noticeable blockiness in motion

Same 130 second video at four CRF settings CRF 18195 MB CRF 2381 MB CRF 2841 MB CRF 3223 MB CRF 23 keeps about two thirds of the saving with almost no visible loss. Bars are drawn to scale.

Common mistakes

The first mistake is compressing a video that is already heavily compressed. A clip downloaded from a chat app has already been squeezed once, and squeezing it again mostly adds blockiness without saving much size. Compress the original recording, not a copy that has already been through a messenger. The second mistake is chasing the smallest possible number. CRF 32 looks fine as a thumbnail on a phone, then falls apart on a laptop screen when someone watches it full screen. Test the result on the biggest screen it will be watched on. The third mistake is compressing 4K footage down to a 1080p bitrate without changing the resolution. A 4K frame has four times the pixels of a 1080p frame, so it needs a higher bitrate to look the same. If the video will only ever be watched on a phone, lower the resolution to 1080p first and then compress, which saves far more than bitrate alone. The fourth mistake is forgetting the audio. A stereo track at 320 kilobits per second is overkill for speech; 128 is plenty, and the saving on a long video adds up.

Limitations

Compression is lossy, which means detail thrown away can never be recovered. A compressed video cannot be uncompressed back to its original quality, so keep the original file if the footage matters. The tool cannot make a low quality video look better, and it cannot fix shaky footage, bad lighting or out of focus shots. It cannot selectively compress one part of a video and leave another untouched, and it cannot add subtitles or trim the length; those are separate jobs. Compression also takes time and computing power. A two minute clip finishes quickly, but a 4K video of an hour can take a long time in a browser and may strain an older phone or laptop. The tool runs locally, so nothing is uploaded, and that also means there is no server to take over when the file is very large. Finally, the size estimates are estimates: a video of a still landscape compresses far smaller than a video of a football match at the same settings, because motion costs data.

Sources

FFmpeg documentation, H.264 video encoding guide and the constant rate factor (accessed November 2026). x264 documentation, CRF encoding guidance (accessed November 2026). Recommended upload encoding settings, YouTube Help Center, including 8 Mbps for 1080p SDR at 30 frames per second (accessed November 2026).