This, a peculiar Polish masterpiece from 1973. Based upon Bruno Shulz's "Sanatorium Under the Sign of the Hourglass.", which I'm not sure I have or haven't read; but the story revolves loosely around a man going to visit his father in a Sanatorium where the ordinary rules of time don't apply. Fantastical sets, Art-Nouveau in ruins, covered in spiderwebs and dust, the halls of memory, tied up trunks and bureaus, a graveyard with ravening wolves, examination rooms in surreal decay, inexplicable incidents...it becomes a parable of memory, the pretext of visiting his father leads him to relive and reexamine various stages of his life, the aesthetic alone makes it worth the watch, the opening train ride (a conductor leading any number of lost souls), the crowds of people - active or silent, frozen in time, it reminds you of a live action version of The Quay Brothers "Street of Crocodiles" (also by Bruno Schulz), or a darker, more surreal Jodorowski; rooms (memories) are entered, left, and then sealed behind, doors opening up to surreal tableaux, his father surrounded by bare-breasted flappers and prostitutes digressing upon Steak and Mushrooms, the stuff of indigestion and bad dreams...
A surreal masterpiece. You can read the wiki here: https://en.wikipedia.org/wiki/The_Hourglass_Sanatorium
or watch it on YouTube here (for free!!!): https://www.youtube.com/watch?v=_8nHhstKtEA
Note: The YouTube version is low res and the colours are so-so. This could benefit from a restoration.