The files did not have the same size format, so the first thing was to give them a common support, in this case, 800x800:
for f in *.jpg; do convert "$f" -resize 800x800 -gravity center -background "rgb(255,255,255)" -extent 800x800 ""${f%%.*}"-ss.jpg"; done
The alignment itself is made through hugin's tool align_image_stack:
align_image_stack -a aligned -C *jpg
Turning into a movie is made with imagination (I couldn't install