More than likely, your web cam is refocusing and adjusting the automatic lighting. The best way to resolve this problem is to record in a well-lit room.