Patent ID: 8630533

Claim:
An editing apparatus, comprising: encoding means configured to perform variable-length encoding of overwriting data to be used for insertion editing on base data, wherein the base data is segmented into a plurality of pictures, each including variable-length encoded real data and having a data amount equal to an integral multiple of a predetermined unit, which results from multiplying the predetermined unit by an arbitrary integer greater than or equal to 1; stuffing data addition means configured to sequentially obtain each picture included in the overwriting data having been variable-length encoded as a target picture, wherein if a data amount of the overwriting data included in each picture is not equal to the integral multiple of a predetermined unit, the stuffing data addition means creates insertion data included in each picture by adding stuffing data to the overwriting data included in each picture so that the data amount of the overwriting data included in each picture can be equal to the integral multiple of a predetermined unit, and if the data amount of the overwriting data included in each picture is equal to the integral multiple of a predetermined unit, the stuffing data addition means handles the overwriting data included in each picture, which remains as it is, as insertion data included in each picture; filler addition means configured to add a filler having a data amount the same as a data amount of a filler included in the base data to the insertion data having a total data amount the same as a data amount of the real data; and insertion means configured to insert insertion data, to which the filler is added, onto the base data, wherein the filler addition means reads out a predetermined range of the base data, removes the filler data from the predetermined range of the base data, recognizes the amount of filler data included in the predetermined range of the base data, adds said filler to a portion of the base data for the insertion data included in a last picture and supplies the resultant base data to a buffer memory.