In the embodiments described above, the concept of picture groups having a predetermined number of frames was used, but the present invention is not restricted to use with picture groups, and is just as applicable to coding formats such as MPEG-4 which does not have the concept of picture groups.