Understanding the crystallization process for chemical solution deposition (CSD) processed thin films is key in designing the fabrication strategy for obtaining high-quality devices. Here, an in situ sample environment is presented for studying the crystallization of CSD processed thin films under typical processing parameters using near-grazing-incidence synchrotron X-ray diffraction. Typically, the pyrolysis is performed in a rapid thermal processing (RTP) unit, where high heating rates, high temperatures and atmosphere control are the main control parameters. The presented in situ setup can reach heating rates of 20°C s−1 and sample surface temperatures of 1000°C, comparable with commercial RTP units. Three examples for lead-free ferroelectric thin films are presented to show the potential of the new experimental set-up: high temperature, for crystallization of highly textured Sr0.4Ba0.6Nb2O6 on a SrTiO3 (001) substrate, high heating rate, revealing polycrystalline BaTiO3, and atmosphere control with 25% CO2, for crystallization of BaTiO3. The signal is sufficient to study a single deposited layer (≥10 nm for the crystallized film) which then defines the interface between the substrate and thin film for the following layers. A protocol for processing the data is developed to account for a thermal shift of the entire setup, including the sample, to allow extraction of maximum information from the refinement, e.g. texture. The simplicity of the sample environment allows for the future development of even more advanced measurements during thin-film processing under non-ambient conditions.