66 points · by callumlocke · 11y ago · 30 comments
Longer demo: http://phoboslab.org/files/jsmpeg/
jsmpeg only unpacks the current frame into memory instead of decoding the whole video at once, so it's memory footprint should be much lower. MPEG1 files are also much smaller than storing individual JPEG frames.
While killing the battery while doing it... Why we don't just expose lower level decoding apis to JS instead, I don't know...
The world is in trouble
Ah what we tell dem murdera
Are there other legitimate use cases than using this a fallback for iOS? Curious.
Previously: https://news.ycombinator.com/item?id=4531088
Teardown: https://docs.google.com/document/u/1/pub?id=1GWTMLjqQsQS45FW...
https://www.divergentmedia.com/phosphor
Whether you actually gain anything from using this technique as opposed to other simpler techniques like canvid, well, let's just say YMMV