Platform Size Compressor · GitHub 10 MB Drag & Drop

Compress Video for GitHub README & PRs (10 MB Limit)

Shrink macOS, OBS, and browser dev demos cleanly under GitHub’s strict 10 MB Issue, Pull Request, and README drag-and-drop cap locally in your browser—sharper and 5x smaller than GIF.

GitHub 10 MB100% Local Browser Solver
Safe target: 9.4 MB (Hard limit 10 MB)
GitHub README & Issues Video (10 MB Limit) — Bitrate Solver & Local Compressor
10 MB GitHub Issue/PR/README cap (9.40 MB safe budget)

Drop a local video to auto-fill size & duration

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

Live Size-Check Verdict

36.0 MB / 9.4 MB safe

OVER LIMIT

Over safe target by 26.6 MB — needs ~74% size reduction to clear GitHub 10 MB reliably.

Target Video Bitrate

2,566 kbps

Total budget 2,566 kbps

Audio Bitrate

Muted (-an)

100% bits allocated to video

Recommended Resolution

1080p @ 30fps

Keep native 1080p

Perceptual Quality Band

crisp

Safe cap 9.4 MB

Why 9.4 MB? GitHub strictly blocks drag-and-drop video uploads above 10 MB on free accounts (100 MB on Enterprise). Muting silent UI captures (-an) and locking 30fps H.264 fits sharp 30–60s dev demos right under 9.40 MB.

Exact 2-Pass FFmpeg CLI (2566 kbps Video · 1080p · 9.4 MB Target)

ffmpeg -y -i "pr-demo-fix.mp4" -c:v libx264 -b:v 2566k -maxrate 2951k -bufsize 5132k -pix_fmt yuv420p -pass 1 -an -f mp4 /dev/null && \
ffmpeg -i "pr-demo-fix.mp4" -c:v libx264 -b:v 2566k -maxrate 2951k -bufsize 5132k -pix_fmt yuv420p -pass 2 -an -movflags +faststart "pr-demo-fix-10mb.mp4"

GitHub README & Issues Video (10 MB Limit) Upload Specifications & Codec Rules

MP4 with H.264 (yuv420p) +faststart (muted -an by default for crisp silent PR demos, or 64k voice AAC if narrated).

GitHub Free Hard Limit

10 MB per MP4 / MOV upload

Safe Target Payload

9.40 MB (6% MP4 container headroom)

Accepted Formats

MP4 (.mp4) & QuickTime (.mov) — no WebM/MKV

Audio Default

Muted (-an) frees 100% of bits for crisp code/UI

Resolution Sweet Spot

1080p ≤30s · 720p for 30–60s

Repo Privacy

100% local — private codebase demos stay local

GitHub 10 MB Duration-to-Bitrate Cheat Sheet

Exact target video bitrate and recommended resolution downscale to land safely inside GitHub 10 MB (10 MB hard limit).

Clip LengthTarget Video BitrateAudio BitrateOptimal OutputVisual Band
15s5,005 kbps128 kbps AAC1080p @ 30fpscrisp
30s2,438 kbps128 kbps AAC1080p @ 30fpscrisp
45s1,583 kbps128 kbps AAC720p @ 30fpsbalanced
1 min1,155 kbps128 kbps AAC540p @ 30fpsbalanced
1m 30s727 kbps128 kbps AAC480p @ 30fpstight

Fixing Common GitHub 10 MB Video Upload Errors

GitHub rejects my WebM or MKV screen recording with "We don’t support that file type"

Why: GitHub Issues and PRs only accept .mp4 and .mov video attachments—never .webm or .mkv.

Fix: Convert and compress to H.264 .mp4 here so GitHub renders an inline HTML5 player automatically.

My 9.9 MB MP4 failed GitHub’s 10 MB upload check

Why: GitHub checks strict byte limits (10,485,760 bytes) and rejects files that edge past after muxing.

Fix: Stay at or under our 9.40 MB safe budget with 2-pass encoding.

Terminal/code font looks blurry in a 45-second PR demo

Why: High motion or oversized Retina resolution starved the bitrate budget.

Fix: Record just the browser/IDE window at 1280×720 30fps and mute audio (-an); static code frames compress down to tiny sizes while staying razor sharp.

GitHub 10 MB Video Compression FAQs

Why use MP4 instead of GIF for GitHub READMEs and Pull Requests?

GitHub natively embeds drag-and-drop MP4 files with a built-in play/pause scrubber, full 24-bit color (no 256-color banding), and roughly 5x–10x smaller file sizes than an equivalent GIF.

What is the exact video file size limit on GitHub Issues and PRs?

GitHub enforces a 10 MB limit per video file on standard/free repositories (up to 100 MB on Enterprise plans), and only accepts .mp4 and .mov video extensions.

Can I embed a compressed MP4 directly inside a GitHub README.md?

Yes! Drag your under-10 MB MP4 into any GitHub Issue comment box to generate a github.com/user-attachments/assets URL, then paste that URL on its own line inside README.md.

Why does GitHub reject Chrome MediaRecorder .webm captures?

GitHub’s attachment validator blocks .webm and .mkv extensions. Converting to H.264 .mp4 under 9.4 MB solves both format rejection and file-size caps at once.

Are private repository screen recordings uploaded to any third-party server here?

Never. Compression executes strictly in local browser WebAssembly memory so proprietary source code and unreleased UIs never leave your workstation.

From Compression to Hosted AI Video Production

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.

Other Platform Size Limits & Browser Format Converters

Target another upload cap or convert MOV/WebM/MKV/HEVC footage locally first.