Those characters are the heart of Peter Jackson's The Lord of the Rings film trilogy (2001–2003), based on J.R.R. Tolkien's novels.
Frodo (Elijah Wood), Sam (Sean Astin), Gandalf (Ian McKellen), and the Elven realms (Rivendell, Lothlórien, Mirkwood) are central to all three films.