Repository navigation
Windows: one file, nothing to install
| Download | Size | Contains |
|---|---|---|
| halfsize-0.2.0-win-x64-full.zip | 82 MB | halfsize.exe, ffmpeg.exe, ffprobe.exe - works offline |
| halfsize-0.2.0-win-x64.zip | 33 MB | halfsize.exe only; run halfsize --fix once |
Unzip anywhere and run halfsize.exe video.mp4 --to 20mb. The executable is unsigned, so Windows may show a SmartScreen warning on first launch.
- A Windows executable that needs nothing installed.
halfsize.exebundles
the CLI, the web page and a Node runtime in one file: no Node, no npm, no
installer. Two downloads on the release page: the small build (33 MB) fetches
FFmpeg once withhalfsize --fix, the full build (~90 MB) already contains
ffmpeg.exeandffprobe.exebeside it - The executable runs all three modes: the CLI,
--web(the page is inlined
into the binary, so there is noweb/directory to lose) and--mcp
(compress_video, verified by a real handshake against the built artifact) halfsize --fixand the "FFmpeg was not found" message now sayhalfsize …
instead ofnpx halfsize@latest …when running from the executable, and
FFmpeg next to the .exe is found before one on PATH--doctorreportssource next to halfsize.exefor that case
Fixed
probe()had no timeout. A damaged file, a network drive that stopped
answering or a stuck demuxer could hang the CLI and the web server forever;
ffprobe is now bounded at 120s (HALFSIZE_PROBE_TIMEOUT_MS) and reports that
the read timed out instead of claiming the file is not a video- The web server's SSE stream sent nothing while an encode ran, so a client that
only checked its deadline on inbound data could wait forever. It now emits a
comment heartbeat every 15s close()had no upper bound: a connection that never finished could keep the
process alive. It now stops after 5s- A test file that timed out was retried silently, which turned a real stall into
a green build. The runner now prints the timed-out attempt's last 25 lines
before retrying, and everyffmpeg/CLI call in the tests has a timeout;
ETIMEDOUTis rethrown instead of being skipped as "this ffmpeg cannot
generate clips"