4 ms·
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/sub
by jskinner 14y ago
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 https://github.com/sublimehq/anim_encoder, although you'll undoubtedly need to do some wrangling to use it for your own projects.
- ZeroGravitas 14y agoDid you do any size comparison with an x264 or vp8 encoded version?
- jskinner 14y agoI 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.
- ZeroGravitas 14y agoThey'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.