1. A method of video rate control for a video encoding system for encoding a video signal comprising: a) determining a variance of pixel values over a time t of the video signal; and b) calculating a quantisation parameter for the time t using the pixel variance and a number of output bits over the time t and a quantisation parameter used for, and pixel variance and a number of output bits over, an immediately preceding time t−1.