MP4 Compressor: How to Compress a Video Without Losing Quality
Need a smaller MP4 for email, a chat app or an upload form? This MP4 compressor guide shows which settings shrink a video most while keeping it sharp, using free tools on any computer or phone.
The three settings that matter
A video's file size is mostly decided by three things:
- Bitrate or quality level: how much data each second gets. This has the biggest effect.
- Resolution: 4K has four times the pixels of 1080p. Dropping to 1080p or 720p saves a lot.
- Codec: H.265 (HEVC) and AV1 make files roughly 30–50% smaller than H.264 at similar quality, but older devices may not play them.
Frame rate matters less: going from 60 to 30 fps helps, but less than you might expect.
Size targets for common destinations
| Destination | Size limit (check current rules) | Suggested settings |
|---|---|---|
| Gmail attachment | 25 MB (bigger files go via Drive) | 720p, H.264, short clips |
| Discord (free) | 10 MB per upload | 720p or 480p, low bitrate |
| Upload forms | Often 50–100 MB | 1080p, quality RF 24–26 |
| Archive/backup | No limit | 1080p or 4K, H.265, RF 20–22 |
Compress MP4 with HandBrake (recommended)
HandBrake is free and open-source for Windows, Mac and Linux (handbrake.fr).
- Open your video.
- Choose a preset such as Fast 1080p30 or Fast 720p30.
- Open the Video tab. Keep the quality slider in Constant Quality mode: an RF of 22–24 looks great for 1080p, 26–28 gives much smaller files.
- For even smaller files, change Video Encoder to H.265.
- Click Start Encode.
Lower RF means better quality and bigger files. Each step of about 6 RF roughly halves or doubles the size.
Compress with FFmpeg
ffmpeg -i input.mp4 -c:v libx264 -crf 26 -preset medium -vf "scale=-2:720" -c:a aac -b:a 128k output.mp4
-crf 26: quality level (18 = near-lossless, 28 = small).scale=-2:720: resize to 720p and keep the shape.- Use
-c:v libx265 -crf 28for H.265.
On your phone
- iPhone: under Settings → Camera → Formats, choose High Efficiency to record HEVC, which saves space. When sharing by Mail, iOS can offer smaller sizes for some attachments.
- Android: many gallery apps have an Export or Resize option. Choose 720p for quick sharing.
- Messaging apps compress videos automatically. Sending as a "document" or "file" keeps the original quality but sends the full size.
Mistakes that make videos look bad
- Compressing twice. Each round of compression loses detail. Always start from the original.
- Using a very low fixed bitrate for action scenes. Fast motion needs more data; use a quality setting (CRF/RF) instead.
- Upscaling. Turning 720p into 1080p makes the file bigger without adding detail.
Online MP4 compressors
Online compressors are easy, but your video is uploaded to their servers. Avoid them for private family videos, work meetings or anything confidential. Desktop tools like HandBrake are just as easy after the first use.
Frequently asked questions
How can I compress an MP4 without losing quality?
Some loss is unavoidable, but a quality setting such as HandBrake RF 20–22 or FFmpeg CRF 20 keeps the difference almost invisible while cutting size.
What is the best free MP4 compressor?
HandBrake for most people, FFmpeg for experts. Both are free, open-source and work offline.
Why is my compressed video bigger than the original?
The original was already efficiently compressed (common with phone HEVC videos). Use a higher RF/CRF value or lower the resolution.
Is H.265 better than H.264?
It gives smaller files at the same quality, but some older devices and websites don't support it. Use H.264 when compatibility matters most.