The cast had rehearsed for weeks, they were all prepared to what?
stage perform film
perform
perform is a thing that casts do. stage is a noun (not a verb) and filming something is not something a cast does.
cast had rehearsed