Patent ID: 8311104

Claim:
An information processing apparatus controlling processing for performing editing by splicing first compressed image data and second compressed image data at an editing point, the apparatus comprising: acquiring means for acquiring the amount of code of a portion of the first compressed image data in the vicinity of a start point of a first range around the editing point and the amount of code of a portion of the second compressed image data in the vicinity of an end point of the first range around the editing point; analyzing means for analyzing a first locus of virtual buffer occupancies when a case in which the virtual buffer occupancy at the start point is minimum when the portion of the first compressed image data in the vicinity of the start point is decoded and re-encoded is assumed and for analyzing a second locus of virtual buffer occupancies when a case in which the virtual buffer occupancy of a picture next to the end point is maximum when the portion of the second compressed image data in the vicinity of the end point is decoded and re-encoded is assumed, in accordance with the amounts of code acquired by the acquiring means; and determining means for determining, in accordance with the first locus and the second locus analyzed by the analyzing means, an upper limit of the virtual buffer occupancy at the start point and a lower limit of the virtual buffer occupancy at the end point when the first range is re-encoded, wherein the length of the first range is predetermined according to an encoding method, and the first locus and the second locus are associated with image data that are outside the first range.