To do it properly, the transcoder needs to know about peak levels over the course of the whole video. Which is why it has to be analysed in advance. Without that information, you’ll either don’t get the levels as high they could be, or you may encounter “compressor pumping”.