An amateur video has emerged online showing exactly the moment two policemen were shot during a rally near Ferguson police department.

The video is a low-resolution one and is more about what one can hear than what one can see.

Sounds of gunfire are distinctly heard, followed by loud screams as well as the groaning of a man who was hit.

Ferguson police station is seen and people running away in panic.

The shooting occurred in the early hours of Thursday as people were rallying outside the police station.

Two police officers were shot in the incident as was confirmed by police.

READ MORE: 2 cops shot at rally near police station in Ferguson

Photo from @stltoday showing officer being loaded into ambulance after shooting in #Fergusonpic.twitter.com/pFfQeskuqw — Matthew Keys (@MatthewKeysLive) March 12, 2015

A 32-year-old officer from Webster Groves was shot in the face, and a 41-year-old officer from St Louis County was shot in the shoulder, St Louis County police chief Jon Belmar told journalists at a press conference. He added that both the man received “very serious wounds,” but were conscious and being treated at a local hospital.

Belmar said shots fired at officers were "parallel to the ground" which he said tells him they were targets — Christine Byers (@ChristineDByers) March 12, 2015

The protest outside the Ferguson Police Department began after its chief, Thomas Jackson, announced his resignation Wednesday. He is the sixth city official to step down in the wake of last week’s damning Department of Justice report, revealing discrimination against Ferguson's African-American population by local courts and police.

READ MORE: Ferguson police chief resigns following DOJ report

The report was compiled in the wake of large-scale protests against police brutality, following the shooting of unarmed black teen Michael Brown by Ferguson policeman Darren Wilson in August last year. In November, mass protests broke out after a grand jury decided not to indict Wilson.

READ MORE: 85% of Ferguson police force targets are black - DOJ