JP4548226B2 - Data processing method, apparatus and program thereof - Google Patents
Data processing method, apparatus and program thereof Download PDFInfo
- Publication number
- JP4548226B2 JP4548226B2 JP2005157318A JP2005157318A JP4548226B2 JP 4548226 B2 JP4548226 B2 JP 4548226B2 JP 2005157318 A JP2005157318 A JP 2005157318A JP 2005157318 A JP2005157318 A JP 2005157318A JP 4548226 B2 JP4548226 B2 JP 4548226B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- klv
- processing
- storage area
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Storage Device Security (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
本発明は、コンテンツデータと当該コンテンツデータの属性を示す属性データとが混在したデータを処理するデータ処理方法、その装置およびプログラムに関する。 The present invention relates to a data processing method, apparatus, and program for processing data in which content data and attribute data indicating attributes of the content data are mixed.
ビデオデータやオーディオデータのファイル交換フォーマットの一つに、MXF(Material eXchange Format)がある。
MXFは、複数のパックデータPACKで構成され、各パックデータPACKにはフレームデータの属性を示すインデックスデータINDEXと、単数または複数のフレームデータが含まれる。
また、各フレームデータには、システムデータ、ピクチャデータおよびサウンドデータが含まれる。
ところで、パーソナルコンピュータなどのコンピュータでは、MXF形式のファイルデータをダウンロードした後に、それを再生および編集する。
この場合に、コンピュータでは、MXF形式のファイルデータをトレースして、ピクチャデータを取り出し、これをピクチャファイル内に格納する。
また、コンピュータは、上記ピクチャファイルを解析して、ピクチャデータのGOP関連データなどの属性データを生成して管理する。
その後、コンピュータは、上記ピクチャファイルおよび属性データを基に、再生および編集などの処理を行う。
MXF (Material eXchange Format) is one of file exchange formats for video data and audio data.
MXF is composed of a plurality of pack data PACKs, and each pack data PACK includes index data INDEX indicating the attribute of the frame data and one or a plurality of frame data.
Each frame data includes system data, picture data, and sound data.
By the way, in a computer such as a personal computer, MXF file data is downloaded and then reproduced and edited.
In this case, the computer traces the MXF format file data, extracts the picture data, and stores it in the picture file.
The computer analyzes the picture file and generates and manages attribute data such as GOP related data of the picture data.
Thereafter, the computer performs processing such as reproduction and editing based on the picture file and the attribute data.
しかしながら、上述したシステムでは、ダウンロードしたMXFのファイルデータ全体をトレースしてピクチャデータの分離処理を行い、その後、分離したピクチャデータの解析処理を終了した後でないと、再生および編集を開始できない。
そのため、ファイルデータをダウンロードしてから再生および編集を開始できるまでに長時間を要するという問題がある。
However, in the system described above, the entire MXF file data downloaded is traced to perform the picture data separation process, and then the separated picture data analysis process must be completed before playback and editing can be started.
Therefore, there is a problem that it takes a long time after the file data is downloaded until playback and editing can be started.
本発明は、上述した従来技術の問題点に鑑みてなされ、コンテンツデータと当該コンテンツデータの属性を示す属性データとが混在したデータを用いて、前記属性データを基にした前記コンテンツデータの処理を従来に比べて早いタイミングで開始することを可能とするデータ処理方法、その装置およびプログラムを提供することを目的とする。 The present invention has been made in view of the above-described problems of the prior art, and uses the data in which content data and attribute data indicating the attribute of the content data are mixed to process the content data based on the attribute data. It is an object of the present invention to provide a data processing method, an apparatus thereof, and a program that can be started at an earlier timing than conventional.
上述した従来技術の問題点を解決するために、第1の観点の発明のデータ処理方法は、データの種類を示すキーKと、データの長さを示すデータ長Lと、データ本体を示すデータVとの2つの値の組を1単位とするKLVデータを複数含むファイルデータを処理するデータ処理装置のデータ処理方法であって、前記データ処理装置の解析手段が、前記ファイルデータをKLVデータ単位で読み出す第1の工程と、前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが符号化画像データに関するものであるか否かを判定する第2の工程と、前記第2の工程において、前記KLVデータが符号化画像データに関するものであると判定された場合に、前記データ処理装置の第1処理手段が、当該KLVデータのデータ長Lを第1の記憶領域に格納する第3の工程と、前記第1処理手段が、前記第3の工程における前記KLVデータのデータVを第2の記憶領域に格納する第4の工程と、前記第2の工程において、前記KLVデータが符号化画像データに関するものではないと判定された場合に、前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが前記符号化画像データの属性を示すインデックスデータに関するものであるか否かを判定する第5の工程と、前記第5の工程において、前記KLVデータがインデックスデータに関するものであると判定された場合に、前記データ処理装置の第2処理手段が、当該インデックスデータを前記第1の記憶領域に格納する第6の工程と、前記ファイルデータの全てのKLVデータに対して前記第1から第6の工程が実行されたことを条件に、前記データ処理装置の処理回路が、前記第1の記憶領域に記憶されたデータを基に前記第2の記憶領域に格納された符号化画像データであるデータVの再生及び/または編集処理を行う第7の工程と、を有する。 In order to solve the above-described problems of the prior art, the data processing method according to the first aspect of the invention includes a key K indicating the type of data, a data length L indicating the length of the data, and data indicating the data body. A data processing method of a data processing apparatus for processing file data including a plurality of KLV data in which a set of two values of V is a unit, wherein the analysis means of the data processing apparatus converts the file data into KLV data units And a second step in which the analyzing means determines whether or not the KLV data relates to encoded image data based on the key K of the read KLV data, and In the second step, when it is determined that the KLV data is related to the encoded image data, the first processing means of the data processing device stores the data of the KLV data. A third step of storing L in the first storage area; a fourth step in which the first processing means stores the data V of the KLV data in the third step in the second storage area; In the second step, when it is determined that the KLV data is not related to the encoded image data, the analyzing means converts the KLV data into the encoded data based on the key K of the read KLV data. A fifth step of determining whether or not the data relates to index data indicating an attribute of image data; and in the fifth step, if it is determined that the KLV data is related to index data, the data The second processing means of the processing device stores a sixth step of storing the index data in the first storage area, and all KLV data of the file data. On the condition that the first to sixth steps are executed, the processing circuit of the data processing device is stored in the second storage area based on the data stored in the first storage area. A seventh step of performing reproduction and / or editing processing of the data V which is the encoded image data.
第2の観点の発明のデータ処理装置は、データの種類を示すキーKと、データの長さを示すデータ長Lと、データ本体を示すデータVとの2つの値の組を1単位とするKLVデータを複数含むファイルデータを処理するデータ処理装置であって、前記ファイルデータをKLVデータ単位で読み出し解析を行う解析手段と、符号化画像データであるKLVデータのデータVを第2の記憶領域に格納する第1処理手段と、符号化画像データであるKLVデータのデータ長L及び前記符号化画像データの属性を示すインデックスデータであるKLVデータのデータVを第1の記憶領域に格納する第2処理手段と、前記第1の記憶領域に記憶されたデータを基に前記第2の記憶領域に格納された符号化画像データであるデータVの再生及び/または編集処理を行う処理回路と、を有し、前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが符号化画像データに関するものであるか否かを判定し、前記KLVデータが符号化画像データに関するものであると判定された場合に、前記第1処理手段が、当該KLVデータのデータ長Lを第1の記憶領域に格納し、前記第1処理手段が、前記KLVデータのデータVを第2の記憶領域に格納し、前記KLVデータが符号化画像データに関するものではないと判定された場合に、前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが前記符号化画像データの属性を示すインデックスデータに関するものであるか否かを判定し、前記KLVデータがインデックスデータに関するものであると判定された場合に、当該インデックスデータを前記第1の記憶領域に格納する。The data processing apparatus according to the second aspect of the present invention uses a set of two values of a key K indicating the type of data, a data length L indicating the data length, and data V indicating the data body as one unit. A data processing apparatus for processing file data including a plurality of KLV data, wherein the file data is read and analyzed in units of KLV data, and the data V of the KLV data as encoded image data is stored in a second storage area. A first processing means for storing the data, a data length L of the KLV data which is the encoded image data, and a data V of the KLV data which is the index data indicating the attribute of the encoded image data in the first storage area. 2 processing means and reproduction and / or editing of data V which is encoded image data stored in the second storage area based on the data stored in the first storage area A processing circuit that performs processing, and the analysis means determines whether the KLV data relates to encoded image data based on the key K of the read KLV data, and the KLV data Is determined to be related to encoded image data, the first processing means stores the data length L of the KLV data in a first storage area, and the first processing means stores the KLV data. Data V is stored in the second storage area, and when it is determined that the KLV data is not related to the encoded image data, the analysis means performs the processing based on the key K of the read KLV data. It is determined whether or not the KLV data relates to index data indicating the attribute of the encoded image data, and the KLV data relates to index data. If it is a constant, and stores the index data in the first storage area.
第3の観点の発明のプログラムは、データの種類を示すキーKと、データの長さを示すデータ長Lと、データ本体を示すデータVとの2つの値の組を1単位とするKLVデータを複数含むファイルデータを処理するデータ処理装置が有するコンピュータの実行するプログラムであって、前記ファイルデータをKLVデータ単位で読み出す第1の手順と、前記読み出したKLVデータのキーKを基に、当該KLVデータが符号化画像データに関するものであるか否かを判定する第2の手順と、前記第2の手順において、前記KLVデータが符号化画像データに関するものであると判定された場合に、当該KLVデータのデータ長Lを第1の記憶領域に格納する第3の手順と、前記第3の手順における前記KLVデータのデータVを第2の記憶領域に格納する第4の手順と、前記第2の手順において、前記KLVデータが符号化画像データに関するものではないと判定された場合に、前記読み出したKLVデータのキーKを基に、当該KLVデータが前記符号化画像データの属性を示すインデックスデータに関するものであるか否かを判定する第5の手順と、前記第5の手順において、前記KLVデータがインデックスデータに関するものであると判定された場合に、当該インデックスデータを前記第1の記憶領域に格納する第6の手順と、前記ファイルデータの全てのKLVデータに対して前記第1から第6の手順が実行されたことを条件に、前記第1の記憶領域に記憶されたデータを基に前記第2の記憶領域に格納された符号化画像データであるデータVの再生及び/または編集処理を行う第7の手順と、を前記コンピュータに実行させる。 The program according to the third aspect of the invention provides a KLV data in which a set of two values of a key K indicating a data type, a data length L indicating a data length, and data V indicating a data body is taken as one unit. Is a program executed by a computer included in a data processing apparatus that processes file data including a plurality of data, based on a first procedure for reading the file data in units of KLV data and a key K of the read KLV data. A second procedure for determining whether or not the KLV data is related to encoded image data; and in the second procedure, when it is determined that the KLV data is related to encoded image data, A third procedure for storing the data length L of the KLV data in the first storage area, and a second storage area for the data V of the KLV data in the third procedure. When the KLV data is determined not to be related to the encoded image data in the fourth procedure stored in the second procedure and the second procedure, the KLV data is based on the key K of the read KLV data. Is determined to be related to index data indicating the attribute of the encoded image data, and the KLV data is determined to be related to index data in the fifth procedure. In addition, on condition that the sixth procedure for storing the index data in the first storage area and the first to sixth procedures are executed for all the KLV data of the file data, A process of reproducing and / or editing data V, which is encoded image data stored in the second storage area, based on the data stored in the first storage area A seventh procedure for, the causes the computer to perform.
本発明によれば、コンテンツデータと当該コンテンツデータの属性を示す属性データとが混在したデータを用いて、前記属性データを基にした前記コンテンツデータの処理を従来に比べて早いタイミングで開始することを可能とするデータ処理方法、その装置およびプログラムを提供することができる。 According to the present invention, processing of the content data based on the attribute data is started at an earlier timing than before using data in which content data and attribute data indicating the attribute of the content data are mixed. Can provide a data processing method, an apparatus thereof, and a program.
以下、本発明の実施形態について説明する。
先ず、本発明の構成と、本実施形態の構成との対応関係を説明する。
本実施形態のピクチャデータが本発明のコンテンツデータの一例である。
また、本実施形態のKLVデータのデータL、並びにインデックスデータINDEXが本発明の属性データの一例である。
図8に示すステップST11が本発明の第1の工程の一例であり、ステップST14が本発明の第2の工程の一例であり、ステップST13,ST16が本発明の第3の工程の一例である。
また、図5に示すMXF解析部31が本発明の検出手段の一例であり、ピクチャ構成部32が本発明のコンテンツ処理手段の一例であり、インデックス構成部33が本発明の属性処理手段の一例である。
また、図5に示すプログラムPRGが本発明のプログラムの一例である。
Hereinafter, embodiments of the present invention will be described.
First, the correspondence between the configuration of the present invention and the configuration of the present embodiment will be described.
The picture data of this embodiment is an example of the content data of the present invention.
Further, the data L of the KLV data and the index data INDEX of the present embodiment are examples of attribute data of the present invention.
Step ST11 shown in FIG. 8 is an example of the first process of the present invention, step ST14 is an example of the second process of the present invention, and steps ST13 and ST16 are an example of the third process of the present invention. .
The
A program PRG shown in FIG. 5 is an example of the program of the present invention.
図1に示すコンピュータ4の概要を説明する。
図5に示すように、コンピュータ4は、FTPサーバ3からダウンロードしたMXFのファイルデータFILEを入力MXF用メモリ22に格納する。
そして、処理回路23のMXF解析部31が、ファイルデータFILEを構成するKLVデータのキーKを基に、ピクチャデータを格納したKLVデータのデータL,Vをピクチャ構成部32に出力し、インデックスデータINDEXを格納したKLVデータのデータVをインデックス構成部33に出力する。
ピクチャ構成部32は、ピクチャデータであるデータVをピクチャメモリ24に記憶された画像ファイルデータIFDに追加する。
また、ピクチャ構成部32は、ピクチャデータのデータLを基にインデックスメモリ25に記憶された属性管理データPMDを更新する。
また、インデックス構成部33は、MXF解析部31から入力したKLVデータのデータV(インデックスデータINDEX)を基に、上記属性管理データPMDを更新する。
すなわち、コンピュータ4では、画像ファイルデータIFDの生成と並行して、属性管理データPMDの生成(更新)を行う。
An outline of the
As shown in FIG. 5, the
Then, the
The
Also, the
Further, the
That is, the
以下、各図面を基に、通信システム1について詳細に説明する。
図1は、本発明の実施形態に係わる通信システム1の全体構成図である。
図1に示すように、通信システム1は、例えば、FTP(File Transfer Protorol)サーバ3およびコンピュータ4を有し、これらがネットワーク2を介して通信する。
Hereinafter, the
FIG. 1 is an overall configuration diagram of a
As shown in FIG. 1, the
[MXFのファイルFILE]
先ず、通信システム1で用いられるMXFのファイルデータFILEについて説明する。
図2は、図1に示す通信システム1で用いられるMXFフォーマットのファイルデータFILEを説明するための図である。
MXFは、SMPTE(Society of Motion Picture & Television Engineers: 米国映画テレビ技術者協会)より発行されているSMPTE−377Mで規定されている規格である。
ProMPEGフォーラムで検討されたこの規格は、主に業務用途機器での相互互換性を目的とした映像コンテンツ用フォーマットであり、映像データ・音声データ・メタデータを1つのファイルにまとめることができること、映像データ・音声データのコーデックに依存しないことを特徴としており、デジタルアーカイブ、コンテンツ配信、ノンリニア編集等の用途に使用されている。
[MXF file FILE]
First, the MXF file data FILE used in the
FIG. 2 is a diagram for explaining file data FILE in the MXF format used in the
MXF is a standard defined in SMPTE-377M published by SMPTE (Society of Motion Picture & Television Engineers).
This standard, studied at the ProMPEG Forum, is a video content format mainly for the purpose of interoperability with business-use devices, and that video data, audio data, and metadata can be combined into a single file. It is characterized by not depending on the codec of data / audio data, and is used for applications such as digital archiving, content distribution, and nonlinear editing.
図2に示すように、ファイルデータFILEは、ヘッダデータHEADER、ボディデータBODYおよびフッタデータFOOTERで構成される。
ヘッダデータHEADERは、ヘッダパーティションパックHPPおよびメタデータMETAなどで構成される。
ヘッダパーティションパックHPPは、ファイルデータFILE全体に対しての属性データを示す。
ヘッダパーティションパックHPPは、例えば、Closed partitionを示す場合には、ファイルデータFILEに含まれるフレームデータの数であるフレーム数をメタデータMETA内で示すことができる。
As shown in FIG. 2, the file data FILE includes header data HEADER, body data BODY, and footer data FOTER.
The header data HEADER includes a header partition pack HPP and metadata META.
The header partition pack HPP shows attribute data for the entire file data FILE.
For example, when the header partition pack HPP indicates a Closed partition, the number of frames, which is the number of frame data included in the file data FILE, can be indicated in the metadata META.
メタデータMETAは、ボディデータBODYに格納されたフレームデータ(ビデオデータおよびオーディオデータ)の符号化方式、当該フレームデータの内容に関するキーワード、タイトル、識別データ、編集データ、作成時データ、編集時データなどの属性を示す。
また、メタデータMETAは、その他、例えば、フレームデータに関するタイムコード、欠落フレームデータを特定するためのデータ、上記フレーム数(Duration)などを含む。
The metadata META is an encoding method of frame data (video data and audio data) stored in the body data BODY, keywords related to the contents of the frame data, title, identification data, editing data, creation data, editing data, etc. Indicates the attribute.
In addition, the metadata META includes, for example, a time code related to frame data, data for specifying missing frame data, the number of frames (Duration), and the like.
ボディデータBODYは、複数のパックデータPACKで構成される。
パックデータPACKは、ボディーパーティションパックBPPによって区分けされている。
パックデータPACKの各々は、図2に示すように、インデックスデータINDEXと、単数または複数の複数の編集ユニットデータEUを含む。
The body data BODY is composed of a plurality of pack data PACK.
The pack data PACK is classified by the body partition pack BPP.
Each pack data PACK includes index data INDEX and one or a plurality of editing unit data EU as shown in FIG.
インデックスデータINDEXは、当該インデックスデータINDEXが格納されたパックデータPACKの一つ前のパックデータPACK内の編集ユニットデータEU内のフレームのGOP(Group Of Pictures)関連データを含む。
GOP関連データは、例えば、フレーム番号(Frame Number)、テンポラルオフセット(Temporal Offset)、キーフレームオフセット(Key Frame Offset)およびフラグ(Flags)などを示している。
フレーム番号は、対象となるフレームを識別するために付けられた番号を示す。
テンポラルオフセットは、図3に示すように、表示順から符号化順までの編集ユニットデータEU内でのオフセットを示す。
キーフレームオフセットは、キーフレームまでの編集ユニットデータEU内でのオフセットを示す。
フラグは、フレームデータがI Frame (Intra Frame:フレーム内符号化)か、前(過去)のI Frameとの相関性を利用したタイプをP Frame(Predicted Frame:順方向予測符号化)、前後(過去と未来)のI Frameとの相関性を使って圧縮したフレームをB Frame(Bi-directional predicted Frame:双方向予測符号化)といったI/P/Bフレーム情報フレームがI,P,Bの何れであるかを示す。
The index data INDEX includes GOP (Group Of Pictures) related data of a frame in the editing unit data EU in the pack data PACK immediately before the pack data PACK in which the index data INDEX is stored.
The GOP related data indicates, for example, a frame number, a temporal offset, a key frame offset, and a flag.
The frame number indicates a number assigned to identify a target frame.
As shown in FIG. 3, the temporal offset indicates an offset in the editing unit data EU from the display order to the encoding order.
The key frame offset indicates an offset within the editing unit data EU up to the key frame.
The flag indicates whether the frame data is I Frame (Intra Frame: intra-frame coding) or the type using the correlation with the previous (past) I Frame, P Frame (Predicted Frame: forward predictive coding), before and after ( I / P / B frame information frame such as B Frame (Bi-directional predicted Frame) is a frame compressed using the correlation with I Frame of the past and future). Indicates whether or not
上述した例では、インデックスデータINDEXが、当該インデックスデータINDEXが格納されたパックデータPACK内の編集ユニットデータEUのフレームデータのGOP関連データを示す場合を例示したが、当該インデックスデータINDEXが格納されたパックデータPACK内のフレームデータのGOP関連データを示してもよい。 In the above-described example, the case where the index data INDEX indicates the GOP related data of the frame data of the editing unit data EU in the pack data PACK in which the index data INDEX is stored is illustrated, but the index data INDEX is stored. The GOP related data of the frame data in the pack data PACK may be indicated.
編集ユニットデータEUの各々は、図2に示すように、1フレーム分のビデオデータPICおよびオーディオデータSOUと、これらの属性を示すシステムデータSYSとを含む。
システムデータSYSは、例えば、ビデオデータPICおよびオーディオデータSOUのフォーマットや種別を示す。
システムデータSYSは、例えば、MXF_Dのフォーマット(例えば、SMPTEで規格化されたD10)、並びにそのフォーマット内で種別(例えば、SMPTEで規格化されたIMX50_625,IMX40_625,IMX30_625,IMX50_525,IMX40_525,IMX30_525など)を示す。
システムデータSYSは、上記以外に、例えば、符号化方式、タイムコード、データMXF_Dの識別データであるUMID(Unique Material IDentifier)などを示す。
As shown in FIG. 2, each of the editing unit data EU includes video data PIC and audio data SOU for one frame, and system data SYS indicating these attributes.
The system data SYS indicates, for example, the format and type of the video data PIC and the audio data SOU.
The system data SYS is, for example, the MXF_D format (for example, D10 standardized by SMPTE), and the type (for example, IMX50_625, IMX40_625, IMX30_625, IMX50_525, IMX40_525, IMX30_525, etc., standardized by SMPTE). Indicates.
In addition to the above, the system data SYS indicates, for example, an encoding method, a time code, UMID (Unique Material IDentifier) that is identification data of the data MXF_D, and the like.
ビデオデータPICは、MPEG(Moving Picture Experts Group)などで符号化されたビデオデータである。
オーディオデータSOUは、AES(Audio Engineering Society) 3などで符号化されたオーディオデータである。
このように、ファイルデータFILEは、ビデオデータPICとオーディオデータSOUとがインターリーブされた状態(混在した状態)で格納する。
The video data PIC is video data encoded by MPEG (Moving Picture Experts Group) or the like.
The audio data SOU is audio data encoded by AES (Audio Engineering Society) 3 or the like.
As described above, the file data FILE is stored in a state where the video data PIC and the audio data SOU are interleaved (mixed state).
フッタデータFOOTERは、ファイルデータFILEの終端を示す識別データを含む。 The footer data FOTER includes identification data indicating the end of the file data FILE.
例えば、上述した編集ユニットデータEUを構成するビデオデータPIC、オーディオデータSOU、並びにシステムデータSYSは、例えば、単数または複数のKLVデータで構成される。
図4は、KLVデータを説明するための図である。
図4に示すように、KLVデータは、キーK、データ長LおよびデータVで構成される。
キーK、データ長Lは、各々固定長のデータであり、キーKは例えばデータVの内容(種類)の識別データであり、データ長LはデータVのデータ長を示す。
また、データVは、データ本体を示す。
KLVデータは、データ(V)としてKLVデータを用いることができる。
KLVデータの解析処理を行なうには、固定長のキーKを読み込んでデータ種類の判別を行って、固定長のデータLを読み込んでデータVの長さを割り出して、その長さ分だけデータVとして読み込んで処理をする。
そして、上記K,L,Vの単位での3処理をファイルの先頭から順に終了まで繰り返すことにより、KLVデータ全体を解析することができる。
MXFのファイルFILEは、上述したKLVデータで構成されるため、その基本的な解析処理は上述したKLVデータの解析処理と同様に行なうことができる。
For example, the video data PIC, the audio data SOU, and the system data SYS that constitute the editing unit data EU described above are composed of, for example, a single or a plurality of KLV data.
FIG. 4 is a diagram for explaining the KLV data.
As shown in FIG. 4, the KLV data includes a key K, a data length L, and data V.
The key K and the data length L are each fixed-length data, the key K is identification data of the content (type) of the data V, for example, and the data length L indicates the data length of the data V.
Data V indicates a data body.
The KLV data can be KLV data as data (V).
In order to perform analysis processing of KLV data, the fixed-length key K is read to determine the data type, the fixed-length data L is read to determine the length of the data V, and the data V corresponding to the length is read. Read and process.
The entire KLV data can be analyzed by repeating the above three processes in units of K, L, and V in order from the beginning of the file to the end.
Since the MXF file FILE is composed of the above KLV data, the basic analysis process can be performed in the same manner as the above KLV data analysis process.
〔FTPサーバ3〕
FTPサーバ3は、上述したMXFのファイルデータFILEを、ネットワーク2を介してコンピュータ4に送信する。
[FTP server 3]
The
〔コンピュータ4〕
コンピュータ4では、FTPサーバ3からMXFデータをダウンロードし、その再生処理および編集処理を行う。
図5は、図1に示すコンピュータ4の構成図である。
図5に示すように、コンピュータ4は、例えば、インターフェース21、入力MXF用メモリ22、処理回路23、ピクチャメモリ24、インデックスメモリ25、ディスプレイ26、メモリ27および操作部28を有する。
[Computer 4]
The
FIG. 5 is a block diagram of the
As shown in FIG. 5, the
インターフェース21は、図1に示すFTPサーバ3からネットワーク2を介してMXFのファイルデータFILEを受信する。
入力MXF用メモリ22は、インターフェース21が受信した上記MXFのファイルデータFILEを記憶する。
The
The input MXF memory 22 stores the MXF file data FILE received by the
処理回路23は、例えば、メモリ27から読み出したプログラムPRGを実行して、図5に示すMXF解析部31、ピクチャ構成部32、インデックス構成部33、並びに再生・編集部34を実現する。
For example, the processing circuit 23 executes the program PRG read from the
MXF解析部31は、入力MXF用メモリ22から読み出したMXF形式のファイルデータFILEをトレースして、その解析処理を行う。
具体的には、MXF解析部31は、ファイルデータFILEを構成するKLVデータの固定長のキーKを読み込んでデータ種類の判別を行って、固定長のデータLを読み込んでデータVの長さを割り出して、その長さ分だけデータVとして読み込んで処理する。
そして、MXF解析部31は、上記読み込んだKVLデータのキーKがピクチャデータを示す場合に、そのKLVデータのデータLと、データV(ピクチャデータ)とをピクチャ構成部32に出力する。
このとき、MXF解析部31は、KLVデータのデータLを基に、それに続く当該データ長V分のピクチャデータをデータVとしてピクチャ構成部32に出力する。
The
Specifically, the
Then, when the key K of the read KVL data indicates picture data, the
At this time, based on the data L of the KLV data, the
また、MXF解析部31は、読み込んだKLVデータのキーKがインデックスデータINDEXであることを示す場合に、当該KLVデータのデータLに続くデータ長L分のデータをデータV(インデックスデータINDEX)として、インデックス構成部33に出力する。
Further, when the
また、MXF解析部31は、読み込んだKLVデータのキーKが、ピクチャデータおよびインデックスデータINDEXのいずれでもない場合には、データLを基に、そのKLVデータの次のKLVデータのキーKを判断する。
Further, when the key K of the read KLV data is neither the picture data nor the index data INDEX, the
MXF解析部31は、上述したKLVデータの処理をファイルデータFILEの先頭から順に終了まで繰り返すことにより、ファイルデータFILE全体を解析する。
The
ピクチャ構成部32は、MXF解析部31からピクチャデータのデータLとVとを入力する。
ピクチャ構成部32は、図6に示すように、各対象ピクチャデータについて、MXF解析部31から入力したデータLが示すデータ長を先頭ピクチャデータから対象ピクチャデータの一つ前のピクチャデータを累積してピクチャオフセット(Picture Offset)を算出し、これをインデックスメモリ25に記憶された図6に示す属性管理データPMD内の当該対象ピクチャデータに対応付けられた項目に格納する。
また、ピクチャ構成部32は、図6に示すように、各対象ピクチャデータのデータLを、ピクチャサイズ(Picture Size)として、図6に示す属性管理データPMD内の当該対象ピクチャデータに対応付けられた項目に格納する。
The
As shown in FIG. 6, the
Further, as shown in FIG. 6, the
また、ピクチャ構成部32は、MXF解析部31から入力したデータV(ピクチャデータ)を、図7に示すように、ピクチャメモリ24に格納された画像ファイルデータIFDに追加する。
Also, the
インデックス構成部33は、MXF解析部31から入力したインデックスデータINDEXが示す前述したGOP関連データを、インデックスメモリ25に記憶された図6に示す属性管理データPMDに登録する。
すなわち、インデックス構成部33は、上記GOP関連データが示すフレーム番号(Frame Number)、テンポラルオフセット(Temporal Offset)、キーフレームオフセット(Key Frame Offset)、フラグ(Flags)を、上記属性管理データPMD内の対応する項目に格納する。
The
That is, the
再生・編集部34は、ユーザによる操作に応じた操作信号を操作部28から入力し、当該操作信号と、インデックスメモリ25に記憶された図6に示す属性管理データPMDとを基に、ピクチャメモリ24に記憶された画像ファイルデータIFDの再生処理(復号処理)を行い、それによって得た画像をディスプレイ26に出力する。
The reproduction /
以下、図5に示すコンピュータ4の動作例を説明する。
図8は、図8に示すコンピュータ4の動作例(Unwrap)を説明するためのフローチャートである。
ステップST11:
処理回路23のMXF解析部31が、入力MXF用メモリ22から、例えば、図2、図6および図7に示すMXFのファイルデータFILEを、KLVデータ単位で読み出す。
Hereinafter, an operation example of the
FIG. 8 is a flowchart for explaining an operation example (Unwrap) of the
Step ST11:
The
ステップST12:
処理回路23のMXF解析部31が、ステップST11で読み出したKLVデータのキーKを基に、当該KLVデータがピクチャデータに関するものであるか否かを判断し、ピクチャデータに関すると判断した場合にはステップST13に進み、そうでない場合にはステップST15に進む。
Step ST12:
When the
ステップST13:
処理回路23のMXF解析部31が、ステップST11で読み出したKLVデータのデータLをピクチャ構成部32に出力する。
ピクチャ構成部32は、図6に示すように、各対象ピクチャデータについて、MXF解析部31から入力したデータLが示すデータ長を先頭ピクチャデータから対象ピクチャデータの一つ前のピクチャデータを累積してピクチャオフセット(Picture Offset)を算出し、これをインデックスメモリ25に記憶された図6に示す属性管理データPMD内の当該対象ピクチャデータに対応付けられた項目に格納する。
また、ピクチャ構成部32は、図6に示すように、各対象ピクチャデータのデータLを、ピクチャサイズ(Picture Size)として、図6に示す属性管理データPMD内の当該対象ピクチャデータに対応付けられた項目に格納する。
Step ST13:
The
As shown in FIG. 6, the
Further, as shown in FIG. 6, the
ステップST14:
処理回路23のMXF解析部31が、ステップST11で読み出したKLVデータのデータVをピクチャ構成部32に出力する。
ピクチャ構成部32は、MXF解析部31から入力したデータV(ピクチャデータ)を、図7に示すように、ピクチャメモリ24に格納された画像ファイルデータIFDに追加する。
その後、処理回路23は、ステップST17に進む。
Step ST14:
The
The
Thereafter, the processing circuit 23 proceeds to step ST17.
ステップST15:
処理回路23のMXF解析部31が、ステップST11で読み出したKLVデータのキーKを基に、当該KLVデータがインデックスデータINDEXに関するものであるか否かを判断し、インデックスデータINDEXに関すると判断した場合にはステップST16に進み、そうでない場合にはステップST17に進む。
Step ST15:
When the
ステップST16:
処理回路23のMXF解析部31が、ステップST11で読み出したKLVデータのデータV(インデックスデータINDEX)をインデックス構成部33に出力する。
インデックス構成部33は、MXF解析部31から入力したインデックスデータINDEXが示す前述したGOP関連データを、インデックスメモリ25に記憶された図6に示す属性管理データPMDに登録する。
すなわち、インデックス構成部33は、上記GOP関連データが示すフレーム番号(Frame Number)、テンポラルオフセット(Temporal Offset)、キーフレームオフセット(Key Frame Offset)、フラグ(Flags)を、上記属性管理データPMD内の対応する項目に格納する。
Step ST16:
The
The
That is, the
ステップST17:
処理回路23のMXF解析部31は、ファイルデータFILEを構成する全てのKLVデータの解析を終了したか否かを判断し、終了していないと判断するとステップST11に戻る。
処理回路23は、上述したステップST17の処理を終了後、操作部28からの操作信号に応じて、インデックスメモリ25に記憶された属性管理データPMDを基に、ピクチャメモリ24に記憶された画像ファイルデータIFDの再生処理あるいは編集処理を行う。
Step ST17:
The
The processing circuit 23 completes the process of step ST17 described above, and then stores the image file stored in the
以上説明したように、コンピュータ4によれば、図8を用いて説明したように、処理回路23において、MXFのファイルデータFILEをMXF解析部31でトレースする過程で、図7に示す画像ファイルデータIFDの生成処理と、図6に示す属性管理データPMDの生成処理とを並行して行う。
すなわち、コンピュータ4では、従来のように、画像ファイルデータIFDを生成した後に、これを解析して属性管理データを生成するのではなく、画像ファイルデータIFDを生成する過程で、属性管理データPMDも生成する。
そのため、コンピュータ4によれば、ファイルデータFILE全体のトレースを完了した時点で、画像ファイルデータIFDをピクチャメモリ24に格納せせると共に、属性管理データPMDをインデックスメモリ25に格納させることができる。
これにより、コンピュータ4によれば、ファイルデータFILEの解析処理を開始してから、画像ファイルデータIFDおよび属性管理データPMDを従来に比べて短時間で生成できる。
As described above, according to the
That is, the
Therefore, according to the
As a result, the
また、コンピュータ4によれば、上述したように処理を効率化することで、処理回路23の処理負荷を軽減できる。
また、コンピュータ4によれば、画像ファイルデータを生成後に、それの解析処理を不要にできる。
Moreover, according to the
Further, according to the
本発明は上述した実施形態には限定されない。
上述した実施形態では、本発明の「コンテンツデータと当該コンテンツデータの属性を示す属性データとが混在したデータ」として、MXFのファイルデータFILEを例示したが、本発明はこれに限定されるものではない。
The present invention is not limited to the embodiment described above.
In the embodiment described above, MXF file data FILE is exemplified as “data in which content data and attribute data indicating the attribute of the content data are mixed” in the present invention, but the present invention is not limited to this. Absent.
1…通信システム、3…FTPサーバ、4…コンピュータ、FILE…MXFのファイルデータ、21…インターフェース、22…入力MXF用メモリ、23…処理回路、24…ピクチャメモリ、25…インデックスメモリ、26…ディスプレイ、27…メモリ、28…操作部、31…MXF解析部、32…ピクチャ構成部、33…インデックス構成部、34…再生・編集部、PMD…属性管理データ、IFD…画像ファイルデータ
DESCRIPTION OF
Claims (3)
前記データ処理装置の解析手段が、前記ファイルデータをKLVデータ単位で読み出す第1の工程と、A first step in which the analysis means of the data processing device reads the file data in units of KLV data;
前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが符号化画像データに関するものであるか否かを判定する第2の工程と、A second step in which the analyzing means determines whether or not the KLV data relates to encoded image data based on the key K of the read KLV data;
前記第2の工程において、前記KLVデータが符号化画像データに関するものであると判定された場合に、前記データ処理装置の第1処理手段が、当該KLVデータのデータ長Lを第1の記憶領域に格納する第3の工程と、When it is determined in the second step that the KLV data is related to encoded image data, the first processing means of the data processing device sets the data length L of the KLV data to the first storage area. A third step of storing in
前記第1処理手段が、前記第3の工程における前記KLVデータのデータVを第2の記憶領域に格納する第4の工程と、A fourth step in which the first processing means stores the data V of the KLV data in the third step in a second storage area;
前記第2の工程において、前記KLVデータが符号化画像データに関するものではないと判定された場合に、前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが前記符号化画像データの属性を示すインデックスデータに関するものであるか否かを判定する第5の工程と、In the second step, when it is determined that the KLV data is not related to the encoded image data, the analyzing means converts the KLV data into the encoded data based on the key K of the read KLV data. A fifth step of determining whether or not the index data indicates an attribute of image data;
前記第5の工程において、前記KLVデータがインデックスデータに関するものであると判定された場合に、前記データ処理装置の第2処理手段が、当該インデックスデータを前記第1の記憶領域に格納する第6の工程と、In the fifth step, when it is determined that the KLV data relates to index data, the second processing means of the data processing device stores the index data in the first storage area. And the process of
前記ファイルデータの全てのKLVデータに対して前記第1から第6の工程が実行されたことを条件に、前記データ処理装置の処理回路が、前記第1の記憶領域に記憶されたデータを基に前記第2の記憶領域に格納された符号化画像データであるデータVの再生及び/または編集処理を行う第7の工程と、On the condition that the first to sixth steps are executed for all the KLV data of the file data, the processing circuit of the data processing device uses the data stored in the first storage area as a basis. A seventh step of performing reproduction and / or editing processing of data V, which is encoded image data stored in the second storage area,
を有するデータ処理方法。A data processing method.
前記ファイルデータをKLVデータ単位で読み出し解析を行う解析手段と、Analyzing means for reading and analyzing the file data in units of KLV data;
符号化画像データであるKLVデータのデータVを第2の記憶領域に格納する第1処理手段と、First processing means for storing data V of KLV data, which is encoded image data, in a second storage area;
符号化画像データであるKLVデータのデータ長L及び前記符号化画像データの属性を示すインデックスデータであるKLVデータのデータVを第1の記憶領域に格納する第2処理手段と、Second processing means for storing, in a first storage area, data length L of KLV data that is encoded image data and data V of KLV data that is index data indicating an attribute of the encoded image data;
前記第1の記憶領域に記憶されたデータを基に前記第2の記憶領域に格納された符号化画像データであるデータVの再生及び/または編集処理を行う処理回路と、A processing circuit for performing reproduction and / or editing processing of data V, which is encoded image data stored in the second storage area, based on the data stored in the first storage area;
を有し、Have
前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが符号化画像データに関するものであるか否かを判定し、The analysis means determines whether the KLV data is related to encoded image data based on the key K of the read KLV data,
前記KLVデータが符号化画像データに関するものであると判定された場合に、前記第1処理手段が、当該KLVデータのデータ長Lを第1の記憶領域に格納し、前記第1処理手段が、前記KLVデータのデータVを第2の記憶領域に格納し、When it is determined that the KLV data is related to encoded image data, the first processing unit stores the data length L of the KLV data in a first storage area, and the first processing unit includes: Storing the data V of the KLV data in a second storage area;
前記KLVデータが符号化画像データに関するものではないと判定された場合に、前記解析手段が、前記読み出したKLVデータのキーKを基に、当該KLVデータが前記符号化画像データの属性を示すインデックスデータに関するものであるか否かを判定し、前記KLVデータがインデックスデータに関するものであると判定された場合に、当該インデックスデータを前記第1の記憶領域に格納するWhen it is determined that the KLV data is not related to the encoded image data, the analysis means uses the key K of the read KLV data to indicate that the KLV data indicates an attribute of the encoded image data. It is determined whether or not the data relates to data. When it is determined that the KLV data relates to index data, the index data is stored in the first storage area.
データ処理装置。Data processing device.
前記ファイルデータをKLVデータ単位で読み出す第1の手順と、A first procedure for reading the file data in units of KLV data;
前記読み出したKLVデータのキーKを基に、当該KLVデータが符号化画像データに関するものであるか否かを判定する第2の手順と、A second procedure for determining whether the KLV data relates to encoded image data based on the key K of the read KLV data;
前記第2の手順において、前記KLVデータが符号化画像データに関するものであると判定された場合に、当該KLVデータのデータ長Lを第1の記憶領域に格納する第3の手順と、A third procedure for storing the data length L of the KLV data in the first storage area when it is determined in the second procedure that the KLV data relates to encoded image data;
前記第3の手順における前記KLVデータのデータVを第2の記憶領域に格納する第4の手順と、A fourth procedure for storing the data V of the KLV data in the third procedure in a second storage area;
前記第2の手順において、前記KLVデータが符号化画像データに関するものではないと判定された場合に、前記読み出したKLVデータのキーKを基に、当該KLVデータが前記符号化画像データの属性を示すインデックスデータに関するものであるか否かを判定する第5の手順と、In the second procedure, when it is determined that the KLV data is not related to the encoded image data, the KLV data sets the attribute of the encoded image data based on the key K of the read KLV data. A fifth procedure for determining whether or not the index data is indicated;
前記第5の手順において、前記KLVデータがインデックスデータに関するものであると判定された場合に、当該インデックスデータを前記第1の記憶領域に格納する第6の手順と、A sixth procedure for storing the index data in the first storage area when it is determined in the fifth procedure that the KLV data is related to the index data;
前記ファイルデータの全てのKLVデータに対して前記第1から第6の手順が実行されたことを条件に、前記第1の記憶領域に記憶されたデータを基に前記第2の記憶領域に格納された符号化画像データであるデータVの再生及び/または編集処理を行う第7の手順と、Stored in the second storage area based on the data stored in the first storage area on condition that the first to sixth procedures have been executed for all the KLV data of the file data A seventh procedure for reproducing and / or editing the data V, which is the encoded image data,
を前記コンピュータに実行させるプログラム。A program for causing the computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005157318A JP4548226B2 (en) | 2005-05-30 | 2005-05-30 | Data processing method, apparatus and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005157318A JP4548226B2 (en) | 2005-05-30 | 2005-05-30 | Data processing method, apparatus and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006333330A JP2006333330A (en) | 2006-12-07 |
JP4548226B2 true JP4548226B2 (en) | 2010-09-22 |
Family
ID=37554499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005157318A Expired - Fee Related JP4548226B2 (en) | 2005-05-30 | 2005-05-30 | Data processing method, apparatus and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4548226B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4679609B2 (en) | 2008-06-05 | 2011-04-27 | 株式会社東芝 | Video recording / reproducing apparatus, video recording method and video reproducing method |
JP4686587B2 (en) | 2008-10-16 | 2011-05-25 | 株式会社東芝 | Video recording / reproducing apparatus and file management method |
JP5392602B2 (en) * | 2009-03-11 | 2014-01-22 | 日本電気株式会社 | MXF data search device, MXF data search method, and MXF data search program |
JP5306415B2 (en) * | 2011-05-30 | 2013-10-02 | 株式会社東芝 | Video server and MXF file playback method |
JP6075060B2 (en) * | 2012-12-26 | 2017-02-08 | 日本電気株式会社 | Information processing device |
CN111541901B (en) * | 2020-05-11 | 2022-05-27 | 网易(杭州)网络有限公司 | Picture decoding method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003134435A (en) * | 2001-10-30 | 2003-05-09 | Matsushita Electric Ind Co Ltd | Transmitting method and receiving method for video data and video monitor system |
JP2005004853A (en) * | 2003-06-11 | 2005-01-06 | Sony Corp | Recording control device and method, program, and recording medium |
-
2005
- 2005-05-30 JP JP2005157318A patent/JP4548226B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003134435A (en) * | 2001-10-30 | 2003-05-09 | Matsushita Electric Ind Co Ltd | Transmitting method and receiving method for video data and video monitor system |
JP2005004853A (en) * | 2003-06-11 | 2005-01-06 | Sony Corp | Recording control device and method, program, and recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP2006333330A (en) | 2006-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4421156B2 (en) | Image reproducing apparatus and image recording / reproducing apparatus | |
CN101958136B (en) | Video audio recording/playback apparatus and method | |
EP1111612B1 (en) | Method and device for managing multimedia file | |
US7139470B2 (en) | Navigation for MPEG streams | |
US20070201832A1 (en) | Recording apparatus, recording method, program for recording method, recording medium recording program for recording method, reproducing apparatus, reproduction method, program for reproduction method, and recording medium recording program for reproduction method | |
US8676038B2 (en) | Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program | |
JP2006528472A (en) | Recording device, editing device, digital video recording system, and file format | |
JP4548226B2 (en) | Data processing method, apparatus and program thereof | |
US20100098161A1 (en) | Video encoding apparatus and video encoding method | |
US8145041B2 (en) | Video processing device | |
JP2006303652A (en) | Information recording and reproducing system, apparatus, and method | |
JP4552802B2 (en) | Recording apparatus, recording method, recording method program, and recording medium recording the recording method program | |
JP4115061B2 (en) | Recording medium and video recording / reproducing apparatus using the same | |
KR101051063B1 (en) | Video recording and playback device, video recording method, video playback method and video recording playback method | |
US8059167B2 (en) | Shooting apparatus and shooting method, and program | |
KR100676723B1 (en) | Video reproducing apparatus | |
JP2012170054A (en) | Video recording apparatus, video reproduction apparatus, and video recovery apparatus | |
KR20000029339A (en) | Information storage medium, apparatus and method for recording and reproducing moving picture and voice | |
KR100789380B1 (en) | Interactive Contents Terminal Wherein Object of Media Data Can Be Substituted | |
JP2003289495A (en) | Moving picture processing apparatus | |
JP2006279147A (en) | Index file generating apparatus and moving picture edit apparatus | |
JP2008294883A (en) | Data recording apparatus, data reproduction apparatus, data recording and reproduction system and data reproduction program | |
JP2006067142A (en) | Decoding device | |
JPH11341437A (en) | Coder, coding method, decoder and decoding method | |
JP2006157343A (en) | Still picture generating method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080521 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100119 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100315 |
|
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: 20100615 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100628 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130716 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |