Better HN
topnewbestaskshowjobs
Log inSign up

vanilagy

15 karma · joined Jun 24, 2025 (1y ago) · 12 submissions

I like making stuff that flexes the muscles of the web. Creator of Marble Blast Web, and some media processing libraries.

https://github.com/Vanilagy

Submissions

1.

Project Sync: The journey to sample-perfect audio/video sync with WebCodecs(mediabunny.dev ↗)

15 points · by vanilagy · 3w ago · 2 comments

comment 4mo ago · link · parent

Just point the agent at the docs, it'll understand them quickly. Mediabunny also has many examples and even a dedicated LLM page.

comment 4mo ago · link · parent

You should strongly consider using Mediabunny to do all of the rendering client-side!

4.

TurboRes, an fast WASM Apple ProRes decoder (2x faster than FFmpeg)(github.com ↗)

4 points · by vanilagy · 5mo ago · discuss

comment 1y ago · link · parent

Lovely! (not to mention ffmpeg.wasm is like 50x slower lol)

comment 1y ago · link · parent

Great question! <video> and <audio> are perfectly apt for simple media playing on the web, and you should use them for playing files.

They tend to break down when you want to build more complex applications on top of them (such as a video editor) that require perfect-accuracy seeking and playback, precise control over decoding patterns, and direct access to frame data. Mediabunny was built to power that kind of application, and so this demo acts as a proof of concept that you can reimplement the <video> element from scratch using that library.

comment 1y ago · link · parent

Awesome! Mediabunny started life for exactly this purpose. I wanted to build a replay renderer for my game Marble Blast Web that was as fast as the hardware allowed while giving a frame-perfect result. MediaRecorder just didn't cut it!

8.

Show HN: Self-made web media player without <video> or <audio>(mediabunny.dev ↗)

11 points · by vanilagy · 1y ago · 6 comments

9.

Mediabunny, a pure-TypeScript replacement for FFmpeg for in-web media processing(mediabunny.dev ↗)

3 points · by vanilagy · 1y ago · discuss

comment 1y ago · link · parent

Yo, that's awesome and incredibly sweet. There's actually a centralized repository nowadays with all custom levels for the game, here: https://marbleland.vaniverse.io/

Pretty sure you can find your levels on here.

comment 1y ago · link · parent

Much appreciated <3

comment 1y ago · link · parent

You won't believe this: it _is_ playable on mobile! I see a lot of people playing this on their phones and iPads.

I contemplated adding gyro controls, like in "Marble Blast Mobile" from back in the day, but they are very imprecise and don't really scale well to high-level play. With the current d-pad controls, there's actually a mobile player who holds the world record on many levels. Never would've expected mobile controls to scale this far.