Ya, that was a 40mm L60 Bofors rapid-fire cannon being shot at "Mr. Scorpion" from (probably) an
AC-130E Pave Spectre aircraft, BTW.
What Kid Rock had in his hands in that video (yes, that's Kid Rock...) was a minigun like one of the FOUR GAU-2/A (also) mounted on the AC-130E.