Okay, if you are not used to dogs then coming across a pack of them would be scary. Unfortunately though that chap made the incident much worse for himself by yelling at the dogs from the moment they approached.
From the dogs point of view, here is an intruder who is making a lot of noise and trying to enter their territory. When they try to scare him off he makes more noise and starts making threatening gestures.
They could have genuinely attacked him but they didn't - they were just trying to make him go away.
It's fortunate that he didn't hit or kick any of the dogs as that likely would have led to an attack.