Patent ID: 8406292

Claim:
A moving picture editing apparatus comprising: a picture extracting unit that extracts pictures of a predetermined range including a picture subsequent to a coupling point from encoded data to be coupled; an adjustment-information generating unit that generates adjustment information for adjusting values of a counter that counts up referenced pictures to be continuous from/to inside to/from outside the predetermined range after decoding, from among information included in headers of the pictures of the predetermined range extracted by the picture extracting unit; and a re-encoding unit that adds the adjustment information generated by the adjustment-information generating unit to the headers of the pictures of the predetermined range extracted by the picture extracting unit, and re-encodes the pictures of the predetermined range, wherein the encoded data to be coupled is of an encoding type 0 of picture order count (POC) indicating a display order, the picture extracting unit identifies a first picture subsequent to the coupling point having a least significant bit (LSB) of POC of 0 included in a header thereof, identifies a second picture subsequent to the identified first picture, having a value of the counter included in a header thereof equal to or less than a number of pictures from the specified first picture, and extracts pictures UP to a picture following the identified second picture as the pictures of the predetermined range, and the adjustment-information generating unit generates information indicating mmco=5 or information for changing a picture type to an IDR picture as the adjustment information for the identified first picture, and generates information for adjusting a number of referenced pictures to be continuous with a value of the counter of a picture that has not been extracted by the picture extracting unit as the adjustment information, for a picture subsequent to the identified first picture.