JP2007295464A - Reproducing apparatus, reproducing method, and reproducing program of optical recording medium - Google Patents
Reproducing apparatus, reproducing method, and reproducing program of optical recording medium Download PDFInfo
- Publication number
- JP2007295464A JP2007295464A JP2006123361A JP2006123361A JP2007295464A JP 2007295464 A JP2007295464 A JP 2007295464A JP 2006123361 A JP2006123361 A JP 2006123361A JP 2006123361 A JP2006123361 A JP 2006123361A JP 2007295464 A JP2007295464 A JP 2007295464A
- Authority
- JP
- Japan
- Prior art keywords
- subtitle
- data
- recording medium
- optical recording
- buffer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、光学式記録媒体に記録された情報を再生する光学式記録媒体の再生装置、再生方法、及び再生プログラムに関するものである。特に、字幕表示が可能な再生装置、再生方法、及び再生プログラムに関する。 The present invention relates to a reproducing apparatus, a reproducing method, and a reproducing program for an optical recording medium for reproducing information recorded on the optical recording medium. In particular, the present invention relates to a playback device capable of displaying subtitles, a playback method, and a playback program.
DVD(Digital Versatile Disc)規格において、光ディスクを用いた再生専用規格としてDVD−Videoフォーマットがある。このDVD−Videoフォーマットでは、映像データや音声データとともに、字幕に関するデータ等が多重化されてディスクに記録されている。しかしながら、DVD−Videoフォーマットでは、あらかじめディスクに記録されている映像、音声、字幕データ等のみしか再生することができない。 In the DVD (Digital Versatile Disc) standard, there is a DVD-Video format as a reproduction-only standard using an optical disk. In the DVD-Video format, video data and audio data, as well as subtitle data and the like are multiplexed and recorded on the disc. However, in the DVD-Video format, only video, audio, subtitle data, etc. recorded in advance on the disc can be reproduced.
これに対し、ネットワーク接続機能を備える、あるいは、データの記録を可能とするローカルストレージを備える再生装置がある。この再生装置によると、映像や音声、字幕、フォントなどの追加データをネットワークを介してローカルストレージにダウンロードすることができ、ダウンロードされたデータにより構成される映像を視聴できる(例えば、特許文献1参照。)。 On the other hand, there is a playback device that has a network connection function or a local storage that enables data recording. According to this playback apparatus, additional data such as video, audio, subtitles, and fonts can be downloaded to a local storage via a network, and a video composed of the downloaded data can be viewed (for example, see Patent Document 1). .)
すなわち、光ディスクには記録されていない言語による字幕表示を可能とするため、ネットワーク接続機能を利用して、ネットワーク上のリソースから異言語の字幕に関するデータをローカルストレージにダウンロードし、このダウンロードしたデータと、映像・音声ストリーム(以下、「AVストリーム」と記す。)と同期させて再生することが可能である。 In other words, in order to enable subtitle display in a language not recorded on the optical disc, the network connection function is used to download data related to subtitles in different languages from a resource on the network to the local storage. It can be reproduced in synchronization with a video / audio stream (hereinafter referred to as “AV stream”).
ところで一般的に、光ディスクはローカルストレージと比較するとアクセス速度が遅い。したがって、光ディスクに記録されているAVストリームと字幕に関するデータとを同期を取りつつ読み出すことは困難である。そこで、AVストリームと比較して容量的に小さい字幕に関するデータを光ディスク再生前にあらかじめバッファに読み出すこと(プリロード)が一般に行われている。 In general, an optical disc has a slower access speed than a local storage. Therefore, it is difficult to read out the AV stream recorded on the optical disc and the data related to the caption while synchronizing them. Therefore, data relating to captions that are smaller in capacity than the AV stream is generally read (preloaded) into a buffer in advance before optical disc playback.
しかし、複数の言語が記録された光ディスクを再生する場合、AVストリームの再生を途切れさせずに複数の字幕表示言語の切り替えを行うためには、記録されている言語全てについての字幕に関するデータをバッファに保持する必要がある。そのため、必要とされるバッファの容量が大きくなってしまうという問題があった。 However, when playing back an optical disc in which a plurality of languages are recorded, in order to switch between a plurality of subtitle display languages without interrupting the playback of the AV stream, the subtitle data for all the recorded languages is buffered. Need to hold on. Therefore, there is a problem that the required buffer capacity is increased.
本発明は、上記課題に鑑みてなされたものであり、バッファ容量を削減することが可能な、光学式記録媒体の再生装置を提供することを目的とする。 The present invention has been made in view of the above problems, and an object thereof is to provide an optical recording medium reproducing apparatus capable of reducing the buffer capacity.
本発明に係わる光学式記録媒体の再生装置は、
AVストリームと、一以上の字幕データが記録されている光学式記録媒体を再生する再生装置であって、
前記光学式記録媒体に記録されている一以上の字幕データを記憶するローカルストレージと、
前記ローカルストレージに記憶されている一以上の字幕データのうち、一の字幕データを記憶する字幕データバッファと、
前記光学式記録媒体に記録されているAVストリームを記憶するAVデータバッファと、
前記字幕データバッファに記憶されている一の字幕データと、前記AVデータバッファに記憶されているAVストリームとを同期させて再生する再生部と
を備えることとしたものである。
An optical recording medium reproducing apparatus according to the present invention includes:
A playback device that plays back an optical recording medium in which an AV stream and one or more caption data are recorded,
A local storage for storing one or more caption data recorded on the optical recording medium;
Of the one or more subtitle data stored in the local storage, a subtitle data buffer that stores one subtitle data,
An AV data buffer for storing an AV stream recorded on the optical recording medium;
A playback section for synchronizing and playing back one caption data stored in the caption data buffer and an AV stream stored in the AV data buffer is provided.
本発明の光学式記録媒体の再生装置によれば、一の字幕データを記憶できる容量のバッファがあればよい。したがって、バッファ容量を削減しつつ、映像・音声の再生を途切れさせることなく字幕表示の変更が可能となるとの効果がある。 According to the optical recording medium reproducing apparatus of the present invention, it is sufficient if there is a buffer having a capacity capable of storing one caption data. Therefore, there is an effect that the subtitle display can be changed without interrupting video / audio reproduction while reducing the buffer capacity.
実施の形態1.
本実施の形態に係る光学式記録媒体(以下、「光ディスク」と記す。)の再生装置は、光ディスクに記録されている複数種類の字幕データをローカルストレージに一旦、記憶する。そして、適宜、ローカルストレージからバッファに読み出す。
The playback device of the optical recording medium (hereinafter referred to as “optical disk”) according to the present embodiment temporarily stores a plurality of types of caption data recorded on the optical disk in a local storage. Then, the data is read from the local storage to the buffer as appropriate.
図1は本発明の実施の形態1の構成を示すブロック図である。同図において、1はコントローラ、2は仮想ファイルシステム、3はキャッシュコントローラ、4はローカルストレージ、5は光ディスクドライブ、6はAVバッファ、7はAVデコーダ、8は字幕バッファ、9は字幕デコーダ、10はフォントバッファ(「字幕データバッファ」は、「字幕バッファ」と「フォントバッファ」とからなる。)、11は映像合成器、(「再生部」は「AVデコーダ」と「字幕デコーダ」とからなる。なお、「映像合成器」を加えてもよい。また、「コントローラ」を含めた概念としてもよい。)12は操作受信部である。これらについて以下に説明する。 FIG. 1 is a block diagram showing the configuration of the first embodiment of the present invention. In the figure, 1 is a controller, 2 is a virtual file system, 3 is a cache controller, 4 is local storage, 5 is an optical disk drive, 6 is an AV buffer, 7 is an AV decoder, 8 is a caption buffer, 9 is a caption decoder, 10 Is a font buffer (“subtitle data buffer” is composed of “subtitle buffer” and “font buffer”), 11 is a video synthesizer, and (“playback unit” is composed of “AV decoder” and “subtitle decoder”. Note that “video synthesizer” may be added, or a concept including “controller” may be added.) 12 is an operation receiving unit. These will be described below.
コントローラ1は、本再生装置全体を制御する役割を持っており、仮想ファイルシステム2を通じた光ディスクドライブ5やローカルストレージ4内のデータの読み出し、AVデコーダ7および字幕デコーダ9の同期再生制御、キャッシュコントローラ3の制御、操作受信部12からの利用者の操作入力情報を受け付けて再生・停止・字幕言語の切り替えなどの入力に対応する処理を行う。
The
仮想ファイルシステム2は、キャッシュコントローラ3を通じてローカルストレージ4に保持されている後述するファイル更新データと光ディスクドライブ5の両デバイスに記録されている情報を合成して一元管理する機能を有しているため、仮想ファイルシステム2からデータを受け取るもしくはデータを書き込むコントローラ1、AVバッファ6、字幕バッファ8、フォントバッファ10は、そのデータがローカルストレージ4に属するものか光ディスクドライブ5に属するものかを意識することなく動作することができる。
The
キャッシュコントローラ3は、光ディスクドライブ5とローカルストレージ4にアクセスしてストリームやデータを読み書きすることができる。ここで、字幕テキストサブストリームとフォントデータを合わせて字幕データと呼称する。キャッシュコントローラ3は、コントローラ1からの指示により、光ディスクドライブ5に存在する字幕データをローカルストレージ4に記憶させ、以降の光ディスクドライブ5に存在する字幕データの読み出し要求に対して、光ディスクドライブ5上の字幕データではなく、ローカルストレージ4に記憶させた字幕データを読み出して、仮想ファイルシステム2へ渡す。一旦記憶させた字幕データは、キャッシュコントローラ3の指示により消去する。
The
ローカルストレージ4は、図示しないネットワーク接続機能によって光ディスクドライブ5にセットされている光ディスク中のファイルを更新及び追加するデータであるファイル更新データと、キャッシュコントローラ3により入力された字幕データとを保持する。ローカルストレージ4内には、ファイル更新データ領域とキャッシュ領域に分かれており、ファイル更新データはファイル更新データ領域を使用し、字幕データはキャッシュ領域を使用する。なお、ファイル更新データは、仮想ファイルシステム2によって、光ディスクドライブ5にセットされている光ディスク内のファイルと合わせて一元管理される。
The local storage 4 holds file update data that is data for updating and adding a file in the optical disc set in the
光ディスクドライブ5は、映像・音声ストリームと字幕テキストサブストリームなどからなるコンテンツを収録してある光ディスクから、映像・音声ストリームと字幕テキストサブストリームなどを読み出す。
The
AVバッファ6は、コントローラ1によって仮想ファイルシステム2から読み出された映像・音声ストリームを、AVデコーダ7から読み出されるまで一時的に保持する一時記憶領域である。映像・音声ストリームは容量が大きいため、再生に必要な映像・音声ストリーム全てAVバッファ6に保持しておくことが困難である。そのため、コントローラ1は、映像・音声ストリームをある程度細分化してAVバッファ6へ定期的に読み出す。この際、コントローラ1は、AVバッファ6の映像・音声ストリームがなくなってAVデコーダ7でのデコードが途切れる、あるいは、AVバッファ6へ映像・音声ストリームを供給しすぎてあふれる、といったことがないように、適宜制御を行う。
The
AVデコーダ7は、コントローラ1の指示を受け、AVバッファ6に保持されている映像・音声ストリームを読み出して、映像・音声ストリームに記述されたタイミング通りにデコードを行う。デコードの開始、終了、一時停止などの制御は、コントローラ1によって指示される。
The AV decoder 7 receives an instruction from the
字幕バッファ8は、コントローラ1によって仮想ファイルシステム2から読み出された字幕データの構成要素の一つである字幕テキストサブストリームを一時的に保持する一時記憶領域である。字幕テキストサブストリームは、映像・音声ストリームと比較して容量が少ないため、コントローラ1は、現在必要とされている言語の字幕テキストサブストリームのみを再生開始前に字幕バッファ8へ読み出す。利用者の操作により、字幕言語が変更された場合、新たに選択された言語の字幕テキストサブストリームを仮想ファイルシステム2から読み出す。この時に読み出される字幕テキストサブストリームは、光ディスクドライブ5内にあるものではなく、キャッシュコントローラ3によってローカルストレージ4に保持された字幕テキストサブストリームであるため、光ディスクドライブ5から読み出しを行っている映像・音声ストリームに影響を与えることはなく、映像・音声ストリームの再生を途切れさせることはない。
The
フォントバッファ10は、コントローラ1によって仮想ファイルシステム2から読み出された字幕データの構成要素の一つであるフォントデータを一時的に保持する一時記憶領域である。フォントデータも先の字幕テキストサブストリーム同様に、映像・音声ストリームと比較して容量が少ないため、コントローラ1は、現在必要とされている言語のフォントデータのみを再生開始前にフォントバッファ10へ読み出す。利用者の操作により、字幕言語が変更された場合、新たに選択された言語のフォントデータを仮想ファイルシステム2から読み出す。この時に読み出されるフォントデータは、光ディスクドライブ5内にあるものではなく、キャッシュコントローラ3によってローカルストレージ4に保持されたフォントデータであるため、光ディスクドライブ5から読み出しを行っている映像・音声ストリームに影響を与えることはなく、映像・音声ストリームの再生を途切れさせることはない。
The
字幕デコーダ9は、コントローラ1の指示を受け、字幕バッファ8に保持されている字幕テキストサブストリームを読み出して、字幕テキストサブストリームに記述されたタイミング通りにデコードを行う。字幕テキストサブストリームには、文字情報が映像ではなく記号として記述されているため、記号と対応する映像情報をフォントバッファ10に保持されているフォントデータから読み出すことで映像化する。
The subtitle decoder 9 receives an instruction from the
映像合成器11は、AVデコーダ7から出力された映像に、字幕デコーダ9から出力された映像を重ね合わせて一つの映像に合成する。
The
操作受信部12は、リモコンや本体キーなどを用いた、再生・停止・字幕言語の切り替えなどの利用者の操作情報をコントローラ1へ伝える。コントローラ1は、操作受信部12からの情報を受け、操作情報に基づいた再生・停止・字幕言語の切り替えなどの動作を行うよう各ブロックを制御する。
The
なお、本実施の形態1では、ローカルストレージ4は、装置に内蔵されることを想定して述べているが、取り外し可能な形態であってもよい。その場合、仮想ファイルシステム2およびキャッシュコントローラ3において、ローカルストレージ4が存在する場合にはローカルストレージ4を利用し、そうでない場合はローカルストレージ4を利用せず、光ディスクドライブ5のみを利用する。
In the first embodiment, the local storage 4 is described assuming that it is built in the apparatus, but it may be removable. In that case, in the
次に、コンテンツの再生、特に字幕再生が行われるまでの仕組みを中心に述べる。コンテンツの再生は、プレイリストを指定して、そのプレイリストを再生させることで行われる。 Next, the mechanism until content reproduction, particularly caption reproduction, is mainly described. Content reproduction is performed by designating a playlist and reproducing the playlist.
まず、図2にプレイリストの構成を示す。プレイリストは、コンテンツの主要素となる映像・音声の再生に関する情報が記述されたメインアイテムと、字幕の再生に関する情報が記述されたサブトラックからなる。メインアイテム、サブトラックは、ともに複数存在してもよい。メインアイテムが複数ある場合は、それらが順番に再生されることを示す。サブトラックが複数ある場合は、いくつかの選択可能なトラックがあることを示しており、このうちのどれかを選択して再生することが可能である。図2のプレイリストには、メインアイテムがNm個、サブトラックがNt個存在する。 First, FIG. 2 shows the structure of a playlist. The playlist is composed of a main item describing information related to reproduction of video / audio, which is a main element of content, and a subtrack describing information related to reproduction of subtitles. There may be a plurality of main items and sub-tracks. When there are a plurality of main items, it indicates that they are played in order. When there are a plurality of sub-tracks, it indicates that there are several selectable tracks, and any one of these can be selected and reproduced. In the playlist of FIG. 2, there are Nm main items and Nt sub-tracks.
メインアイテムは、再生する映像・音声ストリーム情報が記述されたクリップ情報、再生開始時刻が記述された開始時刻、再生終了時刻が記述された終了時刻、メインアイテムに関連するストリームの情報を集めたストリームテーブルからなる。ストリームテーブルには、映像ストリームに関する情報が記述された映像ストリーム情報、音声ストリームに関する情報が記述された音声ストリーム情報、字幕テキストストリームに関する情報が記述された字幕テキストストリーム情報が格納されている。字幕テキストストリーム情報には、サブトラックの番号と、そのサブトラックにおける字幕の言語情報とがセットになって書かれている。この字幕テキストストリーム情報を参照することで、再生するメインアイテムで選択可能な字幕の言語を得ることができ、利用者に選択可能な字幕の言語を提示することにより、その時点での利用者の望む字幕の言語を知ることができる。 The main item is a clip information in which video / audio stream information to be reproduced is described, a start time in which a reproduction start time is described, an end time in which a reproduction end time is described, and a stream that collects stream information related to the main item It consists of a table. The stream table stores video stream information describing information related to the video stream, audio stream information describing information related to the audio stream, and subtitle text stream information describing information related to the subtitle text stream. In the subtitle text stream information, a subtrack number and subtitle language information in the subtrack are written as a set. By referring to the subtitle text stream information, the subtitle language that can be selected in the main item to be played back can be obtained. By presenting the subtitle language that can be selected to the user, the user's current subtitle language can be obtained. You can know the desired subtitle language.
サブトラックには、個々の字幕の再生に関する情報が記述されたサブアイテムが記述されている。サブアイテムは複数存在してもかまわない。図2のサブトラック#1には、Ns個のサブアイテムが存在している。サブアイテムには、字幕テキストに関する情報が記述されたクリップ情報、再生開始時刻が記述された開始時刻、再生終了時刻が記述された終了時刻が格納されている。クリップ情報には、字幕テキストが格納されたストリームに関する情報が記述された字幕テキストストリームと、その字幕テキストストリームで使用するフォントの情報が記述されたフォントデータ情報からなる。サブアイテムを再生する際にプリロードすべきファイルを得るためには、字幕テキストストリーム情報から字幕テキストストリームファイル名を参照、フォントデータ情報からフォントデータファイル名を参照すればよい。以上、プレイリストの構成、特に字幕に関連する部分の構成について述べた。
In the subtrack, subitems in which information related to reproduction of individual captions is described are described. There may be multiple sub-items. There are Ns sub-items in
次に、字幕再生が行われるまでの手順について述べる。コントローラ1における字幕再生開始手順を図3に示す。同図において、ステップS11では、後述する字幕データのコピーが行われる(図4)。続いて、ステップS12において、利用者からの字幕表示指示を待つ。利用者から字幕表示指示があった場合、ステップS13にて、後述する字幕言語取得処理を行う(図5)。
Next, a procedure until subtitle reproduction is performed will be described. FIG. 3 shows a subtitle reproduction start procedure in the
ステップS14では、利用者に対して字幕言語選択を促し、利用者の選んだ字幕言語が決まる。なお、ここでは必ず利用者に対して字幕言語を選択させるようになっているが、あらかじめ利用者が利用したい字幕言語が決められており、その字幕言語が表示可能である場合は、自動的に字幕言語を決定してもよい。 In step S14, the user is prompted to select a caption language, and the caption language selected by the user is determined. In this case, the subtitle language is always selected by the user. However, if the subtitle language that the user wants to use is determined in advance and the subtitle language can be displayed, the subtitle language is automatically selected. The subtitle language may be determined.
ステップS15では、ステップS14にて利用者の選んだ字幕言語に対応する字幕テキストストリームの再生開始処理を行う(図6)。以上が図3の説明である。 In step S15, reproduction start processing of a subtitle text stream corresponding to the subtitle language selected by the user in step S14 is performed (FIG. 6). The above is the description of FIG.
続いて、プレイリストから字幕に関する情報を得て字幕再生の準備をする手順、つまりプレイリストから字幕データの情報を取得し、字幕データをローカルストレージ4にコピーする手順について説明する。図4は、コントローラ1において、字幕データコピーを行う処理手順について図示したものである。
Next, a procedure for obtaining information related to subtitles from the playlist and preparing for subtitle reproduction, that is, a procedure for acquiring subtitle data information from the playlist and copying the subtitle data to the local storage 4 will be described. FIG. 4 illustrates a processing procedure for performing subtitle data copying in the
ステップS21にて、再生対象となっているプレイリストをオープンする。ステップS22にて、プレイリスト中のサブトラックの有無を調べる。サブトラックがある場合、ステップS23へ進む。サブトラックがない場合はステップS29へ進む。 In step S21, the play list to be reproduced is opened. In step S22, the presence / absence of a subtrack in the playlist is checked. If there is a subtrack, the process proceeds to step S23. If there is no subtrack, the process proceeds to step S29.
ステップS23では、サブトラック中のサブアイテムを取得し、ステップS24へ進む。ステップS24では、サブアイテム内のクリップ情報に記述されている字幕テキストストリーム情報から字幕テキストストリームファイル名を取得する。次に、ステップS25にてサブアイテム内のクリップ情報に記述されているフォントデータ情報からフォントデータファイル名を取得する。 In step S23, a sub item in the sub track is acquired, and the process proceeds to step S24. In step S24, the subtitle text stream file name is acquired from the subtitle text stream information described in the clip information in the subitem. In step S25, the font data file name is acquired from the font data information described in the clip information in the sub item.
次に、ステップS26にて、コントローラ1からキャッシュコントローラ3へ字幕テキストストリームファイル名とフォントデータファイル名を渡して、キャッシュコントローラ3にて、光ディスクドライブ5内に存在する同名ファイルにアクセスし、各ファイルサイズを取得し、これらのファイルサイズを加算する。さらに、キャッシュコントローラ3は、ローカルストレージ4へアクセスして空き容量を取得、先ほどのファイルサイズの合計と、ローカルストレージ4の空き容量を比較、ローカルストレージ4の空き容量が多い場合は、コントローラ1にコピー可能と返し、そうでない場合はコピー不可能と返す。コントローラ1はキャッシュコントローラ3の応答がコピー可能の場合、ステップS27へと処理を進め、コピー不可能であった場合はステップS28へ進む。
Next, in step S26, the subtitle text stream file name and the font data file name are passed from the
ステップS27では、コントローラ1からキャッシュコントローラ3へコピー指令が出され、キャッシュコントローラ3にて、ステップS26で伝えられたファイル名に従って、光ディスクドライブ5内からローカルストレージ4のキャッシュ領域へとファイルコピーが実施される。ステップS28では、処理対象のサブトラックを一つ先に進め、次のサブトラックを処理対象として設定して、再びステップS22へ戻る。
In step S27, a copy command is issued from the
ステップS22では、現在処理対象のサブトラックについて、再び有無を評価する。以上の処理を、最終的にサブトラックがなくなるまで繰り返し、ステップS22にて、サブトラックがなくなった時点でステップS29へ進み、プレイリストをクローズして、字幕データコピー処理を終了する。 In step S22, the presence / absence of the sub-track currently being processed is evaluated again. The above process is repeated until there are finally no subtracks. In step S22, when there are no more subtracks, the process proceeds to step S29, the playlist is closed, and the subtitle data copy process ends.
図5は、コントローラ1における、字幕言語取得手順について図示したものである。同図において、ステップS31では、再生中のプレイリストをオープンする。ステップS32では、プレイリストから、現在再生しているメインアイテムを取得する。続いて、ステップS33では、メインアイテム内のストリームテーブルに記述されている字幕テキストストリーム情報から、サブトラック番号と言語情報をセットにして全て取得する。ステップS34では、ステップS31にてオープンしたプレイリストをクローズする。
FIG. 5 illustrates a subtitle language acquisition procedure in the
図6は、コントローラ1における、字幕テキストストリーム再生開始手順について図示したものである。同図において、ステップS41では、再生中のプレイリストをオープンする。続いてステップS42では、図3におけるステップS14において利用者の選択した字幕言語に対応するサブトラックを図5におけるステップ33にて取得したサブトラック番号と言語情報から割り出す。
FIG. 6 shows the subtitle text stream playback start procedure in the
ステップS43では、現在再生中の映像・音声ストリームの時刻情報をもとにして、その時刻に対応するサブアイテムを取得する。ステップS44では、サブアイテム中のクリップ情報から字幕テキストストリームファイル名とフォントデータファイル名を取得する。ステップS45では、ステップS44にて取得したファイル名を元に、仮想ファイルシステム2から字幕テキストストリームファイルとフォントデータファイルを読み込み、字幕テキストストリームファイルは字幕バッファ8へ転送、フォントデータファイルはフォントバッファ10へ転送する。
In step S43, based on the time information of the currently reproduced video / audio stream, a sub-item corresponding to the time is acquired. In step S44, the subtitle text stream file name and font data file name are acquired from the clip information in the subitem. In step S45, the subtitle text stream file and font data file are read from the
ステップ46では、コントローラ1から字幕デコーダ9へデコード開始が指示され、字幕の再生が開始される。最後にステップS47にてプレイリストをクローズする。
In
ここまでは、主にコントローラ1における手順を示してきたが、字幕データを読み書きするためには、キャッシュコントローラ3が大きな役割を受け持つ。そこで、キャッシュコントローラ3が管理するローカルストレージ4内にあるキャッシュ領域の管理方式と、その管理手順について述べる。
Up to this point, the procedure in the
図7に、キャッシュコントローラ3にて管理するローカルストレージ4内のキャッシュキャッシュ管理テーブルを示す。同図において、キャッシュ管理テーブルには、キャッシュ領域の利用状況を記録した領域情報と、コンテンツ提供会社ごとに割り当てられた組織IDとコンテンツごとに割り当てられたディスクIDという二つのID単位で区切られ、同じ組織IDとディスクIDを共有するファイルの情報が組織ID、ディスクIDに続いて列挙される構造となっている。
FIG. 7 shows a cache cache management table in the local storage 4 managed by the
領域情報は、キャッシュ領域の空き領域が記録された空き領域サイズと領域のどの部分を利用していてどこが空いているかを示す領域マップからなる。新たにファイルを追加するためには、空き領域サイズが追加しようとするファイルサイズ以上である必要があり、実際にどの領域を使うかは、領域マップを使って未使用領域を探して割り当てる必要がある。 The area information includes a free area size in which the free area of the cache area is recorded and an area map indicating which part of the area is used and where it is free. In order to add a new file, the free area size must be larger than the file size to be added, and the actual area to be used must be allocated by searching for unused areas using the area map. is there.
ファイル情報は、格納するファイル名、ファイルのサイズを示すサイズ、キャッシュ領域のどの部分からデータが格納されているかを示す開始領域位置からなる。 The file information includes a file name to be stored, a size indicating the size of the file, and a start area position indicating from which part of the cache area the data is stored.
次に、キャッシュ領域にファイルを書き込む手順と削除する手順を示す。まず最初に、図8に、キャッシュ領域にファイルを追加するときのキャッシュコントローラ3の処理手順を示す。同図において、ステップS51では、追加したいファイルのサイズと領域情報内に記述された空き領域サイズを比較し、空き領域サイズの方が小さくなければ、ステップS52へ進み、そうでなければ終了する。ステップS52では、追加しようとするファイルの組織IDおよびディスクIDと、キャッシュ管理テーブル内に記述されている組織IDおよびディスクIDを比較し、同一のものが見つかればステップS53へ進み、そうでなければステップS54へ進む。
Next, a procedure for writing and deleting a file in the cache area is shown. First, FIG. 8 shows a processing procedure of the
ステップS53では、ステップS52で見つけた組織ID、ディスクIDに属するファイル名と、追加しようとするファイル名を比較し、同一のものがあれば終了し、そうでなければステップS55へ進む。ステップS54では、追加しようとするファイルの組織IDとディスクIDを新たに追加してステップS55へ進む。 In step S53, the file name belonging to the organization ID and disk ID found in step S52 is compared with the file name to be added, and if there is an identical file, the process ends. Otherwise, the process proceeds to step S55. In step S54, the organization ID and disk ID of the file to be added are newly added, and the process proceeds to step S55.
ステップS55では、領域情報内の領域マップから空き領域を見つけて、追加しようとするファイルサイズ分の領域を確保してその領域を使用領域として設定し、該当領域にファイル内のデータをコピーする。また、空き領域サイズから追加しようとするファイルサイズ分の数値を減算する。さらに、確保した開始領域位置を後述するファイル情報追加を行うための情報として、ファイル情報が追加されるまで一時的に記憶する。 In step S55, an empty area is found from the area map in the area information, an area for the file size to be added is secured, the area is set as a use area, and the data in the file is copied to the corresponding area. Also, a value corresponding to the file size to be added is subtracted from the free area size. Further, the secured start area position is temporarily stored as information for adding file information to be described later until the file information is added.
ステップS57では、ステップS52にて見つけた、もしくはステップS54で新規に追加した、組織ID、ディスクIDに属するファイル情報を新たに追加し、ファイル名、サイズ、およびステップS55にて記憶した開始領域位置をセットする。 In step S57, file information belonging to the organization ID and disk ID newly found in step S52 or newly added in step S54 is newly added, and the file name, size, and start area position stored in step S55 are stored. Set.
続いて、図9にキャッシュ領域からファイルを削除するときのキャッシュコントローラ3の処理手順を示す。同図において、ステップS61では、削除しようとするファイルの組織ID、ディスクIDと同一のものがあるかどうかを調べる。もし存在する場合は、ステップS62へ進み、そうでない場合は終了する。ステップS62では、ステップS61で見つけた織ID、ディスクIDに属するファイル情報に、削除しようとするファイル名と同一のものがあるかどうかを調べる。もし同一のファイル名が存在した場合は、ステップS63へ進み、そうでない場合は終了する。
Next, FIG. 9 shows a processing procedure of the
ステップS63では、領域マップ上にて削除しようとするファイルが占有していた領域をクリアして未使用状態にする。続いてステップS64では、空き領域サイズに、削除しようとするファイルのファイルサイズを加算する。ステップS65では、削除しようとするファイルのファイル情報を削除する。 In step S63, the area occupied by the file to be deleted on the area map is cleared and made unused. In step S64, the file size of the file to be deleted is added to the free area size. In step S65, the file information of the file to be deleted is deleted.
ステップS66では、S65にてファイル情報を削除したことで、ステップS61で見つけた組織ID、ディスクIDに属するファイル情報がなくなっていないかどうかを調べる。ファイル情報がなくなっている場合は、もうその組織ID、ディスクIDに関連するファイルがないことを示すため、S67へ進む。そうでない場合は終了する。ステップS67では、ステップS61で見つけた組織ID、ディスクIDを削除して終了する。以上が図9の説明である。 In step S66, it is checked whether the file information belonging to the organization ID and disk ID found in step S61 has disappeared because the file information has been deleted in S65. If there is no file information, the process proceeds to S67 to indicate that there is no more file related to the organization ID and disk ID. If not, exit. In step S67, the organization ID and disk ID found in step S61 are deleted and the process ends. The above is the description of FIG.
加えて、キャッシュコントローラ3がファイルを参照する手順を図10に示す。ステップS71では、ローカルストレージ4が存在するかどうかを調べる。ローカルストレージ4が存在する場合はステップS72へ、そうでない場合はステップS75へ進む。ステップS72では、参照しようとするファイルの組織ID、ディスクIDと同一のものがあるかどうかを調べる。もし存在する場合は、ステップS73へ進み、そうでない場合はステップS75へ進む。ステップS73では、ステップS72で見つけた組織ID、ディスクIDに属するファイル情報に、参照しようとするファイル名と同一のものがあるかどうかを調べる。もし同一のファイル名が存在した場合は、ステップS74へ進み、そうでない場合はステップS75へ進む。ステップS74では、ステップS73にて見つけたファイルのデータを読み出して終了する。ステップS75は、ローカルストレージ4が存在しない、もしくはローカルストレージ4内のキャッシュ領域には該当するファイルが存在しない場合に行われる処理であり、光ディスク内の該当ファイルを読み出して終了する。
In addition, FIG. 10 shows a procedure in which the
なお、キャッシュ領域内のデータの生存期間は、光ディスクがイジェクトされるまででもよいし、光ディスクイジェクト後も領域の許す限り保存しておいてもよい。前者の利点として、1枚の光ディスクに記録された字幕データのみ保持すればよいためキャッシュ領域を比較的小さくできると同時に組織IDやディスクIDによる管理を省略できるため、データ管理や本機能の実装が容易となる。後者の利点として、既に保存済みの字幕データを再利用できるため、光ディスク内の字幕データを読み込む必要がなくなり、2回目以降のディスク挿入後の再生開始までの時間が早くなる。 Note that the lifetime of data in the cache area may be until the optical disk is ejected, or may be stored after the optical disk is ejected as long as the area permits. As the former advantage, only the caption data recorded on one optical disk needs to be held, so that the cache area can be made relatively small and at the same time the management by the organization ID and the disk ID can be omitted. It becomes easy. As an advantage of the latter, since the already stored subtitle data can be reused, it is not necessary to read the subtitle data in the optical disc, and the time until the start of reproduction after the second and subsequent disc insertion is shortened.
本実施の形態1の効果として、字幕表示のための字幕データを映像・音声の再生開始前に全てプリロード用バッファに読み込むのではなく、一旦、ローカルストレージ内のキャッシュ領域にキャッシュさせ、字幕言語の変更などにより新たな字幕データを読み出す場合にはローカルストレージ内にキャッシュしたデータを提供するようにしたので、現在表示すべき字幕データのみ読みこめるだけのプリロード用バッファがあれば、映像・音声の再生を途切れさせることなく字幕の変更が可能となり、バッファを削減できるという効果がある。一つの字幕言語に対して、字幕テキストストリームは最大512kB、フォントデータは最大4MBものバッファが必要となるため、選択可能な字幕言語が多く含まれているほど、本実施の形態1におけるバッファ削減効果は大きくなる。 As an effect of the first embodiment, the subtitle data for subtitle display is not read into the preload buffer before starting the reproduction of the video / audio, but is temporarily cached in the cache area in the local storage, When new subtitle data is read due to changes, cached data is provided in the local storage, so if there is a preload buffer that can read only the subtitle data that should be displayed, video and audio can be played back. Subtitles can be changed without interrupting and the buffer can be reduced. For a single subtitle language, a subtitle text stream requires a buffer of up to 512 kB and font data of up to 4 MB. Therefore, the more subtitle languages that can be selected, the greater the buffer reduction effect in the first embodiment. Will grow.
さらに、本実施の形態の効果として、字幕表示のための字幕データを映像・音声の再生開始前に全てプリロード用バッファに読み込むのではなく、ローカルストレージにキャッシュさせ、字幕言語の変更などにより新たな字幕データを読み出す場合には字幕データのみ読みこめるだけのプリロード用バッファがあれば、映像・音声の再生を途切れさせることなく字幕の変更が可能となるため、プリロード用バッファを削減できるという効果がある。 Furthermore, as an effect of this embodiment, the subtitle data for subtitle display is not read into the preload buffer before starting the playback of video / audio, but is cached in the local storage, and the new subtitle data is changed by changing the subtitle language, etc. When subtitle data is read, if there is a preload buffer that can read only subtitle data, subtitles can be changed without interrupting video / audio playback, so the preload buffer can be reduced. .
なお、本実施の形態の構成として、ローカルストレージの有無やローカルストレージ内のファイルの有無を検出できるようにしてもよく、ローカルストレージを着脱可能としてもよい。これにより、再生装置の製造の際、ローカルストレージにかかる費用がなくなるため、コストを削減することができるという効果があり、また、利用者にとってもローカルストレージを追加することで、再生が中断されることなく字幕言語が変更できる機能が追加できるという効果がある。 As a configuration of the present embodiment, the presence or absence of a local storage or the presence or absence of a file in the local storage may be detected, or the local storage may be detachable. As a result, there is no cost for local storage when manufacturing the playback device, so there is an effect that the cost can be reduced, and for the user, playback is interrupted by adding local storage. There is an effect that it is possible to add a function that can change the subtitle language without any change.
また、本実施の形態では、字幕データが異なる言語の場合について説明したが、例えば同一言語の主音声と副音声の字幕データであってもよい。すなわち、異なる種類の字幕データであればよい。 Moreover, although the case where subtitle data is in different languages has been described in the present embodiment, for example, subtitle data of main audio and sub audio in the same language may be used. That is, different types of caption data may be used.
1 コントローラ、 2 仮想ファイルシステム、 3 キャッシュコントローラ、 4 ローカルストレージ、 5 光ディスクドライブ、 6 AVバッファ、 7 AVデコーダ、 8 字幕バッファ、 9 字幕デコーダ、 10 フォントバッファ、 11 映像合成器、 12 操作受信部。
1 controller, 2 virtual file system, 3 cache controller, 4 local storage, 5 optical disk drive, 6 AV buffer, 7 AV decoder, 8 subtitle buffer, 9 subtitle decoder, 10 font buffer, 11 video synthesizer, 12 operation receiver.
Claims (8)
前記光学式記録媒体に記録されている一以上の字幕データを記憶するローカルストレージと、
前記ローカルストレージに記憶されている一以上の字幕データのうち、一の字幕データを記憶する字幕データバッファと、
前記光学式記録媒体に記録されているAVストリームを記憶するAVデータバッファと、
前記字幕データバッファに記憶されている一の字幕データと、前記AVデータバッファに記憶されているAVストリームとを同期させて再生する再生部と
を備える光学式記録媒体の再生装置。 A playback device that plays back an optical recording medium in which an AV stream and one or more caption data are recorded,
A local storage for storing one or more caption data recorded on the optical recording medium;
Of the one or more subtitle data stored in the local storage, a subtitle data buffer for storing one subtitle data;
An AV data buffer for storing an AV stream recorded on the optical recording medium;
A playback device for an optical recording medium, comprising: a playback unit that plays back one caption data stored in the caption data buffer and an AV stream stored in the AV data buffer in synchronization.
前記字幕データバッファは、前記字幕テキストサブストリームを記憶する字幕バッファと前記フォントデータを記憶するフォントバッファとからなること
を特徴とする請求項1に記載の光学式記録媒体の再生装置。 The subtitle data includes a subtitle text substream and font data.
2. The reproducing apparatus for an optical recording medium according to claim 1, wherein the subtitle data buffer includes a subtitle buffer for storing the subtitle text substream and a font buffer for storing the font data.
を特徴とする請求項1または2に記載の光学式記録媒体の再生装置。 3. The optical recording medium reproducing apparatus according to claim 1, wherein the one or more subtitle data is subtitle data having different languages.
を特徴とする請求項1から3のいずれか1項に記載の光学式記録媒体の再生装置。 4. The optical recording medium reproducing apparatus according to claim 1, wherein the local storage is detachable from the optical recording medium reproducing apparatus. 5.
前記光学式記録媒体に記録されている一以上の字幕データをローカルストレージに記憶させる第1の記憶ステップと、
前記ローカルストレージに記憶されている一以上の字幕データのうち、一の字幕データを字幕データバッファに記憶させる第2の記憶ステップと、
前記光学式記録媒体に記録されているAVストリームをAVデータバッファに記憶させる第3の記憶ステップと、
前記字幕データバッファに記憶されている一の字幕データと、前記AVデータバッファに記憶されているAVストリームとを同期させて再生する再生ステップと
を備える光学式記録媒体の再生方法。 A reproduction method for reproducing an optical recording medium in which an AV stream and one or more subtitle data are recorded,
A first storage step of storing in the local storage one or more subtitle data recorded on the optical recording medium;
A second storage step of storing one subtitle data among the one or more subtitle data stored in the local storage in a subtitle data buffer;
A third storage step of storing an AV stream recorded in the optical recording medium in an AV data buffer;
A reproduction method of an optical recording medium, comprising: a reproduction step of reproducing one subtitle data stored in the subtitle data buffer and an AV stream stored in the AV data buffer in synchronization.
前記字幕データバッファは、前記字幕テキストサブストリームを記憶する字幕バッファと前記フォントデータを記憶するフォントバッファとからなること
を特徴とする請求項5に記載の光学式記録媒体の再生方法。 The subtitle data includes a subtitle text substream and font data.
6. The method of reproducing an optical recording medium according to claim 5, wherein the subtitle data buffer includes a subtitle buffer for storing the subtitle text substream and a font buffer for storing the font data.
を特徴とする請求項5または6に記載の光学式記録媒体の再生方法。 The method for reproducing an optical recording medium according to claim 5, wherein the one or more subtitle data is subtitle data having different languages.
前記光学式記録媒体に記録されている一以上の字幕データをローカルストレージに記憶させる第1の記憶ステップと、
前記ローカルストレージに記憶されている一以上の字幕データのうち、一の字幕データを字幕データバッファに記憶させる第2の記憶ステップと、
前記光学式記録媒体に記録されているAVストリームをAVデータバッファに記憶させる第3の記憶ステップと、
前記字幕データバッファに記憶されている一の字幕データと、前記AVデータバッファに記憶されているAVストリームとを同期させて再生する再生ステップと
を備える光学式記録媒体の再生プログラム。 A reproduction program for reproducing an optical recording medium in which an AV stream and one or more caption data are recorded,
A first storage step of storing, in a local storage, one or more subtitle data recorded on the optical recording medium;
A second storage step of storing one subtitle data among the one or more subtitle data stored in the local storage in a subtitle data buffer;
A third storage step of storing an AV stream recorded in the optical recording medium in an AV data buffer;
A reproduction program for an optical recording medium, comprising: a reproduction step for reproducing one piece of subtitle data stored in the subtitle data buffer and an AV stream stored in the AV data buffer in synchronization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006123361A JP4470905B2 (en) | 2006-04-27 | 2006-04-27 | Optical recording medium reproducing apparatus, optical recording medium reproducing method, and optical recording medium reproducing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006123361A JP4470905B2 (en) | 2006-04-27 | 2006-04-27 | Optical recording medium reproducing apparatus, optical recording medium reproducing method, and optical recording medium reproducing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007295464A true JP2007295464A (en) | 2007-11-08 |
JP4470905B2 JP4470905B2 (en) | 2010-06-02 |
Family
ID=38765610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006123361A Expired - Fee Related JP4470905B2 (en) | 2006-04-27 | 2006-04-27 | Optical recording medium reproducing apparatus, optical recording medium reproducing method, and optical recording medium reproducing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4470905B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2416318A1 (en) * | 2010-08-04 | 2012-02-08 | Nero Ag | Multi-language buffering during media playback |
-
2006
- 2006-04-27 JP JP2006123361A patent/JP4470905B2/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2416318A1 (en) * | 2010-08-04 | 2012-02-08 | Nero Ag | Multi-language buffering during media playback |
EP2863393A1 (en) * | 2010-08-04 | 2015-04-22 | Nero Ag | Multi-language buffering during media playback |
US9324365B2 (en) | 2010-08-04 | 2016-04-26 | Nero Ag | Multi-language buffering during media playback |
EP3441971A1 (en) | 2010-08-04 | 2019-02-13 | Nero Ag | Multi-language buffering during media playback |
Also Published As
Publication number | Publication date |
---|---|
JP4470905B2 (en) | 2010-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5100746B2 (en) | Video playback apparatus and video playback method | |
KR100568433B1 (en) | Recording device, recording method, playback device, playback method, recording / playback device, recording / playback method, computer readable recording medium and recording medium | |
KR100323556B1 (en) | Information playback apparatus and information recording playback apparatus | |
CN100492521C (en) | Recording apparatus having playlist editing function | |
KR20070028375A (en) | Content reproducing device, content reproducing method, content reproducing system, and its computer program | |
KR20070062523A (en) | Video producing device and method, recording medium, and video reproducing program | |
US20070263983A1 (en) | Information reproducing system using information storage medium | |
CN100454430C (en) | Recording apparatus | |
JP2014096759A (en) | Image processor | |
CN101110929A (en) | Digital multimedia document playing control method | |
JP2007179682A (en) | Disk reproducing device and content reproducing method | |
US20050047754A1 (en) | Interactive data processing method and apparatus | |
JP2007535857A (en) | Recording medium recording application having programming function, reproducing apparatus, and reproducing method thereof | |
JP4470905B2 (en) | Optical recording medium reproducing apparatus, optical recording medium reproducing method, and optical recording medium reproducing program | |
JP2006518528A (en) | Method, apparatus and information recording medium for reproducing AV data in interactive mode | |
JP2008165872A (en) | Digital video reproducing device and reproducing method | |
JP2000134565A (en) | Recording medium, recorder, reproducing device, recording method and computer readable recording medium | |
KR19990037244A (en) | Information processing apparatus, information processing method, providing medium and recording medium | |
JP2010154336A (en) | Apparatus and method for processing image | |
JP2008152820A (en) | Video audio data recording and reproducing device, video audio data recording and reproducing method, and recording medium | |
US20080008448A1 (en) | Method and apparatus for controlling reproduction of a title including av data and information recording medium | |
JP4255796B2 (en) | DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
KR20070096406A (en) | Method for controlling trick play of digital multimedia file | |
KR20030097095A (en) | Method for managing bookmark data in optical disc driver | |
MXPA06002449A (en) | Record carrier carrying a video signal and at least one additional information signal. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080606 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091201 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100114 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100209 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100222 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130312 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130312 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130312 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140312 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |