Less bytes, same vibes.
CLI video compression powered by FFmpeg — smart presets, hardware acceleration, and batch processing in a single binary.
Windows · macOS · Linux — single binary, no install
A complete video compression toolkit in a single binary.
Three categories of presets for every use case. No FFmpeg knowledge required.
ShrinkRay auto-detects your GPU and picks the fastest available encoder — no configuration needed.
GPU-accelerated H.264 & H.265 encoding via CUDA cores
Auto-detectedAdvanced Media Framework for Radeon GPU encoding
Auto-detectedNative macOS hardware encoding for Apple Silicon & Intel Macs
Auto-detectedQuick Sync Video for fast encoding on Intel integrated & Arc GPUs
Auto-detectedShrinkRay auto-detects your hardware and picks the fastest encoder.
Falls back gracefully to software encoding when no GPU is available.
Pick the right codec for your use case. Fine-tune quality, speed, and file size down to the last byte.
Same quality source — relative output file sizes
Need to hit a Discord upload limit or email attachment cap? Set a target size and ShrinkRay calculates the optimal bitrate automatically.
Point ShrinkRay at a folder and walk away. Parallel workers chew through hundreds of files while you grab coffee.
Downloads to %LOCALAPPDATA%\shrinkray and adds to PATH.
Detects your OS and architecture automatically.
Requires Go 1.25.0 or later. Binary lands in $GOPATH/bin.
Pre-built binaries for Windows, macOS (amd64/arm64), and Linux (amd64/arm64).
The best of CLI power with none of the complexity.
| Feature | Raw FFmpeg | HandBrake | ShrinkRay |
|---|---|---|---|
| Smart Presets | ✗ Manual flags | ~ Basic presets | ✓ 18 smart presets |
| HW Auto-Detection | ✗ Manual config | ✓ Yes | ✓ 4 accelerators |
| Batch Processing | ~ Shell scripts | ✓ Queue | ✓ Parallel workers |
| Interactive TUI | ✗ None | ✓ GUI only | ✓ Terminal wizard |
| Headless / Scripting | ✓ Yes | ~ CLI mode | ✓ Full flag parity |
| Target File Size | ~ Manual bitrate calc | ✗ No | ✓ --target-size |
| Single Binary | ✗ FFmpeg suite | ✗ Installer | ✓ Zero deps |
From solo creators to automated pipelines, ShrinkRay fits the way you work.
Compress gameplay footage for Discord and YouTube without visible quality loss. Hit upload limits effortlessly while keeping every frame crisp.
One-click presets tuned for TikTok, Instagram, and Twitter. Export platform-ready files without memorizing codec settings.
Headless mode with stdin pipe integration for automated video processing pipelines. Drop ShrinkRay into any build or media workflow.
Batch compress project exports while preserving quality. Process entire folders of renders overnight and reclaim drive space by morning.
Archive large video libraries with H.265 or AV1 at near-lossless quality. Slash storage costs without sacrificing a single detail.
Email-friendly compression that just works. Shrink meeting recordings and demos to shareable sizes without touching a settings panel.
A single static binary with zero runtime dependencies—just bring your own FFmpeg. Built with Go and shipped via GoReleaser for every major OS and architecture.
irm https://raw.githubusercontent.com/jparkerweb/shrinkray/main/scripts/install.ps1 | iexcurl -fsSL https://raw.githubusercontent.com/jparkerweb/shrinkray/main/scripts/install.sh | bashcurl -fsSL https://raw.githubusercontent.com/jparkerweb/shrinkray/main/scripts/install.sh | bashOne config file to set your defaults, output rules, batch behavior, and theme. No flags to memorize.
Set your default compression preset and codec once. Choose from 18 built-in presets like balanced, web-optimized, or archive so every encode starts exactly how you want.
Control naming with suffix or subfolder mode. Conflict resolution via rename, overwrite, or skip ensures your originals are never touched.
Run parallel encodes with jobs: 2, skip already-compressed files, and sort the queue by size, name, or date. Process entire directories hands-free.
Switch between neon-dusk and electric-sunset color themes. Toggle animations on or off depending on your terminal preference.
ShrinkRay is Apache 2.0 licensed and welcomes contributions
Show your support and help others discover ShrinkRay
Found a bug or have a suggestion? Let us know
Pull requests are welcome — check the open issues