A New York City police officer who arrested a man as he tried to film him and other officers with a cellphone camera was charged on Tuesday with official misconduct and lying on a criminal complaint.

The charges brought against the officer, Jonathan Munoz, highlight a trend. Conflicts between citizens and the police have become common in recent years, sometimes ending in arrests for disorderly conduct, as cameras have proliferated and passers-by have begun to videotape the police at work.

Officer Munoz, 32, of Suffern, N.Y., pleaded not guilty as he was formally charged before Justice Marcy L. Kahn in State Supreme Court in Manhattan. His lawyer, Stephen C. Worth, said the officer was justified in making the arrest and should never have been indicted. “We look forward to his exoneration,” he said.

The charges stem from an encounter on March 12 outside La Casa Del Mofongo, a nightspot in Washington Heights, where Officer Munoz arrested Jason Disisto, 21, on charges of disorderly conduct, resisting arrest and interfering with a police investigation. The officer later said that Mr. Disisto had crouched in a fighting stance, lunged at him and swung a fist before he was arrested.