1. A method for encoding a frame in a sequence of frames, comprising: measuring statistics of the frame; calculating a dark-scene score for the frame based on the measured statistics; comparing the dark-scene score to a threshold; based on the comparison, altering filtering parameters from for the frame from a default level to reduce an amount of noise filtered from the frame; filtering the frame based on the altered filtering parameters; and encoding the filtered frame.