Clashes broke out around the air base and presidential palace in Niamey, and officials said the mutiny was brought under control within hours.