The invention discloses a spatial enhancement layer
code rate control realization method for scalable video coding. The method comprises the following steps of: adaptively setting initial quantization parameter (QP) values of I, P and B frames of a first code; calculating the coding complexity and a mean
absolute difference (MAD) value of each frame according to an actual coded bit number; after the coding of a
group of pictures (GOP) is finished, calculating the weight of the
image frame on temporal and spatial levels according to the actual coded bit number of the whole GOP, the coding complexity of each frame, and the temporal and spatial levels of each frame; and for a
key frame, calculating quantization parameters and performing coding by utilizing an allocated bit number and a secondary rate-
distortion (R-D) model, and for a non-
key frame, determining the QP of the non-
key frame by utilizing the QPs of the two key frames closest to the non-key frame and a
time domain to which the two key frames closest to the non-key frame belong. By the spatial enhancement layer
code rate control realization method for the scalable video coding, spatial enhancement layer
code rate control for the scalable video coding can be realized, and the shortcoming of only basic layer code
rate control of the scalable video coding is overcome.