[PROBLEMS] To provide a moving picture re-encoding device for temporarily decoding an encoded moving picture and then re-encoding the image, wherein it is possible to reduce a delay time and a memory and predict an appropriate code amount. [MEANS FOR SOLVING PROBLEMS] An encoded information analysis unit (102) includes a GOP structure prediction unit (200). From a picture type obtained when an input bit stream is decoded by a decoding unit (101), the GOP structure prediction unit (200) counts the number of P pictures in 8 GOPS, for example, and calculates an average value of the number of P pictures and the B pictures from 6 GOPs excluding the GOP having the maximum and the minimum value, which is predicted by the GOP structure. An encoding unit (103) references the predicted GOP structure and performs re-encoding.
展开▼