JP2016027512A - Information processing device, information recording medium, and information processing method, and program - Google Patents

Information processing device, information recording medium, and information processing method, and program Download PDF

Info

Publication number
JP2016027512A
JP2016027512A JP2014166377A JP2014166377A JP2016027512A JP 2016027512 A JP2016027512 A JP 2016027512A JP 2014166377 A JP2014166377 A JP 2014166377A JP 2014166377 A JP2014166377 A JP 2014166377A JP 2016027512 A JP2016027512 A JP 2016027512A
Authority
JP
Japan
Prior art keywords
data
file
format
key
vmd
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.)
Pending
Application number
JP2014166377A
Other languages
Japanese (ja)
Inventor
幸一 内村
Koichi Uchimura
幸一 内村
遼平 高橋
Ryohei Takahashi
遼平 高橋
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2014166377A priority Critical patent/JP2016027512A/en
Priority to PCT/JP2015/002576 priority patent/WO2016002127A1/en
Publication of JP2016027512A publication Critical patent/JP2016027512A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/26613Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel for generating or managing keys in general
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/106Enforcing content protection by specific content processing
    • G06F21/1063Personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

PROBLEM TO BE SOLVED: To convert an MPEG-2TS format data into an MP4 file and record it without breaking an encryption arrangement prescribed in an MP4 format.SOLUTION: An information processing device obtains key information embedded data (VMD: variant media data) prescribed in an MP4 format, and encrypted data of meta data (vmet) that stores an identifier of a decryption key of the key information embedded data (VMD), from either a TS packet constituting an MPEG-2TS format data or a file storing the encrypted data; and sets it as a box storage data in an MP4 file without decrypting it. In addition, the information processing device obtains or generates vloc box storage data prescribed by the MP4 format as an identification storage box of the meta data (vmet) decryption key, and records it in the MP4 file.SELECTED DRAWING: Figure 28

Description

本開示は、情報処理装置、情報記録媒体、および情報処理方法、並びにプログラムに関する。さらに詳細には、例えばフォーマット変換を伴うデータ記録を実行する情報処理装置、情報記録媒体、および情報処理方法、並びにプログラムに関する。   The present disclosure relates to an information processing device, an information recording medium, an information processing method, and a program. More specifically, the present invention relates to an information processing apparatus, an information recording medium, an information processing method, and a program that execute data recording with format conversion, for example.

映画や音楽等、様々なコンテンツを記録する情報記録媒体(メディア)として、DVD(Digital Versatile Disc)や、BD(Blu−ray(登録商標) Disc)が多く利用されている。   DVD (Digital Versatile Disc) and BD (Blu-ray (registered trademark) Disc) are widely used as information recording media (media) for recording various contents such as movies and music.

これらの各ディスクには、予め規定されたデータ記録フォーマットで画像、音声、さらに再生制御データ等の各種のデータが記録される。
例えば、BDに対するデータ記録フォーマットとして、BDMV(Blu−ray(登録商標) Disc Movie)フォーマットが利用される。
BDMVフォーマットの記録データを再生するためには、BDMVフォーマットデータの再生用のプログラムを保持していることが必要となる。
Various data such as images, sounds, and reproduction control data are recorded on these discs in a data recording format defined in advance.
For example, a BDMV (Blu-ray (registered trademark) Disc Movie) format is used as a data recording format for a BD.
In order to reproduce the recorded data in the BDMV format, it is necessary to hold a program for reproducing the BDMV format data.

昨今、スマホ(スマートホン)や、タブレット端末等の携帯端末などで映画等のコンテンツ視聴を行うユーザが増加している。
このような携帯端末には、BDMVフォーマット対応の再生アプリケーションが搭載されているとは限らない。従って、BDの記録データを携帯端末のメデイアにコピーする場合、BDMVフォーマットではない携帯端末の再生アプリケーションが再生可能なフォーマットに変更してコンテンツを記録する必要がある。
なお、メディア間のデータコピー処理については、例えば特許文献1(特開2008−98765号公報)や、特許文献2(特開2011−222078号公報)に記載がある。
In recent years, an increasing number of users are viewing content such as movies on smartphones (smartphones) and mobile terminals such as tablet terminals.
Such a portable terminal does not always have a playback application compatible with the BDMV format. Therefore, when copying the recording data of the BD to the media of the mobile terminal, it is necessary to change the recording format to a format that can be played back by the playback application of the mobile terminal that is not in the BDMV format.
Note that data copy processing between media is described in, for example, Japanese Patent Application Laid-Open No. 2008-98765 and Japanese Patent Application Laid-Open No. 2011-2222078.

携帯端末等による利用を考慮して規格化されたデータ記録フォーマットとしてMP4フォーマット(以下MP4と呼ぶ)がある。
多くの携帯端末は、MP4フォーマットで記録されたMP4データを再生可能な再生アプリケーションを有しており、携帯端末のメディアにコンテンツを記録する場合MP4形式で記録することが求められる。
There is an MP4 format (hereinafter referred to as MP4) as a data recording format standardized in consideration of use by a portable terminal or the like.
Many portable terminals have a reproduction application capable of reproducing the MP4 data recorded in the MP4 format, and when recording the content on the medium of the portable terminal, it is required to record in the MP4 format.

従って、例えば、BDMVフォーマットのデータを、携帯端末において利用するSDカード等のメディアにコピーする場合、BDMVからMP4へのフォーマット変換を伴うコピー処理を行なうことが必要となる。
しかし、現状においてこのフォーマット変換についての具体的な提案はなされていない。フォーマット変換が確実に行われない場合、コピー先でのコンテンツ再生が行えなくなる可能性がある。
Therefore, for example, when copying data in the BDMV format to a medium such as an SD card used in the portable terminal, it is necessary to perform a copy process with format conversion from BDMV to MP4.
However, no specific proposal for this format conversion has been made at present. If format conversion is not performed reliably, content reproduction at the copy destination may not be possible.

特開2008−98765号公報JP 2008-98765 A 特開2011−222078号公報JP 2011-2222078

本開示は、このような問題点に鑑みてなされたものであり、例えばフォーマット変換を伴うデータ記録処理を行なう構成において、フォーマット変換後の正常なデータ再生を可能とする情報処理装置、情報記録装置、情報記録媒体、および情報処理方法、並びにプログラムを提供することを目的とする。   The present disclosure has been made in view of such problems. For example, an information processing apparatus and an information recording apparatus that enable normal data reproduction after format conversion in a configuration in which data recording processing involving format conversion is performed. It is an object to provide an information recording medium, an information processing method, and a program.

本開示の第1の側面は、
MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記データ変換部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得し、取得した暗号化データを復号することなく前記MP4ファイルに規定されるボックスの格納データとして設定する情報処理装置にある。
The first aspect of the present disclosure is:
A data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format and generates an MP4 file;
The data converter is
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
Obtained from the TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data, and sets the obtained encrypted data as the storage data of the box defined in the MP4 file without decrypting It is in the information processing device.

さらに、本開示の第2の側面は、
MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納し、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する情報処理装置にある。
Furthermore, the second aspect of the present disclosure is:
A data processing unit for generating MPEG-2TS format data;
The data processing unit
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data is stored.
Furthermore, the present invention is an information processing apparatus that generates an MP4 header information file storing vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet).

さらに、本開示の第3の側面は、
MPEG−2TSフォーマットデータを記録した情報記録媒体であり、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータと、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データである前記メタデータ(vmet)復号用の鍵の鍵識別子を、
前記MPEG−2TSフォーマットデータを構成するTSパケット、またはデータファイルに格納し、
前記情報記録媒体の格納データを再生する再生装置が、前記TSパケットまたはデータファイルから前記メタデータ(vmet)復号用の鍵を取得し、前記メタデータ(vmet)を復号し、復号情報に基づいて前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵を取得し、前記鍵情報埋め込みデータ(VMD)を復号して再生することを可能とした情報記録媒体にある。
Furthermore, the third aspect of the present disclosure is:
An information recording medium on which MPEG-2TS format data is recorded,
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD);
The key identifier of the key for decoding the metadata (vmet), which is storage data of the vloc box defined in the MP4 format as the key identifier storage box of the key for decoding the metadata (vmet),
Stored in a TS packet or data file constituting the MPEG-2 TS format data,
A playback device for playing back data stored in the information recording medium acquires a key for decrypting the metadata (vmet) from the TS packet or data file, decrypts the metadata (vmet), and based on the decryption information The information recording medium is capable of acquiring a key to be used for decrypting the key information embedded data (VMD) and decrypting and reproducing the key information embedded data (VMD).

さらに、本開示の第4の側面は、
情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記データ変換部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得し、取得パケットに格納された暗号化データを、復号することなく前記MP4ファイル内のボックスの格納データとして設定する情報処理方法にある。
Furthermore, the fourth aspect of the present disclosure is:
An information processing method executed in an information processing apparatus,
The information processing apparatus includes a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file,
The data converter is
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
Data stored in the box in the MP4 file without decrypting the encrypted data stored in the acquired packet, obtained from the TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data The information processing method is set as

さらに、本開示の第5の側面は、
情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納し、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する情報処理方法にある。
Furthermore, the fifth aspect of the present disclosure is:
An information processing method executed in an information processing apparatus,
The information processing apparatus includes a data processing unit that generates MPEG-2TS format data,
The data processing unit
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data is stored.
Further, the present invention is an information processing method for generating an MP4 header information file storing vloc data, which is storage data of a vloc box defined in the MP4 format, as a key identifier storage box of the metadata (vmet) decryption key.

さらに、本開示の第6の側面は、
情報処理装置において情報処理を実行させるプログラムであり、
前記情報処理装置は、MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記プログラムは、前記データ変換部に、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得させ、取得パケットに格納された暗号化データを、復号することなく前記MP4ファイル内のボックスの格納データとして記録させるプログラムにある。
Furthermore, the sixth aspect of the present disclosure is:
A program for executing information processing in an information processing apparatus;
The information processing apparatus includes a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file,
The program is stored in the data conversion unit.
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The data stored in the box in the MP4 file without decrypting the encrypted data stored in the acquired packet, obtained from the data file storing the TS packet or each encrypted data constituting the MPEG-2 TS format data In the program to be recorded as.

さらに、本開示の第7の側面は、
情報処理装置において情報処理を実行させるプログラムであり、
前記情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記プログラムは、前記データ処理部に、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納させ、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成させるプログラムにある。
Furthermore, the seventh aspect of the present disclosure is:
A program for executing information processing in an information processing apparatus;
The information processing apparatus includes a data processing unit that generates MPEG-2TS format data,
The program is stored in the data processing unit.
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2TS format data or the data file storing each encrypted data is stored,
Further, the present invention is a program for generating an MP4 header information file storing vloc data which is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet).

なお、本開示のプログラムは、例えば、様々なプログラム・コードを実行可能な情報処理装置やコンピュータ・システムに対して、コンピュータ可読な形式で提供する記憶媒体、通信媒体によって提供可能なプログラムである。このようなプログラムをコンピュータ可読な形式で提供することにより、情報処理装置やコンピュータ・システム上でプログラムに応じた処理が実現される。   Note that the program of the present disclosure is a program that can be provided by, for example, a storage medium or a communication medium provided in a computer-readable format to an information processing apparatus or a computer system that can execute various program codes. By providing such a program in a computer-readable format, processing corresponding to the program is realized on the information processing apparatus or the computer system.

本開示のさらに他の目的、特徴や利点は、後述する本開示の実施例や添付する図面に基づくより詳細な説明によって明らかになるであろう。なお、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Other objects, features, and advantages of the present disclosure will become apparent from a more detailed description based on embodiments of the present disclosure described below and the accompanying drawings. In this specification, the system is a logical set configuration of a plurality of devices, and is not limited to one in which the devices of each configuration are in the same casing.

本開示の一実施例の構成によれば、MP4フォーマットにおいて規定される暗号化構成を崩すことなく、MPEG−2TSフォーマットデータをMP4ファイルに変換して記録する構成が実現される。
具体的には、MP4フォーマット規定の鍵情報埋め込みデータ(VMD:variant media data)と、鍵情報埋め込みデータ(VMD)の復号用鍵の識別子を格納したメタデータ(vmet)の暗号化データを、MPEG−2TSフォーマットデータを構成するTSパケット、または暗号化データを格納したファイルから取得し、復号することなくMP4ファイル内のボックス格納データとする。また、メタデータ(vmet)復号用鍵の識別子格納ボックスとしてMP4フォーマットが規定するvlocボックス格納データを取得、または生成してMP4ファイルに記録する。
本構成により、MP4フォーマットにおいて規定される暗号化構成を崩すことなく、MPEG−2TSフォーマットデータをMP4ファイルに変換して記録する構成が実現される。
なお、本明細書に記載された効果はあくまで例示であって限定されるものではなく、また付加的な効果があってもよい。
According to the configuration of an embodiment of the present disclosure, a configuration in which MPEG-2TS format data is converted into an MP4 file and recorded without breaking the encryption configuration defined in the MP4 format is realized.
Specifically, MPEG4 format key information embedded data (VMD: variant media data) and encrypted data (meta) (vmet) storing the decryption key identifier of the key information embedded data (VMD) are converted into MPEG. -2 Acquired from a TS packet constituting TS format data or a file storing encrypted data, and used as box storage data in an MP4 file without decryption. Also, vloc box storage data defined by the MP4 format is acquired or generated as an identifier storage box for metadata (vmet) decryption key, and is recorded in the MP4 file.
With this configuration, a configuration is realized in which MPEG-2TS format data is converted into an MP4 file and recorded without breaking the encryption configuration defined in the MP4 format.
Note that the effects described in the present specification are merely examples and are not limited, and may have additional effects.

BDMVフォーマットに従ってメディアに記録されるデータのディレクトリ構成例について説明する図である。It is a figure explaining the example of a directory structure of the data recorded on a medium according to a BDMV format. BDMVフォーマットにおいて規定されるプレイリストと、再生データとの対応について説明する図である。It is a figure explaining the response | compatibility with the play list prescribed | regulated in a BDMV format, and reproduction | regeneration data. クリップAVストリーム(Clip AV Stream)ファイルのデータ構成としてのMPEG−2TS(トランスポートストリーム)の構成例について説明する図である。It is a figure explaining the structural example of MPEG-2TS (transport stream) as a data structure of a clip AV stream (Clip AV Stream) file. MP4フォーマットについて説明する図である。It is a figure explaining MP4 format. CFF(Common File Format)の構成について説明する図である。It is a figure explaining the structure of CFF (Common File Format). AVC,HEVC符号化データの構成について説明する図である。It is a figure explaining the structure of AVC and HEVC encoded data. MPEG−2TSとMP4フォーマットの差異について説明する図である。It is a figure explaining the difference between MPEG-2TS and MP4 format. MPEG−2TSに格納した1つのピクチャ対応のアクセスユニットの構成について説明する図である。It is a figure explaining the structure of the access unit corresponding to one picture stored in MPEG-2TS. MPEG−2TSフォーマットからMP4フォーマットへの変換処理例について説明する図である。It is a figure explaining the example of a conversion process from MPEG-2TS format to MP4 format. MP4フォーマットにおけるデータ暗号化構成の一例について説明する図である。It is a figure explaining an example of the data encryption structure in MP4 format. MP4フォーマットにおけるデータ暗号化構成と復号に適用する鍵の設定例について説明する図である。It is a figure explaining the setting example of the data encryption structure in MP4 format, and the key applied to a decoding. MP4フォーマットに従って生成されるMP4ファイルの構成例について説明する図である。It is a figure explaining the structural example of the MP4 file produced | generated according to MP4 format. MP4フォーマットにおけるデータ暗号化構成と復号に適用する鍵の設定例について説明する図である。It is a figure explaining the setting example of the data encryption structure in MP4 format, and the key applied to a decoding. MP4フォーマットの暗号化構成をMPEG−2TSフォーマットにおいて実現するためのパケット構成例について説明する図である。It is a figure explaining the packet structural example for implement | achieving the encryption structure of MP4 format in MPEG-2TS format. MPEG−2TSフォーマットに従ったECM_PIDパケットのデータ構成と、MP4のvlocボックス記録データのデータ構成について説明する図である。It is a figure explaining the data structure of the ECM_PID packet according to MPEG-2TS format, and the data structure of the vloc box recording data of MP4. MPEG−2TSフォーマットからMP4フォーマットへの変換処理例について説明する図である。It is a figure explaining the example of a conversion process from MPEG-2TS format to MP4 format. MP4変換用のvloc対応データ等を設定したディレクトリ構成例について説明する図である。It is a figure explaining the example of a directory structure which set the vloc corresponding | compatible data etc. for MP4 conversion. 図17に示すMP4変換用のvloc対応データ等を設定したディレクトリ構成を持つデータを利用したMP4ファイルの生成例について説明する図である。It is a figure explaining the example of a production | generation of the MP4 file using the data with the directory structure which set the vloc corresponding | compatible data etc. for MP4 conversion shown in FIG. MP4ファイル記録用のvlocデータをサーバから取得する処理例について説明する図である。It is a figure explaining the process example which acquires the vloc data for MP4 file recording from a server. MP4ファイル記録用のvlocデータを情報処理装置が生成する処理例について説明する図である。It is a figure explaining the process example which information processing apparatus produces | generates the vloc data for MP4 file recording. MP4ファイル記録用のvlocデータをECM_PIDパケットの格納データに基づいて、情報処理装置が生成する処理例について説明する図である。It is a figure explaining the example of a process which information processing apparatus produces | generates the vloc data for MP4 file recording based on the storage data of an ECM_PID packet. 鍵情報埋め込みデータ(VMD)とメタデータ(vmet)の記録位置に基づいて発生する問題点について説明する図である。It is a figure explaining the problem which generate | occur | produces based on the recording position of key information embedding data (VMD) and metadata (vmet). 鍵情報埋め込みデータ(VMD)とメタデータ(vmet)の記録位置の設定例について説明する図である。It is a figure explaining the example of a setting of the recording position of key information embedding data (VMD) and metadata (vmet). 鍵情報埋め込みデータ(VMD)とメタデータ(vmet)の記録位置を選択的に行うための指示データの記録例について説明する図である。It is a figure explaining the example of recording of the instruction data for selectively performing the recording position of key information embedding data (VMD) and metadata (vmet). 鍵情報埋め込みデータ(VMD)とメタデータ(vmet)の記録位置を選択的に行うための指示データの記録例について説明する図である。It is a figure explaining the example of recording of the instruction data for selectively performing the recording position of key information embedding data (VMD) and metadata (vmet). 実施例2のメディアの記録データのディレクトリ例を示す図である。10 is a diagram illustrating an example of a directory of recording data of a medium according to the second embodiment. FIG. クリップAVストリームファイルの具体例について説明する図である。It is a figure explaining the specific example of a clip AV stream file. 図26に示すMPEG−2TSフォーマットデータを含むBDMVフォーマットデータを利用してMP4ファイルを生成する場合のフォーマット変換を伴うデータコピー処理におけるデータの流れについて説明する図である。FIG. 27 is a diagram illustrating a data flow in a data copy process involving format conversion when an MP4 file is generated using BDMV format data including the MPEG-2TS format data illustrated in FIG. 26. MPEG−2TSフォーマットデータからMP4フォーマットデータへの変換処理においてMP4ファイルのmdatボックスに記録するデータと、記録元となるデータとの対応関係を示す図である。It is a figure which shows the correspondence of the data recorded on the mdat box of MP4 file, and the data used as a recording source in the conversion process from MPEG-2TS format data to MP4 format data. trunボックスの記録情報を用いて、vdatファイルに連続的に記録されたデータから1つの(vmet+VMD)データを抽出してMP4ファイルの所定位置に記録する処理について説明する図である。It is a figure explaining the process which extracts one (vmet + VMD) data from the data continuously recorded on the vdat file using the recording information of a trun box, and records it on the predetermined position of MP4 file. 外部装置から鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したvdatファイルを取得(ダウンロード)して、MP4ファイルに記録する処理例について説明する図である。It is a figure explaining the example of a process which acquires (downloads) the vdat file which stored key information embedding data (VMD) and metadata (vmet) from the external device, and records it on a MP4 file. 情報処理装置の構成例について説明する図である。FIG. 25 is a diagram for describing a configuration example of an information processing device. 情報処理装置の構成例について説明する図である。FIG. 25 is a diagram for describing a configuration example of an information processing device. 情報処理装置の構成例について説明する図である。FIG. 25 is a diagram for describing a configuration example of an information processing device. 情報処理装置の実行する処理のシーケンスについて説明するフローチャートを示す図である。FIG. 11 is a diagram illustrating a flowchart for describing a sequence of processing executed by the information processing apparatus. 情報処理装置の実行する処理のシーケンスについて説明するフローチャートを示す図である。FIG. 11 is a diagram illustrating a flowchart for describing a sequence of processing executed by the information processing apparatus. 情報処理装置の実行する処理のシーケンスについて説明するフローチャートを示す図である。FIG. 11 is a diagram illustrating a flowchart for describing a sequence of processing executed by the information processing apparatus. 情報処理装置の実行する処理のシーケンスについて説明するフローチャートを示す図である。FIG. 11 is a diagram illustrating a flowchart for describing a sequence of processing executed by the information processing apparatus. 情報処理装置の実行する処理のシーケンスについて説明するフローチャートを示す図である。FIG. 11 is a diagram illustrating a flowchart for describing a sequence of processing executed by the information processing apparatus. 情報処理装置の実行する処理のシーケンスについて説明するフローチャートを示す図である。FIG. 11 is a diagram illustrating a flowchart for describing a sequence of processing executed by the information processing apparatus.

以下、図面を参照しながら本開示の情報処理装置、情報記録媒体、および情報処理方法、並びにプログラムの詳細について説明する。なお、説明は以下の項目に従って行なう。
1.MPEG−2TSフォーマットと、MP4フォーマットについて
2.MPEG−2TSをMP4に変換する場合の問題点について
3.MP4フォーマットにおけるデータ暗号化構成について
4.MP4フォーマットにおける暗号化構成をMPEG−2TSフォーマットで実現する場合の構成例について
5.MPEG−2TSフォーマットデータからMP4フォーマットデータへの変換処理について
5−1.メディアに独立して記録されたMP4対応vlocデータを読み取ってMP4フォーマットデータに記録する処理例について
5−2.外部装置からvlocデータを取得(ダウンロード)して、MP4ファイルに記録する処理例について
5−3.変換処理実行装置が、MPEG−2TSフォーマットデータに含まれるECM_PIDパケットのペイロード等を参照して、変換後のMP4ファイルに記録するvlocデータを生成して記録する処理例について
6.鍵情報埋め込みデータ(VMD:variant media data)とメタデータ(vmet)の記録位置の制限について
7.鍵情報埋め込みデータ(VMD)とメタデータ(vmet)をMPEG−2TSフォーマットデータファイル以外から取得する実施例について(実施例2)
7−1.メディアに鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したファイルを設定して利用する構成例について
7−2.外部装置から鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したvdatファイルを取得(ダウンロード)して、MP4ファイルに記録する処理例について
8.情報処理装置の構成例について
9.情報処理装置の実行する処理のシーケンスについて
10.本開示の構成のまとめ
The details of the information processing apparatus, information recording medium, information processing method, and program of the present disclosure will be described below with reference to the drawings. The description will be made according to the following items.
1. 1. About MPEG-2TS format and MP4 format 2. Problems when converting MPEG-2TS to MP4 3. Data encryption configuration in MP4 format 4. Configuration example when realizing the encryption configuration in the MP4 format in the MPEG-2TS format 5. Conversion process from MPEG-2 TS format data to MP4 format data 5-1. Example of processing for reading MP4-compatible vloc data recorded independently on media and recording it in MP4 format data 5-2. Example of processing for acquiring (downloading) vloc data from an external device and recording it in an MP4 file 5-3. 5. Regarding a processing example in which the conversion processing execution device generates and records vloc data to be recorded in the MP4 file after conversion with reference to the payload of the ECM_PID packet included in the MPEG-2TS format data 6. Restriction of recording position of key information embedded data (VMD: variant media data) and metadata (vmet) Example of Acquiring Key Information Embedded Data (VMD) and Metadata (vmet) from Other Than MPEG-2TS Format Data File (Example 2)
7-1. Regarding a configuration example in which a file storing key information embedded data (VMD) and metadata (vmet) is set in a medium and used 7-2. 7. Example of processing for acquiring (downloading) a vdat file storing key information embedded data (VMD) and metadata (vmet) from an external device and recording the vdat file in an MP4 file 8. Configuration example of information processing apparatus 9. Processing sequence executed by information processing apparatus Summary of composition of this disclosure

[1.MPEG−2TSフォーマットと、MP4フォーマットについて]
まず、MPEG−2TS(Transport stream)フォーマットと、MP4フォーマットについて説明する。
MPEG−2TSフォーマットと、MP4フォーマットは、いずれも画像(Video)、音声(Audio)、字幕(Subtitle)等、コンテンツ構成データである符号化データを記録媒体(メディア)に格納、または放送波やネットワークを介して伝送する際の符号化データ等のデータ格納形式(コンテナフォーマット)を規定したフォーマットである。
[1. MPEG-2TS format and MP4 format]
First, the MPEG-2TS (Transport stream) format and the MP4 format will be described.
The MPEG-2TS format and the MP4 format are all stored in a recording medium (media) such as image (Video), audio (Audio), subtitle (Subtitle), etc., in a recording medium (media), or broadcast wave or network Is a format that prescribes a data storage format (container format) for encoded data or the like when transmitted via the Internet.

MPEG−2TSフォーマットは、ISO13818−1において標準化されたフォーマットであり、例えばBD(Blu−ray(登録商標) Disc)に対するデータ記録や、デジタル放送等に用いられている。
一方、MP4フォーマットは、ISO/IECC14496−14で規定されたフォーマットであり、例えばフラッシュメモリ等にデータ記録を行う場合に適したフォーマットである。
The MPEG-2TS format is a format standardized in ISO13818-1, and is used for data recording, digital broadcasting, and the like for BD (Blu-ray (registered trademark) Disc), for example.
On the other hand, the MP4 format is a format defined by ISO / IECC 14496-14, and is a format suitable for recording data in a flash memory, for example.

昨今、利用されている多くの携帯端末は、MP4フォーマットに従って記録されたMP4データを再生可能な再生アプリケーションを有しており、携帯端末のメディアにコンテンツを記録する場合、MP4形式で記録することが求められる場合が多い。   Many portable terminals used in recent years have a reproduction application capable of reproducing MP4 data recorded in accordance with the MP4 format, and when recording content on the medium of the portable terminal, it is possible to record in the MP4 format. Often required.

前述したBDに対するデータ記録フォーマットであるBDMV(Blu−ray(登録商標) Disc Movie)フォーマットは、MPEG−2TSフォーマットに従って格納された画像や音声等の符号化データを構成要素とするBD専用のフォーマットである。   The BDMV (Blu-ray (registered trademark) Disc Movie) format, which is a data recording format for the BD described above, is a BD-dedicated format including encoded data such as images and sounds stored in accordance with the MPEG-2TS format. is there.

なお、MPEG−2TSフォーマットに従って格納が許容される画像、音声、静止画の符号化データは、例えば以下の符号化データである。
画像:MPEG−1、MPEG−2、AVC(MPEG−4AVC)、HEVC(MPEG−4HEVC)、
音声:MP1,MP2,MP3,リニアPCM,DTS
静止画:JPEG
例えば上記の各符号化データがMPEG−2TSにおいて規定するTS(トランスポートストリーム)パケットに分散して格納される。
Note that the encoded data of images, sounds, and still images that are allowed to be stored in accordance with the MPEG-2TS format is, for example, the following encoded data.
Images: MPEG-1, MPEG-2, AVC (MPEG-4AVC), HEVC (MPEG-4HEVC),
Audio: MP1, MP2, MP3, linear PCM, DTS
Still image: JPEG
For example, each encoded data is distributed and stored in TS (Transport Stream) packets defined in MPEG-2TS.

まず、図1以下を参照して、BDや放送に用いられるMPEG−2TSフォーマットについて説明する。
図1は、例えばROM型のBD(Blu−ray(登録商標) Disc)であるメディア10に記録されたBDMVフォーマットに従った記録データのディレクトリを示す図である。
First, the MPEG-2TS format used for BD and broadcasting will be described with reference to FIG.
FIG. 1 is a diagram showing a directory of recording data according to a BDMV format recorded on a medium 10 which is, for example, a ROM type BD (Blu-ray (registered trademark) Disc).

ディレクトリは図1に示すように管理情報設定部11(AACSディレクトリ)と、データ部12(BDMVディレクトリ)に分離されている。
管理情報設定部11(AACSディレクトリ)には、データの暗号化鍵であるCPSユニットキーファイルや利用制御情報ファイルなどが格納される。
As shown in FIG. 1, the directory is divided into a management information setting unit 11 (AACS directory) and a data unit 12 (BDMV directory).
The management information setting unit 11 (AACS directory) stores a CPS unit key file and a usage control information file that are data encryption keys.

一方、データ部12のBDMVディレクトリ以下には、
インデックスファイル、
プレイリストファイル、
クリップ情報ファイル、
クリップAVストリームファイル、
BDJOファイル、
例えば、これらのファイルが記録される。
On the other hand, under the BDMV directory of the data part 12,
Index files,
Playlist files,
Clip information file,
Clip AV stream file,
BDJO file,
For example, these files are recorded.

インデックスファイルには、再生処理に適用するインデックス情報としてのタイトル情報が格納される。
プレイリストファイルは、タイトルによって指定されの再生プログラムのプログラム情報に従ったコンテンツの再生順等を規定したファイルであり、再生位置情報を持クリップ情報に対する指定情報を有する。
クリップ情報ファイルは、プレイリストファイルによつて指定されるファイルであり、クリップAVストリームファイルの再生位置情報等を有する。
クリップAVストリームファイルは、再生対象となるAVストリームデータを格納したファイルである。
BDJOファイルは、JAVA(登録商標)プログラム、コマンド等を格納したファイルの実行制御情報を格納したファイルである。
The index file stores title information as index information applied to the reproduction process.
The playlist file is a file that defines the playback order of contents in accordance with the program information of the playback program specified by the title, and has playback position information and designation information for clip information.
The clip information file is a file specified by the playlist file, and has reproduction position information of the clip AV stream file and the like.
The clip AV stream file is a file storing AV stream data to be reproduced.
The BDJO file is a file that stores execution control information of a file that stores JAVA (registered trademark) programs, commands, and the like.

情報処理装置が情報記録媒体に記録されたコンテンツを再生するシーケンスは以下の通りである。
(a)まず、再生アプリケーションによってインデックスファイルから特定のタイトルを指定する。
(b)指定されたタイトルに関連付けられた再生プログラムが選択される。
(c)選択された再生プログラムのプログラム情報に従ってコンテンツの再生順等を規定したプレイリストが選択される。
(d)選択されたプレイリストに規定されたクリップ情報によって、コンテンツ実データとしてのAVストリームあるいはコマンドが読み出されて、AVストリームの再生や、コマンドの実行処理が行われる。
The sequence in which the information processing apparatus reproduces the content recorded on the information recording medium is as follows.
(A) First, a specific title is designated from the index file by the reproduction application.
(B) A reproduction program associated with the designated title is selected.
(C) A playlist that defines the playback order of contents is selected according to the program information of the selected playback program.
(D) The AV stream or the command as the actual content data is read out by the clip information defined in the selected playlist, and the AV stream is reproduced and the command is executed.

図2は、メディア10に記録される以下のデータ、すなわち、
プレイリストファイル、
クリップ情報ファイル、
クリップAVストリームファイル、
これらのデータの対応関係を説明する図である。
FIG. 2 shows the following data recorded on the medium 10, namely:
Playlist files,
Clip information file,
Clip AV stream file,
It is a figure explaining the correspondence of these data.

実際の再生対象データである画像と音声データからなるAVストリームはクリップAVストリーム(Clip AV Stream)ファイルとして記録され、さらに、これらのAVストリームの管理情報、再生制御情報ファイルとして、プレイリスト(PlayList)ファイルと、クリップ情報(Clip Information)ファイルが規定される。   An AV stream composed of image and audio data as actual reproduction target data is recorded as a clip AV stream (Clip AV Stream) file, and a playlist (PlayList) is used as management information and reproduction control information file of these AV streams. A file and a clip information file are defined.

これら複数のカテゴリのファイルは、図2に示すように、
プレイリスト(PlayList)ファイルを含むプレイリストレイヤ、
クリップAVストリーム(Clip AV Stream)ファイルと、クリップ情報(Clip Information)ファイルからなるクリップレイヤ、
これらの2つのレイヤに区分できる。
These multiple categories of files are shown in FIG.
A playlist layer including a playlist (PlayList) file,
A clip layer consisting of a clip AV stream (Clip AV Stream) file and a clip information (Clip Information) file,
It can be divided into these two layers.

なお、一つのクリップAVストリーム(Clip AV Stream)ファイルには一つのクリップ情報(Clip Information)ファイルが対応付けられ、これらのペアを一つのオブジェクトと考え、これらをまとめてクリップ(Clip)と呼ぶ場合もある。
クリップAVストリームファイルに含まれるデータの詳細情報、例えばMPEGデータのIピクチャ位置情報などを記録したEPマップなどの管理情報がクリップ情報ファイルに記録される。
Note that one clip AV stream (Clip AV Stream) file is associated with one clip information (Clip Information) file, these pairs are considered as one object, and these are collectively referred to as a clip (Clip). There is also.
Detailed information of data included in the clip AV stream file, for example, management information such as an EP map in which I picture position information of MPEG data is recorded is recorded in the clip information file.

クリップAVストリーム(Clip AV Stream)ファイルは、MPEG−2TS(トランスポートストリーム)をBDMVフォーマットの規定構造に従って配置したデータを格納している。この構成の詳細は図3を参照して後段で説明する。   A clip AV stream (Clip AV Stream) file stores data in which MPEG-2 TS (transport stream) is arranged in accordance with a BDMV format specified structure. Details of this configuration will be described later with reference to FIG.

また、クリップ情報(Clip Information)ファイルには、例えば、クリップAVストリームファイルのバイト列データのデータ位置と、時間軸上に展開した場合の再生開始ポイントである(エントリポイント:EP)等の再生時間位置等の対応データ等、クリップAVストリームファイルの格納データの再生開始位置などを取得するための管理情報を格納している。   In addition, in the clip information (Clip Information) file, for example, the data position of the byte string data of the clip AV stream file and the playback time such as the playback start point when expanded on the time axis (entry point: EP), etc. The management information for acquiring the reproduction start position of the data stored in the clip AV stream file, such as the corresponding data such as the position, is stored.

例えば、コンテンツの開始点からの再生時間経過位置を示すタイムスタンプが与えられた時、クリップ情報ファイルを参照して、クリップAVストリームファイルのデータ読み出し位置、すなわち再生開始点としてのアドレスを取得することが可能となる。   For example, when a time stamp indicating the playback time elapsed position from the start point of the content is given, the clip information file is referred to, and the data read position of the clip AV stream file, that is, the address as the playback start point is acquired. Is possible.

プレイリスト(PlayList)ファイルは、クリップ(=クリップ情報ファイル+クリップAVストリームファイル)レイヤに含まれる再生可能データに対する再生区間の指定情報を有する。
プレイリスト(PlayList)ファイルには、1つ以上のプレイアイテム(PlayItem)が設定され、プレイアイテムの各々が、クリップ(=クリップ情報ファイル+クリップAVストリームファイル)レイヤに含まれる再生可能データに対する再生区間の指定情報を有する。
The playlist (PlayList) file has designation information of a playback section for playable data included in a clip (= clip information file + clip AV stream file) layer.
In the playlist (PlayList) file, one or more play items (PlayItem) are set, and each play item is a playback section for playable data included in a clip (= clip information file + clip AV stream file) layer. Specified information.

再生対象となる画像や音声の実データを格納したクリップAVストリーム(Clip AV Stream)ファイルは、例えば図3に示すようなMPEG−2トランスポートストリーム(TS:Transport stream)ファイル構造を持つ。   A clip AV stream (Clip AV Stream) file storing actual image and audio data to be reproduced has, for example, an MPEG-2 transport stream (TS) file structure as shown in FIG.

図3に示すように、MPEG−2TSフォーマットは、以下の特徴を有する。
1)MPEG−2TSファイルは、整数個のアラインドユニット(Aligned unit)から構成される。
2)アラインドユニット(Aligned unit)の大きさは、6kB(=6144バイト(2048×3バイト))である。
3)アラインドユニット(Aligned unit)は、ソースパケットの第一バイト目から始まる。
4)ソースパケットは、192バイト長である。一つのソースパケットは、TP_extra_headerとTSパケットから成る。TP_extra_headerは、4バイト長であり、またTSパケットは、188バイト長である。
As shown in FIG. 3, the MPEG-2TS format has the following characteristics.
1) An MPEG-2TS file is composed of an integer number of aligned units.
2) The size of the aligned unit is 6 kB (= 6144 bytes (2048 × 3 bytes)).
3) The aligned unit starts from the first byte of the source packet.
4) The source packet is 192 bytes long. One source packet includes a TP_extra_header and a TS packet. The TP_extra_header is 4 bytes long, and the TS packet is 188 bytes long.

5)TSパケットはヘッダ(TPヘッダ)とペイロード部を有する。1つのTSパケットのペイロードには画像、音声等、いずれか一種類のデータの符号化データが格納される。
6)TSパケットのヘッダ(TPヘッダ)にはペイロードのデータ種類を示すPID(プログラムID)が記録される。
7)TSパケットのペイロードは画像や音声等の符号化データであるエレメンタリストリーム(ES)を格納したパケット(パケタイズドエレメンタリストリーム(PES))とPESヘッダ等によって構成される。
8)PESヘッダには、後続のPESパケットに格納されたエレメンタリストリーム(ES)の再生時間情報を示すプレゼンテーションタイムスタンプ(PTS)が記録される。
5) The TS packet has a header (TP header) and a payload portion. The payload of one TS packet stores encoded data of any one type of data such as an image and sound.
6) A PID (program ID) indicating the data type of the payload is recorded in the header (TP header) of the TS packet.
7) The payload of a TS packet is composed of a packet (packetized elementary stream (PES)) that stores an elementary stream (ES) that is encoded data such as an image and sound, a PES header, and the like.
8) In the PES header, a presentation time stamp (PTS) indicating playback time information of the elementary stream (ES) stored in the subsequent PES packet is recorded.

さらに、図3(E)に示すように、TSパケットのヘッダ情報には、以下の各データが格納される。
(a)同期用バイト(Sync byte)
(b)トランスポートエラー識別子(Transport_error_indicator)
(c)ペイロードユニットスタート識別子(Payload_unit_start_indicator)
(d)トランスポートプライオリティ(Transport_priority)
(e)プログラムID(PID)
(f)トランスポートスクランブリングコントロール(Transport scrambling control)
(g)アダプテーションフィールドコントロール(Adaptation field control)
(h)コンティニュイティカウンタ(Continuity counter)
(i)アダプテーションフィールド(Adaptation field)
Further, as shown in FIG. 3E, the following data is stored in the header information of the TS packet.
(A) Byte for synchronization (Sync byte)
(B) Transport error identifier (Transport_error_indicator)
(C) Payload unit start identifier (Payload_unit_start_indicator)
(D) Transport priority (Transport_priority)
(E) Program ID (PID)
(F) Transport scrambling control (Transport scrambling control)
(G) Adaptation field control (Adaptation field control)
(H) Continuity counter
(I) Adaptation field (Adaptation field)

次に、図4、図5を参照して、MP4フォーマットの概要について説明する。
図4には、ISO/IEC14496−14で規定されたMP4フォーマットの例として、以下の2つの例を示している。
(a)フラグメンテッド(分割型)MP4ファイル(fragmented movie)
(b)ノンフラグメンテッド(非分割型)MP4ファイル(Non−fragmented movie)
これら図4(a),(b)に示すMP4ファイルは、MP4フォーマットに従ったデータの記録あるいは再生処理における1つの処理単位として設定されるファイルである。
Next, an outline of the MP4 format will be described with reference to FIGS.
FIG. 4 shows the following two examples as examples of the MP4 format defined by ISO / IEC 14496-14.
(A) Fragmented (split type) MP4 file (fragmented movie)
(B) Non-fragmented MP4 file (Non-fragmented movie)
These MP4 files shown in FIGS. 4A and 4B are files set as one processing unit in data recording or reproduction processing according to the MP4 format.

(a)フラグメンテッド(分割型)MP4ファイル(fragmented movie)は、再生対象データである画像や音声などのデータを所定時間内の再生データごとに分割して格納したファイルフォーマットである。
(b)ノンフラグメンテッド(非分割型)MP4ファイル(Non−fragmented movie)は、再生対象データである画像や音声などのデータを分割せずに格納したファイルフォーマットである。
(A) A fragmented (divided type) MP4 file (fragmented movie) is a file format in which data such as images and sounds, which are reproduction target data, is divided and stored for each reproduction data within a predetermined time.
(B) A non-fragmented (non-segmented) MP4 file (Non-fragmented movie) is a file format in which data such as images and sounds that are reproduction target data is stored without being divided.

MP4ファイルは、ボックス(box)単位の領域設定がなされ、各ボックスには、ボックス単位で定義されたデータが格納される。
各ボックスは、ボックスサイズ(box−size)、ボックスタイプ(box−type)、ボックスデータ(box−data)の各領域を有する。
ボックスサイズ(box−size)には、ボックスのデータ長(バイトサイズ)が記録される。
ボックスタイプ(box−type)には、ボックスに格納するデータの種類が記録される。
ボックスデータ(box−data)には、ボックスタイプで示される種類のデータが記録される。
In the MP4 file, an area is set in units of boxes, and data defined in units of boxes is stored in each box.
Each box has areas of a box size (box-size), a box type (box-type), and box data (box-data).
The box data size (byte size) is recorded in the box size (box-size).
In the box type (box-type), the type of data stored in the box is recorded.
In the box data (box-data), data of the type indicated by the box type is recorded.

図4(a)に示すフラグメンテッド(分割型)MP4ファイルには、以下のタイプのボックスが設定される。
moovボックス、
trakボックス、
moofボックス、
trafボックス、
mdatボックス、
上記の各ボックスが設定される。
The following types of boxes are set in the fragmented (split type) MP4 file shown in FIG.
moov box,
trak box,
moof box,
traf box,
mdat box,
Each box above is set.

画像、音声、字幕等の再生対象データである実データはmdatボックスに分割して格納される。
また、mdatボックスの各々にはmoofボックスが対応付けられており、moofボックスには、moofボックスに対応付けられたmdatボックスに格納した分割実データに関する属性情報、再生制御情報等のメタデータを格納する。
Actual data that is reproduction target data such as images, sounds, and captions is divided into mdat boxes and stored.
Further, each mdat box is associated with a moof box, and the moof box stores metadata such as attribute information and reproduction control information related to the divided actual data stored in the mdat box associated with the moof box. To do.

図4(a)に示すフラグメンテッド(分割型)MP4ファイルは、再生対象データの分割データである実データ(mdat)と分割実データ対応のメタデータ(moof)を1つのセットデータとして、多数のセットデータを格納し、さらに、格納した複数のセットデータ全体に関するメタデータをmoovボックスに格納した構成を有する。   The fragmented (divided) MP4 file shown in FIG. 4A includes a large number of pieces of actual data (mdat) that is divided data of reproduction target data and metadata corresponding to the divided actual data (moof) as one set data. It has a configuration in which set data is stored, and metadata regarding all of the plurality of stored set data is stored in a moov box.

分割実データ対応のメタデータ(moof)の内部には、trafボックスが設定される。
trafボックスには、対応付けられた実データ(mdat)の再生シーケンス情報等が格納される。
A traf box is set in the metadata (moof) corresponding to the divided actual data.
The traf box stores reproduction sequence information of associated real data (mdat) and the like.

moovボックスは、MP4ファイル全体に格納されたデータの再生制御情報等のメタデータの格納領域として設定されるボックスである。
moovボックス内には、1つ以上のtrakボックスが設定される。trakボックスは、例えば画像、音声、字幕等のデータ種類別に設定可能であり、各データの再生シーケンス情報等を格納する。
The moov box is a box set as a storage area for metadata such as reproduction control information of data stored in the entire MP4 file.
One or more trak boxes are set in the moov box. The trak box can be set for each data type such as image, sound, subtitle, etc., and stores reproduction sequence information of each data.

なお、MP4ファイルに格納される再生データに複数の異なる画像データ、例えばHD画像、4K画像等が含まれる場合には、これらの画像種類に応じて個別のtrakボックスを設定することが可能である。
また、MP4ファイルの格納音声データに複数の異なる音声データ、例えば日本語音声、英語音声等が含まれる場合には、これらの音声種類に応じて個別のtrakボックスを設定可能である。
同様に、MP4ファイルの格納字幕データに複数の異なる字幕データ、例えば日本語字幕、英語字幕等が含まれる場合には、これらの字幕種類に応じて個別のtrakボックスを設定可能である。
If the playback data stored in the MP4 file includes a plurality of different image data, such as HD images, 4K images, etc., it is possible to set individual trak boxes according to these image types. .
Also, if the stored audio data of the MP4 file includes a plurality of different audio data, for example, Japanese audio, English audio, etc., individual trak boxes can be set according to these audio types.
Similarly, when the stored subtitle data of the MP4 file includes a plurality of different subtitle data, for example, Japanese subtitles, English subtitles, etc., individual trak boxes can be set according to these subtitle types.

(b)ノンフラグメンテッド(非分割型)MP4ファイル(Non−fragmented movie)は、再生対象データである画像や音声などのデータを分割せずに格納したファイルフォーマットである。
図4(b)に示すノンフラグメンテッド(非分割型)MP4ファイルには、以下のタイプのボックスが設定される。
moovボックス、
trakボックス、
mdatボックス、
上記の各ボックスが設定される。
(B) A non-fragmented (non-segmented) MP4 file (Non-fragmented movie) is a file format in which data such as images and sounds that are reproduction target data is stored without being divided.
The following types of boxes are set in the non-fragmented (non-divided) MP4 file shown in FIG.
moov box,
trak box,
mdat box,
Each box above is set.

mdatボックスにはは、再生対象となる実データが格納される。
moovボックスには、再生対象データである実データ(mdat)に対応して設定されるメタデータ、例えば再生対象実データ(mdat)の属性や再生制御情報を含むメタデータが格納される。
moovボックス内に設定されるtrakボックスには、実データ(mdat)の再生シーケンス情報等が格納される。
The mdat box stores actual data to be reproduced.
The moov box stores metadata set corresponding to the actual data (mdat) that is the reproduction target data, for example, metadata including the attributes of the reproduction target real data (mdat) and the reproduction control information.
The trak box set in the moov box stores reproduction sequence information of actual data (mdat).

前述の(a)フラグメンテッド(分割型)MP4ファイルと同様、(b)ノンフラグメンテッド(非分割型)MP4ファイルに設定されるmoovボックス内にも1つ以上のtrakボックスが設定される。各trakボックスは、例えば画像、音声、字幕等のデータ種類別に設定される。   Similar to the above-described (a) fragmented (divided) MP4 file, one or more trak boxes are set in the moov box set in (b) non-fragmented (non-divided) MP4 file. Each trak box is set for each data type, such as image, audio, and caption.

図4は、MP4フォーマットの基本構成例を示している。
MP4フォーマットに関する規格化団体であるDECE(Digital Entertainment Content Ecosystem)は、MP4ベースの新たなファイルフォーマットとしてCFF(Common File Format)を規格化した。このCFFについて、図5を参照して説明する。
FIG. 4 shows a basic configuration example of the MP4 format.
DECE (Digital Entertainment Content Ecosystem), a standardization organization related to the MP4 format, has standardized CFF (Common File Format) as a new MP4-based file format. This CFF will be described with reference to FIG.

図5に示すCFF(Common File Format)は、基本的には、図4(a)を参照して説明した分割型(fragmented movie)MP4と同様のデータ構成を有する。   The CFF (Common File Format) shown in FIG. 5 basically has the same data configuration as the fragmented movie MP4 described with reference to FIG.

すなわち、図5に示すCFF(Common File Format)ファイルには、先に説明した図4(a)のフラグメンテッド(分割型)MP4ファイルと同様、以下の各ボックスが設定される。
moovボックス、
trakボックス、
moofボックス、
trafボックス、
mdatボックス、
上記の各ボックスが設定される。
That is, in the CFF (Common File Format) file shown in FIG. 5, the following boxes are set as in the fragmented (split type) MP4 file shown in FIG.
moov box,
trak box,
moof box,
traf box,
mdat box,
Each box above is set.

各ボックスの格納データは、図4(a)のフラグメンテッド(分割型)MP4ファイルとほぼ同様である。
ただし、CFFでは、各mdatボックスには、1つの種類のデータのみを格納するという制約が設けられている。
すなわち、各mdatボックスには、
(a)画像
(b)音声
(c)字幕
これらのデータのいずれか一種類のデータを格納する。上記(a)〜(c)のデータを混在させて格納してはならないという制約がある。
The data stored in each box is almost the same as the fragmented (split) MP4 file shown in FIG.
However, in CFF, each mdat box has a restriction that only one type of data is stored.
That is, in each mdat box,
(A) Image (b) Audio (c) Subtitle One kind of data is stored. There is a restriction that the above data (a) to (c) should not be mixed and stored.

なお、CFFファイルに複数の異なる画像データ、例えばHD画像、4K画像等が含まれる場合には、これらの異なる画像は、異なるmdatボックスに格納する。
同様に、異なる音声データ、例えば日本語音声、英語音声等についても個別のmdatボックスに格納し、日本語字幕、英語字幕等についても異なるmdatボックスに格納する。
When a plurality of different image data such as HD images, 4K images, etc. are included in the CFF file, these different images are stored in different mdat boxes.
Similarly, different audio data such as Japanese audio and English audio are stored in individual mdat boxes, and Japanese subtitles and English subtitles are also stored in different mdat boxes.

図4(a)に示す一般的なフラグメンテッド(分割型)MP4ファイルでは、1つの分割データ(フラグメント)の格納ボックスとして設定されるmdatボックスに、画像、音声、字幕等の異なる種類のデータを混在させて格納することが許容されていた。
しかし、図5に示すCFF(Common File Format)では、1つのmdatボックスには、1つの種類のデータのみしか格納してはならないという制約が設けられている。
In the general fragmented (divided) MP4 file shown in FIG. 4A, different types of data such as images, audio, and subtitles are stored in the mdat box set as a storage box for one divided data (fragment). It was allowed to store a mixture.
However, in CFF (Common File Format) shown in FIG. 5, there is a restriction that only one type of data can be stored in one mdat box.

すなわち、画像、音声、または字幕のいずれか一種類のデータのみが各mdatボックスに個別に格納される。
従ってmdatボックス対応のメタデータ格納領域であるmoofボックスも、画像、音声、字幕いずれか一種類のデータに対応して設定されるメタデータを格納する設定となる。
That is, only one kind of data of image, sound, or subtitle is individually stored in each mdat box.
Accordingly, the moof box, which is a metadata storage area corresponding to the mdat box, is also set to store metadata set corresponding to one type of data of image, audio, and caption.

なおMP4フォーマットのデータ部であるmdatボックスの格納データは、基本データ単位としてのサンプル(sample)に区分される。
CFF(Common File Format)では、1つのmdatボックスには画像サンプルのみの集合、あるいは音声サンプルのみの集合、または字幕サンプルのみの集合、いずれか同一種類のデータサンプルの集合が格納されることになる。
Note that the data stored in the mdat box, which is the data portion of the MP4 format, is divided into samples as basic data units.
In CFF (Common File Format), a set of only image samples, a set of only audio samples, a set of only subtitle samples, or a set of data samples of the same type is stored in one mdat box. .

さらに、DECEの規定したCFFでは、CFFファイルに格納することを許容する画像、音声、字幕の符号化態様(コーデック)やデータ形式についても規定している。
CFFファイルに格納することが許容されるデータ形式には、例えば、以下のデータ形式がある。
画像(Video):AVC(MPEG−4AVC)、HEVC(MPEG−4HEVC)、
音声(Audio):MPEG−4−AAC、Dolby、AC−3
字幕(subtitle):SMPTE Timed Text(SMPTE−TT)
Furthermore, the CFF defined by DECE also defines the coding mode (codec) and data format of images, audio, and subtitles that are allowed to be stored in the CFF file.
Examples of data formats that are allowed to be stored in the CFF file include the following data formats.
Image (Video): AVC (MPEG-4AVC), HEVC (MPEG-4HEVC),
Audio: MPEG-4-AAC, Dolby, AC-3
Subtitle: SMPTE Timed Text (SMPTE-TT)

[2.MPEG−2TSをMP4に変換する場合の問題点について]
例えばBD(Blu−ray(登録商標) Disc)に記録されたMPEG−2TSフォーマットデータ、あるいは、ネットワークや放送波を介して入力するMPEG−2TSフォーマットデータを、MP4フォーマットに変換してフラッシュメモリ等のメディアに記録する処理を行う場合の問題点について説明する。
[2. Problems in converting MPEG-2TS to MP4]
For example, MPEG-2TS format data recorded on a BD (Blu-ray (registered trademark) Disc), or MPEG-2TS format data input via a network or broadcast wave is converted into an MP4 format and flash memory, etc. A problem in the case of performing processing for recording on a medium will be described.

なお、以下では、MPEG−2TSと、MP4の両フォーマットにおいて格納することが許容されたAVCまたはHEVC符号化画像データの変換処理例について説明する。
すなわち、BD等のメディアにMPEG−2TSフォーマットに従って格納されたAVCまたはHEVC符号化画像データを、MP4フォーマットデータに従った符号化データ格納形式に変換してフラッシュメモリ等のメディアに記録する場合の処理例について説明する。
In the following, an example of conversion processing of AVC or HEVC encoded image data permitted to be stored in both MPEG-2TS and MP4 formats will be described.
That is, processing when AVC or HEVC encoded image data stored in a medium such as BD is converted into an encoded data storage format in accordance with MP4 format data and recorded in a medium such as flash memory An example will be described.

まず、図6を参照してAVCまたはHEVC符号化画像データの基本構成について説明する。
例えば1枚の画像データ(1ピクチャ)に対応する符号化データ、およびその復号処理等に適用するパラメータ等は、複数のNALユニット(Network Abstruction Layer Unit)に格納される。
1枚の画像データ対応のNALユニットのセットをアクセスユニット(AU)と呼ぶ。
すなわち、AVC符号化画像データ、およびHEVC符号化画像データは、図6(A)に示すように、複数のNALユニットによって構成される。
First, the basic configuration of AVC or HEVC encoded image data will be described with reference to FIG.
For example, encoded data corresponding to one piece of image data (one picture), parameters applied to decoding processing thereof, and the like are stored in a plurality of NAL units (Network Abstraction Layer Units).
A set of NAL units corresponding to one image data is called an access unit (AU).
That is, AVC encoded image data and HEVC encoded image data are configured by a plurality of NAL units as shown in FIG.

各NALユニットは、NALヘッダとNALデータを有し、NALヘッダにはNALユニットのデータ種類識別情報等、NALデータに対応する属性情報(メタデータ)が格納される。
各NALユニットには、画像の符号化データの他、例えば符号化データのシーケンス情報や復号処理に適用するためのパラメータなどが格納される。
各NALユニットに格納されるデータの種類は、NALヘッダのIDによって識別される。
Each NAL unit has a NAL header and NAL data, and attribute information (metadata) corresponding to the NAL data such as data type identification information of the NAL unit is stored in the NAL header.
In addition to image encoded data, each NAL unit stores, for example, sequence information of encoded data, parameters to be applied to decoding processing, and the like.
The type of data stored in each NAL unit is identified by the ID of the NAL header.

NALユニットに格納されるデータは、例えば以下のデータである。
(1)AU delimiter(AUD):アクセスユニット(AU)の開始位置
(2)SPS:シーケンスパラメータ
(3)PPS:ピクチャパラメータ
(4)SEI:各種補助情報
(5)Slice data:符号化画像(ビデオ)データの構成要素
(6)Filler data:サイズ調整用データ
(7)End of **:アクセスユニット(AU)の終点位置
これらのデータが各NALユニットに格納される。
The data stored in the NAL unit is, for example, the following data.
(1) AU delimiter (AUD): start position of access unit (AU) (2) SPS: sequence parameter (3) PPS: picture parameter (4) SEI: various auxiliary information (5) Slice data: coded image (video) ) Data components (6) Filler data: Size adjustment data (7) End of **: End position of access unit (AU) These data are stored in each NAL unit.

符号化データの格納形式(コンテナフォーマット)を規定したMPEG−2TSフォーマット、およびMP4フォーマットは、いずれもAVC符号化画像データ、あるいはHEVC符号化画像データを格納する場合、図6に示すNALユニットを各フォーマットに従って格納する。   The MPEG-2TS format and the MP4 format, which define the storage format (container format) of encoded data, each store the NAL unit shown in FIG. 6 when storing AVC encoded image data or HEVC encoded image data. Store according to format.

図7は、これら2つのフォーマットに従ったNALユニット格納例を示している。
図7(1)はMPEG−2TSフォーマットに従ったNALユニットの格納例であり、バイトストリームフォーマット(byte stream format)と呼ばれる。
図7(2)は、MP4フォーマットに従ったNALユニットの格納例であり、サンプルストラクチャ(sample structure)と呼ばれる。
FIG. 7 shows an example of NAL unit storage according to these two formats.
FIG. 7A shows an example of storing a NAL unit in accordance with the MPEG-2TS format, which is called a byte stream format.
FIG. 7B is an example of storing a NAL unit in accordance with the MP4 format, and is called a sample structure.

図7(1)に示すMPEG−2TSフォーマットでは、各NALユニットの前方位置にスタートコード(SC:Start code)が設定される。
このスタートコード(SC)は、NALユニットの開始位置を示す識別子であり、特定のビット列(0x000001)によって構成される。
In the MPEG-2TS format shown in FIG. 7A, a start code (SC: Start code) is set at the front position of each NAL unit.
The start code (SC) is an identifier indicating the start position of the NAL unit, and is configured by a specific bit string (0x000001).

MPEG−2TSフォーマットデータの処理を行なう例えば再生装置は、このスタートコード(SC)のコード(0x000001)を検出して、SCの次の位置がNALユニット開始位置であると識別することができる。この識別処理によって、正確にNALユニット構成データを抽出することが可能となる。   For example, a playback apparatus that processes MPEG-2TS format data can detect the code (0x000001) of the start code (SC) and identify the next position of the SC as the NAL unit start position. By this identification processing, it is possible to accurately extract NAL unit configuration data.

一方、図7(2)に示すMP4フォーマットでは、各NALユニットの前方位置にレングス情報(Length)が設定される。
このレングス情報(Length)は、次のNALユニットのデータ長(サイズ)を示すデータであり、各NALユニットのデータ長(サイズ)が格納される。
MP4フォーマットデータの処理を行なう例えば再生装置は、このレングス情報(Length)に基づいて、次の位置からのNALユニットのデータ長を判別して、データ長(サイズ)に従って、NALユニット構成データを抽出することが可能となる。
なお、NALユニットは様々なデータ長に設定可能であり、各NALユニットの長さは異なるものとなる。
On the other hand, in the MP4 format shown in FIG. 7 (2), length information (Length) is set at the front position of each NAL unit.
This length information (Length) is data indicating the data length (size) of the next NAL unit, and stores the data length (size) of each NAL unit.
For example, a playback device that processes MP4 format data determines the data length of the NAL unit from the next position based on this length information (Length), and extracts NAL unit configuration data according to the data length (size). It becomes possible to do.
The NAL unit can be set to various data lengths, and the length of each NAL unit is different.

図7(1),(2)に示すように、AVC/HEVC画像符号化データを格納したMPEG−2TSフォーマットと、MP4フォーマットは異なるフォーマットとなる。
具体的には、MPEG−2TSのスタートコード(SC)が、MP4フォーマットでは、レングス情報(Length)に置き換えられている。
As shown in FIGS. 7A and 7B, the MPEG-2TS format storing the AVC / HEVC image encoded data and the MP4 format are different formats.
Specifically, the MPEG-2 TS start code (SC) is replaced with length information (Length) in the MP4 format.

NALユニットについては、MPEG−2TS、MP4フォーマットのいずれにも格納される。
従って、MPEG−2TSフォーマットデータをMP4フォーマットデータに変換する場合には、MPEG−2TSのスタートコード(SC)の位置を正確に判別して、MPEG−2TSフォーマットデータからNALユニットを確実に取得してMP4フォーマットデータの構成データとして設定する処理が必要となる。
The NAL unit is stored in both MPEG-2TS and MP4 formats.
Therefore, when converting MPEG-2TS format data to MP4 format data, the position of the MPEG-2TS start code (SC) is accurately determined, and the NAL unit is reliably obtained from the MPEG-2TS format data. A process of setting as configuration data of MP4 format data is required.

しかし、既存のBD−ROMのBDMV規格では、先に図3を参照して説明したアラインドユニット(Aligned Unit(6144bytes))単位で暗号化することを規定している。この規定に従うと、スタートコード(SC)も暗号化されて記録されることになる。
MPEG−2TSからMP4への変換処理を行なうためには、スタートコード(SC)の位置識別が必要となるため、一旦、アラインドユニット単位の暗号化データの復号を行い、スタートコード(SC)(=0x000001))を確認することが必要となる。
However, the existing BD-ROM BDMV standard defines that encryption is performed in units of aligned units (aligned units (6144 bytes)) described above with reference to FIG. According to this rule, the start code (SC) is also encrypted and recorded.
In order to perform conversion processing from MPEG-2TS to MP4, it is necessary to identify the position of the start code (SC). Therefore, the encrypted data is once decrypted in units of aligned units, and the start code (SC) ( = 0x000001)).

このように、MPEG−2TSからMP4へのフォーマット変換時にデータを復号し、スタートコード(SC)(=0x000001))を確認し、さらに、再暗号化してMP4フォーマットに変換してフラッシュメモリに記録するのは、ユーザ装置における処理負荷を増大させることになる。また、変換時の復号処理によって、平文コンテンツが漏えいする可能性も大きくなり、コンテンツ著作権保護の観点からも好ましくない。   In this way, the data is decrypted at the time of the format conversion from MPEG-2TS to MP4, the start code (SC) (= 0x000001) is confirmed, re-encrypted, converted to the MP4 format, and recorded in the flash memory. This increases the processing load on the user device. In addition, the possibility of leakage of plaintext content is increased by the decryption process at the time of conversion, which is not preferable from the viewpoint of content copyright protection.

このような問題を解決するため、ISO23001−9(策定中)では、新たなBD−ROM用の規格が準備されている。具体的には、MPEG−2TSの暗号化方法を変更し、MPEG−2TSの一部の構成データのみを暗号化するサブサンプル暗号を許容する規格を認める方向としている。
この新しい規格では、MPEG−2TS内のスタートコード(SC)を暗号化対象から除き、MPEG−2TSに含まれるスタートコード(SC)を平文としてMPEG−2TSに記録することを許容するものである。
In order to solve such problems, ISO 23001-9 (under development) is preparing a new standard for BD-ROM. More specifically, the MPEG-2TS encryption method is changed to allow a standard that allows sub-sample encryption that encrypts only a part of the configuration data of MPEG-2TS.
In this new standard, the start code (SC) in MPEG-2TS is excluded from the encryption target, and the start code (SC) included in MPEG-2TS is allowed to be recorded in MPEG-2TS as plain text.

これは、秘匿性の高い画像データについては暗号化対象として、スタートコード(SC)等の付随データについては、非暗号化データ(平文)とすることを許容するものである。
このサブサンプル暗号化を施したMPEG−2TSの構成例を図8に示す。
図8は、1ピクチャ単位の符号化画像データとメタデータによって構成される1つのアクセスユニット(AU)単位のMPEG−2TSフォーマットデータであり、符号化画像データの領域のみを暗号化したデータ、すなわちサブサンプル暗号化を施したMPEG−2TSの例を示している。
This allows image data with high confidentiality to be encrypted, and accompanying data such as a start code (SC) to be unencrypted data (plain text).
FIG. 8 shows a configuration example of MPEG-2TS subjected to this subsample encryption.
FIG. 8 shows MPEG-2TS format data in one access unit (AU) unit composed of encoded image data in one picture unit and metadata, that is, data obtained by encrypting only the encoded image data area, An example of MPEG-2TS with sub-sample encryption is shown.

スタートコード(SC)は、非暗号化データであり、特定のコード(0x000001)がそのまま維持されている。従って、MPEG−2TSからMP4への変換を行う装置は、MPEG−2TSからスタートコード(SC=0x000001)を検出し、SCに続くNALユニットを抽出して、NALユニットをMP4の構成データとして設定することが可能となる。
NALユニット内の符号化画像データは暗号化されたデータであるので、データ漏えいの可能性も少なく安全なフォーマット変換および記録処理が可能となる。
The start code (SC) is non-encrypted data, and a specific code (0x000001) is maintained as it is. Therefore, an apparatus that performs conversion from MPEG-2TS to MP4 detects a start code (SC = 0x000001) from MPEG-2TS, extracts a NAL unit following the SC, and sets the NAL unit as MP4 configuration data. It becomes possible.
Since the encoded image data in the NAL unit is encrypted data, there is little possibility of data leakage, and safe format conversion and recording processing can be performed.

図9は、MPEG−2TSフォーマットにおいて規定されるPESパケット、すなわち、1つの画像フレームに相当する1ピクチャに関する符号化データおよびそのメタデータを格納したPESパケットの構成データについての、MPEG−2TSフォーマットデータと、MP4フォーマットデータとの対応について説明する図である。   FIG. 9 shows MPEG-2TS format data of PES packets defined in the MPEG-2TS format, that is, the constituent data of the PES packet storing encoded data and its metadata corresponding to one picture corresponding to one image frame. And the correspondence between MP4 format data and FIG.

図9(2)に示すPESパケットは、1つの画像フレーム(1ピクチャ)に対応する画像データとその復号処理に適用する情報等からなるメタデータをペイロードとして格納したパケットである。
このPESパケットは、図9(1)に示すように複数のTSパケットによって構成される。
この1つのTSパケット(Pn)の詳細構成例を図9(3)に示す。
The PES packet shown in FIG. 9 (2) is a packet in which metadata including image data corresponding to one image frame (one picture) and information applied to the decoding process is stored as a payload.
This PES packet is composed of a plurality of TS packets as shown in FIG.
A detailed configuration example of one TS packet (Pn) is shown in FIG.

図9(4)は、MPEG−2TSフォーマットデータを構成するTSパケットからTSペイロードのみを取り出して並べたデータ列である。
これは、AVCまたはHEVC符号化データのES(エレメンタリストリーム)バイトストリームフォーマット(AVC/HEVC ES byte stream format)データに相当する。
FIG. 9 (4) shows a data string in which only the TS payload is extracted from the TS packets constituting the MPEG-2 TS format data and arranged.
This corresponds to ES (elementary stream) byte stream format (AVC / HEVC ES byte stream format) data of AVC or HEVC encoded data.

MPEG−2TSフォーマットからMP4フォーマットへの変換を行う場合は、この図9(4)に示すバイトストリームデータを、図9(5)に示すMP4対応のMP4サンプルストラクチャ(AVC/HEVC sample structure)に変換することになる。   When converting from the MPEG-2TS format to the MP4 format, the byte stream data shown in FIG. 9 (4) is converted into an MP4 compatible MP4 sample structure (AVC / HEVC sample structure) shown in FIG. 9 (5). Will do.

この変換処理に際して、再生対象となる画像や音声データは、MPEG−2TSフォーマットにおいても、MP4フォーマットにおいても暗号化スライスデータ(Encrypted slice data)のまま、不変である。従って、MPEG−2TSフォーマットで記録されたデータを、MP4フォーマットに変更して他のメディアに記録する場合、再生対象となる画像や音声データについては復号処理や再暗号化処理を実行することなく、記録することが可能となる。   In this conversion processing, the image and audio data to be reproduced remain unchanged as encrypted slice data in both the MPEG-2TS format and the MP4 format. Therefore, when data recorded in the MPEG-2TS format is changed to the MP4 format and recorded on other media, the image or audio data to be reproduced is not subjected to decryption processing or re-encryption processing. It becomes possible to record.

[3.MP4フォーマットにおけるデータ暗号化構成について]
上述したように、現在、策定中の新たなBD−ROM用の規格ISO23001−9に従えば、MPEG−2TSからMP4へのフォーマット変換時に画像や音声データの復号を行う必要がなく、より安全度の高いフォーマット変換処理を伴うメディア間コピーが可能となる。
[3. Data encryption configuration in MP4 format]
As described above, according to the new BD-ROM standard ISO 23001-9 that is currently being formulated, it is not necessary to decode image and audio data when converting the format from MPEG-2TS to MP4, and the degree of safety is increased. Copy between media with high format conversion processing.

しかし、MP4フォーマットには、現行のMPEG−2TSフォーマットにはない独特のデータ暗号化構成の規定がある。
このMP4独自の暗号化構成に従ったMP4ファイルを生成する場合、上述の対応のみではMPEG−2TSからMP4フォーマット変換を正常に実行できなくなる場合がある。
However, the MP4 format has a unique data encryption configuration that is not found in the current MPEG-2 TS format.
When generating an MP4 file in accordance with this MP4 original encryption configuration, it may not be possible to normally execute MP4 format conversion from MPEG-2TS only with the above-mentioned correspondence.

MP4フォーマットに規定されたデータ暗号化構成について、図10以下を参照して説明する。
このデータ暗号化構成は、MP4フォーマットに従って格納された暗号化コンテンツを復号して生成した復号(平文)コンテンツに基づいて、復号処理に適用した鍵を判別可能とする構成である。
A data encryption configuration defined in the MP4 format will be described with reference to FIG.
This data encryption configuration is a configuration in which a key applied to a decryption process can be determined based on decrypted (plaintext) content generated by decrypting encrypted content stored in accordance with the MP4 format.

これは、例えばスマートホン等のMP4再生装置において、MP4格納メディアから読み出した暗号化コンテンツを復号し、その復号(平文)コンテンツが不正にコピーされてネットワーク等を介して広がってしまった場合などにおいて、コピーコンテンツに基づいて、コピー元の復号(平文)コンテンツの出所を追跡可能とするための構成である。   This is because, for example, in an MP4 playback device such as a smart phone, the encrypted content read from the MP4 storage medium is decrypted, and the decrypted (plaintext) content is illegally copied and spread over a network or the like. The configuration is such that the origin of the decrypted (plaintext) content of the copy source can be traced based on the copy content.

暗号化コンテンツを復号して生成した復号コンテンツ、例えば復号画像データを解析して、画像の復号に適用した鍵を特定可能としている。
例えば、ある再生装置において復号された画像データのコピーデータがインターネット等を介して流通した場合、コンテンツ管理装置は、コピーコンテンツの画像解析を実行して画像の復号に適用した鍵を特定することができる。
The decrypted content generated by decrypting the encrypted content, for example, decrypted image data is analyzed, and the key applied to the decryption of the image can be specified.
For example, when copy data of image data decrypted in a certain playback device is distributed via the Internet or the like, the content management device may perform image analysis of the copy content and identify the key applied to the decryption of the image. it can.

管理装置は、暗号鍵(復号鍵)と、その鍵を格納したデバイスの識別情報、すなわちユーザの再生装置識別情報との対応データを保有しており、暗号鍵識別子情報に基づいて、その暗号鍵を格納したデバイスを特定することが可能となる。
なお、各再生装置に格納される暗号鍵(復号鍵)は、デバイス単位、またはデバイスの種類単位、あるいはメーカー単位等によって異なり、これらの設定単位に応じた出所追跡が可能となる。
The management device has correspondence data between the encryption key (decryption key) and the identification information of the device storing the key, that is, the reproduction device identification information of the user, and the encryption key is based on the encryption key identifier information. It becomes possible to specify the device storing the.
Note that the encryption key (decryption key) stored in each playback device differs depending on the device unit, device type unit, manufacturer unit, or the like, and the origin can be traced according to these setting units.

図10は、フラッシュメモリ等のメディア100の格納データであるMP4フォーマットデータの復号、再生処理例を示す図である。
メディア100には、複数の異なる暗号鍵であるメディアキーKm、およびセグメントキーKsa,Ksb,Ksc,・・・によって復号可能なコンテンツが格納される。なお、ここではコンテンツの一例として画像の場合について説明する。画像は静止画、動画いずれでもよい。
FIG. 10 is a diagram showing an example of MP4 format data decoding and playback processing that is stored in the medium 100 such as a flash memory.
The medium 100 stores content that can be decrypted by a plurality of different encryption keys, ie, a media key Km and segment keys Ksa, Ksb, Ksc,. Here, the case of an image will be described as an example of content. The image may be either a still image or a moving image.

メディア100には例えば以下の暗号化画像データが格納される。
(1)サンプル100=メディアキーKmで復号可能な暗号化画像、
(2)鍵情報埋め込みデータA102a=メディアキーKmとセグメントキーKsaの2つの鍵で復号可能な暗号化画像、
(3)鍵情報埋め込みデータB102b=メディアキーKmとセグメントキーKsbの2つの鍵で復号可能な暗号化画像、
(4)鍵情報埋め込みデータC102c=メディアキーKmとセグメントキーKscの2つの鍵で復号可能な暗号化画像、
For example, the following encrypted image data is stored in the medium 100.
(1) Sample 100 = encrypted image that can be decrypted with the media key Km,
(2) Key information embedded data A102a = encrypted image that can be decrypted with two keys of media key Km and segment key Ksa,
(3) Key information embedded data B102b = encrypted image that can be decrypted with two keys of media key Km and segment key Ksb,
(4) Key information embedded data C102c = encrypted image that can be decrypted with two keys of media key Km and segment key Ksc,
:

上記(1)の暗号化画像は、メディアキーKmのみを適用して復号可能な画像であり、静止画または動画を構成する1フレーム画像の一部領域または全体領域の暗号化画像である。
上記(2)〜(4)の暗号化画像は、メディアキーKmと1つのセグメントキーKsxを適用することで復号可能な画像、すなわち二重暗号化が施された画像であり、静止画または動画を構成する1フレーム画像の一部領域の画像データとなる。
1つの完成された画像フレーム、例えば図10に示す復号画像115を生成するためには、上記の(1)〜(4)の複数の暗号化画像の復号結果を組み合わせることが必要となる。
The encrypted image of (1) above is an image that can be decrypted by applying only the media key Km, and is an encrypted image of a partial area or the entire area of one frame image constituting a still image or a moving image.
The encrypted images (2) to (4) are images that can be decrypted by applying the media key Km and one segment key Ksx, that is, images that have been subjected to double encryption, and are still images or moving images. Is the image data of a partial area of one frame image constituting the image data.
In order to generate one completed image frame, for example, the decrypted image 115 shown in FIG. 10, it is necessary to combine the decrypted results of the plurality of encrypted images (1) to (4).

上記(1)〜(4)の各画像、または少なくとも(2)〜(4)の各画像には、それぞれ目視では認識できないレベルの識別情報が埋め込まれており、復号画像を解析することにより、(2)〜(4)のどの画像であるか、すなわち、どの鍵を適用して復号されたかを判別可能な構成を持つ。   In each of the above images (1) to (4), or at least each of the images (2) to (4), identification information of a level that cannot be visually recognized is embedded, and by analyzing the decoded image, It has a configuration capable of determining which image of (2) to (4), that is, which key is applied for decryption.

メディア100が、例えばスマートホン等のコンテンツ再生装置(プレーヤ)に装着されると、コンテンツ再生装置(プレーヤ)は、MPEG−2TSフォーマットとして記録された暗号化データを読み出す。
その後、再生装置は、メモリに格納された暗号鍵を適用して復号処理を実行して、復号画像を生成して再生する。
When the medium 100 is attached to a content playback device (player) such as a smart phone, the content playback device (player) reads out the encrypted data recorded as the MPEG-2TS format.
Thereafter, the playback device applies the encryption key stored in the memory to execute the decryption process, and generates and plays back the decrypted image.

各再生装置のメモリに格納されている鍵は、
メディアキーKm、
セグメントキーKsx
となる。
メディアキーKmは全ての再生装置(デバイス)に格納される。
一方、セグメントキー(Ksx)については、再生装置(デバイス)、あるいは再生装置の種類ごとに格納種類や数は様々な設定となる。
The key stored in the memory of each playback device is
Media key Km,
Segment key Ksx
It becomes.
The media key Km is stored in all playback devices (devices).
On the other hand, for the segment key (Ksx), the storage type and the number are variously set for each type of playback device (device) or playback device.

具体的には、装置ごと、あるいは装置種類ごと、あるいは装置メーカーごとなど、所定の装置カテゴリごとに異なる設定とする。
図10に示す例では、
再生装置110は、メディアキーKmとセグメントキーKsaを保持している。
一方、再生装置120は、メディアキーKmとセグメントキーKsbを保持している。
Specifically, different settings are made for each predetermined device category, such as for each device, each device type, or each device manufacturer.
In the example shown in FIG.
The playback device 110 holds a media key Km and a segment key Ksa.
On the other hand, the playback device 120 holds a media key Km and a segment key Ksb.

再生装置110は、再生装置110に格納された再生アプリケーションに従って、暗号化データの復号および出力処理を実行する。
再生アプリケーションは、各画像領域単位で、復号に適用する暗号鍵を選択して復号画像115を生成する。
The playback device 110 executes decryption and output processing of the encrypted data according to the playback application stored in the playback device 110.
The playback application selects the encryption key to be applied to decryption for each image area unit and generates the decrypted image 115.

再生装置110は、
(a)メディアキーKmのみを適用して復号する画像領域、
(b)メディアキーKmと、セグメントキーKsaを適用して復号する画像領域、
これら2つの画像領域を組み合わせて復号画像115を生成して出力する。
すなわち、復号画像115は、
(a)メディアキーKmのみを適用して復号された画像領域、
(b)メディアキーKmと、セグメントキーKsaを適用して復号された画像領域、
これら2種類の画像領域が混在した画像となる。
The playback device 110
(A) an image area to be decrypted by applying only the media key Km;
(B) an image area to be decrypted by applying the media key Km and the segment key Ksa;
These two image regions are combined to generate and output a decoded image 115.
That is, the decoded image 115 is
(A) an image area decrypted by applying only the media key Km;
(B) an image area decrypted by applying the media key Km and the segment key Ksa;
These two types of image areas are mixed.

例えば、この復号画像115がネットワークを介して流通した場合、復号画像115の解析により、この復号画像115は、
(a)メディアキーKmのみを適用して復号された画像領域、
(b)メディアキーKmと、セグメントキーKsaを適用して復号された画像領域、
これら2種類の画像領域の混在画像であると判断される。
この判断結果に従って、復号画像115は、メディアキーKmと、セグメントキーKsaを保持する再生装置において復号された画像であると判定することが可能となる。
For example, when the decoded image 115 is distributed via the network, the decoded image 115 is analyzed by analyzing the decoded image 115.
(A) an image area decrypted by applying only the media key Km;
(B) an image area decrypted by applying the media key Km and the segment key Ksa;
It is determined that the image is a mixed image of these two types of image areas.
According to this determination result, it is possible to determine that the decrypted image 115 is an image decrypted by the playback device that holds the media key Km and the segment key Ksa.

一方、再生装置120も、再生装置120に格納された再生アプリケーションに従って、暗号化データの復号および出力処理を実行する。
再生アプリケーションは、各画像領域単位で、復号に適用する暗号鍵を選択して復号画像125を生成する。
On the other hand, the playback device 120 also executes decryption and output processing of encrypted data according to the playback application stored in the playback device 120.
The playback application selects the encryption key to be applied to the decryption for each image area and generates the decrypted image 125.

再生装置120は、
(a)メディアキーKmのみを適用して復号する画像領域、
(b)メディアキーKmと、セグメントキーKsbを適用して復号する画像領域、
これら2つの画像領域を組み合わせて復号画像125を生成して出力する。
すなわち、復号画像125は、
(a)メディアキーKmのみを適用して復号された画像領域、
(b)メディアキーKmと、セグメントキーKsbを適用して復号された画像領域、
これら2種類の画像領域が混在した画像となる。
The playback device 120
(A) an image area to be decrypted by applying only the media key Km;
(B) an image area to be decrypted by applying the media key Km and the segment key Ksb;
These two image areas are combined to generate and output a decoded image 125.
That is, the decoded image 125 is
(A) an image area decrypted by applying only the media key Km;
(B) an image area decrypted by applying the media key Km and the segment key Ksb;
These two types of image areas are mixed.

例えば、この復号画像125がネットワークを介して流通した場合、復号画像125の解析により、この復号画像115は、
(a)メディアキーKmのみを適用して復号された画像領域、
(b)メディアキーKmと、セグメントキーKsbを適用して復号された画像領域、
これら2種類の画像領域の混在画像であると判断される。
この判断結果に従って、復号画像125は、メディアキーKmと、セグメントキーKsbを保持する再生装置において復号された画像であると判定することが可能となる。
For example, when the decoded image 125 is distributed via the network, the decoded image 115 is analyzed by analyzing the decoded image 125.
(A) an image area decrypted by applying only the media key Km;
(B) an image area decrypted by applying the media key Km and the segment key Ksb;
It is determined that the image is a mixed image of these two types of image areas.
According to this determination result, the decrypted image 125 can be determined to be an image decrypted by the playback device that holds the media key Km and the segment key Ksb.

なお、図に示す例では、復号画像115,125は、いずれも、
(a)メディアキーKmのみを適用して復号された画像領域、
(b)メディアキーKmと、セグメントキーKsaまたはKsbを適用して復号された画像領域、
これら2種類の画像領域の組み合わせとして説明したが、これは一例であり、3種類以上の多数の異なる鍵の組み合わせからなる画像とすることも可能である。より多くの種類の画像領域を混在させることで、復号処理を実行した再生装置をより細かく特定することが可能となる。
In the example shown in the figure, the decoded images 115 and 125 are both
(A) an image area decrypted by applying only the media key Km;
(B) an image area decrypted by applying the media key Km and the segment key Ksa or Ksb;
Although described as a combination of these two types of image areas, this is merely an example, and an image composed of a combination of a large number of three or more different keys may be used. By mixing more types of image regions, it is possible to more precisely specify the playback device that has performed the decoding process.

図11は、再生装置110と、再生装置120において、復号画像115,125を生成する場合のメディア100に格納されたデータの利用例を説明する図である。   FIG. 11 is a diagram illustrating an example of using data stored in the medium 100 when the playback device 110 and the playback device 120 generate decoded images 115 and 125.

再生装置110は、メディアキーKmと、セグメントキーKsaをメモリに格納している再生装置である。
再生装置110は、メディア100に格納されたサンプル101と、鍵情報埋め込みデータA102aを取得する。
メディア100には、図10を参照して説明したように、様々な鍵情報埋め込みデータA,B,C・・・が格納されている。
The playback device 110 is a playback device that stores a media key Km and a segment key Ksa in a memory.
The playback apparatus 110 acquires the sample 101 stored in the medium 100 and the key information embedded data A102a.
As described with reference to FIG. 10, various key information embedded data A, B, C.

再生装置110は、メディア100に格納されたメタデータに従って、自己の保持するメディアキーKmと、セグメントキーKsaによって復号可能な鍵情報埋め込みデータA102aを選択する。
メタデータの構成については、後段で詳細に説明する。
The playback device 110 selects the media key Km held by the playback device 110 and the key information embedded data A102a that can be decrypted by the segment key Ksa according to the metadata stored in the media 100.
The configuration of metadata will be described in detail later.

再生装置110は、メディア100に格納されたサンプル101と、鍵情報埋め込みデータA102aを取得し、サンプル101に対してメディアキーKmを適用して復号し、情報埋め込みデータA102aについては、メディアキーKmと、セグメントキーKsaを適用して復号する。
これらの復号処理によって、復号画像115を生成する。
The playback device 110 acquires the sample 101 stored in the medium 100 and the key information embedded data A102a, decrypts the sample 101 by applying the media key Km, and the information embedded data A102a And decrypting by applying the segment key Ksa.
By these decoding processes, a decoded image 115 is generated.

一方、再生装置120は、メディアキーKmと、セグメントキーKsbをメモリに格納している再生装置である。
再生装置120は、メディア100に格納されたサンプル101と、鍵情報埋め込みデータB102bを取得する。
On the other hand, the playback device 120 is a playback device that stores a media key Km and a segment key Ksb in a memory.
The playback device 120 acquires the sample 101 stored in the medium 100 and the key information embedded data B102b.

再生装置120も、メディア100に格納されたメタデータに従って、自己の保持するメディアキーKmと、セグメントキーKsbによって復号可能な鍵情報埋め込みデータB102bを選択する。
再生装置120は、メディア100に格納されたサンプル101と、鍵情報埋め込みデータB102bを取得し、サンプル101に対してメディアキーKmを適用して復号し、情報埋め込みデータB102bについては、メディアキーKmと、セグメントキーKsbを適用して復号する。
これらの復号処理によって、復号画像125を生成する。
The playback device 120 also selects the media key Km held by itself and the key information embedded data B102b that can be decrypted by the segment key Ksb in accordance with the metadata stored in the medium 100.
The playback device 120 acquires the sample 101 stored in the medium 100 and the key information embedded data B102b, decrypts the sample 101 by applying the media key Km, and the information embedded data B102b And decrypting by applying the segment key Ksb.
By these decoding processes, a decoded image 125 is generated.

図11を参照して説明したように、各再生装置が、自己の保持する鍵を適用して復号可能なデータを選択するためには、メタデータを参照することが必要となる。
このメタデータについて図12を参照して説明する。
As described with reference to FIG. 11, it is necessary for each playback device to refer to metadata in order to select data that can be decrypted by applying a key held by itself.
This metadata will be described with reference to FIG.

図12は、先に図4、図5を参照して説明したと同様のMP4ファイルの構成を示す図である。
先に図4、図5を参照して説明したように、MP4ファイルには、データ種別によって区分される各種のボックスが設定される。
画像、音声、字幕等の再生対象データである実データはmdatボックスに分割して格納される。
mdatボックスの各々にはmoofボックスが対応付けられ、各moofボックスには、対応付けられたmdatボックスに格納した分割データに関する属性情報、再生制御情報等のメタデータが格納される。
moovボックスには、MP4ファイル格納データ全体に対応するメタデータを格納する。
FIG. 12 is a diagram showing the structure of an MP4 file similar to that described above with reference to FIGS.
As described above with reference to FIGS. 4 and 5, various boxes classified by data type are set in the MP4 file.
Actual data that is reproduction target data such as images, sounds, and captions is divided into mdat boxes and stored.
Each mdat box is associated with a moof box, and each moof box stores metadata such as attribute information and reproduction control information related to divided data stored in the associated mdat box.
In the moov box, metadata corresponding to the entire MP4 file storage data is stored.

図12に示すように、鍵情報埋め込みデータ(VMD:variant media data)131は、例えば1フレーム画像相当の1ピクチャの暗号化データであるサンプル(sample)とともに、mdatボックスに格納される。
なお、図12は、鍵情報埋め込みデータ(VMD:variant media data)131を1つのみ示しているが、これは代表例であり、mdatボックスには、データ131以外にも異なる暗号鍵を適用して復号可能な複数の鍵情報埋め込みデータ(VMD)が格納される。
As shown in FIG. 12, key information embedded data (VMD: variant media data) 131 is stored in an mdat box together with a sample which is encrypted data of one picture corresponding to one frame image, for example.
FIG. 12 shows only one key information embedded data (VMD: variant media data) 131, but this is a representative example, and different encryption keys other than the data 131 are applied to the mdat box. A plurality of key information embedded data (VMD) that can be decrypted are stored.

図12に示す鍵情報埋め込みデータ(VMD:variant media data)131は、例えばメディアキーKmとセグメントキーKsaによって復号可能なデータであり、復号画像から、メディアキーKmとセグメントキーKsaによって復号されたことを示す識別情報を解析可能なデータである。   The key information embedded data (VMD: variant media data) 131 shown in FIG. 12 is data that can be decrypted by the media key Km and the segment key Ksa, for example, and has been decrypted from the decrypted image by the media key Km and the segment key Ksa. It is data which can analyze the identification information which shows.

この鍵情報埋め込みデータ(VMD:variant media data)131が、メディアキーKmとセグメントキーKsaによって復号可能なデータであることを示すメタデータが、メタデータ(vmet)132である。
メタデータ(vmet)132は、再生対象データではないが、にmdatボックスに格納される。
メタデータ(vmet)132には、鍵情報埋め込みデータ(variant media data)131の復号に適用する鍵の識別子(ID)と、MP4ファイルにおける鍵情報埋め込みデータ(variant media data)131の記録位置情報が記録されている。
Metadata indicating that the key information embedded data (VMD: variant media data) 131 can be decrypted by the media key Km and the segment key Ksa is metadata (vmet) 132.
The metadata (vmet) 132 is not reproduction target data, but is stored in the mdat box.
The metadata (vmet) 132 includes a key identifier (ID) applied to decryption of the key information embedded data (variant media data) 131 and recording position information of the key information embedded data (variant media data) 131 in the MP4 file. It is recorded.

本例では、鍵情報埋め込みデータ(VMD:variant media data)131は、メディアキーKmとセグメントキーKsaによって復号可能なデータである。
従って、メタデータ(vmet)132には、
メディアキーKmの鍵識別子(Km−ID)、
セグメントキーKsaの識別子(Ksa−ID)、
これらの2つの鍵の識別子が記録されていることになる。
In this example, key information embedded data (VMD: variant media data) 131 is data that can be decrypted by the media key Km and the segment key Ksa.
Therefore, the metadata (vmet) 132 includes
Key identifier (Km-ID) of the media key Km,
Identifier (Ksa-ID) of the segment key Ksa,
The identifiers of these two keys are recorded.

このように、メタデータ(vmet)132は、鍵情報埋め込みデータ(VMD:variant media data)131の復号に適用する鍵の識別子と、鍵情報埋め込みデータ(VMD:variant media data)131の記録位置情報を記録したメタデータである。
再生装置は、このメタデータ(vmet)132を参照することで、自装置の保持する鍵によって、復号可能な鍵情報埋め込みデータ(variant media data)131を選択して取得することが可能となる。
As described above, the metadata (vmet) 132 includes a key identifier applied to decryption of the key information embedded data (VMD: variant media data) 131 and recording position information of the key information embedded data (VMD: variant media data) 131. Is metadata recorded.
By referring to the metadata (vmet) 132, the playback device can select and obtain decryptable key information embedded data (variant media data) 131 with the key held by the playback device.

ただし、メタデータ(vmet)132自身も、暗号化データとしてMP4ファイルに記録される。
メタデータ(vmet)132の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)は、図12に示すmoofボックス内に設定されたvlocボックスに記録される。
However, the metadata (vmet) 132 itself is also recorded in the MP4 file as encrypted data.
The identifier (Kmet-ID) of the key (vmet key (Kmet)) applied to the decryption of the metadata (vmet) 132 is recorded in the vloc box set in the moof box shown in FIG.

図12に示すように、vlocボックスには、メタデータ(vmet)132の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)と、MP4ファイルにおけるメタデータ(vmet)132の記録位置情報を含むvlocデータ133が記録される。vlocデータも再生対象データではなくメタデータである。
vlocデータは、暗号化されない平文データ、すなわち、非暗号化データとしてMP4ファイルに記録される。
As shown in FIG. 12, in the vloc box, an identifier (Kmet-ID) of a key (vmet key (Kmet)) applied to decryption of the metadata (vmet) 132 and metadata (vmet) 132 in the MP4 file are stored. The vloc data 133 including the recording position information is recorded. The vloc data is not reproduction target data but metadata.
The vloc data is recorded in the MP4 file as unencrypted plain text data, that is, unencrypted data.

再生装置は、まず、moofボックス内に記録されたメタデータであるvlocデータを読み取り、メタデータ(vmet)132の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)と、MP4ファイルにおけるメタデータ(vmet)132の記録位置情報を取得する。   The playback device first reads vloc data, which is metadata recorded in the moof box, and an identifier (Kmet-ID) of a key (vmet key (Kmet)) applied to decryption of the metadata (vmet) 132; The recording position information of the metadata (vmet) 132 in the MP4 file is acquired.

メタデータ(vmet)132の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)に従って、再生装置のメモリからvmetキー(Kmet)を取得する。
なお、再生装置には、前述したメディアキーKm、セグメントキーKsxの他、メタデータ(vmet)の復号に適用するvmetキー(Kmet)も格納されている。
vmetキー(Kmet)も、セグメントキーと同様、複数種類、設定し、装置に応じて格納するキーを異なるものとすることができる。
According to the identifier (Kmet-ID) of the key (vmet key (Kmet)) applied to the decryption of the metadata (vmet) 132, the vmet key (Kmet) is acquired from the memory of the playback device.
In addition to the media key Km and the segment key Ksx described above, the playback device also stores a vmet key (Kmet) that is applied to the decryption of the metadata (vmet).
Similarly to the segment key, a plurality of types of vmet key (Kmet) can be set, and different keys can be stored depending on the device.

図12には、vloc、vmet、鍵情報埋め込みデータ(variant media data)、これらの3つのデータの1つのセットのみを示しているが、このデータセットは、MP4ファイルに多数、設定可能である。   FIG. 12 shows only vloc, vmet, key information embedded data (variant media data), and one set of these three data, but a large number of these data sets can be set in the MP4 file.

再生装置は、非暗号化データとして記録されたメタデータvlocを読み取り、自装置のメモリに格納されたvmetキー(Kmet)の識別情報が記録されたvlocの記録情報に従って、vmetキー(Kmet)をメモリから取得する。さらに、そのvlocに記録されたvmet位置情報に従って、vmetの記録位置を判断して、vmetデータを取得して、vmetキー(Kmet)を適用した復号処理を行なう。   The playback device reads the metadata vloc recorded as unencrypted data, and uses the vmet key (Kmet) according to the vloc recording information in which the identification information of the vmet key (Kmet) stored in the memory of the device is recorded. Get from memory. Further, according to the vmet position information recorded in the vloc, the vmet recording position is determined, vmet data is obtained, and decryption processing using the vmet key (Kmet) is performed.

この復号処理によって、メタデータ(vmet)132から、鍵情報埋め込みデータ(VMD:variant media data)131の復号に適用する鍵の識別子と、鍵情報埋め込みデータ(VMD:variant media data)131の記録位置情報を取得する。   By this decryption processing, the identifier of the key applied to the decryption of the key information embedded data (VMD: variant media data) 131 from the metadata (vmet) 132 and the recording position of the key information embedded data (VMD: variant media data) 131 Get information.

再生装置は、メタデータ(vmet)132を参照して、自装置の保持する鍵によって、復号可能な鍵情報埋め込みデータ(VMD:variant media data)131を取得し、自装置の保持する鍵(メディアキーKmとセグメントキーKsa)を適用して鍵情報埋め込みデータ(variant media data)131を復号する。   The playback device refers to the metadata (vmet) 132, obtains decryptable key information embedded data (VMD: variant media data) 131 using the key held by the device, and stores the key (media that is held by the device) The key information embedded data (variant media data) 131 is decrypted by applying the key Km and the segment key Ksa).

この復号処理によって、例えば、先に図10、図11を参照して説明した復号画像115を構成する画像データを生成することができる。
なお、復号画像115は、例えばサンプルの復号結果と、鍵情報埋め込みデータ(variant media data)131の復号結果を組み合わせた画像であり、再生装置は、サンプルの復号処理も併せて実行する必要がある。
By this decoding process, for example, image data constituting the decoded image 115 described above with reference to FIGS. 10 and 11 can be generated.
Note that the decrypted image 115 is, for example, an image obtained by combining the decryption result of the sample and the decryption result of the key information embedded data (variant media data) 131, and the playback apparatus needs to execute the decryption process of the sample as well. .

図13は、MP4ファイルに格納された暗号化画像データと、各暗号化データの選択適用によって生成される復号画像の対応関係例を示す図である。
MP4フォーマットデータを格納したメディア100には、図に示すように、
(1)鍵情報埋め込みデータA(VMD−A)141、
(2)鍵情報埋め込みデータB(VMD−B)142、
(3)鍵情報埋め込みデータC(VMD−C)143、
(4)サンプル(sample)145、
これらの暗号化画像データが格納されている。
なお、この図13に示す例では、これらの暗号化画像データに基づいて生成される画像は、図13に示す復号画像151〜153のいずれかである。
FIG. 13 is a diagram illustrating an example of a correspondence relationship between encrypted image data stored in an MP4 file and decrypted images generated by selective application of each encrypted data.
In the medium 100 storing MP4 format data, as shown in the figure,
(1) Key information embedded data A (VMD-A) 141,
(2) Key information embedded data B (VMD-B) 142,
(3) Key information embedded data C (VMD-C) 143,
(4) sample 145,
These encrypted image data are stored.
In the example shown in FIG. 13, the image generated based on the encrypted image data is any one of the decrypted images 151 to 153 shown in FIG.

復号画像151〜153は、いずれも同じコンテンツの同じ再生時間の画像であり、再生装置は、再生装置の持つ鍵に応じて、復号画像151〜153のいずれか1つの画像を生成して再生を行なうことになる。
復号画像151〜153の各々には、復号処理に適用した鍵を解析可能な識別情報が記録されている。
Each of the decoded images 151 to 153 is an image of the same content with the same playback time, and the playback device generates and plays back any one of the decoded images 151 to 153 according to the key of the playback device. Will do.
In each of the decrypted images 151 to 153, identification information capable of analyzing the key applied to the decryption process is recorded.

鍵情報埋め込みデータA(VMD−A)141は、メディアキーKmとセグメントキーKsaによって復号可能な画像データである。
鍵情報埋め込みデータA(VMD−A)141は、メディアキーKmとセグメントキーKsaを格納した再生装置によって復号され、メディアキーKmによって復号可能なサンプル(sample)145の復号データと組み合わせることで復号画像151を生成することができる。
The key information embedded data A (VMD-A) 141 is image data that can be decrypted by the media key Km and the segment key Ksa.
The key information embedded data A (VMD-A) 141 is decrypted by the playback device that stores the media key Km and the segment key Ksa, and is combined with the decrypted data of the sample 145 that can be decrypted by the media key Km. 151 can be generated.

鍵情報埋め込みデータB(VMD−B)142は、メディアキーKmとセグメントキーKsbによって復号可能な画像データである。
鍵情報埋め込みデータB(VMD−B)142は、メディアキーKmとセグメントキーKsbを格納した再生装置によって復号され、メディアキーKmによって復号可能なサンプル(sample)145の復号データと組み合わせることで復号画像152を生成することができる。
Key information embedded data B (VMD-B) 142 is image data that can be decrypted by the media key Km and the segment key Ksb.
The key information embedded data B (VMD-B) 142 is decrypted by the playback device storing the media key Km and the segment key Ksb, and combined with the decrypted data of the sample 145 that can be decrypted by the media key Km. 152 can be generated.

さらに、鍵情報埋め込みデータC(VMD−C)143は、メディアキーKmとセグメントキーKscによって復号可能な画像データである。
鍵情報埋め込みデータC(VMD−C)143は、メディアキーKmとセグメントキーKscを格納した再生装置によって復号され、メディアキーKmによって復号可能なサンプル(sample)145の復号データと組み合わせることで復号画像153を生成することができる。
Furthermore, the key information embedded data C (VMD-C) 143 is image data that can be decrypted by the media key Km and the segment key Ksc.
The key information embedded data C (VMD-C) 143 is decrypted by the playback device storing the media key Km and the segment key Ksc, and combined with the decrypted data of the sample 145 that can be decrypted by the media key Km. 153 can be generated.

復号画像151〜153の各々には、復号処理に適用した鍵を解析可能な識別情報が記録されている。
例えば、復号画像151のコピーデータがインターネット等のネットワークを介して不正に流通した場合、そのコピーデータを解析することで、復号画像151がメディアキーKmとセグメントキーKsaを適用して復号された画像であると判別することが可能となる。
従って、コピーコンテンツの元の画像を復号した装置がメディアキーKmとセグメントキーKsaを格納した装置であると判定することが可能となる。
In each of the decrypted images 151 to 153, identification information capable of analyzing the key applied to the decryption process is recorded.
For example, when copy data of the decrypted image 151 is illegally distributed through a network such as the Internet, the decrypted image 151 is decrypted by applying the media key Km and the segment key Ksa by analyzing the copy data. It is possible to determine that it is.
Therefore, it is possible to determine that the device that decrypts the original image of the copy content is a device that stores the media key Km and the segment key Ksa.

[4.MP4フォーマットにおける暗号化構成をMPEG−2TSフォーマットで実現する場合の構成例について]
上述したMP4フォーマットに規定されるデータ暗号化構成、すなわち、復号結果としての平文データから復号鍵の情報を取得可能としたデータ暗号化構成をMPEG−2TSフォーマットにおいて実現するための構成例について説明する。
[4. Configuration example when realizing the encryption configuration in the MP4 format in the MPEG-2TS format]
A description will be given of a configuration example for realizing in the MPEG-2TS format the data encryption configuration defined in the MP4 format described above, that is, the data encryption configuration in which the decryption key information can be obtained from the plaintext data as the decryption result. .

先に図12を参照して説明したように、平文データから復号鍵情報を解析可能とするデータ暗号化構成を実現したMP4フォーマットデータには、以下の各データが記録される。
(1)鍵情報埋め込みデータ(VMD:variant media data)131、
(2)鍵情報埋め込みデータ(variant media data)131の復号に適用する鍵の識別子と、鍵情報埋め込みデータ(variant media data)131の記録位置情報を記録したメタデータ(vmet)132、
(3)メタデータ(vmet)132の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)と、MP4ファイルにおけるメタデータ(vmet)132の記録位置情報を記録したメタデータであるvlocデータ133、
As described above with reference to FIG. 12, each of the following data is recorded in the MP4 format data that realizes a data encryption configuration that enables decryption key information to be analyzed from plaintext data.
(1) Key information embedded data (VMD: variant media data) 131,
(2) metadata (vmet) 132 in which an identifier of a key applied to decryption of the key information embedded data (variant media data) 131 and recording position information of the key information embedded data (variant media data) 131 is recorded;
(3) Metadata in which the identifier (Kmet-ID) of the key (vmet key (Kmet)) applied to the decryption of the metadata (vmet) 132 and the recording position information of the metadata (vmet) 132 in the MP4 file are recorded. Some vloc data 133,

平文データから復号鍵情報を解析可能とした暗号化構成をMPEG−2TSフォーマットデータにおいて実現するためには、上記(1)〜(3)のデータをMPEG−2TSを構成するTSパケットに格納することが必要となる。   In order to realize an encryption configuration in which decryption key information can be analyzed from plaintext data in MPEG-2TS format data, the above data (1) to (3) should be stored in TS packets constituting MPEG-2TS. Is required.

図14は、MPEG−2TSフォーマットを構成するTSパケットに上記(1)〜(3)の各データを格納した例を示す図である。
図14に示すメディア200はMPEG−2TSフォーマットに従ったデータを格納したディスクである。
図には、メディア200に格納されたデータ中の1つのクリップAVストリームファイル[01234.m2ts]を構成するTSパケット列を示している。
FIG. 14 is a diagram showing an example in which the data (1) to (3) are stored in TS packets constituting the MPEG-2 TS format.
A medium 200 shown in FIG. 14 is a disk storing data according to the MPEG-2TS format.
In the figure, one clip AV stream file [01234. m2ts] is a TS packet sequence.

図14に示すVMD対応データ211は、図12に示すMP4ファイルの鍵情報埋め込みデータ(VMD:variant media data)131に対応するVMD対応データ211である。
図14に示す例では、VMD対応データ211は、メディアキーKmとセグメントキーKsaを適用して復号可能な鍵情報埋め込みデータをTSペイロードとして格納したTSパケットによって構成される。
The VMD correspondence data 211 illustrated in FIG. 14 is the VMD correspondence data 211 corresponding to the key information embedded data (VMD: variant media data) 131 of the MP4 file illustrated in FIG.
In the example illustrated in FIG. 14, the VMD-compatible data 211 is configured by a TS packet in which key information embedded data that can be decrypted by applying the media key Km and the segment key Ksa is stored as a TS payload.

また、図14に示すvmet対応データ212は、図12に示すMP4ファイルのメタデータ(vmet)132に対応するデータである。
図14に示すvmet対応データ212は、鍵情報埋め込みデータ(variant media data)であるVMD対応データ211の復号に適用する鍵の識別子と、VMD対応データ211の記録位置情報をTSペイロードとして格納したTSパケットによって構成される。
Further, the vmet correspondence data 212 shown in FIG. 14 is data corresponding to the metadata (vmet) 132 of the MP4 file shown in FIG.
The vmet corresponding data 212 shown in FIG. 14 is a TS in which a key identifier applied to decryption of the VMD corresponding data 211 that is key information embedded data (variant media data) and recording position information of the VMD corresponding data 211 are stored as a TS payload. Consists of packets.

なお、VMD対応データ211、vmet対応データ212は、いずれも暗号化データとしてTSパケットに格納される。
VMD対応データ211は、メディアキーKmとセグメントキーKsaによって暗号化されたデータであり、メディアキーKmとセグメントキーKsaによって復号可能なデータである。
vmet対応データ212は、vmetキー(Kmet)によって暗号化されたデータであり、vmetキー(Kmet)によって復号可能なデータである。
The VMD compatible data 211 and the vmet compatible data 212 are both stored in the TS packet as encrypted data.
The VMD corresponding data 211 is data encrypted with the media key Km and the segment key Ksa, and is data that can be decrypted with the media key Km and the segment key Ksa.
The vmet corresponding data 212 is data encrypted with the vmet key (Kmet), and can be decrypted with the vmet key (Kmet).

図14に示すvloc対応データ213は、図12に示すMP4ファイルのvlocデータ133に対応するデータである。
なお、vloc対応データ213は、MPEG−2TSフォーマットにおいて規定されている暗号鍵情報格納TSパケットであるECM_PIDパケット、すなわちパケット識別子であるPIDとしてPID=ECMの設定されたパケットを利用する。
このECM_PIDパケットは、例えば後続パケットに格納された暗号化データの復号に適用する鍵情報等を格納するパケットとしてMPEG−2TSフォーマットにおいて規定されている。
The vloc correspondence data 213 illustrated in FIG. 14 is data corresponding to the vloc data 133 of the MP4 file illustrated in FIG.
The vloc compatible data 213 uses an ECM_PID packet that is an encryption key information storage TS packet defined in the MPEG-2 TS format, that is, a packet in which PID = ECM is set as a PID that is a packet identifier.
The ECM_PID packet is defined in the MPEG-2TS format as a packet for storing key information applied to decryption of encrypted data stored in a subsequent packet, for example.

このように、vloc対応データ213は、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットを利用した設定とする。このパケットのペイロードとして、vmet対応データ212の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)を記録する。これらのデータは非暗号化データとしてTSパケットに格納される。   As described above, the vloc corresponding data 213 is set using the ECM_PID packet defined in the MPEG-2TS format. As a payload of this packet, an identifier (Kmet-ID) of a key (vmet key (Kmet)) applied to decrypting the vmet corresponding data 212 is recorded. These data are stored in the TS packet as unencrypted data.

ただし、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットの記録データは、MP4フォーマットにおけるvlocボックスの記録データと完全に一致するものとはなっていない。
すなわち、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットは暗号鍵情報を記録可能なパケットであるが、このパケットのデータ記録構成(シンタックス)は、MP4ファイルのvlocボックスのデータ記録構成(シンタックス)とには差異があり、完全には一致しない。
However, the recording data of the ECM_PID packet defined in the MPEG-2TS format does not completely match the recording data of the vloc box in the MP4 format.
That is, the ECM_PID packet defined in the MPEG-2TS format is a packet capable of recording encryption key information. The data recording configuration (syntax) of this packet is the data recording configuration (syntax) of the vloc box of the MP4 file. And there is a difference, not exactly.

図15に、
(1)MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットのデータ記録構成、
(2)MP4ファイルのvlocボックスのデータ記録構成、
これらのデータ構成を示す。
図15に示すように、いずれも鍵情報としての鍵識別子(key_id)を記録可能な設定を持つ。
In FIG.
(1) Data recording configuration of ECM_PID packet defined in MPEG-2TS format,
(2) MP4 file vloc box data recording configuration,
These data structures are shown.
As shown in FIG. 15, each has a setting capable of recording a key identifier (key_id) as key information.

しかし、図15(1),(2)のデータ構成は、完全に一致するものではなく記録データの構文(シンタックス)が異なっている。従って、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットの記録データをこのままコピーしてMP4ファイルのvlocボックスのデータとして記録することはできない。   However, the data structures in FIGS. 15 (1) and 15 (2) are not completely the same, and the syntax (syntax) of the recording data is different. Therefore, the recording data of the ECM_PID packet defined in the MPEG-2TS format cannot be copied as it is and recorded as data in the vloc box of the MP4 file.

MPEG−2TSフォーマットデータをMP4フォーマットデータに変換してメディアに記録する処理を行なう場合には、MP4ファイルにおいて規定されるvlocボックスのデータ記録構成(シンタックス)に対応したデータを取得、または生成することが必要となる。   When processing for converting MPEG-2TS format data into MP4 format data and recording on the media is performed, data corresponding to the data recording configuration (syntax) of the vloc box defined in the MP4 file is acquired or generated. It will be necessary.

しかし、図14に示すパケット構成を持つMPEG−2TSフォーマットデータは、MP4フォーマットにおいて規定されるvloc、vmet、VMD(variant media data)各ボックスの記録データとほぼ同様のデータを記録可能とした設定であり、このMPEG−2TSデータに基づく復号、再生データから復号に適用した鍵が解析可能となる。   However, the MPEG-2TS format data having the packet configuration shown in FIG. 14 has a setting that can record almost the same data as the recording data of vloc, vmet, and VMD (variant media data) boxes defined in the MP4 format. Yes, the decryption based on the MPEG-2TS data and the key applied to the decryption can be analyzed from the reproduction data.

すなわち、MP4フォーマットデータを利用した復号、再生によって得られる平文データから復号に適用した鍵を解析可能とした構成を、MPEG−2TSフォーマットに従ったデータ構成において実現可能となる。   That is, a configuration in which a key applied to decryption can be analyzed from plaintext data obtained by decryption and reproduction using MP4 format data can be realized in a data configuration according to the MPEG-2TS format.

以上、図14に示すVMD対応データ211、vmet対応データ212、vloc対応データ213について説明した。さらに、図14には、これらのデータに後続するVMD対応データ221、vmet対応データ222、vloc対応データ223を示している。これらは、TSパケット列に設定される次のセグメントキー(Ksb)に対応するデータセットである。   The VMD correspondence data 211, the vmet correspondence data 212, and the vloc correspondence data 213 illustrated in FIG. 14 have been described above. Further, FIG. 14 shows VMD corresponding data 221, vmet corresponding data 222, and vloc corresponding data 223 following these data. These are data sets corresponding to the next segment key (Ksb) set in the TS packet sequence.

VMD対応データ221は、図12に示すMP4ファイルの鍵情報埋め込みデータ(VMD:variant media data)131に対応するデータである。
VMD対応データ221は、メディアキーKmとセグメントキーKsbを適用して復号可能な鍵情報埋め込みデータをTSペイロードとして格納したTSパケットによって構成される。
The VMD correspondence data 221 is data corresponding to key information embedded data (VMD: variant media data) 131 of the MP4 file shown in FIG.
The VMD-compatible data 221 is configured by a TS packet in which key information embedded data that can be decrypted by applying the media key Km and the segment key Ksb is stored as a TS payload.

また、図14に示すvmet対応データ222は、図12に示すMP4ファイルのメタデータ(vmet)132に対応するデータである。
図14に示すvmet対応データ222は、鍵情報埋め込みデータ(variant media data)であるVMD対応データ221の復号に適用する鍵の識別子と、VMD対応データ221の記録位置情報をTSペイロードとして格納したTSパケットによって構成される。
Further, the vmet correspondence data 222 shown in FIG. 14 is data corresponding to the metadata (vmet) 132 of the MP4 file shown in FIG.
The vmet corresponding data 222 shown in FIG. 14 is a TS that stores, as a TS payload, a key identifier applied to decryption of the VMD corresponding data 221 that is key information embedded data (variant media data) and recording position information of the VMD corresponding data 221. Consists of packets.

vloc対応データ223は、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットを利用した設定である。vmet対応データ222の復号に適用する鍵(vmetキー(Kmet))の識別子(Kmet−ID)を非暗号化データとしてTSパケットに格納される。   The vloc corresponding data 223 is a setting using an ECM_PID packet defined in the MPEG-2TS format. An identifier (Kmet-ID) of a key (vmet key (Kmet)) applied to decrypting the vmet corresponding data 222 is stored in the TS packet as unencrypted data.

メディアキーKm適用暗号化データ231は、図12に示すMP4ファイルのサンプルデータに対応する。
非暗号化−鍵識別子格納パケット232は、メディアキーKm適用暗号化データ231の復号に適用するメディアキーの識別子(Km−ID)と、メディアキーKm適用暗号化データ231の記録位置情報を格納したTSパケットによって構成される。
The media key Km applied encrypted data 231 corresponds to the sample data of the MP4 file shown in FIG.
The non-encrypted-key identifier storage packet 232 stores a media key identifier (Km-ID) applied to the decryption of the media key Km-applied encrypted data 231 and recording position information of the media key Km-applied encrypted data 231. It is composed of TS packets.

図14に示す設定を持つMPEG−2TSフォーマットデータは、図12を参照して説明したMP4ファイルに格納されるvloc、vmet、VMD(variant media data)の各データを有した構成である。従って、このMPEG−2TSデータに基づいて復号される画像データに基づいて、復号に適用した鍵の解析が可能となり、不正コピーの発生時にその出所を追跡することが可能となる。   The MPEG-2TS format data having the settings shown in FIG. 14 has a configuration including vloc, vmet, and VMD (variant media data) data stored in the MP4 file described with reference to FIG. Therefore, based on the image data decrypted based on the MPEG-2TS data, the key applied to the decryption can be analyzed, and the origin can be traced when an illegal copy occurs.

[5.MPEG−2TSフォーマットデータからMP4フォーマットデータへの変換処理について]
次に、図14を参照して説明したTSパケット構成を持つMPEG−2TSフォーマットデータをMP4フォーマットデータに変換して記録する場合の処理について説明する。
[5. Conversion process from MPEG-2TS format data to MP4 format data]
Next, processing when MPEG-2 TS format data having the TS packet configuration described with reference to FIG. 14 is converted into MP4 format data and recorded will be described.

図16には、以下の3種類のデータを示している。
(1)MPEG−2TSフォーマットデータ
(2)PESレイヤデータ
(3)MP4フォーマットデータ
FIG. 16 shows the following three types of data.
(1) MPEG-2TS format data (2) PES layer data (3) MP4 format data

(1)MPEG−2TSフォーマットデータは、図14を参照して説明したTSパケット列から構成されるデータであり、MP4において規定されるvmet、VMD(variant media data=鍵情報埋め込みデータ)をペイロードとして格納したTSパケットと、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケット、すなわちMP4におけるvlocと同様の鍵識別子を格納したパケットを有する構成である。   (1) MPEG-2 TS format data is data composed of a TS packet sequence described with reference to FIG. 14, and vmet and VMD (variant media data = key information embedded data) defined in MP4 are used as a payload. This is a configuration having a stored TS packet and an ECM_PID packet defined in the MPEG-2 TS format, that is, a packet storing a key identifier similar to vloc in MP4.

図16(1)に示すTSパケット(ECM)251は、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットであり、MP4ファイルにおけるvlocボックス対応データを格納している。具体的には、図16(1)に示すTSパケット(vmet)の復号用の鍵情報(鍵ID)等を格納している。   A TS packet (ECM) 251 shown in FIG. 16A is an ECM_PID packet defined in the MPEG-2 TS format, and stores vloc box corresponding data in the MP4 file. Specifically, key information (key ID) for decrypting the TS packet (vmet) shown in FIG.

図16(1)に示すTSパケット(vmet)252は、MP4ファイルのvmetボックスの記録情報と同じデータを格納したパケットである。
図16(1)に示すTSパケット(VMD)は、MP4ファイルの鍵情報埋め込みデータ(VMD:variant media data)と同じデータを格納したパケットである。
A TS packet (vmet) 252 shown in FIG. 16A is a packet storing the same data as the recording information in the vmet box of the MP4 file.
The TS packet (VMD) shown in FIG. 16 (1) is a packet storing the same data as key information embedded data (VMD: variant media data) of the MP4 file.

この図16(1)に示すMPEG−2TSフォーマットデータをMP4ファイルに変換する場合、変換処理を実行する情報処理装置は、まず図16(1)に示すMPEG−2TSフォーマットデータを、図16(2)に示すピクチャ単位のデータであるPESパケットからなるPESレイヤデータに変換し、その後、PESレイヤデータから、図16(3)に示すMP4ファイルに変換する処理を実行する。   When converting the MPEG-2TS format data shown in FIG. 16 (1) into an MP4 file, the information processing apparatus that executes the conversion process first converts the MPEG-2TS format data shown in FIG. ) Is converted into PES layer data composed of PES packets, which are data in units of pictures, and thereafter, processing for converting the PES layer data into an MP4 file shown in FIG. 16 (3) is executed.

図16(1)のMPEG−2TSフォーマットにおけるTSパケット(vmet)252の格納データ(ペイロード)は、図16(3)に示すMP4ファイルのvmetボックスデータと同一のデータである。
同様に、図16(1)のMPEG−2TSフォーマットにおけるTSパケット(VMD)253の格納データ(ペイロード)も、MP4ファイルのVMD(variant media data)ボックスデータと同一のデータである。
The stored data (payload) of the TS packet (vmet) 252 in the MPEG-2TS format of FIG. 16A is the same data as the vmet box data of the MP4 file shown in FIG.
Similarly, the storage data (payload) of the TS packet (VMD) 253 in the MPEG-2TS format of FIG. 16A is the same data as the VMD (variant media data) box data of the MP4 file.

従って、図16(1)のMPEG−2TSフォーマットにおけるこれらのパケット252,253のデータについては、PESパケットのペイロードとして設定後、そのままMP4ファイルのvmetボックスデータ、VMD(variant media data)ボックスデータとして設定することができる。   Accordingly, the data of these packets 252 and 253 in the MPEG-2TS format of FIG. 16A are set as the payload of the PES packet and then set as the vmet box data of the MP4 file and the VMD (variant media data) box data. can do.

すなわち、図14を参照して説明したTSパケット構成を有するMPEG−2TSフォーマットデータを利用することで、これらのvmet,VMDの各データは、復号処理や再暗号化処理を行なうことなく、暗号化データのまま、MPEG−2TSフォーマットデータからMP4フォーマットデータに変換することが可能となる。   In other words, by using the MPEG-2 TS format data having the TS packet configuration described with reference to FIG. 14, these vmet and VMD data can be encrypted without being decrypted or re-encrypted. It is possible to convert from MPEG-2TS format data to MP4 format data as is.

しかし、MP4フォーマットデータに規定されるvlocボックスの格納データは、図14を参照して説明したMPEG−2TSフォーマットにおいて規定されるECM_PIDパケットのペイロードの記録データをそのまま利用することはできない。
先に図15を参照して説明したように、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットは、暗号鍵情報等を記録可能な設定を持つが、これらのデータ記録構成(シンタックス)は、MP4ファイルのvlocボックスのデータ記録構成(シンタックス)とは異なるものである。
However, the record data of the payload of the ECM_PID packet defined in the MPEG-2TS format described with reference to FIG. 14 cannot be used as the storage data in the vloc box defined in the MP4 format data.
As described above with reference to FIG. 15, the ECM_PID packet defined in the MPEG-2TS format has a setting capable of recording encryption key information and the like, but the data recording configuration (syntax) is MP4. This is different from the data recording configuration (syntax) of the vloc box of the file.

すなわち、MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットのペイロードをそのままコピーしても、MP4ファイルのvlocボックスのシンタックスに従ったデータとはならず、MP4ファイルの正常な再生処理を妨げることになる。   That is, even if the payload of the ECM_PID packet defined in the MPEG-2TS format is copied as it is, the data does not conform to the syntax of the vloc box of the MP4 file, and normal reproduction processing of the MP4 file is hindered. .

従って、MPEG−2TSフォーマットデータから、MP4フォーマットへの変換を行う場合、vlocデータは、別途、取得するか、あるいは新たに生成することが必要となる。具体的には、以下の3つの処理のいずれかの処理を実行する。
(1)MPEG−2TSフォーマットデータを記録したメディアに、変換後のMP4ファイルに記録するためのvlocデータを予め追加記録しておき、変換処理実行装置が、メディアから追加記録データを読み取ってMP4ファイルに記録する。
(2)MPEG−2TSフォーマットからMP4フォーマットへの変換処理を実行する装置が、外部装置、例えばコピー管理サーバからvlocデータを取得(ダウンロード)して、MP4ファイルに記録する。
(3)変換処理実行装置が、MPEG−2TSフォーマットデータに含まれるECM_PIDパケットのペイロード等を参照して、変換後のMP4ファイルに記録するvlocデータを生成して記録する。
Therefore, when converting from MPEG-2TS format data to MP4 format, it is necessary to separately obtain or newly generate vloc data. Specifically, one of the following three processes is executed.
(1) The vloc data for recording in the converted MP4 file is additionally recorded in advance on the medium on which the MPEG-2TS format data is recorded, and the conversion processing execution device reads the additional recording data from the medium and reads the MP4 file. To record.
(2) A device that executes conversion processing from the MPEG-2TS format to the MP4 format acquires (downloads) vloc data from an external device, for example, a copy management server, and records it in an MP4 file.
(3) The conversion processing execution device refers to the payload of the ECM_PID packet included in the MPEG-2TS format data, and generates and records vloc data to be recorded in the converted MP4 file.

MPEG−2TSフォーマットデータからMP4フォーマットデータへの変換処理を実行してMP4ファイルの記録処理を行なう装置は、上記(1)〜(3)のいずれかの処理を実行してMP4ファイルにvlocデータを記録することが必要となる。
以下、上記(1)〜(3)の処理の具体例について、順次、説明する。
An apparatus that performs conversion processing from MPEG-2TS format data to MP4 format data and performs MP4 file recording processing executes any one of the above-described processes (1) to (3) and stores vloc data in the MP4 file. It is necessary to record.
Hereinafter, specific examples of the processes (1) to (3) will be sequentially described.

[5−1.メディアに独立して記録されたMP4対応vlocデータを読み取ってMP4フォーマットデータに記録する処理例について]
まず、図17、図18を参照して、メディアに独立して記録されたMP4対応vlocデータを読み取ってMP4フォーマットデータに記録する処理例について説明する。
[5-1. Example of processing for reading MP4-compatible vloc data recorded independently on media and recording it in MP4 format data]
First, with reference to FIGS. 17 and 18, an example of processing for reading MP4-compatible vloc data recorded independently on a medium and recording it in MP4 format data will be described.

すなわち、MPEG−2TSフォーマットデータを記録したメディアに、変換後のMP4ファイルに記録するためのvlocデータを予め追加記録しておき、変換処理を実行する装置が、この追加記録データを読み取ってMP4ファイルに記録する処理例である。   That is, the vloc data for recording in the converted MP4 file is additionally recorded in advance on the medium on which the MPEG-2TS format data is recorded, and the device that executes the conversion process reads the additional recording data and reads the MP4 file. This is an example of processing to be recorded.

図17は、本実施例のメディア200の記録データのディレクトリ例を示す図である。メディア200は、Blu−ray(登録商標)ディスクであり、先に、図1を参照して説明したROM型のBD(Blu−ray(登録商標) Disc)である。
メディア200には、BDMVフォーマットに従ったデータが記録される。このデータ中のクリップAVストリームが、MPEG−2TSフォーマットデータ、すなわちTSパケットによって構成されるMPEG−2TSフォーマットデータである。
FIG. 17 is a diagram illustrating a directory example of recording data of the medium 200 according to the present embodiment. The medium 200 is a Blu-ray (registered trademark) disc, and is the ROM-type BD (Blu-ray (registered trademark) Disc) described above with reference to FIG.
Data according to the BDMV format is recorded on the medium 200. The clip AV stream in this data is MPEG-2TS format data, that is, MPEG-2TS format data composed of TS packets.

本実施例に従ったデータ記録構成を持つメディア200は、
BDMVディレクトリ301、
EXPORTディレクトリ302、
これらのディレクトリを有する。
A medium 200 having a data recording configuration according to the present embodiment includes:
BDMV directory 301,
EXPPORT directory 302,
Have these directories.

BDMVディレクトリ301には、先に図1を参照して説明したように、
インデックスファイル、
プレイリストファイル、
クリップ情報ファイル、
クリップAVストリームファイル、
例えば、これらのファイルが記録される。
In the BDMV directory 301, as described above with reference to FIG.
Index files,
Playlist files,
Clip information file,
Clip AV stream file,
For example, these files are recorded.

インデックスファイルには、再生処理に適用するインデックス情報としてのタイトル情報が格納される。
プレイリストファイルは、タイトルによって指定された再生プログラムのプログラム情報に従ったコンテンツの再生順等を規定したファイルであり、再生位置情報を持クリップ情報に対する指定情報を有する。
クリップ情報ファイルは、プレイリストファイルによって指定されるファイルであり、クリップAVストリームファイルの再生位置情報等を有する。
クリップAVストリームファイルは、再生対象となるAVストリームデータを格納したファイルであり、MPEG−2TSフォーマットに従って再生対象となる画像データ等が記録される。
The index file stores title information as index information applied to the reproduction process.
The playlist file is a file that defines the playback order of contents according to the program information of the playback program specified by the title, and has playback position information and designation information for clip information.
The clip information file is a file specified by the playlist file, and has reproduction position information of the clip AV stream file.
The clip AV stream file is a file storing AV stream data to be reproduced, and image data to be reproduced is recorded in accordance with the MPEG-2TS format.

なお、本実施例においては、クリップAVストリームファイル[xxxxx.m2ts]は、先に図14を参照して説明したパケット構成を持つファイルである。
すなわち、MP4フォーマットにおいて規定される、
鍵情報埋め込みデータ(VMD:variant media data)の対応データ、
鍵情報埋め込みデータ(VMD)の復号用の鍵情報やVMDの位置情報等を記録したvmet対応データ、
これらを各々ペイロードとして格納したTSパケットを有する。
さらに、
vmet復号用の鍵(Kvmet)の識別子(Kvmet−ID)を記録したECM_PIDパケット、
これらを含むクリップAVストリームファイル[xxxxx.m2ts]である。
In this embodiment, the clip AV stream file [xxxx. m2ts] is a file having the packet configuration described above with reference to FIG.
That is, it is defined in the MP4 format.
Data corresponding to key information embedded data (VMD: variant media data),
Vmet-compatible data in which key information for decrypting key information embedded data (VMD), VMD position information, and the like are recorded,
Each of these has a TS packet stored as a payload.
further,
an ECM_PID packet in which an identifier (Kvmet-ID) of a key for decrypting vmet (Kvmet) is recorded;
A clip AV stream file [xxxx. m2ts].

本実施例のメディア200には、図17に示すように、
BDMVディレクトリ301の他に、
EXPORTディレクトリ302、
を有する。
As shown in FIG. 17, the medium 200 of the present embodiment has
In addition to the BDMV directory 301,
EXPPORT directory 302,
Have

EXPORTディレクトリ302は、MPEG−2TSフォーマットデータをMP4フォーマットデータに変換して他のメディアに記録する場合に参照または必要とするデータを設定したディレクトリである。   The EXPORT directory 302 is a directory in which data that is referred to or required when MPEG-2TS format data is converted into MP4 format data and recorded on other media is set.

図17に示すように、EXPORTディレクトリ302には、以下のファイルが設定される。
(1)マニフェストファイル311、
(2)MP4ヘッダ情報ファイル312
As shown in FIG. 17, the following files are set in the EXPPORT directory 302.
(1) Manifest file 311,
(2) MP4 header information file 312

マニフェストファイル311は、メディア間のデータコピーを行う場合に参照するファイルである。
メディア間で、データコピーを行う場合、外部の管理サーバからのコピー許可情報の受信を条件としてコピーを許容するコピー管理システムがある。
マニフェストファイル311は、このコピー管理システムに従ったデータコピーを行う場合に利用されるコピー制御管理ファイル(MCMF:Managed Copy Manifest File)である。
The manifest file 311 is a file that is referred to when data is copied between media.
When data is copied between media, there is a copy management system that permits copying on condition that copy permission information is received from an external management server.
The manifest file 311 is a copy control management file (MCMF: Managed Copy Manifest File) used when performing data copying according to this copy management system.

例えば、上記のコピー管理システムに従ったコピー処理として、情報処理装置が第1メディアに記録されたMPEG−2TSフォーマットデータをMP4フォーマットに変換して、第2メディアに記録するコピー処理を行なう場合、外部の管理サーバからのコピー許可情報を受信しなければならない。
このコピー管理システムに従った処理に際して、情報処理装置は、まず、第1メディアに記録されたマニフェストファイル(MCMF:Managed Copy Manifest File)311を読み取る。
For example, as a copy process according to the above copy management system, when the information processing apparatus performs a copy process of converting MPEG-2TS format data recorded on the first medium into the MP4 format and recording it on the second medium. Copy permission information from an external management server must be received.
In processing according to the copy management system, the information processing apparatus first reads a manifest file (MCMF: Managed Copy Manifest File) 311 recorded on the first medium.

マニフェストファイル(MCMF)311は、コピー元データを記録した第1メディアに記録されたコンテンツのコピー許可情報を提供する管理サーバのアクセス情報(URL)や、コピーを許容するデータ情報(dealManifest)としてプレイリストファイル名などが記録されている。マニフェストファイル(MCMF)311に記録されたプレイリストファイル名によって特定されるデータのみがコピー許容データとなる。   The manifest file (MCMF) 311 is played as access information (URL) of the management server that provides copy permission information of the content recorded on the first medium in which the copy source data is recorded, or data information (dealManifest) that allows copying. List file names are recorded. Only data specified by the playlist file name recorded in the manifest file (MCMF) 311 is copy-permitted data.

情報処理装置は、コピー元データを記録した第1メディアにマニフェストファイル(MCMF)311が記録されている場合、管理サーバからコピー許可情報を受信して、マニフェストファイル(MCMF)311に記録されたプレイリストファイル名によって特定されるデータを第1メディアから選択して第2メディアに記録する。   When the manifest file (MCMF) 311 is recorded on the first medium in which the copy source data is recorded, the information processing apparatus receives the copy permission information from the management server, and plays the recorded information in the manifest file (MCMF) 311. Data specified by the list file name is selected from the first medium and recorded on the second medium.

なお、マニフェストファイル311には、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、MP4ヘッダ情報ファイル312との対応データが記録されている。
すなわち、コピー対象として1つのプレイリストファイルを選択した場合、そのプレイリストファイルに対応するデータのコピーにおいて必要となるMP4ファイル固有のデータ、例えばmoovボックス、moofボックス記録用のデータが記録されたMP4ヘッダ情報ファイル312の識別子を記録している。
The manifest file 311 records correspondence data between the playlist file and the MP4 header information file 312 in addition to the identifier of the playlist file permitted to be copied.
That is, when one playlist file is selected as a copy target, MP4 file-specific data necessary for copying data corresponding to the playlist file, for example, data for recording a moov box or moof box is recorded. The identifier of the header information file 312 is recorded.

図には、1つのMP4ヘッダ情報ファイル312のみを示しているが、EXPORTディレクトリ302には複数のMP4ヘッダ情報ファイルが記録される。
これらは、コピーの許容されるプレイリストファイルのいずれかに対応付けられている。
コピー処理を実行する情報処理装置は、まず、コピー対象として、マニフェストファイル311に記録された1つのプレイリストファイルを選択する。
次に、選択したプレイリストファイルに対応付けられたMP4ヘッダ情報ファイルを、マニフェストファイルの記録情報に基づいて選択する。
In the figure, only one MP4 header information file 312 is shown, but a plurality of MP4 header information files are recorded in the EXPPORT directory 302.
These are associated with any of the playlist files that are allowed to be copied.
The information processing apparatus that executes the copy process first selects one playlist file recorded in the manifest file 311 as a copy target.
Next, the MP4 header information file associated with the selected playlist file is selected based on the record information of the manifest file.

選択したMP4ヘッダ情報ファイルには、MPEG−2TSからMP4フォーマット変換を伴うデータコピー処理に際して、MPEG−2TSフォーマットデータ、あるいはBDMVディレクトリに設定されたデータベースファイルから直接、得ることができない、あるいは取得困難なMP4固有のデータが記録されている。
例えばMP4ファイルを構成するmoovボックスやmoofボックスに記録すべきデータを記録している。
The selected MP4 header information file cannot be obtained directly from the MPEG-2TS format data or the database file set in the BDMV directory or difficult to obtain during the data copy process involving conversion of MPEG-2TS to MP4 format. Data specific to MP4 is recorded.
For example, data to be recorded in a moov box or a moof box constituting an MP4 file is recorded.

MP4ヘッダ情報ファイル312には、MP4フォーマットにファイルに設定されるvlocボックス格納用データも記録されている。
コピー処理を実行する情報処理装置は、MP4ヘッダ情報ファイル312に記録されたvlocボックス格納用データを取得して、変換処理によって生成したMP4ファイルのvlocボックスに取得データを記録することができる。
The MP4 header information file 312 also records vloc box storage data set in the MP4 format file.
The information processing apparatus that executes the copy process can acquire the vloc box storage data recorded in the MP4 header information file 312 and record the acquired data in the vloc box of the MP4 file generated by the conversion process.

先に図14を参照して説明したMPEG−2TSフォーマットでは、MPEG−2TSフォーマットにおいて鍵情報格納パケットとして規定されているECM_PIDパケットにvmet復号用の鍵(Kmet)の鍵識別子(Kmet−ID)を格納する設定としていた。
しかし、このECM_PIDパケットの記録データは、MP4フォーマットにおいて規定されるvlocボックスの記録データと完全に一致するものではない。これは、先に図15を参照して説明した通りである。
従って、ECM_PIDパケットの記録データを、そのままMP4フォーマットにおいて規定されるvlocボックスにコピーすることはできない。
In the MPEG-2TS format described above with reference to FIG. 14, the key identifier (Kmet-ID) of the vmet decryption key (Kmet) is added to the ECM_PID packet defined as the key information storage packet in the MPEG-2TS format. It was set to store.
However, the recording data of the ECM_PID packet does not completely match the recording data of the vloc box defined in the MP4 format. This is as described above with reference to FIG.
Therefore, the record data of the ECM_PID packet cannot be directly copied to the vloc box defined in the MP4 format.

MP4フォーマットに従ったvlocボックス記録用データを図17に示すEXPORTディレクトリのMP4ヘッダ情報ファイル312に記録しておくことで、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーに際して、MP4フォーマットの規定に従ったvlocボックス格納用データを確実に取得することが可能となる。   The vloc box recording data in accordance with the MP4 format is recorded in the MP4 header information file 312 of the EXPPORT directory shown in FIG. 17, so that the MP4 format can be used for data copying involving conversion processing from the MPEG-2TS format to the MP4 format. Thus, it is possible to reliably acquire data for storing the vloc box in accordance with the above-mentioned regulations.

図17に示すMPEG−2TSフォーマットデータを含むBDMVフォーマットデータを利用してMP4ファイルを生成する場合のフォーマット変換を伴うデータコピー処理におけるデータの流れについて、図18を参照して説明する。   A data flow in a data copy process accompanied by format conversion when an MP4 file is generated using the BDMV format data including the MPEG-2TS format data shown in FIG. 17 will be described with reference to FIG.

図18には、図17を参照して説明したMPEG−2TSフォーマットデータからになるクリップAVストリーム[xxxxx.m2ts]を含むメディア200の記録データと、MP4ファイルの記録先との対応関係を示している。   FIG. 18 shows a clip AV stream [xxxx.x consisting of the MPEG-2 TS format data described with reference to FIG. The correspondence relationship between the recording data of the medium 200 including m2ts] and the recording destination of the MP4 file is shown.

画像、音声等の再生対象データを含むクリップAVストリームファイルは、図18に示すクリップAVストリームファイル[01001.m2ts]313である。
クリップAVストリームファイル[01001.m2ts]313は、マニフェストファイル311に従ってコピー対象として選択したプレイリストファイルの再生対象データを含むクリップAVストリームファイルである。
A clip AV stream file including reproduction target data such as images and sounds is a clip AV stream file [01001. m2ts] 313.
Clip AV stream file [01001. m2ts] 313 is a clip AV stream file including reproduction target data of a playlist file selected as a copy target in accordance with the manifest file 311.

このクリップAVストリームファイル313は、図14を参照して説明したTSパケット列から構成される。
すなわち、MP4フォーマットにおいて規定される
鍵情報埋め込みデータ(VMD:variant media data)の対応データと、
鍵情報埋め込みデータ(VMD)の復号用の鍵情報や鍵情報埋め込みデータ(VMD)の位置情報等を記録したvmet対応データ、
これらの各々をペイロードとして格納したTSパケットを有する。
The clip AV stream file 313 is composed of the TS packet sequence described with reference to FIG.
That is, correspondence data of key information embedded data (VMD: variant media data) defined in the MP4 format,
Vmet compatible data in which key information for decryption of key information embedded data (VMD), position information of key information embedded data (VMD), and the like are recorded;
Each of these has a TS packet stored as a payload.

図18に示すように、このクリップAVストリームファイル313の構成データを、MP4ファイルのmdatボックスに設定されるvmetボックスとVMD(variant media data)ボックスに記録する。   As shown in FIG. 18, the configuration data of the clip AV stream file 313 is recorded in a vmet box and a VMD (variant media data) box set in the mdat box of the MP4 file.

先に図16を参照して説明したように、vmet対応データを格納したTSパケットのペイロードをMP4ファイルのvmetボックスに記録し、鍵情報埋め込みデータであるVMD(variant media data)の対応データを格納したTSパケットのペイロードをMP4ファイルのVMD(variant media data)ボックスに記録する。   As described above with reference to FIG. 16, the payload of the TS packet storing vmet compatible data is recorded in the vmet box of the MP4 file, and the corresponding data of VMD (variant media data) which is key information embedded data is stored. The TS packet payload is recorded in a VMD (variant media data) box of the MP4 file.

これらのvmet、VMDコピー処理は、先に図16を参照して説明したように、TSパケット内に記録された暗号化データを復号することなく、そのまま各ボックスに記録すればよい。   These vmet and VMD copy processes may be recorded in each box as they are without decrypting the encrypted data recorded in the TS packet, as described above with reference to FIG.

さらに、EXPORTディレクトリに設定されたMP4ヘッダ情報ファイル312に記録されたvlocデータをMP4ファイルのmoofボックス内のtrafボックスに設定されるvlocボックスに記録する。
EXPORTディレクトリに設定されたMP4ヘッダ情報ファイル312に記録されたvlocデータは、MP4フォーマットにおいて規定されるデータ構成に従ったデータであり、このままMP4ファイルのvlocボックスに記録すればよい。
Furthermore, the vloc data recorded in the MP4 header information file 312 set in the EXPPORT directory is recorded in the vloc box set in the traf box in the moof box of the MP4 file.
The vloc data recorded in the MP4 header information file 312 set in the EXPORT directory is data according to the data structure defined in the MP4 format, and may be recorded in the vloc box of the MP4 file as it is.

これらの処理によって、MP4フォーマットの規定に従った以下のデータの記録が完了する。
鍵情報埋め込みデータであるVMD(variant media data)データ、
VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
これらのデータ記録が確実に実行される。
With these processes, the following data recording according to the MP4 format rules is completed.
VMD (variant media data) data which is key information embedded data,
Vmet data recording key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box;
vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box;
These data recordings are performed reliably.

なお、フォーマット変換およびデータ記録処理を実行する装置は、これらのデータの他サンプル(sample)データ、その他のメタデータについても図17に示すディレクトリに設定されたデータを利用してMP4ファイルの各ボックスに記録する処理を実行する。   Note that the apparatus that executes the format conversion and data recording processing uses the data set in the directory shown in FIG. 17 for other sample data of these data and other metadata, and each box of the MP4 file. Execute the process to record.

これらの処理によって、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーが完了する。
このデータコピー処理によって生成したMP4ファイルは、MP4フォーマットに従った以下の各データを有するファイルとなる。
鍵情報埋め込みデータであるVMD(variant media data)データ、
VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
With these processes, the data copy accompanied by the conversion process from the MPEG-2 TS format to the MP4 format is completed.
The MP4 file generated by this data copy processing is a file having the following data according to the MP4 format.
VMD (variant media data) data which is key information embedded data,
Vmet data recording key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box;
vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box;

従って、このコピー処理によって生成したMP4ファイルを利用した復号、再生データから、復号に適用した鍵を解析することが可能となる。
すなわち、先に図10、図11を参照して説明したように、復号結果データから、復号に適用した鍵を解析可能となり、例えば不正コピーが流通した場合、そのコピーデータからコピー元となったデータを生成(復号)した装置の追跡が可能となる。
Therefore, it is possible to analyze the key applied to the decryption from the decrypted / reproduced data using the MP4 file generated by the copy process.
That is, as described above with reference to FIGS. 10 and 11, the key applied to the decryption can be analyzed from the decryption result data. For example, when an illegal copy is distributed, the copy data becomes the copy source. It is possible to trace the device that has generated (decoded) data.

[5−2.外部装置からvlocデータを取得(ダウンロード)して、MP4ファイルに記録する処理例について]
次に、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を実行する装置が、外部装置、例えばコピー管理サーバからvlocデータを取得(ダウンロード)して、MP4ファイルに記録する処理例について説明する。
[5-2. Example of processing for acquiring (downloading) vloc data from an external device and recording it in an MP4 file]
Next, a description will be given of a processing example in which a device that performs conversion processing from the MPEG-2TS format to the MP4 format acquires (downloads) vloc data from an external device, for example, a copy management server, and records it in an MP4 file.

図19は、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を実行する情報処理装置400の実行する処理を示す図である。   FIG. 19 is a diagram illustrating processing executed by the information processing apparatus 400 that executes conversion processing from the MPEG-2TS format to the MP4 format.

情報処理装置400は、コピー元データとなるMPEG−2TSフォーマットデータを格納した第1メディア410と、フォーマット変換後のMP4フォーマットデータを記録するコピー先メディアである第2メディア420を装着し、フォーマット変換およびコピー処理を開始する。   The information processing apparatus 400 mounts a first medium 410 storing MPEG-2TS format data serving as copy source data, and a second medium 420 serving as a copy destination medium for recording MP4 format data after format conversion, thereby converting the format. And start the copy process.

コピー元データとなるMPEG−2TSフォーマットデータを格納した第1メディア410に記録されたクリップAVストリームファイルは、図14を参照して説明したTSパケット列から構成される。
すなわち、MP4フォーマットにおいて規定される鍵情報埋め込みデータであるVMD(variant media data)の対応データと、VMDの復号用の鍵情報やVMDの位置情報等を記録したvmet対応データをペイロードとして格納したTSパケットを有する。
The clip AV stream file recorded on the first medium 410 storing the MPEG-2 TS format data as copy source data is composed of the TS packet sequence described with reference to FIG.
That is, TS corresponding to data corresponding to VMD (variant media data) which is key information embedded data defined in the MP4 format, and vmet corresponding data in which key information for VMD decryption, VMD position information, and the like are stored as a payload. Have a packet.

情報処理装置400は、これらのデータを読み取り、MP4ファイルの各ボックスのデータとして第2メディア420に記録する。具体的には、MP4ファイルのmdatボックスに設定するvmetボックスとVMD(variant media data)ボックスに、これらの各データを記録する。   The information processing apparatus 400 reads these data and records them in the second medium 420 as data of each box of the MP4 file. Specifically, each of these data is recorded in a vmet box and a VMD (variant media data) box set in the mdat box of the MP4 file.

すなわち、先に図16を参照して説明したように、
vmet対応データを格納したTSパケットのペイロードをMP4ファイルのvmetボックスに記録する。さらに、
鍵情報埋め込みデータであるVMD(variant media data)の対応データを格納したTSパケットのペイロードをMP4ファイルのVMD(variant media data)ボックスに記録する。
That is, as described above with reference to FIG.
The payload of the TS packet storing the vmet compatible data is recorded in the vmet box of the MP4 file. further,
The payload of a TS packet storing corresponding data of VMD (variant media data) which is key information embedded data is recorded in a VMD (variant media data) box of the MP4 file.

これらのvmet、VMDの各データの記録(コピー)処理は、先に図16を参照して説明したように、暗号化データを復号することなく、そのまま各ボックスに記録すればよい。   As described above with reference to FIG. 16, the recording (copying) processing of these vmet and VMD data may be recorded in each box as it is without decrypting the encrypted data.

さらに、情報処理装置400は、外部装置、例えばコピー管理を実行するサーバ401に対して、コピー処理の実行対象となるデータのデータ識別子(例えばコンテンツIDやプレイリストID等)、あるいは第1メディアのメディア識別子等、コピーデータを特定可能な識別情報を送信する。   Furthermore, the information processing apparatus 400 sends the data identifier (for example, content ID, playlist ID, etc.) of the data to be copied to the external apparatus, for example, the server 401 that executes copy management, or the first medium. Identification information that can specify copy data such as a media identifier is transmitted.

サーバ401は、コピー対象データを確認した後、その確認データに対応するvlocデータを情報処理装置400に送信する。
情報処理装置400は、サーバ401から受信したvlocデータをMP4ファイルのmoofボックス内のvlocボックスに記録する。
サーバ401の提供するvlocデータは、MP4フォーマットにおいて規定されるデータ構成に従ったデータであり、このままMP4ファイルのvlocボックスに記録すればよい。
After confirming the copy target data, the server 401 transmits vloc data corresponding to the confirmation data to the information processing apparatus 400.
The information processing apparatus 400 records the vloc data received from the server 401 in the vloc box in the moof box of the MP4 file.
The vloc data provided by the server 401 is data according to the data structure defined in the MP4 format, and may be recorded in the vloc box of the MP4 file as it is.

これらの処理によって、第2メディア420には、以下の各ボックスに対してMP4フォーマットの規定に従った以下のデータを格納したMP4ファイルが記録されることになる。
VMDボックス=鍵情報埋め込みデータであるVMD(variant media data)データ、
vmetボックス=VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vlocボックス=vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
第2メディア420には、上記のMP4フォーマット規定データを格納したボックスを持つMP4ファイルが記録されることになる。
With these processes, the MP4 file storing the following data in accordance with the MP4 format rules is recorded in the second medium 420 for each of the following boxes.
VMD box = VMD (variant media data) data which is key information embedded data,
vmet box = vmet data in which key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box are recorded;
vloc box = vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box,
On the second medium 420, an MP4 file having a box storing the MP4 format definition data is recorded.

なお、フォーマット変換およびコピー処理を実行する装置は、上記のデータの他サンプル(sample)データ、その他のメタデータについても、第1メディア410の記録データを利用してMP4ファイルの各ボックスに記録する処理を実行する。   The apparatus that performs format conversion and copy processing records sample data and other metadata other than the above data in each box of the MP4 file using the recording data of the first medium 410. Execute the process.

これらの処理によって、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーが完了する。
このデータコピー処理によって生成したMP4ファイルには、MP4フォーマットに従った鍵情報埋め込みデータ(VMD:variant media data)データ、vmetデータ、vlocデータ、これらのデータが記録される。
With these processes, the data copy accompanied by the conversion process from the MPEG-2 TS format to the MP4 format is completed.
In the MP4 file generated by this data copy process, key information embedded data (VMD: variant media data) data, vmet data, vloc data, and these data according to the MP4 format are recorded.

従って、先に図10、図11を参照して説明した復号結果データに基づいて、復号に適用した鍵を解析可能となり、例えば不正コピーが流通した場合、そのコピーデータからコピー元となったデータを生成(復号)した装置の追跡が可能となる。   Therefore, the key applied to the decryption can be analyzed based on the decryption result data described above with reference to FIGS. 10 and 11. For example, when an illegal copy is distributed, the data that is the copy source from the copy data Can be traced.

[5−3.変換処理実行装置が、MPEG−2TSフォーマットデータに含まれるECM_PIDパケットのペイロード等を参照して、変換後のMP4ファイルに記録するvlocデータを生成して記録する処理例について]
次に、変換処理を実行する情報処理装置が、MPEG−2TSフォーマットデータに含まれるECM_PIDパケットのペイロード等を参照して、変換後のMP4ファイルに記録するvlocデータを生成して記録する処理例について説明する。
[5-3. Example of processing in which conversion processing execution device generates and records vloc data to be recorded in converted MP4 file with reference to payload of ECM_PID packet included in MPEG-2TS format data]
Next, a processing example in which the information processing apparatus that executes the conversion process generates and records vloc data to be recorded in the converted MP4 file with reference to the payload of the ECM_PID packet included in the MPEG-2TS format data. explain.

図20は、図19と同様、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を実行する情報処理装置400の実行する処理を示す図である。   FIG. 20 is a diagram illustrating processing executed by the information processing apparatus 400 that executes conversion processing from the MPEG-2TS format to the MP4 format, as in FIG. 19.

情報処理装置400は、コピー元データとなるMPEG−2TSフォーマットデータを格納した第1メディア410と、フォーマット変換後のMP4フォーマットデータを記録するコピー先メディアである第2メディア420を装着し、フォーマット変換およびコピー処理を開始する。   The information processing apparatus 400 mounts a first medium 410 storing MPEG-2TS format data serving as copy source data, and a second medium 420 serving as a copy destination medium for recording MP4 format data after format conversion, thereby converting the format. And start the copy process.

コピー元データとなるMPEG−2TSフォーマットデータを格納した第1メディア410に記録されたクリップAVストリームファイルは、図14を参照して説明したTSパケット列から構成される。
すなわち、MP4フォーマットにおいて規定される鍵情報埋め込みデータであるVMD(variant media data)の対応データと、VMDの復号用の鍵情報やVMDの位置情報等を記録したvmet対応データをペイロードとして格納したTSパケットを有する。
The clip AV stream file recorded on the first medium 410 storing the MPEG-2 TS format data as copy source data is composed of the TS packet sequence described with reference to FIG.
That is, TS corresponding to data corresponding to VMD (variant media data) which is key information embedded data defined in the MP4 format, and vmet corresponding data in which key information for VMD decryption, VMD position information, and the like are stored as a payload. Have a packet.

情報処理装置400は、これらのデータを読み取り、読み取りデータを、MP4ファイルを構成する各ボックスの記録用データに設定して第2メディア420に記録する。具体的には、MP4ファイルのmdatボックスに設定するvmetボックスとVMD(variant media data)ボックスに、これらの各データを記録する。   The information processing apparatus 400 reads these data, sets the read data as recording data for each box constituting the MP4 file, and records the data in the second medium 420. Specifically, each of these data is recorded in a vmet box and a VMD (variant media data) box set in the mdat box of the MP4 file.

すなわち、先に図16を参照して説明したように、
vmet対応データを格納したTSパケットのペイロードをMP4ファイルのvmetボックスに記録する。さらに、
鍵情報埋め込みデータであるVMD(variant media data)の対応データを格納したTSパケットのペイロードをMP4ファイルのVMD(variant media data)ボックスに記録する。
That is, as described above with reference to FIG.
The payload of the TS packet storing the vmet compatible data is recorded in the vmet box of the MP4 file. further,
The payload of a TS packet storing corresponding data of VMD (variant media data) which is key information embedded data is recorded in a VMD (variant media data) box of the MP4 file.

これらのvmet、VMDコピー処理は、先に図16を参照して説明したように、TSパケット内に記録された暗号化データを復号することなく、そのまま各ボックスに記録すればよい。   These vmet and VMD copy processes may be recorded in each box as they are without decrypting the encrypted data recorded in the TS packet, as described above with reference to FIG.

さらに、情報処理装置400は、第1メディア410に記録されたMPEG−2TSフォーマットデータに含まれるECM_PIDパケットのペイロード等を参照して、変換後のMP4ファイルに記録するvlocデータを生成する。   Furthermore, the information processing apparatus 400 refers to the payload of the ECM_PID packet included in the MPEG-2TS format data recorded on the first medium 410, and generates vloc data to be recorded in the converted MP4 file.

情報処理装置400の実行するvlocデータの生成処理の1つの具体列について、図21を参照して説明する。
図21は、先に図15を参照して説明したと同様、
(1)MPEG−2TSフォーマットにおいて規定されるECM_PIDパケットのデータ記録構成、
(2)MP4ファイルのvlocボックスのデータ記録構成、
これらを示している。
One specific column of the vloc data generation process executed by the information processing apparatus 400 will be described with reference to FIG.
FIG. 21 is similar to that described above with reference to FIG.
(1) Data recording configuration of ECM_PID packet defined in MPEG-2TS format,
(2) MP4 file vloc box data recording configuration,
These are shown.

情報処理装置400は、コピー元データを記録した第1メディアのクリップAVストリームファイルからECM_PIDパケットを抽出して、このパケットのペイロードとして記録されたデータ、すなわち、図21(1)に示すデータを取得する。
情報処理装置400は、このデータの記録情報を用いて、図21(2)に示すMP4のvlocボックス格納用データを生成する。
The information processing apparatus 400 extracts the ECM_PID packet from the clip AV stream file of the first medium in which the copy source data is recorded, and acquires the data recorded as the payload of this packet, that is, the data shown in FIG. To do.
The information processing apparatus 400 uses the data recording information to generate MP4 vloc box storage data shown in FIG.

図21(1)に示すMPEG−2TSフォーマットにおいて規定されるECM_PIDパケットの記録データには、
初期化ベクトル(IV:Initialization Vector)サイズ、
キーID、
初期化ベクトル(IV)データ、
これらのデータが含まれる。
なお、キーIDは、vmetデータ復号用の鍵の識別子(ID)である。
The record data of the ECM_PID packet defined in the MPEG-2TS format shown in FIG.
Initialization vector (IV) size,
Key ID,
Initialization vector (IV) data,
These data are included.
The key ID is a key identifier (ID) for decrypting vmet data.

情報処理装置400は、これらのデータを読み出して、図21(2)に示すMP4フォーマットの規定に従ったvlocデータを生成する。
図21(2)に示すように、MP4規定のvlocデータにも、キーIDの記録領域と、初期化ベクトル(IV)のサイズとデータの記録領域が設定される。
図21(2)に示すvmKIDは、本明細書で説明しているvmet復号用の鍵(Kmet)の識別子(Kmet−ID)に相当する。
The information processing apparatus 400 reads out these data and generates vloc data in accordance with the MP4 format rule shown in FIG.
As shown in FIG. 21 (2), the key ID recording area, the size of the initialization vector (IV), and the data recording area are also set in the MP4-defined vloc data.
The vmKID shown in FIG. 21 (2) corresponds to the identifier (Kmet-ID) of the vmet decryption key (Kmet) described in this specification.

情報処理装置は、ECM_PIDパケットの記録データから読み出したデータをMP4既定のvlocデータのシンタックスに適合するように変換処理を実行してMP4フォーマットの規定に従ったvlocデータを生成する。   The information processing apparatus performs conversion processing so that data read from the recording data of the ECM_PID packet conforms to the MP4 default vloc data syntax, and generates vloc data according to the MP4 format rules.

なお、情報処理装置400は、このデータ変換処理に必要な変換プログラムをメモリに保持しており、この変換プログラムを利用してvlocデータの生成処理を行なう。
この変換処理によって生成したvlocデータは、MP4フォーマットで規定するデータ構成に従ったデータであり、このままMP4ファイルのvlocボックスに記録することが可能となる。
Note that the information processing apparatus 400 holds a conversion program necessary for the data conversion processing in a memory, and performs generation processing of vloc data using the conversion program.
The vloc data generated by this conversion process is data according to the data structure defined in the MP4 format, and can be recorded in the vloc box of the MP4 file as it is.

これらの処理によって、第2メディア420には、以下の各ボックスに対してMP4フォーマットの規定に従った以下のデータを格納したMP4ファイルが記録されることになる。
VMDボックス=鍵情報埋め込みデータであるVMD(variant media data)データ、
vmetボックス=VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vlocボックス=vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
第2メディア420には、上記のMP4フォーマット規定データを格納したボックスを持つMP4ファイルが記録されることになる。
With these processes, the MP4 file storing the following data in accordance with the MP4 format rules is recorded in the second medium 420 for each of the following boxes.
VMD box = VMD (variant media data) data which is key information embedded data,
vmet box = vmet data in which key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box are recorded;
vloc box = vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box,
On the second medium 420, an MP4 file having a box storing the MP4 format definition data is recorded.

なお、フォーマット変換およびコピー処理を実行する装置は、上記のデータの他サンプル(sample)データ、その他のメタデータについても、第1メディア410の記録データを利用してMP4ファイルの各ボックスに記録する処理を実行する。   The apparatus that performs format conversion and copy processing records sample data and other metadata other than the above data in each box of the MP4 file using the recording data of the first medium 410. Execute the process.

これらの処理によって、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーが完了する。
このデータコピー処理によって生成したMP4ファイルには、MP4フォーマットに従った鍵情報埋め込みデータ(VMD:variant media data)データ、vmetデータ、vlocデータこ、れらのデータが記録される。
With these processes, the data copy accompanied by the conversion process from the MPEG-2 TS format to the MP4 format is completed.
In the MP4 file generated by the data copy process, key information embedded data (VMD: variant media data) data, vmet data, vloc data, and the like are recorded according to the MP4 format.

従って、先に図10、図11を参照して説明した復号結果データから復号に適用した鍵を解析可能となり、例えば不正コピーが流通した場合、そのコピーデータからコピー元となったデータを生成(復号)した装置の追跡が可能となる。   Therefore, the key applied to the decryption can be analyzed from the decryption result data described with reference to FIGS. 10 and 11. For example, when an illegal copy is distributed, the copy source data is generated from the copy data ( It is possible to track the device that has been decoded.

[6.鍵情報埋め込みデータ(VMD:variant media data)とメタデータ(vmet)の記録位置の制限について]
上述した説明から理解されるように、MPEG−2TSフォーマットデータからMP4フォーマットデータに変換してMP4フォーマットデータをメディアに記録する処理において、鍵情報埋め込みデータ(VMD:variant media data)とメタデータ(vmet)は、MPEG−2TSのパケットに格納された暗号化データを復号することなく、暗号化データのままMP4ファイルに記録されることになる。
[6. Restriction on recording position of key information embedded data (VMD: variant media data) and metadata (vmet)]
As understood from the above description, in the process of converting the MPEG-2 TS format data to the MP4 format data and recording the MP4 format data on the medium, the key information embedded data (VMD: variant media data) and the metadata (vmet ) Is recorded in the MP4 file as it is without decrypting the encrypted data stored in the MPEG-2TS packet.

しかし、先に図12等を参照して説明したように、メタデータ(vmet)には、鍵情報埋め込みデータ(VMD:variant media data)の復号用の鍵であるメディアキー(Km)やセグメントキー(Ksx)の鍵識別子(Km−ID,Ksx−ID)の他、鍵情報埋め込みデータ(VMD:variant media data)の記録位置情報が記録されている。   However, as described above with reference to FIG. 12 and the like, the metadata (vmet) includes a media key (Km) or a segment key that is a key for decrypting key information embedded data (VMD: variant media data). In addition to (Ksx) key identifiers (Km-ID, Ksx-ID), recording position information of key information embedded data (VMD: variant media data) is recorded.

従って、フォーマット変換とMP4ファイルの記録処理を実行する装置は、フォーマット変換によって生成したMP4ファイルに鍵情報埋め込みデータ(VMD:variant media data)と、メタデータ(vmet)を記録する場合、鍵情報埋め込みデータ(VMD:variant media data)の記録位置を、メタデータ(vmet)に記録された記録位置情報に一致させることが必要となる。   Therefore, an apparatus that executes format conversion and MP4 file recording processing embeds key information when recording key information embedded data (VMD: variant media data) and metadata (vmet) in an MP4 file generated by format conversion. It is necessary to match the recording position of data (VMD: variant media data) with the recording position information recorded in the metadata (vmet).

しかし、上述したように、MPEG−2TSからMP4フォーマットの変換処理に際して、鍵情報埋め込みデータ(VMD:variant media data)とメタデータ(vmet)は、復号することなく暗号化データのままMP4ファイルに記録する。
従って、フォーマット変換およびコピー記録を行う装置は、メタデータ(vmet)に記録された記録位置情報を確認できないという問題がある。
However, as described above, in the conversion process from MPEG-2TS to MP4 format, key information embedded data (VMD: variant media data) and metadata (vmet) are recorded in the MP4 file as encrypted data without being decrypted. To do.
Therefore, there is a problem that an apparatus that performs format conversion and copy recording cannot confirm the recording position information recorded in the metadata (vmet).

なお、MP4ファイルのメタデータ格納ボックスであるmoofボックスには、図22に示すように、再生データの格納ボックスであるmdatボックスに格納された画像や音声の所定時間単位の再生データ(サンプル(sample))毎の再生時間情報(sample_duration)や、サンプルサイズ情報(sample_size)を記録したtrunボックスが設定される。   As shown in FIG. 22, the moof box, which is a metadata storage box of an MP4 file, has playback data (sample (sample)) of an image or sound stored in the mdat box, which is a playback data storage box. )) A play box in which playback time information (sample_duration) and sample size information (sample_size) are recorded is set.

このtrunボックスは、サンプル番号順(#1,#2,#3・・・)に、各サンプルの再生時間情報(sample_duration)と、サンプルサイズ情報(sample_size)を記録したボックスであり、各サンプル対応の再生制御情報を記録している。
MP4ファイルを利用して再生処理を行なう再生装置は、このtrunボックスに記録された各サンプル対応の再生制御情報を参照してサンプル単位の正確な再生を行なうことができる。
なお、mdatボックスに格納されるサンプルの各々は、画像データの場合、1つの画像フレーム(ピクチャ)、音声データの場合、所定時間範囲内の再生音声データによって構成される。
This trun box is a box in which playback time information (sample_duration) and sample size information (sample_size) of each sample are recorded in order of sample number (# 1, # 2, # 3...) Playback control information is recorded.
A playback apparatus that performs playback processing using an MP4 file can perform accurate playback in units of samples with reference to playback control information corresponding to each sample recorded in the trun box.
Each sample stored in the mdat box is constituted by one image frame (picture) in the case of image data, and reproduced audio data within a predetermined time range in the case of audio data.

図22(1)に示すように、再生データが、鍵情報埋め込みデータ(VMD:variant media data)と、鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)が含まれないサンプル(sample)データのみからなるデータである場合、trunボックスには、各サンプルについての再生時間情報(sample_duration)と、サンプルサイズ情報(sample_size)をサンプル番号順(sample_count(#1,#2,#3・・・))に、順次、連続して記録することができる。
再生装置は、サンプル番号順にmdatボックスからサンプルデータを取り出して、サンプル順に再生処理を行なうことができる。
As shown in FIG. 22 (1), the reproduction data includes sample data that does not include key information embedded data (VMD: variant media data) and metadata (vmet) corresponding to the key information embedded data (VMD). In the trun box, the playback time information (sample_duration) and sample size information (sample_size) for each sample are arranged in sample number order (sample_count (# 1, # 2, # 3...). ) Can be recorded sequentially and continuously.
The playback device can extract sample data from the mdat box in the order of sample numbers and perform playback processing in the order of samples.

しかし、図22(2)に示すように、再生データに鍵情報埋め込みデータ(VMD:variant media data)と、鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)が含まれると、再生対象データはサンプル(sample)データのみではなくなる。   However, as shown in FIG. 22 (2), if the reproduction data includes key information embedded data (VMD: variant media data) and metadata (vmet) corresponding to the key information embedded data (VMD), the reproduction target data Is not only sample data.

図22(2)に示す例では、サンプル#1,#2の後続データとして、鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)が設定され、その後に後続サンプル#3が設定されている。
この鍵情報埋め込みデータ(VMD:variant media data)は、例えばサンプル#2の画像データとともに再生される鍵情報埋め込み画像データである。
In the example shown in FIG. 22 (2), metadata (vmet) corresponding to key information embedded data (VMD) and key information embedded data (VMD: variant media data) are set as subsequent data of samples # 1 and # 2. Then, subsequent sample # 3 is set.
This key information embedded data (VMD: variant media data) is, for example, key information embedded image data reproduced together with the image data of sample # 2.

このように、鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)を、連続再生データであるはずのサンプルデータの間に設定してmdatボックスに記録し、trunボックスに、サンプル番号順(#1,#2,#3・・・)でサンプル対応の再生制御情報を記録してしまうと、trunボックスのデータを参照した再生処理が正しく実行できなくなる可能性が発生する。   In this way, the metadata (vmet) corresponding to the key information embedded data (VMD) and the key information embedded data (VMD: variant media data) are set between the sample data that should be continuous reproduction data, and the mdat box. If the playback control information corresponding to the sample is recorded in the trun box in the order of the sample number (# 1, # 2, # 3...), The playback process referring to the data in the trun box is correctly executed. There is a possibility that it will not be possible.

この問題を解決するための対策として、以下のいずれかの対策が考えられる。
(A)サンプル(sample)の間に鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)を記録しない。
(B)サンプル(sample)の間に鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)を記録した場合、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)の前に記録した連続サンプルに対応する再生制御情報を記録した第1のtrunボックスと、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)の後に記録した連続サンプルに対応する再生制御情報を記録した第2のtrunボックスを個別に設定する。すなわち、連続サンプル対応の複数のtrunボックスを設定する。
(C)mdatボックスの1つのサンプルの後続データとしてメタデータ(vmet)と、鍵情報埋め込みデータ(VMD)が記録されている場合、trunボックスに記録するこのサンプルのサイズ情報として、
サンプルサイズ+(メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)のサイズ)
この合計サイズ情報を記録する。
As a measure for solving this problem, one of the following measures can be considered.
(A) Metadata (vmet) corresponding to key information embedded data (VMD) and key information embedded data (VMD: variant media data) are not recorded between samples.
(B) When the metadata (vmet) corresponding to the key information embedded data (VMD) and the key information embedded data (VMD: variant media data) are recorded between the samples (sample), the metadata (vmet) and the key The first trun box in which the reproduction control information corresponding to the continuous sample recorded before the information embedded data (VMD) is recorded, the metadata (vmet), and the continuous sample recorded after the key information embedded data (VMD). The second trun box in which the corresponding reproduction control information is recorded is set individually. That is, a plurality of trun boxes corresponding to continuous samples are set.
(C) When metadata (vmet) and key information embedded data (VMD) are recorded as subsequent data of one sample in the mdat box, as size information of this sample to be recorded in the trun box,
Sample size + (size of metadata (vmet) and key information embedded data (VMD))
Record this total size information.

上記の(A)〜(C)のいずれかの対策を行うことで、trunボックスに記録されたサンプル対応の再生制御情報を利用した再生処理を問題なく実行することが可能となる。   By taking any of the above measures (A) to (C), it is possible to execute the reproduction process using the reproduction control information corresponding to the sample recorded in the trun box without any problem.

上記の対策を施した場合のMP4ファイルのmdatボックスのデータ記録例について、図23を参照して説明する。
図23には、以下の(1)〜(3)の3つのデータ記録例を示している。
(1)メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を、mdatボックス内に連続記録されたサンプルの前に記録した前詰方式。
(2)メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を、mdatボックス内に連続記録されたサンプルの後に記録した後詰方式。
(3)メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を、mdatボックス内に連続記録されたサンプルの間に記録したサンプル間記録方式。
An example of data recording in the mdat box of the MP4 file when the above measures are taken will be described with reference to FIG.
FIG. 23 shows the following three data recording examples (1) to (3).
(1) A front-packing method in which metadata (vmet) and key information embedded data (VMD) are recorded before a sample continuously recorded in the mdat box.
(2) A post-packing method in which metadata (vmet) and key information embedded data (VMD) are recorded after a sample continuously recorded in the mdat box.
(3) An inter-sample recording method in which metadata (vmet) and key information embedded data (VMD) are recorded between samples continuously recorded in the mdat box.

図23に示す(1)前詰記録方式と、(2)後詰記録方式は、上記対策(A)に対応する具体例である。すなわち、
(A)サンプル(sample)の間に鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)を記録しない。
この対策(A)に対応する具体例となる。
The (1) front-filled recording method and (2) post-filled recording method shown in FIG. 23 are specific examples corresponding to the countermeasure (A). That is,
(A) Metadata (vmet) corresponding to key information embedded data (VMD) and key information embedded data (VMD: variant media data) are not recorded between samples.
This is a specific example corresponding to this measure (A).

また、図23に示す(3)サンプル間記録方式は、上記対策(B)または(C)に対応する具体例である。すなわち、
(B)サンプル(sample)の間に鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)を記録した場合、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)の前に記録した連続サンプルに対応する再生制御情報を記録した第1のtrunボックスと、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)の後に記録した連続サンプルに対応する再生制御情報を記録した第2のtrunボックスを設定し、連続サンプル対応の複数のtrunボックスを設定する。
(C)mdatボックスの1つのサンプルの後続データとしてメタデータ(vmet)と、鍵情報埋め込みデータ(VMD)が記録されている場合、そのサンプルのサイズ情報として、
サンプルサイズ+(メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)のサイズ)
この合計サイズ情報を記録する。
Further, the (3) inter-sample recording method shown in FIG. 23 is a specific example corresponding to the countermeasure (B) or (C). That is,
(B) When the metadata (vmet) corresponding to the key information embedded data (VMD) and the key information embedded data (VMD: variant media data) are recorded between the samples (sample), the metadata (vmet) and the key The first trun box in which the reproduction control information corresponding to the continuous sample recorded before the information embedded data (VMD) is recorded, the metadata (vmet), and the continuous sample recorded after the key information embedded data (VMD). A second trun box in which corresponding reproduction control information is recorded is set, and a plurality of trun boxes corresponding to consecutive samples are set.
(C) When metadata (vmet) and key information embedded data (VMD) are recorded as subsequent data of one sample in the mdat box, as size information of the sample,
Sample size + (size of metadata (vmet) and key information embedded data (VMD))
Record this total size information.

このような設定とすることで、trunボックスに記録されたサンプル対応の再生制御情報を利用した再生処理を問題なく実行することが保証される。
なお、上記対策(A)〜(C)のいずれの場合も、鍵情報埋め込みデータ(VMD:variant media data)と、その記録位置情報を格納したメタデータ(vmet)は、連続してMP4ファイルに記録する。
With such a setting, it is ensured that the reproduction process using the reproduction control information corresponding to the sample recorded in the trun box is executed without any problem.
In any of the above measures (A) to (C), the key information embedded data (VMD: variant media data) and the metadata (vmet) storing the recording position information are continuously stored in the MP4 file. Record.

すなわち、鍵情報埋め込みデータ(VMD:variant media data)の直前に、この鍵情報埋め込みデータ(VMD)の記録位置情報を格納したメタデータ(vmet)を記録する設定とする。
なお、この場合、メタデータ(vmet)は、鍵情報埋め込みデータ(VMD)の記録位置情報として、このメタデータ(vmet)の後続位置が記録位置であることを示す位置情報を記録した設定とする。
That is, it is set to record the metadata (vmet) storing the recording position information of the key information embedded data (VMD) immediately before the key information embedded data (VMD: variant media data).
In this case, the metadata (vmet) is set to record the position information indicating that the subsequent position of the metadata (vmet) is the recording position as the recording position information of the key information embedded data (VMD). .

このような設定とすることで、MPEG−2TSからMP4フォーマットへの変換処理に際して、メタデータ(vmet)内に格納された鍵情報埋め込みデータ(VMD)の記録位置情報を確認する必要をなくすことができる。
すなわち、MPEG−2TSからMP4フォーマットへの変換処理に際して、MP4ファイルのmdatボックスにメタデータ(vmet)と鍵情報埋め込みデータ(VMD)を連続して記録するというルールに従って記録処理を行なう。この記録処理により、メタデータ(vmet)内に格納された鍵情報埋め込みデータ(VMD)の記録位置情報を確認する必要がなくなり、これらのデータを暗号化データのままMPEG−2TSフォーマットからMP4フォーマットデータへ変換して記録可能となる。
With this setting, there is no need to confirm the recording position information of the key information embedded data (VMD) stored in the metadata (vmet) during the conversion process from the MPEG-2TS to the MP4 format. it can.
That is, in the conversion process from the MPEG-2 TS to the MP4 format, the recording process is performed according to the rule that the metadata (vmet) and the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. With this recording process, it is not necessary to confirm the recording position information of the key information embedded data (VMD) stored in the metadata (vmet), and these data remain as encrypted data in the MPEG-2TS format to the MP4 format data. It becomes possible to record after conversion.

なお、実際の処理例としては、図23に示す(1)〜(3)の具体例のいずれかの方式を固定的に利用する設定と、図23の(1)〜(3)の具体例のいずれかの方式を選択的に利用可能とする設定がある。   In addition, as an actual processing example, a setting in which any one of the specific examples (1) to (3) shown in FIG. 23 is fixedly used, and a specific example (1) to (3) in FIG. There is a setting for selectively using one of the methods.

図23の(1)〜(3)の具体例のいずれかの方式を選択的に利用可能とする場合、変換処理を実行する情報処理装置は、例えば変換対象として選択したプレイリストファイルに従って選択されるクリップ情報ファイルの記録情報を利用して、図23の(1)〜(3)の具体例のいずれの方式を利用するかを決定するといった処理が可能である。   When any one of the specific examples of (1) to (3) in FIG. 23 is selectively used, the information processing apparatus that executes the conversion process is selected according to, for example, the playlist file selected as the conversion target. It is possible to perform processing such as determining which method of the specific examples of (1) to (3) in FIG.

すなわち、クリップ情報ファイルに、どの方式で、メタデータ(vmet)と鍵情報埋め込みデータ(VMD)をMP4ファイルに記録すべきかを指定する情報を予め記録する。
図24に、この指定情報を記録したクリップ情報ファイルの例を示す。
図24(1)はクリップ情報ファイルのデータ構成例である。クリップ情報ファイルは、MPEG−2TSフォーマットを持つクリップAVストリーム[xxxxx.m2ts]に対応付けられた再生制御情報ファイルとして設定される。
That is, information specifying in advance how to record the metadata (vmet) and the key information embedded data (VMD) in the MP4 file is recorded in the clip information file.
FIG. 24 shows an example of a clip information file in which this designation information is recorded.
FIG. 24 (1) shows an example of the data structure of a clip information file. The clip information file includes a clip AV stream having the MPEG-2 TS format [xxxx. m2ts] is set as a reproduction control information file associated with the file.

このクリップ情報ファイルには予めリザーブ領域(reserved_for_future_use)が設けられ、このリザーブ領域に、様々なデータを設定可能な構成となっている。   The clip information file is provided with a reserved area (reserved_for_future_use) in advance, and various data can be set in the reserved area.

図24(2)は、このリザーブ領域に上述した方式指定情報、すなわち、図23の(1)〜(3)の具体例のいずれの方式でメタデータ(vmet)と鍵情報埋め込みデータ(VMD)をMP4ファイルに記録すべきかを指定する情報を記録した例を示す図である。   FIG. 24 (2) shows the above-described method designation information in the reserved area, that is, metadata (vmet) and key information embedded data (VMD) in any of the specific examples of (1) to (3) in FIG. It is a figure which shows the example which recorded the information which designates whether it should record to MP4 file.

図24(2)に示すように、クリップ情報ファイルに以下の情報を記録する。
(a)鍵情報埋め込みデータの有無(is_variant)=1bit
(b)メタデータ(vmet)と鍵情報埋め込みデータ(VMD)の記録方式(variant_type)=8bit
As shown in FIG. 24 (2), the following information is recorded in the clip information file.
(A) Presence / absence of key information embedded data (is_variant) = 1 bit
(B) Recording method (variant_type) of metadata (vmet) and key information embedded data (VMD) = 8 bits

これらの各情報の具体的なビット値設定例を図25に示す。
(a)鍵情報埋め込みデータの有無(is_variant)=1bit
この項目については、以下のようにビット値を設定する。
ビット値=0:鍵情報埋め込みデータ(VMD:variant media data)なし
ビット値=1:鍵情報埋め込みデータ(VMD:variant media data)あり
A specific bit value setting example of each piece of information is shown in FIG.
(A) Presence / absence of key information embedded data (is_variant) = 1 bit
For this item, the bit value is set as follows.
Bit value = 0: No key information embedded data (VMD: variant media data) Bit value = 1: Key information embedded data (VMD: variant media data) exists

また、(b)メタデータ(vmet)と鍵情報埋め込みデータ(VMD)の記録方式(variant_type)=8bit
この項目については、以下のようにビット値を設定する。
ビット値=0:前詰方式[vmetと、VMD(variant media data)の記録領域をサンプル前方に設定](=図23(1)の方式)
ビット値=1:後詰方式[vmetと、VMD(variant media data)の記録領域をサンプル後方に設定](=図23(2)の方式)
ビット値=2:サンプル間記録方式[vmetと、VMD(variant media data)の記録領域をサンプル間に設定(データをデコード順に設定し、trunボックスを分割するか、trunボックスに記録するサンプルサイズをサンプル+vmet+VMDとする)](=図23(3)の方式)
In addition, (b) metadata (vmet) and key information embedded data (VMD) recording method (variant_type) = 8 bits
For this item, the bit value is set as follows.
Bit value = 0: Front-packing method [recording area of vmet and VMD (variant media data) set in front of sample] (= method of FIG. 23 (1))
Bit value = 1: Post-packing method [Recording area of vmet and VMD (variant media data) set behind sample] (= method of FIG. 23 (2))
Bit value = 2: The recording area of the inter-sample recording method [vmet and VMD (variant media data) is set between samples (data is set in decoding order and the trun box is divided or the sample size to be recorded in the trun box is set. Sample + vmet + VMD)] (= method of FIG. 23 (3))

なお、図25に示すビット値設定例は、一例であり、ビット値の設定はこの例に限らず他、様々な設定が可能である。
このように、図24、図25を参照して説明したように、クリップ情報ファイルに以下の情報を記録する。
(a)鍵情報埋め込みデータの有無(is_variant)
(b)メタデータ(vmet)と鍵情報埋め込みデータ(VMD)の記録方式(variant_type)
Note that the bit value setting example shown in FIG. 25 is an example, and the bit value setting is not limited to this example, and various other settings are possible.
Thus, as described with reference to FIGS. 24 and 25, the following information is recorded in the clip information file.
(A) Presence / absence of key information embedded data (is_variant)
(B) Recording method of metadata (vmet) and key information embedded data (VMD) (variant_type)

MPEG−2TSフォーマットからMP4フォーマットへの変換を実行して生成したMP4ファイルをメディアに記録する情報処理装置は、このクリップ情報ファイルに記録された情報を参照して、変換処理およびコピー処理対象となるクリップAVストリームファイルに鍵情報埋め込みデータが含まれているか否かを判断することができる。   An information processing apparatus for recording an MP4 file generated by executing conversion from the MPEG-2TS format to the MP4 format on a medium is subject to conversion processing and copy processing with reference to information recorded in the clip information file. It can be determined whether or not key information embedded data is included in the clip AV stream file.

さらに、変換処理およびコピー処理対象となるクリップAVストリームファイルに鍵情報埋め込みデータが含まれている場合、変換後のMP4ファイルに対して、メタデータ(vmet)と鍵情報埋め込みデータ(VMD)を、図23を参照して説明した(1)〜(3)のどの方式に従って記録すべきかを決定することができる。
情報処理装置は、このクリップ情報ファイルに記録された指定方式に従って、メタデータ(vmet)と鍵情報埋め込みデータ(VMD)をMP4ファイルのmdatボックスに記録する。
Furthermore, when key information embedded data is included in a clip AV stream file to be converted and copied, metadata (vmet) and key information embedded data (VMD) are added to the converted MP4 file. It is possible to determine which method (1) to (3) described with reference to FIG.
The information processing apparatus records the metadata (vmet) and the key information embedded data (VMD) in the mdat box of the MP4 file according to the designation method recorded in the clip information file.

なお、上述した例では、
(a)鍵情報埋め込みデータの有無(is_variant)
(b)メタデータ(vmet)と鍵情報埋め込みデータ(VMD)の記録方式(variant_type)
これらの情報をクリップ情報ファイルに記録する例として説明したが、例えばプレイリストファイル等、その他の再生制御情報ファイルや、データベースファイルに記録する構成としてもよい。
In the above example,
(A) Presence / absence of key information embedded data (is_variant)
(B) Recording method of metadata (vmet) and key information embedded data (VMD) (variant_type)
Although this information has been described as an example of recording in a clip information file, it may be configured to record in other reproduction control information files such as a playlist file or a database file.

[7.鍵情報埋め込みデータ(VMD)とメタデータ(vmet)をMPEG−2TSフォーマットデータファイル以外から取得する実施例について(実施例2)]
上述した実施例においては、MP4ファイルのmdatボックスに記録する鍵情報埋め込みデータ(VMD:variant media data)と、鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)を、MPEG−2TSファイルを構成するTSパケットに格納していた。
[7. Example of Obtaining Key Information Embedded Data (VMD) and Metadata (vmet) from Other Than MPEG-2TS Format Data File (Example 2)]
In the embodiment described above, the MPEG-2 TS file is composed of key information embedded data (VMD) recorded in the mdat box of the MP4 file and metadata (vmet) corresponding to the key information embedded data (VMD). Stored in the TS packet.

MPEG−2TSフォーマットからMP4フォーマットへ変換する処理を実行する情報処理装置は、MPEG−2TSフォーマットデータのTSパケットから、鍵情報埋め込みデータ(VMD)と、メタデータ(vmet)を取り出してMP4ファイルのボックスに記録する処理を行なう。   An information processing apparatus that executes processing for converting from the MPEG-2 TS format to the MP4 format extracts key information embedded data (VMD) and metadata (vmet) from the TS packet of the MPEG-2 TS format data, and stores the box of the MP4 file. The process of recording is performed.

具体的には、例えば図14〜図16を参照して説明したように、BDMVディレクトリに設定される再生対象データを格納したクリップAVストリームファイル[xxxxx.m2ts]を構成するTSパケットに鍵情報埋め込みデータ(VMD:variant media data)と、鍵情報埋め込みデータ(VMD)対応のメタデータ(vmet)を格納し、このデータをMP4ファイルのmdatボックスに記録する実施例を説明した。
この実施例を実施例1とする。
Specifically, for example, as described with reference to FIGS. 14 to 16, a clip AV stream file [xxxx.x] storing reproduction target data set in the BDMV directory. m2ts] stores key information embedded data (VMD: variant media data) and key information embedded data (VMD) compatible metadata (vmet), and records this data in the mdat box of the MP4 file. Examples have been described.
This example is referred to as Example 1.

以下に説明する実施例2は、鍵情報埋め込みデータ(VMD)とメタデータ(vmet)をMPEG−2TSフォーマットデータを構成するTSパケットに記録せず、鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納するファイルを利用した実施例である。具体的には、以下の2つのいずれかの処理を行なう。
(1)先に図17〜図18を参照して説明したvlocデータを格納したMP4ヘッダ情報ファイル312と同様、メディアに独立して記録されたファイルに鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納する。
(2)先に図19を参照して説明したvlocデータ取得構成と同様、外部装置、例えばコピー管理サーバから鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を取得する。
以下、これらの2つの構成例について、順次、説明する。
In the second embodiment described below, the key information embedded data (VMD) and the metadata (vmet) are not recorded in the TS packet constituting the MPEG-2 TS format data, but the key information embedded data (VMD) and the metadata (vmet) are not recorded. ) Is used in the embodiment. Specifically, one of the following two processes is performed.
(1) Similar to the MP4 header information file 312 storing vloc data described above with reference to FIGS. 17 to 18, key information embedded data (VMD) and metadata ( vmet).
(2) Key information embedded data (VMD) and metadata (vmet) are acquired from an external device, for example, a copy management server, as in the vloc data acquisition configuration described above with reference to FIG.
Hereinafter, these two configuration examples will be sequentially described.

[7−1.メディアに鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したファイルを設定して利用する構成例について]
まず、図26以下を参照して、メディアに鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したファイルを設定して利用する構成例について説明する。
[7-1. Regarding a configuration example in which a file storing key information embedded data (VMD) and metadata (vmet) is set and used on a medium]
First, a configuration example in which a file storing key information embedded data (VMD) and metadata (vmet) is set and used in a medium will be described with reference to FIG.

フォーマット変換対象コンテンツであるMPEG−2TSフォーマットデータを記録したメディアに、変換後のMP4ファイルに記録するための鍵情報埋め込みデータ(VMD)とメタデータ(vmet)の格納ファイルを予め追加記録しておく。変換処理を実行する情報処理装置は、この追加記録データを読み取ってMP4ファイルの所定のボックスに記録する。   A storage file of key information embedded data (VMD) and metadata (vmet) for recording in the converted MP4 file is additionally recorded in advance on a medium on which MPEG-2TS format data, which is the format conversion target content, is recorded. . The information processing apparatus that executes the conversion process reads this additional recording data and records it in a predetermined box of the MP4 file.

図26は、本実施例のメディア450の記録データのディレクトリ例を示す図である。メディア450は、Blu−ray(登録商標)ディスクであり、先に、図1を参照して説明したROM型のBD(Blu−ray(登録商標) Disc)である。
メディア450には、BDMVフォーマットに従ったデータが記録される。このデータ中のクリップAVストリームが、MPEG−2TSフォーマットデータ、すなわちTSパケットによって構成されるMPEG−2TSフォーマットデータである。
FIG. 26 is a diagram illustrating a directory example of recording data of the medium 450 according to the present embodiment. The medium 450 is a Blu-ray (registered trademark) disk, and is the ROM type BD (Blu-ray (registered trademark) Disc) described above with reference to FIG.
Data according to the BDMV format is recorded on the medium 450. The clip AV stream in this data is MPEG-2TS format data, that is, MPEG-2TS format data composed of TS packets.

本実施例に従ったデータ記録構成を持つメディア450は、
BDMVディレクトリ451、
EXPORTディレクトリ452、
これらのディレクトリを有する。
A medium 450 having a data recording configuration according to the present embodiment is:
BDMV directory 451,
EXPORT directory 452,
Have these directories.

BDMVディレクトリ451には、先に図1を参照して説明したように、
インデックスファイル、
プレイリストファイル、
クリップ情報ファイル、
クリップAVストリームファイル、
例えば、これらのファイルが記録される。
In the BDMV directory 451, as described above with reference to FIG.
Index files,
Playlist files,
Clip information file,
Clip AV stream file,
For example, these files are recorded.

インデックスファイルには、再生処理に適用するインデックス情報としてのタイトル情報が格納される。
プレイリストファイルは、タイトルによって指定された再生プログラムのプログラム情報に従ったコンテンツの再生順等を規定したファイルであり、再生位置情報を持クリップ情報に対する指定情報を有する。
クリップ情報ファイルは、プレイリストファイルによって指定されるファイルであり、クリップAVストリームファイルの再生位置情報等を有する。
クリップAVストリームファイルは、再生対象となるAVストリームデータを格納したファイルであり、MPEG−2TSフォーマットに従って再生対象となる画像データ等が記録される。
The index file stores title information as index information applied to the reproduction process.
The playlist file is a file that defines the playback order of contents according to the program information of the playback program specified by the title, and has playback position information and designation information for clip information.
The clip information file is a file specified by the playlist file, and has reproduction position information of the clip AV stream file.
The clip AV stream file is a file storing AV stream data to be reproduced, and image data to be reproduced is recorded in accordance with the MPEG-2TS format.

なお、本実施例においては、クリップAVストリームファイル[xxxxx.m2ts]は、従来の一般的なクリップAVストリームファイル[xxxxx.m2ts]である。
先に説明した実施例1では、図14を参照して説明したように、MP4フォーマットにおいて規定される以下の各データが含まれる。
鍵情報埋め込みデータ(VMD:variant media data)の対応データ、
鍵情報埋め込みデータ(VMD)の復号用の鍵情報やVMDの位置情報等を記録したvmet対応データ。
本実施例2では、クリップAVストリームファイル[xxxxx.m2ts]は、これらのデータを含まない従来と同様のTSパケットによって構成される。
In this embodiment, the clip AV stream file [xxxx. m2ts] is a conventional general clip AV stream file [xxxx. m2ts].
In the first embodiment described above, as described with reference to FIG. 14, the following data defined in the MP4 format is included.
Data corresponding to key information embedded data (VMD: variant media data),
Vmet compatible data in which key information for decryption of key information embedded data (VMD), position information of VMD, and the like are recorded.
In the second embodiment, the clip AV stream file [xxxx. m2ts] is configured by a TS packet similar to the conventional one not including these data.

本実施例2におけるクリップAVストリームファイルの具体例を図27に示す。
本実施例2におけるクリップAVストリームファイルは、従来の一般的なBDMVディレクトリに設定されるクリップAVストリームファイルと同様の構成であり、メディアキーKm適用暗号化データ231と、非暗号化−鍵識別子格納パケット232を有する構成である。
A specific example of the clip AV stream file in the second embodiment is shown in FIG.
The clip AV stream file in the second embodiment has the same configuration as the clip AV stream file set in the conventional general BDMV directory, and stores the media key Km-applied encrypted data 231 and the non-encrypted-key identifier storage. In this configuration, the packet 232 is included.

メディアキーKm適用暗号化データ231は、図12に示すMP4ファイルのサンプルデータに対応する。
非暗号化−鍵識別子格納パケット232は、メディアキーKm適用暗号化データ231の復号に適用するメディアキーの識別子(Km−ID)と、メディアキーKm適用暗号化データ231の記録位置情報を格納したTSパケットによって構成される。
The media key Km applied encrypted data 231 corresponds to the sample data of the MP4 file shown in FIG.
The non-encrypted-key identifier storage packet 232 stores a media key identifier (Km-ID) applied to the decryption of the media key Km-applied encrypted data 231 and recording position information of the media key Km-applied encrypted data 231. It is composed of TS packets.

このように、本実施例においては、クリップAVストリームファイル[xxxxx.m2ts]は、従来の一般的なクリップAVストリームファイル[xxxxx.m2ts]と同様のデータ構成を持つ。   Thus, in this embodiment, the clip AV stream file [xxxx. m2ts] is a conventional general clip AV stream file [xxxx. m2ts].

図26に示すように、本実施例のメディア450には、
BDMVディレクトリ451の他に、
EXPORTディレクトリ452、
を有する。
As shown in FIG. 26, the media 450 of this embodiment includes
In addition to the BDMV directory 451,
EXPORT directory 452,
Have

EXPORTディレクトリ452は、MPEG−2TSフォーマットデータをMP4フォーマットデータに変換して他メディアに記録する場合に参照または必要とするデータを設定したディレクトリである。   The EXPORT directory 452 is a directory in which data that is referred to or required when MPEG-2TS format data is converted into MP4 format data and recorded on other media is set.

図26に示すように、EXPORTディレクトリ452には、以下のファイルが設定される。
(1)マニフェストファイル461、
(2)MP4ヘッダ情報ファイル462、
(3)vdatファイル463(=鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)
As shown in FIG. 26, the following files are set in the EXPORT directory 452.
(1) Manifest file 461,
(2) MP4 header information file 462,
(3) vdat file 463 (= key information embedded data (VMD) & metadata (vmet) storage file)

マニフェストファイル461は、メディア間のデータコピーを行う場合に参照するファイルである。
メディア間で、データコピーを行う場合、外部の管理サーバからのコピー許可情報の受信を条件としてコピーを許容するコピー管理システムがある。
マニフェストファイル461は、このコピー管理システムに従ったデータコピーを行う場合に利用されるコピー制御管理ファイル(MCMF:Managed Copy Manifest File)である。
The manifest file 461 is a file that is referred to when copying data between media.
When data is copied between media, there is a copy management system that permits copying on condition that copy permission information is received from an external management server.
The manifest file 461 is a copy control management file (MCMF: Managed Copy Manifest File) used when performing data copying according to this copy management system.

例えば、上記のコピー管理システムに従ったコピー処理として、情報処理装置が第1メディアに記録されたMPEG−2TSフォーマットデータをMP4フォーマットに変換して、第2メディアに記録するコピー処理を行なう場合、外部の管理サーバからのコピー許可情報を受信しなければならない。
このコピー管理システムに従った処理に際して、情報処理装置は、まず、第1メディアに記録されたマニフェストファイル(MCMF:Managed Copy Manifest File)461を読み取る。
For example, as a copy process according to the above copy management system, when the information processing apparatus performs a copy process of converting MPEG-2TS format data recorded on the first medium into the MP4 format and recording it on the second medium. Copy permission information from an external management server must be received.
In processing according to this copy management system, the information processing apparatus first reads a manifest file (MCMF: Managed Copy Manifest File) 461 recorded on the first medium.

マニフェストファイル(MCMF)461は、コピー元データを記録した第1メディアに記録されたコンテンツのコピー許可情報を提供する管理サーバのアクセス情報(URL)や、コピーを許容するデータ情報(dealManifest)としてプレイリストファイル名などが記録されている。マニフェストファイル(MCMF)461に記録されたプレイリストファイル名によって特定されるデータのみがコピー許容データとなる。   The manifest file (MCMF) 461 is played as access information (URL) of the management server that provides copy permission information of the content recorded on the first medium in which the copy source data is recorded, and data information (dealManifest) that allows copying. List file names are recorded. Only data specified by the playlist file name recorded in the manifest file (MCMF) 461 is copy-permitted data.

情報処理装置は、コピー元データを記録した第1メディアにマニフェストファイル(MCMF)461が記録されている場合、管理サーバからコピー許可情報を受信して、マニフェストファイル(MCMF)461に記録されたプレイリストファイル名によって特定されるデータを第1メディアから選択して第2メディアに記録する。   When the manifest file (MCMF) 461 is recorded on the first medium in which the copy source data is recorded, the information processing apparatus receives the copy permission information from the management server, and plays the recorded information in the manifest file (MCMF) 461. Data specified by the list file name is selected from the first medium and recorded on the second medium.

なお、マニフェストファイル461には、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、MP4ヘッダ情報ファイル462、およびvdatファイル463との対応データが記録されている。
すなわち、コピー対象として1つのプレイリストファイルを選択した場合、そのプレイリストファイルに対応付けられたデータのコピーに必要となるMP4ファイル固有のデータを格納したファイルの識別子を記録している。
The manifest file 461 records correspondence data between the playlist file, the MP4 header information file 462, and the vdat file 463, in addition to the identifier of the playlist file that is allowed to be copied.
That is, when one playlist file is selected as the copy target, the identifier of the file storing the data specific to the MP4 file necessary for copying the data associated with the playlist file is recorded.

具体的には、例えばMP4ファイルに設定されるmoovボックスや、moofボックス記録用のデータが記録されたMP4ヘッダ情報ファイル462、さらに、MP4ファイルに設定されるmdatボックス記録用のvdatファイル463(=鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)のファイル識別子を、プレイリストファイルに対応付けて記録している。   Specifically, for example, a moov box set in an MP4 file, an MP4 header information file 462 in which data for moof box recording is recorded, and a vdat file 463 for mdat box recording set in the MP4 file (= The file identifier of key information embedded data (VMD) & metadata (vmet) storage file) is recorded in association with the playlist file.

なお、図26に示すEXPORTディレクトリには、1つのMP4ヘッダ情報ファイル462と、1つのvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463のみを示しているが、これらのファイルは、EXPORTディレクトリ452に複数、設定可能である。
これらは、コピーの許容されるプレイリストファイルのいずれかに対応付けられている。
The EXPORT directory shown in FIG. 26 shows only one MP4 header information file 462 and one vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463. A plurality of files can be set in the EXPORT directory 452.
These are associated with any of the playlist files that are allowed to be copied.

コピー処理を実行する情報処理装置は、まず、コピー対象として、マニフェストファイル461に記録された1つのプレイリストファイルを選択する。
次に、選択したプレイリストファイルに対応付けられたMP4ヘッダ情報ファイルと、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)を、マニフェストファイルの記録情報に基づいて選択する。
The information processing apparatus that executes the copy process first selects one playlist file recorded in the manifest file 461 as a copy target.
Next, an MP4 header information file and a vdat file (key information embedded data (VMD) & metadata (vmet) storage file) associated with the selected playlist file are selected based on the record information of the manifest file. .

選択したMP4ヘッダ情報ファイル462には、MPEG−2TSからMP4フォーマット変換を伴うデータコピー処理に際して、MPEG−2TSフォーマットデータ、あるいはBDMVディレクトリに設定されたデータベースファイルから直接、得ることができない、あるいは取得困難なMP4固有のデータを記録している。
例えばMP4ファイルを構成するmoovボックスやmoofボックスに記録すべきデータを記録している。
The selected MP4 header information file 462 cannot be obtained directly from the MPEG-2TS format data or the database file set in the BDMV directory or difficult to obtain at the time of data copy processing involving conversion of MPEG-2TS to MP4 format. MP4 specific data is recorded.
For example, data to be recorded in a moov box or a moof box constituting an MP4 file is recorded.

MP4ヘッダ情報ファイル462は、MP4フォーマットにファイルに設定されるvlocボックス格納用データも格納している。
コピー処理を実行する情報処理装置は、MP4ヘッダ情報ファイル312に記録されたvlocボックス格納用データを取得して、変換処理によって生成したMP4ファイルのvlocボックスに取得データを記録することができる。
The MP4 header information file 462 also stores vloc box storage data set in the MP4 format file.
The information processing apparatus that executes the copy process can acquire the vloc box storage data recorded in the MP4 header information file 312 and record the acquired data in the vloc box of the MP4 file generated by the conversion process.

MP4フォーマットに従ったvlocボックス記録用データを図26に示すEXPORTディレクトリのMP4ヘッダ情報ファイル462に記録しておくことで、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーに際して、MP4フォーマットの規定に従ったvlocボックス格納用データを確実に取得することが可能となる。   The vloc box recording data in accordance with the MP4 format is recorded in the MP4 header information file 462 in the EXPPORT directory shown in FIG. 26, so that the MP4 format can be used for data copying involving conversion processing from the MPEG-2TS format to the MP4 format. Thus, it is possible to reliably acquire data for storing the vloc box in accordance with the above-mentioned regulations.

図26に示すvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463は、以下の各データを格納したファイルである。
(1)鍵情報埋め込みデータ(VMD:variant media data)、
(2)鍵情報埋め込みデータ(variant media data)の復号に適用する鍵の識別子と、鍵情報埋め込みデータ(variant media data)の記録位置情報を記録したメタデータ(vmet)、
これらの各データは、MP4ファイルにそのまま記録可能な暗号化データとして格納されている。
A vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463 shown in FIG. 26 is a file storing the following data.
(1) Key information embedded data (VMD: variant media data),
(2) metadata (vmet) that records an identifier of a key applied to decryption of key information embedded data (variant media data) and recording position information of the key information embedded data (variant media data);
Each of these data is stored as encrypted data that can be directly recorded in the MP4 file.

コピー処理を実行する情報処理装置は、コピー対象として、マニフェストファイル461に記録された1つのプレイリストファイルを選択し、選択したプレイリストファイルに対応付けられたvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)を、マニフェストファイルの記録情報に基づいて選択する。   The information processing apparatus that executes the copy process selects one playlist file recorded in the manifest file 461 as a copy target, and a vdat file (key information embedded data (VMD)) associated with the selected playlist file. & Metadata (vmet) storage file) is selected based on the record information of the manifest file.

情報処理装置は、選択したvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)に格納された鍵情報埋め込みデータ(VMD)と、メタデータ(vmet)を取り出してMP4ファイルのmdatボックスに記録する。
鍵情報埋め込みデータ(VMD)と、メタデータ(vmet)は暗号化データとしてvdatファイル463に格納されており、この暗号化データを復号することなく、暗号化データのままMP4ファイルに記録する。
The information processing apparatus extracts the key information embedded data (VMD) and the metadata (vmet) stored in the selected vdat file (key information embedded data (VMD) & metadata (vmet) storage file) and stores the MP4 file. Record in the mdat box.
The key information embedded data (VMD) and the metadata (vmet) are stored in the vdat file 463 as encrypted data, and the encrypted data is recorded in the MP4 file as it is without being decrypted.

図26に示すMPEG−2TSフォーマットデータを含むBDMVフォーマットデータを利用してMP4ファイルを生成する場合のフォーマット変換を伴うデータコピー処理におけるデータの流れについて、図28を参照して説明する。   With reference to FIG. 28, a data flow in a data copy process involving format conversion when an MP4 file is generated using BDMV format data including the MPEG-2TS format data shown in FIG. 26 will be described.

図28には、図26を参照して説明したMPEG−2TSフォーマットデータからなるクリップAVストリーム[xxxxx.m2ts]を含むメディア450の記録データと、MP4ファイルの記録先との対応関係を示している。   FIG. 28 shows a clip AV stream [xxxx.x consisting of MPEG-2TS format data described with reference to FIG. The correspondence relationship between the recording data of the medium 450 including m2ts] and the recording destination of the MP4 file is shown.

画像、音声等の再生対象データを含むクリップAVストリームファイルは、図28に示すクリップAVストリームファイル[01001.m2ts]464である。
クリップAVストリームファイル[01001.m2ts]464は、マニフェストファイル461に従ってコピー対象として選択したプレイリストファイルの再生対象データを含むクリップAVストリームファイルである。
A clip AV stream file including reproduction target data such as images and sounds is a clip AV stream file [01001. m2ts] 464.
Clip AV stream file [01001. m2ts] 464 is a clip AV stream file including reproduction target data of a playlist file selected as a copy target in accordance with the manifest file 461.

このクリップAVストリームファイル464は、図27を参照して説明したTSパケット列から構成される。
すなわち、従来からのBDMVディレクトリに設定されるクリップAVストリームファイルと同様、ペイロードとしてメディアキーKm適用暗号化データ231と、非暗号化−鍵識別子格納パケット232を有する構成である。
The clip AV stream file 464 includes the TS packet sequence described with reference to FIG.
That is, as with the conventional clip AV stream file set in the BDMV directory, the media key Km-applied encrypted data 231 and the unencrypted-key identifier storage packet 232 are included as the payload.

図28に示すように、このクリップAVストリームファイル464の格納データを、MP4ファイルのmdatボックスに設定されるsampleボックスに記録する。   As shown in FIG. 28, the data stored in the clip AV stream file 464 is recorded in the sample box set in the mdat box of the MP4 file.

さらに、マニフェストファイル461に従ってコピー対象として選択したプレイリストファイルの再生対象データを含むvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463をEXPORTディレクトリから選択する。
EXPORTディレクトリから選択したvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463の格納データを、MP4ファイルのmdatボックスに設定されるvmetボックスとVMD(variant media data)ボックスに記録する。
Further, a vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463 including reproduction target data of a playlist file selected as a copy target according to the manifest file 461 is selected from the EXPPORT directory.
The data stored in the vdata file (key information embedded data (VMD) & metadata (vmet) storage file) 463 selected from the EXPORT directory is stored in the vmet box and VMD (variant media data) box set in the mdat box of the MP4 file. Record.

vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463から取得したメタデータ(vmet)は、MP4ファイルのvmetボックスに記録する。
さらに、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463から取得した鍵情報埋め込みデータであるVMD(variant media data)をMP4ファイルのVMD(variant media data)ボックスに記録する。
The metadata (vmet) acquired from the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463 is recorded in the vmet box of the MP4 file.
Furthermore, VMD (variant media data), which is key information embedded data acquired from the vdata file (key information embedded data (VMD) & metadata (vmet) storage file) 463, is recorded in the VMD (variant media data) box of the MP4 file. To do.

これらのvmet、VMDボックスに対するデータコピー処理は、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463に記録された暗号化データを復号することなく、そのまま各ボックスに記録する処理として行われる。   The data copy processing for these vmet and VMD boxes is recorded in each box without decrypting the encrypted data recorded in the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463. It is performed as a process.

さらに、EXPORTディレクトリに設定されたMP4ヘッダ情報ファイル462に記録されたvlocデータをMP4ファイルのmoofボックス内のtrafボックスに設定されるvlocボックスに記録する。
EXPORTディレクトリに設定されたMP4ヘッダ情報ファイル462に記録されたvlocデータは、MP4フォーマットにおいて規定されるデータ構成に従ったデータであり、このままMP4ファイルのvlocボックスに記録すればよい。
Further, the vloc data recorded in the MP4 header information file 462 set in the EXPPORT directory is recorded in the vloc box set in the traf box in the moof box of the MP4 file.
The vloc data recorded in the MP4 header information file 462 set in the EXPPORT directory is data according to the data structure defined in the MP4 format, and may be recorded in the vloc box of the MP4 file as it is.

これらの処理によって、MP4フォーマットの規定に従った以下のデータの記録が完了する。
鍵情報埋め込みデータであるVMD(variant media data)データ、
VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
これらのデータ記録が確実に実行される。
With these processes, the following data recording according to the MP4 format rules is completed.
VMD (variant media data) data which is key information embedded data,
Vmet data recording key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box;
vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box;
These data recordings are performed reliably.

なお、フォーマット変換およびデータ記録処理を実行する装置は、これらのデータの他、各種のメタデータについて図26に示すディレクトリに設定されたデータを利用してMP4ファイルの各ボックスに記録する処理を実行する。   In addition to these data, the apparatus that executes the format conversion and data recording process executes a process of recording various metadata in each box of the MP4 file using data set in the directory shown in FIG. To do.

これらの処理によって、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーが完了する。
このデータコピー処理によって生成したMP4ファイルは、MP4フォーマットに従った以下の各データを有するファイルとなる。
鍵情報埋め込みデータであるVMD(variant media data)データ、
VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
With these processes, the data copy accompanied by the conversion process from the MPEG-2 TS format to the MP4 format is completed.
The MP4 file generated by this data copy processing is a file having the following data according to the MP4 format.
VMD (variant media data) data which is key information embedded data,
Vmet data recording key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box;
vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box;

従って、このコピー処理によって生成したMP4ファイルを利用した復号、再生データから、復号に適用した鍵を解析することが可能となる。
すなわち、先に図10、図11を参照して説明したように、復号結果データから、復号に適用した鍵を解析可能となり、例えば不正コピーが流通した場合、そのコピーデータからコピー元となったデータを生成(復号)した装置の追跡が可能となる。
Therefore, it is possible to analyze the key applied to the decryption from the decrypted / reproduced data using the MP4 file generated by the copy process.
That is, as described above with reference to FIGS. 10 and 11, the key applied to the decryption can be analyzed from the decryption result data. For example, when an illegal copy is distributed, the copy data becomes the copy source. It is possible to trace the device that has generated (decoded) data.

図29は、MPEG−2TSフォーマットデータからMP4フォーマットデータへの変換処理における各フォーマットデータの対応関係を説明する図であり、MP4ファイルのmdatボックスに記録するデータと、記録元となるデータとの対応関係を示している。   FIG. 29 is a diagram for explaining the correspondence between the format data in the conversion process from the MPEG-2 TS format data to the MP4 format data, and the correspondence between the data recorded in the mdat box of the MP4 file and the recording source data. Showing the relationship.

図29(4)は変換後のMP4ファイルである。再生対象データはmdatボックスに記録される。mdatボックスには、以下の各データが記録される。
(a)サンプル(sample)476
(b)メタデータ(vmet)477
(c)鍵情報埋め込みデータ(VMD:variant media data)478
なお、サンプル(sample)476には、鍵情報の埋め込まれていない従来からある通常の暗号化画像データが格納される。
FIG. 29 (4) shows the converted MP4 file. The reproduction target data is recorded in the mdat box. The following data is recorded in the mdat box.
(A) Sample 476
(B) Metadata (vmet) 477
(C) Key information embedded data (VMD: variant media data) 478
The sample 476 stores conventional normal encrypted image data in which key information is not embedded.

なお、図29(4)に示すMP4ファイルのmdatボックスのデータ配列は、先に図23(1)を参照して説明した前詰方式に従った例である。
この設定の他、図23(2)に示す後詰方式や、図23(3)に示すサンプル間記録方式等、様々な設定が可能である。
Note that the data array of the mdat box of the MP4 file shown in FIG. 29 (4) is an example according to the front-packing method described above with reference to FIG. 23 (1).
In addition to this setting, various settings such as the post-packing method shown in FIG. 23 (2) and the inter-sample recording method shown in FIG. 23 (3) are possible.

図29には、
(a)サンプル(sample)476
(b)メタデータ(vmet)477
(c)鍵情報埋め込みデータ(VMD:variant media data)478
これらの各データの供給元を示している。
(a)サンプル(sample)476は、MPEG−2TSファイルの構成パケットであるTSパケット471が供給元であり、PESレイヤに変換後のPESペイロード472から取得される。
(b)メタデータ(vmet)477は、vdatファイルが供給元であり、図に示すようにvdatファイルのvmetデータ473がMP4ファイルに記録される。
(c)鍵情報埋め込みデータ(VMD:variant media data)478も、vdatファイルが供給元であり、図に示すようにvdatファイルの鍵情報埋め込みデータ(VMD)474がMP4ファイルに記録される。
In FIG.
(A) Sample 476
(B) Metadata (vmet) 477
(C) Key information embedded data (VMD: variant media data) 478
The supply source of each of these data is shown.
(A) The sample 476 is obtained from the PES payload 472 converted into the PES layer, which is the source of the TS packet 471 that is a constituent packet of the MPEG-2 TS file.
(B) The metadata (vmet) 477 is supplied from the vdat file, and the vmet data 473 of the vdat file is recorded in the MP4 file as shown in the figure.
(C) The vdat file is also supplied from the key information embedded data (VMD: variant media data) 478, and the key information embedded data (VMD) 474 of the vdat file is recorded in the MP4 file as shown in the figure.

このように、MP4ファイルのmdatボックスには、上記の各データが記録される。
しかし、前述したように、MP4フォーマットにおけるメタデータ(vmet)の記録位置は、vlocボックスに記録されており、このvloc記録情報に対応した位置にメタデータ(vmet)を記録することが必要となる。
MPEG−2TSフォーマットからMP4フォーマットへの変換を実行して、MP4ファイルを生成する情報処理装置は、このメタデータ(vmet)の記録位置を算出することが必要となる。
As described above, each of the above data is recorded in the mdat box of the MP4 file.
However, as described above, the recording position of the metadata (vmet) in the MP4 format is recorded in the vloc box, and it is necessary to record the metadata (vmet) at a position corresponding to the vloc recording information. .
An information processing apparatus that performs conversion from the MPEG-2TS format to the MP4 format and generates an MP4 file needs to calculate the recording position of this metadata (vmet).

図26に示すEXPORTディレクトリに設定されるvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463には、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)が、連続的に複数、記録されている。   A vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463 set in the EXPPORT directory shown in FIG. 26 includes metadata (vmet) and key information embedded data (VMD: variant media data). ) Are continuously recorded.

MPEG−2TSからMP4フォーマットへの変換処理を実行する情報処理装置は、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)463から、1組のメタデータ(vmet)と鍵情報埋め込みデータ(VMD)を順次、取り出して、MP4ファイルの所定位置にコピーして記録する処理を行なう必要がある。
すなわち、情報処理装置は、vdatファイル463に連続的に記録された複数のvmet,VMDデータ列から1組の(vmet+VMD)データを正確に抽出してMP4ファイルの所定位置に記録する処理を行なうことが必要となる。
An information processing apparatus that performs conversion processing from the MPEG-2 TS to the MP4 format includes a set of metadata (vmet) and a key from a vdat file (key information embedded data (VMD) & metadata (vmet) storage file) 463. Information embedded data (VMD) needs to be sequentially extracted and copied and recorded at a predetermined position in the MP4 file.
That is, the information processing apparatus performs a process of accurately extracting a set of (vmet + VMD) data from a plurality of vmet and VMD data strings continuously recorded in the vdat file 463 and recording the data at a predetermined position in the MP4 file. Is required.

このデータ抽出を実行するための具体的な処理例について、図30を参照して説明する。
図30は、先に図22を参照して説明したMP4ファイルに記録されるtrunボックスの記録情報を用いて、vdatファイル463に連続的に記録されたデータから1つの(vmet+VMD)データを抽出してMP4ファイルの所定位置に記録する処理について説明する図である。
A specific processing example for executing this data extraction will be described with reference to FIG.
30 extracts one (vmet + VMD) data from the data continuously recorded in the vdat file 463 using the record information of the run box recorded in the MP4 file described above with reference to FIG. It is a figure explaining the process recorded on the predetermined position of MP4 file.

先に図22を参照して説明したように、MP4ファイルのメタデータ格納ボックスであるmoofボックスには、図22に示すように、再生データの格納ボックスであるmdatボックスに格納された画像や音声の所定時間単位の再生データ(サンプル(sample))毎の再生時間情報(sample_duration)や、サンプルサイズ情報(sample_size)を記録したtrunボックスが設定される。
なお、MP4ファイルに設定されるtrunボックスの記録データは、図26を参照して説明したディレクトリ構成におけるEXPORTディレクトリに設定されるMP4ヘッダ情報ファイル462に予め記録されている。
As described above with reference to FIG. 22, the moof box, which is an MP4 file metadata storage box, contains images and audio stored in an mdat box, which is a reproduction data storage box, as shown in FIG. A play box for recording reproduction time information (sample_duration) for each piece of reproduction data (sample (sample)) and sample size information (sample_size) is set.
Note that the record data of the trun box set in the MP4 file is recorded in advance in the MP4 header information file 462 set in the EXPORT directory in the directory structure described with reference to FIG.

図30に示すように、trunボックスには、各サンプルのバイトオフセット情報が記録される。
trunボックスに記録されるバイトオフセット情報は、trunボックスの記録されたmoofボックスに続いて記録されるmdatボックス先頭から、各サンプル記録位置までの距離を示す。
本実施例において、trunボックスに記録されるバイトオフセット情報には、
メタデータ(vmet)と鍵情報埋め込みデータ(VMD:variant media data)からなる各セットの記録位置までのオフセット情報も含まれる。
As shown in FIG. 30, byte offset information of each sample is recorded in the trun box.
The byte offset information recorded in the trun box indicates the distance from the head of the mdat box recorded following the moof box in which the trun box is recorded to each sample recording position.
In this embodiment, the byte offset information recorded in the trun box includes
Offset information up to the recording position of each set including metadata (vmet) and key information embedded data (VMD: variant media data) is also included.

図30を参照して、trunボックスに記録されるオフセット情報を用いた鍵情報埋め込みデータ(VMD:variant media data)とメタデータ(vmet)の記録位置決定処理例について説明する。
MPEG−2TSフォーマットデータからMP4フォーマットへの変換を実行して、MP4ファイルを生成する情報処理装置は、変換対象コンテンツであるMPEG−2TSフォーマットデータを記録したメディアに記録されたMP4ヘッダ情報ファイル462を取得し、MP4ヘッダ情報ファイル462内に記録されたtrunボックスを読み取る。
With reference to FIG. 30, an example of a recording position determination process for key information embedded data (VMD: variant media data) and metadata (vmet) using offset information recorded in the trun box will be described.
An information processing apparatus that performs conversion from MPEG-2TS format data to MP4 format and generates an MP4 file, stores an MP4 header information file 462 recorded on a medium on which MPEG-2TS format data, which is the content to be converted, is recorded. Acquire and read the trun box recorded in the MP4 header information file 462.

図30(A)には、trunボックスの記録データの例を示している。
trunボックスには、各サンプルのバイトオフセット情報が記録される。
FIG. 30A shows an example of recorded data in the trun box.
In the trun box, byte offset information of each sample is recorded.

本実施例では、サンプルには、鍵情報埋め込みデータ(VMD:variant media data)とメタデータ(vmet)のセットも含まれる。
すなわち、trunボックスには、例えば図30(C)に示すMP4ファイル中、trunボックスを格納したmoofボックス479の後続位置にあるmdatボックスに記録されるメタデータ(vmet)各々について、moofボックス479に続くmdatボックス先頭位置からのオフセット(離間距離)が記録されている。
具体的には、図30(C)に示すバイトオフセット(OFSa,OFSb・・・)これらのデータが記録されている。
In the present embodiment, the sample includes a set of key information embedded data (VMD: variant media data) and metadata (vmet).
That is, in the trun box, for example, in the MP4 file shown in FIG. 30C, each metadata (vmet) recorded in the mdat box at the subsequent position of the moof box 479 storing the trun box is stored in the moof box 479. The subsequent offset (separation distance) from the mdat box head position is recorded.
Specifically, byte offsets (OFSa, OFSb...) Shown in FIG. 30C are recorded.

MPEG−2TSフォーマットデータからMP4フォーマットへの変換を実行して、MP4ファイルを生成する情報処理装置は、このMP4ヘッダ情報ファイル462に記録されているtrunボックスから、バイトオフセット情報を、順次読み出す。情報処理装置は、読み出したオフセット情報に従って、vdatファイル463(=鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)からのデータ抽出領域を決定してデータ抽出を実行する。   An information processing apparatus that performs conversion from MPEG-2TS format data to MP4 format and generates an MP4 file sequentially reads byte offset information from the trun box recorded in the MP4 header information file 462. The information processing apparatus executes data extraction by determining a data extraction area from the vdat file 463 (= key information embedded data (VMD) & metadata (vmet) storage file) according to the read offset information.

図30(B)に示すvdatファイルからのデータ抽出例について説明する。
フォーマット変換を実行する情報処理装置は、例えば、図30(A)に示すtrunボックスに記録された1つのバイトオフセット情報(OFSa)をデータ抽出開始点とし、さらにtrunボックスに記録された次のバイトオフセット情報(OFSb)をデータ抽出終了点としてデータ抽出を実行する。
このデータ抽出処理によって、1つのメタデータ(vmet)と鍵情報埋め込みデータ(VMD)のセットを正確に選択抽出することが可能となる。
An example of data extraction from the vdat file shown in FIG. 30B will be described.
The information processing apparatus that executes format conversion uses, for example, one byte offset information (OFSa) recorded in the trun box shown in FIG. 30A as the data extraction start point, and further the next byte recorded in the trun box. Data extraction is executed using the offset information (OFSb) as a data extraction end point.
By this data extraction process, a set of one metadata (vmet) and key information embedded data (VMD) can be accurately selected and extracted.

フォーマット変換を実行する情報処理装置は、このようにしてvdatファイル463から抽出したデータをMP4ファイルのmdatボックスに記録する。記録処理に際しても、やはりtrunボックスに記録されたオフセット情報に従った記録位置に記録する。
なお、このtrunボックスに記録されるオフセット情報は、vlocボックスに規定されたvmet記録位置と一致する位置情報として記録されることになる。
The information processing apparatus that executes format conversion records the data extracted from the vdat file 463 in this way in the mdat box of the MP4 file. Also in the recording process, recording is performed at a recording position according to the offset information recorded in the trun box.
The offset information recorded in the trun box is recorded as position information that matches the vmet recording position defined in the vloc box.

フォーマット変換を実行する情報処理装置は、このようにtrunボックスのバイトオフセット情報を参照してvdatファイルからデータ抽出位置を決定することで、正確に1つのメタデータ(vmet)と鍵情報埋め込みデータ(VMD)のセットを抽出することが可能となる。   The information processing apparatus that executes format conversion refers to the byte offset information of the trun box in this way to determine the data extraction position from the vdat file, so that exactly one metadata (vmet) and key information embedded data ( VMD) set can be extracted.

なお、MP4ファイルには、メタデータ(vmet)と鍵情報埋め込みデータ(VMD)の他、鍵情報の埋め込まれていないサンプルデータが記録されるが、これらの各データの配置関係は、先に図23を参照して説明したように、以下の各設定がある。
(1)メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を、mdatボックス内に連続記録されたサンプルの前に記録した前詰方式。
(2)メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を、mdatボックス内に連続記録されたサンプルの後に記録した後詰方式。
(3)メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を、mdatボックス内に連続記録された鍵情報埋め込みのないサンプルの間に記録したサンプル間記録方式。
In addition to the metadata (vmet) and key information embedded data (VMD), sample data in which key information is not embedded is recorded in the MP4 file. As described with reference to FIG. 23, there are the following settings.
(1) A front-packing method in which metadata (vmet) and key information embedded data (VMD) are recorded before a sample continuously recorded in the mdat box.
(2) A post-packing method in which metadata (vmet) and key information embedded data (VMD) are recorded after a sample continuously recorded in the mdat box.
(3) A sample-to-sample recording method in which metadata (vmet) and key information embedded data (VMD) are recorded between samples without key information embedded continuously recorded in the mdat box.

メタデータ(vmet)と鍵情報埋め込みデータ(VMD)の記録位置は、これらの各方式によって異なる設定となり、trunボックスに記録するオフセット情報も各方式に対応したデータとすることが必要である。   The recording positions of the metadata (vmet) and the key information embedded data (VMD) are set differently depending on each of these methods, and the offset information recorded in the run box must be data corresponding to each method.

また、trunボックスは1つに限らず、複数のtrunボックスに分割してもよい。
例えば、鍵情報の埋め込みなしのサンプル記録位置を分割位置としてtrunボックスを分割する設定が可能である。
さらに、例えば1つまたは所定上限数までのメタデータ(vmet)および鍵情報埋め込みデータ(VMD)のセットに関するオフセット情報を1つのtrunボックスに記録し、上限数を超える次のメタデータ(vmet)および鍵情報埋め込みデータ(VMD)のセット以降に関するオフセット情報については第2のtrunボックスに記録するといった設定としてもよい。
Further, the number of trun boxes is not limited to one, and may be divided into a plurality of trun boxes.
For example, it is possible to divide the trun box using the sample recording position without embedding key information as a division position.
Further, for example, offset information regarding a set of metadata (vmet) and key information embedded data (VMD) up to one or a predetermined upper limit number is recorded in one trun box, and next metadata (vmet) exceeding the upper limit number and The offset information regarding the key information embedded data (VMD) and subsequent sets may be set to be recorded in the second trun box.

[7−2.外部装置から鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したvdatファイルを取得(ダウンロード)して、MP4ファイルに記録する処理例について]
次に、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を実行する装置が、外部装置、例えばコピー管理サーバから鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を格納したvdatファイルを取得(ダウンロード)して、MP4ファイルに記録する処理例について説明する。
[7-2. Example of processing for acquiring (downloading) a vdat file storing key information embedded data (VMD) and metadata (vmet) from an external device and recording it in an MP4 file]
Next, a device that executes conversion processing from the MPEG-2TS format to the MP4 format obtains (downloads) a vdat file storing key information embedded data (VMD) and metadata (vmet) from an external device, for example, a copy management server. An example of processing to be recorded in the MP4 file will be described.

図31は、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を実行する情報処理装置480の実行する処理を示す図である。   FIG. 31 is a diagram illustrating processing executed by the information processing device 480 that executes conversion processing from the MPEG-2TS format to the MP4 format.

情報処理装置480は、コピー元データとなるMPEG−2TSフォーマットデータを格納した第1メディア481と、フォーマット変換後のMP4フォーマットデータを記録するコピー先メディアである第2メディア482を装着し、フォーマット変換およびコピー処理を開始する。   The information processing apparatus 480 mounts a first medium 481 storing MPEG-2TS format data serving as copy source data and a second medium 482 serving as a copy destination medium for recording MP4 format data after format conversion, and converts the format. And start the copy process.

コピー元データとなるMPEG−2TSフォーマットデータを格納した第1メディア481に記録されたクリップAVストリームファイルは、従来のBDMVフォーマットデータと同様のTSパケット列から構成される。
すなわち、図27を参照して説明したように、ペイロードとしてメディアキーKm適用暗号化データ231と、非暗号化−鍵識別子格納パケット232を格納したTSパケットを有する。
A clip AV stream file recorded on the first medium 481 storing MPEG-2 TS format data serving as copy source data is composed of a TS packet sequence similar to conventional BDMV format data.
That is, as described with reference to FIG. 27, the media key Km-applied encrypted data 231 and the TS packet storing the non-encrypted-key identifier storage packet 232 are included as the payload.

情報処理装置480は、第1メディア481に記録されたクリップAVストリームファイルや、その他の再生制御情報ファイルやデータベースファイルを読み取り、MP4ファイルの各ボックスのデータとして第2メディア482に記録する。   The information processing device 480 reads the clip AV stream file recorded on the first medium 481, other reproduction control information files, and database files, and records them on the second medium 482 as data of each box of the MP4 file.

具体的には、MP4ファイルのmdatボックスに設定するsampleボックスにクリップAVストリームファイルからの読み取りデータを記録する。
さらにMP4ファイルのmoovボックス、moofボックスに、BDMVディレクトリに設定されたファイルやEXPORTディレクトリに設定されたファイルから必要な情報を取得して記録する。
Specifically, the read data from the clip AV stream file is recorded in the sample box set in the mdat box of the MP4 file.
Further, necessary information is acquired and recorded in the moov box and moof box of the MP4 file from the file set in the BDMV directory or the file set in the EXPPORT directory.

さらに、情報処理装置480は、外部装置、例えばコピー管理を実行するサーバ490に対して、コピー処理の実行対象となるデータのデータ識別子(例えばコンテンツIDやプレイリストID等)、あるいは第1メディアのメディア識別子等、コピーデータを特定可能な識別情報を送信する。   Furthermore, the information processing device 480 sends the data identifier (eg, content ID or playlist ID) of the data to be copied to the external device, eg, the server 490 that executes copy management, or the first medium. Identification information that can specify copy data such as a media identifier is transmitted.

サーバ480は、コピー対象データを確認した後、その確認データに対応するvlocデータと、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD)を情報処理装置480に送信する。
情報処理装置480は、サーバ490から受信したvlocデータをMP4ファイルのmoofボックス内のvlocボックスに記録する。
サーバ490の提供するvlocデータは、MP4フォーマットにおいて規定されるデータ構成に従ったデータであり、このままMP4ファイルのvlocボックスに記録すればよい。
After confirming the copy target data, the server 480 transmits vloc data, metadata (vmet), and key information embedded data (VMD) corresponding to the confirmation data to the information processing device 480.
The information processing device 480 records the vloc data received from the server 490 in the vloc box in the moof box of the MP4 file.
The vloc data provided by the server 490 is data according to the data structure defined in the MP4 format, and may be recorded in the vloc box of the MP4 file as it is.

さらに、情報処理装置480は、サーバ490から受信したメタデータ(vmet)と、鍵情報埋め込みデータ(VMD)をMP4ファイルのmdatボックスに記録する。
具体的には、MP4ファイルのmdatボックスに設定するvmetボックスとVMD(variant media data)ボックスに、これらの各データを記録する。
Furthermore, the information processing device 480 records the metadata (vmet) received from the server 490 and the key information embedded data (VMD) in the mdat box of the MP4 file.
Specifically, each of these data is recorded in a vmet box and a VMD (variant media data) box set in the mdat box of the MP4 file.

すなわち、先に図28を参照して説明したように、
vmet対応データを格納したTSパケットのペイロードをMP4ファイルのvmetボックスに記録する。さらに、
鍵情報埋め込みデータであるVMD(variant media data)の対応データを格納したTSパケットのペイロードをMP4ファイルのVMD(variant media data)ボックスに記録する。
That is, as described above with reference to FIG.
The payload of the TS packet storing the vmet compatible data is recorded in the vmet box of the MP4 file. further,
The payload of a TS packet storing corresponding data of VMD (variant media data) which is key information embedded data is recorded in a VMD (variant media data) box of the MP4 file.

これらのvmet、VMDの各データの記録(コピー)処理は、サーバから受信した暗号化データを復号することなく、そのまま各ボックスに記録すればよい。   The recording (copying) processing of each data of vmet and VMD may be recorded in each box as it is without decrypting the encrypted data received from the server.

これらの処理によって、第2メディア482には、以下の各ボックスに対してMP4フォーマットの規定に従った以下のデータを格納したMP4ファイルが記録されることになる。
VMDボックス=鍵情報埋め込みデータであるVMD(variant media data)データ、
vmetボックス=VMDボックスに記録されたデータの復号用の鍵情報(鍵識別子)とVMDボックスの位置情報を記録したvmetデータ、
vlocボックス=vmetボックスに記録されたデータの復号用の鍵(Kmet)の鍵識別子(Kmet−ID)と、vmetボックスの記録位置情報を含むvlocデータ、
第2メディア482には、上記のMP4フォーマット規定データを格納したボックスを持つMP4ファイルが記録されることになる。
Through these processes, the MP4 file storing the following data in accordance with the MP4 format specification is recorded in the second medium 482 for each of the following boxes.
VMD box = VMD (variant media data) data which is key information embedded data,
vmet box = vmet data in which key information (key identifier) for decrypting data recorded in the VMD box and position information of the VMD box are recorded;
vloc box = vloc data including a key identifier (Kmet-ID) of a key (Kmet) for decrypting data recorded in the vmet box, and recording position information of the vmet box,
On the second medium 482, an MP4 file having a box storing the MP4 format definition data is recorded.

これらの処理によって、MPEG−2TSフォーマットからMP4フォーマットへの変換処理を伴うデータコピーが完了する。
このデータコピー処理によって生成したMP4ファイルには、MP4フォーマットに従った鍵情報埋め込みデータ(VMD:variant media data)データ、vmetデータ、vlocデータ、これらのデータが記録される。
With these processes, the data copy accompanied by the conversion process from the MPEG-2 TS format to the MP4 format is completed.
In the MP4 file generated by this data copy process, key information embedded data (VMD: variant media data) data, vmet data, vloc data, and these data according to the MP4 format are recorded.

従って、先に図10、図11を参照して説明した復号結果データに基づいて、復号に適用した鍵を解析可能となり、例えば不正コピーが流通した場合、そのコピーデータからコピー元となったデータを生成(復号)した装置の追跡が可能となる。   Therefore, the key applied to the decryption can be analyzed based on the decryption result data described above with reference to FIGS. 10 and 11. For example, when an illegal copy is distributed, the data that is the copy source from the copy data Can be traced.

[8.情報処理装置の構成例について]
次に、本開示の一実施例に係る情報処理装置の構成と処理の概要について説明する。
図32は、本開示の一実施例に係る情報処理装置500の構成例を示すブロック図である。情報処理装置500は、例えばBD(Blu−ray(登録商標) Disc)等の情報記録媒体である第1メディア510に記録されたデータを読み出し、フラッシュメモリ等の情報記録媒体である第2メディア520に記録する、いわゆるコピー処理を行なう。
あるいは、通信部503を介して入力したデータをフラッシュメモリ等の第2メディア520に記録する処理を行なう。
[8. Configuration example of information processing apparatus]
Next, an outline of the configuration and processing of the information processing apparatus according to an embodiment of the present disclosure will be described.
FIG. 32 is a block diagram illustrating a configuration example of the information processing apparatus 500 according to an embodiment of the present disclosure. The information processing apparatus 500 reads out data recorded on the first medium 510 which is an information recording medium such as a BD (Blu-ray (registered trademark) Disc), for example, and the second medium 520 is an information recording medium such as a flash memory. So-called copy processing is performed.
Alternatively, a process of recording data input via the communication unit 503 on the second medium 520 such as a flash memory is performed.

なお、第1メディア510、あるいは通信部503を介して入力するデータのデータフォーマットを第1フォーマット、第2メディア520に対して記録するデータのフォーマットを第2フォーマットとする。   The data format of data input via the first medium 510 or the communication unit 503 is a first format, and the format of data recorded on the second medium 520 is a second format.

情報処理装置は、第1メディア510、あるいは通信部503を介して入力する第1フォーマットのデータをフラッシュメモリ等の第2メディア520に記録する際に、第1フォーマットデータを第2フォーマットデータに変換する処理を行なう。   The information processing apparatus converts the first format data into the second format data when recording the first format data input via the first medium 510 or the communication unit 503 in the second medium 520 such as a flash memory. The process to do is performed.

なお、例えば、第1メディア510、または通信部503から入力する第1フォーマットはMPEG−2TSフォーマット、第2メディアの記録フォーマットである第2フォーマットはMP4フォーマットである。
情報処理装置500は、第2メディア520に対するデータ記録処理に際して、MPEG−2TSフォーマットをMP4フォーマットに変換するフォーマット変換を実行する。
For example, the first format input from the first medium 510 or the communication unit 503 is the MPEG-2TS format, and the second format that is the recording format of the second medium is the MP4 format.
The information processing apparatus 500 executes format conversion for converting the MPEG-2 TS format into the MP4 format during the data recording process on the second medium 520.

情報処理装置500は、図32に示すように、制御部501、入力部502、通信部503、記憶部504、出力部505、第1メディアIF(インタフェース)506、データバッファ507、データ変換部508、第2メディアIF509を有する。   32, the information processing apparatus 500 includes a control unit 501, an input unit 502, a communication unit 503, a storage unit 504, an output unit 505, a first media IF (interface) 506, a data buffer 507, and a data conversion unit 508. And a second media IF 509.

制御部501は、メディアを利用したデータ記録再生、メディア間のデータコピー処理等、情報処理装置500において実行するデータ処理の制御を行う、これらの制御は、例えば記憶部504に格納されたプログラム従って行われる。   The control unit 501 performs control of data processing executed in the information processing apparatus 500 such as data recording / playback using media and data copy processing between media. These controls are performed according to a program stored in the storage unit 504, for example. Done.

入力部502は、ユーザの操作可能なスイッチ、ボタン、タッチパネル等の入力部であり、再生、コピー、記録等の様々な処理の指示入力などを行う入力部である。
また、入力部502は、メディアに記録する画像や音声等を入力する撮像部、マイクを持つ構成としてもよい。
通信部503は、例えば外部サーバ、あるいは外部機器との通信を行い、メディアに対する記録データや、記録データに関する制御情報、あるいはコピー処理の許可情報の取得など、各種の通信処理に利用される。
The input unit 502 is an input unit such as a switch, button, or touch panel that can be operated by the user, and is an input unit that inputs instructions for various processes such as reproduction, copying, and recording.
Further, the input unit 502 may have a configuration including an imaging unit that inputs an image or sound to be recorded on a medium, and a microphone.
The communication unit 503 communicates with, for example, an external server or an external device, and is used for various communication processes such as acquisition of recording data for media, control information related to recording data, or permission information for copy processing.

記憶部504は、制御部501の実行するプログラムや、プログラム実行に用いるパラメータ等の記憶領域、さらにプログラム実行時のワーク領域等に利用される。
具体的には、第2メディア520に対するデータ記録時に第1メディア510から読み出したデータ、あるいは通信部503を介して入力したデータを一時的に格納する領域としても利用される。
記憶部504は、例えばRAM、ROM、あるいはHDD等のメディアなどによって構成される。
出力部505は、メディアからの再生データの出力処理に用いられ、さらに第2メディア520に対するデータ記録処理の進行状況の表示、ユーザに対するメッセージ表示などに利用され、ディスプレイやスピーカ等によって構成される。
The storage unit 504 is used for a program executed by the control unit 501, a storage area for parameters used for program execution, and a work area for program execution.
Specifically, it is also used as an area for temporarily storing data read from the first medium 510 when data is recorded on the second medium 520 or data input via the communication unit 503.
The storage unit 504 is configured by a medium such as a RAM, a ROM, or an HDD, for example.
The output unit 505 is used for output processing of reproduction data from the medium, and further used for displaying the progress of data recording processing on the second medium 520 and displaying messages to the user, and is configured by a display, a speaker, and the like.

第1メディアインタフェース(IF)506は、例えばBD(Blu−ray(登録商標) Disc)等の第1メディア510に対するアクセスを行い、第1メディア510に対するデータ記録やデータ読み取りを行なうデータ記録再生部として機能するインタフェースである。   The first media interface (IF) 506 is a data recording / reproducing unit that accesses the first medium 510 such as a BD (Blu-ray (registered trademark) Disc) and performs data recording and data reading on the first medium 510. A functional interface.

データバッファ507は、第1メディア510からの読み出しデータや、通信部503から入力するデータを一時的に格納するバッファである。例えば第2メディア520に記録するデータを一時的に格納する。
データ変換部508は、第1メディア510の記録データ、あるいは通信部503を介して入力するデータのフォーマットである第1フォーマットのデータを、データ記録先である第2メディア520に記録する際のデータフォーマットである第2フォーマットに変換するフォーマット変換処理を実行する。
The data buffer 507 is a buffer that temporarily stores read data from the first medium 510 and data input from the communication unit 503. For example, data to be recorded on the second medium 520 is temporarily stored.
The data conversion unit 508 records data recorded in the first medium 510 or data in the first format, which is the format of data input via the communication unit 503, in the second medium 520 that is the data recording destination. A format conversion process for converting to a second format which is a format is executed.

第2メディアインタフェース(IF)509は、第2メディア520に対するアクセスを行い、第2メディア520に対するデータ記録あるいは読み取り処理を行なうデータ記録再生部として機能するインタフェースである。   The second media interface (IF) 509 is an interface that functions as a data recording / reproducing unit that accesses the second medium 520 and performs data recording or reading processing on the second medium 520.

このように、情報処理装置500は、第1メディア510、あるいは通信部503を介して入力する第1フォーマットのデータをフラッシュメモリ等の第2メディア520に記録する処理を行なう。この処理の際に、第1フォーマットデータを第2フォーマットデータに変換する処理を行なう。
なお、第1フォーマットとは、例えばMPEG−2TSフォーマットであり、第2フォーマットは、MP4フォーマットデータである。
As described above, the information processing apparatus 500 performs processing of recording data in the first format input via the first medium 510 or the communication unit 503 in the second medium 520 such as a flash memory. In this process, a process for converting the first format data into the second format data is performed.
The first format is, for example, the MPEG-2TS format, and the second format is MP4 format data.

なお、情報処理装置500は、第1メディア510から取得出来ないデータを外部のサーバから通信部503を介して取得し、第1メディア510からの読み取りデータと、通信部503を介して取得した受信データを併せて第2メディア520に記録する処理を行なってもよい。   Note that the information processing apparatus 500 acquires data that cannot be acquired from the first medium 510 from an external server via the communication unit 503, and receives the read data from the first medium 510 and the reception acquired via the communication unit 503. You may perform the process which records data on the 2nd medium 520 collectively.

また、図32に示す構成において、第1メディア510は、例えば、BD(Blu−ray(登録商標) Disc)である。第2メディア520は、例えばSDカード等のフラッシュメモリである。
なお、第1メディア510、第2メディア520は、上記の組み合わせに限らず、様々な組み合わせがせ可能である。
In the configuration shown in FIG. 32, the first medium 510 is, for example, a BD (Blu-ray (registered trademark) Disc). The second medium 520 is a flash memory such as an SD card, for example.
The first medium 510 and the second medium 520 are not limited to the above combinations, and various combinations are possible.

次に、図33を参照してデータ変換部508の詳細構成について説明する。
図33に示すように、データ変換部508は、データ解析部551、画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555、多重化処理実行部556を有する。
Next, the detailed configuration of the data conversion unit 508 will be described with reference to FIG.
As shown in FIG. 33, the data conversion unit 508 includes a data analysis unit 551, an image data conversion unit 552, an audio data conversion unit 553, a caption data conversion unit 554, a key information embedded data related information conversion unit 555, and a multiplexing process execution. Part 556.

データ解析部551は、データバッファ507に格納された第1メディア510からの読み出しデータ、または通信部503を介して入力するデータ(パケット)に設定された識別子(PID:プログラムID)に基づいて、各データ(パケット)を、
画像データ、
音声データ、
字幕データ、
鍵情報埋め込みデータ(VMD:variant media data)、
メタデータ(vmet)、
これら各種類のデータに分類する。
The data analysis unit 551 is based on the read data from the first medium 510 stored in the data buffer 507 or the identifier (PID: program ID) set in the data (packet) input via the communication unit 503. Each data (packet)
image data,
Audio data,
Subtitle data,
Key information embedded data (VMD: variant media data),
Metadata (vmet),
These are classified into each type of data.

データ解析部551は、画像データを画像データ変換部552に出力し、音声データを音声データ変換部553に出力し、字幕データを字幕データ変換部554に出力し、鍵情報埋め込みデータ(VMD:variant media data)と、メタデータ(vmet)とvlocデータを鍵情報埋め込みデータ関連情報変換部555に出力する。   The data analysis unit 551 outputs image data to the image data conversion unit 552, outputs audio data to the audio data conversion unit 553, outputs subtitle data to the subtitle data conversion unit 554, and stores key information embedded data (VMD: variant). media data), metadata (vmet), and vloc data are output to the key information embedded data-related information conversion unit 555.

画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555は、入力データのデータフォーマットである第1フォーマット、例えばMPEG−2TSフォーマットデータを、第2メディア520に記録する第2フォーマット、具体的には例えばMP4形式のフォーマットデータに変換する処理を実行する。   The image data conversion unit 552, the audio data conversion unit 553, the subtitle data conversion unit 554, and the key information embedded data related information conversion unit 555 convert the first format that is the data format of the input data, for example, MPEG-2TS format data into the second format. A process of converting to the second format to be recorded on the medium 520, specifically, for example, MP4 format data is executed.

すなわち、画像データ変換部552は、第2メディア520に対するデータ記録フォーマットであるMP4フォーマットの画像データを生成して多重化処理実行部556に出力する。
音声データ変換部553は、MP4フォーマットの音声データを生成して多重化処理実行部556に出力する。
字幕データ変換部554は、MP4フォーマットの字幕データを生成して多重化処理実行部556に出力する。
That is, the image data conversion unit 552 generates MP4 format image data, which is a data recording format for the second medium 520, and outputs the image data to the multiplexing processing execution unit 556.
The audio data conversion unit 553 generates MP4 format audio data and outputs it to the multiplexing process execution unit 556.
The caption data conversion unit 554 generates caption data in MP4 format and outputs it to the multiplexing process execution unit 556.

鍵情報埋め込みデータ関連情報変換部555は、MP4フォーマットの鍵情報埋め込みデータ(VMD)とメタデータ(vmet)、さらにvlocデータを生成または取得して多重化処理実行部556に出力する。
なお、鍵情報埋め込みデータ関連情報変換部555は、MPEG−2TSフォーマットデータ内のTSパケットに格納された鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を復号することなく、暗号化データのままMP4フォーマットデータとして設定する。
The key information embedded data related information conversion unit 555 generates or acquires MP4 format key information embedded data (VMD) and metadata (vmet), and vloc data, and outputs the generated data to the multiplexing processing execution unit 556.
The key information embedded data related information conversion unit 555 does not decrypt the key information embedded data (VMD) and the metadata (vmet) stored in the TS packet in the MPEG-2 TS format data, and remains the encrypted data. Set as MP4 format data.

多重化処理実行部556は、
(a)画像データ変換部552の生成した第2フォーマット(MP4)形式の画像データ、
(b)音声データ変換部553の生成した第2フォーマット(MP4)形式の音声データ、
(c)字幕データ変換部554の生成した第2フォーマット(MP4)形式の字幕データ、
(d)鍵情報埋め込みデータ関連情報変換部555の生成または取得した第2フォーマット(MP4)形式の鍵情報埋め込みデータ(VMD)とメタデータ(vmet)とvlocデータ、
(e)記憶部504に格納した例えば再生制御情報ファイルから抽出したデータ、
これらの各データの多重化処理を実行して、第2フォーマット(MP4)形式の記録データを生成する。
The multiplexing process execution unit 556
(A) second format (MP4) format image data generated by the image data conversion unit 552;
(B) audio data in the second format (MP4) format generated by the audio data converter 553;
(C) Subtitle data in the second format (MP4) generated by the subtitle data conversion unit 554,
(D) The key information embedded data (VMD), metadata (vmet), and vloc data in the second format (MP4) format generated or acquired by the key information embedded data related information conversion unit 555,
(E) data extracted from, for example, a reproduction control information file stored in the storage unit 504;
Multiplex processing of each of these data is executed to generate recording data in the second format (MP4) format.

多重化処理実行部556の生成データは、第2メディアインタフェース509を介して第2メディア520に記録される。   Data generated by the multiplexing process execution unit 556 is recorded on the second medium 520 via the second media interface 509.

このように、情報処理装置500は、第1メディア510の記録データ、あるいは通信部503を介して入力する第1ファーマット(BDMVフォーマット)のデータを、第2メディア520の記録フォーマットである第2フォーマット(MP4)に変換して、第2メディア520に記録する処理を実行する。   In this way, the information processing apparatus 500 uses the second medium 520 as the recording format of the second medium 520, using the recording data of the first medium 510 or the data of the first format (BDMV format) input via the communication unit 503. A process of converting to the format (MP4) and recording on the second medium 520 is executed.

次に、再生装置や情報生成装置、記録装置として適用可能な情報処理装置のハードウェア構成例について、図34を参照して説明する。   Next, a hardware configuration example of an information processing apparatus that can be applied as a reproduction apparatus, an information generation apparatus, and a recording apparatus will be described with reference to FIG.

CPU(Central Processing Unit)601は、ROM(Read Only Memory)602、または記憶部608に記憶されているプログラムに従って各種の処理を実行するデータ処理部として機能する。例えば、上述した実施例において説明したシーケンスに従った処理を実行する。RAM(Random Access Memory)603には、CPU601が実行するプログラムやデータなどが記憶される。これらのCPU601、ROM602、およびRAM603は、バス604により相互に接続されている。   A CPU (Central Processing Unit) 601 functions as a data processing unit that executes various processes in accordance with a program stored in a ROM (Read Only Memory) 602 or a storage unit 608. For example, processing according to the sequence described in the above-described embodiment is executed. A RAM (Random Access Memory) 603 stores programs executed by the CPU 601 and data. These CPU 601, ROM 602, and RAM 603 are connected to each other by a bus 604.

CPU601はバス604を介して入出力インタフェース605に接続され、入出力インタフェース605には、各種スイッチ、キーボード、マウス、マイクロホンなどよりなる入力部606、ディスプレイ、スピーカなどよりなる出力部607が接続されている。CPU601は、入力部606から入力される指令に対応して各種の処理を実行し、処理結果を例えば出力部607に出力する。   The CPU 601 is connected to an input / output interface 605 via a bus 604, and an input unit 606 including various switches, a keyboard, a mouse, and a microphone, and an output unit 607 including a display and a speaker are connected to the input / output interface 605. Yes. The CPU 601 executes various processes in response to commands input from the input unit 606 and outputs the processing results to the output unit 607, for example.

入出力インタフェース605に接続されている記憶部608は、例えばハードディスク等からなり、CPU601が実行するプログラムや各種のデータを記憶する。通信部609は、インターネットやローカルエリアネットワークなどのネットワークを介したデータ通信の送受信部、さらに放送波の送受信部として機能し、外部の装置と通信する。   The storage unit 608 connected to the input / output interface 605 includes, for example, a hard disk and stores programs executed by the CPU 601 and various data. The communication unit 609 functions as a data communication transmission / reception unit via a network such as the Internet or a local area network, and further as a broadcast wave transmission / reception unit, and communicates with an external device.

入出力インタフェース605に接続されているドライブ610は、磁気ディスク、光ディスク、光磁気ディスク、あるいはメモリカード等の半導体メモリなどのリムーバブルメディア611を駆動し、データの記録あるいは読み取りを実行する。   A drive 610 connected to the input / output interface 605 drives a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory such as a memory card, and executes data recording or reading.

なお、データの符号化あるいは復号は、データ処理部としてのCPU601の処理として実行可能であるが、符号化処理あるいは復号処理を実行するための専用ハードウェアとしてのコーデックを備えた構成としてもよい。   Data encoding or decoding can be executed as processing of the CPU 601 as a data processing unit, but a configuration including a codec as dedicated hardware for executing encoding processing or decoding processing may be adopted.

なお、例えば先に図14を参照して説明したTSパケット列を持つMPEG−2TSフォーマットに従ったデータの生成や記録処理を実行する情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化データとして格納したパケットと、
鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化データとして格納したパケットを、
MPEG−2TSを構成するTSパケットとして生成し、
さらに、メタデータ(vmet)復号用の鍵の格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する処理などを実行して、生成したデータをメディアに記録する。
For example, an information processing apparatus that executes data generation and recording processing according to the MPEG-2 TS format having the TS packet sequence described above with reference to FIG. 14 includes a data processing unit that generates MPEG-2 TS format data. Have
The data processor
A packet storing key information embedded data (VMD: variant media data) defined in the MP4 format as encrypted data;
A packet in which metadata (vmet) storing an identifier of a key applied to decryption of key information embedded data (VMD) is stored as encrypted data.
Generated as TS packets that make up MPEG-2TS,
Furthermore, the data generated by executing processing for generating an MP4 header information file storing vloc data, which is storage data of a vloc box defined in the MP4 format, as a storage box for a metadata (vmet) decryption key To the media.

具体的な処理としては、例えば、まず、各画像フレームの構成データについて、異なる鍵を適用して暗号化データを生成する。なお、同一領域に対して、複数の異なる鍵による暗号化データを生成してもよい。
例えば、
領域1=メディアキーKmで暗号化、
領域2=メディアキーKmとセグメントキーKsaで暗号化、
領域2=メディアキーKmとセグメントキーKsbで暗号化、
領域2=メディアキーKmとセグメントキーKscで暗号化、
領域3=メディアキーKmとセグメントキーKsbで暗号化、
領域3=メディアキーKmとセグメントキーKseで暗号化、
領域3=メディアキーKmとセグメントキーKsfで暗号化、
領域4=メディアキーKmとセグメントキーKsgで暗号化、
・・・
このように各領域について様々な鍵の組み合わせで暗号化したデータを生成する。
なお、いずれかのセグメントキーKsxを適用して暗号化する画像データには、復号に適用する鍵情報の識別子を含める。
As specific processing, for example, first, encrypted data is generated by applying different keys to the configuration data of each image frame. Note that encrypted data using a plurality of different keys may be generated for the same area.
For example,
Area 1 = encrypted with media key Km
Area 2 = encrypted with media key Km and segment key Ksa
Area 2 = encrypted with media key Km and segment key Ksb,
Area 2 = encrypted with media key Km and segment key Ksc,
Area 3 = encrypted with media key Km and segment key Ksb,
Area 3 = encrypted with media key Km and segment key Kse,
Area 3 = encrypted with media key Km and segment key Ksf,
Area 4 = encrypted with media key Km and segment key Ksg,
...
In this way, data encrypted with various key combinations is generated for each area.
Note that the identifier of the key information applied to decryption is included in the image data that is encrypted by applying any of the segment keys Ksx.

次に、各暗号化データをTSパケットに格納する。
いずれかのセグメントキーKsxを適用して暗号化したデータは、鍵情報埋め込みデータ(VMD:variant media data)としてパケットに格納し、パケットヘッダには鍵情報埋め込みデータ(VMD)格納パケットであることを示すパケット識別子をPIDとして設定する。
Next, each encrypted data is stored in a TS packet.
Data encrypted by applying any one of the segment keys Ksx is stored in a packet as key information embedded data (VMD: variant media data), and the packet header is a key information embedded data (VMD) storage packet. The indicated packet identifier is set as the PID.

さらに、鍵情報埋め込みデータ(VMD)格納パケットの前段にメタデータ(vmet)格納パケットを設定する。
メタデータ(vmet)格納パケットには、後続する鍵情報埋め込みデータ(VMD)格納パケットに格納された暗号化データの復号に適用する鍵の鍵識別子(Km−ID,Ksx−ID)と鍵情報埋め込みデータ(VMD)の記録位置情報を暗号化データとして格納する。暗号化処理に適用する鍵はVmetキーである。
パケットヘッダには、メタデータ(vmet)格納パケットであることを示すパケット識別子をPIDとして設定する。
Further, a metadata (vmet) storage packet is set before the key information embedded data (VMD) storage packet.
In the metadata (vmet) storage packet, the key identifier (Km-ID, Ksx-ID) and key information embedded in the decryption of the encrypted data stored in the subsequent key information embedded data (VMD) storage packet are embedded. The recording position information of data (VMD) is stored as encrypted data. The key applied to the encryption process is the Vmet key.
In the packet header, a packet identifier indicating a metadata (vmet) storage packet is set as a PID.

さらに、メタデータ(vmet)格納パケットの前段に、vmetキーの識別子を平文データとして格納したECM_PIDパケットを設定する。   Further, an ECM_PID packet storing the identifier of the vmet key as plain text data is set before the metadata (vmet) storage packet.

なお、メディアキーKmのみで暗号化したデータを格納したパケットの前段には、メディアキーの識別子(Km−ID)を非暗号化データ(平文)のまま格納した非暗号化−鍵識別子格納パケットを設定する。
このようにして図14に示す構成を有するMPEG−2TSフォーマットデータが生成される。
このデータをBD等のディスクに記録する。
Note that an unencrypted-key identifier storage packet in which a media key identifier (Km-ID) is stored as unencrypted data (plain text) is placed in a preceding stage of a packet storing data encrypted only with the media key Km. Set.
In this way, MPEG-2TS format data having the configuration shown in FIG. 14 is generated.
This data is recorded on a disc such as a BD.

なお、BD等のディスクには、さらに、図17を参照して説明したマニフェストファイル311、MP4ヘッダ情報ファイルを記録する。
マニフェストファイル311は、コピー管理処理を実行する管理サーバの提供するファイルであり、コピーの許容されるプレイリストファイルの識別子、各プレイリストファイルに対応付けられたMP4ヘッダ情報ファイルの識別子が記録されている。
MP4ヘッダ情報ファイル312は、MP4ファイルのvlocボックス記録用データを格納したファイルである。
In addition, the manifest file 311 and the MP4 header information file described with reference to FIG. 17 are further recorded on a disc such as a BD.
The manifest file 311 is a file provided by the management server that executes the copy management process, and records the identifier of the playlist file that is allowed to be copied and the identifier of the MP4 header information file that is associated with each playlist file. Yes.
The MP4 header information file 312 is a file storing vloc box recording data of an MP4 file.

また、先に図26他を参照して説明した実施例2に従って、vdatファイルを記録する設定の場合は、鍵情報埋め込みデータ(VMD)とメタデータ(vmet)を記録したvdatファイルを生成してEXPORTディレクトリに記録する。   Further, according to the second embodiment described above with reference to FIG. 26 and others, in the case of setting to record a vdat file, a vdat file in which key information embedded data (VMD) and metadata (vmet) are recorded is generated. Record in the EXPORT directory.

[9.情報処理装置の実行する処理のシーケンスについて]
次に、図32に示す情報処理装置、すなわち、例えば第1メディア510から読み出したMPEG−2TSフォーマットデータをMP4フォーマットデータに変換して、第2メディア520に記録する処理を実行する情報処理装置500の実行する処理シーケンスについて、図35以下のフローチャートを参照して説明する。
[9. Processing sequence executed by information processing apparatus]
Next, the information processing apparatus shown in FIG. 32, that is, the information processing apparatus 500 that executes processing for converting, for example, MPEG-2TS format data read from the first medium 510 into MP4 format data and recording it in the second medium 520 is performed. Will be described with reference to the flowchart shown in FIG.

図35に示すフローチャートは、図32に示す情報処理装置が、例えば第1メディア510から読み出したMPEG−2TSフォーマットデータをMP4フォーマットデータに変換して、第2メディア520に記録する処理の全体処理のシーケンスを説明するフローチャートである。   The flowchart shown in FIG. 35 shows the overall processing of the process in which the information processing apparatus shown in FIG. 32 converts, for example, MPEG-2TS format data read from the first medium 510 into MP4 format data and records it in the second medium 520. It is a flowchart explaining a sequence.

なお、図35に示すフローチャートは、情報処理装置の制御部501の制御の下に例えば記憶部504に格納されたプログラムに従ってデータ変換部508等において実行される。
フローに示す各ステップの処理について、順次、説明する。
Note that the flowchart shown in FIG. 35 is executed by the data conversion unit 508 or the like according to a program stored in the storage unit 504, for example, under the control of the control unit 501 of the information processing apparatus.
Processing of each step shown in the flow will be described sequentially.

(ステップS101)
まず、情報処理装置は、マニフェストファイルを参照してコピーの許容された変換対象のプレイリストファイルを取得する。
先に図17を参照して説明したように、マニフェストファイルは、メディア間のデータコピーを行う場合に参照するファイルである。メディア間で、データコピーを行う場合、外部の管理サーバからのコピー許可情報の受信を条件としてコピーを許容するコピー管理システムがある。マニフェストファイルは、このコピー管理システムに従ったデータコピーを行う場合に利用されるコピー制御管理ファイル(MCMF:Managed Copy Manifest File)である。
(Step S101)
First, the information processing apparatus refers to the manifest file and acquires a playlist file to be converted that is permitted to be copied.
As described above with reference to FIG. 17, the manifest file is a file that is referred to when data is copied between media. When data is copied between media, there is a copy management system that permits copying on condition that copy permission information is received from an external management server. The manifest file is a copy control management file (MCMF: Managed Copy Manifest File) used when performing data copying according to the copy management system.

マニフェストファイル(MCMF)は、コピー元データを記録した第1メディアに記録されたコンテンツのコピー許可情報を提供する管理サーバのアクセス情報(URL)や、コピーを許容するデータ情報(dealManifest)としてプレイリストファイル名などが記録されている。マニフェストファイル(MCMF)に記録されたプレイリストファイル名によって特定されるデータのみがコピー許容データとなる。   The manifest file (MCMF) is a playlist as access information (URL) of a management server that provides copy permission information of content recorded on the first medium in which copy source data is recorded, and data information (dealManifest) that allows copying. File names etc. are recorded. Only data specified by the playlist file name recorded in the manifest file (MCMF) is copy-permitted data.

なお、マニフェストファイルには、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、図17に示すMP4ヘッダ情報ファイルとの対応データが記録されている。
すなわち、コピー対象として1つのプレイリストファイルを選択した場合、そのプレイリストファイルに対応するデータのコピーにおいて必要となるMP4ファイル固有のデータ、例えばmoovボックス、moofボックス記録用のデータとして選択すべきMP4ヘッダ情報ファイルの識別子を記録している。
In the manifest file, in addition to the identifier of the playlist file that is allowed to be copied, correspondence data between the playlist file and the MP4 header information file shown in FIG. 17 is recorded.
That is, when one playlist file is selected as a copy target, MP4 file-specific data necessary for copying data corresponding to the playlist file, for example, MP4 to be selected as data for recording moov box or moof box The identifier of the header information file is recorded.

なお、先に図17を参照した説明では、マニフェストファイルは、MPEG−2TSフォーマットデータを記録したメディアに記録されているものとして説明したが、例えば外部サーバから取得する構成としてもよい。   In the above description with reference to FIG. 17, the manifest file has been described as being recorded on the medium on which the MPEG-2TS format data is recorded. However, the manifest file may be acquired from an external server, for example.

ステップS101において、情報処理装置は、MPEG−2TSフォーマットデータを記録したメディア、またはサーバから取得したマニフェストファイルを参照してコピー許容された変換対象のプレイリストファイルを決定し、メディアからプレイリストファイルを取得する。   In step S101, the information processing apparatus determines a playlist file to be converted that is permitted to be copied by referring to a medium on which MPEG-2TS format data is recorded or a manifest file acquired from a server, and the playlist file is determined from the medium. get.

(ステップS102)
次に、情報処理装置は、ステップS102において、マニフェストファイルを参照して変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)を検索する。図17に示すMP4ヘッダ情報ファイルである。
(Step S102)
Next, in step S102, the information processing apparatus searches for an MP4 header information file (a file including vloc-compatible data) associated with the playlist file to be converted with reference to the manifest file. It is the MP4 header information file shown in FIG.

(ステップS103)
ステップS102の検索処理において、変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)があるか否かを判定し、ある場合はステップS104に進み、無い場合はステップS105に進む。
(Step S103)
In the search process in step S102, it is determined whether there is an MP4 header information file (a file including vloc-compatible data) associated with the playlist file to be converted. If there is, the process proceeds to step S104. Proceed to step S105.

(ステップS104)
変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)がある場合、情報処理装置は、ステップS104において、変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)をメディアから読み取る。
(Step S104)
If there is an MP4 header information file (file containing vloc-compatible data) associated with the playlist file to be converted, the information processing apparatus, in step S104, determines the MP4 header information associated with the playlist file to be converted. Read a file (a file containing vloc compatible data) from the media.

(ステップS105)
次に、ステップS105において、変換対象として選択したプレイリストファイルによって指定されるクリップ情報ファイルと、そのクリップ情報ファイルに対応付けられたクリップAVストリームファイルを取得する。
(Step S105)
Next, in step S105, the clip information file specified by the playlist file selected as the conversion target and the clip AV stream file associated with the clip information file are acquired.

(ステップS106)
次に、ステップS106において、クリップAVストリームファイルに格納された画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データをデータの種類ごとに分離する。この処理は、図33に示すデータ変換部508のデータ解析部551の実行する処理である。
(Step S106)
Next, in step S106, the image, audio, subtitle, key information embedded data (VMD: variant media data), and metadata (vmet) data stored in the clip AV stream file are separated for each data type. This process is a process executed by the data analysis unit 551 of the data conversion unit 508 shown in FIG.

(ステップS107)
次に、ステップS107において、画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データのフォーマット変換を実行して、MP4ファイルのmdatボックス各々に格納するデータを生成する。
(Step S107)
Next, in step S107, format conversion of each data of image, audio, caption, key information embedded data (VMD: variant media data), and metadata (vmet) is performed and stored in each mdat box of the MP4 file. Generate data.

この処理は、図33に示すデータ変換部508の画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555の実行する処理である。
なお、鍵情報埋め込みデータ(VMD)およびメタデータ(vmet)は復号処理や再暗号化処理を行なうことなく暗号化データのままMPEG−2TSフォーマットデータから取り出してMP4フォーマットデータとして設定する。
This processing is executed by the image data conversion unit 552, the audio data conversion unit 553, the caption data conversion unit 554, and the key information embedded data related information conversion unit 555 of the data conversion unit 508 shown in FIG.
Note that the key information embedded data (VMD) and the metadata (vmet) are extracted from the MPEG-2TS format data as encrypted data without being decrypted or re-encrypted and set as MP4 format data.

(ステップS108)
次に、ステップS108において、プレイリストファイル、クリップ情報ファイル、MP4ヘッダ情報ファイルの内容を解析して、MP4ファイルのメタデータ記録ボックス(moov/moof)に格納するデータを生成する。
この処理は、図32に示す制御部501の下、図33に示すデータ変換部508の多重化処理実行部556において実行される処理である。
(Step S108)
Next, in step S108, the contents of the playlist file, clip information file, and MP4 header information file are analyzed to generate data to be stored in the metadata recording box (moov / moof) of the MP4 file.
This processing is executed by the multiplexing processing execution unit 556 of the data conversion unit 508 shown in FIG. 33 under the control unit 501 shown in FIG.

なお、このステップS108の処理においては、変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイルから取得したvloc対応データを、MP4ファイルのmoofボックスのtrafボックス内に設定されるvlocボックスに対する記録データとして設定する。
最後に、生成したMP4ファイルを第2メディアに記録して処理が完了する。
In the process of step S108, the vloc correspondence data acquired from the MP4 header information file associated with the playlist file to be converted is recorded in the vloc box set in the traf box of the moof box of the MP4 file. Set as data.
Finally, the generated MP4 file is recorded on the second medium, and the process is completed.

なお、ステップS107におけるMP4ファイルのmdatボックスに対する記録データの生成および記録処理に際しては、鍵情報埋め込みデータ(VMD:variant media dta)と、メタデータ(vmet)の記録位置について、例えば先に図24、図25を参照して説明したようにクリップ情報ファイルの指定情報を参照した処理を行なう。
この処理シーケンスについて、図36に示すフローチャートを参照して説明する。
Note that in the generation and recording processing of the recording data for the mdat box of the MP4 file in step S107, the recording positions of the key information embedded data (VMD: variant media dta) and the metadata (vmet) are shown in FIG. As described with reference to FIG. 25, the processing referring to the designation information of the clip information file is performed.
This processing sequence will be described with reference to the flowchart shown in FIG.

(ステップS201)
情報処理装置は、まず、ステップS201において、クリップ情報ファイルを参照して、以下の各情報を取得する。
(a)鍵情報埋め込みデータ(VMD:variant media data)有無情報(is_variant)、
(b)vmet,VMD設定情報(variant_type)、
図24を参照して説明したクリップ情報ファイルを参照して、これらの各情報を取得する。
これらの情報には、例えば図25に示すビット値設定に従った情報が含まれる。
(Step S201)
First, in step S201, the information processing apparatus refers to the clip information file and acquires the following information.
(A) Key information embedded data (VMD: variant media data) presence / absence information (is_variant),
(B) vmet, VMD setting information (variant_type),
Each piece of information is acquired with reference to the clip information file described with reference to FIG.
These pieces of information include, for example, information according to the bit value setting shown in FIG.

(ステップS202)
次に、情報処理装置は、ステップS202において、クリップ情報ファイルに記録された、
(a)鍵情報埋め込みデータ(VMD:variant media data)有無情報(is_variant)、
(b)vmet,VMD設定情報(variant_type)、
これらの各情報に基づいて、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)の記録位置を決定する。
(Step S202)
Next, the information processing apparatus records the clip information file in step S202.
(A) Key information embedded data (VMD: variant media data) presence / absence information (is_variant),
(B) vmet, VMD setting information (variant_type),
Based on these pieces of information, the recording positions of metadata (vmet) and key information embedded data (VMD: variant media data) are determined.

すなわち、コピー元のMPEG−2TSフォーマットデータであるクリップAVストリームファイルから取得されるメタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)について、MP4ファイルのmdatボックス内の記録位置を決定して記録する。   That is, for the metadata (vmet) acquired from the clip AV stream file which is the MPEG-2TS format data of the copy source and the key information embedded data (VMD: variant media data), the recording position in the mdat box of the MP4 file is set. Determine and record.

具体的には、クリップAVストリームファイルからの取得データから生成するサンプル(sample)との相対位置を決定して記録する処理を行なう。
すなわち、図23に示す以下の各方式、
(1)前詰方式
(2)後詰方式
(3)サンプル間記録方式
クリップ情報ファイルに指定された上記のいずれか1つの方式に従って、メタデータ(vmet)と、鍵情報埋め込みデータ(VMD:variant media data)をMP4ファイルのmdatボックスに記録する。
Specifically, a process of determining and recording a relative position with a sample generated from acquired data from a clip AV stream file is performed.
That is, the following methods shown in FIG.
(1) Pre-packing method (2) Back-packing method (3) Inter-sample recording method According to any one of the methods specified in the clip information file, metadata (vmet) and key information embedded data (VMD: variant media) data) is recorded in the mdat box of the MP4 file.

図35を参照して説明したフローでは、MP4ファイルのvlocボックスに記録するvloc対応データをMPEG−2TSフォーマットデータを記録したメディアに記録されたMP4ヘッダ情報ファイルから取得する処理を説明した。   In the flow described with reference to FIG. 35, the process of acquiring the vloc compatible data to be recorded in the vloc box of the MP4 file from the MP4 header information file recorded on the medium on which the MPEG-2TS format data is recorded has been described.

前述したように、MP4ファイルのvlocボックスに記録するvloc対応データは、図19を参照して説明したように、外部のサーバから取得する構成も可能であり、また、図20以下を参照して説明したように、フォーマット変換およびコピー処理を実行する情報処理装置において生成する構成としてもよい。
これらの各処理を行なう場合のシーケンスについて、図37、図38に示すフローチャートを参照して説明する。
なお、図37、図38に示すフローチャートも、図35に示すフローチャートと同様、図32に示す情報処理装置の制御部501の制御の下に例えば記憶部504に格納されたプログラムに従ってデータ変換部508等において実行される。
As described above, the vloc compatible data recorded in the vloc box of the MP4 file can be obtained from an external server as described with reference to FIG. As described above, the information may be generated in an information processing apparatus that performs format conversion and copy processing.
A sequence in the case of performing each of these processes will be described with reference to flowcharts shown in FIGS.
37 and 38 are similar to the flowchart shown in FIG. 35, for example, according to a program stored in the storage unit 504 under the control of the control unit 501 of the information processing apparatus shown in FIG. And so on.

まず、図37に示すフローチャートを参照して、MP4ファイルのvlocボックスに記録するvloc対応データを外部のサーバから取得する場合の処理シーケンスについて説明する。フローに示す各ステップの処理について、順次、説明する。   First, with reference to the flowchart shown in FIG. 37, the processing sequence in the case of acquiring the vloc corresponding data recorded in the vloc box of the MP4 file from an external server will be described. Processing of each step shown in the flow will be described sequentially.

(ステップS301)
まず、情報処理装置は、マニフェストファイルを参照してコピーの許容された変換対象のプレイリストファイルを取得する。
先に図17を参照して説明したように、マニフェストファイルは、メディア間のデータコピーを行う場合に参照するファイルであり、コピー許可情報を提供する管理サーバのアクセス情報(URL)や、コピーを許容するデータ情報(dealManifest)としてプレイリストファイル名などが記録されている。
(Step S301)
First, the information processing apparatus refers to the manifest file and acquires a playlist file to be converted that is permitted to be copied.
As described above with reference to FIG. 17, the manifest file is a file that is referred to when data is copied between media, and the access information (URL) of the management server that provides the copy permission information and the copy. A playlist file name and the like are recorded as permissible data information (dealManifest).

マニフェストファイルには、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、図17に示すMP4ヘッダ情報ファイルとの対応データが記録されている。
さらに、本例では、このマニフェストファイルに、MP4ファイルのvlocボックス記録用データ(vlocデータ)の取得用URLが記録されているものとする。
In the manifest file, correspondence data between the playlist file and the MP4 header information file shown in FIG. 17 is recorded in addition to the identifier of the playlist file permitted to be copied.
Furthermore, in this example, it is assumed that the URL for obtaining the vloc box recording data (vloc data) of the MP4 file is recorded in the manifest file.

(ステップS302)
情報処理装置は、ステップS302において、マニフェストファイルから、変換対象のプレイリストファイルに対応するvlocデータの取得用アクセス情報(URL)を取得する。
(Step S302)
In step S302, the information processing apparatus acquires access information (URL) for acquiring vloc data corresponding to the playlist file to be converted from the manifest file.

(ステップS303)
次に、ステップS303において、ステップS202で取得したアクセス情報(URL)を適用して、変換対象のプレイリストファイルに対応づけられたvlocをダウンロードする。
(Step S303)
Next, in step S303, the vloc associated with the playlist file to be converted is downloaded by applying the access information (URL) acquired in step S202.

(ステップS304)
次に、ステップS304において、変換対象として選択したプレイリストファイルによって指定されるクリップ情報ファイルと、そのクリップ情報ファイルに対応付けられたクリップAVストリームファイルを取得する。
(Step S304)
Next, in step S304, the clip information file specified by the playlist file selected as the conversion target and the clip AV stream file associated with the clip information file are acquired.

(ステップS305)
次に、ステップS305において、クリップAVストリームファイルに格納された画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データをデータの種類ごとに分離する。この処理は、図33に示すデータ変換部508のデータ解析部551の実行する処理である。
(Step S305)
Next, in step S305, the image, audio, subtitle, key information embedded data (VMD: variant media data), and metadata (vmet) data stored in the clip AV stream file are separated for each data type. This process is a process executed by the data analysis unit 551 of the data conversion unit 508 shown in FIG.

(ステップS306)
次に、ステップS306において、画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データのフォーマット変換を実行して、MP4ファイルのmdatボックス各々に格納するデータを生成する。
(Step S306)
Next, in step S306, format conversion of each data of image, audio, caption, key information embedded data (VMD: variant media data), and metadata (vmet) is performed and stored in each mdat box of the MP4 file. Generate data.

この処理は、図33に示すデータ変換部508の画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555の実行する処理である。
なお、鍵情報埋め込みデータ(VMD)およびメタデータ(vmet)は復号処理や再暗号化処理を行なうことなく暗号化データのままMPEG−2TSフォーマットデータから取り出してMP4フォーマットデータとして設定する。
This processing is executed by the image data conversion unit 552, the audio data conversion unit 553, the caption data conversion unit 554, and the key information embedded data related information conversion unit 555 of the data conversion unit 508 shown in FIG.
Note that the key information embedded data (VMD) and the metadata (vmet) are extracted from the MPEG-2TS format data as encrypted data without being decrypted or re-encrypted and set as MP4 format data.

(ステップS307)
次に、ステップS307において、プレイリストファイル、クリップ情報ファイルの内容を解析して、MP4ファイルのメタデータ記録ボックス(moov/moof)に格納するデータを生成する。
この処理は、図32に示す制御部501の下、図33に示すデータ変換部508の多重化処理実行部556において実行される処理である。
(Step S307)
Next, in step S307, the contents of the playlist file and the clip information file are analyzed, and data to be stored in the metadata recording box (moov / moof) of the MP4 file is generated.
This processing is executed by the multiplexing processing execution unit 556 of the data conversion unit 508 shown in FIG. 33 under the control unit 501 shown in FIG.

なお、このステップS307の処理においては、サーバから取得したvloc対応データを、MP4ファイルのmoofボックスのtrafボックス内に設定されるvlocボックスに対する記録データとして設定する。
最後に、生成したMP4ファイルを第2メディアに記録して処理が完了する。
In the process of step S307, the vloc corresponding data acquired from the server is set as recording data for the vloc box set in the trof box of the moof box of the MP4 file.
Finally, the generated MP4 file is recorded on the second medium, and the process is completed.

次に、図38に示すフローチャートを参照して、図20を参照して説明したようにフォーマット変換およびコピー処理を実行する情報処理装置がMP4ファイルのvlocボックス格納データを生成する場合の処理シーケンスについて説明する。
フローに示す各ステップの処理について、順次、説明する。
Next, with reference to the flowchart shown in FIG. 38, the processing sequence in the case where the information processing apparatus that executes the format conversion and copy processing generates the vloc box storage data of the MP4 file as described with reference to FIG. explain.
Processing of each step shown in the flow will be described sequentially.

(ステップS401)
まず、情報処理装置は、マニフェストファイルを参照してコピーの許容された変換対象のプレイリストファイルを取得する。
先に図17を参照して説明したように、マニフェストファイルは、メディア間のデータコピーを行う場合に参照するファイルであり、コピー許可情報を提供する管理サーバのアクセス情報(URL)や、コピーを許容するデータ情報(dealManifest)としてプレイリストファイル名などが記録されている。
(Step S401)
First, the information processing apparatus refers to the manifest file and acquires a playlist file to be converted that is permitted to be copied.
As described above with reference to FIG. 17, the manifest file is a file that is referred to when data is copied between media, and the access information (URL) of the management server that provides the copy permission information and the copy. A playlist file name and the like are recorded as permissible data information (dealManifest).

マニフェストファイルには、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、図17に示すMP4ヘッダ情報ファイルとの対応データが記録されている。   In the manifest file, correspondence data between the playlist file and the MP4 header information file shown in FIG. 17 is recorded in addition to the identifier of the playlist file permitted to be copied.

(ステップS402)
次に、情報処理装置は、ステップS402において、マニフェストファイルからコピー処理対象として選択したプレイリストファイルに対応付けられたクリップAVストリームファイルからvlocボックス記録情報格納パケット(PID=ECM_PID設定パケット)を取得する。
これは、図21(1)に示すデータをペイロードとして有するパケットである。
(Step S402)
Next, in step S402, the information processing apparatus acquires a vloc box recording information storage packet (PID = ECM_PID setting packet) from the clip AV stream file associated with the playlist file selected as the copy process target from the manifest file. .
This is a packet having the data shown in FIG.

(ステップS403)
次に、情報処理装置は、ステップS403において、MPEG−2TSのvlocボックス記録情報格納パケット(PID=ECM_PID設定パケット)からMP4ファイルのvlocボックス記録用情報を取得する。
具体的には、先に図21を参照して説明したように、
初期化ベクトル(IV)サイズ(iv_size)、
キーID(key_id)、
初期化ベクトルデータ(initialization_vector)、
これらのデータを取得する。
(Step S403)
Next, in step S403, the information processing apparatus acquires the vloc box recording information of the MP4 file from the MPEG-2TS vloc box recording information storage packet (PID = ECM_PID setting packet).
Specifically, as described above with reference to FIG.
Initialization vector (IV) size (iv_size),
Key ID (key_id),
Initialization vector data (initialization_vector),
Get these data.

(ステップS404)
次に、ステップS404において、ステップS403でvlocボックス記録情報格納パケット(PID=ECM_PID設定パケット)から取得した情報に基づいてMP4ファイルのvlocボックス記録用データを生成する。
(Step S404)
Next, in step S404, vloc box recording data of the MP4 file is generated based on the information acquired from the vloc box recording information storage packet (PID = ECM_PID setting packet) in step S403.

(ステップS405)
次に、ステップS405において、変換対象として選択したプレイリストファイルによって指定されるクリップ情報ファイルと、そのクリップ情報ファイルに対応付けられたクリップAVストリームファイルを取得する。
(Step S405)
Next, in step S405, the clip information file specified by the playlist file selected as the conversion target and the clip AV stream file associated with the clip information file are acquired.

(ステップS406)
次に、ステップS406において、クリップAVストリームファイルに格納された画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データをデータの種類ごとに分離する。この処理は、図33に示すデータ変換部508のデータ解析部551の実行する処理である。
(Step S406)
Next, in step S406, the image, audio, subtitle, key information embedded data (VMD: variant media data), and metadata (vmet) data stored in the clip AV stream file are separated for each data type. This process is a process executed by the data analysis unit 551 of the data conversion unit 508 shown in FIG.

(ステップS407)
次に、ステップS407において、画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データのフォーマット変換を実行して、MP4ファイルのmdatボックス各々に格納するデータを生成する。
(Step S407)
Next, in step S407, the format conversion of each data of image, sound, caption, key information embedded data (VMD: variant media data), and metadata (vmet) is performed and stored in each mdat box of the MP4 file. Generate data.

この処理は、図33に示すデータ変換部508の画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555の実行する処理である。
なお、鍵情報埋め込みデータ(VMD)およびメタデータ(vmet)は復号処理や再暗号化処理を行なうことなく暗号化データのままMPEG−2TSフォーマットデータから取り出してMP4フォーマットデータとして設定する。
This processing is executed by the image data conversion unit 552, the audio data conversion unit 553, the caption data conversion unit 554, and the key information embedded data related information conversion unit 555 of the data conversion unit 508 shown in FIG.
Note that the key information embedded data (VMD) and the metadata (vmet) are extracted from the MPEG-2TS format data as encrypted data without being decrypted or re-encrypted and set as MP4 format data.

(ステップS408)
次に、ステップS408において、プレイリストファイル、クリップ情報ファイルの内容を解析して、MP4ファイルのメタデータ記録ボックス(moov/moof)に格納するデータを生成する。
この処理は、図32に示す制御部501の下、図33に示すデータ変換部508の多重化処理実行部556において実行される処理である。
(Step S408)
Next, in step S408, the contents of the playlist file and clip information file are analyzed, and data to be stored in the metadata recording box (moov / moof) of the MP4 file is generated.
This processing is executed by the multiplexing processing execution unit 556 of the data conversion unit 508 shown in FIG. 33 under the control unit 501 shown in FIG.

なお、このステップS408の処理においては、ステップS403〜404において生成したvlocボックス格納用データを、MP4ファイルのmoofボックスのtrafボックス内に設定されるvlocボックスに対する記録データとして設定する。
最後に、生成したMP4ファイルを第2メディアに記録して処理が完了する。
In the process of step S408, the vloc box storage data generated in steps S403 to 404 is set as recording data for the vloc box set in the trof box of the moof box of the MP4 file.
Finally, the generated MP4 file is recorded on the second medium, and the process is completed.

次に、図26〜図31を参照して説明した実施例2に対応する処理シーケンスについて図39、図40に示すフローチャートを参照して説明する。
図39に示すフローチャートは、図26〜図30を参照して説明した構成、すなわちvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)をメディア内に記録した構成を適用した場合の処理シーケンスである。
図40に示すフローチャートは、図31を参照して説明した処理、すなわちvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)をサーバから取得する場合の処理シーケンスである。
Next, a processing sequence corresponding to the second embodiment described with reference to FIGS. 26 to 31 will be described with reference to flowcharts shown in FIGS.
The flowchart shown in FIG. 39 applies the configuration described with reference to FIGS. 26 to 30, that is, the configuration in which the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) is recorded in the medium. Is a processing sequence.
The flowchart shown in FIG. 40 is a processing sequence when the processing described with reference to FIG. 31, that is, a vdat file (key information embedded data (VMD) & metadata (vmet) storage file) is acquired from the server.

まず、図39に示すフローチャートを参照してvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)をメディアから取得する場合の処理シーケンスについて説明する。   First, a processing sequence for obtaining a vdat file (key information embedded data (VMD) & metadata (vmet) storage file) from a medium will be described with reference to a flowchart shown in FIG.

なお、図39に示すフローチャートは、情報処理装置の制御部501の制御の下に例えば記憶部504に格納されたプログラムに従ってデータ変換部508等において実行される。
フローに示す各ステップの処理について、順次、説明する。
The flowchart shown in FIG. 39 is executed in the data conversion unit 508 and the like according to a program stored in the storage unit 504, for example, under the control of the control unit 501 of the information processing apparatus.
Processing of each step shown in the flow will be described sequentially.

(ステップS501)
まず、情報処理装置は、マニフェストファイルを参照してコピーの許容された変換対象のプレイリストファイルを取得する。
先に説明したように、マニフェストファイルは、メディア間のデータコピーを行う場合に参照するファイルである。メディア間で、データコピーを行う場合、外部の管理サーバからのコピー許可情報の受信を条件としてコピーを許容するコピー管理システムがある。マニフェストファイルは、このコピー管理システムに従ったデータコピーを行う場合に利用されるコピー制御管理ファイル(MCMF:Managed Copy Manifest File)である。
(Step S501)
First, the information processing apparatus refers to the manifest file and acquires a playlist file to be converted that is permitted to be copied.
As described above, the manifest file is a file that is referred to when data is copied between media. When data is copied between media, there is a copy management system that permits copying on condition that copy permission information is received from an external management server. The manifest file is a copy control management file (MCMF: Managed Copy Manifest File) used when performing data copying according to the copy management system.

マニフェストファイル(MCMF)は、コピー元データを記録した第1メディアに記録されたコンテンツのコピー許可情報を提供する管理サーバのアクセス情報(URL)や、コピーを許容するデータ情報(dealManifest)としてプレイリストファイル名などが記録されている。マニフェストファイル(MCMF)に記録されたプレイリストファイル名によって特定されるデータのみがコピー許容データとなる。   The manifest file (MCMF) is a playlist as access information (URL) of a management server that provides copy permission information of content recorded on the first medium in which copy source data is recorded, and data information (dealManifest) that allows copying. File names etc. are recorded. Only data specified by the playlist file name recorded in the manifest file (MCMF) is copy-permitted data.

なお、マニフェストファイルには、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、図26に示すMP4ヘッダ情報ファイル、およびvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)との対応データが記録されている。
すなわち、コピー対象として1つのプレイリストファイルを選択した場合、そのプレイリストファイルに対応するデータのコピーにおいて必要となるMP4ファイル固有のデータ、例えばmoovボックス、moofボックス記録用のデータとして選択すべきMP4ヘッダ情報ファイルの識別子と、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)の識別子を記録している。
In addition to the playlist file identifier that is allowed to be copied, the manifest file includes the playlist file, the MP4 header information file shown in FIG. 26, and the vdat file (key information embedded data (VMD) & metadata (vmet). Corresponding data with () storage file) is recorded.
That is, when one playlist file is selected as a copy target, MP4 file-specific data necessary for copying data corresponding to the playlist file, for example, MP4 to be selected as data for recording moov box or moof box The identifier of the header information file and the identifier of the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) are recorded.

なお、マニフェストファイルは、MPEG−2TSフォーマットデータを記録したメディアに記録されているものとして説明したが、例えば外部サーバから取得する構成としてもよい。
ステップS501において、情報処理装置は、MPEG−2TSフォーマットデータを記録したメディア、またはサーバから取得したマニフェストファイルを参照してコピー許容された変換対象のプレイリストファイルを決定し、メディアからプレイリストファイルを取得する。
Although the manifest file has been described as being recorded on a medium on which MPEG-2 TS format data is recorded, the manifest file may be acquired from an external server, for example.
In step S501, the information processing apparatus determines a playlist file to be converted that is permitted to be copied by referring to a medium in which MPEG-2TS format data is recorded or a manifest file acquired from a server, and the playlist file is determined from the medium. get.

(ステップS502)
次に、情報処理装置は、ステップS502において、マニフェストファイルを参照して変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)と、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)を検索する。図26に示すMP4ヘッダ情報ファイルと、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)である。
(Step S502)
Next, in step S502, the information processing apparatus refers to the manifest file and refers to the MP4 header information file (file including vloc-compatible data) associated with the playlist file to be converted, and the vdat file (key information embedded data). (VMD) & metadata (vmet) storage file). FIG. 26 shows an MP4 header information file and a vdat file (key information embedded data (VMD) & metadata (vmet) storage file).

(ステップS503)
ステップS502の検索処理において、変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)があるか否かを判定し、ある場合はステップS504に進み、無い場合はステップS505に進む。
(Step S503)
In the search process in step S502, it is determined whether there is an MP4 header information file (a file including vloc-compatible data) associated with the playlist file to be converted. If there is, the process proceeds to step S504. Proceed to step S505.

(ステップS504)
変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)がある場合、情報処理装置は、ステップS504において、変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイル(vloc対応データを含むファイル)をメディアから読み取る。
(Step S504)
When there is an MP4 header information file (a file including vloc-compatible data) associated with the playlist file to be converted, the information processing apparatus, in step S504, stores the MP4 header information associated with the playlist file to be converted. Read a file (a file containing vloc compatible data) from the media.

(ステップS505)
次に、ステップS505において、変換対象として選択したプレイリストファイルによって指定されるクリップ情報ファイルと、そのクリップ情報ファイルに対応付けられたクリップAVストリームファイル、さらにvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)を取得する。
(Step S505)
In step S505, the clip information file specified by the playlist file selected as the conversion target, the clip AV stream file associated with the clip information file, and the vdat file (key information embedded data (VMD) & Metadata (vmet) storage file).

(ステップS506)
次に、ステップS506において、クリップAVストリームファイルと、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)に格納された画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データをデータの種類ごとに分離する。この処理は、図33に示すデータ変換部508のデータ解析部551の実行する処理である。
(Step S506)
In step S506, the clip AV stream file and the image, audio, subtitle, and key information embedded data (VMD: variant stored in the vdat file (key information embedded data (VMD) & metadata (vmet) storage file)) are stored. Media data) and metadata (vmet) are separated for each data type. This process is a process executed by the data analysis unit 551 of the data conversion unit 508 shown in FIG.

(ステップS507)
次に、ステップS507において、画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データのフォーマット変換を実行して、MP4ファイルのmdatボックス各々に格納するデータを生成する。
(Step S507)
Next, in step S507, format conversion of each data of image, audio, caption, key information embedded data (VMD: variant media data), and metadata (vmet) is performed and stored in each mdat box of the MP4 file. Generate data.

この処理は、図33に示すデータ変換部508の画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555の実行する処理である。
なお、鍵情報埋め込みデータ(VMD)およびメタデータ(vmet)は復号処理や再暗号化処理を行なうことなく暗号化データのままMPEG−2TSフォーマットデータから取り出してMP4フォーマットデータとして設定する。
This processing is executed by the image data conversion unit 552, the audio data conversion unit 553, the caption data conversion unit 554, and the key information embedded data related information conversion unit 555 of the data conversion unit 508 shown in FIG.
Note that the key information embedded data (VMD) and the metadata (vmet) are extracted from the MPEG-2TS format data as encrypted data without being decrypted or re-encrypted and set as MP4 format data.

(ステップS508)
次に、ステップS508において、プレイリストファイル、クリップ情報ファイル、MP4ヘッダ情報ファイルの内容を解析して、MP4ファイルのメタデータ記録ボックス(moov/moof)に格納するデータを生成する。
この処理は、図32に示す制御部501の下、図33に示すデータ変換部508の多重化処理実行部556において実行される処理である。
(Step S508)
Next, in step S508, the contents of the playlist file, clip information file, and MP4 header information file are analyzed to generate data to be stored in the metadata recording box (moov / moof) of the MP4 file.
This processing is executed by the multiplexing processing execution unit 556 of the data conversion unit 508 shown in FIG. 33 under the control unit 501 shown in FIG.

なお、このステップS508の処理においては、変換対象のプレイリストファイルに対応付けられたMP4ヘッダ情報ファイルから取得したvloc対応データを、MP4ファイルのmoofボックスのtrafボックス内に設定されるvlocボックスに対する記録データとして設定する。
最後に、生成したMP4ファイルを第2メディアに記録して処理が完了する。
In the process of step S508, the vloc correspondence data acquired from the MP4 header information file associated with the playlist file to be converted is recorded in the vloc box set in the trof box of the moof box of the MP4 file. Set as data.
Finally, the generated MP4 file is recorded on the second medium, and the process is completed.

なお、ステップS507におけるMP4ファイルのmdatボックスに対する記録データの生成および記録処理に際しては、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)から、鍵情報埋め込みデータ(VMD)&メタデータ(vmet)を逐次取得することが必要になる。
この取得処理は、先に図30を参照して説明したようにtrunボックスの記録データであるバイトオフセット情報を適用して実行する。この処理により、メタデータ(vmet)と鍵情報埋め込みデータ(VMD)のセットを正確に抽出することが可能となる。
It should be noted that in the generation and recording processing of the recording data for the mdat box of the MP4 file in step S507, the key information embedded data (VMD) && from the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) It is necessary to acquire metadata (vmet) sequentially.
This acquisition process is executed by applying the byte offset information that is the recording data of the run box as described above with reference to FIG. By this processing, it is possible to accurately extract a set of metadata (vmet) and key information embedded data (VMD).

次に、図40に示すフローチャートを参照して、図31を参照して説明した処理、すなわちvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)をサーバから取得する場合の処理シーケンスについて説明する。   Next, with reference to the flowchart shown in FIG. 40, the processing described with reference to FIG. 31, that is, the case where the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) is acquired from the server. A processing sequence will be described.

なお、図40に示すフローチャートは、情報処理装置の制御部501の制御の下に例えば記憶部504に格納されたプログラムに従ってデータ変換部508等において実行される。
フローに示す各ステップの処理について、順次、説明する。
Note that the flowchart shown in FIG. 40 is executed by the data conversion unit 508 or the like according to a program stored in the storage unit 504, for example, under the control of the control unit 501 of the information processing apparatus.
Processing of each step shown in the flow will be described sequentially.

(ステップS601)
まず、情報処理装置は、マニフェストファイルを参照してコピーの許容された変換対象のプレイリストファイルを取得する。
マニフェストファイルには、コピーの許容されるプレイリストファイルの識別子の他、プレイリストファイルと、図26に示すMP4ヘッダ情報ファイルとの対応データが記録されている。
さらに、本例では、このマニフェストファイルに、MP4ファイルのvlocボックス記録用データ(vlocデータ)と、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)の取得用URLが記録されているものとする。
(Step S601)
First, the information processing apparatus refers to the manifest file and acquires a playlist file to be converted that is permitted to be copied.
In the manifest file, in addition to the identifier of the playlist file that is allowed to be copied, correspondence data between the playlist file and the MP4 header information file shown in FIG. 26 is recorded.
Furthermore, in this example, the vloc box recording data (vloc data) of the MP4 file and the URL for acquiring the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) are recorded in the manifest file. It is assumed that

(ステップS602)
情報処理装置は、ステップS602において、マニフェストファイルから、変換対象のプレイリストファイルに対応するvlocデータと、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)の取得用アクセス情報(URL)を取得する。
(Step S602)
In step S602, the information processing apparatus acquires vloc data corresponding to the playlist file to be converted and vdat file (key information embedded data (VMD) & metadata (vmet) storage file) access information from the manifest file. (URL) is acquired.

(ステップS603)
次に、ステップS603において、ステップS602で取得したアクセス情報(URL)を適用して、変換対象のプレイリストファイルに対応づけられたvlocと、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)をダウンロードする。
(Step S603)
Next, in step S603, by applying the access information (URL) acquired in step S602, the vloc associated with the playlist file to be converted, the vdat file (key information embedded data (VMD) & metadata ( vmet) storage file).

(ステップS604)
次に、ステップS604において、変換対象として選択したプレイリストファイルによって指定されるクリップ情報ファイルと、そのクリップ情報ファイルに対応付けられたクリップAVストリームファイルを取得する。
(Step S604)
Next, in step S604, a clip information file specified by the playlist file selected as the conversion target and a clip AV stream file associated with the clip information file are acquired.

(ステップS605)
次に、ステップS605において、クリップAVストリームファイルと、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)に格納された画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データをデータの種類ごとに分離する。この処理は、図33に示すデータ変換部508のデータ解析部551の実行する処理である。
(Step S605)
In step S605, the clip AV stream file and the image, audio, subtitle, and key information embedded data (VMD: variant stored in the vdat file (key information embedded data (VMD) & metadata (vmet) storage file)) are stored. Media data) and metadata (vmet) are separated for each data type. This process is a process executed by the data analysis unit 551 of the data conversion unit 508 shown in FIG.

(ステップS606)
次に、ステップS606において、画像、音声、字幕、鍵情報埋め込みデータ(VMD:variant media data)、メタデータ(vmet)の各データのフォーマット変換を実行して、MP4ファイルのmdatボックス各々に格納するデータを生成する。
(Step S606)
Next, in step S606, format conversion of each data of image, audio, subtitle, key information embedded data (VMD: variant media data), and metadata (vmet) is performed and stored in each mdat box of the MP4 file. Generate data.

この処理は、図33に示すデータ変換部508の画像データ変換部552、音声データ変換部553、字幕データ変換部554、鍵情報埋め込みデータ関連情報変換部555の実行する処理である。
なお、鍵情報埋め込みデータ(VMD)およびメタデータ(vmet)は復号処理や再暗号化処理を行なうことなく暗号化データのままMPEG−2TSフォーマットデータから取り出してMP4フォーマットデータとして設定する。
This processing is executed by the image data conversion unit 552, the audio data conversion unit 553, the caption data conversion unit 554, and the key information embedded data related information conversion unit 555 of the data conversion unit 508 shown in FIG.
Note that the key information embedded data (VMD) and the metadata (vmet) are extracted from the MPEG-2TS format data as encrypted data without being decrypted or re-encrypted and set as MP4 format data.

(ステップS607)
次に、ステップS607において、プレイリストファイル、クリップ情報ファイルの内容を解析して、MP4ファイルのメタデータ記録ボックス(moov/moof)に格納するデータを生成する。
この処理は、図32に示す制御部501の下、図33に示すデータ変換部508の多重化処理実行部556において実行される処理である。
(Step S607)
Next, in step S607, the contents of the playlist file and the clip information file are analyzed, and data to be stored in the metadata recording box (moov / moof) of the MP4 file is generated.
This processing is executed by the multiplexing processing execution unit 556 of the data conversion unit 508 shown in FIG. 33 under the control unit 501 shown in FIG.

なお、このステップS607の処理においては、サーバから取得したvloc対応データを、MP4ファイルのmoofボックスのtrafボックス内に設定されるvlocボックスに対する記録データとして設定する。   In the process of step S607, the vloc corresponding data acquired from the server is set as recording data for the vloc box set in the trof box of the moof box of the MP4 file.

さらに、サーバから取得したvdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)から取得した鍵情報埋め込みデータ(VMD)とメタデータ(vmet)をMP4ファイルのmdatボックスに記録する。
なお、この記録処理に際しては、vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)から、鍵情報埋め込みデータ(VMD)&メタデータ(vmet)を逐次取得することが必要になる。
この取得処理は、先に図30を参照して説明したようにtrunボックスの記録データであるバイトオフセット情報を適用して実行する。この処理によりメタデータ(vmet)と鍵情報埋め込みデータ(VMD)のセットを個別に正確に抽出することが可能となる。
最後に、生成したMP4ファイルを第2メディアに記録して処理が完了する。
Further, the key information embedded data (VMD) and metadata (vmet) acquired from the vdat file (key information embedded data (VMD) & metadata (vmet) storage file) acquired from the server are recorded in the mdat box of the MP4 file. .
In this recording process, it is necessary to sequentially obtain key information embedded data (VMD) & metadata (vmet) from a vdat file (key information embedded data (VMD) & metadata (vmet) storage file). Become.
This acquisition process is executed by applying the byte offset information that is the recording data of the run box as described above with reference to FIG. By this processing, it becomes possible to accurately and individually extract a set of metadata (vmet) and key information embedded data (VMD).
Finally, the generated MP4 file is recorded on the second medium, and the process is completed.

[10.本開示の構成のまとめ]
以上、特定の実施例を参照しながら、本開示の実施例について詳解してきた。しかしながら、本開示の要旨を逸脱しない範囲で当業者が実施例の修正や代用を成し得ることは自明である。すなわち、例示という形態で本発明を開示してきたのであり、限定的に解釈されるべきではない。本開示の要旨を判断するためには、特許請求の範囲の欄を参酌すべきである。
[10. Summary of composition of the present disclosure]
As described above, the embodiments of the present disclosure have been described in detail with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiments without departing from the gist of the present disclosure. In other words, the present invention has been disclosed in the form of exemplification, and should not be interpreted in a limited manner. In order to determine the gist of the present disclosure, the claims should be taken into consideration.

なお、本明細書において開示した技術は、以下のような構成をとることができる。
(1) MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記データ変換部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得し、取得した暗号化データを復号することなく前記MP4ファイルに規定されるボックスの格納データとして設定する情報処理装置。
The technology disclosed in this specification can take the following configurations.
(1) having a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file;
The data converter is
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
Obtained from the TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data, and sets the obtained encrypted data as the storage data of the box defined in the MP4 file without decrypting Information processing device.

(2) 前記データ変換部は、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを、
前記MPEG−2TSフォーマットデータを格納したメディアから読み取り、前記MP4ファイル内のvlocボックスの格納データとして設定する前記(1)に記載の情報処理装置。
(2) The data converter is
Vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet),
The information processing apparatus according to (1), wherein the information is read from a medium storing the MPEG-2TS format data and set as storage data in a vloc box in the MP4 file.

(3) 前記データ変換部は、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを、
外部サーバから取得し、前記MP4ファイル内のvlocボックスの格納データとして設定する前記(1)または(2)に記載の情報処理装置。
(3) The data converter is
Vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet),
The information processing apparatus according to (1) or (2), acquired from an external server and set as storage data in a vloc box in the MP4 file.

(4) 前記データ変換部は、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを、
前記MPEG−2TSフォーマットデータを格納したメディアの格納データに基づいて生成し、生成データを前記MP4ファイル内のvlocボックスの格納データとして設定する前記(1)〜(3)いずれかに記載の情報処理装置。
(4) The data converter is
Vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet),
The information processing according to any one of (1) to (3), wherein the information is generated based on storage data of a medium storing the MPEG-2TS format data, and the generated data is set as storage data of a vloc box in the MP4 file. apparatus.

(5) 前記データ変換部は、
前記MPEG−2TSフォーマットにおいて規定される鍵情報格納パケットであるECM_PIDパケットの格納データに基づいて、前記vlocデータを生成する前記(4)に記載の情報処理装置。
(5) The data converter is
The information processing apparatus according to (4), wherein the vloc data is generated based on storage data of an ECM_PID packet that is a key information storage packet defined in the MPEG-2TS format.

(6) 前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックス内の連続位置に記録する前記(1)〜(5)いずれかに記載の情報処理装置。
(6) The data converter is
The metadata (vmet) storing the key information embedded data (VMD) and the identifier of the key applied to decrypting the key information embedded data (VMD) is recorded in a continuous position in the mdat box of the MP4 file. The information processing apparatus according to any one of (1) to (5).

(7) 前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の前方位置、または後続位置に記録する前記(1)〜(6)いずれかに記載の情報処理装置。
(7) The data converter
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. The information processing apparatus according to any one of (1) to (6), wherein the information is recorded at a front position or a subsequent position.

(8) 前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の間に記録し、
MP4ファイルのサンプル情報を格納したtrunボックスを、
前記鍵情報埋め込みデータ(VMD)と前記メタデータ(vmet)によって分断される前後の連続サンプルごとの個別のtrunボックスとして設定したMP4ファイルを生成する前記(1)〜(7)いずれかに記載の情報処理装置。
(8) The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. ) Record during
A trun box that stores sample information of the MP4 file
The MP4 file set as an individual trun box for each continuous sample before and after being divided by the key information embedded data (VMD) and the metadata (vmet) is generated. Information processing device.

(9) 前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の間に記録し、
MP4ファイルのサンプル情報を格納したtrunボックスに記録するサンプルサイズを、サンプル単独のサイズに、前記鍵情報埋め込みデータ(VMD)と前記メタデータ(vmet)のサイズを加算したサイズとしたtrunボックスを記録したMP4ファイルを生成する前記(1)〜(8)いずれかに記載の情報処理装置。
(9) The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. ) Record during
Record the trun box with the sample size to be recorded in the run box storing the sample information of the MP4 file, the size of the sample alone plus the size of the key information embedded data (VMD) and the metadata (vmet) The information processing apparatus according to any one of (1) to (8), wherein the MP4 file is generated.

(10) 前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の前方位置、または後続位置、または中間位置のいずれの位置に記録するかを、前記MPEG−2TSフォーマットデータを記録したメディアから取得する再生制御情報ファイルの記録情報に従って決定する前記(1)〜(9)いずれかに記載の情報処理装置。
(10) The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. ) Is determined according to the recording information of the reproduction control information file acquired from the medium on which the MPEG-2TS format data is recorded. (9) The information processing apparatus according to any one of the above.

(11) 前記再生制御情報ファイルはクリップ情報ファイル、またはプレイリストファイルである前記(10)に記載の情報処理装置。     (11) The information processing apparatus according to (10), wherein the reproduction control information file is a clip information file or a playlist file.

(12) MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納し、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する情報処理装置。
(12) having a data processing unit for generating MPEG-2TS format data;
The data processing unit
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data is stored.
Further, an information processing apparatus for generating an MP4 header information file storing vloc data, which is storage data of a vloc box defined in the MP4 format, as a key identifier storage box of a key for decoding the metadata (vmet).

(13) 前記データ処理部は、
前記鍵情報埋め込みデータ(VMD)の格納パケットのパケットヘッダには、鍵情報埋め込みデータ(VMD)格納パケットであることを識別可能な識別子(PID)を設定し、
前記メタデータ(vmet)の格納パケットのパケットヘッダには、メタデータ(vmet)格納パケットであることを識別可能な識別子(PID)を設定する前記(12)に記載の情報処理装置。
(13) The data processing unit
An identifier (PID) that can be identified as a key information embedded data (VMD) storage packet is set in a packet header of the key information embedded data (VMD) storage packet;
The information processing apparatus according to (12), wherein an identifier (PID) that can identify the metadata (vmet) storage packet is set in a packet header of the metadata (vmet) storage packet.

(14) 前記鍵情報埋め込みデータ(VMD:variant media data)は、復号データに基づいて、復号に適用した鍵を解析可能なデータである前記(12)または(13)に記載の情報処理装置。     (14) The information processing apparatus according to (12) or (13), wherein the key information embedded data (VMD: variant media data) is data that can analyze a key applied to decryption based on decryption data.

(15) MPEG−2TSフォーマットデータを記録した情報記録媒体であり、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータと、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データである前記メタデータ(vmet)復号用の鍵の鍵識別子を、
前記MPEG−2TSフォーマットデータを構成するTSパケット、またはデータファイルに格納し、
前記情報記録媒体の格納データを再生する再生装置が、前記TSパケットまたはデータファイルから前記メタデータ(vmet)復号用の鍵を取得し、前記メタデータ(vmet)を復号し、復号情報に基づいて前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵を取得し、前記鍵情報埋め込みデータ(VMD)を復号して再生することを可能とした情報記録媒体。
(15) An information recording medium on which MPEG-2TS format data is recorded,
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD);
The key identifier of the key for decoding the metadata (vmet), which is storage data of the vloc box defined in the MP4 format as the key identifier storage box of the key for decoding the metadata (vmet),
Stored in a TS packet or data file constituting the MPEG-2 TS format data,
A playback device for playing back data stored in the information recording medium acquires a key for decrypting the metadata (vmet) from the TS packet or data file, decrypts the metadata (vmet), and based on the decryption information An information recording medium capable of acquiring a key to be used for decrypting the key information embedded data (VMD) and decrypting and reproducing the key information embedded data (VMD).

(16) 前記鍵情報埋め込みデータ(VMD:variant media data)は、復号データに基づいて、復号に適用した鍵を解析可能なデータである前記(15)に記載の情報記録媒体。     (16) The information recording medium according to (15), wherein the key information embedded data (VMD: variant media data) is data that can analyze a key applied to decryption based on decryption data.

(17) 情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記データ変換部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得し、取得パケットに格納された暗号化データを、復号することなく前記MP4ファイル内のボックスの格納データとして設定する情報処理方法。
(17) An information processing method executed in the information processing apparatus,
The information processing apparatus includes a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file,
The data converter is
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
Data stored in the box in the MP4 file without decrypting the encrypted data stored in the acquired packet, obtained from the TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data Information processing method to set as.

(18) 情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納し、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する情報処理方法。
(18) An information processing method executed in the information processing apparatus,
The information processing apparatus includes a data processing unit that generates MPEG-2TS format data,
The data processing unit
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data is stored.
Furthermore, an information processing method for generating an MP4 header information file storing vloc data, which is storage data of a vloc box defined in the MP4 format, as a key identifier storage box of the metadata (vmet) decryption key.

(19) 情報処理装置において情報処理を実行させるプログラムであり、
前記情報処理装置は、MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記プログラムは、前記データ変換部に、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得させ、取得パケットに格納された暗号化データを、復号することなく前記MP4ファイル内のボックスの格納データとして記録させるプログラム。
(19) A program for executing information processing in an information processing device,
The information processing apparatus includes a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file,
The program is stored in the data conversion unit.
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The data stored in the box in the MP4 file without decrypting the encrypted data stored in the acquired packet, obtained from the data file storing the TS packet or each encrypted data constituting the MPEG-2 TS format data Program to be recorded as.

(20) 情報処理装置において情報処理を実行させるプログラムであり、
前記情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記プログラムは、前記データ処理部に、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納させ、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成させるプログラム。
(20) A program for executing information processing in an information processing device,
The information processing apparatus includes a data processing unit that generates MPEG-2TS format data,
The program is stored in the data processing unit.
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2TS format data or the data file storing each encrypted data is stored,
Furthermore, a program for generating an MP4 header information file storing vloc data which is storage data of a vloc box defined in the MP4 format as a key identifier storage box of the metadata (vmet) decryption key.

また、明細書中において説明した一連の処理はハードウェア、またはソフトウェア、あるいは両者の複合構成によって実行することが可能である。ソフトウェアによる処理を実行する場合は、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれたコンピュータ内のメモリにインストールして実行させるか、あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。例えば、プログラムは記録媒体に予め記録しておくことができる。記録媒体からコンピュータにインストールする他、LAN(Local Area Network)、インターネットといったネットワークを介してプログラムを受信し、内蔵するハードディスク等の記録媒体にインストールすることができる。   The series of processing described in the specification can be executed by hardware, software, or a combined configuration of both. When executing processing by software, the program recording the processing sequence is installed in a memory in a computer incorporated in dedicated hardware and executed, or the program is executed on a general-purpose computer capable of executing various processing. It can be installed and run. For example, the program can be recorded in advance on a recording medium. In addition to being installed on a computer from a recording medium, the program can be received via a network such as a LAN (Local Area Network) or the Internet and can be installed on a recording medium such as a built-in hard disk.

なお、明細書に記載された各種の処理は、記載に従って時系列に実行されるのみならず、処理を実行する装置の処理能力あるいは必要に応じて並列的にあるいは個別に実行されてもよい。また、本明細書においてシステムとは、複数の装置の論理的集合構成であり、各構成の装置が同一筐体内にあるものには限らない。   Note that the various processes described in the specification are not only executed in time series according to the description, but may be executed in parallel or individually according to the processing capability of the apparatus that executes the processes or as necessary. Further, in this specification, the system is a logical set configuration of a plurality of devices, and the devices of each configuration are not limited to being in the same casing.

以上、説明したように、本開示の一実施例の構成によれば、MP4フォーマットにおいて規定される暗号化構成を崩すことなく、MPEG−2TSフォーマットデータをMP4ファイルに変換して記録する構成が実現される。
具体的には、MP4フォーマット規定の鍵情報埋め込みデータ(VMD:variant media data)と、鍵情報埋め込みデータ(VMD)の復号用鍵の識別子を格納したメタデータ(vmet)の暗号化データを、MPEG−2TSフォーマットデータを構成するTSパケット、または暗号化データを格納したファイルから取得し、復号することなくMP4ファイル内のボックス格納データとする。また、メタデータ(vmet)復号用鍵の識別子格納ボックスとしてMP4フォーマットが規定するvlocボックス格納データを取得、または生成してMP4ファイルに記録する。
本構成により、MP4フォーマットにおいて規定される暗号化構成を崩すことなく、MPEG−2TSフォーマットデータをMP4ファイルに変換して記録する構成が実現される。
As described above, according to the configuration of an embodiment of the present disclosure, a configuration in which MPEG-2TS format data is converted into an MP4 file and recorded without breaking the encryption configuration defined in the MP4 format is realized. Is done.
Specifically, MPEG4 format key information embedded data (VMD: variant media data) and encrypted data (meta) (vmet) storing the decryption key identifier of the key information embedded data (VMD) are converted into MPEG. -2 Acquired from a TS packet constituting TS format data or a file storing encrypted data, and used as box storage data in an MP4 file without decryption. Also, vloc box storage data defined by the MP4 format is acquired or generated as an identifier storage box for metadata (vmet) decryption key, and is recorded in the MP4 file.
With this configuration, a configuration is realized in which MPEG-2TS format data is converted into an MP4 file and recorded without breaking the encryption configuration defined in the MP4 format.

10 メディア
11 AACSディレクトリ
12 BDMVディレクトリ
100 メディア
101 サンプル
102 鍵情報埋め込みデータ
110,120 再生装置
115,125 復号画像
131 鍵情報埋め込みデータ(VMD:variant media data)
132 メタデータ(vmet)
133 vlocデータ
141〜143 鍵情報埋め込みデータ
145 サンプル
151〜153 復号画像
211,221 VMD対応データ
212,222 vmet対応データ
213,223 vloc対応データ
231 メディアキーKm適用暗号化データ
232 非暗号化ほ鍵識別子格納パケット
251 TSパケット(ECM)
252 TSパケット(vmet)
253 TSパケット(VMD)
301 BDMVディレクトリ
302 EXPORTディレクトリ
311 マニフェストファイル
312 MP4ヘッダ情報ファイル
400 情報処理装置
401 サーバ
410 第1メディア
420 第2メディア
450 メディア
451 BDMVディレクトリ
452 EXPORTディレクトリ
461 マニフェストファイル
462 MP4ヘッダ情報ファイル
463 vdatファイル(鍵情報埋め込みデータ(VMD)&メタデータ(vmet)格納ファイル)
480 情報処理装置
481 第1メディア
482 第2メディア
490 サーバ
500 情報処理装置
501 制御部
502 入力部
503 通信部
504 記憶部
505 出力部
506 第1メディアインタフェース
507 データバッファ
508 データ変換部
509 第2メディアインタフェース
510 第1メディア
520 第2メディア
551 データ解析部
552 画像データ変換部
553 音声データ変換部
554 字幕データ変換部
555 鍵情報埋め込みデータ関連情報変換部
556 多重化処理実行部
601 CPU
602 ROM
603 RAM
604 バス
605 入出力インタフェース
606 入力部
607 出力部
608 記憶部
609 通信部
610 ドライブ
611 リムーバブルメディア
10 Media 11 AACS Directory 12 BDMV Directory 100 Media 101 Sample 102 Key Information Embedded Data 110, 120 Playback Device 115, 125 Decrypted Image 131 Key Information Embedded Data (VMD: variant media data)
132 Metadata (vmet)
133 vloc data 141 to 143 key information embedded data 145 samples 151 to 153 decrypted images 211 and 221 VMD compatible data 212 and 222 vmet compatible data 213 and 223 vloc compatible data 231 Media key Km applied encrypted data 232 Unencrypted key identifier Storage packet 251 TS packet (ECM)
252 TS packet (vmet)
253 TS packet (VMD)
301 BDMV directory 302 EXPORT directory 311 Manifest file 312 MP4 header information file 400 Information processing device 401 Server 410 First medium 420 Second medium 450 Media 451 BDMV directory 452 EXPORT directory 461 Manifest file 462 MP4 header information file 463 vdat file Embedded data (VMD) & metadata (vmet) storage file)
480 Information processing device 481 First medium 482 Second medium 490 Server 500 Information processing device 501 Control unit 502 Input unit 503 Communication unit 504 Storage unit 505 Output unit 506 First media interface 507 Data buffer 508 Data conversion unit 509 Second media interface 510 First medium 520 Second medium 551 Data analysis unit 552 Image data conversion unit 553 Audio data conversion unit 554 Subtitle data conversion unit 555 Key information embedded data related information conversion unit 556 Multiplexing processing execution unit 601 CPU
602 ROM
603 RAM
604 bus 605 input / output interface 606 input unit 607 output unit 608 storage unit 609 communication unit 610 drive 611 removable media

Claims (20)

MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記データ変換部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得し、取得した暗号化データを復号することなく前記MP4ファイルに規定されるボックスの格納データとして設定する情報処理装置。
A data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format and generates an MP4 file;
The data converter is
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
Obtained from the TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data, and sets the obtained encrypted data as the storage data of the box defined in the MP4 file without decrypting Information processing device.
前記データ変換部は、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを、
前記MPEG−2TSフォーマットデータを格納したメディアから読み取り、前記MP4ファイル内のvlocボックスの格納データとして設定する請求項1に記載の情報処理装置。
The data converter is
Vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet),
2. The information processing apparatus according to claim 1, wherein the information is read from a medium storing the MPEG-2TS format data and set as storage data in a vloc box in the MP4 file.
前記データ変換部は、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを、
外部サーバから取得し、前記MP4ファイル内のvlocボックスの格納データとして設定する請求項1に記載の情報処理装置。
The data converter is
Vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet),
The information processing apparatus according to claim 1, wherein the information processing apparatus is acquired from an external server and set as storage data in a vloc box in the MP4 file.
前記データ変換部は、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを、
前記MPEG−2TSフォーマットデータを格納したメディアの格納データに基づいて生成し、生成データを前記MP4ファイル内のvlocボックスの格納データとして設定する請求項1に記載の情報処理装置。
The data converter is
Vloc data that is storage data of a vloc box defined in the MP4 format as a key identifier storage box of a key for decoding the metadata (vmet),
The information processing apparatus according to claim 1, wherein the information processing apparatus generates the MPEG-2TS format data based on storage data of a medium and sets the generated data as storage data of a vloc box in the MP4 file.
前記データ変換部は、
前記MPEG−2TSフォーマットにおいて規定される鍵情報格納パケットであるECM_PIDパケットの格納データに基づいて、前記vlocデータを生成する請求項4に記載の情報処理装置。
The data converter is
The information processing apparatus according to claim 4, wherein the vloc data is generated based on storage data of an ECM_PID packet that is a key information storage packet defined in the MPEG-2TS format.
前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックス内の連続位置に記録する請求項1に記載の情報処理装置。
The data converter is
The metadata (vmet) storing the key information embedded data (VMD) and the identifier of the key applied to decrypting the key information embedded data (VMD) is recorded in a continuous position in the mdat box of the MP4 file. Item 4. The information processing apparatus according to Item 1.
前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の前方位置、または後続位置に記録する請求項1に記載の情報処理装置。
The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. The information processing apparatus according to claim 1, wherein the information processing apparatus is recorded at a front position or a subsequent position.
前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の間に記録し、
MP4ファイルのサンプル情報を格納したtrunボックスを、
前記鍵情報埋め込みデータ(VMD)と前記メタデータ(vmet)によって分断される前後の連続サンプルごとの個別のtrunボックスとして設定したMP4ファイルを生成する請求項1に記載の情報処理装置。
The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. ) Record during
A trun box that stores sample information of the MP4 file
The information processing apparatus according to claim 1, wherein an MP4 file set as an individual run box for each successive sample before and after being divided by the key information embedded data (VMD) and the metadata (vmet) is generated.
前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の間に記録し、
MP4ファイルのサンプル情報を格納したtrunボックスに記録するサンプルサイズを、サンプル単独のサイズに、前記鍵情報埋め込みデータ(VMD)と前記メタデータ(vmet)のサイズを加算したサイズとしたtrunボックスを記録したMP4ファイルを生成する請求項1に記載の情報処理装置。
The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. ) Record during
Record the trun box with the sample size to be recorded in the run box storing the sample information of the MP4 file, the size of the sample alone plus the size of the key information embedded data (VMD) and the metadata (vmet) The information processing apparatus according to claim 1, wherein the MP4 file is generated.
前記データ変換部は、
前記鍵情報埋め込みデータ(VMD)と、該鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納した前記メタデータ(vmet)を、MP4ファイルのmdatボックスに連続記録されるサンプル(sample)の前方位置、または後続位置、または中間位置のいずれの位置に記録するかを、前記MPEG−2TSフォーマットデータを記録したメディアから取得する再生制御情報ファイルの記録情報に従って決定する請求項1に記載の情報処理装置。
The data converter is
A sample (sample) in which the key information embedded data (VMD) and the metadata (vmet) storing an identifier of a key applied to decrypting the key information embedded data (VMD) are continuously recorded in the mdat box of the MP4 file. 2) is determined according to the recording information of the reproduction control information file acquired from the medium on which the MPEG-2TS format data is recorded. Information processing device.
前記再生制御情報ファイルはクリップ情報ファイル、またはプレイリストファイルである請求項10に記載の情報処理装置。   The information processing apparatus according to claim 10, wherein the reproduction control information file is a clip information file or a playlist file. MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納し、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する情報処理装置。
A data processing unit for generating MPEG-2TS format data;
The data processing unit
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data is stored.
Further, an information processing apparatus for generating an MP4 header information file storing vloc data, which is storage data of a vloc box defined in the MP4 format, as a key identifier storage box of a key for decoding the metadata (vmet).
前記データ処理部は、
前記鍵情報埋め込みデータ(VMD)の格納パケットのパケットヘッダには、鍵情報埋め込みデータ(VMD)格納パケットであることを識別可能な識別子(PID)を設定し、
前記メタデータ(vmet)の格納パケットのパケットヘッダには、メタデータ(vmet)格納パケットであることを識別可能な識別子(PID)を設定する請求項12に記載の情報処理装置。
The data processing unit
An identifier (PID) that can be identified as a key information embedded data (VMD) storage packet is set in a packet header of the key information embedded data (VMD) storage packet;
13. The information processing apparatus according to claim 12, wherein an identifier (PID) that can identify that the packet is a metadata (vmet) storage packet is set in a packet header of the storage packet of the metadata (vmet).
前記鍵情報埋め込みデータ(VMD:variant media data)は、復号データに基づいて、復号に適用した鍵を解析可能なデータである請求項12に記載の情報処理装置。   13. The information processing apparatus according to claim 12, wherein the key information embedded data (VMD: variant media data) is data that can analyze a key applied to decryption based on decryption data. MPEG−2TSフォーマットデータを記録した情報記録媒体であり、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータと、
前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データである前記メタデータ(vmet)復号用の鍵の鍵識別子を、
前記MPEG−2TSフォーマットデータを構成するTSパケット、またはデータファイルに格納し、
前記情報記録媒体の格納データを再生する再生装置が、前記TSパケットまたはデータファイルから前記メタデータ(vmet)復号用の鍵を取得し、前記メタデータ(vmet)を復号し、復号情報に基づいて前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵を取得し、前記鍵情報埋め込みデータ(VMD)を復号して再生することを可能とした情報記録媒体。
An information recording medium on which MPEG-2TS format data is recorded,
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD);
The key identifier of the key for decoding the metadata (vmet), which is storage data of the vloc box defined in the MP4 format as the key identifier storage box of the key for decoding the metadata (vmet),
Stored in a TS packet or data file constituting the MPEG-2 TS format data,
A playback device for playing back data stored in the information recording medium acquires a key for decrypting the metadata (vmet) from the TS packet or data file, decrypts the metadata (vmet), and based on the decryption information An information recording medium capable of acquiring a key to be used for decrypting the key information embedded data (VMD) and decrypting and reproducing the key information embedded data (VMD).
前記鍵情報埋め込みデータ(VMD:variant media data)は、復号データに基づいて、復号に適用した鍵を解析可能なデータである請求項15に記載の情報記録媒体。   The information recording medium according to claim 15, wherein the key information embedded data (VMD: variant media data) is data that can analyze a key applied to decryption based on decryption data. 情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記データ変換部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得し、取得パケットに格納された暗号化データを、復号することなく前記MP4ファイル内のボックスの格納データとして設定する情報処理方法。
An information processing method executed in an information processing apparatus,
The information processing apparatus includes a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file,
The data converter is
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
Data stored in the box in the MP4 file without decrypting the encrypted data stored in the acquired packet, obtained from the TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data Information processing method to set as.
情報処理装置において実行する情報処理方法であり、
前記情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記データ処理部は、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納し、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成する情報処理方法。
An information processing method executed in an information processing apparatus,
The information processing apparatus includes a data processing unit that generates MPEG-2TS format data,
The data processing unit
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2 TS format data or the data file storing each encrypted data is stored.
Furthermore, an information processing method for generating an MP4 header information file storing vloc data, which is storage data of a vloc box defined in the MP4 format, as a key identifier storage box of the metadata (vmet) decryption key.
情報処理装置において情報処理を実行させるプログラムであり、
前記情報処理装置は、MPEG−2TSフォーマットからMP4フォーマットへのフォーマット変換を実行してMP4ファイルを生成するデータ変換部を有し、
前記プログラムは、前記データ変換部に、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルから取得させ、取得パケットに格納された暗号化データを、復号することなく前記MP4ファイル内のボックスの格納データとして記録させるプログラム。
A program for executing information processing in an information processing apparatus;
The information processing apparatus includes a data conversion unit that performs format conversion from the MPEG-2TS format to the MP4 format to generate an MP4 file,
The program is stored in the data conversion unit.
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The data stored in the box in the MP4 file without decrypting the encrypted data stored in the acquired packet, obtained from the data file storing the TS packet or each encrypted data constituting the MPEG-2 TS format data Program to be recorded as.
情報処理装置において情報処理を実行させるプログラムであり、
前記情報処理装置は、MPEG−2TSフォーマットデータを生成するデータ処理部を有し、
前記プログラムは、前記データ処理部に、
MP4フォーマットにおいて規定された鍵情報埋め込みデータ(VMD:variant media data)を暗号化した暗号化鍵情報埋め込みデータと、
前記鍵情報埋め込みデータ(VMD)の復号に適用する鍵の識別子を格納したメタデータ(vmet)を暗号化した暗号化メタデータを、
前記MPEG−2TSフォーマットデータを構成するTSパケット、または各暗号化データを格納したデータファイルに格納させ、
さらに、前記メタデータ(vmet)復号用の鍵の鍵識別子格納ボックスとしてMP4フォーマットにおいて規定されるvlocボックスの格納データであるvlocデータを格納したMP4ヘッダ情報ファイルを生成させるプログラム。
A program for executing information processing in an information processing apparatus;
The information processing apparatus includes a data processing unit that generates MPEG-2TS format data,
The program is stored in the data processing unit.
Encryption key information embedded data obtained by encrypting key information embedded data (VMD: variant media data) defined in the MP4 format;
Encrypted metadata obtained by encrypting metadata (vmet) storing a key identifier applied to decrypting the key information embedded data (VMD),
The TS packet constituting the MPEG-2TS format data or the data file storing each encrypted data is stored,
Furthermore, a program for generating an MP4 header information file storing vloc data which is storage data of a vloc box defined in the MP4 format as a key identifier storage box of the metadata (vmet) decryption key.
JP2014166377A 2014-06-30 2014-08-19 Information processing device, information recording medium, and information processing method, and program Pending JP2016027512A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014166377A JP2016027512A (en) 2014-06-30 2014-08-19 Information processing device, information recording medium, and information processing method, and program
PCT/JP2015/002576 WO2016002127A1 (en) 2014-06-30 2015-05-22 Mpeg-2-ts to mp4 format conversion without decryption

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2014133920 2014-06-30
JP2014133920 2014-06-30
JP2014166377A JP2016027512A (en) 2014-06-30 2014-08-19 Information processing device, information recording medium, and information processing method, and program

Publications (1)

Publication Number Publication Date
JP2016027512A true JP2016027512A (en) 2016-02-18

Family

ID=53276225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014166377A Pending JP2016027512A (en) 2014-06-30 2014-08-19 Information processing device, information recording medium, and information processing method, and program

Country Status (2)

Country Link
JP (1) JP2016027512A (en)
WO (1) WO2016002127A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018221293A1 (en) * 2017-06-01 2018-12-06 ソニー株式会社 Information processing device, information recording medium, information processing method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4882653B2 (en) 2006-10-06 2012-02-22 ソニー株式会社 Information processing apparatus, information processing method, and computer program
EP2149264B1 (en) * 2007-07-02 2011-01-12 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus and method for processing and reading a file having a media data container and a metadata container
JP5533162B2 (en) 2010-04-08 2014-06-25 ソニー株式会社 Information processing apparatus, information processing system, information processing method, and program

Also Published As

Publication number Publication date
WO2016002127A1 (en) 2016-01-07

Similar Documents

Publication Publication Date Title
JP6465144B2 (en) Information processing apparatus, information recording medium, information processing system, information processing method, and program
JP6467680B2 (en) File generation method and file generation apparatus
JP6550055B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION RECORDING MEDIUM, INFORMATION PROCESSING METHOD, AND PROGRAM
JP7052733B2 (en) Information processing equipment, information recording media, information processing methods, and programs
JP6500895B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION GENERATING APPARATUS, INFORMATION RECORDING MEDIUM, INFORMATION PROCESSING METHOD, AND PROGRAM
JP7215415B2 (en) Information processing device, information recording medium, information processing method, and program
WO2018190122A1 (en) Information processing device, information processing method, and program
JP2015109131A (en) File generation method, reproduction method, file generation device, regeneration device and recording medium
JP2017183762A (en) Video stream generation method, reproduction device, and recording medium
JP6380542B2 (en) Information processing apparatus, information recording medium, information processing method, and program
WO2015083354A1 (en) File generation method, playback method, file generation device, playback device, and recording medium
JP2016027512A (en) Information processing device, information recording medium, and information processing method, and program
WO2016084756A1 (en) Information processing device, information recording medium, information processing method, and program
WO2015105037A1 (en) File generation method, file generation device and recording medium
KR20190131025A (en) Information processing apparatus, information recording medium and information processing method, and program
WO2016027426A1 (en) Video stream generation method, playback apparatus, and recording medium
WO2015186479A1 (en) Information processing apparatus, information recording medium, information processing method, and program
JP6589984B2 (en) Information processing apparatus, information processing system, information recording medium, information processing method, and program
JPWO2016093016A1 (en) Information processing apparatus, information recording medium, information processing method, and program
JP2015153441A (en) Information processor, information recording device, information recording medium, information processing method, and program
JP2015167059A (en) Information processor, information recording device, information recording medium, information processing method and program
JP2015153440A (en) Information processor, information recording device, information recording medium, information processing method, and program