Video of a police officer fatally shooting a teenager as he ran away has been released two years after the shooting occurred.