3 ms·
I have to say that, while I haven't looked into the details, this is quite impressive. It runs really smooth on my not-so-great desktop. A good sign that Javasc
by adlpz 13y ago
I have to say that, while I haven't looked into the details, this is quite impressive. It runs really smooth on my not-so-great desktop. A good sign that Javascript is no longer the great bottleneck it used to be.
- bluedino 13y agoI want to say you could use a higher end Pentium for software MPEG decoding (166-200MHz). Whatever the performance difference is between than and your current system (or the current minimum system you'd need to run that demo at full speed).
- jfb 13y agoMPEG1 decoding isn't particularly difficult, computationally speaking.
- phoboslab 13y agoDecoding is pretty fast - which surprised me as well. The main performance hog is not the decoding, but the conversion of the decoded YUV image to RGB for the canvas element. I believe this step could also be done on the GPU with WebGL.
- jensnockert 13y agoWhile I think the code is cool, why we can do this is just because we have waited 20 years. A MPEG1 decoder can run in software on a reasonable ARM9 core from 15 years ago, and desktop processors from 20 years ago can probably do it as well.