But then you're already trying to put lipstick on a horse that's been beaten to death.
It doesn't have potential. Unless you have a slideshow of a low integer number of photographs and no access to JavaScript or a scroll wheel.
Good encoder? It's just JPEG, any good encoding is already figured out and this is the wrong tool for the job. gifv or even just silent webm for the win.
Also, nice that video played smoothly on your few month old device. Does it still have a battery left now?
It's neat to see this as a can be done exercise. But now it's time to set fire to it. As it probably has done to quite a few devices already.
Also, transparency is possible because it's not limited to jpeg. PNG frames could just as easily be used where needed.
The point is the technique can be improved. Whether it can be shaped into anything useful is yet to be seen. In the meantime, cool down and take a deep breath.
Oh goodie, let's do a lossless sub-format. Why? Because motion prediction trickling through alpha transparency.
> This completely disregards anything motion estimation
A good xng encoder could work around this by doing the motion estimation and encoding transparent regions where things don't change on subsequent frames which could reduce file size dramatically.
There's no question that for longer video clips, a native format like mpeg4 will outperform, especially on mobile. This XNG thing does play smoothly on my iPhone 5s with iOS 8 however.
> Using canvas with JavaScript to render something akin to simple MPEG
This has been done and jsmpeg is one such implementation - https://github.com/phoboslab/jsmpeg
Live demo here: http://stream.imdeity.com [ The macro blocks/visual glitches in that demo are a result of the live capture/encoding via ffmpeg and not a jsmpeg problem ]
The downside with the jsmpeg approach is that it requires accompanying Javascript to work and won't animate as a standalone file unlike this XNG method.
> 60% CPU usage and a memory leak pushing my Chrome past a GB and that's just the start of it.
Seeing high memory use on my Chrome as well but only 8% CPU usage with the multiple XNGs on that page playing at the same time (which is about the same as a single Flash-based Youtube video playing in another tab).
Again, definitely not production ready but has high potential when paired with a good encoder.