Encoding moving picture by using by Wang Yen Ping