A US woman who was repeatedly punched in the face and head by a police officer at the side of the road, will receive $1.5 million in compensation.

Footage posted on YouTube in July shows a California Highway Patrol officer straddling the woman, Marlene Pinnock, and hitting her many times.

The settlement agreed on Wednesday came after nine hours of talks between lawyers in Los Angeles.

A Police statement said the officer, on leave since the incident, has resigned