>>1479980I wouldn't use ffmpeg but imagemagick, since it's a gif not a webm.
Just write a shellscript that is a loop of "take collage${n-1}, paste picture${n} from the top left, save as collage${n}".
Then just convert the frames to gif.
I can't shellscript so I can't do it for you. But it isn't hard to learn.
On second thought, isn't this the default behavior of imagemagick if you just make it into a gif without the
-dispose previous
argument? Also, don't forget to use +dither to disable dithering which is on by default.