frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Tools.video – Browser-native video processing at 50 GB scale

2•terryops•1h ago
Hi HN, I built tools.video (https://tools.video) — 18 free video and audio tools that run entirely in your browser. Files never leave your machine.

Compress, convert, trim, crop, resize, merge, rotate, reverse, speed change, screenshot, mute, video-to-GIF, audio extract/trim/convert/merge/speed, and media info.

The interesting technical problem: FFmpeg compiled to WASM works, but it tops out around 4 GB, runs single-threaded, and is 10x slower than native browser APIs for the same operations. I wanted to handle 50 GB files and actually use the hardware (theoretically there's no limit at all).

So I built a hybrid engine:

- Most tools use WebCodecs (via MediaBunny) — the browser's native hardware-accelerated video encoder/decoder. H.264, HEVC, VP9, AV1 with GPU acceleration when available. This is what makes it fast. - Three tools (speed, merge, video-to-GIF) still use FFmpeg WASM where WebCodecs can't do the job. - The engine auto-detects which path to use and falls back gracefully — if hardware encoding fails, it retries in software; if WebCodecs can't handle a codec, it routes to FFmpeg.

How 50 GB works in a browser:

Files are streamed through OPFS (Origin Private File System) with chunked I/O. Small files (<256 MB) stay in memory. Larger files write to OPFS-backed storage. The biggest files use StreamTarget for chunked streaming so you never buffer the entire output in RAM. Stale temp files auto-clean after 6 hours, and quota-exceeded errors trigger aggressive cleanup mid-operation.

Other details HN might find interesting:

- Processing runs in a Web Worker with stall detection (180s timeout). If the worker crashes, it falls back to main thread automatically. - Audio extraction with stream copy (no re-encoding) skips disk I/O entirely — zero-copy transmux via BufferTarget. - Codec extensions (MP3, FLAC, AAC, AC3 encoders as WASM) are loaded on demand but can't run in the Worker — esbuild corrupts their inline WASM binaries during double-bundling, so they route to main thread. - 30+ formats, 5.1/7.1 surround audio preserved, 19 languages.

There's a /benchmark page if you want to compare the WebCodecs path vs FFmpeg WASM directly with audio extraction.

Built with Next.js 15, React 19, TypeScript, Tailwind v4, Zustand.

Would love feedback — especially on formats/codecs you'd want supported, or edge cases where processing fails.

MCP servers mass-forked and republished – supply-chain attack vector

1•ultrafox42•36s ago•0 comments

Ask HN: Human psychology of non-AI-native users

1•ajaystream•1m ago•0 comments

A live adversarial benchmark crowdsourced from domain experts

https://www.rusmarterthananllm.com/
1•camillemolas•1m ago•1 comments

Show HN: I built an audiobook player that syncs with your physical book

https://earleaf.app/blog/introducing-earleaf
1•arcadianalpaca•2m ago•0 comments

Accelerated north–east shift of the global green wave trajectory

https://www.pnas.org/doi/10.1073/pnas.2515835123
1•PaulHoule•2m ago•0 comments

The OWASP MCP Top: A Security Framework for AI Agent Tool Integration

https://mcpblog.dev/blog/2026-03-15-owasp-mcp-top-10
1•algis-hn•2m ago•0 comments

Keep Hyper-Scale Datacenters Out of the Desert (March 2026)

https://alec.is/posts/keep-hyperscale-datacenters-out-of-the-desert/
1•arm32•4m ago•0 comments

Show HN: AI agent deploys an edge AI model on a microcontroller via MCP

https://es617.github.io/2026/03/16/edge-ai-mcp.html
1•es617•5m ago•0 comments

Closing Arguments Begin in Twitter Trial Accusing Musk of Driving Down Stock

https://www.law.com/therecorder/2026/03/17/closing-arguments-begin-in-twitter-shareholder-trial-a...
1•1vuio0pswjnm7•5m ago•0 comments

The Context Must Flow – Permit MCP Gateway Explainer [video]

https://www.youtube.com/watch?v=pLQCG31HSK8
1•CruddyDoctor229•6m ago•0 comments

The Ugliest Airplane: An Appreciation

https://www.smithsonianmag.com/air-space-magazine/ugliest-airplane-appreciation-180978708/
1•randycupertino•6m ago•0 comments

Node.js worker threads are problematic, but they work great for us

https://www.inngest.com/blog/node-worker-threads
1•goodoldneon•7m ago•0 comments

Show HN: BulkHead – iOS File Manager for SFTP, SMB, WebDAV, and S3

https://www.oddinks.com/bulkhead/
1•xydac•7m ago•0 comments

Tokens Are Not Securities

https://www.bloomberg.com/opinion/newsletters/2026-03-18/tokens-are-not-securities
1•toomuchtodo•8m ago•0 comments

Intel enables Precompiled Shader Delivery in new driver

https://videocardz.com/newz/intel-enables-precompiled-shader-selivery-on-arc-b-series-and-core-ul...
1•davikr•9m ago•0 comments

Comprehension Debt

https://addyosmani.com/blog/comprehension-debt/
1•ragall•10m ago•0 comments

Three More Jury Notes in Social Media Trial Focus on YouTube Witness, Father

https://www.law.com/2026/03/17/two-more-jury-notes-in-social-media-addiction-trial-focus-on-youtu...
2•1vuio0pswjnm7•10m ago•0 comments

The problem is not generating code. It is trusting the change

https://ferrify.uk/
1•gh7941•11m ago•2 comments

Show HN: Trickle – See PyTorch tensor shapes inline in VSCode as you code

https://github.com/yiheinchai/trickle
2•chaiyihein•11m ago•0 comments

Xiaomi MiMo-V2-Omni: See, Hear, Act in the Agentic Era

https://mimo.xiaomi.com/mimo-v2-omni
1•gainsurier•13m ago•0 comments

GitHub and Claude Are Down Three Out of Four Days

https://www.aakash.io/tech-chase/github-and-claude-are-down-three-out-of-four-days
1•ahstilde•13m ago•0 comments

Recovery of the first fiber-optic submarine cable across an ocean – TAT-8

https://www.submarinenetworks.com/en/nv/insights/recovery-of-the-world-s-first-fiber-optic-submar...
2•marklit•14m ago•0 comments

How to write yourself every day

https://psyche.co/guides/how-to-write-yourself-every-day
1•herbertl•14m ago•0 comments

JupyterLab 4 Extensions

https://blog.jupyter.org/700-jupyterlab-4-extensions-8ac295b3d974
2•ktaletsk•14m ago•0 comments

What's Behind 'Alpine Divorce'?

https://www.theguardian.com/lifeandstyle/ng-interactive/2026/mar/17/alpine-divorce-abandoned-hiki...
2•Tomte•15m ago•0 comments

Show HN: Motif - Analyze your Cursor and Claude Code chat history

https://github.com/Bulugulu/motif-cli
1•Bulugulu•16m ago•0 comments

Agentic review of Linux Kernel code changes

https://github.com/sashiko-dev/sashiko
1•l2dy•16m ago•0 comments

Show HN: The-telegram-telegram (thermal printer style)

https://github.com/rscircus/the-telegram-telegram
1•eigenlab•17m ago•0 comments

The Benefits of Conforming

https://beyondloom.com/blog/conforming.html
1•tosh•18m ago•2 comments

Show HN: Packet28 – Context Layer for AI coding agents

https://packet28.dev
3•usharma123•19m ago•0 comments