This has nothing to do with SFML.
It's called Stop Motion Animation, search it online.
That's using a camera and editing film or taking lots of snapshots.
If you use a video camera you have to constantly pause and record, changing the scene after every pause.
This takes a long time which is why you often notice the sun going down in the background and why a lot of people do it indoors/studio or start early in the morning.
The closest game to use this was Mortal Kombat and it involved editing lots of photos and using props/moving lights for things like someone rotating during a flip.