Hacker News new | comments | show | ask | jobs | submit login

I got inspired to finally write this up after seeing the discussion today about Apple's use of a similar technique.

Code is available at https://github.com/sublimehq/anim_encoder, although you'll undoubtedly need to do some wrangling to use it for your own projects.

Did you do any size comparison with an x264 or vp8 encoded version?

I didn't, no. I'd be interested in seeing the result, given that video codecs aren't optimised for lossless encoding.

In truth, I didn't want to get into the quagmire of real video formats, and producing something that works everywhere.

They're not really optimised for lossless, but I think they both do pretty well on stuff that doesn't change from frame to frame, effectively using the same technique you've used to encode only the diffs. It would be interesting to compare.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact