JP2007011899A - An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. - Google Patents
An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. Download PDFInfo
- Publication number
- JP2007011899A JP2007011899A JP2005194374A JP2005194374A JP2007011899A JP 2007011899 A JP2007011899 A JP 2007011899A JP 2005194374 A JP2005194374 A JP 2005194374A JP 2005194374 A JP2005194374 A JP 2005194374A JP 2007011899 A JP2007011899 A JP 2007011899A
- Authority
- JP
- Japan
- Prior art keywords
- file
- document
- recording medium
- information
- documents
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
【課題】 映像データ用BD−ROMで新たにHTMLおよびスクリプトで記述したアプリケーションによる再生制御環境を導入するにあたって、通信サーバ上のHTMLファイルからディスク上のHTMLファイルへの文書遷移や、エラー時に提示するエラー画面を制作者が意図して構築できる仕組みが必要となる。
【解決手段】 起動種別毎の起動ファイル指定情報とコンテンツの構成情報と各ファイルのOffsetを記載したResource List Fileをアーカイブファイルに配置することで、復帰画面やエラー画面を容易にかつ短期間で提示することが可能である。
【選択図】 図42PROBLEM TO BE SOLVED: To introduce a document transition from an HTML file on a communication server to an HTML file on a disk or an error when introducing a reproduction control environment by an application described in HTML and script newly in a video data BD-ROM It is necessary to have a mechanism that allows the creator to construct an error screen intentionally.
By placing a Resource List File in which an activation file designation information for each activation type, content configuration information, and an offset of each file are placed in an archive file, a return screen and an error screen can be presented easily and in a short period of time. Is possible.
[Selection] FIG.
Description
本発明は、BD−ROM等、映像データを記録した情報記録媒体、その再生装置及び再生方法に関し、特に、映像データとプログラムとを含むコンテンツの開発にプログラミング環境を導入する場合の改良に関する。 The present invention relates to an information recording medium on which video data is recorded, such as a BD-ROM, and a playback apparatus and playback method thereof, and more particularly to an improvement in the case of introducing a programming environment to the development of content including video data and a program.
映像データを記録した情報記録媒体の代表格は、DVD(以下、SD−DVDまたは単にDVDと称する)である。以降、従来のDVDについて説明する。 A typical information recording medium on which video data is recorded is a DVD (hereinafter referred to as SD-DVD or simply DVD). Hereinafter, a conventional DVD will be described.
図1は、SD−DVDの構造を示した図である。図1の下段に示すように、DVDディスク上にはリードインからリードアウトまでの間に論理アドレス空間が設けられ、論理アドレス空間の先頭からファイルシステムのボリューム情報が記録され、続いて映像音声などのアプリケーションデータが記録されている。 FIG. 1 is a diagram showing the structure of an SD-DVD. As shown in the lower part of FIG. 1, a logical address space is provided on the DVD disc from lead-in to lead-out, and the volume information of the file system is recorded from the head of the logical address space, followed by video / audio, etc. Application data is recorded.
ファイルシステムとは、ISO9660やUDF(Universal Disc Format)のことであり、ディスク上のデータをディレクトリまたはファイルと呼ばれる単位で表現する仕組みである。日常使っているPC(パーソナルコンピュータ)の場合でも、FATまたはNTFSと呼ばれるファイルシステムを通すことにより、ディレクトリやファイルという構造でハードディスクに記録されたデータがコンピュータ上で表現され、ユーザビリティを高めている。 SD−DVDの場合、UDF及びISO9660両方を使用しており(両方を合わせて「UDFブリッジ」と呼ぶ事がある)、UDFまたはISO9660どちらのファイルシステムドライバによってもデータの読み出し(ここで取り扱うDVDはパッケージメディア用のROMディスクであり、物理的に書き込みが不可能である)ができるようになっている。 A file system is ISO9660 or UDF (Universal Disc Format), and is a mechanism for expressing data on a disk in units called directories or files. Even in the case of a personal computer (PC) that is used daily, data recorded on a hard disk in a directory or file structure is expressed on the computer by passing through a file system called FAT or NTFS, thereby improving usability. In the case of SD-DVD, both UDF and ISO9660 are used (sometimes referred to as “UDF bridge” together), and data is read by either UDF or ISO9660 file system drivers (DVDs handled here are This is a ROM disk for package media, and is physically unwritable).
DVD上に記録されたデータは、UDFブリッジを通して、図1左上に示すようなディレクトリまたはファイルとして見ることができる。ルートディレクトリ(図中「ROOT」)の直下に「VIDEO_TS」と呼ばれるディレクトリが置かれ、ここにDVDのアプリケーションデータが記録されている。アプリケーションデータは、複数のファイルとして記録され、主なファイルとして以下のものがある。 Data recorded on the DVD can be viewed as a directory or file as shown in the upper left of FIG. 1 through the UDF bridge. A directory called “VIDEO_TS” is placed directly under the root directory (“ROOT” in the figure), and DVD application data is recorded therein. Application data is recorded as a plurality of files, and the main files are as follows.
VIDEO_TS.IFO ディスク再生制御情報ファイル
VTS_01_0.IFO ビデオタイトルセット#1再生制御情報ファイル
VTS_01_0.VOB ビデオタイトルセット#1ストリームファイル
.....
拡張子として2つの種類が存在する。「IFO」は再生制御情報が記録されたファイルであって、「VOB」はAVデータであるMPEGストリームが記録されたファイルである。再生制御情報とは、DVDで採用されたインタラクティビティ(ユーザの操作に応じて再生を動的に変化させる技術)を実現するための情報や、メタデータのようなタイトルやAVストリームに付属する情報などのことである。また、DVDでは一般的に再生制御情報のことをナビゲーション情報と呼ぶことがある。
VIDEO_TS. IFO disc playback control information file VTS_01_0. IFO video title set # 1 playback control information file VTS_01_0. VOB video title set # 1 stream file. . . . .
There are two types of extensions. “IFO” is a file in which reproduction control information is recorded, and “VOB” is a file in which an MPEG stream that is AV data is recorded. The playback control information is information for realizing interactivity (technology for dynamically changing playback in accordance with user operations) adopted by DVD, information attached to titles and AV streams such as metadata. And so on. In DVD, generally, reproduction control information is sometimes referred to as navigation information.
再生制御情報ファイルは、ディスク全体を管理する「VIDEO_TS.IFO」と、個々のビデオタイトルセット(DVDでは複数のタイトル、言い換えれば異なる映画や異なるバージョンの映画を1枚のディスクに記録することが可能である。)毎の再生制御情報である「VTS_01_0.IFO」がある。ここで、ファイル名ボディにある「01」はビデオタイトルセットの番号を示しており、例えば、ビデオタイトルセット#2の場合は、「VTS_02_0.IFO」となる。 The playback control information file includes “VIDEO_TS.IFO” for managing the entire disc and individual video title sets (multiple titles for DVD, in other words, different movies and different versions of movies can be recorded on one disc. There is “VTS — 01 — 0.IFO” which is reproduction control information for each. Here, “01” in the file name body indicates the number of the video title set. For example, in the case of the video title set # 2, “VTS — 02 — 0.IFO”.
図1の右上部は、DVDのアプリケーション層でのDVDナビゲーション空間であり、前述した再生制御情報が展開された論理構造空間である。「VIDEO_TS.IFO」内の情報は、VMGI(VIDEO Manager Information)として、「VTS_01_0.IFO」または、他のビデオタイトルセット毎に存在する再生制御情報はVTSI(Video Title Set Information)としてDVDナビゲーション空間に展開される。 The upper right part of FIG. 1 is a DVD navigation space in the DVD application layer, which is a logical structure space in which the above-described reproduction control information is expanded. Information in “VIDEO_TS.IFO” is stored in the DVD navigation space as VMGI (VIDEO Manager Information), “VTS — 01 — 0.IFO”, or playback control information existing for each other video title set is stored in the DVD navigation space as VTSI (Video Title Set Information). Be expanded.
VTSIの中にはPGC(Program Chain)と呼ばれる再生シーケンスの情報であるPGCI(Program Chain Information)が記述されている。PGCIは、Cellの集合とコマンドと呼ばれる一種のプログラミング情報によって構成されている。Cell自身はVOB(Video Objectの略であり、MPEGストリームを指す)の一部区間または全部区間の集合であり、Cellの再生は、当該VOBのCellによって指定された区間を再生することを意味している。 In VTSI, PGCI (Program Chain Information), which is information of a reproduction sequence called PGC (Program Chain), is described. The PGCI is composed of a set of cells and a kind of programming information called a command. Cell itself is a set of a part or all of a VOB (which is an abbreviation of Video Object and indicates an MPEG stream), and playback of a cell means that a section specified by the cell of the VOB is played back. ing.
コマンドは、DVDの仮想マシンによって処理されるものであり、ブラウザ上で実行されるJava(登録商標)スクリプトなどに近いものである。しかしながらJava(登録商標)スクリプトが論理演算の他にウィンドウやブラウザの制御(例えば、新しいブラウザのウィンドを開くなど)を行うのに対して、DVDのコマンドは、論理演算の他にAVタイトルの再生制御、例えば、再生するチャプタの指定などを実行するだけのものである点で異なっている。 The command is processed by a DVD virtual machine and is similar to a Java (registered trademark) script executed on a browser. However, while Java (registered trademark) scripts control windows and browsers in addition to logical operations (for example, opening a new browser window), DVD commands play AV titles in addition to logical operations. It is different in that it only performs control, for example, specifying a chapter to be played back.
Cellはディスク上に記録されているVOBの開始及び終了アドレス(論理アドレス)をその内部情報として有しており、プレーヤは、Cellに記述されたVOBの開始及び終了アドレス情報を使ってデータの読み出し、再生を実行する。 The Cell has VOB start and end addresses (logical addresses) recorded on the disc as its internal information, and the player reads data using the VOB start and end address information described in the Cell. Execute playback.
図1はAVストリーム中に埋め込まれているナビゲーション情報を説明する概略図である。SD−DVDの特長であるインタラクティビティは前述した「VIDEO_TS.IFO」や「VTS_01_0.IFO」などに記録されているナビゲーション情報だけによって実現されているのではなく、幾つかの重要な情報はナビゲーション・パック(ナビパックまたは、NV_PCKと称する)と呼ばれる専用キャリアを使いVOB内に映像、音声データと一緒に多重化されている。 FIG. 1 is a schematic diagram for explaining navigation information embedded in an AV stream. The interactivity, which is the feature of SD-DVD, is not realized only by the navigation information recorded in the aforementioned “VIDEO_TS.IFO”, “VTS — 01 — 0.IFO”, etc. It is multiplexed together with video and audio data in a VOB using a dedicated carrier called a pack (called Navi pack or NV_PCK).
ここでは簡単なインタラクティビティの例としてメニューを説明する。メニュー画面上には、幾つかのボタンが現れ、夫々のボタンには当該ボタンが選択実行された時の処理が定義されている。また、メニュー上では一つのボタンが選択されており(ハイライトによって選択ボタン上に半透明色がオーバーレイされている)、ユーザは、リモコンの上下左右キーを使って、選択状態のボタンを上下左右の何れかのボタンに移動させることができる。リモコンの上下左右キーを使って、選択実行したいボタンまでハイライトを移動させ、決定する(決定キーを押す)ことによって対応するコマンドのプログラムが実行される。一般的には対応するタイトルやチャプタの再生がコマンドによって実行されている。 Here, a menu is described as an example of simple interactivity. Several buttons appear on the menu screen, and each button defines processing when the button is selected and executed. In addition, one button is selected on the menu (the highlight button has a translucent color overlaid on the selection button), and the user can use the up / down / left / right keys on the remote control to move the selected button up / down / left / right. It can be moved to any of the buttons. Using the up / down / left / right keys on the remote control, move the highlight to the button you want to select and execute, and press the enter key to execute the corresponding command program. In general, reproduction of a corresponding title or chapter is executed by a command.
図2の左上部はNV_PCK内の概要を示している。
NV_PCK内には、ハイライトカラー情報と個々のボタン情報などが含まれている。ハイライトカラー情報には、カラーパレット情報が記述され、オーバーレイ表示されるハイライトの半透明色が指定される。ボタン情報には、個々のボタンの位置情報である矩形領域情報と、当該ボタンから他のボタンへの移動情報(ユーザの上下左右キー操作夫々に対応する移動先ボタンの指定)と、ボタンコマンド情報(当該ボタンが決定された時に実行されるコマンド)が記述されている。
The upper left part of FIG. 2 shows an outline in NV_PCK.
NV_PCK includes highlight color information and individual button information. In the highlight color information, color palette information is described, and a semi-transparent color of the highlight displayed on the overlay is designated. The button information includes rectangular area information that is position information of each button, movement information from the button to another button (designation of a destination button corresponding to each of the user's up / down / left / right key operations), and button command information. (Command executed when the button is determined) is described.
メニュー上のハイライトは、図2の中央右上部に示すように、オーバーレイ画像として作られる。オーバーレイ画像は、ボタン情報の矩形領域情報にカラーパレット情報の色をつけた物である。このオーバーレイ画像は右部に示す背景画像と合成されて画面上に表示される。 The highlight on the menu is created as an overlay image as shown in the upper right part of the center of FIG. The overlay image is obtained by adding the color palette information color to the rectangular area information of the button information. This overlay image is combined with the background image shown on the right and displayed on the screen.
上述のようにして、DVDではメニューを実現している。また、何故、ナビゲーションデータの一部をNV_PCKを使ってストリーム中に埋め込んでいるのは、ストリームと同期して動的にメニュー情報を更新、例えば、映画再生中の途中5分〜10分の間にだけメニューが表示されるなど、同期タイミングが問題となりやすいアプリケーションの場合でも、問題なく実現できるようにしたためである。 As described above, the menu is realized in the DVD. The reason why a part of the navigation data is embedded in the stream using NV_PCK is that the menu information is dynamically updated in synchronization with the stream, for example, during 5 to 10 minutes during movie playback. This is because, even in the case of an application in which synchronization timing is likely to be a problem, such as a menu being displayed only on the screen, it can be realized without any problem.
図3は、DVDのVOBのイメージである。図に示すように、映像、音声、字幕などのデータ(A段)は、MPEGシステム(ISO/IEC13818−1)規格に基づいて、パケット及びパック化し(B段)、夫々を多重化して1本のMPEGプログラムストリームにしている(C段)。また、前述した通りインタラクティブを実現するためのボタンコマンドを含んだNV_PCKも一緒に多重化をされている。 FIG. 3 is an image of a DVD VOB. As shown in the figure, data (A stage) such as video, audio, subtitles, etc. is packetized and packed (B stage) based on the MPEG system (ISO / IEC13818-1) standard, and each is multiplexed into one. MPEG program stream (stage C). Further, as described above, NV_PCK including a button command for realizing interactive is also multiplexed together.
MPEGシステムの多重化の特徴は、多重化する個々のデータは、そのデコード順に基づくビット列になっているが、多重化されるデータ間、即ち、映像、音声、字幕の間は必ずしも再生順、言い換えればデコード順に基づいてビット列が形成されているわけではない。これはMPEGシステムストリームのデコーダモデル(一般にSystem Target Decoder、またはSTDと呼ばれる(図3のD段))が多重化を解いた後に個々のエレメンタリーストリームに対応するデコーダバッファを持ち、デコードタイミングまでに一時的にデータを蓄積している事に由来している。このデコーダバッファは、個々のエレメンタリーストリーム毎にサイズが異なり、映像に対しては、232kB、音声に対しては4kB、字幕に対しては52kBを夫々有している。このため、各デコーダバッファへのデータ入力タイミングは個々のエレメンタリストリームで異なるため、MPEGシステムストリームとしてビット列を形成する順番と表示(デコード)されるタイミングにずれが生じている。 The multiplexing feature of the MPEG system is that each data to be multiplexed is a bit string based on the decoding order, but between the multiplexed data, that is, between video, audio and subtitles, it is not necessarily the playback order, in other words For example, the bit string is not formed based on the decoding order. This is because the MPEG system stream decoder model (generally called System Target Decoder or STD (D stage in FIG. 3)) has a decoder buffer corresponding to each elementary stream after demultiplexing, and by the decoding timing It comes from temporarily accumulating data. This decoder buffer has a different size for each elementary stream, and has 232 kB for video, 4 kB for audio, and 52 kB for subtitles. For this reason, since the data input timing to each decoder buffer is different for each elementary stream, there is a difference between the order in which the bit string is formed as the MPEG system stream and the display (decoding) timing.
即ち、映像データと並んで多重化されている字幕データが必ずしも同一タイミングでデコードされているわけでは無い。 That is, subtitle data multiplexed side by side with video data is not necessarily decoded at the same timing.
かかるDVDの構成は、以下の特許文献1に記載されている。
ディスク外のHTMLファイルを提示している状態から、ディスク上のHTMLファイルへ文書遷移できなかった。また、文書遷移の際、次に提示するHTMLファイルの取得に失敗など、エラーが発生すると、既存HTMLブラウザは独自のエラー画面を提示する。そのため、制作者の意図した動作(例:一貫したデザインをエラー画面に適用したり、エラー後も継続してAVを再生するなど)を実現できなかった。 The document transition from the state of presenting the HTML file outside the disc to the HTML file on the disc could not be made. Also, when an error occurs such as failure in obtaining the next HTML file to be presented during document transition, the existing HTML browser presents a unique error screen. For this reason, the operation intended by the creator (eg, applying a consistent design to the error screen or continuously playing AV after the error) could not be realized.
一連の動作に関連するHTMLファイル、イメージファイルをまとめてコンテンツと呼び、起動、終了の単位として管理する。 HTML files and image files related to a series of operations are collectively referred to as content, and managed as a unit of activation and termination.
コンテンツは、複数のHTMLファイル、イメージファイル等のリソースをHTTP/1.1のエンティティ形式やZIP形式等で、アーカイブした1ファイルとして、ディスク上に配置し、コンテンツ内でのディレクトリ構造を実現するため、論理ツリー情報とファイル名、ファイルサイズ、Offset値を格納するリソースリストファイルを、コンテンツファイルの先頭に配置する。 Content is arranged on the disk as a single archived file of multiple HTML files, image files, etc. in HTTP / 1.1 entity format, ZIP format, etc., to realize a directory structure within the content The resource list file storing the logical tree information, the file name, the file size, and the Offset value is arranged at the head of the content file.
このリソースリストファイルの基本情報として、通常起動用HTMLファイル、ディスク外からディスク上のHTMLファイルへの文書遷移要求時に提示すべきHTMLファイル、エラー発生時に提示すべきHTMLファイル等の起動種別HTML指定を可能とする。 As basic information of this resource list file, normal start HTML file, HTML file to be presented at the time of document transition request from outside the disk to HTML file on the disk, HTML type to be presented when an error occurs, etc. Make it possible.
以上の仕組みにより、通常起動時、ディスク外からの文書遷移要求時、エラー発生時に、指定されたHTMLファイルを起動する。 With the above mechanism, the designated HTML file is activated at the normal activation, when a document transition request is made from outside the disk, or when an error occurs.
ネット上のHTMLファイルなど、ディスク外のHTMLファイル提示状態から、ディスク上のHTMLファイルへ遷移した場合に、元の画面提示状態や、ゲームなどの進捗状態を反映した画面を提示できる。また、通信サーバ上のHTML取得失敗など、エラー発生時に、制作者の意図に従って、エラーに対応した画面を提示したり、継続してAVを再生することができる。 When a transition from an HTML file presentation state outside the disc, such as an HTML file on the net, to an HTML file on the disc, a screen reflecting the original screen presentation state and the progress state of the game or the like can be presented. In addition, when an error occurs such as HTML acquisition failure on the communication server, a screen corresponding to the error can be presented or AV can be continuously played according to the intention of the producer.
(実施例1)
まず最初に本発明の第1の実施の形態について説明する。
(ディスク上の論理データ構造)
図4は、BD−ROM(以降、「BD」と称する場合もある)の構成、特にディスク媒体であるBDディスク(104)と、ディスクに記録されているデータ(101、102、103)の構成を示す図である。BDディスク(104)に記録されるデータは、AVデータ(103)と、AVデータに関する管理情報及びAV再生シーケンスなどのBD管理情報(102)と、インタラクティブを実現するBD再生プログラム(101)である。本実施の形態では、映画などのAVコンテンツを再生するためのAVアプリケーションを主眼においてのBDディスクの説明を行うが、BDディスクをCD−ROMやDVD−ROMの様にコンピュータ用途の記録媒体としてしようすることも当然のことながら可能である。
Example 1
First, a first embodiment of the present invention will be described.
(Logical data structure on disk)
FIG. 4 shows the structure of a BD-ROM (hereinafter also referred to as “BD”), in particular, the structure of a BD disk (104) as a disk medium and data (101, 102, 103) recorded on the disk. FIG. Data recorded on the BD disc (104) is AV data (103), BD management information (102) such as management information related to AV data and an AV playback sequence, and a BD playback program (101) that realizes interactive processing. . In the present embodiment, a BD disc will be described mainly with respect to an AV application for reproducing AV contents such as movies, but the BD disc will be used as a recording medium for computers such as a CD-ROM and a DVD-ROM. Of course, it is also possible.
図5は、上述したBDディスクに記録されている論理データを示した図である。BDディスクは、他の光ディスク、例えばDVDやCDなどと同様にその内周から外周に向けてらせん状に記録領域を持ち、内周のリード・インと外周のリード・アウトの間に論理データを記録できる論理アドレス空間を有している。また、リード・インの内側にはBCA(Burst Cutting Area)と呼ばれるドライブでしか読み出せない特別な領域がある。この領域はアプリケーションから読み出せないため、例えば著作権保護技術などに利用されることがよくある。 FIG. 5 is a diagram showing logical data recorded on the BD disc described above. A BD disc has a spiral recording area from the inner circumference to the outer circumference like other optical discs such as DVDs and CDs, and logical data is transferred between the inner lead-in and outer lead-out. It has a logical address space that can be recorded. Further, inside the lead-in, there is a special area that can be read only by a drive called BCA (Burst Cutting Area). Since this area cannot be read from an application, it is often used for copyright protection technology, for example.
論理アドレス空間には、ファイルシステム情報(ボリューム)を先頭に映像データなどのアプリケーションデータが記録されている。ファイルシステムとは従来技術で説明した通り、UDFやISO9660などのことであり、通常のPCと同じように記録されている論理データをディレクトリ、ファイル構造を使って読み出しする事が可能になっている。 Application data such as video data is recorded in the logical address space with file system information (volume) at the head. As described in the prior art, the file system is UDF, ISO9660 or the like, and logical data recorded in the same way as a normal PC can be read using a directory and file structure. .
本実施例の場合、BDディスク上のディレクトリ、ファイル構造は、ルートディレクトリ(ROOT)直下にBDVIDEOディレクトリが置かれている。このディレクトリはBD−ROMで扱うAVコンテンツや管理情報などのデータ(図4で説明した101、102、103)が記録されているディレクトリである。 In the case of this embodiment, the directory and file structure on the BD disc is a BDVIDEO directory placed directly under the root directory (ROOT). This directory is a directory in which data (101, 102, 103 described in FIG. 4) such as AV contents and management information handled by the BD-ROM is recorded.
BDVIDEOディレクトリの下には、次の7種類のファイルが記録されている。
BD.INFO(ファイル名固定)
「BD管理情報」の一つであり、BDディスク全体に関する情報を記録したファイルである。BDプレーヤは最初にこのファイルを読み出す。
The following seven types of files are recorded under the BDVIDEO directory.
BD. INFO (fixed file name)
This is one of “BD management information” and is a file in which information related to the entire BD disc is recorded. The BD player first reads this file.
BD.PROG(ファイル名固定)
「BD再生プログラム」の一つであり、BDディスク全体に関わるプログラムを記録したファイルである。
BD. PROG (fixed file name)
It is one of “BD playback programs” and is a file in which programs related to the entire BD disc are recorded.
XXX.PL(「XXX」は可変、拡張子「PL」は固定)
「BD管理情報」の一つであり、シナリオを記録するプレイリスト(Play List)情報を記録したファイルである。プレイリスト毎に1つのファイルを持っている。
XXX. PL ("XXX" is variable, extension "PL" is fixed)
It is one of “BD management information”, and is a file in which play list information for recording a scenario is recorded. I have one file per playlist.
XXX.PROG(「XXX」は可変、拡張子「PL」は固定)
「BD再生プログラム」の一つであり、前述したプレイリスト毎のプログラムを記録したファイルである。プレイリストとの対応はファイルボディ名(「XXX」が一致する)によって識別される。
XXX. PROG ("XXX" is variable, extension "PL" is fixed)
It is one of “BD playback programs” and is a file in which a program for each playlist described above is recorded. Correspondence with a playlist is identified by a file body name (“XXX” matches).
YYY.VOB(「YYY」は可変、拡張子「VOB」は固定)
「AVデータ」の一つであり、VOB(従来例で説明したVOBと同じ)を記録したファイルである。VOB毎に1つのファイルを持っている。
YYY. VOB ("YYY" is variable, extension "VOB" is fixed)
It is one of “AV data” and is a file in which VOB (same as VOB described in the conventional example) is recorded. There is one file for each VOB.
YYY.VOBI(「YYY」は可変、拡張子「VOBI」は固定)
「BD管理情報」の一つであり、AVデータであるVOBに関わる管理情報を記録したファイルである。VOBとの対応はファイルボディ名(「YYY」が一致する)によって識別される。
YYY. VOBI ("YYY" is variable, extension "VOBI" is fixed)
This is one of “BD management information” and is a file in which management information related to VOB as AV data is recorded. The correspondence with the VOB is identified by the file body name (“YYY” matches).
ZZZ.PNG(「ZZZ」は可変、拡張子「PNG」は固定)
「AVデータ」の一つであり、字幕及びメニューを構成するためのイメージデータPNG(W3Cによって標準化された画像フォーマットであり「ピング」と読む)を記録したファイルである。1つのPNGイメージ毎に1つのファイルを持つ。
ZZZ. PNG ("ZZZ" is variable, extension "PNG" is fixed)
It is one of “AV data” and is a file in which image data PNG (an image format standardized by W3C and read as “ping”) for composing subtitles and menus is recorded. There is one file for each PNG image.
(プレーヤの構成)
次に、前述したBDディスクを再生するプレーヤの構成について図6及び図7を用いて説明する。
(Player configuration)
Next, the configuration of the player that plays the above-described BD disc will be described with reference to FIGS. 6 and 7. FIG.
図6は、プレーヤの大まかな機能構成を示すブロック図である。
BDディスク(201)上のデータは、光ピックアップ(202)を通して読み出される。読み出されたデータは夫々のデータの種類に応じて専用のメモリに記録される。BD再生プログラム(「BD.PROG」または「XXX.PROG」ファイルの中身)はプログラム記録メモリ(203)に、BD管理情報(「BD.INFO」、「XXX.PL」または「YYY.VOBI」)は管理情報記録メモリ(204)に、AVデータ(「YYY.VOB」または「ZZZ.PNG」)はAV記録メモリ(205)に夫々記録される。
FIG. 6 is a block diagram showing a rough functional configuration of the player.
Data on the BD disc (201) is read through the optical pickup (202). The read data is recorded in a dedicated memory according to the type of each data. The BD playback program (the contents of the “BD.PROG” or “XXX.PROG” file) is stored in the program recording memory (203) in the BD management information (“BD.INFO”, “XXX.PL” or “YYY.VOBI”). Are recorded in the management information recording memory (204), and AV data ("YYY.VOB" or "ZZZ.PNG") is recorded in the AV recording memory (205).
プログラム記録メモリ(203)に記録されたBD再生プログラムはプログラム処理部(206)によって、管理情報記録メモリ(204)に記録されたBD管理情報は管理情報処理部(207)によって、また、AV記録メモリ(205)に記録されたAVデータはプレゼンテーション処理部(208)によって夫々処理される。 The BD playback program recorded in the program recording memory (203) is recorded by the program processing unit (206), and the BD management information recorded in the management information recording memory (204) is recorded by the management information processing unit (207). The AV data recorded in the memory (205) is processed by the presentation processing unit (208).
プログラム処理部(206)は、管理情報処理部(207)より再生するプレイリストの情報やプログラムの実行タイミングなどのイベント情報を受け取りプログラムの処理を行う。また、プログラムでは再生するプレイリストを動的に変える事が可能であり、この場合は管理情報処理部(207)に対してプレイリストの再生命令を送ることで実現する
。プログラム処理部(206)は、ユーザからのイベント、即ちリモコンキーからのリクエストを受け、ユーザイベントに対応するプログラムがある場合は、実行処理する。
The program processing unit (206) receives event information such as playlist information to be played back and program execution timing from the management information processing unit (207), and processes the program. Also, the program can dynamically change the play list to be played back. In this case, the play list play command is sent to the management information processing unit (207). The program processing unit (206) receives an event from the user, that is, a request from the remote control key, and executes an execution process when there is a program corresponding to the user event.
管理情報処理部(207)は、プログラム処理部(206)の指示を受け、対応するプレイリスト及びプレイリストに対応したVOBの管理情報を解析し、プレゼンテーション処理部(208)に対象となるAVデータの再生を指示する。また、管理情報処理部(207)は、プレゼンテーション処理部(208)より基準時刻情報を受け取り、時刻情報に基づいてプレゼンテーション処理部(208)にAVデータ再生の停止指示を行い、また、プログラム処理部(206)に対してプログラム実行タイミングを示すイベントを生成する。 The management information processing unit (207) receives an instruction from the program processing unit (206), analyzes the management information of the VOB corresponding to the corresponding playlist and the playlist, and the AV data to be processed by the presentation processing unit (208). Instruct to play. Also, the management information processing unit (207) receives the reference time information from the presentation processing unit (208), instructs the presentation processing unit (208) to stop AV data reproduction based on the time information, and the program processing unit An event indicating the program execution timing is generated for (206).
プレゼンテーション処理部(208)は、映像、音声、字幕/イメージ夫々に対応するデコーダを持ち、管理情報処理部(207)からの指示に従い、AVデータのデコード及び出力を行う。映像データ及び字幕/イメージの場合は、デコード後に夫々の専用プレーン、ビデオプレーン(210)及びイメージプレーン(209)に描画され、合成処理部(211)によって映像の合成処理が行われTVなどの表示デバイスへ出力される。 The presentation processing unit (208) has a decoder corresponding to each of video, audio, and caption / image, and decodes and outputs AV data in accordance with an instruction from the management information processing unit (207). In the case of video data and subtitles / images, after decoding, the video data and subtitles / images are drawn on the respective dedicated planes, the video plane (210) and the image plane (209), and the video synthesis process is performed by the synthesis processing unit (211). Output to the device.
図6で示すように、BDプレーヤは図4で示したBDディスクに記録されているデータ構成に基づいた構成をとっている。 As shown in FIG. 6, the BD player has a configuration based on the data configuration recorded on the BD disc shown in FIG.
図7は前述したプレーヤ構成を詳細化したブロック図である。図7では、AV記録メモリ(205)はイメージメモリ(308)とトラックバッファ(309)に、プログラム処理部(206)はプログラムプロセッサ(302)とUOPマネージャ(303)に、管理情報処理部(207)はシナリオプロセッサ(305)とプレゼンテーションコントローラ(306)に、プレゼンテーション処理部(208)はクロック(307)、デマルチプレクサ(310)、イメージプロセッサ(311)、ビデオプロセッサ(312)とサウンドプロセッサ(313)に夫々対応/展開している。 FIG. 7 is a detailed block diagram of the player configuration described above. In FIG. 7, the AV recording memory (205) is in the image memory (308) and the track buffer (309), the program processing unit (206) is in the program processor (302) and the UOP manager (303), and the management information processing unit (207). ) Is a scenario processor (305) and a presentation controller (306), and a presentation processing unit (208) is a clock (307), a demultiplexer (310), an image processor (311), a video processor (312) and a sound processor (313). Are corresponding to each.
BDディスク(201)から読み出されたVOBデータ(MPEGストリーム)はトラックバッファ(309)に、イメージデータ(PNG)はイメージメモリ(308)に夫々記録される。デマルチプレクサ(310)がクロック(307)の時刻に基づき、トラックバッファ(309)に記録されたVOBデータを抜き出し、映像データをビデオプロセッサ(312)に音声データをサウンドプロセッサ(313)に夫々送り込む。ビデオプロセッサ(312)及びサウンドプロセッサ(313)は夫々MPEGシステム規格で定める通りに、デコーダバッファとデコーダから夫々構成されている。即ち、デマルチプレクサ(310)から送りこまれる映像、音声夫々のデータは、夫々のデコーダバッファに一時的に記録され、クロック(307)に従い個々のデコーダでデコード処理される。 The VOB data (MPEG stream) read from the BD disc (201) is recorded in the track buffer (309), and the image data (PNG) is recorded in the image memory (308). The demultiplexer (310) extracts the VOB data recorded in the track buffer (309) based on the time of the clock (307), and sends the video data to the video processor (312) and the audio data to the sound processor (313). The video processor (312) and the sound processor (313) are each composed of a decoder buffer and a decoder as defined by the MPEG system standard. That is, the video and audio data sent from the demultiplexer (310) are temporarily recorded in the respective decoder buffers and decoded by the individual decoders according to the clock (307).
イメージメモリ(308)に記録されたPNGは、次の2つの処理方法がある。イメージデータが字幕用の場合は、プレゼンテーションコントローラ(306)によってデコードタイミングが指示される。クロック(307)からの時刻情報をシナリオプロセッサ(305)が一旦受け、適切な字幕表示が行えるように、字幕表示時刻(開始及び終了)になればプレゼンテーションコントローラ(306)に対して字幕の表示、非表示の指示を出す。プレゼンテーションコントローラ(306)からデコード/表示の指示を受けたイメージプロセッサ(311)は対応するPNGデータをイメージメモリ(308)から抜き出し、デコードし、イメージプレーン(314)に描画する。 The PNG recorded in the image memory (308) has the following two processing methods. If the image data is for subtitles, the presentation controller (306) instructs the decoding timing. In order for the scenario processor (305) to receive the time information from the clock (307) once and display the appropriate subtitles, the subtitles are displayed to the presentation controller (306) at the subtitle display time (start and end). Give hidden instructions. The image processor (311) that has received the decode / display instruction from the presentation controller (306) extracts the corresponding PNG data from the image memory (308), decodes it, and draws it on the image plane (314).
次に、イメージデータがメニュー用の場合は、プログラムプロセッサ(302)によってデコードタイミングが指示される。プログラムプロセッサ(302)が何時イメージのデコードを指示するかは、プログラムプロセッサ(302)が処理しているBDプログラムに因るものであって一概には決まらない。 Next, when the image data is for a menu, the program processor (302) instructs the decoding timing. The time when the program processor (302) instructs to decode the image depends on the BD program being processed by the program processor (302), and is not generally determined.
イメージデータ及び映像データは、図6で説明したように夫々デコード後にイメージプレーン(314)、ビデオプレーン(315)に記録され、合成処理部(316)によって合成出力される。 As described with reference to FIG. 6, the image data and the video data are recorded on the image plane (314) and the video plane (315) after being decoded, and are synthesized and output by the synthesis processing unit (316).
BDディスク(201)から読み出された管理情報(シナリオ、AV管理情報)は、管理情報記録メモリ(304)に記録されるが、シナリオ情報(「BD.INFO」及び「XXX.PL」)はシナリオプロセッサ(305)によって読み出され処理される。また、AV管理情報(「YYY.VOBI」)はプレゼンテーションコントローラ(306)によって読み出され処理される。 The management information (scenario, AV management information) read from the BD disc (201) is recorded in the management information recording memory (304), but the scenario information (“BD.INFO” and “XXX.PL”) is stored in the management information recording memory (304). It is read and processed by the scenario processor (305). The AV management information (“YYY.VOBI”) is read and processed by the presentation controller (306).
シナリオプロセッサ(305)は、プレイリストの情報を解析し、プレイリストによって参照されているVOBとその再生位置をプレゼンテーションコントローラ(306)に指示し、プレゼンテーションコントローラ(306)は対象となるVOBの管理情報(「YYY.VOBI」)を解析して、対象となるVOBを読み出すようにドライブコントローラ(317)に指示を出す。 The scenario processor (305) analyzes the information of the playlist, and instructs the presentation controller (306) the VOB referenced by the playlist and the playback position thereof. The presentation controller (306) manages the management information of the target VOB. ("YYY.VOBI") is analyzed, and an instruction is issued to the drive controller (317) to read out the target VOB.
ドライブコントローラ(317)はプレゼンテーションコントローラ(306)の指示に従い、光ピックアップを移動させ、対象となるAVデータの読み出しを行う。読み出されたAVデータは、前述したようにイメージメモリ(308)またはトラックバッファ(309)に記録される。 The drive controller (317) moves the optical pickup according to the instruction of the presentation controller (306), and reads the target AV data. The read AV data is recorded in the image memory (308) or the track buffer (309) as described above.
また、シナリオプロセッサ(305)は、クロック(307)の時刻を監視し、管理情報で設定されているタイミングでイベントをプログラムプロセッサ(302)に投げる。 The scenario processor (305) monitors the time of the clock (307) and throws an event to the program processor (302) at the timing set in the management information.
プログラム記録メモリ(301)に記録されたBDプログラム(「BD.PROG」または「XXX.PROG」)は、プログラムプロセッサ302によって実行処理される。プログラムプロセッサ(302)がBDプログラムを処理するのは、シナリオプロセッサ(305)からイベントが送られてきた場合か、UOPマネージャ(303)からイベントが送られたきた場合である。UOPマネージャ(303)は、ユーザからリモコンキーによってリクエストが送られてきた場合に、プログラムプロセッサ(302)にイベントを生成する。
The BD program (“BD.PROG” or “XXX.PROG”) recorded in the program recording memory (301) is executed by the
(アプリケーション空間)
図8は、BD−ROMのアプリケーション空間をを示す図である。
(Application space)
FIG. 8 is a diagram showing an application space of the BD-ROM.
BD−ROMのアプリケーション空間では、プレイリスト(PlayList)が一つの再生単位になっている。プレイリストはセル(Cell)の再生シーケンスから構成される静的なシナリオと、プログラムによって記述される動的なシナリオを有している。プログラムによる動的なシナリオが無い限り、プレイリストは個々のセルを順に再生するだけであり、また、全てのセルの再生を終了した時点でプレイリストの再生は終了する。一方で、プログラムは、プレイリストを超えての再生記述や、ユーザ選択またはプレーヤの状態によって再生する対象を動的に変えることが可能である。典型的な例としてはメニューがあげられる。BD−ROMの場合、メニューとはユーザの選択によって再生するシナリオ、即ちプレイリストを動的に選択することである。 In the application space of the BD-ROM, a play list (PlayList) is one reproduction unit. The playlist has a static scenario composed of a playback sequence of a cell (Cell) and a dynamic scenario described by a program. Unless there is a dynamic scenario by the program, the playlist only reproduces the individual cells in order, and the reproduction of the playlist ends when the reproduction of all the cells is completed. On the other hand, the program can dynamically change the playback target depending on the playback description beyond the playlist, the user selection, or the player status. A typical example is a menu. In the case of a BD-ROM, the menu is to dynamically select a scenario to be played by the user's selection, that is, a playlist.
ここで言うプログラムは、時間イベントまたはユーザイベントによって実行されるイベントハンドラの事である。 The program here is an event handler executed by a time event or a user event.
時間イベントは、プレイリスト中に埋め込まれた時刻情報に基づいて生成されるイベントである。図7で説明したシナリオプロセッサ(305)からプログラムプロセッサ(302)に送られるイベントがこれに相当する。時間イベントが発行されると、プログラムプロセッサ(302)はIDによって対応付けられるイベントハンドラを実行処理する。前述した通り、実行されるプログラムが他のプレイリストの再生を指示することが可能であり、この場合には、現在再生されているプレイリストの再生は中止され、指定されたプレイリストの再生へと遷移する。 The time event is an event generated based on time information embedded in the playlist. The event sent from the scenario processor (305) described in FIG. 7 to the program processor (302) corresponds to this. When a time event is issued, the program processor (302) executes an event handler associated with the ID. As described above, the program to be executed can instruct playback of another playlist. In this case, playback of the currently played playlist is stopped and playback of the specified playlist is started. And transition.
ユーザイベントは、ユーザのリモコンキー操作によって生成されるイベントである。ユーザイベントは大きく2つのタイプに分けられる。一つ目は、カーソルキー(「上」「下」「左」「右」キー)または「決定」キーの操作によって生成されるメニュー選択のイベントである。メニュー選択のイベントに対応するイベントハンドラはプレイリスト内の限られた期間でのみ有効であり(プレイリストの情報として、個々のイベントハンドラの有効期間が設定されている)、リモコンの「上」「下」「左」「右」キーまたは「決定」キーが押された時に有効なイベントハンドラを検索して、有効なイベントハンドラがある場合は当該イベントハンドラが実行処理される。他の場合は、メニュー選択のイベントは無視されることになる。 A user event is an event generated by a user's remote control key operation. User events are roughly divided into two types. The first is a menu selection event generated by operating a cursor key ("Up", "Down", "Left", "Right" key) or a "Determination" key. The event handler corresponding to the event selected from the menu is valid only for a limited period in the playlist (the validity period of each event handler is set as playlist information). A valid event handler is searched when the “down”, “left”, “right” key, or “decision” key is pressed. If there is a valid event handler, the event handler is executed. In other cases, menu selection events will be ignored.
二つ目のユーザイベントは、「メニュー」キーの操作によって生成されるメニュー呼び出しのイベントである。メニュー呼び出しのイベントが生成されると、グローバルイベントハンドラが呼ばれる。グローバルイベントハンドラはプレイリストに依存せず、常に有効なイベントハンドラである。この機能を使うことにより、DVDのメニューコール(タイトル再生中に音声、字幕メニューなどを呼び出し、音声または字幕を変更後に中断した地点からのタイトル再生を実行する)を実装することができる。 The second user event is a menu call event generated by operating the “menu” key. When a menu call event is generated, a global event handler is called. A global event handler does not depend on a playlist and is always an effective event handler. By using this function, it is possible to implement a DVD menu call (calling a voice, subtitle menu, etc. during title playback, and executing title playback from the point where it was interrupted after changing the voice or subtitle).
プレイリストで静的シナリオを構成する単位であるセル(Cell)はVOB(MPEGストリーム)の全部または一部の再生区間を参照したものである。セルはVOB内の再生区間を開始、終了時刻の情報として持っている。個々のVOBと一対になっているVOB管理情報(VOBI)は、その内部にタイムマップ(Time MapまたはTM)を有しており、このタイムマップによって前述したVOBの再生、終了時刻をVOB内(即ち対象となるファイル「YYY.VOB」内)での読み出し開始アドレス及び終了アドレスを導き出すことが可能である。なおタイムマップの詳細は後述する。 A cell (Cell), which is a unit constituting a static scenario in a playlist, refers to all or part of a playback section of a VOB (MPEG stream). The cell has a playback section in the VOB as start and end time information. The VOB management information (VOBI) paired with each VOB has a time map (Time Map or TM) inside, and the playback and end times of the VOB described above are indicated in the VOB ( That is, it is possible to derive the read start address and end address in the target file “YYY.VOB”). Details of the time map will be described later.
(VOBの詳細)
図9は、本実施例で使用するMPEGストリーム(VOB)の構成図である。図9に示すように、VOBは複数のVOBU(Video Object Unit)によって構成されている。VOBUは、MPEGビデオストリームで言うGOP(Group Of Pictures)を基準として、音声データも含んだ多重化ストリームとしての一再生単位である。VOBUは0.4秒から1.0秒の時間を持ち、通常は0.5秒の再生時間を持っている。これはMPEGのGOPの構造が通常は15フレーム/秒(NTSCの場合)によって導かれるものである。
(Details of VOB)
FIG. 9 is a configuration diagram of an MPEG stream (VOB) used in this embodiment. As shown in FIG. 9, a VOB is composed of a plurality of VOBUs (Video Object Units). The VOBU is one playback unit as a multiplexed stream including audio data on the basis of GOP (Group Of Pictures) referred to as an MPEG video stream. A VOBU has a duration of 0.4 to 1.0 seconds, and usually has a playback time of 0.5 seconds. This is because the structure of MPEG GOP is usually derived by 15 frames / second (in the case of NTSC).
VOBUは、その内部にビデオパック(V_PCK)とオーディオパック(A_PCK)を有している。各パックは1セクタ、本実施例の場合は2kB単位で構成されている。 The VOBU has a video pack (V_PCK) and an audio pack (A_PCK) therein. Each pack is composed of one sector, in the case of this embodiment, in units of 2 kB.
図10は、パックの構成を示した図である。
図10に示すように、ビデオデータ及びオーディオデータといったエレメンタリデータは、ペイロードと呼ばれるパケットのデータ格納領域に先頭から順次入れられていく。ペイロードにはパケットヘッダが付けられ1つのパケットを構成する。パケットヘッダには、ペイロードに格納してあるデータがどのストリームなのか、ビデオなのかオーディオなのか、また、ビデオまたはオーディオが夫々複数ストリームある場合は、どのストリームのデータなのかを識別するためのID(stream_id)と、当該ペイロードのデコード及び表示時刻情報であるタイムスタンプDTS及びPTSが夫々記録されている。PTS/DTSは必ずしも全てのパケットヘッダに記録されている訳ではなく、MPEGによって記録するルールが規定されている。ルールの詳細についてはMPEGシステム(ISO/IEC13818−1)規格書に記述されているので省略する。
FIG. 10 is a diagram showing the configuration of the pack.
As shown in FIG. 10, elementary data such as video data and audio data are sequentially entered from the head into a data storage area of a packet called a payload. A packet header is attached to the payload to form one packet. In the packet header, an ID for identifying which stream, video, or audio the data stored in the payload is, and if there are multiple streams of video or audio, which stream is the data (Stream_id) and time stamps DTS and PTS which are decoding time and display time information of the payload are recorded. PTS / DTS is not necessarily recorded in all packet headers, but rules for recording in MPEG are defined. Details of the rules are described in the MPEG system (ISO / IEC13818-1) standard, and therefore will be omitted.
パケットには更にヘッダ(パックヘッダ)が付けられ、パックを構成する。パックヘッダには、当該パックがいつデマルチプレクサを通過し、個々のエレメンタリストリームのデコーダバッファに入力されるかを示すタイムスタンプSCR(System Clock Reference)が記録されている。 The packet is further provided with a header (pack header) to form a pack. In the pack header, a time stamp SCR (System Clock Reference) indicating when the pack passes the demultiplexer and is input to the decoder buffer of each elementary stream is recorded.
(VOBのインターリーブ記録)
次に図11及び図12を用いてVOBファイルのインターリーブ記録について説明する。
(VOB interleaved recording)
Next, interleaved recording of a VOB file will be described with reference to FIGS.
図11上段は、前述したプレーヤ構成図の一部である。図の通り、BDディスク上のデータは、光ピックアップを通してVOB即ちMPEGストリームであればトラックバッファへ入力され、PNG即ちイメージデータであればイメージメモリへと入力される。 The upper part of FIG. 11 is a part of the player configuration diagram described above. As shown in the figure, the data on the BD disc is input to the track buffer if it is a VOB or MPEG stream through the optical pickup, and is input to the image memory if it is PNG or image data.
トラックバッファはFIFOであり、入力されたVOBのデータは入力された順にデマルチプレクサへと送られる。この時、前述したSCRに従って個々のパックはトラックバッファから引き抜かれデマルチプレクサを介してビデオプロセッサまたはサウンドプロセッサへとデータが送り届けられる。一方で、イメージデータの場合は、どのイメージを描画するかはプレゼンテーションコントローラによって指示される。また、描画に使ったイメージデータは、字幕用イメージデータの場合は同時にイメージメモリから削除されるが、メニュー用のイメージデータの場合は、イメージメモリ内にそのまま残される。これはメニューの描画はユーザ操作に依存するところがあるため、同一イメージを複数回描画する可能性があるためである。 The track buffer is a FIFO, and the input VOB data is sent to the demultiplexer in the input order. At this time, each pack is extracted from the track buffer in accordance with the SCR described above, and the data is sent to the video processor or sound processor via the demultiplexer. On the other hand, in the case of image data, the presentation controller instructs which image to draw. The image data used for drawing is deleted from the image memory at the same time in the case of image data for subtitles, but remains in the image memory in the case of image data for menus. This is because menu drawing may depend on user operations, and the same image may be drawn multiple times.
図11下段は、BDディスク上でのVOBファイル及びPNGファイルのインターリーブ記録を示す図である。一般的にROM、例えばCD−ROMやDVD−ROMの場合、一連の連続再生単位となるAVデータは連続記録されている。これは、連続記録されている限り、ドライブは順次データを読み出しプレーヤ側に送り届けるだけで良いが、連続データが分断されてディスク上に離散配置されている場合は、個々の連続区間の間でシーク操作が入ることになり、この間データの読み出しが止まることになり、データの供給が止まる可能性があるからである。BD−ROMの場合も同様に、VOBファイルは連続領域に記録することができる方が望ましいが、例えば字幕データのようにVOBに記録されている映像データと同期して再生されるデータがあり、VOBファイルと同様に字幕データも何らかの方法によってBDディスクから読み出す事が必要になる。 The lower part of FIG. 11 is a diagram showing interleaved recording of a VOB file and a PNG file on a BD disc. In general, in the case of a ROM such as a CD-ROM or a DVD-ROM, AV data serving as a series of continuous reproduction units is continuously recorded. As long as continuous recording is performed, the drive only needs to read the data sequentially and send it to the player side. However, if the continuous data is divided and discretely arranged on the disc, seek is performed between individual continuous sections. This is because an operation is entered, and during this time, reading of data is stopped, and supply of data may be stopped. Similarly, in the case of a BD-ROM, it is desirable that the VOB file can be recorded in a continuous area. However, there is data that is reproduced in synchronization with video data recorded in the VOB, such as subtitle data. Similar to the VOB file, it is necessary to read the caption data from the BD disc by some method.
字幕データの読み出し方法の一手段として、VOBの再生開始前に一まとめで字幕用のイメージデータ(PNGファイル)を読み出してしまう方法がある。しかしながら、この場合には一時記録に使用する大量のメモリが必要となり、非現実的である。 As one method of reading subtitle data, there is a method of reading subtitle image data (PNG file) all at once before the start of VOB reproduction. However, in this case, a large amount of memory used for temporary recording is required, which is unrealistic.
そこで、本実施の形態では、VOBファイルを幾つかのブロックに分けて、イメージデータとインターリーブ記録する方式を使用している。図11下段はそのインターリーブ記録を説明した図である。VOBファイルとイメージデータを適切にインターリーブ配置することで、前述したような大量の一時記録メモリ無しに、必要なタイミングでイメージデータをイメージメモリに格納することが可能になる。しかしながらイメージデータを読み出している際には、VOBデータの読み込みは当然のことながら停止することになる。 Therefore, in this embodiment, a method is used in which the VOB file is divided into several blocks and interleaved with image data. The lower part of FIG. 11 illustrates the interleave recording. By appropriately interleaving the VOB file and the image data, it becomes possible to store the image data in the image memory at a necessary timing without the large amount of temporary recording memory as described above. However, when reading the image data, the reading of the VOB data is naturally stopped.
図12は、この問題を解決するトラックバッファを使ったVOBデータ連続供給モデルを説明する図である。 FIG. 12 is a diagram for explaining a VOB data continuous supply model using a track buffer that solves this problem.
既に説明したように、VOBのデータは、一旦トラックバッファに蓄積される。トラックバッファへのデータ入力レートとトラックバッファからのデータ出力レートの間に差を設けると、BDディスクからデータを読み出し続けている限り、トラックバッファのデータ蓄積量は増加をしていくことになる。ここでトラックバッファへの入力レートをVa、トラックバッファからの出力レートをVbとする。図12の上段に記すようにVOBの一連続記録領域が論理アドレスの”a1”から”a2”まで続くとする。”a2”から”a3”の間は、イメージデータが記録されていて、VOBデータの読み出しが行えない区間であるとする。 As described above, VOB data is temporarily stored in the track buffer. If a difference is provided between the data input rate to the track buffer and the data output rate from the track buffer, as long as data is continuously read from the BD disc, the data storage amount of the track buffer increases. Here, the input rate to the track buffer is Va, and the output rate from the track buffer is Vb. As shown in the upper part of FIG. 12, it is assumed that a continuous recording area of VOB continues from “a1” to “a2” of logical addresses. It is assumed that between “a2” and “a3” is an interval in which image data is recorded and VOB data cannot be read.
図12の下段は、トラックバッファの内部を示す図である。横軸が時間、縦軸がトラックバッファ内部に蓄積されているデータ量を示している。時刻”t1”がVOBの一連続記録領域の開始点である”a1”の読み出しを開始した時刻を示している。この時刻以降、トラックバッファにはレートVa−Vbでデータが蓄積されていくことになる。このレートは言うまでもなくトラックバッファの入出力レートの差である。時刻”t2”は一連続記録領域の終了点である”a2”のデータを読み込む時刻である。即ち時刻”t1”から”t2”の間レートVa−Vbでトラックバッファ内はデータ量が増加していき、時刻”t2”でのデータ蓄積量はB(t2)は下式によって求めることができる。 The lower part of FIG. 12 shows the inside of the track buffer. The horizontal axis indicates time, and the vertical axis indicates the amount of data stored in the track buffer. Time “t1” indicates the time when reading of “a1”, which is the starting point of one continuous recording area of the VOB, is started. After this time, data is accumulated in the track buffer at the rate Va-Vb. Needless to say, this rate is the difference between the input and output rates of the track buffer. The time “t2” is the time when the data “a2”, which is the end point of one continuous recording area, is read. That is, the amount of data in the track buffer increases from time “t1” to “t2” at the rate Va−Vb, and the data accumulation amount at time “t2” can be obtained by the following equation. .
B(t2) = (Va−Vb)×(t2−t1) (式1)
この後、BDディスク上のアドレス”a3”まではイメージデータが続くため、トラックバッファへの入力は0となり、出力レートである”−Vb”でトラックバッファ内のデータ量は減少していくことになる。これは読み出し位置”a3”まで、時刻でいう”t3”までになる。
B (t2) = (Va−Vb) × (t2−t1) (Formula 1)
After this, since the image data continues until the address “a3” on the BD disc, the input to the track buffer becomes 0, and the data amount in the track buffer decreases at the output rate “−Vb”. Become. This is up to the read position “a3” and “t3” in time.
ここで大事なことは、時刻”t3”より前にトラックバッファに蓄積されているデータ量が0になると、デコーダへ供給するVOBのデータが無くなってしまい、VOBの再生がストップしてしまう可能性がある。しかしながら、時刻”t3”でトラックバッファにデータが残っている場合には、VOBの再生がストップすることなく連続できることを意味している。 What is important here is that if the amount of data stored in the track buffer before time “t3” becomes zero, there is no VOB data to be supplied to the decoder, and there is a possibility that VOB reproduction stops. There is. However, if data remains in the track buffer at time “t3”, this means that VOB playback can be continued without stopping.
この条件は下式によって示すことができる。
B(t2) ≧ −Vb×(t3−t2) (式2)
即ち、式2を満たすようにイメージデータの配置を決めればよい事になる。
This condition can be expressed by the following equation.
B (t2) ≧ −Vb × (t3−t2) (Formula 2)
That is, it is only necessary to determine the arrangement of the image data so as to satisfy
(ナビゲーションデータ構造)
図13から図19を用いて、BD−ROMのナビゲーションデータ(BD管理情報)構造について説明をする。図13は、VOB管理情報情報ファイル(”YYY.VOBI”)の内部構造を示した図である。
(Navigation data structure)
The structure of navigation data (BD management information) in the BD-ROM will be described with reference to FIGS. FIG. 13 shows the internal structure of the VOB management information information file (“YYY.VOBI”).
VOB管理情報は、当該VOBのストリーム属性情報(Attribute)とタイムマップ(TMAP)を有している。ストリーム属性は、ビデオ属性(Video)、オーディオ属性(Audio#0〜Audio#m)個々に持つ構成となっている。特にオーディオストリームの場合は、VOBが複数本のオーディオストリームを同時に持つことができることから、オーディオストリーム数(Number)によって、データフィールドの有無を示している。
The VOB management information includes stream attribute information (Attribute) and time map (TMAP) of the VOB. Each stream attribute has a video attribute (Video) and an audio attribute (
下記はビデオ属性(Video)の持つフィールドと夫々が持ち得る値である。
圧縮方式(Coding):
MPEG1
MPEG2
MPEG4
解像度(Resolution):
1920x1080
1280x720
720x480
720x565
アスペクト比(Aspect)
4:3
16:9
フレームレート(Framerate)
60
59.94
50
30
29.97
25
24
下記はオーディオ属性(Audio)の持つフィールドと夫々が持ち得る値である。
The following are the fields that the video attribute (Video) has and the values that each can have.
Compression method (Coding):
MPEG1
MPEG2
MPEG4
Resolution:
1920x1080
1280x720
720x480
720x565
Aspect ratio (Aspect)
4: 3
16: 9
Frame rate
60
59.94
50
30
29.97
25
24
The following are the fields that the audio attribute (Audio) has and the values that each can have.
圧縮方式(Coding):
AC3
MPEG1
MPEG2
LPCM
チャンネル数(Ch):
1〜8
言語属性(Language):
タイムマップ(TMAP)はVOBU毎の情報を持つテーブルであって、当該VOBが有するVOBU数(Number)と各VOBU情報(VOBU#1〜VOBU#n)を持つ。個々のVOBU情報は、VOBUの再生時間長(Duration)とVOBUのデータサイズ(Size)を夫々有している。
Compression method (Coding):
AC3
MPEG1
MPEG2
LPCM
Number of channels (Ch):
1-8
Language attribute:
The time map (TMAP) is a table having information for each VOBU, and has the number of VOBUs (Number) possessed by the VOB and each VOBU information (
図14はVOBU情報の詳細を説明する図である。
広く知られているように、MPEGストリームは時間的側面とデータサイズとしての側面との2つを有している。例えば、音声の圧縮規格であるAC3は固定ビットレートでの圧縮を行っているため、時間とアドレスとの関係は1次式によって求めることができる。しかしながらMPEGビデオデータの場合は、個々のフレームは固定の表示時間、例えばNTSCの場合は1フレームは1/29.97秒の表示時間を持つが、個々のフレームの圧縮後のデータサイズは絵の特性や圧縮に使ったピクチャタイプ、いわゆるI/P/Bピクチャによってデータサイズは大きく変わってくる。従って、MPEGビデオの場合は、時間とアドレスの関係は一般式の形で表現することは不可能である。
FIG. 14 is a diagram for explaining the details of the VOBU information.
As is widely known, an MPEG stream has two aspects, a temporal aspect and a data size aspect. For example, since AC3, which is a voice compression standard, performs compression at a fixed bit rate, the relationship between time and address can be obtained by a linear expression. However, in the case of MPEG video data, each frame has a fixed display time, for example, in the case of NTSC, one frame has a display time of 1 / 29.97 seconds, but the data size after compression of each frame is picture size. The data size varies greatly depending on the characteristics and the picture type used for compression, so-called I / P / B picture. Therefore, in the case of MPEG video, the relationship between time and address cannot be expressed in a general form.
当然の事として、MPEGビデオデータを多重化しているMPEGシステムストリーム、即ちVOBも時間とデータとを一般式の形で表現することは不可能である。これに代わって、VOB内での時間とアドレスとの関係を結びつけるのがタイムマップ(TMAP)である。図14に示すように、各VOBU毎にVOBU内のフレーム数と、VOBU内のパック数を夫々エントリーとして持つテーブルがタイムマップ(TMAP)である。 As a matter of course, an MPEG system stream in which MPEG video data is multiplexed, that is, VOB, cannot express time and data in a general form. Instead, the time map (TMAP) links the relationship between time and address in the VOB. As shown in FIG. 14, a table having a number of frames in a VOBU and the number of packs in a VOBU as entries for each VOBU is a time map (TMAP).
図15を使って、タイムマップ(TMAP)の使い方を説明する。
図15に示すように時刻情報が与えられた場合、先ずは当該時刻がどのVOBUに属するのかを検索する。これは、タイム亜マップのVOBU毎のフレーム数を加算して行き、フレーム数の和が当該時刻を(フレーム数に換算して)超えるまたは一致するVOBUが当該VOBUになる。次にタイムマップのVOBU毎のサイズを当該VOBUの直前のVOBUまで加算して行き、その値が与えられた時刻を含むフレームを再生するために読み出すべきパックの先頭アドレスになっている。
The usage of the time map (TMAP) will be described with reference to FIG.
When time information is given as shown in FIG. 15, first, a search is performed as to which VOBU the time belongs to. This is done by adding the number of frames for each VOBU of the time submap, and the VOBU whose sum of frames exceeds or coincides with the time (converted to the number of frames) becomes the VOBU. Next, the size for each VOBU of the time map is added to the VOBU immediately before the VOBU, and the value is the leading address of the pack to be read in order to reproduce the frame including the given time.
次に図16を使って、プレイリスト情報(”XXX.PL”)の内部構造を説明する。
プレイリスト情報は、セルリスト(CellList)とイベントリスト(EventList)から構成されている。
Next, the internal structure of the playlist information (“XXX.PL”) will be described with reference to FIG.
The playlist information includes a cell list (CellList) and an event list (EventList).
セルリスト(CellList)は、プレイリスト内の再生セルシーケンスであり、本リストの記述順でセルが再生される事になる。セルリスト(CellList)の中身は、セルの数(Number)と各セル情報(Cell#1〜Cell#n)である。
The cell list (CellList) is a reproduction cell sequence in the playlist, and the cells are reproduced in the description order of the list. The contents of the cell list (CellList) are the number of cells (Number) and cell information (
セル情報(Cell#)は、VOBファイル名(VOBName)、当該VOB内での有効区間開始時刻(In)及び有効区間終了時刻(Out)と、字幕テーブル(SubtitleTable)を持っている。有効区間開始時刻(In)及び有効区間終了時刻(Out)は、夫々当該VOB内でのフレーム番号で表現され、前述したタイムマップ(TMAP)を使うことによって再生に必要なVOBデータのアドレスを得る事ができる。 The cell information (Cell #) has a VOB file name (VOBName), a valid section start time (In) and a valid section end time (Out) in the VOB, and a caption table (SubtitleTable). The valid section start time (In) and valid section end time (Out) are each expressed by a frame number in the VOB, and the address of VOB data necessary for reproduction is obtained by using the time map (TMAP) described above. I can do things.
字幕テーブル(SubtitleTable)は、当該VOBと同期再生される字幕情報を持つテーブルである。字幕は音声同様に複数の言語を持つことができ、字幕テーブル(SubtitleTable)最初の情報も言語数(Number)とそれに続く個々の言語ごとのテーブル(Language#1〜Language#k)から構成されている。
The caption table (SubtitleTable) is a table having caption information that is reproduced in synchronization with the VOB. Subtitles can have multiple languages as well as audio, and the first information of the subtitle table (SubtitleTable) consists of the number of languages (Number) followed by tables for each language (
各言語のテーブル(Language#)は、言語情報(Language)と、個々に表示される字幕の字幕情報数(Number)と、個々に表示される字幕の字幕情報(Speech#1〜Speech#j)から構成され、字幕情報(Speech#)は対応するイメージデータファイル名(Name)、字幕表示開始時刻(In)及び字幕表示終了時刻(Out)と、字幕の表示位置(Position)から構成されている。
A table (Language #) for each language includes language information (Language), the number of subtitle information (Number) of subtitles displayed individually, and subtitle information of subtitles (
イベントリスト(EventList)は、当該プレイリスト内であげられるイベントを定義したテーブルである。イベントリストは、イベント数(Number)に続いて個々のイベント(Event#1〜Event#m)から構成され、個々のイベント(Event#)は、イベントの種類(Type)、イベントのID(ID)、イベント生成時刻(Time)と有効期間(Duration)から構成されている。
The event list (EventList) is a table that defines the events listed in the play list. The event list is made up of individual events (
図17は、個々のプレイリスト毎のイベントハンドラ(時間イベントと、メニュー選択用のユーザイベント)を持つイベントハンドラテーブル(”XXX.PROG”)である。 FIG. 17 is an event handler table (“XXX.PROG”) having event handlers (time events and user events for menu selection) for each playlist.
イベントハンドラテーブルは、定義されているイベントハンドラ/プログラム数(Number)と個々のイベントハンドラ/プログラム(Program#1〜Program#n)を有している。各イベントハンドラ/プログラム(Program#)内の記述は、イベントハンドラ開始の定義(<event_handler>タグ)と前述したイベントのIDと対になるイベントハンドラのID(ID)を持ち、その後に当該プログラムもFunctionに続く括弧”{”と”}”の間に記述する。
The event handler table has a defined number of event handlers / programs (Number) and individual event handlers / programs (
次に図18を用いてBDディスク全体に関する情報(”BD.INFO”)の内部構造について説明をする。 Next, the internal structure of information relating to the entire BD disc (“BD. INFO”) will be described with reference to FIG.
BDディスク全体情報は、タイトルリスト(TitleList)とグローバルイベント用のイベントテーブル(EventTable)から構成されている。 The entire BD disc information includes a title list (TitleList) and an event table for global events (EventTable).
タイトルリスト(TitleList)は、ディスク内のタイトル数(Number)と、これに続く各タイトル情報(Title#1〜Title#n)から構成されている。個々のタイトル情報(Title)は、タイトルに含まれるプレイリストのテーブル(PLTalble)とタイトル内のチャプタリスト(ChapterList)を含んでいる。プレイリストのテーブル(PLTable)はタイトル内のプレイリストの数(Number)と、プレイリスト名(Name)即ちプレイリストのファイル名を有している。
The title list (TitleList) is composed of the number of titles (Number) in the disc and the following pieces of title information (
チャプタリスト(ChapterList)は、当該タイトルに含まれるチャプタ数(Number)と個々のチャプタ情報(Chapter#1〜Chapter#n)から構成され、チャプタ情報(Chapter#)は当該チャプタが含むセルのテーブル(CellTable)を持ち、セルのテーブル(CellTable)はセル数(Number)と個々のセルのエントリ情報(CellEntry#1〜CellEntry#k)から構成されている。セルのエントリ情報(CellEntry#)は当該セルを含むプレイリスト名と、プレイリスト内でのセル番号によって記述されている。
The chapter list (ChapterList) is composed of the number of chapters (Number) included in the title and individual chapter information (
イベントリスト(EventList)は、グローバルイベントの数(Number)と個々のグローバルイベントの情報を持っている。ここで注意すべきは、最初に定義されるグローバルイベントは、ファーストイベント(FirstEvent)と呼ばれ、BDディスクがプレーヤに挿入された時、最初に呼ばれるイベントである。グローバルイベント用イベント情報はイベントタイプ(Type)とイベントのID(ID)だけを持っている。 The event list (EventList) includes the number of global events (Number) and information on individual global events. It should be noted that the global event defined first is called a first event (FirstEvent), and is the first event called when a BD disc is inserted into a player. The event information for global events has only an event type (Type) and an event ID (ID).
図19は、グローバルイベントハンドラのプログラムのテーブル(”BD.PROG”)である。本テーブルは、図17で説明したイベントハンドラテーブルと同一内容である。
(イベント発生のメカニズム)
図20から図22を使ってイベント発生のメカニズムについて説明する。
FIG. 19 is a global event handler program table (“BD.PROG”). This table has the same contents as the event handler table described in FIG.
(Event generation mechanism)
The event generation mechanism will be described with reference to FIGS.
図20はタイムイベントの例である。
前述したとおり、タイムイベントはプレイリスト情報(”XXX.PL”)のイベントリスト(EventList)で定義される。タイムイベントとして定義されているイベント、即ちイベントタイプ(Type)が”TimeEvent”の場合、イベント生成時刻(”t1”)になった時点で、ID”Ex1”を持つタイムイベントがシナリオプロセッサからプログラムプロセッサに対してあげられる。プログラムプロセッサは、イベントID”Ex1”を持つイベントハンドラを探し、対象のイベントハンドラを実行処理する。例えば、本実施例の場合では、2つのボタンイメージの描画を行うなどを行うことができる。
FIG. 20 is an example of a time event.
As described above, a time event is defined by an event list (EventList) of playlist information (“XXX.PL”). When an event defined as a time event, that is, when the event type (Type) is “TimeEvent”, the time event having the ID “Ex1” is transferred from the scenario processor to the program processor when the event generation time (“t1”) is reached. Against. The program processor searches for an event handler having the event ID “Ex1” and executes the target event handler. For example, in this embodiment, two button images can be drawn.
図21はメニュー操作を行うユーザーイベントの例である。
前述したとおり、メニュー操作を行うユーザイベントもプレイリスト情報(”XXX.PL”)のイベントリスト(EventList)で定義される。ユーザイベントとして定義されるイベント、即ちイベントタイプ(Type)が”UserEvent”の場合、イベント生成時刻(”t1”)になった時点で、当該ユーザイベントがレディとなる。この時、イベント自身は未だ生成されてはいない。当該イベントは、有効規格情報(Duration)で記される期間レディ状態にある。
FIG. 21 shows an example of a user event for performing a menu operation.
As described above, the user event for performing the menu operation is also defined in the event list (EventList) of the playlist information (“XXX.PL”). When an event defined as a user event, ie, an event type (Type) is “UserEvent”, the user event becomes ready when the event generation time (“t1”) is reached. At this time, the event itself has not yet been generated. The event is in a ready state for the period described by the valid standard information (Duration).
図21に描くように、ユーザがリモコンキーの「上」「下」「左」「右」キーまたは「決定」キーを押した場合、先ずUOPイベントがUOPマネージャによって生成されプログラムプロセッサに上げられる。プログラムプロセッサは、シナリオプロセッサに対してUOPイベントを流し、シナリオプロセッサはUOPイベントを受け取った時刻に有効なユーザイベントが存在するかを検索し、対象となるユーザイベントがあった場合は、ユーザイベントを生成し、プログラムプロセッサに持ち上げる。プログラムプロセッサでは、イベントID”Ev1”を持つイベントハンドラを探し、対象のイベントハンドラを実行処理する。例えば、本実施例の場合では、プレイリスト#2の再生を開始する。
As shown in FIG. 21, when the user presses the “up”, “down”, “left”, “right” key or “decision” key of the remote control key, a UOP event is first generated by the UOP manager and raised to the program processor. The program processor sends a UOP event to the scenario processor, and the scenario processor searches whether there is a valid user event at the time when the UOP event is received. Generate and lift to the program processor. The program processor searches for an event handler having the event ID “Ev1” and executes the target event handler. For example, in the case of the present embodiment, reproduction of
生成されるユーザイベントには、どのリモコンキーがユーザによって押されたかの情報は含まれていない。選択されたリモコンキーの情報は、UOPイベントによってプログラムプロセッサに伝えられ、仮想プレーヤが持つレジスタSPRM(8)に記録保持される。イベントハンドラのプログラムは、このレジスタの値を調べ分岐処理を実行することが可能である。 The generated user event does not include information on which remote control key is pressed by the user. Information on the selected remote control key is transmitted to the program processor by a UOP event, and is recorded and held in the register SPRM (8) of the virtual player. The event handler program can check the value of this register and execute branch processing.
図22はグローバルイベントの例である。
前述したとおり、グローバルイベントはBDディスク全体に関する情報(”BD.INFO”)のイベントリスト(EventList)で定義される。グローバルイベントとして定義されるイベント、即ちイベントタイプ(Type)が”GlobalEvent”の場合、ユーザのリモコンキー操作があった場合にのみイベントが生成される。
FIG. 22 shows an example of a global event.
As described above, a global event is defined by an event list (EventList) of information (“BD. INFO”) relating to the entire BD disc. When an event defined as a global event, that is, an event type (Type) is “GlobalEvent”, an event is generated only when a user operates a remote control key.
ユーザが”メニュー”を押した場合、先ずUOPイベントがUOPマネージャによって生成されプログラムプロセッサに上げられる。プログラムプロセッサは、シナリオプロセッサに対してUOPイベントを流し、シナリオプロセッサは、該当するグローバルイベントを生成し、プログラムプロセッサに送る。プログラムプロセッサでは、イベントID”menu”を持つイベントハンドラを探し、対象のイベントハンドラを実行処理する。例えば、本実施例の場合ではプレイリスト#3の再生を開始している。
When the user presses “Menu”, a UOP event is first generated by the UOP manager and raised to the program processor. The program processor sends a UOP event to the scenario processor, and the scenario processor generates a corresponding global event and sends it to the program processor. The program processor searches for an event handler having the event ID “menu” and executes the target event handler. For example, in the case of the present embodiment, reproduction of
本実施例では、単に”メニュー”キーと呼んでいるが、DVDのように複数のメニューキーがあってもよい。各メニューキーに対応するIDを夫々定義することで対応することが可能である。 In this embodiment, it is simply called a “menu” key, but there may be a plurality of menu keys as in a DVD. It is possible to cope by defining IDs corresponding to the respective menu keys.
(仮想プレーヤマシン)
図23を用いてプログラムプロセッサの機能構成を説明する。
(Virtual player machine)
The functional configuration of the program processor will be described with reference to FIG.
プログラムプロセッサは、内部に仮想プレーヤマシンを持つ処理モジュールである。仮想プレーヤマシンはBD−ROMとして定義された機能モデルであって、各BD−ROMプレーヤの実装には依存しないものである。即ち、どのBD−ROMプレーヤにおいても同様の機能を実行するできることを保証している。 The program processor is a processing module having a virtual player machine inside. The virtual player machine is a functional model defined as a BD-ROM and does not depend on the implementation of each BD-ROM player. That is, it is guaranteed that the same function can be executed in any BD-ROM player.
仮想プレーヤマシンは大きく2つの機能を持っている。プログラミング関数とプレーヤ変数(レジスタ)である。プログラミング関数は、Java(登録商標) Scriptをベースとして、以下に記す2つの機能をBD−ROM固有関数として定義している。 The virtual player machine has two functions. Programming functions and player variables (registers). The programming function defines two functions described below as BD-ROM specific functions based on Java (registered trademark) Script.
リンク関数:現在の再生を停止し、指定するプレイリスト、セル、時刻からの再生を開始する
Link(PL#,Cell#,time)
PL# : プレイリスト名
Cell# : セル番号
time : セル内での再生開始時刻
PNG描画関数:指定PNGデータをイメージプレーンに描画する
Draw(File,X,Y)
File : PNGファイル名
X : X座標位置
Y : Y座標位置
イメージプレーンクリア関数:イメージプレーンの指定領域をクリアする
Clear(X,Y,W,H)
X : X座標位置
Y : Y座標位置
W : X方向幅
H : Y方向幅
プレーヤ変数は、プレーヤの状態を示すシステムパラメータ(SPRM)と一般用途として使用可能なゼネラルパラメータ(GPRM)とがある。
Link function: Stops the current playback and starts playback from the specified playlist, cell, and time Link (PL #, Cell #, time)
PL #: Playlist name Cell #: Cell number time: Playback start time in the cell PNG drawing function: Draws specified PNG data on the image plane Draw (File, X, Y)
File: PNG file name X: X coordinate position Y: Y coordinate position Image plane clear function: Clear specified area of image plane Clear (X, Y, W, H)
X: X-coordinate position Y: Y-coordinate position W: X-direction width H: Y-direction width Player variables include a system parameter (SPRM) indicating the state of the player and a general parameter (GPRM) that can be used for general purposes.
図24はシステムパラメータ(SPRM)の一覧である。
SPRM(0) : 言語コード
SPRM(1) : 音声ストリーム番号
SPRM(2) : 字幕ストリーム番号
SPRM(3) : アングル番号
SPRM(4) : タイトル番号
SPRM(5) : チャプタ番号
SPRM(6) : プログラム番号
SPRM(7) : セル番号
SPRM(8) : 選択キー情報
SPRM(9) : ナビゲーションタイマー
SPRM(10) : 再生時刻情報
SPRM(11) : カラオケ用ミキシングモード
SPRM(12) : パレンタル用国情報
SPRM(13) : パレンタルレベル
SPRM(14) : プレーヤ設定値(ビデオ)
SPRM(15) : プレーヤ設定値(オーディオ)
SPRM(16) : 音声ストリーム用言語コード
SPRM(17) : 音声ストリーム用言語コード(拡張)
SPRM(18) : 字幕ストリーム用言語コード
SPRM(19) : 字幕ストリーム用言語コード(拡張)
SPRM(20) : プレーヤリージョンコード
SPRM(21) : 予備
SPRM(22) : 予備
SPRM(23) : 再生状態
SPRM(24) : 予備
SPRM(25) : 予備
SPRM(26) : 予備
SPRM(27) : 予備
SPRM(28) : 予備
SPRM(29) : 予備
SPRM(30) : 予備
SPRM(31) : 予備
なお、本実施例では、仮想プレーヤのプログラミング関数をJava(登録商標) Scriptベースとしたが、Java(登録商標) Scriptではなく、UNIX(登録商標) OSなどで使われているB−Shellや、Perl Scriptなど他のプログラミング関数であっても構わなく、言い換えれば、本発明はJava(登録商標) Scriptに限定されるものでは無い。
FIG. 24 is a list of system parameters (SPRM).
SPRM (0): Language code SPRM (1): Audio stream number SPRM (2): Subtitle stream number SPRM (3): Angle number SPRM (4): Title number SPRM (5): Chapter number SPRM (6): Program Number SPRM (7): Cell number SPRM (8): Selection key information SPRM (9): Navigation timer SPRM (10): Playback time information SPRM (11): Karaoke mixing mode SPRM (12): Parental country information SPRM (13): Parental level SPRM (14): Player set value (video)
SPRM (15): Player setting value (audio)
SPRM (16): Audio stream language code SPRM (17): Audio stream language code (extended)
SPRM (18): Language code for subtitle stream SPRM (19): Language code for subtitle stream (extended)
SPRM (20): Player region code SPRM (21): Reserve SPRM (22): Reserve SPRM (23): Playback state SPRM (24): Reserve SPRM (25): Reserve SPRM (26): Reserve SPRM (27): Spare SPRM (28): Spare SPRM (29): Spare SPRM (30): Spare SPRM (31): Spare In this embodiment, the programming function of the virtual player is based on Java (registered trademark) Script. (Registered trademark) Instead of Script, other programming functions such as B-Shell and Perl Script used in UNIX (registered trademark) OS may be used. In other words, the present invention is Java (registered trademark). It is not limited to Script.
(プログラムの例)
図25及び図26は、イベントハンドラでのプログラムの例である。
(Program example)
25 and 26 are examples of programs in the event handler.
図25は、2つの選択ボタンを持ったメニューの例である。
セル(PlayList#1.Cell#1)先頭でタイムイベントを使って図25左側のプログラムが実行される。ここでは、最初にゼネラルパラメータの一つGPRM(0)に”1”がセットされている。GPRM(0)は、当該プログラムの中で、選択されているボタンを識別するのに使っている。最初の状態では、左側に配置するボタン1が選択されている事を初期値として持たされている。
FIG. 25 shows an example of a menu having two selection buttons.
The program on the left side of FIG. 25 is executed using the time event at the head of the cell (
次に、PNGの描画を描画関数であるDrawを使ってボタン1、ボタン2夫々について行っている。ボタン1は、座標(10、200)を起点(左端)としてPNGイメージ”1black.png”を描画している。ボタン2は、座標(330,200)を起点(左端)としてPNGイメージ”2white.png”を描画している。
Next, PNG drawing is performed for each of the
また、本セル最後ではタイムイベントを使って図25右側のプログラムが実行される。ここでは、Link関数を使って当該セルの先頭から再度再生するように指定している。 At the end of this cell, the program on the right side of FIG. 25 is executed using a time event. Here, it is specified to play again from the beginning of the cell using the Link function.
図26は、メニュー選択のユーザイベントのイベントハンドラの例である。
「左」キー、「右」キー、「決定」キー何れかのリモコンキーが押された場合夫々に対応するプログラムがイベントハンドラに書かれている。ユーザがリモコンキーを押した場合、図21で説明したとおり、ユーザイベントが生成され、図26のイベントハンドラが起動されることになる。本イベントハンドラでは、選択ボタンを識別しているGPRM(0)の値と、選択されたリモコンキーを識別するSPRM(8)を使って分岐処理を行っている。
FIG. 26 is an example of an event handler for a user event for menu selection.
When the remote control key of “Left” key, “Right” key, or “Determination” key is pressed, a corresponding program is written in the event handler. When the user presses the remote control key, as described in FIG. 21, a user event is generated and the event handler of FIG. 26 is activated. In this event handler, branch processing is performed using the value of GPRM (0) identifying the selection button and SPRM (8) identifying the selected remote control key.
条件1)ボタン1が選択されている、かつ、選択キーが「右」キーの場合
GPRM(0)を2に再設定して、選択状態にあるボタンを右ボタン2に変更する。
Condition 1) When
ボタン1、ボタン2のイメージを夫々書き換える。
条件2)選択キーが「決定(OK)」の場合で、ボタン1が選択されている場合、プレ
イリスト#2の再生を開始する
条件3)選択キーが「決定(OK)」の場合で、ボタン2が選択されている場合、プレイリスト#3の再生を開始する
上記のようにして実行処理が行われる。
Rewrite the images of
Condition 2) When the selection key is “OK” and
(プレーヤ処理フロー)
次に図27から図30を用いてプレーヤでの処理フローを説明する。
(Player processing flow)
Next, the processing flow in the player will be described with reference to FIGS.
図27は、AV再生までの基本処理フローである。
BDディスクを挿入すると(S101)、BD−ROMプレーヤはBD.INFOファイルの読み込みと解析(S102)、BD.PROGの読み込み(S103)を実行する。BD.INFO及びBD.PROGは共に管理情報記録メモリに一旦格納され、シナリオプロセッサによって解析される。
FIG. 27 is a basic processing flow up to AV playback.
When the BD disc is inserted (S101), the BD-ROM player is set to BD. Reading and analysis of INFO file (S102), BD. PROG reading (S103) is executed. BD. INFO and BD. Both PROGs are temporarily stored in the management information recording memory and analyzed by the scenario processor.
続いて、シナリオプロセッサは、BD.INFOファイル内のファーストイベント(FirstEvent)情報に従い、最初のイベントを生成する(S104)。生成されたファーストイベントは、プログラムプロセッサで受け取られ、当該イベントに対応するイベントハンドラを実行処理する(S105)。 Subsequently, the scenario processor is BD. The first event is generated according to the first event (FirstEvent) information in the INFO file (S104). The generated first event is received by the program processor, and an event handler corresponding to the event is executed (S105).
ファーストイベントに対応するイベントハンドラには、最初に再生するべきプレイリスト情報が記録されていることが期待される。仮に、プレイリスト再生が指示されていない場合には、プレーヤは何も再生することなく、ユーザイベントを受け付けるのを待ち続けるだけになる。この場合、ユーザイベントを受け付けるのを待ち続けることになる(S201)。BD−ROMプレーヤはがユーザからのリモコン操作を受け付けると、UOPマネージャはプログラムマネージャに対してUOPイベントを立ち上げる(S202)。 It is expected that playlist information to be reproduced first is recorded in the event handler corresponding to the first event. If play list reproduction is not instructed, the player does not reproduce anything and simply waits for acceptance of a user event. In this case, it continues to wait for accepting a user event (S201). When the BD-ROM player receives a remote control operation from the user, the UOP manager raises a UOP event to the program manager (S202).
プログラムマネージャは、UOPイベントがメニューキーによるものであるかを判別し(S203)、メニューキーの場合は、シナリオプロセッサにUOPイベントを流し、シナリオプロセッサがユーザイベントを生成する(S204)。プログラムプロセッサは生成されたユーザイベントに対応するイベントハンドラを実行処理する(S205)。 The program manager determines whether the UOP event is caused by a menu key (S203). If the UOP event is a menu key, the program manager sends a UOP event to the scenario processor, and the scenario processor generates a user event (S204). The program processor executes an event handler corresponding to the generated user event (S205).
図28は、PL再生開始からVOB再生開始までの処理フローである。
前述したように、ファーストイベントハンドラまたはグローバルイベントハンドラによってプレイリスト再生が開始される(S301)。シナリオプロセッサは、再生対象のプレイリスト再生に必要な情報として、プレイリスト情報”XXX.PL”の読み込みと解析(S302)、プレイリストに対応するプログラム情報”XXX.PROG”の読み込みを行う(S303)。続いてシナリオプロセッサは、プレイリストに登録されているセル情報に基づいてセルの再生を開始する(S304)。セル再生は、シナリオプロセッサからプレゼンテーションコントローラに対して要求が出さる事を意味し、プレゼンテーションコントローラはAV再生を開始する(S305)。
FIG. 28 is a processing flow from the start of PL playback to the start of VOB playback.
As described above, play list reproduction is started by the first event handler or the global event handler (S301). The scenario processor reads and analyzes playlist information “XXX.PL” as information necessary for playback of the playlist to be played back (S302), and reads program information “XXX.PROG” corresponding to the playlist (S303). ). Subsequently, the scenario processor starts cell reproduction based on the cell information registered in the playlist (S304). Cell playback means that a request is sent from the scenario processor to the presentation controller, and the presentation controller starts AV playback (S305).
AV再生の開始(S401)を開始すると、プレゼンテーションコントローラは再生するセルに対応するVOBの情報ファイル(XXX.VOBI)を読み込み及び解析をする(S402)。プレゼンテーションコントローラは、タイムマップを使って再生開始するVOBUとそのアドレスを特定し、ドライブコントローラに読み出しアドレスを指示し、ドライブコントローラは対象となるVOBデータを読み出し(S403)、VOBデータがデコーダに送られ再生が開始される(S404)。VOB再生は、当該VOBの再生区間が終了するまで続けられ(S405)、終了すると次のセル再生S304へ移行する。次にセルが無い場合は、再生が停止する(S406)。 When the start of AV playback (S401) is started, the presentation controller reads and analyzes the VOB information file (XXX.VOBI) corresponding to the cell to be played back (S402). The presentation controller uses the time map to specify the VOBU to start playback and its address, and instructs the drive controller to specify the read address. The drive controller reads the target VOB data (S403), and the VOB data is sent to the decoder. Playback is started (S404). The VOB playback is continued until the playback section of the VOB ends (S405), and when it ends, the process proceeds to the next cell playback S304. Next, if there is no cell, playback stops (S406).
図29は、AV再生開始後からのイベント処理フローである。
BD−ROMプレーヤはイベントドリブン型のプレーヤモデルである。プレイリストの再生を開始すると、タイムイベント系、ユーザイベント系、字幕表示系のイベント処理プロセスが夫々起動され、平行してイベント処理を実行するようになる。
FIG. 29 is an event processing flow after the start of AV playback.
The BD-ROM player is an event-driven player model. When playback of the playlist is started, event processing processes for the time event system, the user event system, and the caption display system are started, and the event processing is executed in parallel.
S500系の処理は、タイムイベント系の処理フローである。
プレイリスト再生開始後(S501)、プレイリスト再生が終了しているかを確認するステップ(S502)を経て、シナリオプロセッサは、タイムイベント発生時刻になったかを確認する(S503)。タイムイベント発生時刻になっている場合には、シナリオプロセッサはタイムイベントを生成し(S504)、プログラムプロセッサがタイムイベントを受け取りイベントハンドラを実行処理する(S505)。
The S500 system processing is a time event system processing flow.
After the play list reproduction is started (S501), the scenario processor confirms whether or not the time event occurrence time is reached (S503) through a step (S502) for confirming whether the play list reproduction is completed. If the time event occurrence time is reached, the scenario processor generates a time event (S504), and the program processor receives the time event and executes the event handler (S505).
ステップS503でタイムイベント発生時刻になっていない場合、または、ステップS504でイベントハンドラ実行処理後は再度ステップS502へ戻り、上述した処理を繰り返す。また、ステップS502でプレイリスト再生が終了したことが確認されると、タイムイベント系の処理は強制的に終了する。 If the time event occurrence time is not reached in step S503, or after the event handler execution process in step S504, the process returns to step S502 again, and the above-described process is repeated. Also, when it is confirmed in step S502 that the play list reproduction has been completed, the time event processing is forcibly terminated.
S600系の処理は、ユーザイベント系の処理フローである。
プレイリスト再生開始後(S601)、プレイリスト再生終了確認ステップ(S602)を経て、UOP受付確認ステップの処理に移る(S603)。UOPの受付があった場合、UOPマネージャはUOPイベントを生成し(S604)、UOPイベントを受け取ったプログラムプロセッサはUOPイベントがメニューコールであるかを確認し(S605)、メニューコールであった場合は、プログラムプロセッサはシナリオプロセッサにイベントを生成させ(S607)、プログラムプロセッサはイベントハンドラを実行処理する(S608)。
The S600 system processing is a user event system processing flow.
After the play list reproduction is started (S601), the play list reproduction end confirmation step (S602) is performed, and then the process proceeds to the UOP reception confirmation step (S603). When the UOP is accepted, the UOP manager generates a UOP event (S604), and the program processor that receives the UOP event checks whether the UOP event is a menu call (S605). The program processor causes the scenario processor to generate an event (S607), and the program processor executes the event handler (S608).
ステップS605でUOPイベントがメニューコールで無いと判断された場合、UOPイベントはカーソルキーまたは「決定」キーによるイベントである事を示している。この場合、現在時刻がユーザイベント有効期間内であるかをシナリオプロセッサが判断し(S606)、有効期間内である場合には、シナリオプロセッサがユーザイベントを生成し(S607)、プログラムプロセッサが対象のイベントハンドラを実行処理する(S608)。 If it is determined in step S605 that the UOP event is not a menu call, it indicates that the UOP event is an event by a cursor key or a “decision” key. In this case, the scenario processor determines whether the current time is within the user event valid period (S606), and if it is within the valid period, the scenario processor generates a user event (S607), and the program processor is targeted. The event handler is executed (S608).
ステップS603でUOP受付が無い場合、ステップS606で現在時刻がユーザイベント有効期間に無い場合、または、ステップS608でイベントハンドラ実行処理後は再度ステップS602へ戻り、上述した処理を繰り返す。また、ステップS602でプレイリスト再生が終了したことが確認されると、ユーザイベント系の処理は強制的に終了する。 If no UOP is accepted in step S603, if the current time is not in the user event valid period in step S606, or after the event handler execution process in step S608, the process returns to step S602 again to repeat the above-described process. Further, when it is confirmed in step S602 that the play list reproduction has ended, the user event processing is forcibly ended.
図30は字幕処理のフローである。
プレイリスト再生開始後(S701)、プレイリスト再生終了確認ステップ(S702)を経て、字幕描画開始時刻確認ステップに移る(S703)。字幕描画開始時刻の場合、シナリオプロセッサはプレゼンテーションコントローラに字幕描画を指示し、プレゼンテーションコントローラはイメージプロセッサに字幕描画を指示する(S704)。ステップS703で字幕描画開始時刻で無いと判断された場合、字幕表示終了時刻であるかを確認する(S705)。字幕表示終了時刻であると判断された場合は、プレゼンテーションコントローラがイメージプロセッサに字幕消去指示を行い、描画されている字幕をイメージプレーンから消去する(S706)。
FIG. 30 is a flowchart of caption processing.
After the play list reproduction is started (S701), the play list reproduction end confirmation step (S702) is followed by the subtitle drawing start time confirmation step (S703). In the case of the caption rendering start time, the scenario processor instructs the presentation controller to render captions, and the presentation controller instructs the image processor to render captions (S704). If it is determined in step S703 that it is not the caption drawing start time, it is confirmed whether it is the caption display end time (S705). If it is determined that the subtitle display end time is reached, the presentation controller instructs the image processor to delete the subtitle and deletes the drawn subtitle from the image plane (S706).
字幕描画ステップS704終了後、字幕消去ステップS706終了後、または、字幕表示終了時刻確認ステップS705で当該時刻でないことが判断された場合、ステップS702に戻り、上述した処理を繰り返す。また、ステップS702でプレイリスト再生が終了したことが確認されると、字幕表示系の処理は強制的に終了する。 After the caption drawing step S704 ends, after the caption erasure step S706 ends, or when it is determined that the time is not the same at the caption display end time confirmation step S705, the process returns to step S702 and the above-described processing is repeated. Also, when it is confirmed in step S702 that the playlist reproduction has been completed, the caption display processing is forcibly terminated.
(実施例2)
次に本発明の第2の実施の形態について説明する。
(Example 2)
Next, a second embodiment of the present invention will be described.
第2の実施の形態は、BD-ROMにおいてより豊かなインタラクティブ性を実現するため、XML・XHTML・HTMLベースの画面構成環境と、イベントおよびスクリプトを用いたプログラミング環境を導入することに関する内容である。基本的には第1の実施例に基づく内容であり、拡張または異なる部分を中心に説明する。
(HTMLファイルを利用したコンテンツ制御)
図31は、HTMLおよびスクリプトを利用したシナリオ制御に関わるモジュール構成、制御の流れ、イベントなどの伝わり方を示している。
The second embodiment relates to the introduction of an XML / XHTML / HTML-based screen configuration environment and a programming environment using events and scripts in order to realize richer interactivity in the BD-ROM. . Basically, the contents are based on the first embodiment, and the description will be focused on the expansion or different portions.
(Content control using HTML files)
FIG. 31 shows how the module configuration, control flow, events, etc. related to scenario control using HTML and script are transmitted.
ユーザーイベント処理部は、リモコン信号などを受信し、次のモジュールにイベントを割り振るモジュールである。再生制御に関わる、再生/停止/早送り/巻き戻し/スキップ/アングル変更/音声切替/字幕切替などのイベントはAV再生制御部に送られる。ボタンフォーカスの移動(上下左右キー)や決定などのイベントは、HTML処理部に送られる。タイトル切替に関わる、タイトル選択やメニュー呼び出しのイベントは、タイトル制御部に送られる。なお、Index Tableとは、ディスク中のタイトルを列挙したファイルであり、図18のTitle List部分を切り出して1つにしたものである。 The user event processing unit is a module that receives a remote control signal and assigns an event to the next module. Events related to playback control, such as playback / stop / fast forward / rewind / skip / angle change / audio switching / subtitle switching, are sent to the AV playback control unit. Events such as button focus movement (up / down / left / right keys) and determination are sent to the HTML processing unit. Events for title selection and menu call related to title switching are sent to the title control unit. The Index Table is a file listing the titles in the disc, and is obtained by cutting out the Title List portion of FIG. 18 into one.
タイトル制御部は、タイトル切替を要求されるとIndex Tableにしたがってタイトル切替を行うモジュールである。タイトルがHTMLで定義される場合、HTML処理部にタイトルに関連付けられたHTMLファイルを読み込むように制御を行う。
HTML処理部はHTMLファイルを読み込み、スタイル定義情報などにしたがって、画面を構成し、イベントに応じて関連するスクリプトを実行するモジュールである。スクリプトを実行した結果、AVの再生が必要であればAV再生制御部に対して、再生開始などの制御を行い、タイトル切替が必要であれば、タイトル制御部に対して制御を行う。
AV再生制御部は、イベントや指示に従ってAVストリームの再生を行い、AV再生制御部の状態が変化したときやAVストリームの再生位置が特定の位置に達した際にイベントを生成してHTML処理部に通知する。
The title control unit is a module that performs title switching according to the Index Table when title switching is requested. When the title is defined in HTML, control is performed so that the HTML file associated with the title is read into the HTML processing unit.
The HTML processing unit is a module that reads an HTML file, configures a screen according to style definition information, and executes related scripts according to events. As a result of executing the script, if AV playback is necessary, the AV playback control unit is controlled to start playback, and if title switching is necessary, the title control unit is controlled.
The AV playback control unit plays back an AV stream in accordance with an event or an instruction, generates an event when the state of the AV playback control unit changes or the playback position of the AV stream reaches a specific position, and generates an HTML processing unit. Notify
プレーヤの状態が変化したことを通知するイベントとは、ユーザーから再生指示があり、ユーザーイベント処理部が再生開始要求のイベントをAV再生制御部に通知すると、AV再生制御部は再生を開始する。この時に、AV再生制御部が停止状態から再生状態に変化したことを通知するようなイベントである。 The event notifying that the state of the player has changed is a playback instruction from the user. When the user event processing unit notifies the AV playback control unit of the playback start request event, the AV playback control unit starts playback. At this time, the event is such that the AV playback control unit notifies the change from the stopped state to the playback state.
また、再生位置を通知するイベントとは、AVストリームの終端に達したときや、セルの境界に達したとき、あるいはマークと呼ばれるAVストリームの一時点を示すデータが存在する場合その地点に達したことを通知するイベントである。 The event notifying the playback position is reached when the end of the AV stream is reached, when the cell boundary is reached, or when there is data indicating a point in time of the AV stream called a mark. It is an event to notify that.
図32はあるタイトルが選択されたときの動作の様子を示している。
Index Tableで定義されるあるタイトルを選択した場合、タイトルに関連付けられたHTMLファイルが呼び出される。HTMLファイルには、再生制御などを行うスクリプトなども記述されている。 図中の例では、スクリプトファイルを間接的に参照しているが、直接HTMLファイル内に記述することも可能である。また、説明のため、HTMLと表記しているが、XHTML形式であってもよいし、XML形式にのっとっていれば独自のタグなどを利用した形式でもよい。
図中のHTMLファイル内に記述されている“onLoad”属性において、ファイルが読み込まれたときに実行されるスクリプトを規定している。この例では、HTMLファイルが読み込まれたときに、“playTitle1”というスクリプトが呼び出され、スクリプト自体はスクリプトファイル内に記述されている。
また、<event>タグを用いることにより、ユーザーイベント処理部やAV再生制御部から通知されたイベントに対応してスクリプトを実行する仕組みも提供する。この例では、“EndOfStream”イベントが発生した際、“jumpTitle2”というスクリプトを呼び出す例である。なお、“EndOfStream”イベントとは、たとえばAV再生がファイルの終端に達した場合にAV再生制御部が生成するイベントである。
また、予め関数名が予約されているイベント処理用関数(例えば、BDIMoviePlaybackEventHandler()関数など)を、HTML文書のスクリプトタグ内や、スクリプトファイル内に記述しておくことで、ユーザーイベント処理部やAV再生制御部から通知されたイベントに対応して、スクリプトを実行することも可能である。
図33は先ほどの例に、画面生成を加えた例である。たとえば、先ほどと同様にIndex TableからHTMLが呼び出され、そのHTMLはメニュー画面などを生成するための情報が書かれていた場合である。画面構成のスタイルなどはCSSなどのスタイルシートを利用してもよい。
この例では、画面上に2つのボタンを配置している。それぞれのボタンが押されると対応スクリプトが実行される。あるボタンを選択すると、“onClick”属性に定義されているスクリプトが実行される。TitleAと書かれたPNGイメージファイルと関連付けられている左側のボタンを選択すると、“playA”スクリプトが実行され、タイトル1にジャンプする。同様に、TitleBボタンを選択すると、あるAVストリームが再生された後に、タイトル2にジャンプする。
これまで説明した仕組みを用いることのより、HTMLファイルを用いて、メニュー画面を表示し、何らかのボタンを選択を選択するとコンテンツの再生を開始するような仕組みを提供することが可能となる。
また、スクリプト部分と、スクリプトが実行するAPIを追加することにより、より複雑な機能、たとえばインターネット接続やダウンロードサービスといったアプリケーションも実行可能である。
FIG. 32 shows the operation when a certain title is selected.
When a certain title defined in the Index Table is selected, an HTML file associated with the title is called. In the HTML file, a script for performing reproduction control is also described. In the example in the figure, the script file is indirectly referenced, but can be described directly in the HTML file. Further, for the sake of explanation, it is described as HTML, but it may be in XHTML format, or may be in a format using a unique tag or the like as long as it is in XML format.
In the “onLoad” attribute described in the HTML file in the figure, a script to be executed when the file is read is defined. In this example, when an HTML file is read, a script “playTitle1” is called, and the script itself is described in the script file.
In addition, by using an <event> tag, a mechanism for executing a script in response to an event notified from a user event processing unit or an AV playback control unit is also provided. In this example, when the “EndOfStream” event occurs, a script “jumpTitle2” is called. The “EndOfStream” event is an event generated by the AV playback control unit when, for example, AV playback reaches the end of the file.
Also, an event processing function (for example, a BDIMoviePlaybackEventHandler () function) whose function name is reserved in advance is described in a script tag of an HTML document or a script file, so that a user event processing unit or AV It is also possible to execute a script in response to an event notified from the playback control unit.
FIG. 33 shows an example in which screen generation is added to the previous example. For example, HTML is called from the Index Table as described above, and the HTML is written when information for generating a menu screen or the like is written. A style sheet such as CSS may be used as the screen configuration style.
In this example, two buttons are arranged on the screen. When each button is pressed, the corresponding script is executed. When a certain button is selected, a script defined in the “onClick” attribute is executed. When the left button associated with the PNG image file written as TitleA is selected, the “playA” script is executed and jumps to
By using the mechanism described so far, it is possible to provide a mechanism in which a menu screen is displayed using an HTML file, and playback of content is started when selection of a certain button is selected.
Further, by adding a script part and an API executed by the script, more complicated functions such as an application such as an Internet connection or a download service can be executed.
(リソース管理)
HTMLファイルがメニュー画面のような画面を構成する際には、PNGイメージファイルなどのデータファイルを参照する。メニューが凝ったものになればなるほど、表示するグラフィクスは複雑なものになり、それを表示するためのイメージデータのサイズは大きくなる。
(Resource management)
When the HTML file forms a screen such as a menu screen, a data file such as a PNG image file is referred to. The more sophisticated the menu, the more complicated the graphics to display and the larger the image data size for displaying it.
また、HTMLファイルはユーザー操作によって画面を切り替えるように作ることも可能である。メニュー画面の中である項目を選ぶと、さらにサブメニューが出てくるような場合である。このような場合、メニュー画面が表示された最初の瞬間には表示されていなかったイメージデータが、あとから必要になることがある。 An HTML file can be created so that the screen is switched by a user operation. This is the case when selecting an item in the menu screen causes a submenu to appear. In such a case, image data that was not displayed at the first moment when the menu screen is displayed may be required later.
ところが、さらにそのメニュー画面の背景では動画が表示されている、つまりAVストリームが再生されている場合、必要になってからイメージデータを読み込みに行こうとすると、ディスク上でファイルがある位置にシークを行ってから読み込んで元の位置に戻ってこなければならず、AVストリームの再生が一時的に中断してしまう可能性がある。十分な量のバッファを積んでおり、AVストリームを事前にバッファ一杯に先読みすればこのようなことも回避できるが、画像が高解像度・高画質になり、高ビットレートが必要になってきているので、かなり大容量のバッファを用意しなければならず、コストアップなどにつながり、現実的ではない。 However, if a video is displayed in the background of the menu screen, that is, if an AV stream is being played back, if you try to read the image data after it is needed, you will seek to the position where the file is on the disc. And then reading it back to the original position, there is a possibility that the playback of the AV stream is temporarily interrupted. A sufficient amount of buffer is loaded, and this can be avoided if the AV stream is pre-read in advance, but the image has high resolution and high image quality, and a high bit rate is required. Therefore, a considerably large-capacity buffer must be prepared, which leads to an increase in cost and is not realistic.
また、ハードディスクのようにシーク時間が短く、読み取り速度が速いメディアでは、少量のバッファでもその早さを利用して、AVを中断させずに他のデータを読み込むことも可能であるが、光ディスクメディアのドライブでは、シークには時間がかかり、読み込み速度もそれほど速くないため、実現にはさらなる技術の進歩が必要となる。 In addition, with a medium such as a hard disk that has a short seek time and a high reading speed, even a small amount of buffer can be used to read other data without interrupting AV. With this drive, seeking takes time and reading speed is not so fast, so further technical advancement is required for realization.
そのため、一旦AV再生が開始されるとAV以外のデータを読み込みに行かないモデルにすることが望ましい。 Therefore, it is desirable to use a model in which data other than AV is not read once AV playback is started.
図34はその様な場合のデータのライフサイクルを示している。
AVの再生が開始される前に、画面を表示するために必要なデータである、HTMLファイルやスクリプトファイル、それらのファイルから参照されるPNGイメージファイルなどのデータファイルをバッファ上にプリロードしておく。
FIG. 34 shows the data life cycle in such a case.
Before AV playback starts, data files such as HTML files and script files that are necessary for displaying the screen, such as PNG image files referenced from those files, are preloaded on the buffer. .
一旦AVの再生が開始されると、それらのデータをディスクに読みに行くことはない。
なお、AVの再生が止まってもよい場合は、これらを考慮する必要はない。
Once AV playback is started, the data is not read to the disc.
Note that when AV playback may be stopped, there is no need to consider them.
また、コンテンツにより、AVの再生が止まって欲しくない場合と、止まってもよい場合を区別する必要があるならば、管理情報にこの2つのパターンを区別する識別子を用意しておけばよい。 Also, if it is necessary to distinguish between the case where AV playback is not desired to stop and the case where it may be stopped depending on the content, an identifier for distinguishing these two patterns may be prepared in the management information.
HTML処理部がデータを必要とするときは、バッファからHTML処理部のワークメモリ上に読み込んでおき、画面の表示などに利用する。その画面が表示されなくなったときには、必要なくなったデータをワークメモリから解放し、次に必要になるデータをバッファから読み込んでくる。 When the HTML processing unit needs data, it is read from the buffer onto the work memory of the HTML processing unit and used for screen display. When the screen is not displayed, the unnecessary data is released from the work memory, and the next necessary data is read from the buffer.
なお、このワークメモリは、バッファと共有してもよい。
バッファにあるメモリーは、そこに読み込まれているデータが必要なくなるまで保存しておき、必要なくなれば解放する。
This work memory may be shared with the buffer.
Save the memory in the buffer until you no longer need it, and free it when you no longer need it.
(データのライフサイクル)
上で述べたように、バッファにデータを読み込んでくるタイミングと、バッファからデータを解放するタイミングを明確に決めることができれば、データのライフサイクルの管理が明確になり、管理がしやすくなる。
(Data life cycle)
As described above, if the timing for reading data into the buffer and the timing for releasing the data from the buffer can be clearly determined, the management of the data life cycle becomes clear and easy to manage.
データの管理がしやすくなれば、コンテンツ作成者がどのプレーヤでも必ず動作させることができるコンテンツ構成を判定しやすくなり、コンテンツ作成が容易になる。 If data management becomes easier, it becomes easier for the content creator to determine a content configuration that can be operated by any player, and content creation becomes easier.
データのライフサイクルの開始タイミングと終了タイミングは、AVの再生が停止しているタイミング、あるいは一時的に停止する、連続して再生する場合でもシームレスに再生する必要がないタイミングが望ましい。 The start timing and end timing of the data life cycle are preferably the timing at which AV playback is stopped, or the timing at which playback is stopped temporarily or even when continuous playback is not required.
このようなタイミングとしては、AVストリームの切替点、HTMLファイルで構成される画面の切替点や、タイトル切替のタイミングなどがあり、その他上記の条件を満たすのであればその他の点でもよい。 Such timing includes an AV stream switching point, a screen switching point constituted by an HTML file, a title switching timing, and the like, and may be other points as long as the above conditions are satisfied.
これまで説明した構造を用いると、タイトルの切替のタイミングは、Index Tableで明示的に、かつ静的データとして参照することができ、プレーヤから制御しやすい。そのため、データのライフサイクルとは、あるタイトルが開始するときに開始し、あるタイトルが終了するときにライフサイクルも終了する。 Using the structure described so far, the timing of title switching can be explicitly referred to as static data in the Index Table, and can be easily controlled from the player. Therefore, the data life cycle starts when a certain title starts, and ends when a certain title ends.
つまり、あるタイトルが開始するときに、そのタイトルを再生するために必要な全てのデータをバッファにプリロードしておき、そのタイトルが終了するとき、たとえば他のタイトルにジャンプするときに、バッファから解放する。 In other words, when a title starts, all the data needed to play that title is preloaded into the buffer and released from the buffer when the title ends, for example when jumping to another title To do.
図35は各モジュール間の制御の流れとデータの流れ、それに合わせたデータのライフサイクルを示したタイミングチャートである。 FIG. 35 is a timing chart showing the flow of control between each module, the flow of data, and the data life cycle corresponding thereto.
このようなライフサイクルと、バッファのサイズを規定すれば、タイトルを作成するときに、どのくらいのサイズまでイメージデータを使うことができ、どのようなアプリケーションを実行できるか定量的に判断でき、タイトルが非常に作りやすくなる。 By defining such a life cycle and buffer size, you can quantitatively determine how much image data can be used when creating a title, and what application can be executed. It becomes very easy to make.
なお、バッファの解放はタイトル制御部や、より上位のモジュールから強制的に行ってもよいし、HTML処理部が行ってもよい。 The release of the buffer may be forcibly performed from the title control unit or a higher-order module, or may be performed by the HTML processing unit.
ユーザー操作によりアプリケーション実行中にタイトルを切り替えられた場合、タイトル制御部は、HTML処理部に現在実行中のスクリプトを中止し、バッファの解放を指示ずる。また、タイトルが切り替わると、次のタイトルに関連するファイルをバッファに読み込むよう指示する。 When the title is switched while the application is being executed by a user operation, the title control unit cancels the script that is currently being executed and instructs the HTML processing unit to release the buffer. Also, when the title is switched, an instruction is given to read a file related to the next title into the buffer.
(データ読み込みの保証)
AVストリームの再生開始より前に、AVストリーム以外のファイルをバッファにプリロードしておく必要は上で述べたとおりである。その際、HTMLファイルを解析して必要なファイルをリストアップしていては、時間がかかってしまう。
(Data reading guarantee)
As described above, it is necessary to preload a file other than the AV stream in the buffer before starting the reproduction of the AV stream. At that time, it takes time to analyze the HTML file and list the necessary files.
そこで、図36(a)のように、各タイトルで必要なファイルをリストアップしたリソースリストをタイトル毎に作成し、タイトルが選択されたときに、そのタイトルリストに列挙されているファイルを全てバッファに読み込めばよい。 Therefore, as shown in FIG. 36A, a resource list in which files necessary for each title are listed is created for each title, and when a title is selected, all the files listed in the title list are buffered. Just load it into
また、ファイル数が多い場合、ファイル毎にシークが発生すると読み込みの時間がかかってしまうため、リストアップされたファイルをディスク上の1カ所にまとめて配置することのより、無駄なシークを発生させることなく必要なファイルを全て読み込むことも可能である。 Also, if there are many files, it will take time to read each file, so it will cause unnecessary seeks by placing the listed files in one place on the disk. It is also possible to read all necessary files without any problems.
あるいは、図36(b)のように、ファイルをディレクトリ構造ごとZIPファイルなどで1つにまとめてしまい、バッファに読み込んだあとでバッファ内でファイルを展開し、ディレクトリ構造などを構成してもよい。ファイルをひとまとめにでき、ディレクトリ構造を保持できるようなフォーマットであれば、ZIPファイルでなくてもよい。また、圧縮ファイルである必要もない。 Alternatively, as shown in FIG. 36B, the files may be grouped together in a ZIP file or the like for each directory structure, and after reading into the buffer, the files may be expanded in the buffer to configure the directory structure or the like. . The file may not be a ZIP file as long as the file can be put together and the directory structure can be maintained. Also, it does not have to be a compressed file.
あるいは、図37に示すように、制作段階などにおいてディレクトリ構造を持つ論理ファイルツリー400の各ファイルを、Content Archive File401(以降、CARファイルと記載する)内に、フラットに配置し、HTTPのentity形式などでマルチパート化しておく。さらに、論理ファイルツリー400のディレクトリ構造情報は、Resource List File402に格納して、このResource List File402を、CARファイル401内に配置してもよい。
Alternatively, as shown in FIG. 37, each file of the
(ZIPファイル、CARファイル401を用いたアーカイブ構成の効果)
図36(b)の構成や、図37の構成をとることで実現できるディスクへの書込み効率/読出し効率の向上について説明する。
もし、HTMLファイルやイメージファイルを、ディスク上に個別配置した場合、1つのファイルに関する情報しか配置できないディスク上のセクターに、何も書き込まれないエリア(フラグメンテーション)が発生し、書込み効率が低下する。
また、読出しにおいては、HTMLファイル、イメージファイルの個数分だけ読出し処理が発生し、読出しの都度、ディスクのSEEK処理が発生し、関連するファイルの読込みに時間がかかってしまい、タイトルの起動が遅くなる。
一方、ZIPファイル、もしくは、CARファイル401を用いた場合、画面提示に利用されるHTMLファイルとそのHTMLファイルが参照するイメージファイル群、そして、そのHTMLファイルから文書遷移して次に提示されるHTMLファイルなど、一連の動作に関連するファイル群(コンテンツ)をアーカイブ化しているので、フラグメンテーションの合計サイズ、個数が抑えられて、ディスクへの書込み効率が高くなり、また、1ファイルにアーカイブされているので、1回の読出し処理しか発生せず、SEEK回数が抑えられ、すばやくディスクから読み出すことができる。
(Effect of archive configuration using ZIP file and CAR file 401)
The improvement of the writing efficiency / reading efficiency to the disc that can be realized by adopting the configuration of FIG. 36B and the configuration of FIG. 37 will be described.
If an HTML file or an image file is individually arranged on the disk, an area (fragmentation) where nothing is written is generated in a sector on the disk where only information relating to one file can be arranged, and the writing efficiency is lowered.
In reading, the number of HTML files and image files is read, and each time a read is performed, a disc SEEK process occurs, and it takes a long time to read the related file, and the start of the title is slow. Become.
On the other hand, when the ZIP file or the
また、このような仕組みを用いることにより、タイトル毎にリソースを分かりやすく管理し、データの読み込みを効率化することにより、オーサリング時にミスが起こりにくく、プレーヤで制御しやすい仕組みを提供することが可能となる。 In addition, by using such a mechanism, it is possible to provide a mechanism that makes it easier for players to control errors by making it easier to understand mistakes during authoring by managing resources easily for each title and making data reading more efficient It becomes.
(Resource List File形式による起動処理フロー)
以下、図36、図37を用いて説明したZIPファイルおよびCARファイルなどのアーカイブファイルを応用した仕組みに関してより詳細な実装を説明する。
(Startup process flow in Resource List File format)
Hereinafter, a more detailed implementation will be described with respect to a mechanism in which archive files such as ZIP files and CAR files described with reference to FIGS. 36 and 37 are applied.
図39にXMLを用いたResource List Fileを記述した例を図示している。Resource List Fileは各タイトル毎に記述され、各タイトル再生時に実行されるアプリケーションに関する記述がなされる。 FIG. 39 shows an example in which a Resource List File using XML is described. The Resource List File is described for each title, and describes the application that is executed when each title is played back.
図32を用いて前述した例では、Index Tableで定義されるタイトルからはHTMLファイルが関連づけられていたが、Index Tableで定義された各タイトルからはResource List Fileが関連づけられており、Index Tableで定義されるあるタイトルを選択した場合、そのタイトルに関連づけられたResource List Fileが最初に呼び出される。 In the example described above with reference to FIG. 32, the HTML file is associated with the title defined by the Index Table, but the Resource List File is associated with each title defined by the Index Table, and the Index Table is associated with the Index Table. When a title that is defined is selected, the Resource List File associated with that title is first invoked.
また、図32を用いて前述した例では、Index Tableで定義されるタイトルからはHTMLファイルが関連づけられていたが、Index Tableで定義された各タイトルからは、CARファイルが関連づけられていており、さらに、CARファイル内には、Resource List Fileが格納されており、Index Tableで定義されるあるタイトルを選択した場合、そのタイトルに関連づけられたCARファイルが最初に呼び出され、CARファイルに関連付けられたResource List Fileが次に呼び出される。 In the example described above with reference to FIG. 32, the HTML file is associated with the title defined in the Index Table, but the CAR file is associated with each title defined in the Index Table. Furthermore, a Resource List File is stored in the CAR file, and when a certain title defined in the Index Table is selected, the CAR file associated with the title is first called and associated with the CAR file. The Resource List File is then called.
なお、図38のS800系は、Titleが選択されてから、HTMLによる画面提示までのフローを示している。
Index Tableで定義されるあるタイトルを選択されると(S801)、そのタイトルに関連づけられたCARファイルが呼出され、CARファイル用のBufferに格納される(S802)。次に、CARファイルに格納された、Resource List Fileが切り出され、Resource List Fileが解析され、起動すべきHTMLファイルが特定される(S803)。なお、Resource List Fileは、マルチパート化されたCARファイルの先頭に配置することで、Resource List Fileの切り出しをすばやく実現できる。
次に、Resource List Fileに記載された起動すべきHTMLファイルのOffset値を用いて、CARファイル内に格納されたHTMLファイルを切り出し、HTMLファイルを解析する(S804)。なお、Offsetが記載されていない場合には、ディレクトリ構成に記載されたディレクトリ名、ファイル名を付け足して論理パスを構築し、本論理パスを用いて、ZIPファイルにアーカイブされた各ファイルのリソースヘッダに記載されたリソースパスと比較することで、HTMLファイルを特定し、切り出すことができる。
Note that the S800 system in FIG. 38 shows a flow from the selection of Title to the presentation of the screen by HTML.
When a title defined in the Index Table is selected (S801), the CAR file associated with the title is called and stored in the buffer for the CAR file (S802). Next, the Resource List File stored in the CAR file is cut out, the Resource List File is analyzed, and the HTML file to be activated is specified (S803). The Resource List File can be quickly cut out by placing the Resource List File at the beginning of the multipart CAR file.
Next, the HTML file stored in the CAR file is cut out using the Offset value of the HTML file to be activated described in the Resource List File, and the HTML file is analyzed (S804). If Offset is not described, a logical path is constructed by adding the directory name and file name described in the directory structure, and a resource header of each file archived in the ZIP file using this logical path. The HTML file can be identified and cut out by comparing with the resource path described in (1).
HTMLファイルがイメージファイルなどのデータファイルを参照している場合は、さらに、Resource List Fileを解析して、対応するデータファイルを切り出し、レイアウト処理、スクリプト処理を行って、画面が提示される(S805)。 If the HTML file refers to a data file such as an image file, the Resource List File is further analyzed, the corresponding data file is cut out, layout processing and script processing are performed, and a screen is presented (S805). ).
さらに、図38のS900系を用いて、画面提示された後、ユーザ操作やスクリプト処理などによって文書遷移処理が発生してから、次の提示画面が提示されるまでの処理フローを説明する。 Furthermore, a processing flow from when the screen is presented to when the document transition processing is generated by a user operation or script processing until the next presentation screen is presented will be described using the S900 system of FIG.
ユーザ操作やスクリプト処理などによって文書遷移が発生すると(S901)、指定されたURIを解析し、同一タイトル内に属するかを判断し、別タイトルに属する場合は、Index Tableを解析して、別タイトルの起動を指示し、(S801)へ移行する(S902)。同タイトルに属する場合、すでにPreloadされているCARファイル内にあるResource List Fileを解析し、指定されたHTMLファイルを特定する(S903)。次に、Resource List Fileに記載されたOffset値を用いて、CARファイル内に格納されたHTMLファイルを切り出し、HTMLファイルを解析する(S904)。イメージファイルなどのデータファイルが参照されている場合は、さらに、Resource List Fileを解析して、対応するデータファイルを切り出し、レイアウト処理、スクリプト処理を行って、画面が提示される(S905)。 When a document transition occurs due to a user operation or script processing (S901), the specified URI is analyzed to determine whether it belongs to the same title, and if it belongs to another title, the Index Table is analyzed to determine another title. Is started, and the process proceeds to (S801) (S902). If it belongs to the same title, the Resource List File in the pre-loaded CAR file is analyzed to identify the designated HTML file (S903). Next, the HTML file stored in the CAR file is cut out using the Offset value described in the Resource List File, and the HTML file is analyzed (S904). When a data file such as an image file is referred to, the Resource List File is further analyzed, the corresponding data file is cut out, layout processing and script processing are performed, and a screen is presented (S905).
(XML形式のResource List Fileの構造)
図39は、XML形式のResource List Fileの記述例を示す。XML形式のResource List Fileは、XML宣言と、<application>、<entry>、<toppage>、<linkfile>の四つの要素からなる。
<application>要素のname属性にアプリケーション名が記述される。
(Structure of Resource List File in XML format)
FIG. 39 shows a description example of the Resource List File in the XML format. An XML-format Resource List File is composed of an XML declaration and four elements: <application>, <entry>, <toppage>, and <linkfile>.
An application name is described in the name attribute of the <application> element.
アプリケーションを実行する上で一番最初に読み込んで解析する必要があるHTML(以降、Toppageと呼ぶ)に関しては、そのファイル名が<toppage>要素のsrc属性として記述されている。 For HTML (hereinafter referred to as Toppage) that needs to be read and analyzed first when executing an application, the file name is described as the src attribute of the <toppage> element.
Toppageを除く、アプリケーションを構成する各ファイルのファイル名がURI形式で<linkfile>要素のsrc属性としてリストアップされている。
また、これらのアプリケーションを構成するファイル群(Toppageを含む)は、アーカイブファイルとして一纏めにBD−ROM上に記録されるものとし、Resource List Fileには当該アーカイブファイルのファイル名がURI形式で<entry>要素のsrc属性として記述されている。
The file name of each file constituting the application except Toppage is listed in the URI format as the src attribute of the <linkfile> element.
In addition, a file group (including Toppage) constituting these applications is recorded on the BD-ROM collectively as an archive file, and the resource list file has a file name of the archive file in URI format <entry. > Described as the src attribute of the element.
このように、BDプレーヤはタイトル再生時にそのタイトルに対応するResource List Fileを読み込むことで、BD−ROM上にアーカイブファイルとして一纏めに配置されたアプリケーションを構成するファイルを無駄なシークを発生させることなく一括して読み込むことができ、また当該アプリケーションで使用する全てのファイル名を知ることができる。 In this way, the BD player reads the Resource List File corresponding to the title at the time of playing the title, so that the files constituting the applications arranged together as archive files on the BD-ROM do not cause useless seeks. It can be read in a batch and all file names used in the application can be known.
また、Resource List File中の<Toppage>要素を参照することで、HTML及びスクリプトで記述されたアプリケーションを実行する際、どのファイルを一番はじめに解析するのかを知ることができる。 Further, by referring to the <Toppage> element in the Resource List File, it is possible to know which file is analyzed first when executing an application described in HTML and script.
現在再生しているタイトルとは違うタイトルが選択された場合、再生していたタイトルのResource List Fileに記述されていたファイルを解放してもよいし、選択されたタイトルに関連づけられたResource List Fileに記載されていないファイルのみ解放してもよい。このようにResource List Fileを用いることで、タイトル毎にリソースを分かりやすく管理し、データの読み込みを効率化することが可能であり、オーサリング時にミスが起こりにくく、プレーヤで制御しやすい仕組みを提供することが可能となる。 When a title different from the currently playing title is selected, the file described in the Resource List File of the title being played may be released, or the Resource List File associated with the selected title is released. You may release only files that are not listed in. By using the Resource List File in this way, it is possible to manage resources for each title in an easy-to-understand manner, improve the efficiency of data reading, and provide a mechanism that is less prone to errors during authoring and that is easy to control by the player It becomes possible.
なお、本実施の形態のResource List Fileでは、<application>要素のname属性にアプリケーションの名前が記述されており、プレーヤは挿入されたBD−ROM Discのタイトル名とこのアプリケーション名を用いてプレーヤにて実行されたアプリケーションを識別可能である。したがって、プレーヤのローカルストレージにそれぞれのアプリケーション用の領域を設定してもよい。また、前記アプリケーション用の領域には当該アプリケーションのみがアクセス可能であり、そのほかのアプリケーションのアクセスを禁止しても良い。 In the Resource List File of the present embodiment, the name of the application is described in the name attribute of the <application> element, and the player uses the title name of the inserted BD-ROM Disc and the application name to inform the player. Can be identified. Accordingly, an area for each application may be set in the local storage of the player. Further, only the application can access the application area, and access to other applications may be prohibited.
(バイナリー形式のResource List Fileの構造)
図40を用いて、CARファイルにアーカイブされるファイルのディレクトリ構造情報を格納したバイナリー形式のResource List Fileの内部構造について説明をする。
<Resource List File>
バイナリー形式のResource List Fileは、Base InfoとBase Directoryから構成される。Base Infoは、Resource List Fileが格納されているCARファイル全般に関わる情報が記載される。
<Base Directory>
Base Directoryは、CARファイルに格納されているHTMLファイル等ファイルのディレクトリ構造情報が記載されており、Information、Number、CARファイルをトップディレクトリとして、この1段下に配置されるDirectory、Fileから構成される。DirectoryとFileの合計数は、Numberに記載された数となる。Informationには、Base Directoryに関する情報が記載される。
<Directory>
Directoryは、Information、Number、本Directoryの1段下に配置されるDirectory、Fileから構成される。DirectoryとFileの合計数は、Numberに記載された数となる。Informationには、Directoryの名前や本Directoryの属性情報が記載される。さらに配下に配置されたDirectoryは、本Directoryと同じ構成となる。
<File>
Fileは、Information、Offset、Nameから構成される。Informationには、本Fileの属性情報が記載される。Nameは名前である。Offsetは、CARファイル内に配置されている本来のファイルの、CARファイルの先頭からのbit長さが記載されている。
(Structure of Resource List File in binary format)
The internal structure of the Resource List File in binary format that stores the directory structure information of the file archived in the CAR file will be described with reference to FIG.
<Resource List File>
The Resource List File in binary format is composed of Base Info and Base Directory. In the Base Info, information related to the entire CAR file in which the Resource List File is stored is described.
<Base Directory>
Base Directory describes the directory structure information of files such as HTML files stored in CAR files, and consists of Directories and Files placed one level below, with Information, Number, and CAR files as top directories. The The total number of Directories and Files is the number described in Number. In Information, information related to Base Directory is described.
<Directory>
The Directory is composed of Information, Number, and Directory and File that are arranged one stage below this Directory. The total number of Directories and Files is the number described in Number. In the Information, the name of the Directory and the attribute information of the Directory are described. Further, the directory arranged under the subordinate has the same configuration as that of the present directory.
<File>
File is composed of Information, Offset, and Name. In the Information, attribute information of this File is described. Name is a name. Offset describes the bit length from the beginning of the CAR file of the original file arranged in the CAR file.
(バイナリ形式のResource List Fileの効果)
バイナリ形式のResource List Fileの内部構造であるDirectory、Fileを解析していくことで、CARファイル内にフラットに配置され、マルチパート化されたファイルのディレクトリ構造を復元できて、かつ、File内にあるOffsetを用いて、BufferにPreloadされたCARファイルから、実ファイルの位置を計算できるため、数M〜Byteの巨大なCARファイル内から、すばやく目的のファイルを切り出すことができる。
(Effects of Resource List File in binary format)
By analyzing the internal directory and file of the Resource List File in binary format, the directory structure of the flat file in the CAR file and the multipart file can be restored, and in the File Since a real file position can be calculated from a CAR file preloaded by a buffer using a certain offset, a target file can be quickly cut out from a huge CAR file of several M to bytes.
(ディスク外のHTML提示状態から、ディスク上のHTMLへの遷移における課題)
図41を用いて、通信サーバ上などのディスク外のHTMLファイルを提示している状態から、ディスク上のHTMLファイルへ文書遷移する場合の課題を説明する。
ディスク上のHTMLファイル間でブラウジングした後など、一旦、通信サーバ上のHTMLファイルへ文書遷移してしまうと、通信サーバ上のHTMLファイル間の文書遷移に関しては問題ないが、いざディスク上のHTMLファイルへ文書遷移しようとした場合、通信サーバ上のHTMLファイルは、現在挿入されているディスクが何であるか、また、どのような論理ディレクトリ構造になっているかなど、ディスク上のHTMLに関する情報を取得できないため、予め情報を保持していない限り、期待するディスク上のHTMLファイルへの文書遷移ができない。結果、タイトルの再起動を行って、画面提示を行うため、以前ディスク上のHTMLファイル間でブラウジングした操作結果が削除されてしまったり、最後に提示したディスク上のHTMLファイルの画面を再提示することができない。
(ディスク外のHTMLファイルから、ディスク上のHTMLファイルへの遷移の方法)
図42は、ディスク外からディスク上のHTMLファイルへの文書遷移要求が発生時に、提示すべきHTMLを指定する仕組みを追加したバイナリー形式のResource List Fileの内部構造を示す。
<Resource List File>
バイナリー形式のResource List Fileは、Base InfoとEntry ListとBase Directoryから構成される。Base Infoは、Resource List Fileが格納されているCARファイル全般に関わる情報が記載される。
<Entry List>
Entry Listは、NumberとEntry Infoから構成される。Entryの数は、Numberに記載された数である。Entry Infoは、Entry TypeとOffsetから構成される。Entry Typeは、ディスク外のHTMLファイルから本タイトルへの文書遷移要求を受けた場合に提示すべきHTMLファイル、などの起動種別を表す。Offsetは、提示すべきHTMLファイルに対応するFile構造体のResource List File内のOffset値である。
<Base Directory>
Base Directoryは、CARファイルに格納されているHTMLファイル等ファイルのディレクトリ構造情報が記載されており、Information、Numberと、CARファイルをトップディレクトリとして、その1段下に配置されるDirectory、Fileから構成される。DirectoryとFileの合計数は、Numberに記載された数となる。Informationには、Base Directoryに関する情報が記載される。
<Directory>
Directoryは、Information、Numberと、本Directoryの1段下に配置されるDirectory、Fileから構成される。DirectoryとFileの合計数は、Numberに記載された数となる。Informationには、Directoryの名前や本Directoryの属性情報が記載される。さらに配下に配置されたDirectoryは、本Directoryと同じ構成となる。
<File>
Fileは、Information、Offset、Nameから構成される。Informationには、本Fileの属性情報が記載される。Nameは名前である。Offsetは、CARファイル内に配置されている本来のファイルの、CARファイルの先頭からのbit長さが記載されている。
(Problems in transition from HTML presentation state outside the disc to HTML on the disc)
With reference to FIG. 41, a description will be given of a problem when a document transitions from a state where an HTML file outside the disk such as on a communication server is presented to an HTML file on the disk.
Once the document transitions to the HTML file on the communication server, such as after browsing between HTML files on the disk, there is no problem with the document transition between the HTML files on the communication server. When an attempt is made to transition to a document, the HTML file on the communication server cannot obtain information about the HTML on the disk, such as what is the currently inserted disk and what logical directory structure it is. Therefore, unless information is held in advance, the expected document transition to the HTML file on the disk cannot be performed. As a result, since the title is restarted and the screen is presented, the operation result previously browsed between the HTML files on the disc is deleted, or the screen of the HTML file on the disc presented last is re-presented. I can't.
(Transition method from HTML file outside disk to HTML file on disk)
FIG. 42 shows the internal structure of a Resource List File in binary format to which a mechanism for designating HTML to be presented when a document transition request from the outside of the disk to the HTML file on the disk is generated.
<Resource List File>
The Resource List File in binary format is composed of Base Info, Entry List, and Base Directory. In the Base Info, information related to the entire CAR file in which the Resource List File is stored is described.
<Entry List>
The Entry List is composed of Number and Entry Info. The number of entries is the number described in Number. Entry Info is composed of Entry Type and Offset. Entry Type represents the activation type such as an HTML file to be presented when a document transition request from an HTML file outside the disc to this title is received. Offset is an Offset value in the Resource List File of the File structure corresponding to the HTML file to be presented.
<Base Directory>
Base Directory describes the directory structure information of files such as HTML files stored in the CAR file, and consists of Information and Number, and the Directory and File placed one level below the CAR file as the top directory. Is done. The total number of Directories and Files is the number described in Number. In Information, information related to Base Directory is described.
<Directory>
The directory is composed of an information and a number, and a directory and a file arranged one stage below the directory. The total number of Directories and Files is the number described in Number. In the Information, the name of the Directory and the attribute information of the Directory are described. Further, the directory arranged under the subordinate has the same configuration as that of the present directory.
<File>
File is composed of Information, Offset, and Name. In the Information, attribute information of this File is described. Name is a name. Offset describes the bit length from the beginning of the CAR file of the original file arranged in the CAR file.
次に、図43を用いて、本Resource List Fileを用いて、ディスク外からディスク上のHTMLファイルへの文書遷移要求が発生した場合の処理フローを説明する。 Next, a processing flow when a document transition request from the outside of the disk to the HTML file on the disk is generated using this Resource List File will be described with reference to FIG.
ディスク外のHTMLファイルから、ディスク上のHTMLファイルへ文書遷移が要求されると(S1001)、指定されたURIを解析し、同一タイトル内に属するか判断し、別タイトルに属する場合は、Index Tableを解析して、別タイトルへの起動を指示すべく、(S801)へ移行する(S1002)。 When a document transition is requested from an HTML file outside the disc to an HTML file on the disc (S1001), the designated URI is analyzed to determine whether it belongs to the same title, and if it belongs to another title, if it belongs to another title, Index Table In order to instruct activation to another title, the process proceeds to (S801) (S1002).
同タイトルに属する場合、すでにPreloadされているCARファイル内にあるResource List Fileを解析し、Entry Listにある“ディスク外からの文書遷移要求時に提示すべきHTMLファイル”を特定し、そのOffsetから、File構造体を解析し、起動すべきHTMLファイルを特定する(S1003)。 If it belongs to the same title, it analyzes the Resource List File in the CAR file that has already been preloaded, identifies the “HTML file to be presented when requesting document transition from outside the disk” in the Entry List, and from the Offset, The file structure is analyzed, and the HTML file to be activated is specified (S1003).
なお、通信サーバ上のHTMLファイルは、現在PreloadされているCARファイルの属するタイトルを示すURIが判定できない場合があるが、ディスク、タイトルを指定するURIとして、現在挿入中のディスク、現在BufferにPreloadされているタイトルを指定するURI(“bd://−1.−1”など。−1は現在選択されているディスク、もしくは、タイトルを指している)を指定することで、ディスク、タイトルを識別する必要がない。 Note that the HTML file on the communication server may not be able to determine the URI indicating the title to which the currently pre-loaded CAR file belongs, but as the URI specifying the disc and title, the currently inserted disc and the current buffer are preloaded. By specifying a URI ("bd: //-1.-1." Etc., where -1 indicates the currently selected disc or title) that specifies the title being recorded, There is no need to identify.
次に、Resource List Fileに記載されたOffset値を用いて、CARファイル内に格納されたHTMLファイルを切り出し、HTMLファイルを解析する(S1004)。 Next, the HTML file stored in the CAR file is cut out using the Offset value described in the Resource List File, and the HTML file is analyzed (S1004).
ディスク外からの文書遷移要求時にためのHTMLファイルの画面提示処理においては、本HTMLのスクリプト機能を利用することで、ある程度、ディスク外へ文書遷移する前、もしくは、ディスク上のHTMLファイル間でブラウジングしていたときの状態を復帰することができる。 In the HTML file screen presentation process when a document transition request is made from outside the disk, by using this HTML script function, browsing to some extent before the document transitions to the outside of the disk or between HTML files on the disk It is possible to restore the state when it was.
例えば、ディスク外へ文書遷移した際のAV再生位置、ゲームの進捗・得点などの遷移前情報が、DOMのcookieやUser Register/Global Registerなどのデータ格納I/Fによりプレイヤー保存領域に退避している場合、スクリプト機能により遷移前情報を読込み、例えば、AVを遷移前の再生位置から再生を再開したり、ゲームを途中から再開することができる(S1005)。 For example, pre-transition information such as AV playback position and game progress / score at the time of document transition to the outside of the disc is saved in the player storage area by a data storage I / F such as DOM cookie or User Register / Global Register. If it is, the script function reads the pre-transition information, and for example, the playback of the AV can be restarted from the playback position before the transition, or the game can be restarted from the middle (S1005).
以上の仕組みを用いることで、ディスク外のHTMLファイル提示状態から、ディスク上のHTMLファイルへの遷移が発生したときに、毎回同じタイトル起動画面が提示されるのではなく、ディスク上のHTMLファイル間でブラウジングしていたユーザ操作やゲームの進捗・得点などを反映した画面を提示することができる。また、異なるタイトルへの文書遷移でなければ、PreloadされたCARファイルからHTMLファイルを読み出すので、新たなディスクSEEKが発生せず、画面をすみやかに提示することができる。また、PreloadされているCARファイルからHTMLファイルを読出し、提示するので、AVが文書遷移に関係なく継続して再生していても、AV以外のファイルのディスクSEEKに起因するAV再生の途切れや映像乱れが発生しない。 By using the above mechanism, when the transition from the HTML file presentation state outside the disc to the HTML file on the disc occurs, the same title activation screen is not presented every time, but between the HTML files on the disc. It is possible to present a screen that reflects the user operations and the progress / scores of the game that were being browsed. If the document transition is not to a different title, the HTML file is read from the preloaded CAR file, so that a new disc SEEK does not occur and the screen can be presented promptly. In addition, since the HTML file is read and presented from the preloaded CAR file, even if the AV is continuously played regardless of the document transition, the AV playback breaks or video caused by the disc SEEK of the file other than the AV Disturbance does not occur.
(エラー発生時の課題)
図44を用いて、エラー発生時に想定される課題を説明する。
(Issues when errors occur)
The problem assumed when an error occurs will be described with reference to FIG.
既存のPC上で利用されているHTMLブラウザなどにおいて、文書遷移の際、次に提示するHTMLファイルの取得に失敗すると、通信サーバが、HTMLファイルが存在しない等の通知画面を生成し、HTMLファイルとして送信し、これを受信したHTMLブラウザがエラー通知用のHTMLファイルを提示したり、もしくは、HTMLファイルが存在しないことを通知するエラーコード(404番)を受け取ったHTMLブラウザが、ブラウザ内に事前に埋め込んで用意されているエラー用のHTMLファイルを提示していた。 When an HTML browser used on an existing PC fails to obtain the next HTML file to be presented during document transition, the communication server generates a notification screen indicating that the HTML file does not exist, and the HTML file The HTML browser that received and received the error file presents an HTML file for error notification or received an error code (No. 404) notifying that the HTML file does not exist. The HTML file for errors prepared by embedding in the file was presented.
そのため、エラーが発生すると、制作者の制作したHTMLファイルが提示されないため、制作者の意図した動作を実現できない。例えば、エラー画面を制作者の意図するデザインにできなかったたり、次のAV操作やスクリプト操作への繋がりが断絶されてしまう。 For this reason, when an error occurs, the HTML file created by the creator is not presented, and the operation intended by the creator cannot be realized. For example, the error screen cannot be designed as intended by the creator, or the connection to the next AV operation or script operation is broken.
(エラー発生時に制作者の意図する動作を実現する方法)
図42で示したバイナリー形式のResource List FileのEntry ListのEntry Typeに関して、次に示すように、起動種別を追加する。
<Entry List>
Entry Listは、NumberとEntry Infoから構成される。Entryの数は、Numberに記載された数である。Entry Infoは、Entry TypeとOffsetから構成される。Entry Typeは、ディスク外のHTMLから本Titleへの文書遷移要求を受けた場合のHTMLファイル、エラーが発生した場合に提示すべきHTMLファイル、などの起動種別を表す。Offsetは、提示すべきHTMLファイルに対応するFile構造体のResource List File内のOffset値である。
(Method to achieve the intended behavior of the creator when an error occurs)
As shown below, an activation type is added to the entry type of the entry list of the resource list file in the binary format shown in FIG.
<Entry List>
The Entry List is composed of Number and Entry Info. The number of entries is the number described in Number. Entry Info is composed of Entry Type and Offset. Entry Type represents the activation type, such as an HTML file when a document transition request from HTML outside the disc to this Title is received, or an HTML file to be presented when an error occurs. Offset is an Offset value in the Resource List File of the File structure corresponding to the HTML file to be presented.
図45は、通信サーバ上のHTMLファイルへの文書遷移時にHTMLファイルの取得失敗などのエラーが発生した場合の処理フローを示す。 FIG. 45 shows a processing flow when an error such as an HTML file acquisition failure occurs at the time of document transition to an HTML file on the communication server.
通信サーバ上のHTMLファイルの文書遷移において、HTMLファイルの取得に失敗して、通信サーバからエラーコード404が通知されるなど、エラーが発生すると(S1101)、すでにPreloadされているCARファイル内にあるResource List Fileを解析し、Entry Listの中から、“エラーが発生した場合に提示すべきHTMLファイル”を特定し、そのOffset値から、File構造体を特定して、起動すべきHTMLファイルを特定する(S1102)。
In the document transition of the HTML file on the communication server, if an error occurs, such as failure to acquire the HTML file and notification of the
次に、特定したFile構造体に記載されたOffset値を用いて、CARファイル内に格納されたHTMLファイルを切り出し、解析する(S1103)。
制作者によって用意されたエラー用のHTMLファイルの画面提示処理においては、スクリプト機能を利用することで、エラーに応じた画面を提示したり、エラーの影響を受けないスクリプト処理を用意したり、など、制作者の意図した処理を実現できる。
Next, the HTML file stored in the CAR file is cut out and analyzed using the Offset value described in the specified File structure (S1103).
In the screen presentation process of the HTML file for errors prepared by the creator, by using the script function, a screen corresponding to the error is presented, script processing that is not affected by the error is prepared, etc. , Can achieve the process intended by the creator.
例えば、エラー画面HTMLのOnLoadスクリプトにより、エラーStatus取得関数をCallし、通信サーバ上のHTMLの取得エラーであることが判明すると、通信エラーであることを通知する画面を提示するとともに、通信サーバ上のHTMLファイルへリンクを抑えた画面を作成して、提示することで、その後のユーザ操作により、同じエラーを回避することができ、継続した画面提示が可能となる(S1104)。 For example, the error status HTML OnLoad script calls the error status acquisition function, and if it is determined that the error is an HTML acquisition error on the communication server, a screen notifying that there is a communication error is presented, and on the communication server By creating and presenting a screen with reduced links to the HTML file, the same error can be avoided by subsequent user operations, and continuous screen presentation becomes possible (S1104).
以上の仕組みを用いることで、エラーが発生した場合に、ブラウザに組み込まれたエラー用画面が提示されることはなく、制作者の作成したエラー用HTMLが提示され、そのUIや次に繋がる動作を、制作者が意図して制作可能である。また、PreloadされたCARファイルからHTMLファイルを読み出すので、新たなディスクSEEK処理を発生させることがなく、画面をすみやかに提示することができる。また、PreloadされているCARファイルからHTMLファイルを読出し、提示するので、AVが文書遷移に関係なく継続して再生していても、AV以外のファイルのディスクSEEKに起因するAV再生の途切れや映像乱れが発生しない。 By using the above mechanism, when an error occurs, the error screen built in the browser is not presented, but the error HTML created by the creator is presented, and the UI and the next operation are connected. Can be produced by the creator. Further, since the HTML file is read from the preloaded CAR file, a new disk SEEK process is not generated, and the screen can be presented promptly. In addition, since the HTML file is read and presented from the preloaded CAR file, even if the AV is continuously played regardless of the document transition, the AV playback breaks or video caused by the disc SEEK of the file other than the AV Disturbance does not occur.
本発明を利用することにより、映像データとHTMLおよびスクリプトによるAV再生制御を導入することが可能となる。特に、映像コンテンツの制作に携わる映画産業・民生機器産業において利用される可能性をもつ。 By utilizing the present invention, it becomes possible to introduce AV reproduction control by video data, HTML and script. In particular, it has the potential to be used in the movie industry and consumer equipment industry that are involved in the production of video content.
201 BDディスク
202 光ピックアップ
203 プログラム記録メモリ
204 管理情報記録メモリ
205 AV記録メモリ
206 プログラム処理部
207 管理情報処理部
208 プレゼンテーション処理部
209 イメージプレーン
210 ビデオプレーン
211 合成処理部
301 プログラム記録メモリ
302 プログラムプロセッサ
303 UOPマネージャ
304 管理情報記録メモリ
305 シナリオプロセッサ
306 プレゼンテーションコントローラ
307 クロック
308 イメージメモリ
309 トラックバッファ
310 デマルチプレクサ
311 イメージプロセッサ
312 ビデオプロセッサ
313 サウンドプロセッサ
314 イメージプレーン
315 ビデオプレーン
316 合成処理部
317 ドライブコントローラ
400 の論理ファイルツリー
401 Content Archive File
402 Resource List File
410 HTML Browser
420 エラー用HTMLファイル
S101 ディスク挿入ステップ
S102 BD.INFO読み込みステップ
S103 BD.PROG読み込みステップ
S104 ファーストイベント生成ステップ
S105 イベントハンドラ実行ステップ
S201 UOP受付ステップ
S202 UOPイベント生成ステップ
S203 メニューコール判定ステップ
S204 イベント生成ステップ
S205 イベントハンドラ実行ステップ
S301 プレイリスト再生開始ステップ
S302 プレイリスト情報(XXX.PL)読み込みステップ
S303 プレイリストプログラム(XXX.PROG)読み込みステップ
S304 セル再生開始ステップ
S305 AV再生開始ステップ
S401 AV再生開始ステップ
S402 VOB情報(YYY.VOBI)読み込みステップ
S403 VOB(YYY.VOB)読み込みステップ
S404 VOB再生開始ステップ
S405 VOB再生終了ステップ
S406 次セル存在判定ステップ
S501 プレイリスト再生開始ステップ
S502 プレイリスト再生終了判定ステップ
S503 タイムイベント時刻判定ステップ
S504 イベント生成ステップ
S505 イベントハンドラ実行ステップ
S601 プレイリスト再生開始ステップ
S602 プレイリスト再生終了判定ステップ
S603 UOP受付判定ステップ
S604 UOPイベント生成ステップ
S605 メニューコール判定ステップ
S606 ユーザーイベント有効期間判定ステップ
S607 イベント生成ステップ
S608 イベントハンドラ実行ステップ
S701 プレイリスト再生開始ステップ
S702 プレイリスト再生終了判定ステップ
S703 字幕描画開始判定ステップ
S704 字幕描画ステップ
S705 字幕表示終了判定ステップ
S706 字幕消去ステップ
S801 タイトル起動ステップ
S802 CARファイルPreloadステップ
S803 Resource List File読込みステップ
S804 HTMLファイルの読込みステップ
S805 画面の提示ステップ
S901 文書遷移操作ステップ
S902 タイトル判断ステップ
S903 Resource List File読込みステップ
S904 HTMLファイルの読込みステップ
S905 画面の提示ステップ
S1001 文書遷移操作ステップ
S1002 タイトル判断ステップ
S1003 Resource List File読込みステップ
S1004 HTMLファイルの読込みステップ
S1005 画面の提示ステップ
S1101 エラー発生ステップ
S1102 Resource List File読込みステップ
S1103 HTMLファイルの読込みステップ
S1104 画面の提示ステップ
201
402 Resource List File
410 HTML Browser
420 HTML file for error S101 Disc insertion step S102 BD. INFO reading step S103 BD. PROG reading step S104 First event generation step S105 Event handler execution step S201 UOP reception step S202 UOP event generation step S203 Menu call determination step S204 Event generation step S205 Event handler execution step S301 Playlist reproduction start step S302 Playlist information (XXX.PL ) Reading step S303 Playlist program (XXX.PROG) reading step S304 Cell playback start step S305 AV playback start step S401 AV playback start step S402 VOB information (YYY.VOBI) reading step S403 VOB (YYY.VOB) reading step S404 VOB Playback start step S405 VOB Playback end step S406 Next cell presence determination step S501 Playlist playback start step S502 Playlist playback end determination step S503 Time event time determination step S504 Event generation step S505 Event handler execution step S601 Playlist playback start step S602 Playlist playback end determination step S603 UOP reception determination step S604 UOP event generation step S605 Menu call determination step S606 User event valid period determination step S607 Event generation step S608 Event handler execution step S701 Playlist reproduction end determination step S702 Playlist reproduction end determination step S703 Subtitle drawing start determination step S704 Subtitle rendering step S7 05 Subtitle display end determination step S706 Subtitle deletion step S801 Title activation step S802 CAR file preload step S803 Resource List File reading step S804 HTML file reading step S805 Screen presentation step S901 Document transition operation step S902 Title determination step S903 Lisres Rest read Step S904 HTML file reading step S905 Screen presentation step S1001 Document transition operation step S1002 Title determination step S1003 Resource List File reading step S1004 HTML file reading step S1005 Screen presentation step S1101 Error generation step S1 02 presenting step of the Resource List File read step S1103 read step S1104 screen of the HTML file
Claims (32)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005194374A JP2007011899A (en) | 2005-07-01 | 2005-07-01 | An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005194374A JP2007011899A (en) | 2005-07-01 | 2005-07-01 | An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2007011899A true JP2007011899A (en) | 2007-01-18 |
Family
ID=37750262
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005194374A Pending JP2007011899A (en) | 2005-07-01 | 2005-07-01 | An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2007011899A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102568507A (en) * | 2010-10-13 | 2012-07-11 | 索尼公司 | Implementing web browser in BD platform |
| JP2013536617A (en) * | 2010-07-13 | 2013-09-19 | ロヴィ テクノロジーズ コーポレイション | System and method for electronic sell-through of interactive multimedia content authored for distribution over physical media |
-
2005
- 2005-07-01 JP JP2005194374A patent/JP2007011899A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013536617A (en) * | 2010-07-13 | 2013-09-19 | ロヴィ テクノロジーズ コーポレイション | System and method for electronic sell-through of interactive multimedia content authored for distribution over physical media |
| CN102568507A (en) * | 2010-10-13 | 2012-07-11 | 索尼公司 | Implementing web browser in BD platform |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4197725B2 (en) | Image encoding apparatus, image encoding method, and recording method on recording medium | |
| JP2017182874A (en) | Playback device | |
| CN101996664B (en) | Information recording apparatus, and recording method | |
| JP6272534B2 (en) | Reproduction method and reproduction apparatus | |
| JP2007036663A (en) | Information recording medium, recording apparatus, recording method, and recording program in consideration of compatibility | |
| JP5295572B2 (en) | Information recording medium and information recording medium reproduction system | |
| JP2006277389A (en) | Information recording medium, reproducing apparatus and reproducing method thereof. | |
| JP2007011899A (en) | An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. | |
| JP2007018623A (en) | Information recording medium, reproducing apparatus and reproducing method thereof. | |
| JP6445933B2 (en) | Recording medium, reproducing apparatus and method thereof | |
| JP2006244655A (en) | Playback apparatus and playback method | |
| JP2007012217A (en) | Information recording medium, reproducing apparatus and reproducing method thereof | |
| JP2007048383A (en) | Information recording medium, recording apparatus, recording method, and recording program | |
| JP2006244654A (en) | Printing from a disc player | |
| JP2007235185A (en) | Information recording medium suitable for random access, recording / reproducing apparatus and recording / reproducing method thereof | |
| JP2006228339A (en) | INFORMATION RECORDING MEDIUM CONTAINING RESOURCE MANAGEMENT OF REPRODUCTION CONTROL ENVIRONMENT DESCRIBED IN DECLARATION LANGUAGE, REPRODUCTION DEVICE THEREOF, AND REPRODUCTION METHOD | |
| JP2006236453A (en) | Information recording medium, reproducing apparatus and reproducing method thereof. | |
| JP2007018365A (en) | An information recording medium, a reproducing apparatus, and a reproducing method in consideration of a start condition of a reproduction control environment described in a declarative language. | |
| JP2007133938A (en) | Information recording medium having flag indicating whether audio mixing output is possible, and reproducing apparatus and reproducing method thereof | |
| WO2006092996A1 (en) | Recording medium, reproducing apparatus and reproducing method | |
| JP6591202B2 (en) | Recording medium, reproducing apparatus and method thereof | |
| WO2006090664A1 (en) | Information recording medium, reproduction device, and reproduction method | |
| JP2006087081A (en) | Image encoding device, image decoding device | |
| JP2006013726A (en) | Information recording medium, recording / reproducing apparatus, and recording / reproducing method | |
| JP2019067481A (en) | recoding media |