It's legal to film the police in public. And a person cannot be detained unless there is a reasonable suspicion to "suggest that something of an apparently criminal nature is afoot". (It's a bizarre standard but it is not met in this case.) Finally, unless you are being legally detained, you don't have to identify yourself to the police officer.