How can stenographers keep up with a speaker

I never knew how those machines that court reporters use to record testimony worked until I watched this video. Stan is a stenographer and he explains how he is able to make a real time transcription of speech.