The Dark Crystal (1982)

(Summary from Wikipedia)