Warning: Video contains graphic language

Dramatic video shows a broad-daylight shootout between cops and an armed robbery suspect in Baltimore — whose life ended in a hail of bullets Wednesday after he got off a bus and started blasting at officers.

“This n—-a out here banging at the police,” said Steve Outlaw, as he filmed the mid-afternoon shooting on Dundalk Avenue, near the bustling Logan Village Shopping Center.

“They just made us get off the motherf–king bus,” he explained. “[The suspect] banging at the police … Getting juicy with these n—-s.”

The man who was shooting at cops wound up striking one officer and a bystander before being killed by authorities, the Baltimore Sun reports.

He had just robbed two people in the Logan Village parking lot — and was attempting to flee on a local MTA bus — when officers pulled it over and attempted to arrest him shortly before 3 p.m., officials said.

But instead of getting off without incident, the man exited the bus and immediately opened fire, sparking hysteria in the heavily crowded area, known for its schools and shopping centers.

“This s–t getting real,” Outlaw says at one point in the video, as gunshots ring out all around him.

“Oh my God, this s–t is real!”

The footage, which was posted to Facebook, had already racked up more than 1.5 million views as of 10 p.m. Wednesday.

Throughout the clip, people can be heard screaming while the suspect goes back and forth between the bus’ two doorways — nonchalantly leaning out and firing at police.

“He thuggin’ it,” Outlaw says.

After running behind a van just across the street from the bus, the man can be seen exchanging shots with nearby officers as residents in the area scatter.

He eventually was shot by police and pronounced dead at the scene, cops said.

The officer who was injured was hit in her leg and is expected to survive. The bystander, while in serious condition, will also likely live.