Police charged the crowd, beating protesters back with batons, Ahmad said. The demonstrators then attacked the office of a senior government official and surrounded a local police station, said Ahmad, who was had locked himself inside with several other officers.
One protester died when police and demonstrators exchanged fire and several others were wounded, police official Akhtar Hayat said.
The violence came a day after hundreds of protesters clashed with police when they tried to storm the U.S. Consulate in the southern city of Karachi. One protester was killed and over a dozen were wounded.
Pakistanis have also held many peaceful protests against the film, including one in the southwest town of Chaman on Mondayattended by around 3,000 students and teachers.
In neighboring Afghanistan, hundreds of people burned cars and threw rocks at a U.S. military base in the capital, Kabul. Many in the crowd shouted "Death to America!" and "Death to those people who have made a film and insulted our prophet."
Police officers shot into the air to hold back about crowd of about 800 protesters and to prevent them from pushing toward government buildings downtown, said Azizullah, a police officer at the site who, like many Afghans, only goes by one name.
More than 20 police officers were slightly injured, most of them hit by rocks, said Gen. Fahim Qaim, the commander of a city quick-reaction police force.
Later in the day, protests broke out in other areas of Kabul, including the main thoroughfare into the city, where demonstrators burned shipping containers and tires. The crowd torched at least one police vehicle before finally dispersing, according Daoud Amin, the deputy police chief for Kabul province.
At a separate protest in front of a mosque in southwest Kabul, several dozen people shouted anti-U.S. slogans and called for President Barack Obama to bring those who have insulted the prophet to justice.