Vanilagy (@vanilagy)

Vanilagy @vanilagy 2026-04-28T15:34:56.000Z

Mediabunny 1.42.0 is now out, adding THE most requested feature: full read/write support for HLS! 🚀 It's truly a game changer for client-side media processing. Here, I'm creating 5 renditions from a 40-second video in ~10 seconds, fully client-side, without a transcode server: https://t.co/uHGxChSF4A

321 18 73401 13 6
Vanilagy @vanilagy 2026-11-27T11:34:09.000Z

Sometimes it genuinely scares me to think about how FEW people work on WebCodecs. It's just a couple of browser devs at Google, Apple and Mozilla. I see it as an API that can affect millions or even billions of people. What if the people working on it just stop? There are still quite a lot of bugs in the implementations, so it would be a shame to see it stagnate.

85 14 3576 12 9
Jaxon Ventures @ventjaxon 2026-11-27T19:28:58.000Z

I think it's worth noting that the WebCodecs API's ability to operate in Dedicated Web Workers is a significant factor in its efficiency, as it allows for encoding and decoding to be offloaded from the main thread, and for those https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API

@vanilagy

Sometimes it genuinely scares me to think about how FEW people work on WebCodecs. It's just a couple of browser devs at Google, Apple and Mozilla. I see it as an API that can affect millions or even billions of people. What if the people working on it just stop? There are still quite a lot of bugs in the implementations, so it would be a shame to see it stagnate.

0 0 259 1 0
Vanilagy @vanilagy 2026-11-27T09:49:38.000Z

I think it's kinda funny how much read activity there is on X during work hours I wonder if it's gotten worse with people waiting for their agents to finish

25 0 1294 4 0
Vanilagy @vanilagy 2026-11-26T10:23:53.000Z

I'm working on a low level decoder/encoder abstraction for Mediabunny. I already have this internally but it's so useful that I'm making it a polished public API. It smooths over so many quirks in WebCodecs. The goal is that it's always better to use the Mediabunny abstraction instead of WebCodecs directly. You'll get a nicer API, less footguns, and consistent behavior across all browsers.

67 1 4152 5 1
Vanilagy @vanilagy 2026-11-25T09:56:15.000Z

Mediabunny uses a "few and large files" philosophy because it keeps the structure simple and cohesion high. I just noticed that its MP4 parser has almost reached 5k LOC, which makes it the longest file in the project (although most files are >1k LOC). Still only 30 kB gzipped! https://t.co/q9vVZOvh1O

60 0 1958 8 0
Vanilagy @vanilagy 2026-11-26T17:18:13.000Z

I consider it a success when I wake up to no new Mediabunny issues. I usually wake up to like 2-5 issues, and when I get none, I see it as a signal that things are working robustly. Especially after that recent 400-fix bughunt, things have gotten a little quieter!!

27 0 1359 2 0
Jamie Birch @birch_js 2026-11-26T11:26:25.000Z

JQuery for WebCodecs

@vanilagy

I'm working on a low level decoder/encoder abstraction for Mediabunny. I already have this internally but it's so useful that I'm making it a polished public API. It smooths over so many quirks in WebCodecs. The goal is that it's always better to use the Mediabunny abstraction instead of WebCodecs directly. You'll get a nicer API, less footguns, and consistent behavior across all browsers.

7 1 1339 1 0
merlin @merlindru 2026-11-25T11:04:34.000Z

@vanilagy Bun does / did this too It's not a bad strat. Files and folders are only there for organization after all, so if it feels organized, they're doing their job lol My real question is :how do you deal with clankers bloating files beyond their intended purpose?

0 0 85 1 0