Could someone please explain how they shot and edited this?

Hey guys just newbie trying to learn few cool effects! so i saw this video on youtube and have my mind stuck over how he shot the hyper-lapse part!

  1. Where everyone is standing still and only the subject is moving

  2. Where everyone is moving at a hyperspeed but the subiect is walking normally

What I could think of is they rotoscope the subject and shot twice at a same angle but what i couldn't understand the movement in the video is too smooth and everyone stays at place when camera is moving along.

Can anyone guide me on how to get the similar effect?