Plasma dynamics study by fast imaging and Sm1−xNdxNiO3 thin film deposition