The invention relates to a video coding
mode selection method and
system based on SSIM evaluation. The method includes the following steps: a step 101) establishing a
rate distortion optimization model for each
macro block to be coded to acquire lagrange cost values of various coding
modes; a step 102) determining a lagrange factor of the frame level of a frame to which the current
macro block to be coded belongs according to
distortion values of the front two frames of the
frame based on SSE evaluation and an average value of ratios between the
distortion values based on SSIM evaluation, and then performing further
zoom on the obtained lagrange factor of the frame level by utilizing the importance measurement of the
macro block to be coded to acquire the lagrange factor of the macro
block level of the macro block to be coded; and a step 103) calculating the lagrange cost values of the current coded macro block of various coding
modes according to the acquired the lagrange factor of the current macro block to be coded, and finally selecting the coding mode having the minimum lagrange cost value as the coding mode of the current coded macro block for coding.