Vanilagy

1.5K posts

Vanilagy banner
Vanilagy

Vanilagy

@vanilagy

It's pronounced vanilla-gee | Author of Mediabunny and Marble Blast Web. Love working on technically challenging projects that bring the best out of the web.

Darmstadt, Deutschland Katılım Temmuz 2014
97 Takip Edilen2.5K Takipçiler
Sabitlenmiş Tweet
Vanilagy
Vanilagy@vanilagy·
Introducing Mediabunny: a complete TypeScript toolkit for reading, writing, and converting media files right in the browser. This has been in the work for months now, and completely replaces my old libraries mp4-muxer and webm-muxer. Give it a try! mediabunny.dev
English
17
24
265
30K
Vanilagy
Vanilagy@vanilagy·
The upcoming Mediabunny version can play live streams!! Here I'm watching German live TV.
Vanilagy tweet media
English
7
1
69
3K
Vanilagy
Vanilagy@vanilagy·
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.
English
1
0
7
298
WebGL / WebGPU
WebGL / WebGPU@webgl_webgpu·
🎬 Applied Showcase: Meet MasterSelects, a full video editor that runs entirely on WebGPU. No native app, no CPU roundtrip. 37 blend modes and 3D rotation in a single 618-line WGSL shader. GPU-accelerated scopes, optical flow scene detection, SAM2 segmentation on-device, and export straight from the GPU canvas. 13 dependencies total. MIT licensed. 🔗 webgpu.com/showcase/maste… #WebGPU #VideoEdit #Film #AI #Creative
English
3
13
73
4.4K
Allwhy
Allwhy@Yhwylla·
@vanilagy Society if Bares didn't rhyme with Rares
GIF
English
1
0
2
19
Vanilagy
Vanilagy@vanilagy·
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
English
7
1
92
10.6K
Vanilagy
Vanilagy@vanilagy·
@BitesDev When you porting Portal 2 coop to the web?
English
0
0
0
128
Wiedy Mi
Wiedy Mi@wiedymi·
The most productive setup for me, work in bed on my laptop and watch some anime on tv... I can do like this more than sitting at desk with big screen...
English
2
1
2
289
Vanilagy
Vanilagy@vanilagy·
@wiedymi Do they allow you to bust out a laptop at Haidilao? I work at McDonald's every day 😂😂
English
2
0
1
102
Vanilagy retweetledi
Pepsi
Pepsi@pepsi·
What starts with a P and ends with epsi and we all love it?
English
6.2K
396
16.4K
4.7M
Vanilagy
Vanilagy@vanilagy·
@HugeLeters Sort does too much work here; the answer can be retrieved in O(n) time whereas doing it via sort requires O(n log n). But yeah I agree that it'd be a terse way to write it at least.
English
1
0
2
286
Eugene
Eugene@HugeLeters·
@vanilagy but for most ppl the idiomatic way to write this would be to do sort + head & tail so this is more of an argument for proper composition I think?
English
1
0
0
290
Vanilagy
Vanilagy@vanilagy·
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.
Vanilagy tweet media
English
8
0
33
5.2K
Wiedy Mi
Wiedy Mi@wiedymi·
@vanilagy why you write such code i first place ? 👀
English
1
0
0
449
Vikas Kapadiya
Vikas Kapadiya@KapadiyaVikas·
@vanilagy Any docs for this. I want to make hls download but totally in web browser
English
1
0
0
15
Vanilagy
Vanilagy@vanilagy·
@rasmaplasma Ish? Maybe in scope, although Mediabunny has no dependencies to be more lean
English
0
0
0
334
Vanilagy
Vanilagy@vanilagy·
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.
English
8
2
223
29K
tkmadeit
tkmadeit@tkmadeit·
@vanilagy kinda unrelated but do you have an example of Mediabunny recording a video of an html element on a page?
English
1
0
0
259
Steve
Steve@mancerrss·
@vanilagy So how do you get the German Live TV broadcast thru the web tho?
English
1
0
2
904
Vanilagy
Vanilagy@vanilagy·
@deifosv In the Mediabunny codebase (currently in the HLS PR), or just ask me!
English
1
0
1
323
Vlad
Vlad@deifosv·
@vanilagy Nice! Where can we see how this is done, because I'm probably doing it wrong on bsr.getbasedapps.com which is using Mediabunny for it.
English
1
0
1
378
Vanilagy
Vanilagy@vanilagy·
@wiedymi The player obviously shouldn't display it like that, it's just for debug. I think the way I'm doing it is very elegant; the packet timestamps are simply unix timestamps! This allows to naturally map any time of the stream to a real point in time
English
1
0
5
1.3K
Wiedy Mi
Wiedy Mi@wiedymi·
@vanilagy Pretty cool! Though those timestamps durations...
English
2
0
2
1.9K