To compress a video for email or Discord, work out the bitrate that fits the size limit (target size in megabits divided by the length in seconds, minus the audio), then re-encode with H.264 or HEVC at that bitrate using two-pass encoding, lowering the resolution if the bitrate gets small. Most email services cap messages at around 20-25 MB, and Discord currently allows 20 MB per file on a free account, 50 MB with Nitro Basic and 500 MB with Nitro.
This guide covers the current limits, the simple bitrate maths, the settings that make the most of a tiny file, and what to do when a video is simply too long to fit.
Current size limits
| Service | Limit | Notes |
|---|---|---|
| Discord (free) | 20 MB per file | Raised from 10 MB in August 2026 |
| Discord Nitro Basic | 50 MB | Paid tier |
| Discord Nitro | 500 MB | Paid tier |
| Gmail | 25 MB per message | Larger files are offered as a Google Drive link |
| Outlook.com | Around 20-25 MB per message | Larger files can be shared as a OneDrive link |
| Yahoo Mail | 25 MB per message | Combined size of all attachments |
| iCloud Mail | 20 MB per message | Mail Drop handles larger files as a link |
| Work email (Exchange, Microsoft 365) | Often 10-35 MB | Set by your organisation, and the recipient's limit matters too |
Limits change from time to time, so check the service if you are close to the line. Two hidden factors also reduce the space you really have:
- Email encoding overhead. Attachments are converted to text (Base64) for sending, which adds roughly a third to their size. A 25 MB message limit means an attachment of only about 18-19 MB in practice.
- MB versus MiB. Some services count a megabyte as 1,000,000 bytes and Windows shows sizes in units of 1,048,576 bytes. Aim a little under the limit to avoid failed uploads.
A safe rule: target about 18 MB for a free Discord account, 45 MB for Nitro Basic, and 15-18 MB for a typical email attachment.
Work out the bitrate
File size is simply bitrate multiplied by duration. To find the bitrate you can afford:
- Convert the target size to kilobits: multiply megabytes by 8,000. 18 MB is 144,000 kilobits.
- Divide by the duration in seconds. For a 60-second clip, 144,000 / 60 = 2,400 kbps in total.
- Subtract the audio bitrate. With 96 kbps audio, that leaves about 2,300 kbps for video.
- Knock off a few per cent for container overhead - around 2,200 kbps is a sensible video target.
Our target file size bitrate calculator guide walks through this in more detail with worked examples.
Choose a resolution to match the bitrate
Squeezing 1080p into a low bitrate produces a blocky mess; a smaller frame at the same bitrate looks much cleaner. As a rough guide for H.264:
| Video bitrate available | Suggested resolution |
|---|---|
| Above roughly 4,000 kbps | 1080p |
| Roughly 1,500-4,000 kbps | 720p |
| Roughly 700-1,500 kbps | 540p or 480p |
| Below roughly 700 kbps | 360p, or shorten the clip |
These are starting points; static screen recordings can go much lower, while fast action needs more. HEVC or AV1 can look acceptable at noticeably lower bitrates, but check the recipient can play them (see below).
Reducing the frame rate also helps. Dropping a 60 fps game clip to 30 fps frees up bits for each frame, though motion will look less smooth. More detail is in changing video frame rate.
Encode with two passes
When you need to hit a size precisely, two-pass encoding is the right tool. The first pass analyses the video; the second spends the bitrate where it is needed most, landing very close to the target. Constant quality (CRF) is better for general compression but cannot guarantee a size.
With FFmpeg on Windows, for a 60-second clip scaled to 720p:
ffmpeg -y -i input.mp4 -vf scale=-2:720 -c:v libx264 -preset slow -b:v 2200k -pass 1 -an -f null NUL
ffmpeg -i input.mp4 -vf scale=-2:720 -c:v libx264 -preset slow -b:v 2200k -pass 2 -c:a aac -b:a 96k -movflags +faststart output.mp4
The first command writes a small log file and discards the video (on macOS or Linux, replace NUL with /dev/null). scale=-2:720 sets the height to 720 and picks an even width that preserves the aspect ratio. -movflags +faststart lets the video start playing before it has fully downloaded.
Codec and audio choices
H.264 in MP4 is the safest choice. It plays inline in Discord, in email previews and on virtually every phone and computer.
HEVC (H.265) can give similar quality at a noticeably smaller size, but playback support is patchier: some browsers and Windows PCs without the HEVC extension cannot play it, and Discord's in-app preview may not work for every viewer. Use it when you know the recipient can play it. H.264 vs H.265 compares the two.
AV1 is more efficient still and increasingly well supported in browsers, but encoding is slow on older hardware and some devices cannot decode it.
Audio takes a surprising share of a small file. AAC at 96 kbps stereo is fine for speech and casual clips; 128 kbps is better for music. For voice-only content, mono at 64 kbps works. If the audio does not matter, remove it entirely.
When it still won't fit
- Trim it. Cutting dead time at the start and end is often the biggest saving. Halving the length doubles the bitrate you can afford.
- Crop it. Removing black bars or irrelevant edges means fewer pixels to encode.
- Split it. Send a long video as several parts, each under the limit.
- Use a link. For anything long or important, a cloud storage link (Google Drive, OneDrive, Dropbox, iCloud Mail Drop) avoids compression altogether and keeps full quality.
Doing it with Movie Encoder
Movie Encoder has a target file size rate control mode alongside two-pass encoding, so you can enter the size you need and let it work out the bitrate. In the same job you can resize, change frame rate, crop interactively, trim, and set the audio codec, bitrate and channel layout, or remove the audio track.
The Smart Encoding Advisor's Smallest file goal analyses the source and recommends codec, resolution, frame rate and audio with a file-size range, and you can preview the result with a short sample encode before committing to the full clip.
Frequently asked questions
What is Discord's file size limit?
Free accounts can currently upload files up to 20 MB, after Discord raised the limit from 10 MB in August 2026. Nitro Basic allows 50 MB and Nitro allows 500 MB.
Why does my 24 MB video fail to send by email when the limit is 25 MB?
Email attachments are encoded as text for sending, which adds roughly a third to their size. Aim for an attachment of around 18 MB or less to fit a 25 MB limit.
Should I use HEVC to make the file smaller?
HEVC can look better than H.264 at the same small size, but not every browser, PC or app preview can play it. Use H.264 unless you know the recipient's device supports HEVC.
