To perform in a deliberately exaggerated and theatrical way, usually for comic effect.
"The comedian hammed it up for the cameras, pulling ridiculous faces and doing silly voices."
Jim Carrey has never been afraid to ham it up on screen.
— Widely cited in entertainment journalism regarding Jim Carrey's comedic style; e.g. Entertainment Weekly, various issues 1990s–2000s