JP2014127806A - Information processing apparatus - Google Patents

Information processing apparatus Download PDF

Info

Publication number
JP2014127806A
JP2014127806A JP2012282427A JP2012282427A JP2014127806A JP 2014127806 A JP2014127806 A JP 2014127806A JP 2012282427 A JP2012282427 A JP 2012282427A JP 2012282427 A JP2012282427 A JP 2012282427A JP 2014127806 A JP2014127806 A JP 2014127806A
Authority
JP
Japan
Prior art keywords
replacement
data
range
type
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012282427A
Other languages
Japanese (ja)
Other versions
JP6075060B2 (en
Inventor
Ryoji Matsui
亮治 松井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2012282427A priority Critical patent/JP6075060B2/en
Publication of JP2014127806A publication Critical patent/JP2014127806A/en
Application granted granted Critical
Publication of JP6075060B2 publication Critical patent/JP6075060B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve a problem that it takes time to perform replacement processing of MXF files.SOLUTION: An information processing apparatus comprises: input acceptance means for accepting input of a replacement source and replacement destination files configured by including a plurality of data items of predetermined units represented by a structure making real data corresponding to a kind of the real data, and replacement information including a replacement source range which is a replacement object range of the replacement source file and a replacement destination range which is a replacement object range of the replacement destination file; analysis means for acquiring kinds of real data included in data stored within the replacement source range and the replacement destination range on the basis of input-accepted replacement information, respectively; and replacement means for replacing data stored within the replacement destination range with data stored within the replacement source range in the case where the acquired kind of real data included in the data stored within the replacement source range is coincident with a kind of real data included in data stored within the replacement destination range.

Description

本発明は、情報処理装置にかかり、特に、ファイル内に格納されたデータの編集を行う情報処理装置に関する。   The present invention relates to an information processing apparatus, and more particularly to an information processing apparatus that edits data stored in a file.

映像データと音声データといったファイルに、メタデータ等を格納するMXF(Material Exchange Format)ファイルを用いた技術が知られている(例えば特許文献1参照)。例えば、MXFファイルは、図1に示すように、ヘッダ(Header Partition)とボディ(Body Partition)とフッタ(Footer Partition)とから構成され、ヘッダにメタデータ等を格納し、ボディに映像データと音声データ等の実データを格納する。   A technique using an MXF (Material Exchange Format) file that stores metadata or the like in files such as video data and audio data is known (see, for example, Patent Document 1). For example, as shown in FIG. 1, an MXF file is composed of a header (Header Partition), a body (Body Partition), and a footer (Footer Partition), and metadata is stored in the header, and video data and audio are stored in the body. Stores actual data such as data.

また、MXFファイルに格納される上述した各データは、KLV(Key-Length-Value)構造により表わされる。具体的には、KLV構造は、実データ(Value)と、当該実データのデータ長(Length)と、当該実データの種類を識別する識別情報(例えば識別タグ)(Key)と、により表わされる。   Each of the above-mentioned data stored in the MXF file is represented by a KLV (Key-Length-Value) structure. Specifically, the KLV structure is represented by actual data (Value), data length (Length) of the actual data, and identification information (for example, identification tag) (Key) that identifies the type of the actual data. .

特開2012−84972JP2012-84972

ここで、上記したMXFファイルの技術では、ファイル上でのデータ保持の方法、つまりデータ構造を規定する複数種類のオペレーショナルパターンが存在する。例えば、「OP1a」のオペレーションパターンを有するMXFファイルは、映像データと音声データとを分割して交互に配置した構成を有している。このような構成を有するOP1aのMXFファイルでは、例えばMXFファイル内に格納された映像データだけを、他のMXFファイル内の映像データに差替えることが困難であった。   Here, in the above-described MXF file technology, there are a plurality of types of operational patterns that define the data holding method on the file, that is, the data structure. For example, an MXF file having an operation pattern of “OP1a” has a configuration in which video data and audio data are divided and arranged alternately. In the MX1 file of OP1a having such a configuration, for example, it is difficult to replace only video data stored in an MXF file with video data in another MXF file.

このため、例えばOP1aのMXFファイル内に格納された映像データを、他のMXFファイル内の映像データに差替える場合、編集装置等に映像データを取込み、データの差替えを行っていた。具体的には、編集装置は、差替え元と差替え先のMXFファイルをインポートして映像データに変換し、変換した映像データに基づく差替え処理を行い、差替え処理を行った映像データに基づいて新たにMXFファイルを生成(エクスポート)していた。   For this reason, for example, when video data stored in an MX1 file of OP1a is replaced with video data in another MXF file, the video data is taken into an editing device or the like and the data is replaced. Specifically, the editing device imports the replacement source and replacement destination MXF files, converts them into video data, performs replacement processing based on the converted video data, and newly adds the replacement based on the replaced video data. MXF file was generated (exported).

しかしながら、上記したMXFファイル内のデータの差替え処理では、MXFファイルのインポートとエクスポートとを行う必要があり、差替え処理に時間がかかるという問題があった。   However, in the above-described data replacement process in the MXF file, it is necessary to import and export the MXF file, and there is a problem that the replacement process takes time.

このため、本発明の目的は、MXFファイルの差し替え処理に時間がかかるという問題を解決することができる情報処理装置を提供させることにある。   Therefore, an object of the present invention is to provide an information processing apparatus that can solve the problem that it takes time to replace an MXF file.

上記目的を達成するため本発明の一態様における情報処理装置は、
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付手段と、
前記入力受付手段にて入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得する解析手段と、
前記解析手段にて取得された前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える差替え手段と、
を備えるという構成を取る。
In order to achieve the above object, an information processing apparatus according to one embodiment of the present invention provides:
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file;
Analysis means for acquiring the types of the actual data included in the data stored in the replacement source range and the replacement destination range, based on the replacement information received by the input receiving means; ,
The type of the actual data included in the data stored in the replacement source range acquired by the analyzing unit matches the type of the actual data included in the data stored in the replacement destination range. A replacement means for replacing the data stored in the replacement destination range with the data stored in the replacement source range;
It takes the composition of having.

また、本発明の他の形態である情報処理方法は、
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付け、
入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得し、
取得した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える、
という構成を取る。
In addition, an information processing method according to another aspect of the present invention includes:
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file,
Based on the replacement information that has received the input, each of the types of the actual data included in the data stored in the replacement source range and the replacement destination range, respectively,
The replacement is performed when the type of the actual data included in the data stored in the acquired replacement source range matches the type of the actual data included in the data stored in the replacement destination range. Replacing the data stored in the destination range with the data stored in the replacement source range;
Take the configuration.

また、本発明の他の形態であるプログラムは、
情報処理装置に、
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付手段と、
前記入力受付手段にて入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得する解析手段と、
前記解析手段にて取得された前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える差替え手段と、
を実現させるためのプログラムである。
Moreover, the program which is the other form of this invention is:
In the information processing device,
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file;
Analysis means for acquiring the types of the actual data included in the data stored in the replacement source range and the replacement destination range, based on the replacement information received by the input receiving means; ,
The type of the actual data included in the data stored in the replacement source range acquired by the analyzing unit matches the type of the actual data included in the data stored in the replacement destination range. A replacement means for replacing the data stored in the replacement destination range with the data stored in the replacement source range;
It is a program for realizing.

本発明によれば、MXFファイルの差し替え処理を迅速に行うことができる。   According to the present invention, MXF file replacement processing can be performed quickly.

MXFファイルの構造を説明するための図である。It is a figure for demonstrating the structure of an MXF file. Header Metadataの構造を説明するための図である。It is a figure for demonstrating the structure of Header Metadata. KLV構造を説明するための図である。It is a figure for demonstrating a KLV structure. 本発明の第1実施形態における情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus in 1st Embodiment of this invention. 差替え元ファイルと差替え先ファイルの一例を示す図である。It is a figure which shows an example of a replacement source file and a replacement destination file. 差替え元ファイルと差替え先ファイルの一例を示す図である。It is a figure which shows an example of a replacement source file and a replacement destination file. 映像データの差替えを説明するための図である。It is a figure for demonstrating replacement of video data. 映像データの差替えを説明するための図である。It is a figure for demonstrating replacement of video data. 映像データと音声データの差替えを説明するための図である。It is a figure for demonstrating replacement of video data and audio data. 映像データと音声データの差替えを説明するための図である。It is a figure for demonstrating replacement of video data and audio data. 音声データの差替えを説明するための図である。It is a figure for demonstrating replacement | exchange of audio | voice data. 差替え処理を説明するためのフローチャートである。It is a flowchart for demonstrating replacement processing. 映像データ差替え処理を説明するためのフローチャートである。It is a flowchart for demonstrating video data replacement processing. 音声データ差替え処理を説明するためのフローチャートである。It is a flowchart for demonstrating an audio | voice data replacement process. 本発明の第2実施形態における情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus in 2nd Embodiment of this invention.

<第1実施形態>
まず、本発明の実施形態の理解を容易にするために、本発明に関連するMXFファイルのデータ構造について説明する。図1に示すように、MXFファイルは、Header Partiton(ヘッダ)とBody Partition(ボディ)とFooter Partition(フッタ)との3つのパーティションから構成される。ヘッダは、MXFファイルの最初のパーティションの開始符号であるHeader Partition Packと、MXFファイル内部で必要なメタデータを格納するHeader Metadataとを有している。さらにヘッダは、任意(Optional)にIndex TableとEssenceとを有する。ボディは、ボディのパーティションの開始符号であるBody Partition Packを有し、任意にHeader MetadataとIndex Tableと、MXFファイルに格納されるコンテンツ(映像データや音声データ等の実データ)を格納するEssenceとを有する。そして、フッタは、MXFファイルの最後のパーティションの開始符号であるFooter Partition Packを有し、任意にHeader MetadataとIndex TableとRandom Index Packとを有する。
<First Embodiment>
First, in order to facilitate understanding of the embodiment of the present invention, the data structure of the MXF file related to the present invention will be described. As shown in FIG. 1, the MXF file is composed of three partitions, a header part (header), a body partition (body), and a footer partition (footer). The header includes Header Partition Pack, which is the start code of the first partition of the MXF file, and Header Metadata that stores metadata required in the MXF file. Further, the header optionally has an Index Table and Essence. The body has Body Partition Pack, which is the start code of the partition of the body. Arbitrary header metadata and index table, and Essence to store contents (actual data such as video data and audio data) stored in MXF file Have The footer has a Footer Partition Pack that is the start code of the last partition of the MXF file, and optionally has Header Metadata, Index Table, and Random Index Pack.

Header Metadataは、図2に示すように、Primerと複数のMetadata(メタデータ)とを有する。メタデータは、例えば、構造メタデータと記述メタデータとを有する。構造メタデータは、MXFファイルの内部構造やEssence(エッセンス)に格納される映像(Video)データと音声(Audio)データのフォーマット等、技術的なデータを格納するためのメタデータである。この構造メタデータは、MXFファイルに一つだけ格納できる。また、記述メタデータは、コンテンツのタイトルやキーワードといったコンテンツの映像の内容等を示すメタデータである。   As shown in FIG. 2, Header Metadata includes Primer and a plurality of metadata (metadata). The metadata includes, for example, structure metadata and description metadata. The structural metadata is metadata for storing technical data such as the internal structure of the MXF file and the format of video (Video) data and audio (Audio) data stored in Essence. Only one structure metadata can be stored in the MXF file. The description metadata is metadata indicating the content of the content video such as the content title and keywords.

そして、図1に示すように、MXFファイルに格納される各データは、実データ(Value)と、当該実データのデータ長(Length)と、当該実データの種類を識別する識別情報(Key)と、を対応づけた構造により表わされるKLV構造を有する(以下、KLV構造を有するデータをKLVデータ(所定単位のデータ)と記載する)。つまり、MXFファイルは、複数のKLVデータを含んで構成される。図3は、KLVデータの例を示す図である。「Key」は、SMPTE(Society of Motion Picture and Television Engineers)377M等に準拠した16Byteのデータである。「Length」は、Valueに格納される実データのデータ長を示す4Byteのデータである。そして、「Value」は、映像データ、音声データ、映像データまたは音声データに関するメタデータ等の実データである。MXFファイルでは、Keyを検出し、KeyとValueの種類との対応関係を記載したテーブル等を参照することで、Valueに含まれる実データの種類を特定することができる。   As shown in FIG. 1, each data stored in the MXF file includes actual data (Value), a data length (Length) of the actual data, and identification information (Key) for identifying the type of the actual data. And a KLV structure represented by a structure in which these are associated with each other (hereinafter, data having the KLV structure is described as KLV data (data of a predetermined unit)). That is, the MXF file includes a plurality of KLV data. FIG. 3 is a diagram illustrating an example of KLV data. “Key” is 16-byte data conforming to SMPTE (Society of Motion Picture and Television Engineers) 377M. “Length” is 4-byte data indicating the data length of the actual data stored in Value. “Value” is actual data such as video data, audio data, video data, or metadata related to audio data. In the MXF file, the type of actual data included in Value can be specified by detecting Key and referring to a table or the like that describes the correspondence between Key and Value type.

次に、本発明の第1実施形態を、図4乃至図14を参照して説明する。図4乃至図11は、第1実施形態における情報処理装置の構成を説明するための図である。図12乃至図14は、情報処理装置の動作を説明するための図である。   Next, a first embodiment of the present invention will be described with reference to FIGS. 4 to 11 are diagrams for explaining the configuration of the information processing apparatus according to the first embodiment. 12 to 14 are diagrams for explaining the operation of the information processing apparatus.

[構成]
図4は、本発明の第1実施形態にかかる情報処理装置1の構成を示すブロック図である。図4に示すように、情報処理装置1は、演算部11と、メモリ12と、入力部13と、出力部14と、記憶部15と、を備えている。情報処理装置1は、差替え元になるMXFファイル(差替え元ファイル)に格納された映像データおよび/または音声データを、差替え先になるMXFファイル(差替え先ファイル)に格納された映像データおよび/または音声データにコピー(複製)して、映像データおよび/または音声データの差替え処理を行う。
[Constitution]
FIG. 4 is a block diagram showing the configuration of the information processing apparatus 1 according to the first embodiment of the present invention. As illustrated in FIG. 4, the information processing apparatus 1 includes a calculation unit 11, a memory 12, an input unit 13, an output unit 14, and a storage unit 15. The information processing apparatus 1 uses the video data and / or audio data stored in the replacement MXF file (replacement source file) and the video data and / or audio data stored in the replacement MXF file (replacement destination file). Copying (duplicating) the audio data and replacing the video data and / or audio data.

演算部11は、例えば、CPU(Central Processing Unit)により構成される。演算部11は、記憶部15に予め記憶されたプログラムを読み込み、当該プログラムを実行することにより、入力受付部21(入力受付手段)と、解析部22(解析手段)と、差替え部23(差替え手段)と、を有する。以下に、演算部11の各機能について説明する。   The calculation unit 11 is configured by, for example, a CPU (Central Processing Unit). The calculation unit 11 reads a program stored in advance in the storage unit 15 and executes the program to thereby obtain an input reception unit 21 (input reception unit), an analysis unit 22 (analysis unit), and a replacement unit 23 (replacement). Means). Below, each function of the calculating part 11 is demonstrated.

まず、入力受付部21は、入力部13を介して差替え元ファイルと差替え先ファイルとの入力を受け付ける。なお、入力受付部21は、記憶部15等の記憶装置から差替え元ファイルと差替え先ファイルとの入力を受け付けてもよいし、ネットワーク(図示せず)等を介して送信された差替え元ファイルと差替え先ファイルとの入力を受け付けてもよい。ここでは、図5に示すように、入力受付部21は、30フレーム(例えば1秒)の差替え元ファイル31と、300フレーム(例えば10秒)の差替え先ファイルと、の入力を受け付けたとする。また、差替え元ファイルと差替え先ファイルとの映像データのコーデックは「AVC-Intra 100Mbps」であり、音声データのコーデックは「8ch 16bits」であるとする。   First, the input receiving unit 21 receives input of a replacement source file and a replacement destination file via the input unit 13. The input receiving unit 21 may receive an input of a replacement source file and a replacement destination file from a storage device such as the storage unit 15 or a replacement source file transmitted via a network (not shown) or the like. An input with a replacement destination file may be accepted. Here, as illustrated in FIG. 5, it is assumed that the input receiving unit 21 receives input of a replacement source file 31 of 30 frames (for example, 1 second) and a replacement destination file of 300 frames (for example, 10 seconds). It is assumed that the video data codec of the replacement source file and the replacement destination file is “AVC-Intra 100 Mbps”, and the audio data codec is “8ch 16 bits”.

続いて、入力受付部21は、差替え情報の入力を受け付ける。差替え情報は、例えば、差替え元ファイルの差替え対象範囲(差替え元範囲)と、差替え先ファイルの差替え対象範囲(差替え先範囲)と、差替え対象のデータの種類(差替え対象種類情報)と、を含む情報である。差替え対象範囲は、例えば、差替え開始位置と差替えサイズとを示すタイムコード(時:分:秒:フレーム)により指定される。差替え対象のデータの種類は、例えば、映像データ、音声データ、映像データおよび音声データとの両方等である。なお、差替え対象のデータの種類に音声データが含まれる場合、入力受付部21は、差替え対象になる音声データのチャンネル番号(識別情報)の入力を受け付けることができる。ここでは、差替え元ファイル31の差替え対象範囲として、差替え元ファイルの先頭フレーム(0フレーム)から29フレームまでの領域を指定し、差替え先ファイル32の差替え対象範囲として、150フレームから179フレームまでの領域を指定したとする。また、差替え対象のデータの種類として映像データを取得したとする。   Subsequently, the input receiving unit 21 receives input of replacement information. The replacement information includes, for example, the replacement target range (replacement source range) of the replacement source file, the replacement target range (replacement destination range) of the replacement destination file, and the type of replacement target data (replacement target type information). Information. The replacement target range is specified by, for example, a time code (hour: minute: second: frame) indicating a replacement start position and a replacement size. The type of data to be replaced is, for example, video data, audio data, both video data and audio data, and the like. In addition, when audio data is included in the type of data to be replaced, the input receiving unit 21 can receive an input of a channel number (identification information) of audio data to be replaced. Here, the area from the first frame (0 frame) to 29 frames of the replacement source file is specified as the replacement target range of the replacement source file 31, and the replacement target range of the replacement destination file 32 is from 150 frames to 179 frames. Suppose you specify a region. Also, assume that video data is acquired as the type of data to be replaced.

次に、解析部22は、メタデータを取得する。例えば、解析部22は、MXFファイル規格SMPTE377Mに従い、差替え元ファイル31のHeader Partitionに格納されたメタデータと、差替え先ファイル32のHeader Partitionに格納されたメタデータと、を取得(抽出)する。続いて、解析部22は、入力を受け付けた差替え情報に含まれる差替え元ファイルの差替え対象範囲が、差替え元ファイル内および差替え先ファイル内に存在するか否かを判定する。また、解析部22は、例えば、差替え対象のデータの種類が映像データを含む場合、メタデータから差替え元ファイルと差替え先ファイルとの映像コーデック情報(例えばAVC-Intra)を取得し、取得した映像コーデック情報が一致するか否かを判定する。さらに、解析部22は、例えば、差替え対象のデータの種類が音声データを含む場合、解析部22は、差替え元ファイルと差替え先ファイルとの音声コーデック情報(例えば、PCM(Pulse Code Modulation)(非圧縮)形式)をメタデータとして取得し、取得した音声コーデック情報が一致するか否かを判定する。つまり、解析部22は、差替え元範囲内および差替え先範囲内に格納されたKLVデータに含まれる「Key」をそれぞれ取得し、「Key」が一致するか否かを判定する。これにより、解析部22は、差替え元ファイル31と差替え先ファイル32とが差替え可能であるか否かを判定する。   Next, the analysis unit 22 acquires metadata. For example, the analysis unit 22 acquires (extracts) the metadata stored in the Header Partition of the replacement source file 31 and the metadata stored in the Header Partition of the replacement destination file 32 in accordance with the MXF file standard SMPTE377M. Subsequently, the analysis unit 22 determines whether or not the replacement target range of the replacement source file included in the replacement information that has received the input exists in the replacement source file and the replacement destination file. For example, when the type of data to be replaced includes video data, the analysis unit 22 acquires video codec information (for example, AVC-Intra) of the replacement source file and the replacement destination file from the metadata, and acquires the acquired video It is determined whether the codec information matches. Further, for example, when the type of data to be replaced includes audio data, the analysis unit 22 analyzes audio codec information (for example, PCM (Pulse Code Modulation) (non-PCM)) of the replacement source file and the replacement destination file. Compression) format) is acquired as metadata, and it is determined whether the acquired audio codec information matches. That is, the analysis unit 22 acquires “Key” included in the KLV data stored in the replacement source range and the replacement destination range, respectively, and determines whether or not “Key” matches. Thereby, the analysis unit 22 determines whether the replacement source file 31 and the replacement destination file 32 can be replaced.

図5の例では、差替え元ファイル31の差替え対象範囲(0乃至29フレーム)と、差替え先ファイル32の差替え対象範囲(150乃至179フレーム)と、はそれぞれ存在する。また、差替え元ファイルと差替え先ファイルとの映像コーデックと音声コーデックとは共に同じであるとする。従って、解析部22は、差替え可能であると判定する。   In the example of FIG. 5, the replacement target range (0 to 29 frames) of the replacement source file 31 and the replacement target range (150 to 179 frames) of the replacement destination file 32 exist. Further, it is assumed that the video codec and audio codec of the replacement source file and the replacement destination file are the same. Therefore, the analysis unit 22 determines that replacement is possible.

差替え可能であると判定した場合(つまり「Key(実データの種類)」が一致する場合)、差替え部23は、差替え先範囲内に格納されたKLVデータを、差替え元範囲内に格納されたKLVデータに差替える差替え処理を行う。この差替え処理は、差替え対象に映像データを含む場合と、映像データを含まない場合と、で異なる処理を行う。これにより、差替え対象に応じて、最適な差替え処理を行うことができる。まず、差替え対象に映像データを含む場合の処理について説明する。   When it is determined that the replacement is possible (that is, when “Key (actual data type)” matches), the replacement unit 23 stores the KLV data stored in the replacement destination range in the replacement source range. Perform replacement processing to replace with KLV data. This replacement process is performed differently depending on whether the replacement target includes video data or not. Thereby, an optimal replacement process can be performed according to the replacement target. First, processing when video data is included in the replacement target will be described.

まず、解析部22は、入力受付部21にて入力を受け付けた差替え情報に含まれる差替え元ファイル31の差替え対象範囲(差替え元範囲)と、差替え元ファイル31に含まれるIndexTable(図1)と、を参照して、差替え元ファイル31の差替え開始位置を特定する。差替え対象に映像データを含む場合、情報処理装置1は、少なくとも前記映像データを含む予め設定された差替え処理単位の差替え元範囲内のデータを、差替え処理用の差替え作業領域(メモリ12の所定の領域)に一度にまとめて読出して、差替え処理を行う。そして、解析部22は、上記した作業領域に読み出された差替え元ファイルの映像データの開始位置を差替え元ファイルの差替え開始位置(SP)として特定する。ここでは、差替え開始位置SPは、図6Aの映像データ51a「V0」の格納位置を示す。   First, the analysis unit 22 includes a replacement target range (replacement source range) of the replacement source file 31 included in the replacement information received by the input reception unit 21 and an IndexTable (FIG. 1) included in the replacement source file 31. , The replacement start position of the replacement source file 31 is specified. When the replacement target includes video data, the information processing apparatus 1 replaces at least the data in the replacement source range of the replacement processing unit including the video data set in advance with a replacement work area (predetermined memory 12). Area) at a time and read the data at once. Then, the analysis unit 22 specifies the start position of the video data of the replacement source file read into the work area as the replacement start position (SP) of the replacement source file. Here, the replacement start position SP indicates the storage position of the video data 51a “V0” in FIG. 6A.

続いて、解析部22は、予め設定された差替え処理単位(例えば5MB)のデータをメモリ12の差替え作業領域に読み出す。例えば、解析部22は、図6Aに示すように、映像データ51aから音声データ52iまでを、予め設定された差替え処理単位のデータとしてメモリ12の差替え作業領域に読み出す。また、この時、解析部22は、差替え開始位置SPを読み出したデータ分(例えば5MB)移動させる(例えば図6AのSP’)。つまり、移動後の差替え開始位置SP’は、音声データ52i「A11」の次に格納された音声データ52j「A12」(差替え作業領域に読み出されたデータの次のデータ)の格納位置を示す。そして、解析部22は、メモリ12に格納された未解析の差替え元ファイル31の先頭を解析開始メモリ位置(SMP)とし、映像データ51a(図7Aの「V0」)のKLVデータを取得(抽出)する。また、この時、解析部22は、解析開始メモリ位置SMPを抽出したKLVデータ分だけ移動させる。つまり、図7Aに示すように、移動後の解析開始メモリ位置SMP’は、音声データ52a「A1」の格納位置を示す。このように、解析部22は、差替え対象のデータの種類(差替え対象種類情報)に応じて予め設定された差替え処理単位ごとに差替え元範囲内に格納されたKLVデータを差替え作業領域に抽出する。   Subsequently, the analysis unit 22 reads data of a preset replacement processing unit (for example, 5 MB) into the replacement work area of the memory 12. For example, as shown in FIG. 6A, the analysis unit 22 reads video data 51a to audio data 52i into the replacement work area of the memory 12 as preset replacement processing unit data. At this time, the analysis unit 22 moves the replacement start position SP by the read data (for example, 5 MB) (for example, SP ′ in FIG. 6A). That is, the replacement start position SP ′ after movement indicates the storage position of the audio data 52j “A12” (the data next to the data read into the replacement work area) stored next to the audio data 52i “A11”. . Then, the analysis unit 22 obtains (extracts) KLV data of the video data 51a (“V0” in FIG. 7A) using the start of the unanalyzed replacement source file 31 stored in the memory 12 as the analysis start memory position (SMP). ) At this time, the analysis unit 22 moves the analysis start memory position SMP by the extracted KLV data. That is, as shown in FIG. 7A, the analysis start memory position SMP ′ after movement indicates the storage position of the audio data 52a “A1”. In this way, the analysis unit 22 extracts the KLV data stored in the replacement source range for each replacement processing unit set in advance according to the type of replacement target data (replacement target type information) to the replacement work area. .

続いて、解析部22は、差替え作業領域から抽出した差替え元ファイル31のKLVデータの種類が差替え対象であるか否かを判定する。具体的には、解析部22は、抽出したKLVデータに含まれるデータの種類Keyが、差替え対象を示しているかを判定する。ここでは、差替え対象が「映像データ」であり、KLVデータとして映像データ51aを抽出しているので、KLVデータの種類が差替え対象であると判定する。   Subsequently, the analysis unit 22 determines whether the type of KLV data of the replacement source file 31 extracted from the replacement work area is a replacement target. Specifically, the analysis unit 22 determines whether the data type Key included in the extracted KLV data indicates a replacement target. Here, since the replacement target is “video data” and the video data 51a is extracted as KLV data, it is determined that the type of KLV data is the replacement target.

次に、解析部22は、入力受付部21にて入力を受け付けた差替え情報に含まれる差替え先ファイル32の差替え対象範囲と、差替え先ファイル32に含まれるIndex Tableと、を参照して、差替え先ファイル32の差替え開始位置を特定する。ここでは、図6Bに示すように、解析部22は、差替え先ファイル32の映像データ61a「V’0」の開始位置を差替え先ファイルの差替え開始位置DPとして特定する。   Next, the analysis unit 22 refers to the replacement target range of the replacement destination file 32 included in the replacement information received by the input reception unit 21 and the index table included in the replacement destination file 32, and performs replacement. The replacement start position of the destination file 32 is specified. Here, as shown in FIG. 6B, the analysis unit 22 specifies the start position of the video data 61a “V′0” of the replacement destination file 32 as the replacement start position DP of the replacement destination file.

次に、解析部22は、予め設定された差替え処理単位のデータをメモリ12の差替え作業領域に読み出す。例えば、解析部22は、図6Bに示すように、映像データ61aから音声データ62gまでを、差替え対象範囲としてメモリ12の差替え作業領域に読み出す(例えば図7A)。また、この時、解析部22は、差替え開始位置DPを読み出したデータ分移動させる。つまり、図6Bに示すように、移動後の差替え開始位置DP’は、音声データ62g「A’7」の次に格納された音声データ62h「A’8」の格納位置を示す。そして、解析部22は、メモリ12の差替え作業領域に格納された未解析の差替え先ファイル32の先頭を解析開始メモリ位置(DMP)とし、映像データ61a(図7Aの「V’0」)のKLVデータを取得(抽出)する。また、この時、解析部22は、解析開始メモリ位置DMPを抽出したKLVデータ分だけ移動させる。つまり、図7Aに示すように、移動後の解析開始メモリ位置DMP’は、音声データ62a「A’1」の格納位置を示す。このように、解析部22は、差替え対象のデータの種類に応じて予め設定された差替え処理単位ごとに差替え先範囲内に格納されたKLVデータを差替え作業領域に抽出する。   Next, the analysis unit 22 reads preset replacement processing unit data into the replacement work area of the memory 12. For example, as shown in FIG. 6B, the analysis unit 22 reads video data 61a to audio data 62g to the replacement work area of the memory 12 as a replacement target range (for example, FIG. 7A). At this time, the analysis unit 22 moves the replacement start position DP by the read data. That is, as shown in FIG. 6B, the replacement start position DP ′ after movement indicates the storage position of the audio data 62h “A′8” stored next to the audio data 62g “A′7”. Then, the analysis unit 22 sets the head of the unanalyzed replacement destination file 32 stored in the replacement work area of the memory 12 as the analysis start memory position (DMP), and stores the video data 61a (“V′0” in FIG. 7A). Acquire (extract) KLV data. At this time, the analysis unit 22 moves the analysis start memory position DMP by the extracted KLV data. That is, as shown in FIG. 7A, the analysis start memory position DMP ′ after movement indicates the storage position of the audio data 62a “A′1”. As described above, the analysis unit 22 extracts the KLV data stored in the replacement destination range for each replacement processing unit set in advance according to the type of data to be replaced into the replacement work area.

続いて、解析部22は、差替え作業領域から抽出した差替え先ファイル32のKLVデータの種類(Key)が、差替え作業領域から抽出した差替え元ファイル31のKLVデータの種類と同じか否かを判定する。ここでは、差替え元ファイル31のKLVデータとして映像データ51aを抽出し、差替え先ファイル32のKLVデータとして映像データ61aを抽出するので、解析部22は、KLVデータの種類が同じであると判定する。   Subsequently, the analysis unit 22 determines whether or not the KLV data type (Key) of the replacement destination file 32 extracted from the replacement work area is the same as the KLV data type of the replacement source file 31 extracted from the replacement work area. To do. Here, since the video data 51a is extracted as the KLV data of the replacement source file 31, and the video data 61a is extracted as the KLV data of the replacement destination file 32, the analysis unit 22 determines that the types of the KLV data are the same. .

そして、差替え部23は、メモリ12の差替え作業領域から抽出した差替え先ファイル32の映像データ61a「V’0」(特定した差替え先範囲内に格納されたデータ)を、差替え作業領域から抽出した差替え元ファイル31の映像データ51a「V0」(特定した差替え元範囲内に格納されたデータ)に差替える(例えば図7B参照)。つまり、差替え部23は、差替え作業領域から抽出した差替え元ファイル31のKLVデータ(例えば映像データ51a「V0」)を、差替え作業領域から抽出した差替え先ファイル32のKLVデータ(例えば映像データ61a「V’0」)にコピーする。   Then, the replacement unit 23 extracts the video data 61a “V′0” (data stored in the specified replacement destination range) of the replacement destination file 32 extracted from the replacement work area of the memory 12 from the replacement work area. The video data 51a “V0” (data stored in the specified replacement source range) of the replacement source file 31 is replaced (see, for example, FIG. 7B). That is, the replacement unit 23 uses the KLV data (for example, video data 51a “V0”) of the replacement source file 31 extracted from the replacement work area and the KLV data (for example, video data 61a “of the replacement destination file 32 extracted from the replacement work area). V'0 ").

以上の処理を繰り返し行い、情報処理装置1は、差替え先ファイル32内のデータを、差替え元ファイル31内のデータに差替える。例えば、解析部22は、解析開始メモリ位置SMP(例えば図7AのSMP’)により示される次の差替え元ファイル31のKLVデータとして、音声データ52a「A1」を抽出する。ここでは、差替え対象は映像データであるので、音声データ52a「A1」を抽出した場合、解析部22は、差替え対象でないと判定する。差替え対象でないと判定した場合、解析部22は、次のKLVデータ(例えば音声データ52b「A2」)を抽出し、同様に、差替え対象であるか否かを判定する。この処理を繰り返すと、映像データ51b「V1」を抽出した場合に、解析部22は、差替え対象であると判定する。   By repeatedly performing the above processing, the information processing apparatus 1 replaces the data in the replacement destination file 32 with the data in the replacement source file 31. For example, the analysis unit 22 extracts the audio data 52a “A1” as the KLV data of the next replacement source file 31 indicated by the analysis start memory location SMP (for example, SMP ′ in FIG. 7A). Here, since the replacement target is video data, when the audio data 52a “A1” is extracted, the analysis unit 22 determines that it is not the replacement target. When it is determined that it is not the replacement target, the analysis unit 22 extracts the next KLV data (for example, the voice data 52b “A2”), and similarly determines whether it is the replacement target. When this process is repeated, when the video data 51b “V1” is extracted, the analysis unit 22 determines that the video data 51b “V1” is a replacement target.

次に、解析部22は、解析開始メモリ位置DMP’により示される次の差替え先ファイル32のKLVデータとして、音声データ62a「A’1」を抽出する。ここでは、差替え元ファイル31のKLVデータの種類が映像データであるので、音声データ62a「A’1」を抽出した場合、解析部22は、差替え対象でないと判定する。差替え対象でないと判定した場合、解析部22は、次のKLVデータ(例えば音声データ62b「A’2」)を抽出し、同様に、差替え対象であるか否かを判定する。この処理を繰り返すと、図7の例では、解析部22は、音声データ62g「A’7」までを抽出する。しかし、音声データ62a「A’1」乃至62g「A’7」は、映像データではないので、解析部22は、差替え対象でないと判定する。   Next, the analysis unit 22 extracts the audio data 62a “A′1” as the KLV data of the next replacement destination file 32 indicated by the analysis start memory position DMP ′. Here, since the type of KLV data in the replacement source file 31 is video data, when the audio data 62a “A′1” is extracted, the analysis unit 22 determines that it is not a replacement target. If it is determined that it is not a replacement target, the analysis unit 22 extracts the next KLV data (for example, audio data 62b “A′2”), and similarly determines whether it is a replacement target. When this process is repeated, in the example of FIG. 7, the analysis unit 22 extracts up to the voice data 62g “A′7”. However, since the audio data 62a “A′1” to 62g “A′7” are not video data, the analysis unit 22 determines that they are not replacement targets.

このように、差替え作業領域に読み出したデータを全て解析した場合、解析部22は、差替え先ファイルの差替え開始位置DPを参照し、再度予め設定された差替え処理単位のデータを差替え作業領域に読み出す。ここでは、解析部22は、差替え開始位置DP’が音声データ62hの格納位置を示すので、例えば音声データ62h「A’8」から音声データ62n「A’16」までのデータを、予め設定された差替え処理単位のデータとしてメモリ12の差替え作業領域に読み出す。また、この時、解析部22は、差替え開始位置DPを音声データ62o「A’17」の格納位置に移動する。   As described above, when all the data read in the replacement work area is analyzed, the analysis unit 22 refers to the replacement start position DP of the replacement destination file and reads the data of the replacement processing unit set in advance again in the replacement work area. . Here, since the replacement start position DP ′ indicates the storage position of the audio data 62h, the analysis unit 22 sets, for example, data from the audio data 62h “A′8” to the audio data 62n “A′16” in advance. The data is read into the replacement work area of the memory 12 as replacement unit data. At this time, the analysis unit 22 moves the replacement start position DP to the storage position of the audio data 62o “A′17”.

そして、解析部22は、差替え作業領域の未解析の差替え先ファイル32の先頭を解析開始メモリ位置DMPとし、解析開始メモリ位置DMPに格納されたデータの抽出を行う。例えば、解析部22は、音声データ62h「A’8」の抽出を行う(例えば図8A参照)。そして、解析部22は、上述した処理と同様に、音声データ62h「A’8」が、映像データであるか否かを判定する。音声データ62h「A’8」は映像データではないので、解析部22は、次のKLVデータとして、映像データ61b「V’1」を抽出する。映像データ61b「V’1」は映像データであるので、解析部22は、差替え対象であると判定する。   Then, the analysis unit 22 extracts the data stored in the analysis start memory position DMP, using the start of the unanalyzed replacement destination file 32 in the replacement work area as the analysis start memory position DMP. For example, the analysis unit 22 extracts the audio data 62h “A′8” (see, for example, FIG. 8A). Then, the analysis unit 22 determines whether or not the audio data 62h “A′8” is video data, similarly to the above-described processing. Since the audio data 62h “A′8” is not video data, the analysis unit 22 extracts video data 61b “V′1” as the next KLV data. Since the video data 61b “V′1” is video data, the analysis unit 22 determines that it is a replacement target.

そして、差替え部23は、メモリ12の差替え作業領域から抽出した差替え先ファイル32の映像データ61b「V’1」を、差替え作業領域から抽出した差替え元ファイル31の映像データ51b「V1」に差替える(例えば図8B参照)。以上の処理を繰り返すことで、例えばMXFファイルに格納された映像データだけを迅速かつ確実に差替えることができる。   Then, the replacement unit 23 replaces the video data 61b “V′1” of the replacement destination file 32 extracted from the replacement work area of the memory 12 with the video data 51b “V1” of the replacement source file 31 extracted from the replacement work area. Change (see, for example, FIG. 8B). By repeating the above processing, for example, only video data stored in an MXF file can be replaced quickly and reliably.

また、差替え部23は、予め設定された容量(例えば1フレーム)のデータを差替えたか否かを判定する。図8Bの例では、150フレームと151フレームの映像データと(つまり1フレーム以上のデータ)が差替えられているので、差替え部23は、予め設定された容量(例えば1フレーム)のデータを差替えたと判定する。この場合、差替え部23は、書き出し開始位置WPにより示される領域のデータから順番に、記憶部15へ記憶する。ここでは、差替え作業領域に読み出された差替え先ファイル32の先頭を書き出し開始位置WPとし、先頭に格納された映像データ51a「V0」(図8B参照)から順番に、映像データ51b「V1」までを記憶部15へ記憶する。これにより、差替え処理後の差替え先ファイル32を記憶部15に記憶することができる。   Further, the replacement unit 23 determines whether or not data having a preset capacity (for example, one frame) has been replaced. In the example of FIG. 8B, since the video data of 150 frames and 151 frames (that is, data of one frame or more) are replaced, the replacement unit 23 replaces data of a preset capacity (for example, 1 frame). judge. In this case, the replacement unit 23 stores the data in the storage unit 15 in order from the data in the area indicated by the writing start position WP. Here, the head of the replacement destination file 32 read into the replacement work area is set as the writing start position WP, and the video data 51b “V1” is sequentially started from the video data 51a “V0” (see FIG. 8B) stored at the head. Are stored in the storage unit 15. Thereby, the replacement destination file 32 after the replacement process can be stored in the storage unit 15.

なお、演算部11は、差替え処理後のデータを記憶部15に記憶した後に、当該データが格納されたメモリ12の差替え作業領域を解放することができる。例えば、演算部11は、図6Aの差替え元ファイル31から読み出した図8Aの映像データ51a「V0」から音声データ52i「A11」と、図6Bの差替え先ファイル32から読出し、差替え処理を行った図8Bの映像データ51a「V0」から映像データ51b「V1」と、を差替え作業領域から解放する。これにより、メモリ12の使用効率を向上することができる。   The arithmetic unit 11 can release the replacement work area of the memory 12 in which the data is stored after storing the data after the replacement process in the storage unit 15. For example, the calculation unit 11 reads the audio data 52i “A11” from the video data 51a “V0” of FIG. 8A read from the replacement source file 31 of FIG. 6A and the replacement destination file 32 of FIG. 6B, and performs the replacement process. The video data 51a “V0” to the video data 51b “V1” in FIG. 8B are released from the replacement work area. Thereby, the usage efficiency of the memory 12 can be improved.

そして、情報処理装置1は、上述した処理を、差替え元ファイル31の差替え対象範囲(0乃至29フレーム)と、差替え先ファイル32の差替え対象範囲(150乃至179フレーム)と、の間の全ての差替え処理が終了するまで繰り返す。これにより、情報処理装置1は、差替え元ファイルと差替え先ファイルとのインポートとエクスポートとを行う必要がなく、迅速に差替え処理を行うことができる。   Then, the information processing apparatus 1 performs the above-described processing on all of the replacement target range (0 to 29 frames) of the replacement source file 31 and the replacement target range (150 to 179 frames) of the replacement destination file 32. Repeat until the replacement process is complete. Thereby, the information processing apparatus 1 does not need to import and export the replacement source file and the replacement destination file, and can perform the replacement process quickly.

次に、差替え対象が映像データおよび音声データの両方である場合について説明する。なお、入力を受け付けた差替え元ファイル31(例えば図6A)と差替え先ファイル32(例えば図6B)とのそれぞれから、差替え作業領域に読み出す処理は、差替え対象が映像データである場合の処理と同様の処理であるので説明は省略する。ここでは、図7Aの例と同様に、差替え元ファイル31の映像データ51aから音声データ52iまでを、予め設定された差替え処理単位のデータとしてメモリ12の差替え作業領域に読み出すとともに、差替え先ファイル32の映像データ61aから音声データ62gまでを差替え作業領域に読み出すとする。   Next, a case where the replacement target is both video data and audio data will be described. Note that the process of reading out the replacement work area from each of the replacement source file 31 (for example, FIG. 6A) and the replacement destination file 32 (for example, FIG. 6B) that has received the input is the same as the process when the replacement target is video data. Since this is the process, the description is omitted. Here, as in the example of FIG. 7A, the video data 51a to the audio data 52i of the replacement source file 31 are read as replacement unit data set in advance into the replacement work area of the memory 12, and the replacement destination file 32 is used. It is assumed that the video data 61a to the audio data 62g are read into the replacement work area.

この場合、まず、解析部22は、未解析の差替え元ファイル31の先頭を解析開始メモリ位置SMPとし、映像データ51a(図9Aの「V0」)のKLVデータを取得(抽出)する。続いて、解析部22は、差替え作業領域から抽出した差替え元ファイル31のKLVデータの種類が差替え対象であるか否かを判定する。ここでは、差替え対象が「映像データおよび音声データ」であり、KLVデータとして映像データ51aを抽出しているので、KLVデータの種類が差替え対象であると判定する。   In this case, the analysis unit 22 first obtains (extracts) KLV data of the video data 51a (“V0” in FIG. 9A) with the head of the unanalyzed replacement source file 31 as the analysis start memory position SMP. Subsequently, the analysis unit 22 determines whether the type of KLV data of the replacement source file 31 extracted from the replacement work area is a replacement target. Here, since the replacement target is “video data and audio data” and the video data 51a is extracted as KLV data, it is determined that the type of KLV data is the replacement target.

次に、解析部22は、未解析の差替え先ファイル32の先頭を解析開始メモリ位置DMPとし、映像データ61a(図9Aの「V’0」)のKLVデータを取得(抽出)する。続いて、解析部22は、差替え作業領域から抽出した差替え先ファイル32のKLVデータの種類が、差替え作業領域から抽出した差替え元ファイル31のKLVデータの種類と同じか否かを判定する。ここでは、差替え元ファイル31のKLVデータとして映像データ51aを抽出し、差替え先ファイル32のKLVデータとして映像データ61aを抽出するので、解析部22は、KLVデータの種類が同じであると判定する。   Next, the analysis unit 22 obtains (extracts) KLV data of the video data 61a (“V′0” in FIG. 9A) using the start of the unanalyzed replacement destination file 32 as the analysis start memory position DMP. Subsequently, the analysis unit 22 determines whether or not the type of KLV data in the replacement destination file 32 extracted from the replacement work area is the same as the type of KLV data in the replacement source file 31 extracted from the replacement work area. Here, since the video data 51a is extracted as the KLV data of the replacement source file 31, and the video data 61a is extracted as the KLV data of the replacement destination file 32, the analysis unit 22 determines that the types of the KLV data are the same. .

そして、差替え部23は、メモリ12の差替え作業領域から抽出した差替え先ファイル32の映像データ61a「V’0」を、差替え作業領域から抽出した差替え元ファイル31の映像データ51a「V0」に差替える(例えば図9B参照)。   Then, the replacement unit 23 replaces the video data 61a “V′0” of the replacement destination file 32 extracted from the replacement work area of the memory 12 with the video data 51a “V0” of the replacement source file 31 extracted from the replacement work area. Change (see, for example, FIG. 9B).

次に、解析部22は、解析開始メモリ位置SMPにより示される次の差替え元ファイル31のKLVデータとして、音声データ52a「A1」を抽出する。ここでは、差替え対象が「映像データおよび音声データ」であるので、音声データ52a「A1」を抽出した場合に、解析部22は、差替え対象であると判定する。なお、差替え情報に音声データのチャンネル番号が含まれる場合、解析部22は、抽出した音声データ52が差替え情報に含まれる音声データのチャンネル番号か否かを判定する。   Next, the analysis unit 22 extracts the audio data 52a “A1” as the KLV data of the next replacement source file 31 indicated by the analysis start memory position SMP. Here, since the replacement target is “video data and audio data”, when the audio data 52a “A1” is extracted, the analysis unit 22 determines that the replacement target is the replacement target. When the replacement information includes the channel number of the audio data, the analysis unit 22 determines whether the extracted audio data 52 is the channel number of the audio data included in the replacement information.

次に、解析部22は、解析開始メモリ位置DMPにより示される次の差替え先ファイル32のKLVデータとして、音声データ62a「A’1」を抽出する。続いて、解析部22は、差替え作業領域から抽出した差替え先ファイル32のKLVデータの種類が、差替え作業領域から抽出した差替え元ファイル31のKLVデータの種類と同じか否かを判定する。ここでは、差替え元ファイル31のKLVデータとして音声データ52a「A1」を抽出し、差替え先ファイル32のKLVデータとして音声データ62a「A’1」を抽出するので、解析部22は、KLVデータの種類が同じであると判定する。   Next, the analysis unit 22 extracts the audio data 62a “A′1” as the KLV data of the next replacement destination file 32 indicated by the analysis start memory position DMP. Subsequently, the analysis unit 22 determines whether or not the type of KLV data in the replacement destination file 32 extracted from the replacement work area is the same as the type of KLV data in the replacement source file 31 extracted from the replacement work area. Here, since the voice data 52a “A1” is extracted as the KLV data of the replacement source file 31 and the voice data 62a “A′1” is extracted as the KLV data of the replacement destination file 32, the analysis unit 22 It is determined that the types are the same.

そして、差替え部23は、メモリ12の差替え作業領域から抽出した差替え先ファイル32の音声データ62a「A’1」を、差替え作業領域から抽出した差替え元ファイル31の音声データ52a「A1」に差替える(例えば図9B参照)。そして、情報処理装置1は、上述した差替え処理を繰り返し、差替え先ファイル32の音声データ62b「A’2」乃至62g「A’7」を、差替え元ファイル31の音声データ52b「A2」乃至52g「A7」に差替える(例えば図9参照)。   Then, the replacement unit 23 replaces the audio data 62a “A′1” of the replacement destination file 32 extracted from the replacement work area of the memory 12 with the audio data 52a “A1” of the replacement source file 31 extracted from the replacement work area. Change (see, for example, FIG. 9B). Then, the information processing apparatus 1 repeats the replacement process described above, and the audio data 62b “A′2” to 62g “A′7” of the replacement destination file 32 is converted to the audio data 52b “A2” to 52g of the replacement source file 31. Replace with “A7” (see, for example, FIG. 9).

次に、解析部22は、解析開始メモリ位置SMPにより示される次の差替え元ファイル31のKLVデータとして、音声データ52h「A8」を抽出し、差替え対象であると判定する。続いて、解析部22は、解析開始メモリ位置DMPを参照するが、差替え作業領域に読み出した差替え先ファイル32のデータは全て解析されたので、参照先に格納されたデータが存在しない(次の差替え先ファイル32のKLVデータがない)と判定する。この場合、解析部22は、例えば図6Bの差替え先ファイルの差替え開始位置DPを参照し、再度予め設定された差替え処理単位のデータを差替え作業領域に読み出す。ここでは、解析部22は、差替え開始位置DPが音声データ62hの格納位置を示すので、例えば音声データ62h「A’8」から音声データ62n「A’16」までのデータを、予め設定された差替え処理単位のデータとしてメモリ12の差替え作業領域に読み出す(例えば図10A参照)。また、この時、解析部22は、差替え開始位置DPを音声データ62o「A’17」の格納位置に移動する。   Next, the analysis unit 22 extracts the audio data 52h “A8” as the KLV data of the next replacement source file 31 indicated by the analysis start memory position SMP, and determines that it is a replacement target. Subsequently, the analysis unit 22 refers to the analysis start memory position DMP. However, since all the data of the replacement destination file 32 read into the replacement work area has been analyzed, there is no data stored in the reference destination (the next It is determined that there is no KLV data in the replacement destination file 32). In this case, the analysis unit 22 refers to the replacement start position DP of the replacement destination file in FIG. 6B, for example, and reads the replacement processing unit data set in advance again into the replacement work area. Here, since the replacement start position DP indicates the storage position of the audio data 62h, the analysis unit 22 sets, for example, data from the audio data 62h “A′8” to the audio data 62n “A′16” in advance. The data is read into the replacement work area of the memory 12 as replacement processing unit data (see, for example, FIG. 10A). At this time, the analysis unit 22 moves the replacement start position DP to the storage position of the audio data 62o “A′17”.

そして、解析部22は、差替え作業領域の未解析の差替え先ファイル32の先頭を解析開始メモリ位置DMPとし、解析開始メモリ位置DMPに格納されたデータの抽出を行う。例えば、解析部22は、音声データ62h「A’8」の抽出を行う(例えば図10A参照)。そして、解析部22は、上述した処理と同様に、音声データ62h「A’8」が、差替え作業領域から抽出した差替え元ファイル31のKLVデータ(つまり音声データ52h「A8」)の種類と同じか否かを判定する。ここでは、音声データ52h「A8」と、音声データ62h「A’8」と、は共に音声データであるので、解析部22は、KLVデータの種類が同じであると判定する。   Then, the analysis unit 22 extracts the data stored in the analysis start memory position DMP, using the start of the unanalyzed replacement destination file 32 in the replacement work area as the analysis start memory position DMP. For example, the analysis unit 22 extracts the audio data 62h “A′8” (see, for example, FIG. 10A). Then, in the same way as the above-described processing, the analysis unit 22 has the same audio data 62h “A′8” as the type of KLV data (that is, the audio data 52h “A8”) of the replacement source file 31 extracted from the replacement work area. It is determined whether or not. Here, since the audio data 52h “A8” and the audio data 62h “A′8” are both audio data, the analysis unit 22 determines that the types of the KLV data are the same.

そして、差替え部23は、メモリ12の差替え作業領域から抽出した差替え先ファイル32の音声データ62h「A’8」を、差替え作業領域から抽出した差替え元ファイル31の音声データ52h「A8」に差替える(例えば図10B参照)。そして、情報処理装置1は、上述した差替え処理を繰り返し、差替え先ファイル32の映像データ61b「V’1」と音声データ62i「A’11」とのそれぞれを、差替え元ファイル31の映像データ51b「V1」と音声データ52i「A11」に差替える(例えば図10参照)。   Then, the replacement unit 23 replaces the voice data 62h “A′8” of the replacement destination file 32 extracted from the replacement work area of the memory 12 with the voice data 52h “A8” of the replacement source file 31 extracted from the replacement work area. Change (see, for example, FIG. 10B). Then, the information processing apparatus 1 repeats the replacement process described above, and converts the video data 61b “V′1” and the audio data 62i “A′11” of the replacement destination file 32 into the video data 51b of the replacement source file 31, respectively. “V1” and voice data 52i “A11” are replaced (for example, see FIG. 10).

以降、差替え対象が「映像データ」である場合と同様に、差替え部23は、差替え作業領域に格納されたデータを記憶部15に記憶する。そして、情報処理装置1は、上述した処理を、差替え元ファイル31の差替え対象範囲(0乃至29フレーム)と、差替え先ファイル32の差替え対象範囲(150乃至179フレーム)と、の間の全ての差替え処理が終了するまで繰り返す。   Thereafter, the replacement unit 23 stores the data stored in the replacement work area in the storage unit 15 as in the case where the replacement target is “video data”. Then, the information processing apparatus 1 performs the above-described processing on all of the replacement target range (0 to 29 frames) of the replacement source file 31 and the replacement target range (150 to 179 frames) of the replacement destination file 32. Repeat until the replacement process is complete.

次に、音声データだけを差替える場合の処理を説明する。なお、具体的な処理は、上述した映像データだけを差替える場合と、映像データおよび音声データの両方を差替える場合と、同様であるので簡単に説明する。音声データを差替える場合、まず、解析部22は、全フレームの音声データの開始位置を特定する。具体的には、解析部22は、差替え元ファイル31と差替え先ファイル32のそれぞれから、差替えを行うフレーム数分(例えば30フレーム)の音声データの開始位置を特定する。   Next, processing when only audio data is replaced will be described. The specific processing is similar to the case where only the video data described above is replaced and the case where both video data and audio data are replaced. When replacing audio data, first, the analysis unit 22 specifies the start position of the audio data of all frames. Specifically, the analysis unit 22 specifies the start position of the audio data corresponding to the number of frames to be replaced (for example, 30 frames) from each of the replacement source file 31 and the replacement destination file 32.

次に、解析部22は、特定した各フレームの音声データの開始位置を参照して、データの種類が音声データであるKLVデータをメモリ12の差替え作業領域に読み出す。なお、差替え情報に音声データのチャンネル番号が含まれる場合、解析部22は、差替え情報に含まれる音声データのチャンネル番号により示される音声データ52(KLVデータ)を差替え作業領域に読み出す。例えば、図11Aに示すように、解析部22は、差替え元ファイル31の0フレームの音声データ52a「A1」のKLVデータを差替え作業領域に読み出す。続いて、解析部22は、差替え先ファイル32の150フレームの音声データ62a「A’1」のKLVデータをメモリ12に読み出す(図11A)。そして、差替え部23は、KLVデータを差替える(図11B)。つまり、差替え部23は、音声データ52a「A1」を、音声データ62a「A’1」にコピーして差替える。   Next, the analysis unit 22 refers to the start position of the audio data of each identified frame, and reads the KLV data whose data type is audio data into the replacement work area of the memory 12. When the replacement information includes the channel number of the audio data, the analysis unit 22 reads out the audio data 52 (KLV data) indicated by the channel number of the audio data included in the replacement information into the replacement work area. For example, as illustrated in FIG. 11A, the analysis unit 22 reads the KLV data of the 0-frame audio data 52a “A1” of the replacement source file 31 into the replacement work area. Subsequently, the analysis unit 22 reads the KLV data of the 150 frames of audio data 62a “A′1” of the replacement destination file 32 into the memory 12 (FIG. 11A). Then, the replacement unit 23 replaces the KLV data (FIG. 11B). That is, the replacement unit 23 copies the audio data 52a “A1” to the audio data 62a “A′1” and replaces it.

続いて、解析部22は、フレーム内の全てのKLVデータを読み出したか否かを判定し、フレーム内の全てのKLVデータを読み出していないと判定した場合に、フレーム内に格納された、データの種類が音声データであるKLVデータを順番に読み出す。例えば、解析部22は、次の音声データとして音声データ52b「A2」と音声データ62b「A’2」とのそれぞれを読み出し(図11C)、KLVデータの差替えを行う。以上の処理を繰り返すことにより、例えば図11Dに示すように、差替え先ファイル32に格納された音声データ62a「A’1」乃至62h「A’8」のそれぞれが、音声データ52a「A1」乃至52h「A8」のそれぞれに差替えられる。   Subsequently, the analysis unit 22 determines whether or not all the KLV data in the frame has been read. If it is determined that all the KLV data in the frame has not been read, the analysis unit 22 stores the data stored in the frame. Reads out KLV data of type audio data in order. For example, the analysis unit 22 reads out each of the audio data 52b “A2” and the audio data 62b “A′2” as the next audio data (FIG. 11C), and replaces the KLV data. By repeating the above processing, for example, as shown in FIG. 11D, each of the audio data 62a “A′1” to 62h “A′8” stored in the replacement destination file 32 becomes the audio data 52a “A1” to 52h “A8”.

そして、解析部22は、フレーム内の全てのKLVデータを読み出したと判定した場合、例えば図11Dのように、解析部22が、差替え先ファイル32に格納された音声データ62a「A’1」乃至62h「A’8」のそれぞれを、音声データ52a「A1」乃至52h「A8」のそれぞれに差替えた場合、差替えたKLVデータを記憶部15に記憶する。つまり、差替え部23は、メモリ12の差替え作業領域に読み出された1フレーム分の差替え先ファイルのデータを差替え後のデータとして記憶部15に記憶する。なお、メモリ12に格納されたデータを記憶部15に記憶する処理は、1フレーム毎に限られない。   If the analysis unit 22 determines that all the KLV data in the frame has been read, for example, as shown in FIG. 11D, the analysis unit 22 stores the audio data 62a “A′1” through the replacement destination file 32. When each of the 62h “A′8” is replaced with each of the audio data 52a “A1” to 52h “A8”, the replaced KLV data is stored in the storage unit 15. That is, the replacement unit 23 stores the data of the replacement destination file for one frame read into the replacement work area of the memory 12 in the storage unit 15 as the data after replacement. In addition, the process which memorize | stores the data stored in the memory 12 in the memory | storage part 15 is not restricted for every frame.

そして、解析部22は、全てのフレーム内のKLVデータ(音声データ)を差替え作業領域に読み出したか否かを判定し、全てのフレーム内のKLVデータを読み出していないと判定した場合に、次のフレーム(例えば差替え元ファイルの1フレームと差替え先ファイルの151フレーム)に対して同様の処理を繰り返す。一方、全てのフレーム内のKLVデータを読み出したと判定した場合、音声データの差替え処理は終了する。このように、差替え対象に応じて差替え処理の手法を変更するので、迅速かつ効率的に差替え処理を行うことができる。   Then, the analysis unit 22 determines whether or not the KLV data (audio data) in all the frames has been read into the replacement work area, and when it is determined that the KLV data in all the frames has not been read, Similar processing is repeated for frames (for example, one frame of the replacement source file and 151 frames of the replacement destination file). On the other hand, if it is determined that the KLV data in all frames has been read, the audio data replacement process ends. Thus, since the method of replacement processing is changed according to the replacement target, replacement processing can be performed quickly and efficiently.

[動作]
次に、図12乃至図14を参照して、情報処理装置1の動作について説明する。図12は、差替え処理を説明するフローチャートである。図13は、映像データ差替え処理を説明するフローチャートである。図14は、音声データ差替え処理を説明するフローチャートである。
[Operation]
Next, the operation of the information processing apparatus 1 will be described with reference to FIGS. FIG. 12 is a flowchart for explaining the replacement process. FIG. 13 is a flowchart for explaining the video data replacement process. FIG. 14 is a flowchart for explaining the audio data replacement process.

図12の差替え処理では、まず、入力受付部21は、差替え元ファイルと差替え先ファイルとの入力を受け付ける(ステップS1)。例えば、入力受付部21は、入力部13を介して差替え元になるMXFファイルと、差替え先になるMXFファイルと、の入力を受け付ける。ここでは、入力受付部21は、30フレーム(例えば1秒)の差替え元ファイルと、300フレーム(例えば10秒)の差替え先ファイルと、の入力を受け付けたとする。また、差替え元ファイルと差替え先ファイルとの映像データのコーデックは「AVC-Intra 100Mbps」であり、音声データのコーデックは「8ch 16bits」であるとする。   In the replacement process of FIG. 12, first, the input receiving unit 21 receives input of a replacement source file and a replacement destination file (step S1). For example, the input receiving unit 21 receives input of an MXF file that is a replacement source and an MXF file that is a replacement destination via the input unit 13. Here, it is assumed that the input receiving unit 21 receives input of a replacement source file of 30 frames (for example, 1 second) and a replacement destination file of 300 frames (for example, 10 seconds). It is assumed that the video data codec of the replacement source file and the replacement destination file is “AVC-Intra 100 Mbps”, and the audio data codec is “8ch 16 bits”.

続いて、入力受付部21は、差替え情報の入力を受け付ける(ステップS2)。差替え情報は、例えば、差替え元ファイルの差替え対象範囲と、差替え先ファイルの差替え対象範囲と、差替え対象のデータの種類と、を含む情報である。差替え対象範囲は、例えば、差替え開始位置と差替えサイズとを示すタイムコード(時:分:秒:フレーム)により指定される。差替え対象のデータの種類は、例えば、映像データ、音声データ、映像データと音声データ等である。ここでは、差替え元ファイルの差替え対象範囲として、差替え元ファイルの先頭フレーム(0フレーム)から29フレームまでを取得し、差替え先ファイルの差替え対象範囲として、150フレームから179フレームまでを取得したとする。また、差替え対象のデータの種類として映像データを取得したとする。   Subsequently, the input receiving unit 21 receives input of replacement information (step S2). The replacement information is information including, for example, the replacement target range of the replacement source file, the replacement target range of the replacement destination file, and the type of data to be replaced. The replacement target range is specified by, for example, a time code (hour: minute: second: frame) indicating a replacement start position and a replacement size. The types of data to be replaced are, for example, video data, audio data, video data and audio data, and the like. Here, it is assumed that the first frame (0 frame) to 29 frames of the replacement source file are acquired as the replacement target range of the replacement source file, and the 150th frame to 179th frame are acquired as the replacement target range of the replacement destination file. . Also, assume that video data is acquired as the type of data to be replaced.

次に、解析部22は、メタデータを取得する(ステップS3)。例えば、解析部22は、差替え元ファイル31と差替え先ファイル32とのそれぞれからメタデータを取得(抽出)する。続いて、解析部22は、差替え可能か否かを判定する(ステップS4)。例えば、解析部22は、ステップS2の処理にて入力を受け付けた差替え情報に含まれる差替え元ファイルの差替え対象範囲が、ステップS1の処理にて入力を受け付けた差替え元ファイル内に存在するか否かを判定する。また、同様に、解析部22は、差替え先ファイルの差替え対象範囲が、差替え先ファイル内に存在するか否かを判定する。さらに、例えば、差替え対象のデータの種類が映像データを含む場合、解析部22は、差替え元ファイルと差替え先ファイルとの映像コーデック情報(例えばAVC-Intra)をメタデータとして取得し、取得した映像コーデック情報が一致するか否かを判定する。さらにまた、例えば、差替え対象のデータの種類が音声データを含む場合、解析部22は、差替え元ファイルと差替え先ファイルとの音声コーデック情報(例えば、PCM形式)をメタデータとして取得し、取得した音声コーデック情報が一致するか否かを判定する。   Next, the analysis part 22 acquires metadata (step S3). For example, the analysis unit 22 acquires (extracts) metadata from each of the replacement source file 31 and the replacement destination file 32. Subsequently, the analysis unit 22 determines whether or not replacement is possible (step S4). For example, the analysis unit 22 determines whether the replacement target range of the replacement source file included in the replacement information received in the process of step S2 is present in the replacement source file received in the process of step S1. Determine whether. Similarly, the analysis unit 22 determines whether the replacement target range of the replacement destination file exists in the replacement destination file. Further, for example, when the type of data to be replaced includes video data, the analysis unit 22 acquires video codec information (for example, AVC-Intra) of the replacement source file and the replacement destination file as metadata, and acquires the acquired video It is determined whether the codec information matches. Furthermore, for example, when the type of data to be replaced includes audio data, the analysis unit 22 acquires and acquires the audio codec information (for example, PCM format) of the replacement source file and the replacement destination file as metadata. It is determined whether the audio codec information matches.

ステップS4の処理にて差替え可能でないと判定した場合(ステップS4:No)、図12の差替え処理は終了する。一方、差替え可能であると判定した場合(ステップS4:Yes)、処理はステップS5に進む。ここでは、図5に示すように、差替え元ファイルの差替え対象範囲(0乃至29フレーム)と、差替え先ファイルの差替え対象範囲(150乃至179フレーム)と、が存在する。また、上記したように、差替え元ファイルと差替え先ファイルとの映像コーデックと音声コーデックとは共に同じである。従って、解析部22は、ステップS4の処理にて「Yes」と判定する。   If it is determined that the replacement is not possible in the process of step S4 (step S4: No), the replacement process of FIG. On the other hand, if it is determined that the replacement is possible (step S4: Yes), the process proceeds to step S5. Here, as shown in FIG. 5, there are a replacement target range (0 to 29 frames) of the replacement source file and a replacement target range (150 to 179 frames) of the replacement destination file. As described above, the video codec and audio codec of the replacement source file and the replacement destination file are the same. Therefore, the analysis unit 22 determines “Yes” in the process of step S4.

ステップS4の処理にて差替え可能であると判定した場合(ステップS4:Yes)、解析部22は、差替え対象に映像データが含まれるか否かを判定する(ステップS5)。差替え対象に映像データが含まれていると判定した場合(ステップS5:Yes)、図13の映像データ差替え処理を行う(ステップS6)。一方、差替え対象に映像データが含まれていないと判定した場合(ステップS5:No)、ここでは差替え対象に音声データだけが含まれている場合、図14の音声データ差替え処理を行う(ステップS7)。ここでは、ステップS2の処理にて差替え対象として「映像データ」を取得するので、処理はステップS6に進む。図13を参照して、映像データ差替え処理について説明する。   If it is determined in step S4 that the replacement is possible (step S4: Yes), the analysis unit 22 determines whether the replacement target includes video data (step S5). When it is determined that the video data is included in the replacement target (step S5: Yes), the video data replacement process of FIG. 13 is performed (step S6). On the other hand, if it is determined that the video data is not included in the replacement target (step S5: No), here, if only the audio data is included in the replacement target, the audio data replacement process of FIG. 14 is performed (step S7). ). Here, since “video data” is acquired as a replacement target in the process of step S2, the process proceeds to step S6. The video data replacement process will be described with reference to FIG.

図13は、映像データ差替え処理を説明するためのフローチャートである。映像データ差替え処理では、まず、解析部22は、差替え元ファイルの差替え開始位置を特定する(ステップS21)。例えば、解析部22は、図12のステップS2の処理にて入力を受け付けた差替え情報に含まれる差替え元ファイル31の差替え対象範囲(差替え元範囲)と、ステップS1の処理にて入力を受け付けた差替え元ファイル31に含まれるIndexTable部と、を参照して、差替え元ファイルの差替え開始位置を特定する。映像データを差替える場合、または、映像データと音声データとの両方を差替える場合、情報処理装置1は、差替え元範囲内の予め設定された差替え処理単位のデータを連続的に読出して、差替えを行う。ここでは、解析部22は、差替え元ファイルの映像データ(例えば映像データ51a「V1」)の開始位置(SP)を差替え元ファイルの差替え開始位置として特定する。   FIG. 13 is a flowchart for explaining the video data replacement process. In the video data replacement process, first, the analysis unit 22 identifies the replacement start position of the replacement source file (step S21). For example, the analysis unit 22 has received the input in the replacement target range (replacement source range) of the replacement source file 31 included in the replacement information received in the processing in step S2 of FIG. 12 and the processing in step S1. With reference to the IndexTable part included in the replacement source file 31, the replacement start position of the replacement source file is specified. When replacing video data, or when replacing both video data and audio data, the information processing apparatus 1 continuously reads out the data of preset replacement processing units in the replacement source range and replaces the data. I do. Here, the analysis unit 22 specifies the start position (SP) of the video data (for example, video data 51a “V1”) of the replacement source file as the replacement start position of the replacement source file.

続いて、解析部22は、予め設定された差替え処理単位(例えば5MB)のデータをメモリ12の差替え作業領域に読み出す(ステップS22)。例えば、解析部22は、映像データ51aから音声データ52iまでのデータを、差替え処理単位のデータとしてメモリ12の差替え作業領域に読み出す。また、この時、解析部22は、開始位置SPを読み出したデータ分(例えば5MB)移動させる。そして、解析部22は、差替え元ファイル31のKLVデータを抽出する(ステップS23)。ここでは、解析部22は、差替え元ファイルの読み出したメモリ12の差替え作業領域の先頭を解析開始メモリ位置(SMP)とし、映像データ51a「V1」を構成するKLVデータを抽出する。また、この時、解析部22は、解析開始メモリ位置SMPを読み出したKLVデータ分だけ移動させる。   Subsequently, the analysis unit 22 reads data of a preset replacement processing unit (for example, 5 MB) into the replacement work area of the memory 12 (step S22). For example, the analysis unit 22 reads the data from the video data 51a to the audio data 52i to the replacement work area of the memory 12 as replacement unit data. At this time, the analysis unit 22 moves the start position SP by the read data (for example, 5 MB). Then, the analysis unit 22 extracts the KLV data of the replacement source file 31 (Step S23). Here, the analysis unit 22 uses the start of the replacement work area of the memory 12 from which the replacement source file has been read as the analysis start memory position (SMP), and extracts KLV data constituting the video data 51a “V1”. At this time, the analysis unit 22 moves the analysis start memory position SMP by the read KLV data.

続いて、解析部22は、ステップS23の処理にて抽出したKLVデータの種類が差替え対象であるか否かを判定する(ステップS24)。具体的には、解析部22は、KLVデータに含まれるデータの種類Keyが、差替え対象(映像データまたは音声データ)を示しているかを判定する。ここでは、差替え対象が「映像データ」であり、KLVデータとして映像データ51a「V1」を抽出しているので、ステップS24の処理にて「Yes」と判定し、処理はステップS26に進む。   Subsequently, the analysis unit 22 determines whether or not the type of KLV data extracted in the process of step S23 is a replacement target (step S24). Specifically, the analysis unit 22 determines whether the data type Key included in the KLV data indicates a replacement target (video data or audio data). Here, the replacement target is “video data”, and the video data 51a “V1” is extracted as the KLV data. Therefore, “Yes” is determined in the process of step S24, and the process proceeds to step S26.

一方、ステップS24において、差替え対象でないと判定した場合(ステップS24:No)、例えば、KLVデータとして音声データ52a「A1」を抽出した場合、解析部22は、次の差替え元ファイル31のKLVデータがあるか否かを判定する(ステップS25)。次の差替え元ファイル31のKLVデータがあると判定した場合(ステップS25:Yes)、処理はステップS23に戻り、次の差替え元ファイル31のKLVデータ(例えば音声データ52b「A2」のKLVデータ)を抽出し、同様の処理を繰り返す。   On the other hand, when it is determined in step S24 that it is not a replacement target (step S24: No), for example, when the voice data 52a “A1” is extracted as KLV data, the analysis unit 22 performs the KLV data of the next replacement source file 31. It is determined whether or not there is (step S25). If it is determined that there is KLV data of the next replacement source file 31 (step S25: Yes), the process returns to step S23, and the KLV data of the next replacement source file 31 (for example, KLV data of the audio data 52b “A2”). Is extracted and the same process is repeated.

一方、ステップS25において、次の差替え元ファイル31のKLVデータがないと判定された場合(ステップS25:No)、例えば、ステップS23の処理にて抽出したKLVデータが音声データ52iである場合、処理はステップS22に戻り、次の差替え元範囲が読み出される。例えば、解析部22は、音声データ52jから5MBのデータをメモリ12の差替え作業領域に読み出し、同様の処理を繰り返す。   On the other hand, if it is determined in step S25 that there is no KLV data of the next replacement source file 31 (step S25: No), for example, if the KLV data extracted in the process of step S23 is the audio data 52i, the process Returns to step S22, and the next replacement source range is read. For example, the analysis unit 22 reads 5 MB of data from the audio data 52j into the replacement work area of the memory 12, and repeats the same processing.

そして、ステップS24において、KLVデータの種類が差替え対象であると判定した場合(ステップS24:Yes)、解析部22は、差替え先ファイルの差替え開始位置を特定する(ステップS26)。例えば、解析部22は、図12のステップS2の処理にて入力を受け付けた差替え情報に含まれる差替え先ファイルの差替え対象範囲と、ステップS1の処理にて入力を受け付けた差替え先ファイルに含まれるIndexTable部と、を参照して、差替え先ファイルの差替え開始位置を特定する。ここでは、解析部22は、差替え先ファイルの映像データ(例えば映像データ61a「V’1」)の開始位置(DP)を差替え先ファイルの差替え開始位置として特定する。   If it is determined in step S24 that the type of KLV data is a replacement target (step S24: Yes), the analysis unit 22 identifies the replacement start position of the replacement destination file (step S26). For example, the analysis unit 22 is included in the replacement target range of the replacement destination file included in the replacement information received in the process of step S2 in FIG. 12 and the replacement destination file received in the process of step S1. With reference to the IndexTable part, the replacement start position of the replacement destination file is specified. Here, the analysis unit 22 identifies the start position (DP) of the video data (for example, video data 61a “V′1”) of the replacement destination file as the replacement start position of the replacement destination file.

次に、解析部22は、予め設定された差替え処理単位のデータをメモリ12の差替え作業領域に読み出す(ステップS27)。例えば、解析部22は、記憶部15に記憶された映像データ61a「V’1」から音声データ62g「A’7」までのデータを、差替え処理単位のデータとしてメモリ12の差替え作業領域に読み出す。また、この時、解析部22は、開始位置DPを読み出したデータ分移動させる。そして、解析部22は、差替え先ファイル32のKLVデータを抽出する(ステップS28)。ここでは、解析部22は、差替え先ファイルの読み出したメモリ12の差替え作業領域の先頭を解析開始メモリ位置(DMP)とし、映像データ61a「V’1」を構成するKLVデータを抽出する。また、この時、解析部22は、解析開始メモリ位置DMPを読み出したKLVデータ分だけ移動させる。   Next, the analysis unit 22 reads the preset replacement processing unit data into the replacement work area of the memory 12 (step S27). For example, the analysis unit 22 reads the data from the video data 61a “V′1” to the audio data 62g “A′7” stored in the storage unit 15 to the replacement work area of the memory 12 as replacement processing unit data. . At this time, the analysis unit 22 moves the start position DP by the read data. And the analysis part 22 extracts the KLV data of the replacement destination file 32 (step S28). Here, the analysis unit 22 uses the beginning of the replacement work area of the memory 12 from which the replacement destination file has been read as the analysis start memory position (DMP), and extracts KLV data constituting the video data 61a “V′1”. At this time, the analysis unit 22 moves the analysis start memory position DMP by the read KLV data.

続いて、解析部22は、ステップS28の処理にて抽出したKLVデータの種類(Key)が、ステップS23の処理にて抽出したKLVデータの種類と同じか否かを判定する(ステップS29)。ここでは、ステップS28の処理にて抽出した差替え対象が「映像データ」であり、KLVデータとして映像データ51a「V’1」を抽出しているので、ステップS29の処理にて「Yes」と判定し、処理はステップS31に進む。   Subsequently, the analysis unit 22 determines whether or not the type (Key) of the KLV data extracted in the process of Step S28 is the same as the type of KLV data extracted in the process of Step S23 (Step S29). Here, the replacement object extracted in the process of step S28 is “video data”, and the video data 51a “V′1” is extracted as the KLV data. Therefore, “Yes” is determined in the process of step S29. Then, the process proceeds to step S31.

一方、ステップS29において、KLVデータの種類が同じでないと判定した場合(ステップS29:No)、例えば、KLVデータとして音声データ62aを抽出した場合、解析部22は、次の差替え元ファイル31のKLVデータがあるか否かを判定する(ステップS30)。次の差替え元ファイル31のKLVデータがあると判定した場合(ステップS30:Yes)、処理はステップS28に戻り、次の差替え元ファイル31のKLVデータ(例えば音声データ62b「A’2」のKLVデータ)を読み出し、同様の処理を繰り返す。   On the other hand, when it is determined in step S29 that the types of the KLV data are not the same (step S29: No), for example, when the audio data 62a is extracted as the KLV data, the analysis unit 22 performs the KLV of the next replacement source file 31. It is determined whether there is data (step S30). If it is determined that there is KLV data of the next replacement source file 31 (step S30: Yes), the process returns to step S28, and the KLV data of the next replacement source file 31 (for example, the KLV of the audio data 62b “A′2”). Data) and the same processing is repeated.

一方、ステップS30において、次の差替え元ファイル31のKLVデータがないと判定された場合(ステップS30:No)、例えば、ステップS28の処理にて抽出したKLVデータが音声データ52g「A7」である場合、処理はステップS27に戻り、次の差替え元範囲が読み出される。例えば、解析部22は、映像データ61b「V’2」から5MBのデータをメモリ12に読み出し、同様の処理を繰り返す。   On the other hand, if it is determined in step S30 that there is no KLV data of the next replacement source file 31 (step S30: No), for example, the KLV data extracted in the process of step S28 is the audio data 52g “A7”. In this case, the process returns to step S27, and the next replacement source range is read. For example, the analysis unit 22 reads 5 MB of data from the video data 61b “V′2” into the memory 12, and repeats the same processing.

そして、ステップS29において、KLVデータの種類が同じであると判定した場合(ステップS29:Yes)、差替え部23は、KLVデータを差替える(ステップS31)。例えば、差替え部23は、メモリ12の差替え作業領域に抽出された差替え先ファイルのKLVデータである映像データ61a「V’1」を、差替え作業領域に抽出された差替え元ファイルのKLVデータである映像データ51a「V1」に差替える。つまり、差替え部23は、メモリ12に読み出された差替え元ファイルのKLVデータを、メモリ12に読み出された差替え先ファイルのKLVデータにコピーして、差替える。   If it is determined in step S29 that the types of KLV data are the same (step S29: Yes), the replacement unit 23 replaces the KLV data (step S31). For example, the replacement unit 23 is video data 61a “V′1”, which is KLV data of the replacement destination file extracted in the replacement work area of the memory 12, and is KLV data of the replacement source file extracted in the replacement work area. The video data 51a is replaced with “V1”. That is, the replacement unit 23 copies the KLV data of the replacement source file read to the memory 12 to the KLV data of the replacement destination file read to the memory 12 and replaces it.

次に、解析部22は、予め設定されたフレームサイズ(例えば1フレーム)のデータを差替えたか否かを判定する(ステップS32)。まだ、予め設定されたフレームサイズのデータを差替えていないと判定した場合(ステップS32:No)、処理はステップS22に戻り、それ以降の処理を繰り返す。   Next, the analysis unit 22 determines whether data of a preset frame size (for example, one frame) has been replaced (step S32). If it is determined that the data of the preset frame size has not yet been replaced (step S32: No), the process returns to step S22 and the subsequent processes are repeated.

一方、予め設定されたフレームサイズのデータを差替えたと判定した場合(ステップS32:Yes)、差替え部23は、差替えたデータを記憶部15に記憶する(ステップS33)。つまり、差替え部23は、メモリ12に格納された差替え先ファイルのデータを差替え後のデータとして記憶部15に記憶する。   On the other hand, when it is determined that the data of the preset frame size has been replaced (step S32: Yes), the replacement unit 23 stores the replaced data in the storage unit 15 (step S33). That is, the replacement unit 23 stores the data of the replacement destination file stored in the memory 12 in the storage unit 15 as the data after replacement.

次に、解析部22は、全ての差替え元データを差替えたか否かを判定する(ステップS34)。全ての差替え元データを差替えていないと判定した場合(ステップS34:No)、処理はステップS22に戻り、それ以降の処理が繰り返される。一方、全ての差替え元データを差替えたと判定した場合(ステップS34:Yes)、映像データの差替え処理は終了する。   Next, the analysis unit 22 determines whether all replacement source data has been replaced (step S34). When it is determined that all replacement source data has not been replaced (step S34: No), the processing returns to step S22, and the subsequent processing is repeated. On the other hand, when it is determined that all the replacement source data has been replaced (step S34: Yes), the replacement processing of the video data ends.

次に、図14を参照して、音声データ差替え処理を説明する。音声データ差替え処理では、まず、解析部22は、全フレームの音声データの開始位置を特定する(ステップS51)。具体的には、解析部22は、差替え元ファイルと差替え先ファイルのそれぞれから、差替えを行うフレーム数分の音声データの開始位置を特定する。   Next, the audio data replacement process will be described with reference to FIG. In the voice data replacement process, first, the analysis unit 22 specifies the start position of the voice data of all frames (step S51). Specifically, the analysis unit 22 specifies the start position of the audio data for the number of frames to be replaced from each of the replacement source file and the replacement destination file.

次に、解析部22は、差替え元ファイルの所定のフレームからKLVデータを読み出す(ステップS52)。つまり、解析部22は、ステップS51の処理にて特定した各フレームの音声データの開始位置を参照して、データの種類が音声データであるKLVデータをメモリ12の差替え作業領域に読み出す。例えば、解析部22は、0フレームの音声データ52a「A1」のKLVデータをメモリ12の差替え作業領域に読み出す。   Next, the analysis unit 22 reads KLV data from a predetermined frame of the replacement source file (step S52). That is, the analysis unit 22 refers to the start position of the audio data of each frame specified in the process of step S51, and reads the KLV data whose data type is audio data into the replacement work area of the memory 12. For example, the analysis unit 22 reads the 0-frame audio data 52 a “A1” KLV data into the replacement work area of the memory 12.

続いて、解析部22は、ステップS52の処理と同様に、差替え先ファイルの所定のフレームからKLVデータを読み出す(ステップS53)。例えば、解析部22は、150フレームの音声データ62aのKLVデータをメモリ12の差替え作業領域に読み出す。そして、差替え部23は、KLVデータを差替える(ステップS54)。つまり、差替え部23は、ステップS52の処理にて読み出したKLVデータ(音声データ52a「A1」)を、ステップS53の処理にて読み出したKLVデータ(音声データ62a「A’1」)にコピーする。   Subsequently, the analysis unit 22 reads out KLV data from a predetermined frame of the replacement destination file, similarly to the process of step S52 (step S53). For example, the analysis unit 22 reads the KLV data of the 150 frames of audio data 62 a into the replacement work area of the memory 12. Then, the replacement unit 23 replaces the KLV data (Step S54). That is, the replacement unit 23 copies the KLV data (audio data 52a “A1”) read out in step S52 to the KLV data (audio data 62a “A′1”) read out in step S53. .

続いて、解析部22は、フレーム内の全てのKLVデータを読み出したか否かを判定する(ステップS55)。フレーム内の全てのKLVデータを読み出していないと判定した場合(ステップS55:No)、処理はステップS52に戻り、フレーム内に格納された、データの種類が音声データであるKLVデータが順番に差替え作業領域に読み出される。例えば、解析部22は、次の音声データとして音声データ52b「A2」と音声データ62b「A’2」とのそれぞれを読み出し、KLVデータの差替えを行う。   Subsequently, the analysis unit 22 determines whether all the KLV data in the frame has been read (step S55). If it is determined that all the KLV data in the frame has not been read (step S55: No), the process returns to step S52, and the KLV data stored in the frame and whose data type is audio data is replaced in order. Read to work area. For example, the analysis unit 22 reads out each of the audio data 52b “A2” and the audio data 62b “A′2” as the next audio data, and replaces the KLV data.

一方、フレーム内の全てのKLVデータを読み出したと判定した場合(ステップS55:Yes)、例えば、解析部22が、音声データ52a「A1」乃至52h「A7」のそれぞれと、音声データ62a「A’1」乃至62h「A’7」のそれぞれと、を読み出した場合、処理はステップS56に進む。そして、差替え部23は、差替えたKLVデータを記憶部15に記憶する(ステップS56)。つまり、差替え部23は、メモリ12の差替え作業領域に格納された1フレーム分の差替え先ファイルのデータを差替え後のデータとして記憶部15に記憶する。   On the other hand, when it is determined that all the KLV data in the frame has been read (step S55: Yes), for example, the analysis unit 22 and each of the audio data 52a “A1” to 52h “A7” and the audio data 62a “A ′”. When “1” to 62h “A′7” are read, the process proceeds to step S56. Then, the replacement unit 23 stores the replaced KLV data in the storage unit 15 (step S56). That is, the replacement unit 23 stores the data of the replacement destination file for one frame stored in the replacement work area of the memory 12 in the storage unit 15 as the data after replacement.

そして、解析部22は、全てのフレーム内のKLVデータ(音声データ)を読み出したか否かを判定する(ステップS57)。全てのフレーム内のKLVデータを読み出していないと判定した場合(ステップS57:No)、処理はステップS52に戻り、次のフレーム(例えば差替え元ファイルの1フレームと差替え先ファイルの151フレーム)に対して同様の処理を繰り返す。一方、全てのフレーム内のKLVデータを読み出したと判定した場合(ステップS57:Yes)、音声データの差替え処理は終了する。   Then, the analysis unit 22 determines whether or not the KLV data (audio data) in all frames has been read (step S57). If it is determined that the KLV data in all the frames has not been read (step S57: No), the process returns to step S52, and for the next frame (for example, one frame of the replacement source file and 151 frames of the replacement destination file). Repeat the same process. On the other hand, when it is determined that the KLV data in all the frames has been read (step S57: Yes), the audio data replacement process ends.

<第2実施形態>
次に、本発明の第2実施形態にかかる情報処理装置について図15を参照して説明する。
第2実施形態に係る情報処理装置101は、
ファイル内に格納された各データが、実データと当該実データの種類とを対応付けた構造により表わされる差替え元ファイルおよび差替え先ファイルと、差替え元ファイルの差替え対象範囲である差替え元範囲および差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付部111(入力受付手段)と、
入力受付部111にて入力を受け付けた差替え情報に基づいて、差替え元範囲内および先替え先範囲内に格納された実データに対応付けられた実データの種類を取得する解析部112(解析手段)と、
解析部112にて取得された差替え元範囲内の実データの種類と差替え先範囲内の実データの種類とが一致する場合に、差替え先範囲内に格納されたデータを、当該データと実データの種類が一致する差替え元範囲内に格納されたデータに差替える差替え部113(差替え手段)と、
を備える。
Second Embodiment
Next, an information processing apparatus according to the second embodiment of the present invention will be described with reference to FIG.
The information processing apparatus 101 according to the second embodiment is
Each data stored in the file is replaced with the replacement source file and the replacement destination file represented by the structure in which the actual data and the type of the actual data are associated, and the replacement source range and replacement that are the replacement target range of the replacement source file. An input receiving unit 111 (input receiving unit) that receives an input of replacement information including a replacement destination range that is a replacement target range of a destination file;
Based on the replacement information received by the input receiving unit 111, an analysis unit 112 (analyzing unit) that acquires the type of actual data associated with the actual data stored in the replacement source range and the replacement destination range )When,
When the type of actual data in the replacement source range acquired by the analysis unit 112 matches the type of actual data in the replacement destination range, the data stored in the replacement destination range is changed to the data and the actual data. A replacement unit 113 (replacement means) that replaces the data stored in the replacement source range with the same type,
Is provided.

上記構成により、まず入力受付部111は、ファイル内に格納された各データが、実データと当該実データの種類とを対応付けた構造により表わされる差替え元ファイルおよび差替え先ファイルと、差替え元ファイルの差替え対象範囲である差替え元範囲および差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報の入力を受け付ける。続いて、解析部112は、入力受付手段にて入力を受け付けた差替え情報に基づいて、差替え元範囲内および先替え先範囲内に格納された実データに対応付けられた実データの種類を取得する。そして、差替え部113は、解析手段にて取得された差替え元範囲内の実データの種類と差替え先範囲内の実データの種類とが一致する場合に、差替え先範囲内に格納されたデータを、当該データと実データの種類が一致する差替え元範囲内に格納されたデータに差替える。このように、情報処理装置は、差替え元ファイルに格納されたデータを変換して編集することなく、直接差替え先ファイルに対して差替えを行うことができる。この結果、迅速にファイルに格納されたデータの差替え処理を行うことができる。   With the above configuration, first, the input receiving unit 111 includes a replacement source file and a replacement destination file in which each data stored in the file is represented by a structure in which actual data is associated with the type of the actual data, and the replacement source file. The replacement information including the replacement source range that is the replacement target range and the replacement destination range that is the replacement target range of the replacement destination file is received. Subsequently, the analysis unit 112 acquires the type of actual data associated with the actual data stored in the replacement source range and the replacement destination range based on the replacement information received by the input receiving unit. To do. Then, the replacement unit 113 converts the data stored in the replacement destination range when the type of actual data in the replacement source range acquired by the analysis unit matches the type of actual data in the replacement destination range. The data is replaced with data stored in the replacement source range in which the types of the data and the actual data match. As described above, the information processing apparatus can directly replace the replacement destination file without converting and editing the data stored in the replacement source file. As a result, it is possible to quickly replace the data stored in the file.

以上、上記実施形態を参照して本願発明を説明したが、本願発明は、上述した実施形態に限定されるものではない。本願発明の構成及び詳細に、本願発明の範囲内において当業者が理解し得る様々な変更をすることができる。   Although the present invention has been described with reference to the above embodiment, the present invention is not limited to the above-described embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明における情報処理装置等の構成の概略を説明する。但し、本発明は、以下の構成に限定されない。
<Appendix>
Part or all of the above-described embodiment can be described as in the following supplementary notes. The outline of the configuration of the information processing apparatus and the like in the present invention will be described below. However, the present invention is not limited to the following configuration.

(付記1)
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付手段と、
前記入力受付手段にて入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得する解析手段と、
前記解析手段にて取得された前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える差替え手段と、
を備える情報処理装置。
(Appendix 1)
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file;
Analysis means for acquiring the types of the actual data included in the data stored in the replacement source range and the replacement destination range, based on the replacement information received by the input receiving means; ,
The type of the actual data included in the data stored in the replacement source range acquired by the analyzing unit matches the type of the actual data included in the data stored in the replacement destination range. A replacement means for replacing the data stored in the replacement destination range with the data stored in the replacement source range;
An information processing apparatus comprising:

上記構成により、まず入力受付手段は、実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、差替え元ファイルの差替え対象範囲である差替え元範囲および差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報の入力を受け付ける。続いて、解析手段は、入力受付手段にて入力を受け付けた差替え情報に基づいて、差替え元範囲内および先替え先範囲内に格納されたデータに含まれる実データの種類をそれぞれ取得する。そして、差替え手段は、解析手段にて取得された差替え元範囲内に格納された前記データに含まれる実データの種類と差替え先範囲内に格納された前記データに含まれる実データの種類とが一致する場合に、差替え先範囲内に格納されたデータを、差替え元範囲内に格納されたデータに差替える。このように、情報処理装置は、差替え元ファイルに格納されたデータを変換して編集することなく、直接差替え先ファイルに対して差替えを行うことができる。この結果、迅速にファイルに格納されたデータの差替え処理を行うことができる。   With the above configuration, the input receiving unit first includes a replacement source file and a replacement destination file configured to include a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated with each other, and the replacement source file The replacement information including the replacement source range that is the replacement target range and the replacement destination range that is the replacement target range of the replacement destination file is received. Subsequently, the analysis unit obtains the types of actual data included in the data stored in the replacement source range and the replacement destination range based on the replacement information received by the input receiving unit. Then, the replacement means includes a type of actual data included in the data stored in the replacement source range acquired by the analysis means and a type of actual data included in the data stored in the replacement destination range. If they match, the data stored in the replacement destination range is replaced with the data stored in the replacement source range. As described above, the information processing apparatus can directly replace the replacement destination file without converting and editing the data stored in the replacement source file. As a result, it is possible to quickly replace the data stored in the file.

(付記2)
付記1に記載の情報処理装置であって、
前記入力受付手段は、前記差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、
前記解析手段は、前記差替え対象種類情報に応じて予め設定された差替え処理単位ごとに前記差替え元範囲内と前記差替え先範囲内とのそれぞれに格納された前記データを差替え用の差替え作業領域に抽出し、
前記差替え手段は、前記解析手段にて抽出した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、抽出した前記差替え先範囲内に格納された前記データを、抽出した前記差替え元範囲内に格納された前記データに差替える、
情報処理装置。
(Appendix 2)
An information processing apparatus according to attachment 1, wherein
The input receiving means receives an input of replacement target type information representing a type of replacement target data as the replacement information,
The analysis unit stores the data stored in the replacement source range and the replacement destination range for each replacement processing unit set in advance according to the replacement target type information in a replacement work area for replacement. Extract and
The replacement means includes a type of the actual data included in the data stored in the replacement source range extracted by the analysis means and the actual data included in the data stored in the replacement destination range. When the type matches, the extracted data stored in the replacement range is replaced with the extracted data stored in the replacement source range.
Information processing device.

上記構成により、入力受付手段は、差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、解析手段は、差替え対象種類情報に応じて予め設定された差替え処理単位ごとに差替え元範囲内と差替え先範囲内とのそれぞれに格納されたデータを差替え用の差替え作業領域に抽出し、差替え手段は、抽出した差替え元範囲内に格納された前記データに含まれる実データの種類と差替え先範囲内に格納された前記データに含まれる実データの種類とが一致する場合に、抽出した差替え先範囲内に格納されたデータを、抽出した差替え元範囲内に格納されたデータに差替える。このように、差替え対象の実データの種類に応じて一度に差替え作業領域に読み出すデータの差替え処理単位を変えるので、実データの種類に応じて適切な差替え処理を行うことができる。   With the above configuration, the input accepting unit accepts input of replacement target type information representing the type of data to be replaced as replacement information, and the analyzing unit replaces each replacement processing unit set in advance according to the replacement target type information. The data stored in each of the original range and the replacement destination range is extracted into a replacement work area for replacement, and the replacement means is the type of the actual data included in the data stored in the extracted replacement source range And the actual data type included in the data stored in the replacement destination range match the data stored in the extracted replacement destination range to the data stored in the extracted replacement source range. Replace. As described above, since the replacement processing unit of data to be read into the replacement work area at a time is changed according to the type of real data to be replaced, appropriate replacement processing can be performed according to the type of actual data.

(付記3)
付記2に記載の情報処理装置であって、
前記解析手段は、前記差替え対象種類情報が示すデータの種類に映像データが含まれる場合、少なくとも所定単位の映像データを含む複数の前記データを前記差替え処理単位として、前記差替え元範囲内と前記差替え先範囲内とのそれぞれから前記差替え作業領域に抽出する、
情報処理装置。
(Appendix 3)
An information processing apparatus according to appendix 2, wherein
When the video data is included in the type of data indicated by the replacement target type information, the analysis means uses the plurality of data including at least a predetermined unit of video data as the replacement processing unit and the replacement source range and the replacement Extract into the replacement work area from each of the previous ranges,
Information processing device.

上記構成により、解析手段は、差替え対象種類情報が示すデータの種類に映像データが含まれる場合、少なくとも所定単位の映像データを含む複数のデータを差替え処理単位として、差替え元範囲内と差替え先範囲内とのそれぞれから差替え作業領域に抽出する。これによれば、差替え対象に映像データが含まれる場合には、映像データを含む複数のデータを一度に差替え作業領域に読み出して差替え処理を行うので効率的に差替えることができる。   With the above configuration, when the data type indicated by the replacement target type information includes video data, the analysis means uses a plurality of data including at least a predetermined unit of video data as a replacement processing unit, within the replacement source range and the replacement destination range. Extract into the replacement work area from each of the inside. According to this, when video data is included in the replacement target, a plurality of data including the video data is read into the replacement work area at a time and the replacement process is performed, so that replacement can be performed efficiently.

(付記4)
付記2または3に記載の情報処理装置であって、
前記解析手段は、前記差替え対象種類情報が示すデータの種類が音声データである場合、所定単位の音声データを前記差替え処理単位として、前記差替え元範囲内と前記差替え先範囲内とのそれぞれから前記差替え作業領域に抽出し、
前記差替え手段は、前記解析手段にて抽出した前記差替え先範囲内に格納された前記音声データを、抽出した前記差替え元範囲内に格納された前記音声データに差替える、
情報処理装置。
(Appendix 4)
The information processing apparatus according to appendix 2 or 3,
When the type of data indicated by the replacement target type information is audio data, the analysis unit sets the audio data of a predetermined unit as the replacement processing unit, and from each of the replacement source range and the replacement destination range. Extract to the replacement work area,
The replacement unit replaces the audio data stored in the replacement destination range extracted by the analysis unit with the audio data stored in the extracted replacement source range.
Information processing device.

上記構成により、解析手段は、差替え対象種類情報が示すデータの種類が音声データだけである場合、所定単位の音声データを差替え処理単位として、差替え元範囲内と差替え先範囲内とのそれぞれから差替え作業領域に抽出し、差替え手段は、抽出した差替え先範囲内に格納された音声データを、抽出した差替え元範囲内に格納された音声データに差替える。これにより、映像データに比べて小さい音声データを個々に差替えるので、差替え作業領域に一度に読み出すデータ量を小さくすることができ、効率的に差替え処理を行うことができる。   With the above configuration, when the type of data indicated by the replacement target type information is only audio data, the analysis unit replaces the audio data in a predetermined unit as a replacement processing unit from each of the replacement source range and the replacement destination range. Extracting into the work area, the replacement means replaces the voice data stored in the extracted replacement destination range with the voice data stored in the extracted replacement source range. Thus, since audio data smaller than the video data is individually replaced, the amount of data read into the replacement work area at a time can be reduced, and the replacement process can be performed efficiently.

(付記5)
付記1乃至4に記載の情報処理装置であって、
前記差替え元ファイルおよび前記差替え先ファイルは、MXF(Material Exchange Format)ファイルであり、
前記MXFファイル内に格納された所定単位のデータは、前記実データと、当該実データのデータ長と、当該実データの種類を識別する識別情報と、により表わされるKLV構造を有し、
前記解析手段は、前記差替え元範囲内および前記差替え先範囲内に格納された前記KLV構造により表わされる各データに含まれる前記識別情報を、前記実データの種類として取得する、
情報処理装置。
(Appendix 5)
An information processing apparatus according to appendices 1 to 4,
The replacement source file and the replacement destination file are MXF (Material Exchange Format) files,
The predetermined unit of data stored in the MXF file has a KLV structure represented by the actual data, the data length of the actual data, and identification information for identifying the type of the actual data,
The analysis means acquires the identification information included in each data represented by the KLV structure stored in the replacement source range and the replacement destination range as a type of the actual data.
Information processing device.

(付記6)
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付け、
入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得し、
取得した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える、
情報処理方法。
(Appendix 6)
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file,
Based on the replacement information that has received the input, each of the types of the actual data included in the data stored in the replacement source range and the replacement destination range, respectively,
The replacement is performed when the type of the actual data included in the data stored in the acquired replacement source range matches the type of the actual data included in the data stored in the replacement destination range. Replacing the data stored in the destination range with the data stored in the replacement source range;
Information processing method.

(付記7)
付記6に記載の情報処理方法であって、
前記差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、
前記差替え対象種類情報に応じて予め設定された差替え処理単位ごとに前記差替え元範囲内と前記差替え先範囲内とのそれぞれに格納された前記データを差替え用の差替え作業領域に抽出し、
抽出した前記差替え元範囲内の前記実データの種類と前記差替え先範囲内の前記実データの種類とが一致する場合に、抽出した前記差替え先範囲内に格納された前記データを、当該データと前記実データの種類が一致する、抽出した前記差替え元範囲内に格納された前記データに差替える、
情報処理方法。
(Appendix 7)
The information processing method according to attachment 6, wherein
Accepting input of replacement target type information indicating the type of replacement target data as the replacement information,
Extracting the data stored in each of the replacement source range and the replacement destination range for each replacement processing unit set in advance according to the replacement target type information into a replacement work area for replacement,
When the type of the actual data in the extracted replacement source range matches the type of the actual data in the replacement destination range, the data stored in the extracted replacement destination range is The actual data type matches, and is replaced with the extracted data stored in the replacement source range.
Information processing method.

(付記8)
情報処理装置に、
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付手段と、
前記入力受付手段にて入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得する解析手段と、
前記解析手段にて取得された前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える差替え手段と、
を実現させるためのプログラム。
(Appendix 8)
In the information processing device,
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file;
Analysis means for acquiring the types of the actual data included in the data stored in the replacement source range and the replacement destination range, based on the replacement information received by the input receiving means; ,
The type of the actual data included in the data stored in the replacement source range acquired by the analyzing unit matches the type of the actual data included in the data stored in the replacement destination range. A replacement means for replacing the data stored in the replacement destination range with the data stored in the replacement source range;
A program to realize

(付記9)
付記8に記載のプログラムであって、
前記入力受付手段は、前記差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、
前記解析手段は、前記差替え対象種類情報に応じて予め設定された差替え処理単位ごとに前記差替え元範囲内と前記差替え先範囲内とのそれぞれに格納された前記データを差替え用の差替え作業領域に抽出し、
前記差替え手段は、前記解析手段にて抽出した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、抽出した前記差替え先範囲内に格納された前記データを、抽出した前記差替え元範囲内に格納された前記データに差替える、
プログラム。
(Appendix 9)
The program according to attachment 8, wherein
The input receiving means receives an input of replacement target type information representing a type of replacement target data as the replacement information,
The analysis unit stores the data stored in the replacement source range and the replacement destination range for each replacement processing unit set in advance according to the replacement target type information in a replacement work area for replacement. Extract and
The replacement means includes a type of the actual data included in the data stored in the replacement source range extracted by the analysis means and the actual data included in the data stored in the replacement destination range. When the type matches, the extracted data stored in the replacement range is replaced with the extracted data stored in the replacement source range.
program.

1 情報処理装置
11 演算部
12 メモリ
13 入力部
14 出力部
15 記憶部
21 入力受付部
22 解析部
23 差替え部
31 差替え元ファイル
32 差替え先ファイル
101 情報処理装置
111 入力受付部
112 解析部
113 差替え部


DESCRIPTION OF SYMBOLS 1 Information processing apparatus 11 Operation part 12 Memory 13 Input part 14 Output part 15 Storage part 21 Input reception part 22 Analysis part 23 Replacement part 31 Replacement source file 32 Replacement destination file 101 Information processing apparatus 111 Input reception part 112 Analysis part 113 Replacement part


Claims (9)

実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付手段と、
前記入力受付手段にて入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得する解析手段と、
前記解析手段にて取得された前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える差替え手段と、
を備える情報処理装置。
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file;
Analysis means for acquiring the types of the actual data included in the data stored in the replacement source range and the replacement destination range, based on the replacement information received by the input receiving means; ,
The type of the actual data included in the data stored in the replacement source range acquired by the analyzing unit matches the type of the actual data included in the data stored in the replacement destination range. A replacement means for replacing the data stored in the replacement destination range with the data stored in the replacement source range;
An information processing apparatus comprising:
請求項1に記載の情報処理装置であって、
前記入力受付手段は、前記差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、
前記解析手段は、前記差替え対象種類情報に応じて予め設定された差替え処理単位ごとに前記差替え元範囲内と前記差替え先範囲内とのそれぞれに格納された前記データを差替え用の差替え作業領域に抽出し、
前記差替え手段は、前記解析手段にて抽出した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、抽出した前記差替え先範囲内に格納された前記データを、抽出した前記差替え元範囲内に格納された前記データに差替える、
情報処理装置。
The information processing apparatus according to claim 1,
The input receiving means receives an input of replacement target type information representing a type of replacement target data as the replacement information,
The analysis unit stores the data stored in the replacement source range and the replacement destination range for each replacement processing unit set in advance according to the replacement target type information in a replacement work area for replacement. Extract and
The replacement means includes a type of the actual data included in the data stored in the replacement source range extracted by the analysis means and the actual data included in the data stored in the replacement destination range. When the type matches, the extracted data stored in the replacement range is replaced with the extracted data stored in the replacement source range.
Information processing device.
請求項2に記載の情報処理装置であって、
前記解析手段は、前記差替え対象種類情報が示すデータの種類に映像データが含まれる場合、少なくとも所定単位の映像データを含む複数の前記データを前記差替え処理単位として、前記差替え元範囲内と前記差替え先範囲内とのそれぞれから前記差替え作業領域に抽出する、
情報処理装置。
An information processing apparatus according to claim 2,
When the video data is included in the type of data indicated by the replacement target type information, the analysis means uses the plurality of data including at least a predetermined unit of video data as the replacement processing unit and the replacement source range and the replacement Extract into the replacement work area from each of the previous ranges,
Information processing device.
請求項2または3に記載の情報処理装置であって、
前記解析手段は、前記差替え対象種類情報が示すデータの種類が音声データである場合、所定単位の音声データを前記差替え処理単位として、前記差替え元範囲内と前記差替え先範囲内とのそれぞれから前記差替え作業領域に抽出し、
前記差替え手段は、前記解析手段にて抽出した前記差替え先範囲内に格納された前記音声データを、抽出した前記差替え元範囲内に格納された前記音声データに差替える、
情報処理装置。
The information processing apparatus according to claim 2 or 3,
When the type of data indicated by the replacement target type information is audio data, the analysis unit sets the audio data of a predetermined unit as the replacement processing unit, and from each of the replacement source range and the replacement destination range. Extract to the replacement work area,
The replacement unit replaces the audio data stored in the replacement destination range extracted by the analysis unit with the audio data stored in the extracted replacement source range.
Information processing device.
請求項1乃至4に記載の情報処理装置であって、
前記差替え元ファイルおよび前記差替え先ファイルは、MXF(Material Exchange Format)ファイルであり、
前記MXFファイル内に格納された所定単位のデータは、前記実データと、当該実データのデータ長と、当該実データの種類を識別する識別情報と、により表わされるKLV構造を有し、
前記解析手段は、前記差替え元範囲内および前記差替え先範囲内に格納された前記KLV構造により表わされる各データに含まれる前記識別情報を、前記実データの種類として取得する、
情報処理装置。
The information processing apparatus according to claim 1, wherein
The replacement source file and the replacement destination file are MXF (Material Exchange Format) files,
The predetermined unit of data stored in the MXF file has a KLV structure represented by the actual data, the data length of the actual data, and identification information for identifying the type of the actual data,
The analysis means acquires the identification information included in each data represented by the KLV structure stored in the replacement source range and the replacement destination range as a type of the actual data.
Information processing device.
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付け、
入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得し、
取得した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える、
情報処理方法。
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file,
Based on the replacement information that has received the input, each of the types of the actual data included in the data stored in the replacement source range and the replacement destination range, respectively,
The replacement is performed when the type of the actual data included in the data stored in the acquired replacement source range matches the type of the actual data included in the data stored in the replacement destination range. Replacing the data stored in the destination range with the data stored in the replacement source range;
Information processing method.
請求項6に記載の情報処理方法であって、
前記差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、
前記差替え対象種類情報に応じて予め設定された差替え処理単位ごとに前記差替え元範囲内と前記差替え先範囲内とのそれぞれに格納された前記データを差替え用の差替え作業領域に抽出し、
抽出した前記差替え元範囲内の前記実データの種類と前記差替え先範囲内の前記実データの種類とが一致する場合に、抽出した前記差替え先範囲内に格納された前記データを、当該データと前記実データの種類が一致する、抽出した前記差替え元範囲内に格納された前記データに差替える、
情報処理方法。
An information processing method according to claim 6,
Accepting input of replacement target type information indicating the type of replacement target data as the replacement information,
Extracting the data stored in each of the replacement source range and the replacement destination range for each replacement processing unit set in advance according to the replacement target type information into a replacement work area for replacement,
When the type of the actual data in the extracted replacement source range matches the type of the actual data in the replacement destination range, the data stored in the extracted replacement destination range is The actual data type matches, and is replaced with the extracted data stored in the replacement source range.
Information processing method.
情報処理装置に、
実データと当該実データの種類とを対応付けた構造により表わされる所定単位のデータを複数含んで構成される差替え元ファイルおよび差替え先ファイルと、前記差替え元ファイルの差替え対象範囲である差替え元範囲および前記差替え先ファイルの差替え対象範囲である差替え先範囲とを含む差替え情報と、の入力を受け付ける入力受付手段と、
前記入力受付手段にて入力を受け付けた前記差替え情報に基づいて、前記差替え元範囲内および前記先替え先範囲内に格納された前記データに含まれる前記実データの種類をそれぞれ取得する解析手段と、
前記解析手段にて取得された前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、前記差替え先範囲内に格納された前記データを、前記差替え元範囲内に格納された前記データに差替える差替え手段と、
を実現させるためのプログラム。
In the information processing device,
Replacement source file and replacement destination file including a plurality of data of a predetermined unit represented by a structure in which actual data and the type of the actual data are associated, and a replacement source range that is a replacement target range of the replacement source file And replacement information including a replacement destination range that is a replacement target range of the replacement destination file;
Analysis means for acquiring the types of the actual data included in the data stored in the replacement source range and the replacement destination range, based on the replacement information received by the input receiving means; ,
The type of the actual data included in the data stored in the replacement source range acquired by the analyzing unit matches the type of the actual data included in the data stored in the replacement destination range. A replacement means for replacing the data stored in the replacement destination range with the data stored in the replacement source range;
A program to realize
請求項8に記載のプログラムであって、
前記入力受付手段は、前記差替え情報として差替え対象のデータの種類を表す差替え対象種類情報の入力を受け付け、
前記解析手段は、前記差替え対象種類情報に応じて予め設定された差替え処理単位ごとに前記差替え元範囲内と前記差替え先範囲内とのそれぞれに格納された前記データを差替え用の差替え作業領域に抽出し、
前記差替え手段は、前記解析手段にて抽出した前記差替え元範囲内に格納された前記データに含まれる前記実データの種類と前記差替え先範囲内に格納された前記データに含まれる前記実データの種類とが一致する場合に、抽出した前記差替え先範囲内に格納された前記データを、抽出した前記差替え元範囲内に格納された前記データに差替える、
プログラム。
The program according to claim 8, wherein
The input receiving means receives an input of replacement target type information representing a type of replacement target data as the replacement information,
The analysis unit stores the data stored in the replacement source range and the replacement destination range for each replacement processing unit set in advance according to the replacement target type information in a replacement work area for replacement. Extract and
The replacement means includes a type of the actual data included in the data stored in the replacement source range extracted by the analysis means and the actual data included in the data stored in the replacement destination range. When the type matches, the extracted data stored in the replacement range is replaced with the extracted data stored in the replacement source range.
program.
JP2012282427A 2012-12-26 2012-12-26 Information processing device Active JP6075060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012282427A JP6075060B2 (en) 2012-12-26 2012-12-26 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012282427A JP6075060B2 (en) 2012-12-26 2012-12-26 Information processing device

Publications (2)

Publication Number Publication Date
JP2014127806A true JP2014127806A (en) 2014-07-07
JP6075060B2 JP6075060B2 (en) 2017-02-08

Family

ID=51407010

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012282427A Active JP6075060B2 (en) 2012-12-26 2012-12-26 Information processing device

Country Status (1)

Country Link
JP (1) JP6075060B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111435A (en) * 2014-12-03 2016-06-20 株式会社東芝 Recording apparatus and recording method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006333330A (en) * 2005-05-30 2006-12-07 Sony Corp Data processing method, and apparatus and program
JP2010211572A (en) * 2009-03-11 2010-09-24 Nec Corp Mxf data retrieval device, mxf data retrieval method, and mxf data retrieval program
JP2012195893A (en) * 2011-03-17 2012-10-11 Toshiba Corp Video server device and video editing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006333330A (en) * 2005-05-30 2006-12-07 Sony Corp Data processing method, and apparatus and program
JP2010211572A (en) * 2009-03-11 2010-09-24 Nec Corp Mxf data retrieval device, mxf data retrieval method, and mxf data retrieval program
JP2012195893A (en) * 2011-03-17 2012-10-11 Toshiba Corp Video server device and video editing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016111435A (en) * 2014-12-03 2016-06-20 株式会社東芝 Recording apparatus and recording method

Also Published As

Publication number Publication date
JP6075060B2 (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN107591149B (en) Audio synthesis method, device and storage medium
CN105810211B (en) A kind of processing method and terminal of audio data
CN106688035B (en) Speech synthesis device and speech synthesis method
CN109558479A (en) Rule matching method, device, equipment and storage medium
US9183837B2 (en) Apparatus and method for determining bit rate for audio content
CN110110136A (en) Text-sound matching method, electronic equipment and storage medium
CN112347142B (en) Data processing method and device
US20090045987A1 (en) Method and apparatus for encoding/decoding metadata
US10394763B2 (en) Method and device for generating pileup file from compressed genomic data
CN110716739A (en) Code change information statistical method, system and readable storage medium
CN110019923A (en) The lookup method and device of speech message
JP6075060B2 (en) Information processing device
CN111611788A (en) Data processing method and device, electronic equipment and storage medium
CN110517656B (en) Lyric rhythm generation method, device, storage medium and apparatus
CN110992933A (en) Audio processing method, device, terminal and computer readable storage medium
CN109828764A (en) Generation, method for burn-recording and its equipment of recordable paper
CN108133012B (en) Label setting method and device
KR101165201B1 (en) Conversion server for a contents providing system
JP2008243074A (en) Device, method, and program for retrieving document
US20230197114A1 (en) Storage apparatus, playback apparatus, storage method, playback method, and medium
JP5644244B2 (en) Document processing apparatus, document processing method, and program
US20230153683A1 (en) Information processing method, information processing apparatus, and information processing program
JP2003331309A5 (en)
CN105446950B (en) A kind of output method of excel file datas
CN103873459B (en) Automatic message generating method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161128

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161226

R150 Certificate of patent or registration of utility model

Ref document number: 6075060

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150