Can you give a tip how to create a video with such effect?
The first one is a so called hyperlapse. Just not a smooth one. It is basically just speed up.

Same goes for the second one, just that it also has a diffrent shutter speed.

So how to do them:

Simply record the walking video and speed it up in post.

To achieve the special look in the second one, not every camera can do that. You need a camera with a really low FPS, for example 10, then you also expose 1/10 second. You should get a similair look, then you will need to experiment. But that effect may be hard to achieve on a digital/cheaper camera.