It's not illegal to lie to cops (in most places), but it is illegal to lie to cops during a lawful investigation.

Lying to a cop isn't illegal if you aren't committing a crime but I'd have to say this oh I'm digitizing media not video taping is an absolutely pedantic argument that wouldn't hold up for 1 second in an actual court case