A video filmed in the aftermath of a deadly attack on police officers in Dallas appears to show protesters dancing in a parking lot.

Five officers died and several more were wounded when gunfire erupted at a Black Lives Matter protest on Thursday night.

Hundreds of people packed into a 7-Eleven parking lot at Griffin and San Jacinto streets as police pushed the crowd away from the chaos of the crime scene, WFAA reports.

Scroll down for video

A video filmed in the aftermath of a deadly attack on police officers in Dallas appears to show protesters dancing in a parking lot

Hundreds of people packed into a 7-Eleven parking lot at Griffin and San Jacinto streets as police pushed the crowd away from the chaos of the crime scene, according to WFAA

A Fox News report showed footage of the parking lot, showing a line of officers standing guard in front of the store and appearing to prevent anyone from entering.

Filmed shortly before 1am CT, it showed some of the men outside the store making gestures to the officers while others appeared to be dancing.

The large police presence was reportedly in response to concerns that some of the protesters were stealing from the store.

As police guarded the scene following reports of looting, protesters were seen taunting the officers, according to WFAA.

Many of the people were drunk and some poured alcohol on cars belonging to the local station's news crew in the parking lot, forcing reporters to move.

A line of police officers guarded the convenience store after reports that people were looting the store

Some of the men in the parking lot appeared to be dancing and some were 'taunting' police officers

The convenience store, which is usually open 24 hours, was closed at around midnight at the request of management.

Hundreds had gathered in downtown Dallas on Thursday night to protest the deaths of two black men at the hands of police officers this week.

Alton Sterling, 37, was killed Tuesday in Baton Rouge, Louisiana, after he scuffled with two white police officers outside a convenience store.

A day later, Philando Castile, 32, was shot dead by a police officer in Falcon Heights, Minnesota, during a traffic stop.

About 8.45pm, shots were fired by snipers, authorities have said. The shootings happened a few blocks from Dealey Plaza, the landmark made famous by President John F. Kennedy's assassination.

Some of the men in the parking lot were seen making gestures towards the police officers at the scene

Many of the people were drunk and some poured alcohol on cars belonging to WFAA reporters

Authorities initially said that there were three suspects in custody and a fourth one that was killed by a robot-delivered bomb in a parking garage after a long standoff, but by Friday morning, officials were vague and would not discuss details of the situation.

They identified the man who died as 25-year-old Micah Johnson, a black man who lived in the Dallas suburb of Mesquite. The others have not been identified.

Johnson had served from March 2009 to April 2015 in the Army Reserve and did one tour of duty in Afghanistan.

He told authorities that he was upset about the recent shootings of black men by police and wanted to kill whites, 'especially white officers,' according to Dallas Police Chief David Brown.