A optimization algorithm is put forward based on the brightness and frequency domain characteristics of macro block, including the algorithm of model segmentation and the prediction algorithm of starting motion vectors(MV). The basic idea of the mode segmentation is that to the unit of 16×16 block, discrete wavelet transform to frames, the after low frequency coefficients as the research object, define the coefficients sum Σ. If Σis greater or equal to threshold, the corresponding areas will be divided into texture areas, or smooth areas. The current block is compared with th...