Re:FLAC.js, Aurora, and the Future of Web Audio
by jensnockert on Saturday June 16, 2012 @05:59AM
(#4120281)
We 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.
Re:FLAC.js, Aurora, and the Future of Web Audio
by btown on Saturday June 16, 2012 @10:51AM
(#4120770)
For decoding the video itself, 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.
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.