@Cctvrole Did you test your speaker with open input, the plug not connected, or already connected to your nvr?
What if you short the input , so directly connect the yellow and white wire together, is the hum then less or gone? If not, then the power supply used, is not clean enough on the...