Add post-processing after stopping the recording.