Hacker News new | ask | show | jobs
by jefftk 1242 days ago
I agree that's not a bad starting point, but it should be possible to do a lot better than this because a screenshot will often be very similar to an earlier one that's not the previous one. For example, repeatedly switching between a few views. Video codecs are optimized for (a) streams that rarely go back to an earlier pattern, (b) minimal ongoing memory usage, and (c) realtime decompression, so they aren't going for quite the same use case.
1 comments

Even h264, which is way over a decade old, can reference frames that are further back than the last one. And it supports lossless. Now the only thing to research is if those two features can be used together and how many frames back it can reference.