At the beginning of the 20th century, an obsessive inventor builds a machine capable of recording dreams.