The recent entry of X-ray free electron lasers (FELs) to all fields of physics has created an enormous need, both from scientists and operators, for better characterization of the beam created by these facilities. Of particular interest is the measurement of the arrival time of the FEL pulse relative to a laser pump, for pump-probe experiments, and the measurement of the FEL pulse length. This article describes a scheme that corrects one of the major sources of uncertainty in these types of measurements, namely the jitter in the arrival time of the FEL relative to an experimental laser beam. The setup presented here uses a combination of THz streak cameras and a spectral encoding setup to reduce the effect of an FEL's jitter, leaving the pulse length as the only variable that can affect the accuracy of the pulse length and arrival time measurement. A discussion of underlying principles is also provided.