Maybe you could use something (from netpbm, maybe?) to analyze the luminosity of a single frame and use something of a feedback loop to fix it when it's out of whack.
_________________________
Bitt Faulk