I made a Node to record gifs directly from my games.
I was having issue with outside tools (glitchy recording and strange artifact).
It stores the frames in png and rely on GifSki or FFMPEG to encode the gifs at the end of the recording.
I tried to make it easy to use, it may be usefull to others =)