Saving frames from a movie for motion analysis