Footage has emerged of Spanish police shooting suspected terrorists wearing fake suicide vests in the wake of the Barcelona attack.

A video shows police arriving at the scene in Cambrils, a coastal town in Catalonia, with sirens blaring.

Shouting is heard, before around nine gun shots ring out. More shouts are audible and people on the street are seen running for cover.

The attackers were immediately fired on by armed officers after they drove their car into a crowd in the seaside town at around 1am local time, injuring six civilians – two seriously – and a police officer.

The police force for Spain's Catalonia region said the five suspects shot and killed in the resort town were carrying suicide belts, which had been detonated by the force's bomb squad.

The belts were later confirmed to have been fake.

Footage shows shootout between terror suspect and Spanish police

At least 13 people were killed and more than 100 were injured in an attack around an hour away in Barcelona, in which victims in the path of the vehicle were seen "flying into the air".