A Barrie police officer is on trial after a security video showed him beating a 25-year-old man in 2010.