Menu

Post image 1
Post image 2
1 / 2
0

How I built a 100% local video compressor in the browser with FFmpeg.wasm (and what breaks)

DEV Community·XZMHXDXH·about 1 month ago
#ziZutZoM
Reading 0:00
15s threshold

If you’ve ever tried to compress a video online, you’ve probably hit at least one of these: You don’t want to upload private footage to a random server Uploading a 500MB file on hotel Wi‑Fi is a non-starter “Free” tools add watermarks or hide the download behind paywalls So I built a local-first video compressor: it runs entirely in the browser using FFmpeg.wasm. Your file never leaves your device. Try it: https://compressvideo.net/ Source (demo repo): https://github.com/xzmhxdxh/compressvideo-wasm What “100% local” really means The UX is still “online” (a web page), but the video bytes stay local: You pick a video file The browser loads the FFmpeg WebAssembly core FFmpeg runs in your tab and writes the output into its in-memory filesystem You download the compressed MP4 from a Blob URL No upload step, no server storage, no post-processing watermarking. The minimal demo (Vite + React) I kept the repo intentionally small: one page, one component, and a safe default preset.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More