The laser probe is one of the main techniques for capturing ultrafast dynamic processes and has extensive applications in fields such as plasma physics, photochemistry, and biomedical science. In this work, a time-wavelength encoded optical probe generation scheme is proposed, which uses cascaded frequency doubling crystals with different phase-matching angles and independent delay lines to achieve time-wavelength encoding. This method offers single-shot high-spatiotemporal resolution, high frame rate, and a wide range of adjustable time windows. The temporal resolution of the optical probe depends on the pulse width of the second harmonic, which can be adjusted by changing the phase-matching angle of the frequency-doubling crystal. The time window of the optical probe is only related to the change in the delay line, which can be adjusted by changing the length of the delay line. Therefore, the time resolution and time window of the optical probe are independent of each other. An optical probe generation system is constructed with 247 fs temporal resolution, 4 μm spatial resolution, 4.05 THz maximal frame rate, and an adjustable time window from sub-picosecond to 3 ns. The three-dimensional spatiotemporal evolution process of plasma filaments is captured within a single shot by using the optical probe. The experimental results show that the ionization front of the plasma propagates forward at a velocity of
$ {\left(2.963\pm 0.024\right)\times 10}^{8}\;{\rm{m}}/{\rm{s}} $
, which is consistent with the theoretical prediction. This demonstrates the feasibility of using the probe for capturing ultrafast events. In the part of discussion, we analyze that the key parameters of the optical probe can reach a maximum frame rate of 35.7 THz, a maximum time resolution of 28 fs, and a time window range that can be adjusted from hundreds of femtoseconds to tens of nanoseconds. Finally, the optimal design parameters of the optical probe are given for different application scenarios. The optical probe generation scheme has good scalability and versatility, and can be combined with any wavelength decoding device, diffraction imaging, holographic imaging, tomography scanning, and other technologies. The high spatiotemporal resolution of the optical probe and the independent adjustability of its parameters provide a feasible solution for single-shot high spatiotemporal resolution captures of ultrafast dynamic processes on a multiple time scale.