3 ms·
This is exactly the kind of thing I would've been working on if my boss hadn't said "it's a great idea, but let's just use it if somebody else does it". I worke
by gliese1337 14y ago
This is exactly the kind of thing I would've been working on if my boss hadn't said "it's a great idea, but let's just use it if somebody else does it". I worked on converting JSMad to use entirely typed arrays last summer (fun!), so I'm especially glad to see that all fixed up in the refactoring for Aurora.
Now, what I'd really like to see is a similar project for a) container formats and b) video codecs. I've been experimenting with using JSMad to display waveforms from decoding MP3 files that are the audio tracks of videos (for assisting with subtitling), but it's kinda annoying having to download a separate file for generating waveforms rather than just extracting it directly from the same video that's playing anyway.
- jensnockert 14y agoWe do support multiple containers, and it is reasonably abstracted (but it is slightly leaky right now). The support for multiple streams isn't there yet, it is something I would love to do, but it is reasonably complex and I have been researching about how to best support it, but I am not really sure what models works best in a browser. If you want to add some input about it, I would love to hear it. (#ofmlabs on freenode, or send me an email) Ps. We managed to get Typed Arrays to work with JSMad, so that stuff is in now.
- btown 14y agoFor decoding the video itself, https://github.com/mbebenita/Broadway https://github.com/mbebenita/Broadway is as far as anyone's gotten so far, but it's slow (as one would expect). Still, I'd love to see something able to extract the audio from container formats.