Eyewitnesses reported seeing a series of flashes and hearing the sound of gunshots as police approached the looters, forcing officers to take cover behind vehicles.
Police hope the footage would encourage members of the public to come forward.
"Releasing footage that is so disturbing in nature is an unusual step for us as a force. However, the potential for serious harm, or worse, in this incident has led us to this decision," said Chief Constable Chris Sims.
"Eleven shots were fired at unarmed officers to enable disorder to continue, while petrol bombs were also thrown at officers who initially attended the scene.
"This footage shows seemingly co-ordinated criminal behaviour with no regard for people's lives, whether it be through the setting of a fire, shooting at unarmed officers or shooting at the police helicopter."
It appears that at least two weapons were used in the incident which police believe was co-ordinated by criminal gangs and involved looters, some as young as 13. Four spent bullet casings were found by forensic teams outside the pub. Four cartridges were also recovered at the scene.
A small amount of money was stolen from the pub, but evidence of the use of alcohol and petrol has convinced police that the looters' chief intention was to start a fire. A major probe into arson with intent to endanger life and attempted murder has been launched.
Detectives, forensic and ballistic experts and local officers have spent the past week trawling through the CCTV footage and making house-to-house inquiries.
So far two people have been arrested for violent disorder in connection with the incident.
Siriporn Thumajaroen, who runs the Barton Arms with her husband, Wichai, was upstairs when the gang broke in. She said she could smell petrol and feared for her life. "We could have died," she told the Birmingham Mail. "Wichai put the fire out with water but we are lucky to be alive. I have lived in this country for five years and I didn't think this kind of thing would happen here."
In 2005, a police officer was shot in the leg and two young men died during the race riots in Birmingham which were believed to have involved drug gangs.
- OBSERVER