A video compressor can make a file easier to upload or send, but the smallest export may remove exactly what makes the clip useful. Fine captions, fabric texture, moving water and dark gradients can fail before a large flat object looks visibly different.
Begin with the actual constraint. Is there an upload-size limit, a slow connection, a storage problem or a recipient who cannot play the current format? Those lead to different changes. A compatible export with a modest size reduction may solve the problem without reducing resolution.
Estimate size from bitrate and duration
For a planning estimate, file size in decimal megabytes is total bitrate in megabits per second multiplied by seconds, divided by 8. Include audio in the total. The container adds some overhead, so use the estimate to plan and measure the finished file afterwards.
For a 30-second clip with 8 Mbps video and 0.128 Mbps audio: (8+0.128)×30÷8=30.48 MB before container overhead. At 4 Mbps video with the same audio, the estimate becomes 15.48 MB. These are calculations from stated inputs, not measured outputs of an app.
If you must stay below 20 MB for 30 seconds, your approximate total budget is 20×8÷30=5.33 Mbps. Leave room for audio and overhead instead of assigning the entire budget to the picture. Check whether the receiving service means decimal MB or binary MiB; the labels are often used loosely.
Choose quality mode or a size target
Constant-quality encoding adjusts data use according to the picture. It is useful when you want comparable visual quality and can tolerate a varying final size. Average-bitrate encoding gives you a more direct way to plan size, with quality changing as the scene becomes harder to encode.
HandBrake's quality guide recommends testing short previews and making small quality adjustments. With x264, a lower RF/CRF number means a higher quality setting. That number is not a percentage, a file-size target or a score comparable across all encoders.
A slower encoder preset also differs from the quality setting. It changes how much processing the encoder spends finding an efficient representation. Do not assume the word “slow” means the resulting video should play slowly; playback frame rate is a separate property.
Inspect an actual five-second comparison
We created a 720×1280 original geometric animation with a rotating cube and a changing fine-detail strip. It contains 120 frames at 24 fps and no audio. Both exports below use the same lossless source, x264 with medium preset and 4:2:0 pixel format. Only CRF changes. Files were encoded and measured 31 October 2026.
| Export | Measured bytes | Decimal MB | What to compare |
|---|---|---|---|
| CRF 18 | 1,586,470 | 1.58647 | Fine strip structure and cube outline during motion |
| CRF 40 | 223,088 | 0.223088 | Broken or blended fine detail and edge changes |
The second file is 85.94% smaller by (1−223088÷1586470)×100. That result belongs to this one deliberately detailed fixture. It is not a typical saving for camera footage, an AI-video benchmark or a recommendation to use CRF 40 for finished work.
A large flat cube remains recognisable even when a fine strip degrades. That is why “the subject still looks fine” is an incomplete quality check for a video with small writing or subtle texture. Your acceptance condition should name the important detail in your own scene.
Compress a copy of your own master
Keep the source or a good editing master unchanged. Open a copy in the compressor and select a container and codec the destination accepts. A file ending in .mp4 describes its container; it does not by itself identify the video codec inside.
Preserve the source frame rate unless you have a reason to change motion cadence. For YouTube, the official upload guidance recommends uploading at the recorded frame rate and lists MP4/H.264 among its encoding settings. Use the destination's current requirements for other services.
Start with a representative short section: a fast movement, the smallest important caption and a difficult gradient. Encode it, play it at the intended viewing size and inspect a few frames closely. Then run the full video only after the short export is acceptable.
If the file is still too big, change one variable at a time. Adjust quality or bitrate first when resolution is already appropriate. Reducing a 4K source to a well-composed 1080p delivery may be sensible; enlarging a low-resolution source before compression adds pixels without recovering its original detail.
Check the exported sound and captions
Audio still consumes space in a video with a mostly static picture. Keep speech intelligible and choose an audio format the destination supports. Do not remove useful narration simply to make a size calculation easier.
Watch small captions during motion. The letters may remain readable in a paused frame while edges shimmer in playback. Review the actual file, not the editor's uncompressed preview. If the captions are baked into the picture, a later text correction requires a fresh export from the project.
Avoid repeatedly compressing the already compressed upload. Each new lossy generation can preserve earlier artefacts and add more. Return to the good master when producing another version or changing the crop.
Keep the setting that meets the real constraint
A successful export opens correctly, includes the whole clip and sound, stays within the required limit, and preserves the details the viewer needs. Check all four conditions before discarding a larger candidate.
Use the upscaling guide when the problem is picture dimensions. Use the file-portability guide to preserve masters and project materials. For a recurring narrated series, ShortsFast offers a production workflow; verify the exported video against your own delivery requirements.

