This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

halfsize

Compress video to an exact size, locally

Open Source
Developer Tools
GitHub
Video
Visit WebsiteSee on Product HuntGithub ⧉

Hunted by川崎码农mmk川崎码农mmk

halfsize compresses a video to an exact target size — 20 MB for Discord or WeChat, 16 MB for WhatsApp, 20–25 MB for email — then reports the measured VMAF and SSIM quality loss. It computes the bitrate budget, downscales when 720p beats a starved 1080p, and encodes in two passes. Runs fully locally on FFmpeg: no upload, no account, no quota, no watermark. Free, MIT licensed, with a local web UI, batch mode and JSON output.

Top comment

Hi Product Hunt 👋

I built halfsize after one too many "file must be under 20 MB" errors.

The annoying part was never making a video smaller — FFmpeg can do that. The annoying part was hitting the number on purpose: work out the bitrate budget, decide whether 720p looks better than 1080p at half the bitrate, then check whether the output actually fits. And every online compressor means uploading whatever is in the video to someone else's server.

So halfsize does the arithmetic and the verification, locally:

• --to 20mb, or --for discord / --for wechat / --for whatsapp

• measured VMAF + SSIM with a plain-language verdict

• batch mode, --json for scripts, --dry-run to see the plan first

• local web UI (npx halfsize --web), no upload

Just shipped 0.1.8: the local web UI can switch between the original and the compressed file, you can cancel a running encode, and a failed run no longer leaves a half-written output behind.

I would love feedback on two things: which upload limits you hit most often, and whether the quality verdicts match what you see. If it saves you time, a star on GitHub genuinely helps.

Comment highlights

No comment highlights available yet. Please check back later!

About halfsize on Product Hunt

“Compress video to an exact size, locally”

halfsize was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #419 on the daily leaderboard. halfsize compresses a video to an exact target size — 20 MB for Discord or WeChat, 16 MB for WhatsApp, 20–25 MB for email — then reports the measured VMAF and SSIM quality loss. It computes the bitrate budget, downscales when 720p beats a starved 1080p, and encodes in two passes. Runs fully locally on FFmpeg: no upload, no account, no quota, no watermark. Free, MIT licensed, with a local web UI, batch mode and JSON output.

halfsize was featured in Open Source (69.1k followers), Developer Tools (523.2k followers), GitHub (41.5k followers) and Video (2.1k followers) on Product Hunt. Together, these topics include over 155k products, making this a competitive space to launch in.

Who hunted halfsize?

halfsize was hunted by 川崎码农mmk. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how halfsize stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.