An ex-South Carolina police officer captured on video shooting an unarmed motorist two years ago pleaded guilty Tuesday in an agreement with prosecutors.