Video uploaded online of Sunday's shooting at Ten X Nightclub in Calgary depicts the speed with which the attack was carried out and then halted by the quick actions of security staff and police.

The CCTV footage shows a white car pull up outside the bar. A man exits the front passenger side, carrying a pistol in his right hand. He flips up a hood over his head, walks to the front door and fires through the glass.

This all occurs in the span of nine seconds.

TenX Shooting CCTV

A screenshot from CCTV footage that surfaced online of the shooting at TenX nightclub in Calgary. (YouTube/Screenshot)

Two bouncers then tackle and subdue the gunman on the hood of the car, while it appears the driver and a third person in the back seat seem unsure of what to do.

Within a minute, police arrive with guns drawn.

The CCTV footage appeared on YouTube hours after the shooting, and was subsequently removed under the account that originally posted it.

Spencer Wallace, who was working security at the bar that night, said the bouncers reacted "immediately" after the gunman fired and prevented the situation from escalating.

"They pounced on him," Wallace said. "Those guys are heroes and they deserve nothing but praise, they stopped this from being so much worse."

Police arrested two men — Mohamed Elmi, 31, and Mohamed Salad, 29, both of Calgary — and charged them with numerous offences, including attempted murder.

Investigators said Monday they are still searching for a third suspect.

Salad received a conditional discharge in 2011 for drug possession, but failed to complete his community service hours and was charged with a breach of probation, according to court records.

Elmi has no prior convictions in Alberta.

Despite accusations on social media, police emphasized this incident was not related to terrorism. 

Although final numbers aren't out yet, Calgary seemed on track to double the number of shootings in 2015 over 2014. Police warn turf battles over drugs in the city's northeast have escalated into a gang war.

And Calgarians haven't seen the worst of it yet, according to police who describe a powder keg situation likely to lead to the harm of innocent bystanders.