# Compress a video for Discord

> Markdown version of https://stella.sh/how/video/compress-video-for-discord for agents and LLMs.
> Video too big for Discord? Shrink it under the free upload limit on your own computer with HandBrake or ffmpeg, or let Stella (stella.sh) do it and keep it sharp.

Discord's free upload limit is 20 MB (it was 10 MB until August 2026). To fit, pick a video bitrate from the length (about 8,000 kilobits per minute for 10 MB), drop to 720p, and encode with H.264 so it previews inline; HandBrake does it in a window, ffmpeg from the command line. Stella (stella.sh) does it on your computer, aims just under the size you name and checks a frame.

- Checked: 12 November 2026
- Stella does it on: Windows, Mac, Linux

## Stella doing it

Recorded 12 November 2026 on Linux (Omarchy) with Claude Code with Opus, on a Claude plan.
Result: A 78-second 1080p clip, 231.3 MB, became a 9.2 MB (9,223,425 bytes) 720p MP4 in 45 seconds, the full length kept. Checked afterwards: it decodes start to end with no errors, H.264 and AAC, SSIM 0.994 against the original at the same size, and frames side by side look the same. The original was byte-for-byte unchanged. The clip is NASA's public-domain footage of the Artemis I launch, cut to 78 seconds at 1080p and about 24 Mbit/s for this run; its audio track is silent, which Stella noticed. Waits are sped up 6× and 4×, and the dark first part of playback 4×.

Video (1 min 10 s): https://stella.sh/media/proofs/video/compress-video-for-discord/proof.mp4

Transcript:

- 0:00 Stella on a Linux computer. A 231 MB, 78-second 1080p launch video is in Videos.
- 0:03 The prompt: make it small enough to send on Discord, under 10 MB.
- 0:09 Stella replies that it's compressing it and won't touch the original.
- 0:11 Reading the video, then a two-pass encode at 720p, sped up 6×.
- 0:18 Done: 9.2 MB, 720p instead of 1080p, the full 1:18, plays in Discord. The original had no sound, so no audio was lost.
- 0:34 The compressed copy opened in Stella's player.
- 0:40 Playing; the dark first seconds sped up 4×.
- 0:46 Ignition and liftoff at normal speed, from the 9.2 MB file.

What Stella does:

1. Finds the video you mean (in the recording, “the rocket launch one in my Videos folder”) and reads its length, resolution and sound
2. Works out the bitrate that fits the size you asked for, here a two-pass encode aimed at about 9.5 MB
3. Drops to 720p rather than starving 1080p of bits, and uses H.264 and AAC so Discord plays it right in the chat
4. Grabs a frame from the middle and looks at it to check the picture still holds up
5. Saves the copy next to the original with “(Discord)” in the name and leaves the original untouched

## The prompt to paste

```text
Make this video small enough to send on Discord (under 10 MB). It's the rocket launch one in my Videos folder.
```

## Compress it yourself

1. **Work out the bitrate.** Size in megabits is the limit × 8: 10 MB is 80 megabits, 20 MB is 160. Divide by the length in seconds and leave 10% spare for the container and sound: for a 78-second clip under 10 MB that's about 900 kbit/s of video with 64 kbit/s audio. Longer clips get less; past two or three minutes, trim it or send a link.
2. **In HandBrake (free, Windows and Mac).** Open the video, choose the Fast 720p30 preset, and on the Video tab pick H.264, Avg Bitrate with your number, and tick 2-Pass Encoding. Set the audio to AAC at 64 or 96 kbit/s. Start, check the file size, and lower the bitrate a little if it comes out over.
3. **With ffmpeg.** Run `ffmpeg -i in.mp4 -vf scale=-2:720 -c:v libx264 -b:v 900k -pass 1 -an -f null NUL` (use `/dev/null` on Mac), then `ffmpeg -i in.mp4 -vf scale=-2:720 -c:v libx264 -b:v 900k -pass 2 -c:a aac -b:a 64k -movflags +faststart out.mp4`. Two passes land much closer to the target size than one.
4. **Keep it previewable.** Use H.264 video and AAC audio in an MP4. Discord shows those inline on every device; HEVC, AV1 or MKV files may just appear as a download. Avoid odd frame rates and keep 8-bit colour (yuv420p).
5. **Still too big? Trim, crop or link.** Cut the clip to the part that matters, drop to 480p for fast-moving game footage, or upload it to YouTube (unlisted), Google Drive or Streamable and paste the link. Nitro raises the limit to 500 MB, Nitro Basic to 50 MB.

## Where Stella stops

- This was slow-moving launch footage. Fast game clips with lots of motion look worse at the same size; expect Stella to drop to 480p or suggest trimming, which hasn't been recorded yet.
- It aimed for 10 MB because the prompt said so. Discord's free limit has been 20 MB since August 2026, so say “under 20 MB” if that's your limit and you'd like a sharper file.
- ffmpeg was already installed on the Linux computer in the recording. On a Windows PC, Stella has to install it first, which hasn't been recorded yet.
- Stella looks at one frame to check the quality, so that frame goes to the AI model you use in Stella. The video itself stays on your computer.

## Questions

**What is Discord's file size limit?**
20 MB per file on a free account since August 2026 (it was 10 MB from 2024), 50 MB with Nitro Basic and 500 MB with Nitro. Check what the upload box says on your account; Discord has been testing different limits.

**Can I compress a video without losing quality?**
Not to a tenth of its size, but you can lose quality you won't notice. Lower the resolution to 720p first and use two-pass H.264. In the recording the copy measured SSIM 0.994 against the original, and frames side by side look the same.

**Are online video compressors safe?**
The well-known ones are, but your video is uploaded to their servers, and free tiers often limit length or add a watermark. Doing it on your computer avoids all three.

**Can Stella also cut or caption the clip?**
Yes, in the same chat: trim it to the best part, [cut out silent pauses](https://stella.sh/how/video/cut-silences-from-video) or [burn in subtitles](https://stella.sh/how/video/burn-subtitles-into-video-for-tiktok) before it's compressed.

**Is Stella free for this?**
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.

**Can I control what Stella changes on my computer?**
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.

Sources: [HandBrake](https://handbrake.fr), [FFmpeg documentation](https://ffmpeg.org/ffmpeg.html), [Dexerto: Discord raises free upload limit to 20MB (August 2026)](https://www.dexerto.com/entertainment/discord-raises-free-upload-limit-to-20mb-after-lowering-it-two-years-ago-3398251/), [NASA: Artemis I Launch from NASA Causeway (source footage)](https://images.nasa.gov/details/GX010506).

## Related problems

- [Cut silences out of a video automatically](https://stella.sh/how/video/cut-silences-from-video.md)
- [Convert MKV to MP4 so your TV plays it](https://stella.sh/how/video/convert-mkv-to-mp4.md)
- [Add burned-in subtitles to a video for TikTok](https://stella.sh/how/video/burn-subtitles-into-video-for-tiktok.md)
- [Merge videos into one, in the order they were filmed](https://stella.sh/how/video/combine-videos-into-one.md)
- [How to make a slideshow with music from your own photos](https://stella.sh/how/video/make-slideshow-with-music.md)
- [Convert MOV to MP4 so your phone videos play anywhere](https://stella.sh/how/video/convert-mov-to-mp4.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT or Claude plan you already have.
