Building a Better GIF
I’ve recently become interested in creating animated GIF screenshots of my games. I was having a few issues with both file size and image artifacts. Here’s what I learned about how to make better animated gifs for when you want to put in a little more effort to make it look as good as possible.
- Even if the camera normally moves it should be locked in a stationary position for the GIF, this will greatly reduce file size.
- Record the video using FRAPS with frame rate set to 60 or 30 and set to Lock framerate while recording.
- Open the video in VirtualDub.
- Select Video / Frame Rate and in the box for Convert to fps enter “30” if you had recorded it at 60.
- Instead of exporting it for Virtual Dub as a GIF, export as an image sequence.
- In Gimp use File / Open as Layers then select all the images.
- Scale the image to the desired size.
- Select Filters / Animation / Optimize (for GIF)
- Export as a GIF and set the delay between frames to 33.
Here is the same video exported from virtual dub as an animated gif versus the more complicated method. As you can see there is much less flickering and banding issues in the second image for about an extra 50% increase in file size.

Exported as a GIF

Using the improved method