This thesis is devoted to the study of radiative transitions in rare-earth (Er, Nd) doped silicon oxide and silicon nitride thin films. The optical characterization of thin films prepared by thermal evaporation is based on photoluminescence spectroscopy. In this work, we investigate indirect excitation processes of Er3+ and Nd3+ ions in silicon based materials. In silicon nitride and silicon oxinitride, an energy transfer leading to the indirect excitation of Er3+ ions is demonstrated. For amorphous samples, the sensitization of Er3+ ions is attributed to localized electronic states in the matrix bandgap. For samples annealed at high temperature, silicon nanocrystals play a major role in the indirect excitation of erbium. In silicon oxide thin films, we evidences that both direct and indirect excitation processes of Nd3+ ions occur. For amorphous samples, indirect excitation occurs thanks to localized electronic states in the matrix bandgap. For samples annealed at temperatures above 1000 °C, silicon nanocrystals are sensitizers of Nd3+ ions. Results suggest that indirect excitation thank to localized states in the matrix bandgap could be more efficient than indirect excitation thanks to silicon nanocrystals.