In-situ investigation on the oxygen vacancy-driven topotactic phase transition in charge-orbital ordered Nd0.5Sr0.5MnO3 films