Just a post with a few words about compression efficiency, especially for Cinemagraphs.
I recently found this GIF in /r/Cinemagraphs:
http://i.minus.com/i4EYOAMFB6urf.gif
Since it's unusual for a Cinemagraph to be too big for imgur.com, I tried to find out why a GIF with tiny movements has almost 10 MB.
I first thought the GIF was created without any delta encoding at all, but that turns out to be wrong. The majority of the image seems to be masked with a static background, which already lowers the file size a lot. Then I found out that the noise that remains in the masked area is a huge data filler.
Here's an optimized version with just 960 KB that fits on imgur.com:
http://i.imgur.com/CnDiohe.gif
That's a tenth of the original GIF's size!
The visual difference is very small, but if you enable the frame disposal with Gifsicle (gifsicle <file>.gif --disposal=bg "#0--1" -o <file2>.gif), the difference becomes obvious:
Original GIF:
http://i.minus.com/iwrcOToQFO2j.gif
Optimized GIF:
http://i.imgur.com/5PoGqLv.gif
With the frame disposal edit, every frame in the GIF is cleared before displaying the next one instead of keeping all pixels of all previous frames until the loop restarts.
As you can see, the noise takes up a majority of the pixel data instead of just the moving elements. In this case, ImageMagick with a color fuzzing range of 10% (-fuzz 10%) can be used to optimize the GIF. Such high fuzz values usually don't work well with subtle color changes, but the contrast of the cars is high enough to get rid of most of the noise pixels without producing weird artifacts.
The better way would be to denoise the source video before encoding the GIF with lower fuzzing values. There are various ways to remove the noise from a video, depending on the video editing software you use.