100% Local Browser Compressor & Bitrate Solver

Compress Video to Exact Platform File-Size Limits (In Browser)

Pick your destination platform—Discord, WhatsApp, Gmail, Slack, Webflow, Shopify, or GitHub—to calculate exact target video/audio bitrates, check pass/fail status, compress locally in your browser, or copy a 2-pass FFmpeg command.

Discord 8 MB100% Local Browser Solver
Safe target: 7.52 MB (Hard limit 8 MB)
Discord (8 MB Safe Target) — Bitrate Solver & Local Compressor
8 MB classic target (7.52 MB safe mux budget)

Drop a local video to auto-fill size & duration

Or adjust duration & MB manually below — nothing is ever uploaded

Live Size-Check Verdict

28.0 MB / 7.52 MB safe

OVER LIMIT

Over safe target by 20.48 MB — needs ~73% size reduction to clear Discord 8 MB reliably.

Target Video Bitrate

1,925 kbps

Total budget 2,053 kbps

Audio Bitrate

128 kbps AAC

Stereo AAC-LC

Recommended Resolution

720p @ 30fps

Downscale from 1080p

Perceptual Quality Band

crisp

Safe cap 7.52 MB

Smart Downscale Advice (1080p → 720p)

At 1925 kbps, 1080p will block on motion. Downscaling to 720p keeps edges sharper.

Why 7.52 MB? Targeting 7.52 MB (94% of 8 MB) absorbs MP4 moov atom framing and VBR spikes so clips clear both strict 8 MB webhooks/bots and Discord’s standard 10 MB free upload limit without failing.

Exact 2-Pass FFmpeg CLI (1925 kbps Video · 720p · 7.52 MB Target)

ffmpeg -y -i "gameplay-clip.mp4" -c:v libx264 -b:v 1925k -maxrate 2214k -bufsize 3850k -pix_fmt yuv420p -vf "scale=-2:720" -pass 1 -an -f mp4 /dev/null && \
ffmpeg -i "gameplay-clip.mp4" -c:v libx264 -b:v 1925k -maxrate 2214k -bufsize 3850k -pix_fmt yuv420p -vf "scale=-2:720" -pass 2 -c:a aac -b:a 128k -ac 2 -movflags +faststart "gameplay-clip-8mb.mp4"

Need Format Conversion Before Compressing?

Convert MOV, WebM, MKV, AVI, iPhone HEVC, or screen recordings locally in your browser first.

Open Video Converter Hub

Browser Video Compression & Bitrate Calculator FAQs

How does this browser video compressor hit an exact MB limit?

It computes your safe target payload (subtracting MP4 container overhead or Gmail 33% Base64 expansion), divides by clip duration to get exact total kbps, reserves clean audio bitrate, and automatically recommends a resolution downscale when bitrate drops below the perceptual floor.

Are my videos uploaded to a server when I compress them here?

No. File inspection reads local metadata instantly in the browser and compression runs locally inside ffmpeg.wasm memory. For clips over 150 MB, copy the generated 2-pass FFmpeg CLI command to run natively on your machine.

Why does the calculator target 94% of the platform MB limit instead of 100%?

MP4 moov indexes, packet framing, and single-pass VBR peaks regularly add 3%–6% above raw stream math. Leaving a 6% safety buffer prevents frustrating "file is 8.04 MB" upload rejections.

When should I downscale from 1080p to 720p or 480p while compressing?

Whenever target video bitrate falls below ~2,400 kbps, 1080p spreads too few bits across 2 million pixels and creates blocky compression artifacts. Dropping to 720p (or 480p below 850 kbps) looks noticeably sharper at the same file size.

Why does Gmail need a much smaller MP4 than its 25 MB attachment cap?

Email transfers binary files using Base64 MIME encoding, which inflates a raw file by roughly 33%. Keeping an MP4 under ~18 MB guarantees it clears Gmail’s 25 MB encoded ceiling without bouncing to Google Drive.

Scale From Compression to AI Video Creation

Need to extend short clips, fix awkward cuts, or generate coherent multi-shot AI video scenes? Try LongCat Video

Keep your browser prep workflow moving. Turn a still frame or prompt into clean, watermark-free 720p MP4 scenes on hosted GPUs—with transparent per-run credits and zero local setup.

Coherent Multi-Shot AI Scenes

Generate up to 961 frames per run at 720p 30fps with steady character and lighting continuity.

HD Watermark-Free Commercial Output

Paid-credit exports download clean in standard H.264 MP4 ready for commercial campaigns.

Auto-Refund on Failed Tasks

Failed or canceled generations return 100% of job credits automatically—never pay for broken renders.

One-Time Credit Packs Never Expire

Choose a one-time credit pack with zero monthly lock-in or a flexible subscription whenever you need more.