There is a great App for Chrome called Stop Motion Animation that is a very simple and straightforward way of creating stop motion videos.
It is straightforward and easy to use, and the kids love it.
However, it does produce files in webm format. These can be played in VLC Media Player but they can't be run in Windows Media Player.
However, they can be converted to mp4 using ffmpeg, which can be installed on either a Raspberry Pi or WSL.
# install if necessary...
sudo apt-get install ffmpeg
# then run
ffmpeg -fflags +genpts -i filename.webm -r 96 filename.mp4
Note sure about the correct frame rate, but this appears to work in this instance...
This article is probably also worth a read (though I haven't yet)...