What are these people doing in front of a shrine?
In this video, which shows a performance of Kagura/Bugaku (traditional Japanese dance) at Setsubun event, people seem to do the same thing: chanting "Haino" and raising their hands. So the scene in the question could be some kind of Kagura.