How to compress a video for Discord

Keep only the part worth sending, then encode it at a bitrate that fits your limit: 20 MB on a free account, 50 MB with Nitro Basic, 500 MB in a boosted server, 1 GB with Nitro. The bitrate that fits is the size divided by the length, about 2.7 megabits a second for a one-minute clip at 20 MB.

Checked against Sub20 on

The quick way, with Sub20

  1. Download Sub20 for Windows or Linux. It's free, with no account.
  2. Drop the video on the window and drag the two yellow handles to the part you want to keep.
  3. Leave the size at 20 MB, or pick your Nitro limit.
  4. Press Compress. Sub20 sets the bitrate and the picture size, encodes on your graphics card and checks the file. A result even a byte over is encoded again, lower.
  5. Press Ctrl+C, then paste into the Discord message box.

No install possible, or on a phone? Sub20 Lite does the same in the browser, and nothing is uploaded.

How much video fits in 20 MB

The size is fixed, so a longer clip gets fewer bits each second. At 20 MB, picture and sound together get:

Length keptBitrate for everything
15 seconds10.9 Mbps
30 seconds5.5 Mbps
1 minute2.7 Mbps
2 minutes1.4 Mbps
5 minutes0.55 Mbps

That's why trimming matters more than any setting: halve the length and every second gets twice the bits. When the bitrate runs low, a 720p or 480p picture looks cleaner than a blocky 1080p one. Sub20 picks that picture size for you and says how the result should look before you compress.

By hand, with FFmpeg

FFmpeg is the free command-line tool that does the encoding inside many video apps, Sub20 included. Work out the video bitrate first:

video kbps = size in MB × 8192 ÷ seconds − sound kbps

For 50 seconds starting 5 seconds in, at 20 MB with 128 kbps sound: 20 × 8192 ÷ 50 − 128 = 3149, so round down to 3100k.

ffmpeg -ss 5 -i clip.mp4 -t 50 -c:v libx264 -b:v 3100k -maxrate 3100k -bufsize 3100k -c:a aac -b:a 128k -movflags +faststart clip-20mb.mp4

-ss and -t keep the 50 seconds, -maxrate and -bufsize stop the encoder spending past the average, and +faststart lets Discord start playing before the whole file has loaded. On a busy 1080p 60 fps test clip it came out at 18.3 MB. Check the size each time: if a file lands over, lower -b:v by a tenth and run it again. Sub20 does that check and the retry by itself.

Other ways to get it there

  • Trim it on your phone. The Photos or Gallery editor cuts a video shorter, and a short enough clip may fit as it is.
  • A higher limit. Nitro Basic raises it to 50 MB, Nitro to 1 GB, and a server with boosts takes up to 500 MB.
  • Send a link. Upload the full video to a cloud drive or as an unlisted video and paste the link. It won't play inline as a clip does.

Discord already refused the file? What Discord's "file too large" means has the exact limits.

More guides