Patent ID: 8204919

Claim:
A file generation apparatus for generating a file of first data to be recorded on a recording medium, the file generation apparatus comprising: memory means for storing data; first generation means for generating second data to be arranged at the beginning of the file; second generation means for generating third data to be arranged at the end of the file; and third generation means for generating fourth data as stuffing data which allows the data amount of each of the first, second, and third data to be an integral multiple of a unit of reading or writing to the recording medium by adding the fourth data to the first data, the second data, and the third data, wherein the first data includes a body portion of the file, the second data includes a header portion of the file, and the third data includes a footer portion of the file, wherein the first data is converted from a standard AV multiplexing file that has frame-based video and audio data, the first data being either video data or audio data organized according to an edit unit, and when the first data is video data, the first data corresponding to each edit unit matches a boundary of a sector unit of the recording medium, wherein the second data and the third data have a format that is the same as the format of the standard AV multiplexing file, and wherein the stuffing data has a KLV structure.