Time-lapse playback and video export

How to play the video history by time-lapse and export the video to mp4 file