Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Windows Tipps & SecurityNighthawk M7 Pro im Test: Flexibler, aber teurer 5G-Router(21.09.2026 um 10:30 Uhr)
Sichere ProgrammierungNeue Gmail-Funktion: So sparst du jetzt Zeit bei Einmalcodes(21.09.2026 um 10:00 Uhr)
Sichere ProgrammierungYour GIF exporter is fine — the container is the problem(21.09.2026 um 10:01 Uhr)
Sichere ProgrammierungCSS, Motion, or GSAP? I Choose by Who Owns the Animation(21.09.2026 um 10:12 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Fit any video under the limit: meet DeepShrink, a one-command media compressor

You have a 300 MB screen recording. Discord wants it under 8 MB. Your email won't take more than 20. So you either google "compress video to 8mb" and land on an ad-riddled web converter that uploads your file to someone else's server and…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

You have a 300 MB screen recording. Discord wants it under 8 MB. Your email won't take more than 20. So you either google "compress video to 8mb" and land on an ad-riddled web converter that uploads your file to someone else's server and stamps a watermark on it — or you open HandBrake and start guessing at CRF values — or you hand-write an ffmpeg command, recompute the bitrate for the fifth time this month, and forget the audio track again.



None of those answer the actual question: "make this ≤ N MB, without me thinking about it."



That's the whole reason DeepShrink exists.




deepshrink gameplay.mp4 --for discord









  gameplay.mp4   1920x1080  2m14s   312.4 MB
target Discord (8 MB)
plan H.264 · 456 kbps video · 96 kbps audio · two-pass
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100% pass 2/2

✓ gameplay.shrink.mp4 7.6 MB (−97.6%) VMAF 91.2






One command. Local. No upload, no watermark, no guessing. And when you say --target 8MB, the result is guaranteed ≤ 8 MB — not "roughly."






What it actually is



DeepShrink is a small, open-source CLI written in Rust. It doesn't reinvent encoding — it drives ffmpeg for you and does the one thing ffmpeg makes annoying: hitting an exact output size.



Under the hood it probes the file with ffprobe, works out the bitrate budget for your target size (with a little headroom for container overhead), runs a two-pass H.264/H.265 encode for video or picks the right codec bitrate for audio (AAC / Opus / MP3), and can optionally hold a quality floor with VMAF so it never over-compresses. You don't touch any of that. You say how big, it figures out how.



The design goals, in order:





  • One obvious command solves 80% of cases. deepshrink video.mp4 --target 8MB.


  • Presets instead of flags. You shouldn't need to know what a bitrate is.


  • Never wreck the original. Output is a new file (video.shrink.mp4); the source is untouched unless you explicitly pass --overwrite.


  • Local and private. Your file never leaves your machine.



Scope today is video and audio — one engine, ffmpeg. Images, PDFs, and other formats are a deliberate future step, not a half-baked afterthought.






Installing with Homebrew (recommended on macOS)



This is the frictionless path, and it's the one I'd reach for first:




brew install deeplabua/tap/deepshrink






That's it. Because the formula declares depends_on "ffmpeg", Homebrew pulls ffmpeg in as a dependency automatically — so there are zero manual runtime steps. Install, and it works.



If you'd rather tap first and install by short name (handy if you'll install other tools from the same tap later):




brew tap deeplabua/tap
brew install deepshrink






Verify it landed:




deepshrink --version
deepshrink --help






Updating later is just brew upgrade deepshrink.






Installing with cargo (from crates.io)



If you already live in the Rust toolchain, DeepShrink is on crates.io:




cargo install deepshrink






This compiles from source, so it's slower than the prebuilt Homebrew bottle and you need a Rust toolchain installed. Worth knowing about one difference from the brew path: cargo install does not bring ffmpeg along. DeepShrink expects ffmpeg and ffprobe to be on your PATH, and if they aren't, it exits cleanly (code 3) with a hint rather than crashing.



So on a fresh machine, install ffmpeg alongside it:




# macOS
brew install ffmpeg

# Debian / Ubuntu
sudo apt install ffmpeg

# Windows (Scoop)
scoop install ffmpeg






Then the same check as before:




deepshrink --version









brew vs cargo, quickly

































brew install deeplabua/tap/deepshrink cargo install deepshrink
Speed Prebuilt bottle, instant Compiles from source
Rust toolchain needed No Yes
ffmpeg Pulled in automatically You install it yourself
Best for Most people, especially macOS Rust devs who already have the toolchain


Prebuilt binaries for macOS, Linux, and Windows are also attached to every GitHub release if you'd rather not use a package manager at all.






Using it



The headline command — fit a file under an absolute size:




deepshrink big.mp4 --target 8MB
deepshrink talk.wav --target 500KB






Don't want to memorize platform limits? Use a destination preset and DeepShrink applies the right cap:




deepshrink clip.mp4 --for discord        # 8 MB
deepshrink clip.mp4 --for email # 20 MB
deepshrink clip.mp4 --for telegram # only recompresses for quality






Built-in presets today: discord, discord-nitro, email, telegram, whatsapp, and web.



Prefer a relative cut instead of a hard ceiling?




deepshrink video.mp4 --reduce 70%        # 70% smaller than the source






Audio is a first-class citizen, not an afterthought — great for podcasts, voice memos, and lectures:




deepshrink lecture.wav --target 10MB









  lecture.wav     stereo 48kHz   58m02s   638.1 MB (PCM)
target 10 MB
plan Opus · ~22 kbps · mono (speech)
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%

✓ lecture.shrink.opus 9.4 MB (−98.5%)






Got a whole folder? Batch it — DeepShrink walks the directory, skips files that are already small or unsupported, and prints a summary instead of dying on the first hiccup:




deepshrink ./recordings --recursive






A few flags worth knowing:





  • --dry-run — show the plan (chosen bitrate, expected size) without encoding a thing.


  • --vmaf <n> — hold a quality floor; it won't compress below the VMAF score you ask for.


  • --codec h265 — smaller files at the same quality, when you don't need maximum compatibility.


  • --json — machine-readable output, for scripts and CI.


  • --overwrite — replace the original in place (written atomically via a temp file, so an interrupted run won't corrupt your source).






Why bother, over a web converter?



Because DeepShrink is the intersection people actually want: the precision and privacy of native ffmpeg with the simplicity of a web converter — and none of the downsides of either. Your file stays on your disk. You get an exact size, not an approximation. There are no watermarks, no queues, and no "upload your file to continue." It's one static binary that works offline.






Get it





It's open source and free. If it saves you a trip to a sketchy converter even once, consider dropping a ⭐ on the repo — that's what keeps small tools like this alive.



Try it on that 300 MB file you've been avoiding. --target 8MB. Done.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Fit any video under the limit: meet DeepShrink, a one-command media compressor

Thematisch verwandte Begriffe: video, under, limit, meet · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94030 | A security vulnerability has been detected in SerenityOS up to 3d83e4509…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick