Исправление mittorn, (текущая версия) :
https://git.disroot.org/mittorn/glxanim
gcc glxanim.c -lm -lX11 -lGL -o glxanim
GLXANIM_PERIOD=10000 GLXANIM_WIDTH=1920 GLXANIM_HEIGHT=1080 path/to/xwinwrap -b -s -fs -st -sp -nf -ov -fdt -- sh path/to/glxanim.sh WID /path/to/*.png
ffmpeg -i bg.gif -vf crop=864:384 bg/%d.png
Исходная версия mittorn, :
https://git.disroot.org/mittorn/glxanim
gcc glxanim.c -lm -lX11 -lGL -o glxanim
GLXANIM_PERIOD=10000 GLXANIM_WIDTH=1920 GLXANIM_HEIGHT=1080 path/to/xwinwrap -b -s -fs -st -sp -nf -ov -fdt -- sh path/to/glxanim.sh WID /path/to/*.png