Advertisement Β· 728 Γ— 90

Posts by Vanilagy

Aqui: github.com/Vanilagy/med...

4 days ago 0 1 0 0
Post image

Today I wrote two highly in-depth guides on reading and writing HLS with Mediabunny. It was super fun to write these!!

These will be part of the official docs soon, but in the meantime, you can find these in the hls branch if you're interested!

4 days ago 0 0 1 0
Post image

When they said "Test edge cases" is this what they meant?

4 days ago 0 0 0 0
Post image

Here's an example of how the upcoming Mediabunny version can *stream-upload* HLS files to a server WHILE the client is generating them. O(1) client-side memory usage.

Still think this is one of the coolest things you can do with Mediabunny.

4 days ago 2 0 0 0
Preview
Release v1.42.0-beta.1 Β· Vanilagy/mediabunny This is the first beta release of the upcoming Mediabunny version with HLS support. HLS is supported symmetrically, meaning both read & write. The changes are too numerous to list here and will be ...

Huge news!! πŸš€ Full HLS support in Mediabunny is done and is now in beta. This has been in the works for about three months now. Thanks to all of the sponsors that made this possible.

Check out the release here:
github.com/Vanilagy/med...

5 days ago 9 0 1 0
Post image

πŸŽ‰ Mediabunny has hit 2M monthly downloads!! Next goal: 1M weekly.

6 days ago 2 0 0 0

API design is so freaking hard.

Over the course of adding HLS support, I've redone the new API about 5 or 6 times by now. Sometimes you literally first need to see how Variant A feels before you know Variant B was better all along.

And knowing you can't change it after release!

1 week ago 6 1 0 0
Advertisement
Post image

You follow the news.

I follow the news using my own media player.

We are not the same

1 week ago 3 0 0 0

Thank you!!

1 week ago 1 0 0 0

Speeding isn't even very effective at making the trip shorter.

1 week ago 1 0 1 0

Literally the first thought upon waking up this morning: "I woke up!"

1 week ago 0 0 0 0
Post image

The long road to full HLS read/write support in Mediabunny is finally coming to an end. Last step for me is the documentation stage; write insightful docs for new symbol exported by the lib.

Always takes a while to do, but it's also quite fun!

1 week ago 5 1 1 0

I also use it most for euclidian distance. Mediabunny doesn't have much of this, no, but my history of coding is much broader than media processing :D

1 week ago 1 0 0 0

I love when you can use this strategy to completely avoid square roots. Like, you wanna check if i >= sqrt(n), you can just check if i*i >= n. So clean.

1 month ago 1 0 2 0

I mostly maintain a "all bugs have infinite priority" policy for Mediabunny, which definitely feels like a double-edged sword to me. Yes, it means that the library is quite stable, but it can be annoying as it can rip me out of feature development.

1 month ago 1 0 0 0
Post image

Thanks to @techconnectify.bsky.social I now have unwavering confidence that my dishwasher will be able to clean this without a problem

1 month ago 0 0 0 0
Post image

This is a good example of why indirection leads to worse performance; both of these functions do the exact same loop, but this fact is hidden by the function call indirection. Had these been inlined, the repeated logic would've been immediately obvious.

1 month ago 0 0 0 0
Advertisement

Never an issue when I use it. I commit that shit myself!

1 month ago 1 0 0 0

N=2 technically!! I wonder when the crossover point will happen; when your 80% will be worth more than her 100%.

1 month ago 1 1 1 0

Thanks Piet!!

1 month ago 2 0 0 0

Tried this out on a work project today instead of ffmpeg-wasm and the speed improvement was insane.

If you need to convert/splice video on the web, don’t sleep on this library!

1 month ago 12 2 2 0
Video

Here's Mediabunny capturing 5 seconds of live TV and transmuxing it into an MP4

Total bundle size to do this is around ~50 kB

1 month ago 8 0 0 1
Video

Mediabunny on the left playing German live TV (with WebCodecs) compared to the official stream on the right. I'm even ahead by a few seconds!!

The coolest thing is that I didn't even have to change the media player code; it just thinks it's playing a normal video file.

1 month ago 3 0 0 0
Post image

The upcoming Mediabunny version can play live streams!! Here I'm watching German live TV.

1 month ago 5 0 0 0
Advertisement

It's good that GPT 5.4 is so bad that it doesn't even hurt cancelling the subscription

1 month ago 6 0 0 0
Post image

The clanker is now a Mediabunny "contributor"😩

1 month ago 3 0 1 0
Post image

Any project I do eventually needs this utility function. So stupid that you need to hack it with a Worker.

1 month ago 0 0 0 0
Post image

Today I learned you can do this

1 month ago 1 0 1 0

Mediabunny v1.37.0 can now encode FLAC directly in your browser! πŸš€ Huge for exporting audio losslessly.

Just add this new extension package, 83 kB gzipped.

www.npmjs.com/package/@med...

1 month ago 3 0 0 0

I've released @mediabunny/aac-encoder, a new extension package that polyfills AAC encoding support for environments that don't have them. Firefox for example! Or anything on the server, like Node or Bun! πŸš€

Around ~260 kB gzipped in size.

1 month ago 2 0 0 0