They take a movie or video or series of clips and basically press the mute button and try to read the people's lips and figure out what it looks like they're saying. It's never correct, but it's always hilarious.
Here's a montage of the 2012 NFL season. Watch for Mike McCarthy and Aaron Rodgers (hint - for added laughs, watch for the score in the corner during the McCarthy part!).