How do we know how ancient languages sounded?

by TooLateToPush

For example, ancient Egyptian. I know we were able to learn to read the language after the discovery of the Rosetta Stone, but how do we know the pronunciation? When watching history shows, or even movies, Egyptian has a distinct sound. How do we know words like "Tutankhamun" are pronounced the way they are?

Bentresh