File generating method and file generating apparatus
A file generating method according to one aspect of the present disclosure is a file generating method for generating an MP4 file, the file generating method including: step S 11 of acquiring an original file made in a file format different from MP4; step S 12 of acquiring a difference file including data that is not included in the original file; step S 13 of acquiring a procedure file indicating a procedure for generating the MP4 file; and step S 14 of generating the MP4 file by combining the data included in the difference file and data included in the original file in accordance with the procedure indicated in the procedure file.
1. A file generating method for generating an MP4 file, the file generating method comprising:
acquiring an original file made in a file format different from MP4;
acquiring a difference file including data that is not included in the original file;
acquiring a procedure file indicating a procedure for generating the MP4 file; and
generating the MP4 file by combining the data included in the difference file with data included in the original file in accordance with the procedure indicated in the procedure file, wherein
the procedure file describes ranges of a plurality of respective sections included in the difference file, and ranges of a plurality of respective sections included in the original file, so that the ranges of the sections included in the difference file and the ranges of the sections included in the original file are arranged alternately, and
in the generation of the MP4 file, the MP4 file is generated through combination of the sections indicated by the respective ranges in order of the respective ranges described in the procedure file.
2. A file generating apparatus for generating an MP4 file, the file generating apparatus comprising: one or more memories; and circuitry that, in operation, performs operations including
acquiring an original file made in a file format different from MP4;
acquiring a difference file including data that is not included in the original file;
acquiring a procedure file indicating a procedure for generating the MP4 file; and
generating the MP4 file by combining the data included in the difference file with data included in the original file in accordance with the procedure indicated in the procedure file, wherein
the procedure file describes ranges of a plurality of respective sections included in the difference file, and ranges of a plurality of respective sections included in the original file, so that the ranges of the sections included in the difference file and the ranges of the sections included in the original file are arranged alternately, and
in the generation of the MP4 file, the MP4 file is generated through combination of the sections indicated by the respective ranges in order of the respective ranges described in the procedure file.