A man's narrow escape from a gunman, who went on to shoot someone else, has been caught in hair-raising footage.

Just after midnight, the unidentified man is seen standing on a Toronto street corner, dressed in a robe and head covering and smoking a cigarette.

Unbeknownst to him, another man, dressed in white pants and a white hooded top, is approaching from behind, holding a gun.

Street camera footage shows the second man hold the gun up at the first man's head and pull the trigger. Had the gun fired, he would have been dead.

Luckily, the gun did not discharge. As the first man turned around, finally aware something was amiss, the second man quickly hid the gun and calmly walked away with his friend, who also wore a hood to cover his face.

Shocking street camera footage shows a man walk up to another man and point a gun at his head, with the would-be victim completely unaware

When the man, who was smoking a cigarette, turned his head, the gunman slyly hid his gun and walked away calmly with a friend

Less than 10 minutes later, a 42-year-old man was standing near the entrance of a store when the two men walked past.

Both men, who appear to be masked, pull their guns on the 42-year-old, who sprints away in fear.

The two men are seen on camera chasing him towards an apartment building, the man in white determined to keep going even as his friend appears to try and signal to him to stop.

The 42-year-old is seen dashing in to the lobby of an apartment building with the man in white just inches away from him.

The pair, both armed, then chased another man with their guns as he sprinted awayd

As the fleeing man runs inside, the man in white fires his gun, hitting the man.

He was rushed to hospital and treated for a gunshot wound, but his shooters are still on the run.

There does not appear to be a motive for the shooting, but police are investigating the identities of the gunmen.

A spokeswoman for Toronto Police told DailyMail.com the men had not been apprehended.

Just days later, four men aged 18-22 were arrested on 92 charges after a petrifying car chase.

The men were seen wearing items that appear to have been used to disguise their identity, and had two loaded guns with them.

Toronto Police have urged the community to be mindful of their surroundings, and ask anyone with information to contact CrimeStoppers on 416-222-TIPS (8477).