JP2014155174A - Video data processor and video data processing program - Google Patents
Video data processor and video data processing program Download PDFInfo
- Publication number
- JP2014155174A JP2014155174A JP2013025768A JP2013025768A JP2014155174A JP 2014155174 A JP2014155174 A JP 2014155174A JP 2013025768 A JP2013025768 A JP 2013025768A JP 2013025768 A JP2013025768 A JP 2013025768A JP 2014155174 A JP2014155174 A JP 2014155174A
- Authority
- JP
- Japan
- Prior art keywords
- channel
- file
- video data
- stream
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims description 56
- 238000006243 chemical reaction Methods 0.000 description 29
- 238000000034 method Methods 0.000 description 21
- 239000000872 buffer Substances 0.000 description 13
- 238000012544 monitoring process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008929 regeneration Effects 0.000 description 3
- 238000011069 regeneration method Methods 0.000 description 3
- 230000003442 weekly effect Effects 0.000 description 2
- 230000006378 damage Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は、暗号化された映像データを記録する記録媒体を作成する映像データ処理装置及び映像データ処理プログラムに関する。 The present invention relates to a video data processing apparatus and a video data processing program for creating a recording medium for recording encrypted video data.
従来から、監視カメラで得られた映像データを記録媒体に記録することが行われている。 Conventionally, video data obtained by a surveillance camera is recorded on a recording medium.
特許文献1には、光ディスクに記録されている圧縮映像データを1単位時間毎にシーンブロック配列順に読み出し、その配列順に読み出された各シーンブロックを1単位時間毎にバッファメモリに蓄積し、そのバッファメモリに蓄積された各シーンブロックの圧縮映像データにデータ伸張処理を施し1単位時間中に再生することが開示されている。また、マルチシーン映像再生中に操作キーにより他のオプションシーンが指定されると、指定されたオプションシーンの対応するシーンブロックをバッファメモリから読み出し、データ伸張処理を施して再生することが開示されている。
In
特許文献2には、複数のストーリ展開を含むマルチストーリの情報をMPEGエンコードした圧縮データを持つ光ディスクから、選択可能なストーリ数の情報を取り出し、MPEGデコードに用いるバッファの記録情報を、選択可能なストーリ数に応じた数に分割し、マルチストーリのうち選択されたストーリのデコード対象データをバッファの分割領域の一部に記録しながらMPEGデコードし、選択されていないストーリのデコード対象データをバッファの分割領域の他部に記録することが開示されている。
In
特許文献3には、データを入出力バッファ手段に一時的に記憶させ、映像音声データの再生中に、別の映像音声データ又は非連続データの再生、記録要求を受けた場合に、入出力バッファ手段に再生中の映像音声データが一定量先読みされて蓄積されていたときには、別の映像音声データ又は非連続データの再生、記録動作を行うように制御することが開示されている。
In
特許文献4には、ユーザからのアングル切り替え指示による再生アングルの切り替え完了前に、再度アングル切り替え指示がユーザからなされた場合には、再指示による切り替え先アングル番号のデータのDVD−Videoディスク上の記録アドレスより当該データの読み出し開始可能時刻を算出し、トラックバッファに格納されている現再生中アングルのデータの再生終了時刻と読み出し開始可能時刻との前後関係を求め、読み出し開始可能時刻の方が前であれば、再指示による切り替え先アングル番号のデータのトラックバッファへの読み出しを開始するよう制御することが開示されている。 Japanese Patent Laid-Open No. 2004-133867 discloses that when the user makes another angle switching instruction before the playback angle is switched by the angle switching instruction from the user, the data of the switching destination angle number by the re-instruction is stored on the DVD-Video disc. The readable start time of the data is calculated from the recording address, and the relationship between the playback end time and the readable start time of the data at the current playback angle stored in the track buffer is obtained, and the readable start time is more If it is before, it is disclosed to control to start reading the data of the switching destination angle number by the re-instruction to the track buffer.
特許文献5には、記憶手段へ複数の動画データを格納するとともに、再生手段に複数のバッファを設け、記憶手段からバッファへ複数の動画データをそれぞれ読み出して再生し、再生された複数の動画データのうち、単一又は複数の動画データを選択的に表示することが開示されている。 In Patent Document 5, a plurality of moving image data is stored in the storage unit, a plurality of buffers are provided in the reproducing unit, a plurality of moving image data are respectively read from the storing unit to the buffer, and are reproduced. Among them, it is disclosed to selectively display a single or a plurality of moving image data.
特許文献6には、記録媒体から読み出されたインタリーブ画像情報における複数の時系列の画像情報を個別に格納するためのバッファメモリ領域が並列に構成されており、各バッファメモリ領域の同一アドレスにおいて、インタリーブ画像情報における対応する画像情報を順次読み出しながら更新するとともに、同一アドレスにおける読み出しが、書き込みによって追い越されないように制御することが開示されている。 In Patent Document 6, buffer memory areas for individually storing a plurality of time-series image information in interleaved image information read from a recording medium are configured in parallel, and at the same address in each buffer memory area. In addition, it is disclosed that the corresponding image information in the interleaved image information is updated while being sequentially read out, and the reading at the same address is controlled so as not to be overtaken by writing.
ところで、監視カメラで撮影して得られた映像データをBlu−Rayディスク(BD−ROM)等の可搬性記録媒体に記憶させて配布するサービスがあり、例えばオフィスビルの管理会社が、監視カメラで得られた映像データをBD−ROM等に記憶させて当該オフィスビルのテナントに配布する場合がある。この場合、第三者が閲覧できないようにパスワード等で映像データを保護することが望ましいが、記録型BDで規定されているパスワード保護方式ではたとえパスワードがなくてもパーソナルコンピュータ等で映像データを直接開けば映像を再生することが可能であるため、保護が十分でない問題があった。また、暗号化された複数チャンネルの映像データを切り替えて再生する場合、映像データを復号しながら再生することになるため、再生前処理に時間を要し、その分、映像データの切り替えに時間を要する。 By the way, there is a service for storing video data obtained by photographing with a surveillance camera in a portable recording medium such as a Blu-Ray disc (BD-ROM) and distributing it. For example, a management company of an office building uses a surveillance camera. The obtained video data may be stored in a BD-ROM or the like and distributed to tenants of the office building. In this case, it is desirable to protect the video data with a password so that it cannot be viewed by a third party. However, in the password protection method stipulated in the recordable BD, the video data is directly captured by a personal computer or the like even if there is no password. Since it is possible to play the video if it is opened, there is a problem that the protection is not sufficient. In addition, when the encrypted video data of multiple channels are switched and played back, the video data is played back while being decrypted. Therefore, it takes time for the pre-playback processing, and accordingly, it takes time to switch the video data. Cost.
本発明の目的は、映像データの安全を確保するとともに、複数のチャンネル間での映像データの切り替え時間を短縮させることが可能な映像データ処理装置及び映像データプログラムを提供することである。 An object of the present invention is to provide a video data processing device and a video data program capable of ensuring the safety of video data and shortening the switching time of video data between a plurality of channels.
請求項1に記載の発明は、複数チャンネルの映像データをストリームファイルに変換するエンコード手段と、複数チャンネルのストリームファイルを暗号化する暗号化手段と、複数チャンネルのストリームファイルを復号するプログラムであって、再生装置にて再生が指示されたチャンネルのストリームファイルを復号して再生するとともに、再生が指示されていないチャンネルのストリームファイルを先行復号して再生装置に記憶させるプログラムを作成するプログラム作成手段と、暗号化された複数チャンネルのストリームファイル及びプログラムを可搬性記録媒体に書き込む書込手段と、を有することを特徴とする映像データ処理装置である。
The invention according to
請求項2に記載の発明は、請求項1に記載の映像データ処理装置であって、前記プログラムは、再生が指示されていないチャンネルのうち、再生装置にて再生中のチャンネルの次に選択され得るチャンネルのストリームファイルを、他のチャンネルのストリームファイルに優先して復号する、ことを特徴とする。 According to a second aspect of the present invention, in the video data processing device according to the first aspect, the program is selected next to a channel being reproduced by the reproducing device from among the channels not designated for reproduction. A stream file of an obtained channel is decoded in preference to a stream file of another channel.
請求項3に記載の発明は、請求項2に記載の映像データ処理装置であって、前記プログラムは、複数チャンネルのうちの特定チャンネルを経由してチャンネルの切り替えが行われる場合、再生が指示されていないチャンネルのうち、前記特定チャンネルのストリームファイルを他のチャンネルのストリームファイルに優先して復号する、ことを特徴とする。 According to a third aspect of the present invention, there is provided the video data processing device according to the second aspect, wherein the program is instructed to be played back when a channel is switched via a specific channel among a plurality of channels. Among the channels that are not, the stream file of the specific channel is decoded with priority over the stream files of other channels.
請求項4に記載の発明は、請求項1から請求項3のいずれか一項に記載の映像データ処理装置であって、前記プログラムは、再生が指示されていないチャンネルのストリームファイルのうち、再生装置にて再生中のストリームファイルの撮影時刻に対応する時刻に撮影されたストリームファイルを優先して復号する、ことを特徴とする。 A fourth aspect of the present invention is the video data processing apparatus according to any one of the first to third aspects, wherein the program reproduces a stream file of a channel not designated for reproduction. A stream file shot at a time corresponding to a shooting time of a stream file being played back by the apparatus is preferentially decoded.
請求項5に記載の発明は、請求項1から請求項4のいずれか一項に記載の映像データ処理装置であって、前記プログラムは、先行復号対象のチャンネルの再生が指示され、そのチャンネルを再生するためのパスワードを受けた場合に、そのチャンネルのストリームファイルを再生する、ことを特徴とする。 A fifth aspect of the present invention is the video data processing apparatus according to any one of the first to fourth aspects, wherein the program is instructed to reproduce a channel subject to preceding decoding, and the channel is When a password for reproduction is received, the stream file of the channel is reproduced.
請求項6に記載の発明は、請求項1から請求項5のいずれか一項に記載の映像データ処理装置であって、前記暗号化手段は、ストリームファイルを暗号化した上で、前記可搬性記録媒体の本来の格納ディレクトリとは異なるディレクトリに格納する、ことを特徴とする。 A sixth aspect of the present invention is the video data processing apparatus according to any one of the first to fifth aspects, wherein the encryption unit encrypts the stream file and then the portability. They are stored in a directory different from the original storage directory of the recording medium.
請求項7に記載の発明は、請求項6に記載の映像データ処理装置であって、前記プログラムは、本来の格納ディレクトリとは異なるディレクトリに格納されたストリームファイルを復号した上で、再生装置のローカルストレージの特定ディレクトリに格納する、ことを特徴とする。 A seventh aspect of the present invention is the video data processing apparatus according to the sixth aspect, wherein the program decodes a stream file stored in a directory different from the original storage directory, and It is stored in a specific directory in local storage.
請求項8に記載の発明は、請求項1から請求項7のいずれか一項に記載の映像データ処理装置であって、前記プログラムは、仮想ファイルシステムを用いてストリームファイルの再生を可能とする、ことを特徴とする。
The invention according to claim 8 is the video data processing apparatus according to any one of
請求項9に記載の発明は、コンピュータに、複数チャンネルの映像データをストリームファイルに変換するステップと、複数チャンネルのストリームファイルを暗号化するステップと、複数チャンネルのストリームファイルを復号するプログラムであって、再生装置にて再生が指示されたプログラムのストリームファイルを復号して再生するとともに、再生が指示されていないチャンネルのストリームファイルを先行復号して再生装置に記憶させるプログラムを作成するステップと、暗号化された複数チャンネルのストリームファイル及びプログラムを可搬性記録媒体に書き込むステップと、を実行させることを特徴とする映像データ処理プログラムである。 The invention according to claim 9 is a program for converting a plurality of channels of video data into a stream file, a step of encrypting the plurality of channels of stream files, and a program for decrypting the plurality of channels of stream files. A step of decoding a stream file of a program instructed to be reproduced by the reproduction device, reproducing the stream file of a channel not designated for reproduction, and creating a program for storing the stream file in the reproduction device; And a step of writing the streamed multi-channel stream file and the program on a portable recording medium.
本発明によると、ストリームファイルが暗号化されて可搬性記録媒体に記憶されるため、たとえ第三者が当該可搬性記録媒体を入手してストリームファイルに直接アクセスしても、元の映像データを再生することができず、安全性が確保される。また、再生装置にて再生されていないチャンネルのストリームファイルを先行して復号するため、そのチャネルに切り替えられたときに復号を行わずにストリームファイルを再生することが可能となる。これにより、複数のチャンネル間での映像データの切り替え時間を短縮することが可能となる。 According to the present invention, since the stream file is encrypted and stored in the portable recording medium, even if a third party obtains the portable recording medium and directly accesses the stream file, the original video data is reproduced. Safety is ensured. In addition, since a stream file of a channel that is not played back by the playback device is decoded in advance, the stream file can be played back without being decoded when the channel is switched to that channel. Thereby, it is possible to shorten the switching time of the video data between a plurality of channels.
図1に、本発明の実施形態に係る映像データ処理システムの一例を示す。映像データ処理システムは、映像サーバ10と、オーサリング用コンピュータとして機能する映像データ処理装置20と、映像データ処理装置20で作成されたBlu−Rayディスク(BD−ROM)等の可搬性記録媒体40を再生する再生装置50とを含む。
FIG. 1 shows an example of a video data processing system according to an embodiment of the present invention. The video data processing system includes a
映像サーバ10は、1又は複数の監視カメラで取得された映像データを記憶する。複数の監視カメラで取得された映像データを記憶する場合、映像サーバ10は、複数の監視カメラのそれぞれで取得された映像データを、それぞれのチャンネルに割り当てて記憶する。例えば、映像サーバ10は、監視カメラA(図示せず)で取得された映像データをチャンネルAの映像データとして記憶し、監視カメラB(図示せず)で取得された映像データをチャンネルBの映像データとして記憶する。映像サーバ10は、各種センサで検出された、映像データに付随するメタデータも映像データに関連付けて記憶する。例えば、映像サーバ10は、撮影時刻を示す撮影時刻情報を映像データに関連付けて記憶する。
The
映像データ処理装置20は、映像サーバ10に記憶されている映像データを取り込み、編集してBD−ROM等の可搬性記録媒体40に書き込む。映像データ処理装置20は、映像データを特定の形態に加工することで暗号化し、可搬性記録媒体40に書き込む。本実施形態における暗号化は、映像データの可逆的破壊ということもでき、たとえパーソナルコンピュータで映像データ自体を直接開いたとしても、元の映像データを再生できないような形態で映像データは加工される。暗号化の具体的な方法については後述する。
The video
再生装置50は、例えば汎用のBDプレーヤであり、映像データ処理装置20で作成された可搬性記録媒体40を再生して表示装置に映像を表示させる。ユーザは、図示しないリモコン等の入力デバイスを操作することで再生装置50の動作を制御する。例えば、ユーザは、暗号化された映像データを復号するためのパスワード等の復号鍵を、入力デバイスを用いて入力する。また、ユーザは、入力デバイスを用いてチャンネルを切り替えることが可能となっている。
The
可搬性記録媒体40としては、DVD、CD、Blu−Rayディスク(BD−ROM)等の光ディスク媒体が想定されるが、不揮発性の半導体メモリ等であってもよい。本実施形態では、一例として、可搬性記録媒体40はBlu−Rayディスク(BD−ROM)であるとして説明する。まず、本実施形態において前提となるBD−ROM規格について簡単に説明する。
The
図2に、BD−ROM規格で定められたディレクトリ及びファイル構造を示す。主なBD−ROMファイルは、ルートディレクトリ直下のBDMVディレクトリの下に格納される。BDMVディレクトリは、PLAYLIST、CLIPINFO、STREAM、JAR及びその他のディレクトリを含む。 FIG. 2 shows a directory and file structure defined by the BD-ROM standard. Main BD-ROM files are stored under the BDMV directory directly under the root directory. The BDMV directory includes PLAYLIST, CLIPINFO, STREAM, JAR, and other directories.
STREAMディレクトリは、「0100.m2ts」、「0200.m2ts」等の各ストリームファイルを含む。なお、拡張子「m2ts」は、MPEG−2のTransport Streamであることを示す。 The STREAM directory includes stream files such as “0100.m2ts” and “0200.m2ts”. The extension “m2ts” indicates the MPEG-2 Transport Stream.
CLIPINFOディレクトリは、クリップ(Clip)のデータベースファイルを含む。BD−ROM規格では、ストリームファイルはクリップ(Clip)ストリームファイルと呼ばれ、これに関連するデータベースファイルをClipinformationファイルと呼ぶ。Clipinformationファイルは、対応するストリームファイルのアクセスポイントのタイムスタンプを記憶する。このタイムスタンプを用いることで再生装置はストリームのどこからデータを読み出すべきかを認識する。ClipストリームファイルとClipinformationファイルとの間には1対1の関係がある。図において、「0100.m2ts」ファイルには「0100.clpi」ファイルが対応し、「0200.m2ts」ファイルには「0200.clpi」ファイルが対応する。 The CLIPINFO directory includes a clip database file. In the BD-ROM standard, a stream file is called a clip stream file, and a database file related to this is called a clip information file. The clip information file stores the time stamp of the access point of the corresponding stream file. By using this time stamp, the playback device recognizes where in the stream data should be read. There is a one-to-one relationship between the clip stream file and the clip information file. In the figure, the “0100.clpi” file corresponds to the “0100.m2ts” file, and the “0200.clpi” file corresponds to the “0200.m2ts” file.
PLAYLISTディレクトリは、PlayListのデータベースファイルを含む。PlayList(Movie PlayList)は、クリップ(Clip)の再生インターバルリストである。再生インターバルは、クリップ(Clip)の再生開始時点と再生終了時点とから構成される。 The PLAYLIST directory includes a PlayList database file. PlayList (Movie PlayList) is a clip playback interval list. The playback interval includes a clip playback start point and a playback end point.
JARディレクトリは、Java(登録商標)プラットフォームに基づくJava(登録商標)アプリケーションファイルを含む。BD−ROM規格では、Java(登録商標)プラットフォームに基づくプログラマブルなアプリケーションに対応しており、これを「BD−J」と称する。本実施形態では、このJARディレクトリに格納されるJava(登録商標)アプリケーションを用いて、暗号化されたストリームファイルの復号と所定位置への格納とを行うとともに、復号されたストリームファイルをBDの映像コンテンツとして認識させるためにVFS(Virtual File System)の制御を行う。 The JAR directory includes Java (registered trademark) application files based on the Java (registered trademark) platform. The BD-ROM standard corresponds to a programmable application based on the Java (registered trademark) platform, which is referred to as “BD-J”. In this embodiment, the Java (registered trademark) application stored in the JAR directory is used to decrypt the encrypted stream file and store it in a predetermined position, and the decrypted stream file is converted into a BD video. Control of VFS (Virtual File System) is performed in order to recognize the content.
その他のディレクトリは、サウンドデータファイル、フォントデータファイル、バックアップファイル等を含む。 Other directories include sound data files, font data files, backup files, and the like.
図3に、映像データ処理装置20の構成を示す。映像データ処理装置20は、エンコーダ22、暗号化部24、プレイリスト作成部26、換算情報作成部28、プログラム作成部30及び書込部36を含む。また、プログラム作成部30は、復号プログラム作成部32及び先行処理プログラム作成部34を含む。なお、映像データ処理装置20は、CPU等のプロセッサ、メモリ、データバス、入出力インタフェース、キーボード等の入力デバイス、表示装置等の出力デバイス及びBDレコーダを備え、メモリに記憶されたプログラムをCPUが実行することにより、各部の機能が実現される。なお、当該プログラムが、映像データ処理プログラムの一例に相当する。
FIG. 3 shows the configuration of the video
エンコーダ22は、映像サーバ10に記憶された映像データを取り込み、ストリームファイル(図においてm2tsで示す)とクリップファイル(図においてClipで示す)とを作成する。エンコーダ22は、ストリームファイル及びクリップファイルを、暗号化部24、プレイリスト作成部26及びプログラム作成部30に出力する。
The
暗号化部24は、キーボード等の入力デバイスから入力されたパスワードを用いて、エンコーダ22から供給されたストリームファイルを暗号化して書込部36に出力する。暗号化部24は、暗号化に際しては、プログラム作成部30との協働によりストリームファイルを暗号化する。具体的には、図2に示すようにストリームファイルは本来であればSTREAMディレクトリに格納されるべきところを、ストリームファイルの一部又は全部に暗号化を行った上、BD−Jアプリケーションからアクセス可能なディレクトリ、例えばJARディレクトリの下にDATAディレクトリを作成し、そのDATAディレクトリに格納する。不正規入手者がストリームの検索を行ってもストリームファイルが暗号化されているため、映像を再生することができない。
The
プレイリスト作成部26は、エンコーダ22から供給されたストリームファイル及びクリップファイルに基づき、プレイリストファイル(図においてPlayListで示す)を作成して書込部36に出力する。
The
換算情報作成部28は、映像データの再生されている時点(再生時間)を実際の撮影時刻に換算するための換算情報を作成して書込部36に出力する。例えば、映像データの撮影が開始された時刻(撮影開始時刻)を再生時間の始点とし、撮影が終了した時刻(撮影終了時刻)を再生時間の終点とする。換算情報作成部28は、映像データの撮影時刻及びフレームレート等に基づき、実際の撮影時刻に対応する再生時間、すなわち、当該映像データの再生時間の始点(撮影開始時刻)からの時間を求め、再生時間と撮影時刻との対応関係を示す換算情報を作成する。換算情報作成部28は、各チャンネルの映像データについて換算情報を作成する。これにより、複数のチャンネルの映像データ間で、同じ撮影時刻に撮影されたストリームファイルを特定し、あるチャンネルの再生中にチャンネルが切り替えられた場合、切り替え後のチャンネルのストリームファイルのうち、同じ撮影時刻に撮影されたストリームファイルを再生することが可能となる。具体的には、チャンネル切り替え前の映像データの換算情報に基づき、切り替え前の映像データの切り替え時点における再生時間に対応する撮影時刻を特定する。そして、チャンネル切り替え後の映像データの換算情報に基づき、切り替え後の映像データにおける当該撮影時刻に対応する再生時間を特定し、特定された再生時間から切り替え後のストリームファイルを再生する。これにより、チャンネル切り替え前と切り替え後とで、同じ撮影時刻のストリームファイルが再生されることになる。例えば、チャンネルAの映像データの再生中にチャンネルがチャンネルBに切り替えられた場合、チャンネルAの映像データの再生時間を、チャンネルAの換算情報に基づき撮影時刻に換算する。そして、チャンネルBの換算情報を参照することで、当該撮影時刻に対応する再生時間を特定し、特定された再生時間を含む時間帯のクリップファイルを特定し、そのクリップファイルに対応するストリームファイルを読み込んで再生する。これにより、チャンネルAをチャンネルBに切り替えた時に、再生されていたチャンネルAのストリームファイルと同じ撮影時刻に撮影されたチャンネルBのストリームファイルを再生することが可能となる。
The conversion
復号プログラム作成部32は、ストリームファイル、クリップファイル及びパスワードに基づき、Java(登録商標)アプリケーション(以下、「復号プログラム」と称する)を作成して書込部36に出力する。この復号プログラムは、複数チャンネルのストリームファイルを復号するプログラムであり、再生装置50にて再生が指示されたチャンネルのストリームファイルを復号して再生するためのプログラムである。パスワードは、暗号化部24で暗号化する際に用いられたパスワードであり、復号の際に用いられるパスワードである。なお、以下の説明では、再生装置50にて再生が指示されたチャンネルを、「再生中のチャンネル」と称する場合がある。
The decryption
先行処理プログラム作成部34は、ストリームファイル、クリップファイル及びパスワードに基づき、Java(登録商標)アプリケーション(以下、「先行処理プログラム」と称する)を作成して書込部36に出力する。この先行処理プログラムは、複数チャンネルのストリームファイルを復号するプログラムであり、再生装置50にて再生が指示されていないチャンネルであって優先的な復号処理の対象となっているチャンネルのストリームファイルを、先行して復号するためのプログラムである。例えば、先行処理プログラムは、再生装置50にて再生が指示されていないチャンネルのうち、再生中のチャンネルの次に選択され得るチャンネルのストリームファイルを、他のチャンネルのストリームファイルに優先して復号する。その際、先行処理プログラムは、再生中のチャンネルの換算情報に基づき、再生中のチャンネルの再生時間に対応する撮影時刻を特定し、先行処理対象のチャンネルの換算情報を参照することで、当該撮影時刻を先行処理対象のチャンネルの再生時間に換算し、換算後の再生時間を含む時間帯のクリップファイルに対応するストリームファイルを復号する。
The advance processing
例えば図4に示すように、復号プログラムは、再生装置50にて再生が指示されたチャンネル(再生中のチャンネル)の映像データを可搬性記録媒体40(BD−ROM)から取り込み、当該映像データを復号して出力する。復号プログラムによって復号された映像データは、再生装置50にて再生される。一方、先行処理プログラムは、再生中のチャンネルとは別のチャンネルであって先行処理対象のチャンネルの映像データを可搬性記録媒体40(BD−ROM)から取り込み、当該映像データを復号して出力する。先行処理プログラムによって復号された映像データは、チャンネル切り替えに備えて再生装置50に記憶される。なお、復号プログラム及び先行処理プログラムは、1つのプログラムによって構成されていてもよいし、それぞれ別々のプログラムであってもよい。
For example, as shown in FIG. 4, the decoding program takes in video data of a channel (playing channel) for which playback is instructed by the
書込部36は、図2に示されたディレクトリ構造に従って各ファイルをそれぞれのディレクトリに格納し、可搬性記録媒体40(BD−ROM)に書き込む。但し、本実施形態では上記のように、ストリームファイルの一部又は全部が暗号化された上でSTREAMディレクトリではなくJARディレクトリに格納される。なお、書込部36は、プレイリストファイル及びクリップファイルもJARディレクトリに格納してもよい。
The
(第1動作例)
次に、本実施形態におけるストリームファイルの暗号化処理及び復号処理について詳細に説明する。まず、第1動作例として、再生装置50にてUp/Downボタン等でチャンネルを順番に切り替える場合について説明する。例えば図5に示すように、チャンネルCh1の映像データを再生装置50で再生中に、ユーザが入力デバイスを操作してUpボタンを1回押下すると、チャンネルCh2が選択されてチャンネルCh2の映像データが再生装置50で再生される。さらにUpボタンが1回押下されると、チャンネルCh3が選択されてチャンネルCh3の映像データが再生装置50で再生される。一方、チャンネルCh3の映像データを再生装置50で再生中に、ユーザが入力デバイスを操作してDownボタンを1回押下すると、チャンネルCh2が選択されてチャンネルCh2の映像データが再生装置50で再生される。さらにDownボタンが1回押下されると、チャンネルCh1が選択されてチャンネルCh1の映像データが再生装置50で再生される。第1動作例では、一例として、チャンネルCh1〜Ch4の4つのチャンネルが存在する場合について説明する。
(First operation example)
Next, stream file encryption processing and decryption processing in the present embodiment will be described in detail. First, as a first operation example, a case will be described in which the
図6に、チャンネルCh1〜Ch4のクリップファイルの一例を示す。例えば、チャンネルCh1の映像データは、クリップファイルとして、
01000.clpi
01001.clpi
01002.clpi
01003.clpi
01004.clpi、・・・
を含み、図6には示されていないが、それらクリップファイルに対応するストリームファイルとして、
01000.m2ts
01001.m2ts
01002.m2ts
01003.m2ts
01004.m2ts、・・・
を含む。また、チャンネルCh1のプレイリストファイルを0001.mplsとする。チャンネルCh1の映像データを再生装置50で再生した場合、01000.clpi、01001.clpi、01002.clpi、・・・の順番でクリップファイルが再生される。すなわち、01000.m2ts、01001.m2ts、01002.m2ts、・・・の順番でストリームファイルが再生される。
FIG. 6 shows an example of a clip file of channels Ch1 to Ch4. For example, the video data of channel Ch1 is a clip file
01000. clpi
01001. clpi
01002. clpi
01003. clpi
01004. clpi, ...
Although not shown in FIG. 6, as stream files corresponding to these clip files,
01000. m2ts
01001. m2ts
01002. m2ts
01003. m2ts
01004. m2ts, ...
including. Also, the playlist file of channel Ch1 is saved as 0001. mpls. When the video data of the channel Ch1 is played back by the
同様に、チャンネルCh2の映像データは、クリップファイルとして、
02000.clpi
02001.clpi
02002.clpi
02003.clpi
02004.clpi、・・・
を含み、図6には示されていないが、それらクリップファイルに対応するストリームファイルとして、
02000.m2ts
02001.m2ts
02002.m2ts
02003.m2ts
02004.m2ts、・・・
を含む。また、チャンネルCh2のプレイリストファイルを0002.mplsとする。このチャンネルCh2の映像データを再生装置50で再生した場合、02000.m2ts、02001.m2ts、02002、m2ts、・・・の順番でストリームファイルが再生される。
Similarly, the video data of channel Ch2 is a clip file,
02000. clpi
02001. clpi
02002. clpi
02003. clpi
02004. clpi, ...
Although not shown in FIG. 6, as stream files corresponding to these clip files,
02000. m2ts
02001. m2ts
02002. m2ts
02003. m2ts
02004. m2ts, ...
including. Also, the playlist file of channel Ch2 is set to 0002. mpls. When the video data of this channel Ch2 is played back by the
チャンネルCh3,Ch4の映像データも、それぞれクリップファイルとストリームファイルとを含む。また、チャンネルCh3のプレイリストファイルを0003.mplsとし、チャンネルCh4のプレイリストファイルを0004.mplsとする。 The video data of channels Ch3 and Ch4 also includes a clip file and a stream file, respectively. Also, the playlist file of channel Ch3 is stored in 0003. mpls, and the playlist file of channel Ch4 is 0004. mpls.
図7に、第1動作例におけるディレクトリ及びファイル構造を示す。本来であれば、プレイリストファイルはPLAYLISTディレクトリに格納され、クリップファイルはCLIPINFOディレクトリに格納され、ストリームファイルはSTREAMディレクトリに格納される。本実施形態では、書込部36は、それらのファイルを、JARディレクトリ下のDATAディレクトリの下に格納する。
FIG. 7 shows the directory and file structure in the first operation example. Originally, the playlist file is stored in the PLAYLIST directory, the clip file is stored in the CLIPINFO directory, and the stream file is stored in the STREAM directory. In the present embodiment, the
例えば、書込部36は、チャンネルCh1のプレイリストファイルである、
0001.mpls
をDATAディレクトリの下に格納する。
For example, the
0001. mpls
Are stored under the DATA directory.
また、書込部36は、チャンネルCh1のクリップファイルである、
01000.clpi
01001.clpi
01002.clpi、・・・
をDATAディレクトリの下に格納する。
The
01000. clpi
01001. clpi
01002. clpi, ...
Are stored under the DATA directory.
また、入力されたパスワードに基づき、ストリームファイルを暗号化部24で暗号化する。例えば、チャンネルCh1のストリームファイルである、
01000.m2ts
01001.m2ts
01002.m2ts、・・・
を暗号化し、これらをDATAディレクトリの下に
stb100
stb101
stb102、・・・
として格納する。
Further, the
01000. m2ts
01001. m2ts
01002. m2ts, ...
And stb100 under the DATA directory
stb101
stb102,...
Store as.
同様に、書込部36は、チャンネルCh2のプレイリストファイルである、
0002.mpls
をDATAディレクトリの下に格納する。
Similarly, the
0002. mpls
Are stored under the DATA directory.
また、書込部36は、チャンネルCh2のクリップファイルである、
02000.clpi
02001.clpi
02002.clpi、・・・
をDATAディレクトリの下に格納する。
The
02000. clpi
02001. clpi
02002. clpi, ...
Are stored under the DATA directory.
また、暗号化部24は、入力されたパスワードに基づき、チャンネルCh2のストリームファイルである、
02000.m2ts
02001.m2ts
02002.m2ts、・・・
を暗号化し、書込部36は、これらをDATAディレクトリの下に、
stb200
stb201
stb202、・・・
として格納する。
The
02000. m2ts
02001. m2ts
02002. m2ts, ...
The
stb200
stb201
stb202, ...
Store as.
同様に、書込部36は、チャンネルCh3のプレイリストファイルである、
0003.mpls
をDATAディレクトリの下に格納する。
Similarly, the
0003. mpls
Are stored under the DATA directory.
また、書込部36は、チャンネルCh3のクリップファイルである、
03000.clpi
03001.clpi
03002.clpi、・・・
をDATAディレクトリの下に格納する。
The
03000. clpi
03001. clpi
03002. clpi, ...
Are stored under the DATA directory.
また、暗号化部24は、入力されたパスワードに基づき、チャンネルCh3のストリームファイルである、
03000.m2ts
03001.m2ts
03002.m2ts、・・・
を暗号化し、書込部36は、これらをDATAディレクトリの下に、
stb300
stb301
stb302、・・・
として格納する。
The
03000. m2ts
03001. m2ts
03002. m2ts, ...
The
stb300
stb301
stb302, ...
Store as.
同様に、チャンネルCh4のファイルも、DATAディレクトリの下に格納される。 Similarly, the file of channel Ch4 is also stored under the DATA directory.
また、書込部36は、換算情報である、
換算情報.xml
をJARディレクトリの下に格納し、
Java(登録商標)アプリケーションである、
00000.jar
をJARディレクトリの下に格納する。従って、復号プログラム及び先行処理プログラムは、JARディレクトリの下に格納される。なお、換算情報.xmlについては、このファイル名に限らず別のファイル名を用いてもよいし、ファイル形式もXMLに限らず別のファイル形式を用いてもよい。
The
Conversion information. xml
Is stored under the JAR directory,
Java (registered trademark) application,
00000. jar
Are stored under the JAR directory. Therefore, the decoding program and the preceding processing program are stored under the JAR directory. Conversion information. For xml, not only this file name but also another file name may be used, and the file format is not limited to XML, and another file format may be used.
以上のようにしてストリームファイルを暗号化してSTREAMディレクトリからJARディレクトリ下のDATAディレクトリに移動して格納すると、このままでは汎用の再生装置50では元の映像を再生することができない。このため、本実施形態では、復号プログラムとBD−ROM規格において定められているVFSを利用して汎用の再生装置50での再生を可能としている。
If the stream file is encrypted as described above, moved from the STREAM directory to the DATA directory under the JAR directory, and stored, the general-
図8にVFSの概念図を示す。VFSは、BD−ROM内のファイルと、再生装置50内のローカルストレージのデータエリア(Binding Unit Data Area:BUDA)内に保存されたファイルとを組み合わせ、1つの仮想的なディスクパッケージを見立ててコンテンツを更新する仕組みである。
FIG. 8 shows a conceptual diagram of VFS. VFS combines a file in the BD-ROM and a file stored in a data area (Binding Unit Data Area: BUDA) of the local storage in the
図8(a)はBD−ROM内のファイル構造であり、上述したように、PLAYLISTディレクトリ、CLIPINFOディレクトリ、STREAMディレクトリ及びJARディレクトリが存在する。一方、図8(b)はBUDA内のファイル構造であり、同様に、PLAYLISTディレクトリ、CLIPINFOディレクトリ、STREAMディレクトリ及びJARディレクトリが存在する。VFSでは、Binding Unit Manifest File(BUMF)というXLMファイルで、更新するファイルのマッピングを定義する。すなわち、BD−ROM内のファイルとBUDA内のファイルとを組み合わせた新たなファイルを定義する。 FIG. 8A shows a file structure in the BD-ROM. As described above, there are a PLAYLIST directory, a CLIPINFO directory, a STREAM directory, and a JAR directory. On the other hand, FIG. 8B shows a file structure in BUDA. Similarly, a PLAYLIST directory, a CLIPINFO directory, a STREAM directory, and a JAR directory exist. In VFS, the mapping of the file to be updated is defined by an XLM file called Binding Unit Manifest File (BUMF). That is, a new file is defined by combining a file in the BD-ROM and a file in the BUDA.
図8(c)に、BD−ROM内のファイルとBUDA内のファイルとを組み合わせたVirtual Packageのファイル構造を示す。PLAYLISTディレクトリには、BD−ROM内のPLAYLISTディレクトリに格納されていたプレイリストファイル00001.mplsと、BUDA内のPLAYLISTディレクトリに格納されていたプレイリストファイル00002.mplsとが組み合わされ、
00001.mpls
00002.mpls
の2つのファイルが格納される。
FIG. 8C shows a file structure of a virtual package in which a file in the BD-ROM and a file in the BUDA are combined. In the PLAYLIST directory, the playlist file 00001.001 stored in the PLAYLIST directory in the BD-ROM is stored. mpls and the
00001. mpls
00002. mpls
These two files are stored.
同様に、CLIPINFOディレクトリには、BD−ROM内のCLIPINFOディレクトリに格納されていたクリップファイル00001.clpiと、BUDA内のCLIPINFOディレクトリに格納されていたクリップファイル00002.clpiとが組み合わされ、
00001.clpi
00002.clpi
の2つのファイルが格納される。
Similarly, in the CLIPINFO directory, the clip files 00001.001 stored in the CLIPINFO directory in the BD-ROM are stored. clpi and the
00001. clpi
00002. clpi
These two files are stored.
同様に、STREAMディレクトリには、BD−ROM内のSTREAMディレクトリに格納されていたストリームファイル00001.m2tsと、BUDA内のSTREAMディレクトリに格納されていたストリームファイル00002.m2tsとが組み合わされ、
00001.m2ts
00002.m2ts
の2つのファイルが格納される。
Similarly, in the STREAM directory, the stream files 00001.0 stored in the STREAM directory in the BD-ROM are stored. m2ts and the
00001. m2ts
00002. m2ts
These two files are stored.
また、JARディレクトリには、BD−ROM内のJARディレクトリに格納されていたJava(登録商標)アプリケーションファイル00001.jarと、BUDA内のJARディレクトリに格納されていたJava(登録商標)アプリケーションファイル00002.jarとが組み合わされ、
00001.jar
00002.jar
の2つのファイルが格納される。
In the JAR directory, the Java (registered trademark)
00001. jar
00002. jar
These two files are stored.
なお、BD−ROM内のファイル名とBUDA内のファイル名とが同一である場合、2つを組み合わせる結果、BD−ROM内のファイルがBUDA内のファイルで置換されることでコンテンツがアップデートされる。 If the file name in the BD-ROM is the same as the file name in the BUDA, the content is updated by replacing the files in the BD-ROM with the files in the BUDA as a result of combining the two. .
このようなVFSにおいて、Virtual Packageの各ディレクトリに着目すると、BD−ROM内の各ディレクトリにファイルが存在していなくても、BUDA内の各ディレクトリにファイルが存在していれば、Virtual Package内の各ディレクトリにはファイルが存在することがわかる。例えば、STREAMディレクトリに着目すると、BD−ROM内のSTREAMディレクトリにストリームファイルが存在していなくても、BUDA内のSTREAMディレクトリにストリームファイルが存在していれば、Virtual Package内のSTREAMディレクトリにはストリームファイルが存在することがわかる。これは、ネットワークからのダウンロードによるコンテンツの追加・更新を想定した仕組みである。本実施形態では、この仕組みを利用する。すなわち、暗号化されたストリームファイルの復号を行い、BUDA内のSTREAMディレクトリに格納することで、暗号化されたストリームファイルを再生可能としている。 In such a VFS, paying attention to each directory of the virtual package, even if a file does not exist in each directory in the BD-ROM, if a file exists in each directory in the BUDA, the file in the virtual package You can see that there are files in each directory. For example, focusing on the STREAM directory, even if there is no stream file in the STREAM directory in the BD-ROM, if there is a stream file in the STREAM directory in the BUDA, the stream is stored in the STREAM directory in the Virtual Package. You can see that the file exists. This is a mechanism that assumes content addition / update by downloading from the network. In this embodiment, this mechanism is used. In other words, the encrypted stream file is decrypted and stored in the STREAM directory in the BUDA, so that the encrypted stream file can be reproduced.
図9に、本実施形態の復号処理を模式的に示す。図9(a)に、暗号化された後のBD−ROMのファイル構造を示す。図7に示すファイル構造と同様に、JARディレクトリ下のDATAディレクトリに、各チャンネルのファイルが格納されている。このようなファイル構造を有するBD−ROMを汎用の再生装置50に装着すると、JARディレクトリに格納されたJava(登録商標)アプリケーションである復号プログラムが起動して、再生装置50のユーザにパスワードを要求する。入力されたパスワードが一致すると、復号プログラムは、JARディレクトリ下のDATAディレクトリに格納されたファイルのうち、再生装置50にて再生が指示されたチャンネルのファイルを抽出し、抽出したファイルを再生装置50のBUDA内の各ディレクトリに格納する。
FIG. 9 schematically shows the decoding process of this embodiment. FIG. 9A shows the file structure of the BD-ROM after encryption. Similar to the file structure shown in FIG. 7, the files of each channel are stored in the DATA directory under the JAR directory. When a BD-ROM having such a file structure is installed in a general-
例えば、再生装置50にてチャンネルCh1の再生が指示された場合、復号プログラムは、チャンネルCh1のプレイリストファイルである、
0001.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
For example, when playback of the channel Ch1 is instructed by the
0001. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、復号プログラムは、チャンネルCh1のクリップファイルである、
01000.clpi
01001.clpi
01002.clpi、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The decoding program is a clip file of channel Ch1.
01000. clpi
01001. clpi
01002. clpi, ...
Are sequentially extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in the BUDA.
また、復号プログラムは復号処理を開始し、チャンネルCh1の暗号化された
stb100
stb101
stb102、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、これらを復号した上でBUDA内のSTREAMディレクトリに格納する。
In addition, the decryption program starts the decryption process, and the encrypted stb100 of the channel Ch1.
stb101
stb102,...
Are sequentially extracted from the DATA directory of the BD-ROM, decoded and stored in the STREAM directory in BUDA.
また、先行処理プログラムは、再生中のチャンネルとは別のチャンネルであって先行処理対象のチャンネルのファイルをBD−ROMのDATAディレクトリから抽出し、復号を行った上で、抽出したファイルをBUDA内の対応するディレクトリに格納する。 In addition, the preceding processing program extracts a file of a channel that is a channel different from the channel being reproduced and is a subject of preceding processing from the DATA directory of the BD-ROM, performs decoding, and then extracts the extracted file in the BUDA Store in the corresponding directory.
図9(b)に、BUDA内のファイル構造を示す。BD−ROM内のJARディレクトリ下のDATAディレクトリに格納されているプレイリストファイル、クリップファイル及びストリームファイルが、BUDA内の対応するディレクトリに格納される様子を矢印で示す。本実施形態における復号処理は、入力されたパスワードに応じて、BD−ROM内のJARディレクトリ下のDATAディレクトリに格納された暗号化済みのストリームファイルを、復号した上でBUDA内のSTREAMディレクトリに移動する処理と表現することができる。なお、BD−ROMに書き込まれたファイルは消去することができないので、ファイルの移動とは、実際にはファイルをコピーしてBUDA内のディレクトリに格納することを意味する。 FIG. 9B shows the file structure in BUDA. An arrow indicates how playlist files, clip files, and stream files stored in the DATA directory under the JAR directory in the BD-ROM are stored in the corresponding directories in the BUDA. In the decryption process according to the present embodiment, the encrypted stream file stored in the DATA directory under the JAR directory in the BD-ROM is decrypted and moved to the STREAM directory in the BUDA according to the input password. It can be expressed as processing to do. Since the file written in the BD-ROM cannot be erased, the movement of the file means that the file is actually copied and stored in a directory in BUDA.
図10に、BD−ROM内のファイル構造とBUDA内のファイル構造とを組み合わせたVirtual Packageのファイル構造を示す。STREAMディレクトリには、BD−ROM内の各チャンネルのストリームファイルが格納されることになり、元の映像データを再生することが可能となる。 FIG. 10 shows the file structure of the Virtual Package in which the file structure in the BD-ROM and the file structure in the BUDA are combined. The stream file of each channel in the BD-ROM is stored in the STREAM directory, and the original video data can be reproduced.
ここで、復号プログラム及び先行処理プログラムの具体的な処理の流れについて説明する。例えば図5及び図6に示すように、再生装置50にてチャンネルCh2が選択されて再生の指示がなされているものとする。この場合、復号プログラムは、チャンネルCh2のプレイリストファイルである、
0002.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
Here, a specific processing flow of the decoding program and the preceding processing program will be described. For example, as shown in FIGS. 5 and 6, it is assumed that the
0002. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、復号プログラムは、チャンネルCh2のクリップファイルである、
02000.clpi
02001.clpi
02002.clpi、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The decoding program is a clip file of channel Ch2.
02000. clpi
02001. clpi
02002. clpi, ...
Are sequentially extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in the BUDA.
また、復号プログラムは、チャンネルCh2の暗号化された、
stb200
stb201
stb202、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、これらを復号した上でBUDA内のSTREAMディレクトリに格納する。これにより、BUDA内のSTREAMディレクトリには、チャンネルCh2のストリームファイルである、
02000.m2ts
02001.m2ts
02002.m2ts、・・・
が格納されることになる。
The decryption program is encrypted for channel Ch2.
stb200
stb201
stb202, ...
Are sequentially extracted from the DATA directory of the BD-ROM, decoded and stored in the STREAM directory in BUDA. As a result, the stream file of channel Ch2 is stored in the STREAM directory in BUDA.
02000. m2ts
02001. m2ts
02002. m2ts, ...
Will be stored.
再生装置50は、復号されたチャンネルCh2のストリームファイルを順番に再生する。例えば図6に示すように、再生装置50は、チャンネルCh2のクリップファイル02000.clpi、02001.clpi、02002.clpi、・・・にそれぞれ対応するストリームファイル02000.m2ts、02001.m2ts、02002.m2ts、・・・を順番に再生する。ここでは、一例として、クリップファイル02001.clpiに対応するストリームファイル02001.m2tsが再生されているものとする。
The
図5に示すように、チャンネルCh1,Ch3は、現在再生中のチャンネルCh2に隣接するチャンネルであり、チャンネルCh2が選択されている場合に、ユーザによってUpボタンが1回押下されるとチャンネルCh3が選択され、Downボタンが1回押下されるとチャンネルCh1が選択される状態となっている。すなわち、チャンネルCh2が選択されている状態においては、チャンネルCh1,Ch3のいずれかが他のチャンネルに比べて選択される可能性が高いと考えられる。そこで、先行処理プログラムは、チャンネルCh2が選択されている場合、チャンネルCh2の次にチャンネルCh1又はCh3が選択され得るとし、チャンネルCh1,Ch3のストリームファイルを先行して復号する。例えば、DownボタンよりもUpボタンを優先した場合、チャンネルCh2の次にチャンネルCh3が選択される可能性が一番高くなり、チャンネルCh1が選択される可能性が2番目に高くなる。なお、UpボタンよりもDownボタンを優先し、チャンネルCh2の次にチャンネルCh1が選択される可能性が一番高いとし、チャンネルCh3が選択される可能性が2番目に高いとしてもよい。 As shown in FIG. 5, the channels Ch1 and Ch3 are adjacent to the currently played channel Ch2, and when the channel Ch2 is selected, when the user presses the Up button once, the channel Ch3 is displayed. When the button is selected and the Down button is pressed once, the channel Ch1 is selected. That is, in the state where the channel Ch2 is selected, it is considered that one of the channels Ch1 and Ch3 is more likely to be selected than the other channels. Therefore, when the channel Ch2 is selected, the preceding processing program assumes that the channel Ch1 or Ch3 can be selected next to the channel Ch2, and decodes the stream files of the channels Ch1 and Ch3 in advance. For example, when the Up button is prioritized over the Down button, the channel Ch3 is most likely to be selected next to the channel Ch2, and the channel Ch1 is most likely to be selected. The Down button may be prioritized over the Up button, the channel Ch1 is most likely to be selected next to the channel Ch2, and the channel Ch3 is most likely to be selected second.
先行処理プログラムは、再生中のチャンネルCh2の換算情報に基づき、再生中のクリップファイル02001.clpiの再生時間に対応する撮影時刻を特定する。さらに、先行処理プログラムは、先行処理対象のチャンネルCh1,Ch3のうち、選択される可能性が一番高いチャンネルCh3の換算情報を参照することで、当該撮影時刻を先行処理対象のチャンネルCh3上の再生時間に換算し、換算後の再生時間を含む時間帯のクリップファイル03001.clpiに対応する暗号化済みファイルstb301を復号することで、ストリームファイル03001.m2tsを生成する。
Based on the conversion information of the channel Ch2 being played back, the preceding processing program reads the
そして、先行処理プログラムは、チャンネルCh3のプレイリストファイルである、
0003.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
The preceding processing program is a playlist file of channel Ch3.
0003. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、先行処理プログラムは、チャンネルCh3のクリップファイルである、
03001.clpi
をBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The preceding processing program is a clip file of channel Ch3.
03001. clpi
Are extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in BUDA.
また、先行処理プログラムは、復号されたストリームファイルである、
03001.m2ts
をBUDA内のSTREAMディレクトリに格納する。
The preceding processing program is a decoded stream file.
03001. m2ts
Are stored in the STREAM directory in BUDA.
そして、ストリームファイル03001.m2tsを生成した後、先行処理プログラムは、選択される可能性が2番目に高いチャンネルCh1の換算情報を参照することで、上記撮影時刻を先行処理対象のチャンネルCh1上の再生時間に換算し、換算後の再生時間を含む時間帯のクリップファイル01001.clpiに対応する暗号化済みファイルstb101を復号することで、ストリームファイル01001.m2tsを生成する。
The
そして、先行処理プログラムは、チャンネルCh1のプレイリストである、
0001.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
The preceding process program is a playlist for channel Ch1.
0001. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、先行処理プログラムは、チャンネルCh1のクリップファイルである、
01001.clpi
をBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The preceding processing program is a clip file of channel Ch1.
01001. clpi
Are extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in BUDA.
また、先行処理プログラムは、復号されたストリームファイルである、
01001.m2ts
をBUDA内のSTREAMディレクトリに格納する。
The preceding processing program is a decoded stream file.
01001. m2ts
Are stored in the STREAM directory in BUDA.
以降の処理を時間順に説明する。図6に示すように、チャンネルCh2のクリップファイル02001.clpiに対応するストリームファイル02001.m2tsの再生が終了すると、チャンネルが切り替えられなければ、チャンネルCh2のクリップファイル02002.clpiに対応する暗号化済みファイルstb202が復号プログラムによって復号され、ストリームファイル02002.m2tsが生成されて再生されることになる。この処理の流れは、BD規格通りである。この状態になると、先行処理プログラムは、先行処理対象のチャンネルCh3のクリップファイルのうち、再生中のチャンネルCh2のクリップファイル02002.clpiに時間的に対応するクリップファイル03002.clpiを特定し、クリップファイル03002.clpiに対応する暗号化済みファイルstb302を復号することで、ストリームファイル03002.m2tsを生成する。次に、先行処理プログラムは、先行処理対象のチャンネルCh1のクリップファイルのうち、再生中のチャンネルCh2のクリップファイル02002.clpiに時間的に対応するクリップファイル01002.clpiを特定し、クリップファイル01002.clpiに対応する暗号化済みファイルstb102を復号することで、ストリームファイル01002.m2tsを生成する。それ以降においても同様に、チャンネルが切り替えられるまで、復号プログラムによってチャンネルCh2のストリームファイルが順番に復号されて再生され、先行処理プログラムによってチャンネルCh1,Ch3のストリームファイルが復号され、チャンネル切り替えに備える。
Subsequent processing will be described in the order of time. As shown in FIG. 6, the
そして、チャンネルCh2からチャンネルCh1又はCh3に切り替えられると、その切り替え時の再生時間に対応するストリームファイルが再生される。例えば、チャンネルCh2のクリップファイル02001.clpiに対応するストリームファイル02001.m2tsが再生されているときにチャンネルCh3に切り替えられると、クリップファイル02001.clpiに時間的に対応するチャンネルCh3のクリップファイル03001.clpiが特定され、予め復号されたストリームファイル03001.m2tsが再生装置50にて再生されることになる。また、チャンネルCh2のストリームファイル02002.m2tsが再生されているときにチャンネルCh3に切り替えられると、クリップファイル02002.clpiに時間的に対応するチャンネルCh3のクリップファイル03002.clpiが特定され、予め復号されたストリームファイル03002.m2tsが再生装置50にて再生されることになる。
When the channel Ch2 is switched to the channel Ch1 or Ch3, a stream file corresponding to the playback time at the time of switching is played back. For example, the
一方、チャンネルCh2のストリームファイル02001.m2tsが再生されているときにチャンネルCh1に切り替えられると、クリップファイル02001.clpiに時間的に対応するチャンネルCh1のクリップファイル01001.clpiが特定され、予め復号されたストリームファイル01001.m2tsが再生装置50にて再生される。また、チャンネルCh2のストリームファイル02002.m2tsが再生されているときにチャンネルCh1に切り替えられると、クリップファイル02002.clpiに時間的に対応するチャンネルCh1のクリップファイル01002.clpiが特定され、予め復号されたストリームファイル01002.m2tsが再生装置50にて再生される。
On the other hand, the
以上のように、再生中のチャンネルに隣接するチャンネルのストリームファイルを先行して復号することで、チャンネル切り替えが行われたときに、切り替え後のチャンネルのストリームファイルをスムーズに再生することが可能となる。すなわち、再生中のチャンネルに隣接するチャンネルは次に選択される可能性が比較的高いため、当該隣接するチャンネルのストリームファイルを先行して復号することで、チャンネル切り替え後にスムーズにストリームファイルを再生することが可能となる。チャンネルを切り替えてからストリームファイルの復号を開始すると、その復号に要する時間分、ストリームファイルの再生が遅れるため、チャンネルを切り替えてからストリームファイルを再生するまでの間に遅れが生じる。本実施形態では、チャンネル切り替え後にストリームファイルの復号を開始するのではなく、選択される可能性が比較的高いチャンネルのストリームファイルを予め復号しておくことで、チャンネルを切り替えてからストリームファイルを再生するまでの間に遅れが生じず、チャンネル切り替え後にスムーズにストリームファイルを再生することが可能となる。その結果、複数のチャンネル間での映像データの切り替え時間を、先行処理を行わない場合と比べて短縮することが可能となる。 As described above, the stream file of the channel adjacent to the channel being played is decoded in advance, so that when the channel is switched, the stream file of the channel after switching can be played smoothly. Become. That is, since the channel adjacent to the channel being played is relatively likely to be selected next, the stream file is smoothly played after channel switching by decoding the stream file of the adjacent channel in advance. It becomes possible. When the decoding of the stream file is started after switching the channel, the reproduction of the stream file is delayed by the time required for the decoding, so that there is a delay between the switching of the channel and the reproduction of the stream file. In this embodiment, instead of starting the decoding of the stream file after switching the channel, the stream file of the channel that has a relatively high possibility of being selected is decoded in advance, so that the stream file is played after switching the channel. The stream file can be smoothly reproduced after the channel is switched without delay. As a result, it is possible to shorten the video data switching time between a plurality of channels compared to the case where the preceding process is not performed.
また、本実施形態では、換算情報を用いてチャンネルを切り替えるため、チャンネルを切り替えた場合に、同じ撮影時刻に撮影されたストリームファイルを再生することが可能となる。例えば、チャンネルをチャンネルCh1からチャンネルCh2に切り替えた場合、チャンネル切り替え時に再生されていたチャンネルCh1のストリームファイルの撮影時刻と同じ時刻に撮影されたチャンネルCh2のストリームファイルを再生することが可能となる。これにより、複数のカメラで撮影された映像を再生時に切り替える場合、同じ撮影時刻に別のカメラで撮影された映像が再生されることになる。 Further, in the present embodiment, since the channel is switched using the conversion information, it is possible to reproduce the stream file captured at the same shooting time when the channel is switched. For example, when the channel is switched from the channel Ch1 to the channel Ch2, it is possible to reproduce the stream file of the channel Ch2 captured at the same time as the capturing time of the stream file of the channel Ch1 that was reproduced at the time of channel switching. Thereby, when switching the video image | photographed with the several camera at the time of reproduction | regeneration, the image | video image | photographed with another camera at the same imaging | photography time will be reproduced | regenerated.
図11に、再生装置50の表示装置に表示される画面等を示す。BD−ROMを再生装置50に装着すると、JARディレクトリに格納された復号プログラムが起動し、パスワードの入力を要求する画面を表示装置に表示させる。この要求に応じ、ユーザがリモコン等の入力デバイスを操作してパスワードを入力すると、復号プログラムは、入力されたパスワードが暗号化時に用いられたパスワードと一致するか否か、又は暗号化時のパスワードに対応する復号パスワードであるか否かを判定する。入力されたパスワードが一致又は対応する場合、復号プログラム及び先行処理プログラムは、図9に示す復号処理を実行し、ストリームファイルを再生可能とする。すなわち、復号プログラムは、再生装置50にて再生が指示されたチャンネルについて復号処理を行い、先行処理プログラムは、復号プログラムの復号処理と並行して、優先的な復号処理対象となるチャンネルについて復号処理を行う。その後は、クリップファイルを順次再生していく。そして、ユーザが入力デバイスを操作してチャンネルを切り替えると、切り替え後のチャンネルの映像データが再生される。
FIG. 11 shows a screen displayed on the display device of the
入力されたパスワードが一致しない又は対応しない場合、復号プログラム及び先行処理プログラムは図9に示す復号処理を実行しない。この場合、再生装置50では元の映像を再生することができない。また、仮に第三者が可搬性記録媒体40を入手したとしても、STREAMディレクトリに完全なストリームファイルが存在しないため、これを直接開いても元の映像を再生することができない。従って、パスワードを入手した正規のユーザのみが再生装置50を用いて元の映像を再生することができ、映像コンテンツの保護が図られる。
If the input passwords do not match or do not correspond, the decryption program and the preceding process program do not execute the decryption process shown in FIG. In this case, the
また、復号プログラムは、先行して復号されたチャンネルのストリームファイルを再生するときに、そのチャンネルのストリームファイルを再生するためのパスワードを要求してもよい。すなわち、先行処理プログラムによって先行復号を行い、その先行復号されたストリームファイルを再生装置50に記憶させるが、チャンネルが切り替えられ、切り替え後のチャンネルのストリームファイルを再生するときに、そのチャンネルを再生するためのパスワードを要求してもよい。これにより、チャンネル切り替え後にスムーズにストリームファイルを再生することが可能になるとともに、各チャンネルの映像データの安全性が更に向上する。なお、再生用のパスワードは、例えば、ストリームファイルを暗号化する際に設定すればよい。
In addition, when playing back a stream file of a channel decoded in advance, the decoding program may request a password for playing back the stream file of that channel. That is, the preceding decoding is performed by the preceding processing program and the stream file decoded in advance is stored in the
(第2動作例)
次に、本実施形態におけるストリームファイルの暗号化処理及び復号処理の第2動作例について説明する。第2動作例では、例えばマルチチャンネル等の特定チャンネルを経由してチャンネル切り替えを行う場合について説明する。例えば図12に示すように、チャンネルCh0〜Ch4のうちのチャンネルCh0の映像データは、チャンネルCh1〜Ch4の映像データが予め合成されたマルチチャンネルの映像データである。一例として、チャンネル切り替えは次のように行われる。マルチチャンネルであるチャンネルCh0の映像データが再生装置50で再生されているときに、ユーザがカーソル等の入力デバイスを操作してチャンネルCh1〜Ch4のいずれかを選択すると、選択されたチャンネルの映像データが再生装置50で再生される。また、チャンネルCh1〜Ch4のいずれかの映像データが再生装置50で再生されているときに、ユーザが入力デバイスを操作してチャンネル切り替えを指示すると、マルチチャンネルであるチャンネルCh0の映像データが再生装置50で再生される。このように、マルチチャンネルであるチャンネルCh0を経由して、チャンネルCh0〜Ch4のチャンネル切り替えが行われる。
(Second operation example)
Next, a second operation example of stream file encryption processing and decryption processing according to this embodiment will be described. In the second operation example, a case where channel switching is performed via a specific channel such as a multi-channel will be described. For example, as shown in FIG. 12, the video data of the channel Ch0 among the channels Ch0 to Ch4 is multichannel video data in which the video data of the channels Ch1 to Ch4 is synthesized in advance. As an example, channel switching is performed as follows. When video data of multi-channel channel Ch0 is being played back by the
図13に、チャンネルCh0〜Ch4のクリップファイルの一例を示す。チャンネルCh1〜Ch4の映像データは、図6及び図7に示すファイルと同じファイルを含む。チャンネルCh0の映像データは、クリップファイルとして、例えば、
00000.clpi
00001.clpi
00002.clpi
00003.clpi
00004.clpi、・・・
を含み、図13には示されていないが、それらクリップファイルに対応するストリームファイルとして、
00000.m2ts
00001.m2ts
00002.m2ts
00003.m2ts
00004.m2ts、・・・
を含む。また、チャンネルCh0のプレイリストファイルを0000.mplsとする。
FIG. 13 shows an example of a clip file of channels Ch0 to Ch4. The video data of the channels Ch1 to Ch4 includes the same files as the files shown in FIGS. The video data of channel Ch0 is, for example, a clip file.
00000. clpi
00001. clpi
00002. clpi
00003. clpi
00004. clpi, ...
Although not shown in FIG. 13, as stream files corresponding to these clip files,
00000. m2ts
00001. m2ts
00002. m2ts
00003. m2ts
00004. m2ts, ...
including. Also, the playlist file of channel Ch0 is set to 0000. mpls.
図14(a)に、第2動作例におけるディレクトリ及びファイル構造を示す。第1動作例と同様に、書込部36は、各チャンネルのプレイリストファイル、クリップファイル及びストリームファイルを、JARディレクトリ下のDATAディレクトリの下に格納する。
FIG. 14A shows the directory and file structure in the second operation example. Similar to the first operation example, the
例えば、書込部36は、チャンネルCh0のプレイリストファイルである、
0000.mpls
をDATAディレクトリの下に格納する。
For example, the
0000. mpls
Are stored under the DATA directory.
また、書込部36は、チャンネルCh0のクリップファイルである、
00000.clpi
00001.clpi
00002.clpi、・・・
をDATAディレクトリの下に格納する。
The
00000. clpi
00001. clpi
00002. clpi, ...
Are stored under the DATA directory.
また、入力されたパスワードに基づき、ストリームファイルを暗号化部24で暗号化する。例えば、チャンネルCh0のストリームファイルである、
00000.m2ts
00001.m2ts
00002.m2ts、・・・
を暗号化し、これらをDATAディレクトリの下に
stb000
stb001
stb002、・・・
として格納する。
Further, the
00000. m2ts
00001. m2ts
00002. m2ts, ...
And stb000 these under the DATA directory
stb001
stb002, ...
Store as.
同様に、チャンネルCh1〜Ch4のファイルも、DATAディレクトリの下に格納される。また、換算情報、復号プログラム及び先行処理プログラムは、JARディレクトリの下に格納される。 Similarly, the files of channels Ch1 to Ch4 are also stored under the DATA directory. The conversion information, the decoding program, and the preceding processing program are stored under the JAR directory.
次に、図14を参照して、復号処理について説明する。図14(a)に示すようなファイル構造を有するBD−ROMを汎用の再生装置50に装着すると、JARディレクトリに格納されたJava(登録商標)アプリケーションである復号プログラムが起動して、再生装置50のユーザにパスワードを要求する。入力されたパスワードが一致すると、復号プログラムは、JARディレクトリ下のDATAディレクトリに格納されたファイルのうち、再生装置50にて再生が指示されたチャンネルのファイルを抽出し、抽出したファイルを再生装置50のBUDA内の各ディレクトリに格納する。
Next, the decoding process will be described with reference to FIG. When a BD-ROM having a file structure as shown in FIG. 14A is installed in a general-
例えば、再生装置50にてチャンネルCh0の再生が指示された場合、復号プログラムは、チャンネルCh0のプレイリストファイルである、
0000.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
For example, when playback of the channel Ch0 is instructed by the
0000. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、復号プログラムは、チャンネルCh0のクリップファイルである、
00000.clpi
00001.clpi
00002.clpi、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The decoding program is a clip file of channel Ch0.
00000. clpi
00001. clpi
00002. clpi, ...
Are sequentially extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in the BUDA.
また、復号プログラムは、復号処理を開始し、チャンネルCh0の暗号化された、
stb000
stb001
stb002、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、これらを復号した上でBUDA内のSTREAMディレクトリに格納する。
In addition, the decryption program starts the decryption process, and the encrypted channel Ch0 is encrypted.
stb000
stb001
stb002, ...
Are sequentially extracted from the DATA directory of the BD-ROM, decoded and stored in the STREAM directory in BUDA.
また、先行処理プログラムは、再生中のチャンネルとは別のチャンネルであって先行処理対象となるチャンネルのファイルを抽出し、復号した上で、抽出したファイルをBUDA内の各ディレクトリに格納する。 Further, the preceding processing program extracts a file of a channel that is a channel different from the channel being reproduced and is a target of preceding processing, decodes it, and stores the extracted file in each directory in BUDA.
図14(b)に、BUDA内のファイル構造を示す。BD−ROM内のJARディレクトリ下のDATAディレクトリに格納されているプレイリストファイル、クリップファイル及びストリームファイルが、BUDA内の対応するディレクトリに格納される様子を矢印で示す。 FIG. 14B shows a file structure in BUDA. An arrow indicates how playlist files, clip files, and stream files stored in the DATA directory under the JAR directory in the BD-ROM are stored in the corresponding directories in the BUDA.
図15に、BD−ROM内のファイル構造とBUDA内のファイル構造とを組み合わせたVirtual Packageのファイル構造を示す。STREAMディレクトリには、BD−ROM内の各チャンネルのストリームファイルが格納されることになり、元の映像データを再生することが可能となる。 FIG. 15 shows the file structure of the Virtual Package that combines the file structure in the BD-ROM and the file structure in the BUDA. The stream file of each channel in the BD-ROM is stored in the STREAM directory, and the original video data can be reproduced.
ここで、復号プログラム及び先行処理プログラムの具体的な処理の流れについて説明する。例えば図12及び図13に示すように、再生装置50にてチャンネルCh2が選択されて再生の指示がなされているものとする。この場合、復号プログラムは、チャンネルCh2のプレイリストファイルである、
0002.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
Here, a specific processing flow of the decoding program and the preceding processing program will be described. For example, as shown in FIGS. 12 and 13, it is assumed that the
0002. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、復号プログラムは、チャンネルCh2のクリップファイルである、
02000.clpi
02001.clpi
02002.clpi、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The decoding program is a clip file of channel Ch2.
02000. clpi
02001. clpi
02002. clpi, ...
Are sequentially extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in the BUDA.
また、復号プログラムは復号処理を開始し、チャンネルCh2の暗号化された、
stb200
stb201
stb202、・・・
を順番にBD−ROMのDATAディレクトリから抽出し、これらを復号した上でBUDA内のSTREAMディレクトリに格納する。これにより、BUDA内のSTREAMディレクトリには、チャンネルCh2のストリームファイルである、
02000.m2ts
02001.m2ts
02002.m2ts、・・・
が格納されることになる。
In addition, the decryption program starts the decryption process, and the encrypted channel Ch2 is encrypted.
stb200
stb201
stb202, ...
Are sequentially extracted from the DATA directory of the BD-ROM, decoded and stored in the STREAM directory in BUDA. As a result, the stream file of channel Ch2 is stored in the STREAM directory in BUDA.
02000. m2ts
02001. m2ts
02002. m2ts, ...
Will be stored.
再生装置50は、復号されたチャンネルCh2のストリームファイルを順番に再生する。例えば図13に示すように、再生装置50は、チャンネルCh2のクリップファイル02000.clpi、02001.clpi、02002.clpi、・・・にそれぞれ対応するストリームファイル02000.m2ts、02001.m2ts、02002.m2ts、・・・を順番に再生する。ここでは、一例として、クリップファイル02001.clpiに対応するストリームファイル02001.m2tsが再生されているものとする。
The
図12に示すように、チャンネル切り替えはマルチチャンネルであるチャンネルCh0を経由して行われるため、チャンネルCh2が選択されている場合、チャンネルCh0が他のチャンネルに比べて選択される可能性が高いと考えられる。そこで、先行処理プログラムは、チャンネルCh2が選択されている場合、チャンネルCh2の次にチャンネルCh0が選択され得るとし、チャンネルCh0のストリームファイルを先行して復号する。 As shown in FIG. 12, since channel switching is performed via multi-channel channel Ch0, when channel Ch2 is selected, channel Ch0 is more likely to be selected than other channels. Conceivable. Therefore, if the channel Ch2 is selected, the preceding processing program assumes that the channel Ch0 can be selected next to the channel Ch2, and decodes the stream file of the channel Ch0 in advance.
先行処理プログラムは、再生中のチャンネルCh2の換算情報に基づき、再生中のクリップファイル02001.clpiの再生時間に対応する撮影時刻を特定する。さらに、先行処理プログラムは、先行処理対象のチャンネルCh0の換算情報を参照することで、当該撮影時刻を先行処理対象のチャンネルCh0上の再生時間に換算し、換算後の再生時間を含む時間帯のクリップファイル00001.clpiに対応する暗号化済みファイルstb001を復号することで、ストリームファイル00001.m2tsを生成する。
Based on the conversion information of the channel Ch2 being played back, the preceding processing program reads the
そして、先行処理プログラムは、チャンネルCh0のプレイリストファイルである、
0000.mpls
をBD−ROMのDATAディレクトリから抽出し、BUDA内のPLAYLISTディレクトリに格納する。
The preceding processing program is a playlist file of channel Ch0.
0000. mpls
Are extracted from the DATA directory of the BD-ROM and stored in the PLAYLIST directory in the BUDA.
また、先行処理プログラムは、チャンネルCh0のクリップファイルである、
00001.clpi
をBD−ROMのDATAディレクトリから抽出し、BUDA内のCLIPINFOディレクトリに格納する。
The preceding processing program is a clip file of channel Ch0.
00001. clpi
Are extracted from the DATA directory of the BD-ROM and stored in the CLIPINFO directory in BUDA.
また、先行処理プログラムは、復号されたストリームファイルである、
00001.m2ts
をBUDA内のSTREAMディレクトリに格納する。
The preceding processing program is a decoded stream file.
00001. m2ts
Are stored in the STREAM directory in BUDA.
以降の処理を時間順に説明する。図13に示すように、チャンネルCh2のクリップファイル02001.clpiに対応するストリームファイル02001.m2tsの再生が終了すると、チャンネルが切り替えられなければ、チャンネルCh2のクリップファイル02002.clpiに対応する暗号化済みファイルstb202が復号プログラムによって復号され、ストリームファイル02002.m2tsが生成されて再生されることになる。この処理の流れは、BD規格通りである。この状態になると、先行処理プログラムは、先行処理対象のチャンネルCh0のクリップファイルのうち、再生中のチャンネルCh2のクリップファイル02002.clpiに時間的に対応するクリップファイル00002.clpiを特定し、クリップファイル00002.clpiに対応する暗号化済みファイルstb002を復号することで、ストリームファイル00002.m2tsを生成する。それ以降においても同様に、チャンネルが切り替えられるまで、復号プログラムによってチャンネルCh2のストリームファイルが復号されて再生され、先行処理プログラムによってチャンネルCh0のストリームファイルが復号され、チャンネル切り替えに備える。
Subsequent processing will be described in the order of time. As shown in FIG. 13, the
そして、チャンネルがチャンネルCh2からチャンネルCh0に切り替えられると、その切り替え時の再生時間に対応するストリームファイルが再生される。例えば、チャンネルCh2のクリップファイル02001.clpiに対応するストリームファイル02001.m2tsが再生されているときにチャンネルCh0に切り替えられると、クリップファイル02001.clpiに時間的に対応するチャンネルCh0のクリップファイル00001.clpiが特定され、予め復号されたストリームファイル00001.m2tsが再生装置50にて再生されることになる。また、チャンネルCh2のクリップファイル02002.clpiに対応するストリームファイル02002.m2tsが再生されているときにチャンネルCh0に切り替えられると、クリップファイル02002.clpiに時間的に対応するチャンネルCh0のクリップファイル00002.clpiが特定され、予め復号されたストリームファイル0002.m2tsが再生装置50にて再生されることになる。
When the channel is switched from channel Ch2 to channel Ch0, a stream file corresponding to the playback time at the time of switching is played back. For example, the
以上のように、チャンネル切り替えの経由地点となるマルチチャンネル(チャンネルCh0)を先行して復号することで、チャンネル切り替えが行われたときに、切り替え後のチャンネルCh0のストリームファイルをスムーズに再生することが可能となる。すなわち、チャンネル切り替えの経由地点となるマルチチャンネルは次に選択される可能性が比較的高いため、マルチチャンネルのストリームファイルを先行して復号することで、チャンネルを切り替えてからストリームファイルを再生するまでの間に遅れが生じず、チャンネル切り替え後にスムーズにストリームファイルを再生することが可能となる。その結果、複数のチャンネル間での映像データの切り替え時間を、先行処理を行わない場合と比べて短縮することが可能となる。 As described above, by decoding the multi-channel (channel Ch0) that is the transit point of the channel switching in advance, when the channel is switched, the stream file of the channel Ch0 after the switching is smoothly reproduced. Is possible. In other words, since there is a relatively high possibility that the multi-channel that becomes the waypoint for channel switching will be selected next, the multi-channel stream file is decoded in advance, so that the stream file is played after the channel is switched. The stream file can be reproduced smoothly after the channel is switched. As a result, it is possible to shorten the video data switching time between a plurality of channels compared to the case where the preceding process is not performed.
また、換算情報を用いてチャンネルを切り替えるため、チャンネルを切り替えた場合に、同じ撮影時刻に撮影されたストリームファイルを再生することが可能となる。第2動作例では、チャンネルをチャンネルCh1〜Ch4のいずれかからチャンネルCh0に切り替えた場合、チャンネル切り替えの前後で、同じ撮影時刻に撮影されたストリームファイルを再生することが可能となる。 In addition, since the channel is switched using the conversion information, when the channel is switched, it is possible to play back a stream file shot at the same shooting time. In the second operation example, when the channel is switched from any one of the channels Ch1 to Ch4 to the channel Ch0, it is possible to reproduce a stream file shot at the same shooting time before and after the channel switching.
なお、上述した第1及び第2動作例以外の方法によってチャンネルに優先順位を付け、その優先順位に従い、先行して復号を行うようにしてもよい。例えば、各チャンネルについて選択される確率を経験則等に基づいて求め、その確率が高い順に優先順位を付けてもよい。この場合、先行処理プログラムは、確率に基づく優先順位に従い、再生されていないチャンネルのうち、確率(優先順位)が高いチャンネルのストリームファイルから順番に復号する。 Note that priorities may be assigned to channels by methods other than the first and second operation examples described above, and decoding may be performed in advance according to the priorities. For example, the probability of selection for each channel may be obtained based on an empirical rule, and priorities may be assigned in descending order of the probability. In this case, according to the priority order based on the probability, the preceding processing program sequentially decodes the stream files of the channels with the highest probability (priority order) among the channels that are not reproduced.
また、再生中の特定チャンネルの次に選択される確率を、経験則等に基づき、特定チャンネル以外の各チャンネルについて求め、その確率が高い順に優先順位を付けてもよい。この場合、先行処理プログラムは、確率に基づく優先順位に従い、再生されていないチャンネルのうち、確率(優先順位)が高いチャンネルのストリームファイルから順番に復号する。一例として、チャンネルCh1〜Ch4が存在する場合について説明する。再生中のチャンネルCh1の次に選択される確率を、チャンネルCh2〜Ch4のそれぞれについて求める。同様に、再生中のチャンネルCh2の次に選択される確率を、チャンネルCh1,Ch3,Ch4のそれぞれについて求める。同様に、再生中のチャンネルCh3の次に選択される確率を、チャンネルCh1,Ch2,Ch4のそれぞれについて求める。同様に、再生中のチャネルCh4の次に選択される確率を、チャンネルCh1〜Ch3のそれぞれについて求める。そして、例えばチャネルCh1が再生されているとき、先行処理プログラムは、チャンネルCh2〜Ch4のうち、確率(優先順位)が高いチャンネルのストリームファイルから順番に復号する。チャンネルCh1以外のチャンネルが再生されているときも同様の処理を行うことで、再生されていないチャンネルのストリームファイルを先行して復号する。 Further, the probability of being selected next to the specific channel being played back may be obtained for each channel other than the specific channel based on empirical rules, and priorities may be given in descending order of the probability. In this case, according to the priority order based on the probability, the preceding processing program sequentially decodes the stream files of the channels with the highest probability (priority order) among the channels that are not reproduced. As an example, a case where channels Ch1 to Ch4 exist will be described. The probability of being selected next to the channel Ch1 being reproduced is obtained for each of the channels Ch2 to Ch4. Similarly, the probability of being selected next to the channel Ch2 being reproduced is obtained for each of the channels Ch1, Ch3 and Ch4. Similarly, the probability of being selected next to the channel Ch3 being reproduced is obtained for each of the channels Ch1, Ch2, and Ch4. Similarly, the probability of being selected next to the channel Ch4 being reproduced is obtained for each of the channels Ch1 to Ch3. For example, when the channel Ch1 is being reproduced, the preceding processing program sequentially decodes the stream files of the channels with the highest probability (priority) among the channels Ch2 to Ch4. When a channel other than the channel Ch1 is being reproduced, the same process is performed to decode the stream file of the channel not being reproduced in advance.
また、ユーザによって選択されたチャンネルの履歴を学習結果として再生装置50のメモリに記憶させてもよい。この場合、先行処理プログラムは学習結果を参照し、チャンネル選択の履歴に従ってストリームファイルの先行復号を行う。例えば監視映像を扱う場合、月単位又は週単位等のように一定期間ごとに可搬性記録媒体40が作成されることがある。また、監視映像を再生する場合、各月又は各週の可搬性記録媒体40でチャンネルを切り替える順番が同じような傾向になることがある。このような場合、学習結果を利用して先行復号することで、毎月又は毎週のように可搬性記録媒体40が入れ替わったとしても、各可搬性記録媒体40で同じように先行復号が行われ、複数のチャンネル間での映像データの切り替えがスムーズに行われる。そのため、ユーザの利便性が向上する。なお、選択されたチャンネルの組み合わせごとにメモリの記憶領域を分けて学習結果を記憶させてもよい。
Further, the history of the channel selected by the user may be stored in the memory of the
別の例として、書込部36は、相互に切り替えが発生する確率が他のチャンネルよりも高いチャンネルのファイルを、可搬性記録媒体40に並べて書き込んでもよい。例えば、Up/Downボタン等によってチャンネルCh1,Ch2,Ch3を順番に切り替える場合について説明する。この場合、UpボタンをDownボタンよりも優先すると、チャンネルCh1の次にチャンネルCh2が選択される可能性が高く、チャンネルCh2の次にチャンネルCh3が選択される可能性が高く、チャンネルCh3の次にチャンネルCh1が選択される可能性が高くなる。そこで、書込部36は、チャンネルCh1,Ch2,Ch3の順番で、撮影時刻が互いに対応するファイルを可搬性記録媒体40に並べて書き込む。例えば図16に示すチャンネルCh2のクリップファイル02001.clpiに注目すると、チャンネルCh2のクリップファイル02001.clpiの次に、撮影時刻が対応するチャンネルCh3のクリップファイル03001.clpiが選択される可能性が高い。また、チャンネルCh3のクリップファイル03001.clpiの次に、チャネルCh1のクリップファイル01002.clpiが選択される可能性が高く、クリップファイル01002.clpiの次に、チャンネルCh2のクリップファイル02002.clpiが選択される可能性が高い。従って、書込部36は、クリップファイル02001.clpi、クリップファイル03001.clpi、クリップファイル01002.clpi、クリップファイル02002.clpi、・・・を、その順番で可搬性記録媒体40に並べて書き込む。このように、相互に切り替えが発生する確率が高いチャンネルのファイルを可搬性記録媒体40に並べて書き込むことで、再生装置50にて先行復号を行う場合に、ヘッドの移動量が減少し、ファイル読み込みの効率が向上する。なお、図16には、1つのクリップファイルが可搬性記録媒体40の1ブロックに配置されているように示されているが、1クリップファイルを複数に切り分けて可搬性記録媒体40に書き込んでもよい。
As another example, the
10 映像サーバ、20 映像データ処理装置、22 エンコーダ、24 暗号化部、26 プレイリスト作成部、28 換算情報作成部、30 プログラム作成部、32 復号プログラム作成部、34 先行処理プログラム作成部、36 書込部、40 可搬性記録媒体、50 再生装置。 10 video server, 20 video data processing device, 22 encoder, 24 encryption unit, 26 playlist creation unit, 28 conversion information creation unit, 30 program creation unit, 32 decryption program creation unit, 34 preceding processing program creation unit, 36 Insert section, 40 portable recording medium, 50 playback device.
Claims (9)
複数チャンネルのストリームファイルを暗号化する暗号化手段と、
複数チャンネルのストリームファイルを復号するプログラムであって、再生装置にて再生が指示されたチャンネルのストリームファイルを復号して再生するとともに、再生が指示されていないチャンネルのストリームファイルを先行復号して再生装置に記憶させるプログラムを作成するプログラム作成手段と、
暗号化された複数チャンネルのストリームファイル及びプログラムを可搬性記録媒体に書き込む書込手段と、
を有することを特徴とする映像データ処理装置。 Encoding means for converting video data of multiple channels into a stream file;
An encryption means for encrypting a stream file of multiple channels;
A program for decoding a stream file of multiple channels, which decodes and plays back a stream file of a channel for which playback is instructed by a playback device, and plays back a stream file of a channel for which playback is not instructed A program creation means for creating a program to be stored in the apparatus;
Writing means for writing encrypted multi-channel stream files and programs to a portable recording medium;
A video data processing apparatus comprising:
前記プログラムは、再生が指示されていないチャンネルのうち、再生装置にて再生中のチャンネルの次に選択され得るチャンネルのストリームファイルを、他のチャンネルのストリームファイルに優先して復号する、
ことを特徴とする映像データ処理装置。 The video data processing apparatus according to claim 1,
The program decodes a stream file of a channel that can be selected next to a channel that is being played back by a playback device among channels that are not instructed to be played, in preference to stream files of other channels.
A video data processing apparatus.
前記プログラムは、複数チャンネルのうちの特定チャンネルを経由してチャンネルの切り替えが行われる場合、再生が指示されていないチャンネルのうち、前記特定チャンネルのストリームファイルを他のチャンネルのストリームファイルに優先して復号する、
ことを特徴とする映像データ処理装置。 The video data processing apparatus according to claim 2,
When the channel is switched via a specific channel among a plurality of channels, the program prioritizes the stream file of the specific channel over the stream files of other channels among the channels not designated for playback. Decrypt,
A video data processing apparatus.
前記プログラムは、再生が指示されていないチャンネルのストリームファイルのうち、再生装置にて再生中のストリームファイルの撮影時刻に対応する時刻に撮影されたストリームファイルを優先して復号する、
ことを特徴とする映像データ処理装置。 The video data processing apparatus according to any one of claims 1 to 3,
The program preferentially decodes the stream file shot at the time corresponding to the shooting time of the stream file being played back by the playback device among the stream files of the channels not designated for playback.
A video data processing apparatus.
前記プログラムは、先行復号対象のチャンネルの再生が指示され、そのチャンネルを再生するためのパスワードを受けた場合に、そのチャンネルのストリームファイルを再生する、
ことを特徴とする映像データ処理装置。 The video data processing device according to any one of claims 1 to 4,
When the program is instructed to reproduce the channel subject to preceding decoding and receives a password for reproducing the channel, the program reproduces the stream file of the channel.
A video data processing apparatus.
前記暗号化手段は、ストリームファイルを暗号化した上で、前記可搬性記録媒体の本来の格納ディレクトリとは異なるディレクトリに格納する、
ことを特徴とする映像データ処理装置。 The video data processing apparatus according to any one of claims 1 to 5,
The encryption means encrypts the stream file and stores it in a directory different from the original storage directory of the portable recording medium.
A video data processing apparatus.
前記プログラムは、本来の格納ディレクトリとは異なるディレクトリに格納されたストリームファイルを復号した上で、再生装置のローカルストレージの特定ディレクトリに格納する、
ことを特徴とする映像データ処理装置。 The video data processing apparatus according to claim 6,
The program decrypts the stream file stored in a directory different from the original storage directory, and then stores it in a specific directory in the local storage of the playback device.
A video data processing apparatus.
前記プログラムは、仮想ファイルシステムを用いてストリームファイルの再生を可能とする、
ことを特徴とする映像データ処理装置。 The video data processing apparatus according to any one of claims 1 to 7,
The program enables reproduction of a stream file using a virtual file system.
A video data processing apparatus.
複数チャンネルの映像データをストリームファイルに変換するステップと、
複数チャンネルのストリームファイルを暗号化するステップと、
複数チャンネルのストリームファイルを復号するプログラムであって、再生装置にて再生が指示されたプログラムのストリームファイルを復号して再生するとともに、再生が指示されていないチャンネルのストリームファイルを先行復号して再生装置に記憶させるプログラムを作成するステップと、
暗号化された複数チャンネルのストリームファイル及びプログラムを可搬性記録媒体に書き込むステップと、
を実行させることを特徴とする映像データ処理プログラム。 On the computer,
Converting the video data of multiple channels into a stream file;
Encrypting multi-channel stream files;
A program that decodes a stream file of multiple channels, decodes and plays back the stream file of the program that is instructed to be played by the playback device, and predecodes and plays the stream file of the channel that is not instructed to play Creating a program to be stored in the device;
Writing encrypted multi-channel stream files and programs to a portable recording medium;
A video data processing program characterized in that
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013025768A JP5921458B2 (en) | 2013-02-13 | 2013-02-13 | Video data processing apparatus and video data processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013025768A JP5921458B2 (en) | 2013-02-13 | 2013-02-13 | Video data processing apparatus and video data processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014155174A true JP2014155174A (en) | 2014-08-25 |
JP5921458B2 JP5921458B2 (en) | 2016-05-24 |
Family
ID=51576605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013025768A Active JP5921458B2 (en) | 2013-02-13 | 2013-02-13 | Video data processing apparatus and video data processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5921458B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11168701A (en) * | 1997-12-02 | 1999-06-22 | Toshiba Corp | Multi-screen display device |
JP2004297643A (en) * | 2003-03-28 | 2004-10-21 | Toshiba Corp | Signal processing apparatus and its control method |
JP2004303321A (en) * | 2003-03-31 | 2004-10-28 | Victor Co Of Japan Ltd | Recording/reproducing system for information recording medium, information recording medium, recording/reproducing method for information recording medium, and recording/reproducing program for information recording medium |
JP2008517536A (en) * | 2004-10-15 | 2008-05-22 | オープンティーヴィー,インク. | Faster change between channels |
-
2013
- 2013-02-13 JP JP2013025768A patent/JP5921458B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11168701A (en) * | 1997-12-02 | 1999-06-22 | Toshiba Corp | Multi-screen display device |
JP2004297643A (en) * | 2003-03-28 | 2004-10-21 | Toshiba Corp | Signal processing apparatus and its control method |
JP2004303321A (en) * | 2003-03-31 | 2004-10-28 | Victor Co Of Japan Ltd | Recording/reproducing system for information recording medium, information recording medium, recording/reproducing method for information recording medium, and recording/reproducing program for information recording medium |
JP2008517536A (en) * | 2004-10-15 | 2008-05-22 | オープンティーヴィー,インク. | Faster change between channels |
Also Published As
Publication number | Publication date |
---|---|
JP5921458B2 (en) | 2016-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101216070B1 (en) | Method and apparatus, recoding medium for reproducing a data recorded in recording medium using a Local storage | |
JP2008027473A (en) | Recording and reproducing device | |
KR100620332B1 (en) | Method and apparatus for recording a multi-component stream and a high-density recording medium having a multi-component stream recorded theron and reproducing method and apparatus of said recording medium | |
RU2360301C2 (en) | Recording medium with data structure for controlling main data and supplementary content data thereof and methods and devices for recording and playing back | |
WO2008018345A1 (en) | Information processing device, information processing method, and computer program | |
JP4779797B2 (en) | Information processing apparatus, information processing method, and computer program | |
CN106233389B (en) | Reproducting method, transcriber and recording medium | |
JP6064917B2 (en) | Information processing apparatus, information recording medium, information processing method, and program | |
JP4857895B2 (en) | Information processing apparatus, information processing method, and computer program | |
JP2006277389A (en) | Information recording medium, and reproduction device and reproduction method therefor | |
JP2008165872A (en) | Digital video reproducing device and reproducing method | |
JP5921458B2 (en) | Video data processing apparatus and video data processing program | |
JP6380542B2 (en) | Information processing apparatus, information recording medium, information processing method, and program | |
JP2006318589A (en) | Information recording device, information reproducing device, program and recording medium | |
JP5889099B2 (en) | Video data creation device | |
JP2006049988A (en) | Digital data recording and reproducing device | |
JP6607195B2 (en) | Information processing apparatus, information recording medium, information processing method, and program | |
JP2008301204A (en) | Reproducing device and reproducing method | |
JP2015153441A (en) | Information processor, information recording device, information recording medium, information processing method, and program | |
KR100813980B1 (en) | Apparatus for image processing and method thereof | |
JP2015167059A (en) | Information processor, information recording device, information recording medium, information processing method and program | |
JP4313394B2 (en) | Recording medium having recorded data structure for managing reproduction duration of still image, and recording / reproducing method and apparatus | |
JP2021052302A (en) | Picture reproduction device and picture reproduction method | |
JP2007087472A (en) | Information recording/reproducing device | |
JP2008271414A (en) | Stream data recording apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141209 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150723 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150804 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151208 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160114 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160315 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160412 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5921458 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |