For future reference. This is how I record an animated GIF that can subsequently be tweeted. First I record video to an .ogg file using:
$ simplescreenrecorderThen, I convert the .ogg file to a .gif file using ffmpeg. In this example, I skip the first 4 seconds of the input, and write as 30fps output:
$ ffmpeg -ss 4 -i in.ogg -r 30 -pix_fmt rgb24 out.gifThe resulting video will look something like this:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcCZbcPQPItI2PuSbsUpOpkTbrDdx9sOxOxwtGUh6ngwEcEzZdQinj4ZJfZ4U7n16MYKKxkS2GfI269KHbF4msrDg9oI9_b0-271dIQZsA5t6ui0brXPWROKbJiAW-d0BK4eG-RGseu1KF/s1600/out.gif)