The movie was shot on location in Prague, Kroměříž and Vienna. Notably, Forman was able to shoot scenes in the Count Nostitz Theatre in Prague, where "Don Giovanni" and "La Clemenza di Tito" were first shown two centuries before. Several other scenes were shot at the Barrandov Studios.