JP4050880B2 - Recording apparatus, recording method, reproducing apparatus, reproducing method - Google Patents
Recording apparatus, recording method, reproducing apparatus, reproducing method Download PDFInfo
- Publication number
- JP4050880B2 JP4050880B2 JP2001223670A JP2001223670A JP4050880B2 JP 4050880 B2 JP4050880 B2 JP 4050880B2 JP 2001223670 A JP2001223670 A JP 2001223670A JP 2001223670 A JP2001223670 A JP 2001223670A JP 4050880 B2 JP4050880 B2 JP 4050880B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- data
- recording
- reproduction
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Television Signal Processing For Recording (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、ビデオデータの記録に用いられる記録媒体、記録装置、ファイル管理プログラムを記録したコンピュータ読み取り可能な記憶媒体に関する。
【0002】
【従来の技術】
近年、CD−ROM、DVD(Digital Versatile Disc)−ROMなどの光ディスクに代表される記録媒体は、コンピュータの二次記憶としての利用に加えて、映画等のビデオデータ(以下、AVデータと呼ぶ)の記録用に活用されている。さらに、次世代の記録可能な記録媒体として、DVD−RAMディスク(以下DVD−RAMと略す)の実用化が望まれている。
【0003】
以下、従来のDVD−ROMにおいて、AVデータのn倍速の早送り又は巻き戻し再生などの特殊再生について説明する。
DVD−ROMに記録されるAVデータは、圧縮率を高めるために可変ビットレートの圧縮符号化方式が用いられている。可変ビットレートとは、1フレーム画像あたりの圧縮符号量が可変であることをいう。それゆえ、圧縮符号量は再生時間に比例しないので、AVデータを一定の符号サイズ毎に等間隔に読み出したとしても、一定の時間間隔毎の画像を得ることができない。
【0004】
そのため、DVD−ROMではAVデータ中の随所に特殊再生用の情報を記録するという手法が採られている。
具体的には、AVデータは、MPEG2に準拠して圧縮符号化され、0.4秒以上かつ1.0秒(例外的にVOB終端では1.2秒)以下となる区間(GOPと呼ばれる)毎に、GOPの先頭にNVパックと呼ばれるDVD固有の情報が付加されている。なお、NVパックから次のNVパックの前までのデータを、VOBU(Video OBject Unitの略)と呼ぶ。
【0005】
NVパックには、2Kバイトの大きさであり、近隣のNVパックを参照するための情報や、GOP内の最初のリファレンスピクチャのデータサイズが記録されている。ここで、近隣のNVパックの参照のための情報は、そのVOBUの先頭のタイムコードを基準にして、ある時間間隔だけ離れた場所にある前方向及び後方向のVOBUのNVパックのアドレスを、自身のNVパックのアドレスからの相対値で示す。この時間間隔は、1秒から1秒置きに15秒までと、20秒、60秒、120秒、240秒とが使われる。
【0006】
次に、早送り再生や巻戻し再生のような特殊再生の動作の一例について説明する。再生の速さに応じて、ある一定の時間間隔にあるVOBUのリファレンスピクチャのみを再生する事により、ほぼ一様な速度の特殊再生を実現する事ができる。一定の時間間隔のVOBUを次々と読み出すためには、NVパックのある近隣のNVパックのアドレスを示す情報を利用する。
【0007】
また、AVデータの先頭から一定の時間間隔のタイムコードごとに、そのタイムコードに対応するVOBU内のAVデータのアドレスを示すタイムサーチマップ情報が記録される。タイムマップ情報を参照することにより、指定されたタイムコードからAVデータの再生を開始することができる。
【0008】
【発明が解決しようとする課題】
しかしながら、AVデータ中の随所に特殊再生用情報をNVパックとして記録するという手法は、DVD−RAMのような記録可能な記録媒体にリアルタイムに録画する際には利用することができないという問題があった。
というのは、リアルタイムにAVデータを記録しながら上記のNVパックを記録しようとしても、例えば後方向のVOBUのNVパックのアドレスなど、これから記録するAVデータ部分に関する情報が得られないからである。
【0009】
また、AVデータの記録の終了後に、すべてのNVパックに記録する特殊再生情報を生成することは可能であるが、生成した情報をNVパックとしてAVデータ領域に記録するためには、VOBUの個数とほぼ同じ回数のディスクへのアクセスが必要であるリアルタイムには実現できない。
AVデータと特殊再生情報を同じAVデータ領域に格納しないことも考えられるが、高速に特殊再生を行うために、特殊再生情報を主記憶に保存する必要があり、特殊再生情報を記憶するために大きな主記憶容量を必要であるという問題があった。
【0010】
本発明は、特殊再生情報のデータ量を少なくしAVデータのリアルタイム録画と同時に特殊再生情報を生成する記録装置、プログラム記憶媒体及び記録媒体を提供することを目的とする。
【0011】
【課題を解決するための手段】
上記課題を解決するために、本発明の記録媒体は、ビデオオブジェクトを記録するデータ領域とタイムマップ情報を記録するタイムマップ領域とを有する記録媒体であって、前記ビデオオブジェクトは複数のビデオオブジェクトユニットから構成され、前記タイムマップ情報はビデオオブジェクトに対応する第1及び第2タイムテーブルを含み、
第1タイムテーブルは、ビデオオブジェクトに対応する再生時刻であってビデオオブジェクトユニットの再生時間よりも長い一定の時間間隔を順においた再生時刻毎に、その再生時刻に当たるビデオオブジェクトユニットのアドレス情報と、当該ビデオオブジェクトユニットを特定する特定情報とを有し、
第2タイムテーブルは、ビデオオブジェクトの先頭からの再生時間順に、各ビデオオブジェクトユニットの再生時間及びデータサイズを含むことを特徴とする。
【0012】
また、本発明の録画装置は、時系列的なビデオデータを入力する入力手段と、入力されたビデオデータを圧縮することにより連続するビデオオブジェクトユニットから構成されるビデオオブジェクトを生成する圧縮手段と、記録媒体にデータを書き込む書込み手段と、書込み手段を制御する制御手段とを備え、前記制御手段は、生成されたビデオアブジェクトを記録媒体に書き込むよう書込み手段を制御し、生成されたビデオオブジェクトに対する再生時刻であって、ビデオオブジェクトユニットの再生時間よりも長い一定の時間間隔を順においた再生時刻毎に、その再生時刻に当たるビデオオブジェクトユニットの記録位置を指し示す第1タイムテーブルと、各ビデオオブジェクトユニットの再生時間及びデータサイズを含む第2タイムテーブルとを生成し、さらに第1テーブル、第2テーブルを記録媒体に書き込むよう書込み手段を制御するように構成されている。
【0013】
ここで、前記制御手段は、第1タイムテーブルとして、前記第1生成手段は、前記一定の時間間隔を順においた各再生時刻に1対1で対応する第1タイムマップを生成し、第2タイムテーブルとして、ビデオオブジェクトユニットに1対1で対応する複数の第2タイムマップを生成し、各第1タイムマップは、対応する再生時刻に当たるビデオオブジェクトユニットの先頭アドレスと、対応する再生時刻と当該ビデオオブジェクトユニットの先頭時刻との差分時間を示す差分情報とを含み、各第2タイムマップは、対応するビデオオブジェクトユニットの再生時間を示す時間情報と、対応するビデオオブジェクトユニットのデータサイズとを含むように構成してもよい。
【0014】
また、前記制御手段は、さらに、ビデオオブジェクトの先頭の再生時刻と、前記一定の時間間隔の先頭の再生時刻との差分時間を示すタイムオフセットを生成し、前記第1タイムテーブルは、タイムオフセットを含むようにしてもよい。
また、本発明のプログラム記憶媒体は、時系列的なビデオデータを入力し、入力されたビデオデータを圧縮することにより連続するビデオオブジェクトユニットから構成されるビデオオブジェクトを生成し、記録媒体にビデオオブジェクトを書き込むコンピュータに読み取り可能な記憶媒体であって、前記ビデオデータから生成されたビデオオブジェクトに対する再生時刻であって、ビデオオブジェクトユニットの再生時間よりも長い一定の時間間隔を順においた再生時刻毎に、その再生時刻に当たるビデオオブジェクトユニットの記録位置を指し示す第1タイムテーブルと、各ビデオオブジェクトユニットの再生時間及びデータサイズを含む第2タイムテーブルとを生成し、さらに第1テーブル、第2テーブルを記録媒体に書き込むことを記述したプログラムを記録するコンピュータ読み取り可能な記憶媒体である。
【0015】
【発明の実施の形態】
(1)光ディスク
(1−1)記録可能な光ディスクの物理構造
図1は、本発明の実施形態における記録可能な光ディスクであるDVD−RAMディスクの外観及び記録領域を表した図である。同図のように、DVD−RAMディスクは、最内周にリードイン領域を、最外周にリードアウト領域を、その間にデータ領域を配置している。リードイン領域は、記録再生装置においてサーボを安定させるために必要な基準信号や他のメディアとの識別信号などが記録されている。リードアウト領域もリードイン領域と同様の基準信号などが記録される。
【0016】
データ領域は、最小のアクセス単位であるセクタ(2kバイトとする)に分割されている。データ領域には、ファイルシステム用の管理情報、AVデータ、AVデータ管理ファイル、非AVデータなどが記録される。
ファイルシステム用の管理情報は、DVD−RAMのディレクトリ構造や、ファイルの記録位置、データ領域の空き状態などを含む情報であり、ファイルの作成、書込み、読み出し、削除などに際して利用される。
【0017】
AVデータは、ビデオオブジェクト(以下VOBと略す)と呼ばれる単位を1つのファイルとして記録される。VOBは、光ディスク記録装置により1回の連続的な録画により生成されるファイルであり、例えば映画の全部又は一部、テレビ番組の全部又は一部に相当する。VOBは複数のビデオオブジェクトユニット(以下VOBUと略す)から構成される。
【0018】
1つのVOBUは、映像データの再生時間の約0.4〜1.2秒に相当するAVデータ部分であり、MPEG2規格におけるGOP(Group of Picture)と呼ばれる映像データ区間を含む。このGOPには、MPEG2規格におけるI(Intra)ピクチャ(フレーム内符号化画像)、P(Predictive)ピクチャ(フレーム間順方向予測符号化画像)、B(Bidirectionally Predictive)ピクチャ(フレーム間双方向予測符号化画像)のうち、少なくとも1つのIピクチャを含んでいる。このことは、GOPの独立再生を可能にしている。特に、早送り再生、早戻し再生などの特殊再生や、指定時刻の再生の場合には、GOP内のIピクチャは再生対象の画像として抽出され、又は参照画像として抽出され再生対象とするP又はBピクチャが再生されることになる。
【0019】
AVデータ管理ファイルは、DVD−RAM内の全AVデータを管理するためのファイルであり、VOBと1対1に対応するタイムマップ情報等が記録される。タイムマップ情報は、VOBの再生時刻と、記録位置とを対応付けた情報であり、階層的なデータ構造を採っている。すなわち、タイムマップ情報は、階層的な第1及び第2タイムテーブルを有している。
【0020】
第1タイムテーブル(以下、タイムマップテーブル又はTMAPテーブルとも呼ぶ)は、VOBに対応する再生時刻であって、一定の時間間隔(例えば60秒)を順においた再生時刻毎に、その再生時刻に当たるVOBUの記録位置(セクタアドレス:LSN)を示すテーブルである。
第2タイムテーブル(VOBUテーブルとも呼ぶ)は、VOBの先頭からの再生時間順に、各VOBUの再生時間及びデータサイズを含むテーブルである。
【0021】
図2は、セクタレベルに拡大して切り出したDVD−RAMの断面及び表面を示す図である。同図に示すように、1セクタは、金属薄膜等の反射膜表面に形成されたピット列部と、凹凸形状部とからなる。
ピット列部は、セクタアドレスを表すために刻印された0.4μm〜1.87μmのピットからなる。
【0022】
凹凸形状部は、凹部(グルーブと呼ぶ)及び凸部(ランドと呼ぶ)からなる。ランド、グルーブはそれぞれの表面に相変化(Phase Change)可能な合金薄膜である記録マークが付着されている。相変化とは、付着した合金薄膜の状態が光ビームの照射により結晶状態と、非晶状態とに変化することをいう。凹凸形状部には、相変化を利用することによりデータを書き込むことができる。MOディスクではランド部のみが記録用であるのに対して、DVD−RAMではランド部とグルーブ部にもデータを記録できるようになっている。グルーブ部へのデータ記録を実現したことは、記録密度をMOと比べて増大させている。セクタに対する誤り訂正処理は、16個のセクタ毎になされる。本実施例では、ECC(Error Correcting Code)が付与されるセクタ群(16セクタ)をECCブロックと呼ぶ。
【0023】
また、DVD−RAMは、記録・再生装置においてZ−CLV(Zone-Constant Linear Velocity)と呼ばれる回転制御を実現するために、データ領域が複数のゾーン領域に分割されている。
図3(a)は、DVD−RAMに同心円状に設けられた複数のゾーン領域を示す図である。同図のように、DVD−RAMは、ゾーン0〜ゾーン23の24個のゾーン領域に分割されている。ここでゾーン領域とは、同じ角速度でアクセスされる一群のトラックをいう。本実施形態では1ゾーン領域は、1888本のトラックを含む。DVD−RAMの回転角速度は、内周側のゾーン程速くなるようにゾーン領域毎に設定され、光ピックアップが1つのゾーン内でアクセスする間は一定に保たれる。これにより、DVD−RAMの記録密度を高めるとともに、記録装置・再生装置における回転制御を容易にしている。
【0024】
図3(b)は、図3(a)において同心円状に示したリードイン領域、ゾーン領域0〜23、リードアウト領域を横方向に配置した説明図である。
リードイン領域とリードアウト領域は、その内部に欠陥管理領域(DMA:DefectManagement Area)を有する。欠陥管理領域とは、欠陥が生じたセクタの位置を示す位置情報と、その欠陥セクタを代替するセクタが上記代替領域の何れに存在するかを示す代替位置情報とが記録されている領域をいう。
【0025】
各ゾーン領域はその内部にユーザ領域を有すると共に、境界部に代替領域及び未使用領域を有している。ユーザ領域は、ファイルシステムが記録用領域として利用することができる領域をいう。代替領域は、欠陥セクタが存在する場合に代替使用される領域である。未使用領域は、データ記録に使用されない領域である。未使用領域は、2トラック分程度設けられる。未使用領域を設けているのは、ゾーン内では隣接するトラックの同じ位置にセクタアドレスが記録されているが、Z−CLVではゾーン境界に隣接するトラックではセクタアドレスの記録位置が異なるため、それに起因するセクタアドレス誤判別を防止するためである。
【0026】
このようにゾーン境界にはデータ記録に使用されないセクタが存在する。そのためデータ記録に使用されるセクタのみを連続的に示すように、DVD−RAMは、内周から順に論理セクタ番号(LSN:Logical Sector Number)をユーザ領域の物理セクタに割り当てられている。図3(c)に示すように、LSNが付与されたセクタにより構成される、ユーザデータを記録する領域をボリューム空間と呼ぶ。
【0027】
また、図3(d)に示すように、ボリューム空間の内周部と外周部には、ディスクを論理的なボリュームとして扱うためのボリューム構造情報が記録される。ボリューム空間中の内周と外周のボリューム構造情報領域を除いた部分は、ユーザファイルが記録される領域であり、パーティション空間と呼ぶ。パーティション空間では、その先頭セクタからセクタ単位に論理ブロック番号(LBN:Logical Block Number)が割り当てられる。
【0028】
図4は、ゾーン領域内におけるセクタとのECCブロックとの関係を階層的に示す図である。同図に示すように各ゾーン領域は、複数のECCブロックからが含まれる。ここで注意すべきは、記録装置において、非AVデータはセクタ単位に領域が割り当てられるのに対して、AVデータは連続再生を保証できるだけの連続記録領域を単位として割り当てられることである。ここでいう連続記録領域は、ゾーン境界を跨がないECCブロックの整数倍の領域で、一定サイズ(約7Mバイト)以上の連続セクタをいう。ただし、AVデータが、複数のエクステントからなる場合には、最後のエクステントは上記一定サイズより小さくてもよい。連続記録領域がゾーン境界を跨がないとしているのは、もしゾーンを跨ぐと光ディスクの回転角速度が変更されるので、連続的に読み出しできないからである。またECCブロックの整数倍のとしているのは、ECC処理の最小単位だからである。
【0029】
図5は、ボリューム空間に記録されるファイルシステム用の管理情報に含まれるセクタ管理テーブルと、上記の連続記録領域を管理するための連続記録領域管理ファイルとを示す。同図では、ボリューム空間、セクタ、セクタの記録内容を階層的に図示してある。
第1階層は、図3(d)に示したボリューム空間を示している。
【0030】
第2階層は、パーティション空間おいてセクタ管理テーブルが記録されるセクタ領域を示す。論理ブロック番号0〜79までのセクタ領域には、セクタ毎のデータ割当状況を示すセクタ管理テーブル(スペースビットマップとも呼ぶ)が記録される。連続記録領域管理ファイルは、非AVファイルとして記録されるので、固定的な領域ではなく、通常のファイルとして空き領域の何れかに記録される第3階層に示すようにスペースビットマップは、パーティション空間における全部のセクタについて、各セクタが割り当て済か未割当てであるかを表している。この例では1セクタ1ビットのビットマップになっている。例えば論理ブロック番号0〜79は、スペースビットマップとして割り当てられているから、"0(割当済)"となっている。
【0031】
第3階層に示すように連続記録領域管理ファイルは、パーティション空間中の既に連続記録領域として割り当てられた領域を示す。同図では、連続記録領域管理ファイルは、エントリe1〜e4・・・からなるリスト構造のテーブルとして表されている。テーブル左の枠外にはテーブル先頭からの相対アドレス(バイト数)を付記してある。
【0032】
各エントリは、同図左から開始セクタ番号(LSN)、終了セクタ番号及びポインタからなる。各エントリにおける開始セクタ番号から終了セクタ番号までの光ディスクの領域は、連続記録の一部分または1つの連続記録が割り当てられたセクタ領域を表している。ポインタは、後続する連続記録領域を示すエントリを指し、テーブル先頭からの相対アドレスで表わされる。ただし、最後のエントリe5のポインタは、末尾であることを示す値(−1)をとる。
【0033】
同図の例では、エントリe1は、セクタ番号6848から15983までの連続領域領域を表し、12バイト目から記録されているエントリe2(後続する連続記録領域)を指している。他のエントリも同様である。また、エントリe1〜e4が1つの連続した領域(6848から31983)を示しているのは、AVデータが4回に分けて記録され、連続記録領域が順次追加された場合を示している。
【0034】
連続記録領域の割り当てとスペースビットマップとは、次のように連動して管理される必要が有る。例えば、光ディスク記録装置では、連続記録領域として割り当てた領域は、スペースビットマップにおいても割り当て済みに変更される。図6は、DVD−RAMに記録されるAVデータ、非AVデータ及びディレクトリの一例を示す。
【0035】
同図において、楕円図形はディレクトリを、長方形はファイルを表している。ルートディレクトリは、RTRWというディレクトリと、File1.DAT、File2.DATという2つの非AVデータファイルとを有する。RTRWディレクトリは、Movie1.VOB、Movie2.VOB、・・・という複数のAVファイルと、RTRW.IFOというAVデータ管理ファイルとを有している。図7に示すようにAVファイルMovie1.VOB、Movie2.VOB、・・・は、それぞれ1つのVOBとしてデータ領域に記録される。(1.2)AVデータ管理ファイル
図8は、図6に示したAVデータ管理ファイル(RTRW.IFO)の記録内容を階層的に示した説明図である。同図のようにAVデータ管理ファイルは、タイトルサーチポインタテーブル810、AVファイル管理テーブル820、PGC情報テーブル830を有する。これらのテーブルとVOBとの論理的な結合関係を図9に示す。
【0036】
タイトルサーチポインタテーブル810は、DVD−RAMに記録されているタイトル一覧を示すテーブルである。ここでタイトルは、記録装置においてユーザが録画した番組や、ユーザの編集により作成されたタイトルなどがある。図8、9ではタイトルサーチポインタテーブルに含まれるタイトルサーチポインタ811、812・・・のみを図示してある。
【0037】
タイトルサーチポインタ811、812・・・は、タイトルに対応するPGC(又はPGC情報)の番号を指すポインタである。例えば、図9のタイトルサーチポインタ811はPGC情報831を示している。ここでPGCとは、任意のVOBの任意の区間を論理的に連結した一連のAVデータをいう。またPGC情報とは、任意のVOBの任意の区間の論理的な連結関係を示す情報をいう。
【0038】
AVファイル管理テーブル820は、AVファイルつまりVOBの再生時刻と記録位置との対応関係を示す情報であり、VOBと同数のVOB情報821、822・・・を記録するテーブルである。
VOB情報821、822・・・は、それぞれ、、再生時間などVOB固有の情報を示すVOB一般情報と、VOBの再生時刻と記録位置とを対応付けるタイムマップ情報とを含む。
【0039】
VOB一般情報821aは、VOB情報がどのVOBに対応するかを示すためのVOBの識別子、対応するVOBの再生時間等を示す情報である。
タイムマップ情報821bは、上述した第1タイムテーブルと第2タイムテーブルとを含む。
第1タイムテーブル(タイムマップテーブル)は、図9に示すように、VOBの先頭を開始時刻とする時間軸上で、一定の時間(例えば60秒)間隔を順においた再生時刻毎に、その再生時刻に当たるVOBUの記録位置(セクタアドレス)を示すタイムマップ#1、#2・・・を配列したテーブルである。
【0040】
第2タイムテーブル(VOBUテーブル)は、図9に示すように、VOBの先頭からの再生時間順に、VOBUの再生時間及びVOBUのデータサイズを含むVOBUマップを配列したテーブルである。
PGC情報テーブル830は、複数のPGC情報831、832・・・からなるテーブルである。
【0041】
PGC情報831、832・・・は、スタートタイムとエンドタイムとの組によって指定されるVOB中のビデオ区間を示す情報(セルと呼ぶ)を再生時間順に配列したテーブルであり、セルに示されるビデオ区間を配列順に論理的に連結することにより得られる一連のAVデータを表している。
セル831a、831b・・・は、それぞれAVファイル識別子、VOB識別子と、ビデオ区間を示すスタートタイムとエンドタイムの組みを含む。
【0042】
図9に示した例では、1つのタイトルに対応する一連のAVデータは、タイトルサーチポインタ811→PGC情報831→セル831a〜831c→VOB情報821、822、→VOB#1、#2という順に特定されることになる。この例では、1つのタイトルに対するAVデータが2つのVOB#1、#2から構成されているが、新規録画したタイトルの場合など最もシンプルなPGC情報の例は、1タイトル→1PGC情報→1セル→1VOB情報→1VOBというように1タイトルが1つのVOBで構成される。
【0043】
図10は、AVファイルつまりVOBのデータ構造を示す図である。同図に示すように、VOBは、複数のVOBUからなる。VOBUは、少なくとも1つのI(Intra)ピクチャーを含む約0.5秒程度の圧縮ビデオデータと、他の音声データとを含むAVデータ区間であり、ビデオパック(V_PCK)とオーディオパック(A_PCK)とがインターリーブされたパック列からなる。1つのパックは、MPEG2におけるパック化パケットであり、パックヘッダ、パケットヘッダ、ビデオデータ/オーディオデータを含み、セクタサイズと同じ2kバイトのサイズを有する。
【0044】
図11は、1つのVOBに対応するタイムマップ情報のより詳細なデータ構成を示す図である。同図においてタイムマップ情報821bは、VOBの再生時刻と記録位置とを対応付ける情報であり、タイムマップ一般情報8210、タイムマップテーブル8220、VOBUテーブル8230からなる。タイムマップテーブルと、VOBUテーブルとの論理的な連結関係を図12に示す。
【0045】
タイムマップ一般情報8210は、タイムマップ情報に含まれるタイムマップ数及びVOBUマップ数、タイムマップが設けられる一定の時間間隔を示すタイムユニット(以下TMUと略す)、VOBの先頭時刻と先頭のタイムマップの時刻との時間差を示すタイムオフセット(以下TM_OFSと略す)を含む。
タイムマップテーブル8220は、タイムマップ一般情報8210中のTMUが示す一定時間毎に設けられ、時間順に配列された複数のタイムマップ8211、8212・・・からなる。図12に示すように、タイムマップ8211、8212、・・・は、順にVOBの先頭時刻とTM_OFSを加えた時刻、さらにTMU後、2TMU後、3TMU後・・・の再生時刻に存在するVOBUマップを指す。
【0046】
ただし、TM_OFSは、通常"0"である。この場合タイムマップ8211は、VOBの先頭時刻に対応する。また、VOB先頭部分が削除される等の編集がなされた場合には、TM_OFSは"0"以外の値をとる。
図13にVOB先頭部分が削除された場合のタイムマップテーブルとVOBUテーブルとの論理的な連結関係を示す。TM_OFSは、図13に示すようにVOBの先頭時刻と先頭のタイムマップの時刻との時間差を意味する。VOB先頭部分が削除された場合には、削除したVOB再生時間に相当する値をTM_OFSとして設定しておけばよいので、タイムマップテーブルを生成するための計算量を削減できる。
【0047】
タイムマップ#iに対する再生時刻(以下タイムマップ時刻と呼ぶ)は次式で表される。
タイムマップ時刻=(TMU*(i-1)+TM_OFS)
タイムマップ8211、8212・・・は、それぞれVOBUマップ番号と時間差(TM_DIFFと略す)とVOBUアドレス(VOBU_ADRと略す)とからなる。
【0048】
VOBUマップ番号8212aは、そのタイムマップ時刻にあたるVOBUマップの番号である。
TM_DIFF8212bは、当該VOBUの先頭時刻とタイムマップ時刻との時間差を表す。よってVOBU#jの先頭時刻は、次式で表される。
VOBU先頭時刻=(TMU*(j-1)+TM_OFS-TM_DIFF)
VOBU_ADR8212cは、当該VOBUの先頭アドレス(4バイトのセクタアドレス)である。
【0049】
VOBUテーブル8230は、VOBに含まれるVOBUに1対1で対応するVOBUマップ8231、8232、・・・を配列したテーブルである。
VOBUマップ8231、8232、・・・は、それぞれ参照画像サイズ、VOBU再生時間、VOBUサイズからなる。
参照画像サイズ8232aは、VOBU内の最初のIピクチャのサイズである。特殊再生や指定時刻の再生に際して、参照画像の読み出しに利用される。
【0050】
VOBU再生時間8232bは、当該VOBUの再生に要する時間であり、本実施例では1バイトデータとする。これは、特殊再生や指定時刻の再生に際して、対象とする画像を見つけるために利用される。すなわち、再生装置は、対象とする画像の時刻に達するまで、上記のVOBU先頭時刻にVOBU再生時間を順次足し込んでいくことにより1つのVOBUを特定し、さらにVOBU内の1つの画像を特定する。
【0051】
VOBUサイズ8232cは、VOBUのデータサイズであり、本実施例ではセクタ数を示す2バイトデータである。これは、特殊再生や指定時刻の再生に際して、対象とする画像のアドレスを特定するために利用される。すなわち、再生装置は、対象とする画像の時刻に達するまで、上記のVOBU先頭時刻に、当該VOBUマップから始まるVOBUマップ列のVOBUサイズを順次足し込んでいくことにより、対象とする画像を含む1つのVOBUを特定し、さらにVOBU内の1つの画像を特定することになる。
(2)記録再生装置
次に、図面を参照しながら本発明に係る光ディスク記録・再生装置を説明する。
(2−1)全体のシステム
図14は、本実施形態における光ディスク記録再生装置を用いたシステムの構成例を示す。
【0052】
このシステムは、光ディスク記録再生装置10(以下DVDレコーダ10と呼ぶ)、これを操作するためのリモコン6、DVDレコーダ10に接続されたディスプレイ12、アンテナ11を含んでいる。
DVDレコーダ10は、光ディスクとして上記DVD−RAMが装着され、アンテナ11を通じて受信されたアナログ放送波に含まれる音声画像データを圧縮した上で、AVファイルとしてDVD−RAMに記録し、また、DVD−RAMに記録された圧縮音声画像データを伸長し、その映像信号、音声信号をディスプレイ12に出力する。
(2−2)DVDレコーダ10のハードウェア構成
図15は、DVDレコーダ10のハードウェア構成を示すブロック図である。
【0053】
このDVDレコーダ10は、制御部1、MPEGエンコーダ2、ディスクアクセス部3、MPEGデコーダ4、ビデオ信号処理部5、リモコン6、バス7及びリモコン信号受信部8、レシーバ9を有している。
制御部1は、CPU1a、プロセッサバス1b、バスインタフェース1c及び主記憶1dを有し、主記憶1dに格納されたプログラムを実行することにより、DVDレコーダ10におけるAVデータの記録、再生、編集など装置全体を制御する。特に制御部1は、AVデータの記録に際して、AVファイル(VOB)を記録したときに、記録したVOBに対応するVOB情報、PGC情報等を生成し、AVデータ管理ファイルを記録又は更新する。また、制御部1は、AVデータの再生に際して、図9に示したAVデータ管理ファイル中のPGC情報に含まれるセルにおいてスタートタイムとエンドタイムにより指定される区間を、VOB情報に基づいてアドレスを求めて再生する。特に特殊再生の場合には、一定時間(例えば5秒、−5秒など)毎に存在する参照画像のアドレスを、VOB情報に基づいて順次求めて、早送り再生や早戻し再生を行なうよう構成されている。
【0054】
MPEGエンコーダ2は、アンテナ11を通してレシーバ9により受信されたアナログ放送波に含まれる音声映像信号を、MPEGストリームに圧縮する。 ディスクアクセス部3は、内部にトラックバッファ3aを有し、制御部1の制御の下で、MPEGエンコーダ2から入力されるMPEGストリームをトラックバッファ3aを介してDVD−RAMに記録し、また、DVD−RAMからMPEGストリームを読み出してトラックバッファ3aを介してMPEGデコーダ4に出力する。
【0055】
MPEGデコーダ4は、ディスクアクセス部3によってDVD−RAMから読み出されてたMPEGストリームを伸長し、伸長結果として映像データと音声信号を出力する
ビデオ信号処理部5は、MPEGデコーダ4からの映像データをディスプレイ12用の映像信号に変換する信号処理を行う。
【0056】
リモコン信号受信部8は、図16に示すようなリモコン6から送信されるリモコン信号を受信し、どのようなユーザ操作がなされたかを制御部1に通知する。上記DVDレコーダ10は、図14に示したように、従来の据え置き型家庭用VTRに代用することを前提とした構成を示している。この構成に限らず、DVD−RAMがコンピュータの記録媒体としても使用される場合には、次のような構成とすればよい。すなわち、ディスクアクセス部3は、DVD−RAMドライブ装置としてSCSIやIDEと呼ばれるIFを介してコンピュータバスに接続される。また、同図のディスクアクセス部3以外の構成要素はコンピュータのハードウェア上でOS及びアプリケーションプログラムが実行されることに実現される。
【0057】
図17は、MPEGエンコーダ2の構成を示すブロック図である。同図のようにMPEGエンコーダ2は、ビデオエンコーダ2aと、ビデオエンコーダの出力を格納するビデオバッファ2bと、オーディオエンコーダ2cと、オーディオエンコーダの出力を格納するオーディオバッファ2dと、ビデオバッファ2b内のエンコードされたビデオデータとオーディオバッファ2d内のエンコードされたオーディオデータを多重化するシステムエンコーダ2eと、エンコーダ2の同期クロックを生成するSTC(システムタイムクロック)部2fと、これらの制御および管理を行うエンコーダ制御部2gとから構成されている。
【0058】
エンコーダ制御部2gは、特にエンコードに際してVOBUを生成する毎に、GOP情報およびピクチャ情報などの情報を図15の制御部1に渡す。ここでGOP情報とは、VOBUのパック数と、VOBU中の最初のIピクチャのパック数とを含む。ここでいうパックは、図10に示したビデオパック(V_PACK)、オーディオパック(A_PACK)のことであり、セクタと同じ2kバイトの固定長である。したがって、本実施例では、GOP情報はVOBUが占めるセクタ数と、VOBU中の最初のIピクチャが占めるセクタ数とを意味する。
【0059】
図18は、MPEGデコーダ4の構成を示すブロック図である。同図のようにMPEGデコーダ4は、MPEGストリームをビデオストリームとオーディオストリームに分離するデマルチプレクサ4aと、分離されたビデオストリームを一時的に格納するビデオバッファ4bと、ビデオバッファ4bに格納されたビデオストリームをデコードするビデオデコーダ4cと、分離されたオーディオストリームを一時的に格納するオーディオバッファ4dと、オーディオバッファ4dに格納されたオーディオストリームをデコードするオーディオデコーダ4eと、同期クロックを生成するSTC(システムタイムクロック)部4fと、同期クロックにオフセットを加算する加算器4gと、同期クロックとオフセット付きの同期クロックとの一方を選択してデマルチプレクサ4a、オーディオデコーダ4e、ビデオデコーダ4cに供給するセレクタ4h〜4jとから構成される。
(2−3)機能ブロック図
図19は、DVDレコーダ10の構成を機能別に示した機能ブロック図である。同図における各機能は、制御部1におけるCPU1aが主記憶1dのプログラムを実行することにより図15に示したハードウェアを制御することにより実現される。
【0060】
図19においてDVDレコーダ10は、ディスク記録部100、ディスク読み出し部101、ファイルシステム部102、録画編集再生制御部105、ユーザIF部106、AVデータ録画部110、AVデータ編集部120、AVデータ再生部130から構成される。
ディスク記録部100は、ファイルシステム部102から論理セクター番号と1つ以上のセクター単位の論理データ(2048バイト)と入力されると、そのデータを記録する。ただし、実際には、ディスク記録部100は、論理データをECCブロック(16セクタ)単位にディスク上に読み書きする。論理データが16セクターに満たない場合は、一旦そのECCブロックを読み出して、ECC処理を施してからECCブロックを記録することになる。
【0061】
ディスク読み出し部101は、ファイルシステム部102から論理セクター番号とセクタ数とが入力されると、そのセクターデータを読み出しファイルシステム部に転送する。ただし、実際には、ECCブロック単位で読み出しを行い、ECC処理を経て必要なセクターデータのみがファイルシステム部に転送される。これは、AVデータの読み出し時にECCブロック毎に16セクター単位で読み出しを行うことにより、ディスク記録部100と同様にオーバーヘッドを削減するためである。
【0062】
ファイルシステム部102は、主としてAVファイルの書き込み及び編集を行うAVファイルシステム部103と、AVファイルと非AVファイルとで共通の処理を行う共通ファイルシステム部104とを有し、AVデータ録画部110、AVデータ編集部120、AVデータ再生部130からファイルの書き込みや読み出しに関するコマンドを受けて、光ディスクのセクタを最小単位としてファイル管理を行う。
【0063】
録画編集再生制御部105は、DVDレコーダ10の全体を制御する部分であり、特に、ユーザ操作を促すガイダンス表示を制御し、それに対するユーザ操作をユーザIF部106を介して受け付け、ユーザ操作に応じて新規のAVデータの録画、録画済みのAVデータの再生や編集などを、AVデータ録画部110、AVデータ編集部120、AVデータ再生部130に対して要求する。
【0064】
ユーザIF部106は、リモコン6からのユーザ操作を受け付け、録画編集再生制御部105に通知する。
制御データ管理部107は、非AVデータであるAVデータ管理ファイルを、主記憶1d上に読み出し、各部からの要求に応じて即座に情報を提供する。
AVデータ録画部110は、録画編集再生制御部105から録画要求を受けて、要求された録画に必要なコマンドをAVファイルシステム部103に発行する。そのため、AVデータ録画部110は、AVデータ入力部111とAVファイル管理情報生成部112とを有する。
【0065】
AVデータ入力部111は、映像信号とオーディオ信号とをMPEGデータへ変換、つまりリアルタイムにエンコードを行い、エンコードしたMPEGデータを、AVファイルとしてディスクに記録するために、AVファイルシステム部103に出力する。また、AVデータ入力部111は、 エンコードに際して、MPEGデータのVOBU毎に、VOBUを構成するパック数と、最初のリファレンスピクチャのパック数を計算し、得られた値をGOP情報としてメモリ(主記憶1d)に記憶させ、AVファイル記録後にAVファイル管理情報生成部112に渡す。
【0066】
AVファイル管理情報生成部112は、AVデータ入力部111によるAVファイルの記録の終了時に、メモリに記憶されたGOP情報に基づいて当該AVファイルに対応するVOB情報、PGC情報、タイトルサーチポインタをAVファイル管理情報として生成し、制御データ管理部107に保持されたAVデータ管理ファイルを更新し、更新後のAVデータ管理ファイルをファイルシステム部102を介してDVD−RAMに記録する。
【0067】
AVデータ編集部120は、録画編集再生制御部105から編集要求を受けて、編集に必要なコマンドをAVファイルシステム部103に発行する。
AVデータ再生部130は、録画編集再生制御部105から再生要求を受けて、要求された再生に必要なコマンドをAVファイルシステム部103に発行する。
(2−4)ファイルシステム部102に実行されるコマンド
次に、ファイルシステム部102によりサポートされる各種コマンドを説明する。
【0068】
ファイルシステム部102は、制御データ管理部107、AVデータ録画部110、AVデータ編集部120、AVデータ再生部130、録画編集再生制御部105などから各種のコマンドを受けてファイル管理を行う。
図20は、共通ファイルシステム部104、AVファイルシステム部103によりサポートされるファイル管理に関するコマンドを示す一覧表である。各コマンドに対するファイルシステム部102の処理内容を簡単に説明する。
【0069】
「CREATE」はディスク上にファイルを新しく作成し、ファイル識別記述子を返す。
「DELETE」はディスク上に存在するファイルを削除する。
「OPEN」はディスク上に記録されているファイルにアクセスするために、そのファイルへのファイル識別記述子を取得する。
【0070】
「CLOSE」はオープンされているファイルをクローズする。
「WRITE」はファイルをディスク上に記録する。
「READ」はディスク上に記録されたファイルを読み出す。
「SEEK」はディスク上に記録されたデータストリーム内を移動する。
「RENAME」はファイル名を変更する。
【0071】
「MKDIR」はディスク上に新しいディレクトリを作成する。
「RMDIR」はディスク上に存在するディレクトリを削除する。
「STATFS」はファイルシステムの現在の状況の問い合わを行う。
「SET_ATTR」は現在オープンしているファイルの属性を変更する。
「SEARCH_DISCON」は指定された区間に不連続境界(ゾーン境界)があるか調べ、ある場合はTRUEを、無い場合はFALSEを返す。
【0072】
「MERGE」はディスク上の2つAVファイルと、メモリ中のデータをマージす る。
「SPLIT」はディスク上のAVファイルを2つのAVファイルに分割する。
「SHORTEN」はディスク上のAVファイルの端部を削除して、AVファイルの 不必要な部分を削除する。
【0073】
「REPLACE」はAVファイルの一部分とメモリ中のデータを入れ替える。
これらのコマンドの組み合わることにより、AVデータ録画部110、AVデータ編集部120、AVデータ再生部130は、録画、編集、再生等の処理を実現する。
(3)録画・再生
次に、DVDレコーダ10において(3−1)AVファイルの録画、(3−2)AVデータ管理ファイルの記録、(3−3)AVデータの再生、(3−4)指定時刻から指定時刻までの再生、(3−5)AVデータの特殊再生について詳細に説明する。
(3−1)AVファイルの録画処理
録画処理は、マニュアル録画と予約録画とがある。マニュアル録画はユーザにより予約時間の設定なしにリモコンの「録画」キーが押下された場合に2、3の項目設定の後直ちに開始される録画処理をいう。予約録画は、開始時刻と終了時刻とを予め設定された場合の録画処理をいう。
【0074】
例えば、ユーザがリモコン6において録画ボタンを押すと、録画編集再生制御部105の制御によって図21に示すようなガイダンス画像200がディスプレイ12に表示される。このガイダンス画像200においてユーザが「1」「選択」と押すと、録画条件(この例では録画時間と録画品質)を設定するためのガイダンス画像201が表示される。
【0075】
録画条件の「録画時間」についてユーザはリモコン6のカーソルボタンにより「無制限」または「指定時間」にフォーカスを移動し、再度「選択」ボタンを押すことにより設定される。「指定時間」が選択された場合には、テンキーボタンにより時間を入力するガイダンス画像に切り替わる。指定時間の設定が完了すると再度ガイダンス画像201が表示される。
【0076】
録画条件の「録画品質」は、MPEGデータのビットレートや解像度に関し、高画質、標準、時間優先の3種類がある。それぞれの(ビットレート、解像度)は、高画質では(6Mbps、720*480画素)、標準では(3Mbps、360*480画素)、時間優先では(1.5Mbps、360*240画素)である。
今、録画のケースとして、ガイダンス画像201において「無制限」「時間優先」が選択され、ガイダンス画像202に移行した後リモコンの「録画」ボタンが押されたとする。これにより録画編集再生制御部105はAVデータ録画部110に録画を指示し、AVデータ録画部110において録画処理が開始する。
【0077】
図22は、AVデータ録画部110における録画処理を示すフローチャートである。
マニュアル録画の場合「録画」ボタン押下の通知がユーザIF部106を介して録画編集再生制御部105になされる。
この通知を受けた録画編集再生制御部105は、上記一定サイズ(約7Mバイト)以上の連続記録領域を確保する。すなわち、スペースビットマップと連続記録領域管理ファイルとを参照して、未使用の連続セクタ領域を検索し、新たな連続記録領域を確保する(ステップ220)。このとき、既に記録されたAVデータが存在し、これから記録しようとするAVデータが論理的に連続する場合には、なるべく既に存在する連続記録領域と連続するように新たな連続記録領域を確保する。
【0078】
さらに、録画編集再生制御部105は、AVデータ入力部111にファイル識別子と、録画条件に設定された時間優先を示すパラメータを通知する。AVデータ入力部111は、レシーバ9を介して受信中の特定チャネルの番組の映像データと音声データとをMPEGエンコーダ2によりエンコードを開始し、さらにエンコード結果のMPEGデータをトラックバッファ3aに転送する処理を開始する(ステップ221)。
【0079】
次いで、録画編集再生制御部105は、共通ファイルシステム部104に対して、新たに割り当てられた連続記録領域の指定を含む「CREATE」コマンドを発行する(ステップ222)。これを受けて共通ファイルシステム部104は、新たな連続記録領域にファイルを作成できる場合には、新たなファイル識別記述子を返す。
【0080】
これと同時に、AVデータ入力部111は、「OPEN」コマンドをAVファイルシステム部103に発行する(ステップ223)ことにより、録画編集再生制御部105から与えられたファイル識別記述子とそのファイルエントリとに関する情報をワークメモリ(図外)に保持させる(以下ワークメモリ中の上記情報をFd(ファイルディスクリプタ)と略す)。
【0081】
AVデータ入力部111は、録画編集再生制御部105からの停止命令を受けるまでの間は(ステップ224)、VOBUがエンコードされる毎にVOBUを構成するパック数と、VOBUの最初の参照画像(Iピクチャ)のパック数とをGOP情報として主記憶1dに記憶させる(ステップ225、226)。図23に、GOP情報の一例を示す。同図ではVOBU#22までエンコードされた時点で主記憶1dに記憶されているGOP情報を表している。なお、本実施例では1つのVOBUは15フレーム(又は30フィールド)からなる約0.5秒分の映像データを含むものとする。
【0082】
さらに、AVデータ入力部111は、トラックバッファ3aに一定量のMPEGデータが蓄積される毎に「WRITE」コマンドをAVファイルシステム部103に発行する(ステップ228、229)。ここで、「WRITE」コマンドは3つのパラメータの指定と共にAVファイルシステム部103に発行されるものとする。3つのパラメータは、「OPEN」コマンドによりオープンされた上記Fdと、記録すべきデータのサイズと、それをを保持しているバッファ(本実施例ではトラックバッファ3a)とである。また、パラメータとして指定されるFdは、ファイルエントリと同様に、エクステントの記録位置及びエクステント長を示す情報を含む。この情報はステップ220において確保された連続記録領域を表す。また、Fdはオープンされてからクローズされるまでに複数の「WRITE」コマンドが発行された場合は逐次更新されていく。2回目以降の「WRITE」コマンドでは、既に記録されたデータに続けて新たなデータが書き足される。
【0083】
AVデータ入力部111は、停止命令を受けた時点で「WRITE」コマンド(ステップ224、230)を発行し、さらに「CLOSE」コマンドを発行し(ステップ231)、AVファイル管理情報生成部112にAVファイル(VOB)の記録を終了した旨を通知して(ステップ232)終了する。なお、ステップ230の「WRITE」コマンドは、トラックバッファの残りを記録するためである。ステップ255の「CLOSE」コマンドは、ワークメモリ中のFdを、DVD−RAM上のファイル識別記述子及びファイルエントリが書き戻すためである。
【0084】
上記図23ではマニュアル録画の場合を説明したが、予約録画の場合には、予約として指定した時間の通知とともに「録画」ボタン押下の通知がユーザIF部106を介して録画編集再生制御部105になされる。録画編集再生制御部105は、指定された時間に相当する連続記録領域を確保する。
(3ー2)AVファイル管理情報の生成・記録
図24は、AVファイル管理情報生成部112によるAVファイル管理情報の生成及び記録処理を示すフローチャートである。
【0085】
同図のように、AVファイル管理情報生成部112は、AVデータ入力部111からAVファイルの記録が終了したことの通知を受けると(ステップ251)、AVデータ入力部111によってメモリ(主記憶1d)に記憶されたGOP情報と、AVファイルが記録された新たな連続記録領域の先頭アドレスに対応するVOBU番号とに基づいて、VOB情報、すなわち図11に示した(a)VOB一般情報とタイムマップ情報((b)タイムマップ一般情報、(c)VOBUテーブル、(d)タイムマップテーブル)を次のように生成する(ステップ252)。
(a)VOB一般情報(VOB識別子、VOB再生時間)
AVファイル管理情報生成部112は、制御データ管理部107に既存のAVファイル管理テーブルが保持されていれば、重複しないVOB識別子(次の番号など)を割当て、保持されていなければ、VOB#1をVOB識別子とし、AVデータ入力部111からAVファイルの再生時間を取得し、それらを含むVOB一般情報を生成する。
(b)タイムマップ一般情報(タイムマップ数、VOBUマップ数、TMU、TM_OFS)
AVファイル管理情報生成部112は、TMUを例えば60秒とし、VOBの再生時間をTMUで除算してタイムマップ数を求め、GOP情報から得られるVOBU数をVOBUマップ数とし、TM_OFSを0(新規録画の場合)とする。
(c)VOBUテーブル(参照画像サイズ、VOBU再生時間、VOBUサイズ)
図23に示したGOP情報は、VOBUテーブルの参照画像サイズ、VOBUサイズそのものの値を表すので、AVファイル管理情報生成部112は、GOP情報に各VOBUの再生時間を追加することによりVOBUテーブルを生成する。本実施例ではVOBUの再生時間15フレーム(又は30フィールド)なので、0.5秒(15フレーム時間)となる。ただし、AVファイルの最後のVOBUはその再生時間が異なるので、AVファイル管理情報生成部112はAVデータ入力部111から取得してVOBUテーブルに設定する。
(d)タイムマップテーブル(VOBUマップ番号、時間差TM_DIFF、VOBUアドレス)
AVファイル管理情報生成部112は、VOBUテーブルのVOBU再生時間を順次加算していき、加算値がほぼTMUの整数倍の時刻になる毎に、その時刻に存在するVOBUを求めていくことにより、各タイムマップのVOBUマップ番号を求め、(TMUの整数倍)−(加算値)を時間差TM_DIFFとして求める。また、VOBUアドレスは、AVデータ入力部111から得られる連続記録領域の先頭アドレスに各「VOBUマップ番号」までのVOBUサイズを順次加算することにより算出する。
【0086】
このようにしてVOB情報を生成した後、AVファイル管理情報生成部112は、AVデータ入力部111によって記録されたタイトルのPGC情報を生成する(ステップ253)。予約録画の場合には、AVデータ入力部111により1つのVOBが生成されるので、PGC情報は、先頭時刻と末尾の時刻をスタートタイム、エンドタイムとする1個のセルにより表される。
【0087】
また、マニュアル録画の場合も同様であるが、録画の最中にユーザが一時停止をした場合などには、AVデータ入力部111(MPEGエンコーダ2)が完全に動作を中断してしまうことと、また、ユーザにとって意味のある映像場面の切れ目であることから、異なるセルとすることが望ましい。この場合には、AVファイル管理情報生成部112は、AVデータ入力部111から一時停止した時刻を取得することにより、複数のセルを生成することになる。
【0088】
さらに、AVファイル管理情報生成部112は、生成されたPGC情報を指すタイトルサーチポインタを生成する(ステップ24)。
この後、AVファイル管理情報生成部112は、既にAVデータ管理ファイルが存在する場合には、それを読み出すためにファイルシステム部102にOPENコマンドと、READコマンドとを発行し、AVデータ管理ファイルを取得する(ステップ255)。ただし、制御データ管理部107にAVデータ管理ファイルが保持されている場合には、読み出さないようにしてもよい。
【0089】
AVファイル管理情報生成部112は、取得したAVデータ管理ファイルに、ステップ252〜254で生成したVOB情報、PGC情報、タイトルサーチポインタを追加することにより更新し(ステップ256)、更新したAVデータ管理ファイルを記録するために、ファイルシステム部102にWRITEコマンド、CLOSEコマンドを発行し(ステップ257)、AVファイル管理情報生成処理を終了する。このとき、AVデータ管理ファイルは非AVファイルなので、セクタ単位に領域が割り当てられ記録される。
【0090】
図25は、図23に示したGOP情報に基づいて生成されたタイムマップテーブル及びVOBUテーブルの一例を示す。同図では、便宜上TMUを5秒としている。また、VOBU再生時間はフィールド時間(1/60秒)数を示している。
(3−3)AVデータの再生
再生処理は、図21に示したガイダンス画像200においてユーザが「2」「選択」と押すと、ガイダンス画像201が表示され、さらに、ユーザが「1」「選択」と押すと、録画編集再生制御部105はAVデータ再生部130にタイトル名(又はタイトルサーチポインタ番号)を通知する。これによりタイトルAの再生が開始する。
【0091】
図26は、AVデータ再生部130における通常再生の処理内容を示すフローチャートである。
同図において、AVデータ再生部130は、制御データ管理部107に保持されたAVデータ管理ファイルを参照して、通知されたタイトル名(又はタイトルサーチポインタ番号)から、PGC情報、VOB情報を取得する(ステップ281)。さらに、AVデータ再生部130はVOB情報が示すAVファイルを指定するOPENコマンドをファイルシステム部102に発行する(ステップ282)。
【0092】
さらに、AVデータ再生部130は、PGC情報に設定されたセルの数だけステップ283から290のループ処理を繰り返すことより、タイトルAの再生を行なう。
すなわち、AVデータ再生部130は、セルのスタートタイム、エンドタイムそれぞれ、タイムマップ情報を参照して開始アドレス(セクタアドレス)、終了アドレスに変換し(ステップ284)、それらを指定してファイルシステム部102にREADコマンドを発行する。これにより、ディスク読み出し部101によりセルが示すVOBのデータ区間の読み出しが開始される。
【0093】
その後、AVデータ再生部130は、当該セルの読み出しが終了するまでの間、トラックバッファ3aに一定量のAVデータが蓄積される毎に、当該AVデータのデコードを行なう(ステップ286−288)。ディスク読み出し部101によるセルの読み出しが終了したとき、AVデータ再生部130は、トラックバッファ3aに蓄積されたデータをデコードし、当該セルの再生を終了する(ステップ289)。
【0094】
このようにして、PGC情報中の全てのセルに対してデコードが終了した後、AVデータ再生部130は、ファイルシステム部102にCLOSEコマンドを発行して、再生処理を終了する。
(3−4)指定時刻から指定時刻までの再生
指定時刻から指定時刻までの再生は、図21のガイダンス画像205において、ユーザがタイトルの再生時間の範囲内で開始時刻と終了時刻とを任意に指定した場合の再生をいう。
【0095】
図27は、タイトル中の開始時刻と終了時刻とがユーザ指定された場合の再生処理を示すフローチャートを示す。
同図において、AVデータ再生部130は、制御データ管理部107に保持されたAVデータ管理ファイルを参照して、通知されたタイトル名(又はタイトルサーチポインタ番号)から、PGC情報、VOB情報を取得する(ステップ295)。さらに、AVデータ再生部130は、ユーザ指定された開始時刻、終了時刻それぞれを、タイムマップ情報を参照して開始アドレス、終了アドレスに変換し(ステップ296)、
AVデータ再生部130はVOB情報が示すAVファイルを指定するOPENコマンドをファイルシステム部102に発行し(ステップ297)し、変換により得られた開始アドレス、終了アドレスを読み出すようREADコマンドをファイルシステム部102に発行する(ステップ298)。これにより、ディスク読み出し部101により指定されたVOBのデータ区間の読み出しが開始される。
【0096】
その後、AVデータ再生部130は、当該データ区間の読み出しが終了するまでの間、トラックバッファ3aに一定量のAVデータが蓄積される毎に、当該AVデータのデコードを行なう(ステップ299−301)。ディスク読み出し部101による読み出しが終了したとき、AVデータ再生部130は、トラックバッファ3aに蓄積されたデータをデコードし(ステップ302)、ファイルシステム部102にCLOSEコマンドを発行して(ステップ303)、再生処理を終了する。
(3−5)AVデータの特殊再生
特殊再生は、図26、28に示した再生に際して、リモコン6の「早送り」又は「巻き戻し」キーが押下された場合に開始され、その後「再生」キーが押下された場合に元の再生に戻る。
【0097】
図28は、AVデータ再生部130による特殊再生の処理を示すフローチャートである。
AVデータ再生部130は、再生中に、録画編集再生制御部105から「早送り」又は「巻き戻し」キーが押下されたことが通知されると、特殊再生のスキップ時間Δtを設定する(ステップ310)。例えば、「早送り」キーの場合には+1秒、「巻き戻し」キーの場合には−1秒などである。また、特殊再生中に「早送り」又は「巻き戻し」キーが押下されたことが通知された場合には、Δtをさらに+1秒又は−1秒というようにスキップ時間を長くしてもよい。
【0098】
さらに、AVデータ再生部130は、MPEGデコーダ4を停止してその時刻tsをMPEGデコーダ4から取得し、トラックバッファ3aをクリアする(ステップ311−313)。
つぎに、AVデータ再生部130は、特殊再生の終了指示(例えば「再生」キー押下)があるまで、時刻tsをスキップ時間Δtづつ更新する毎に、ステップ315から325までの処理を行なう。
【0099】
すなわち、AVデータ再生部130は、更新された時刻tsが再生途中のセルのエンドタイムを越えていない場合は、タイムマップ情報を参照して時刻tsに対応するVOBUマップを特定し(ステップ318)、タイムマップ及びVOBUマップからその先頭アドレスを算出し、特定したVOBUマップの参照画像サイズを読み出す(ステップ319)。もし、更新された時刻tsが再生途中のセルのエンドタイムを越えていて、かつ次のセルが存在する場合には、AVデータ再生部130は、スタートタイム以降になるようtsを更新してから(ステップ315−317)、先頭アドレスと参照画像サイズを求める。
【0100】
さらに、AVデータ再生部130は、求めた先頭アドレスから参照画像サイズ分のデータ区間の指定とともにSEARCH_DISCON_AV_BLKコマンドをファイルシステム部102に発行する(ステップ320)。これは、参照画像の記録領域が、ゾーン境界などの不連続境界を跨いでいないかどうか(連続領域か不連続領域か)をチェックするためである。もし、不連続な場合には(ステップ321)、AVデータ再生部130は特定したVOBUに隣接するVOBUマップを求めて(ステップ322)その先頭アドレスと参照画像サイズとを読み出す(ステップ323)。
【0101】
AVデータ再生部130は、得られた先頭アドレスと参照画像サイズの指定とともにREADコマンドをファイルシステム部102に発行する(ステップ324)。これにより当該参照画像データがトラックバッファ3aに格納される。トラックバッファ3aに格納された参照画像データは、MPEGデコーダ4により再生される。
【0102】
上記処理は、特殊再生の終了指示があるまで、時刻tsをスキップ時間Δtづつ更新ながら繰り返される。特殊再生の終了指示があった場合(ステップ325)、AVデータ再生部130は、時刻tsを開始時刻として、元の再生処理(図26のステップ283又は図27ステップ296)に戻る(ステップ326)。
以上のように特殊再生は、スキップ時間毎に存在する参照画像のアドレスをタイムマップ情報に従って順々に求めることができる。しかも、タイムマップ情報は、タイムマップテーブルとVOBUテーブルという階層的なタイムマップ情報により全VOBUの再生時刻と記録位置(セクタアドレス)を対応付けているが、全てのVOBUの再生時刻と記録位置(セクタアドレス)とを記録する必要がないので、データ量が非常に少なく、それゆえ録画時にリアルタイムに生成することが容易である。
【0103】
なお、上記実施形態においてDVDレコーダ10は、図14に示したように、従来の据え置き型家庭用VTRに代用することを前提とした構成を示した。この構成に限らず、DVD−RAMがコンピュータの記録媒体としても使用される場合には、次のような構成とすればよい。すなわち、ディスクアクセス部3は、DVD−RAMドライブ装置としてSCSIやIDEと呼ばれるIFを介してコンピュータバスに接続される。また、同図のディスクアクセス部3以外の構成要素はコンピュータのハードウェア上でOS及びアプリケーションプログラムが実行されることに実現される。その場合、ディスク記録部100、ディスク読み出し部101及びファイルシステム部102は主としてOSによる機能又はOSを機能拡張するアプリケーションとして実現され、これ以外の構成要素は主としてアプリケーションプログラムによる機能として実現される。またファイルシステム部102がサポートする各種コマンドはアプリケーションに提供されるシステムコール等のサービスコマンドに相当する。
【0104】
また、上記実施形態では、個々のAVファイルに1つのVOBを記録するとしたが、1つのAVファイルに複数のVOBデータを記録してもよい。この場合は、AVデータ管理ファイル(RTRW.IFO)の中で、例えば、各AVファイル中の個々のVOBのサイズ又はファイル先頭からのオフセットアドレスを記録し管理すればよい。
【0105】
【発明の効果】
本発明の記録媒体は、ビデオオブジェクトを記録するデータ領域とタイムマップ情報(特殊再生情報)を記録するタイムマップ領域とを有する記録媒体であって、前記ビデオオブジェクトは複数のビデオオブジェクトユニットから構成され、前記タイムマップ情報はビデオオブジェクトに対応する第1及び第2タイムテーブルを含み、
第1タイムテーブルは、ビデオオブジェクトに対応する再生時刻であってビデオオブジェクトユニットの再生時間よりも長い一定の時間間隔を順においた再生時刻毎に、その再生時刻に当たるビデオオブジェクトユニットのアドレス情報と、当該ビデオオブジェクトユニットを特定する特定情報とを有し、
第2タイムテーブルは、ビデオオブジェクトの先頭からの再生時間順に、各ビデオオブジェクトユニットの再生時間及びデータサイズを含むことを特徴とする。
【0106】
ここで、前記第1タイムテーブルは、前記一定の時間間隔を順においた各再生時刻に1対1で対応する複数の第1タイムマップを含み、
前記第2タイムテーブルは、ビデオオブジェクトユニットに1対1で対応する複数の第2タイムマップを含み、
各第1タイムマップは、対応する再生時刻に当たるビデオオブジェクトユニットに対応する第2タイムマップを示す前記特定情報と、当該ビデオオブジェクトユニットのアドレス情報と、対応する再生時刻と当該ビデオオブジェクトユニットの先頭時刻との差分時間を示す差分情報とを含み、
各第2タイムマップは、対応するビデオオブジェクトユニットの再生時間を示す時間情報と、対応するビデオオブジェクトユニットのデータサイズとを含むようにしてもよい。
【0107】
この構成によれば、第1タイムテーブルは、一定時間毎にビデオオブジェクトユニットのアドレス情報と特定情報とを記録するだけなので、テーブルサイズが小さい。第2タイムテーブルが、ビデオオブジェクトユニット毎に記録位置(セクタアドレス)を再生時刻に対応させて記録される必要がなく、ビデオオブジェクトユニット毎にその再生時間とそのデータサイズとを含むので、再生時間もデータサイズより短いデータ長でよく、テーブルサイズが小さい。さらに、第2タイムテーブルは、エンコードされる単位を基準としたビデオオブジェクトユニット毎に記録されるので、録画時にリアルタイムに生成することが極めて容易であるという効果がある。また、タイムマップ情報は、第1タイムテーブルと第2タイムテーブルと階層的に検索することにより、ビデオオブジェクトの再生時刻をアドレスに対応付けているので、再生装置では、タイムマップ情報を保持するメモリ量が少なくてもよいという効果がある。
【0108】
さらに、前記タイムマップ情報は、さらにビデオオブジェクト毎のタイムオフセットを含み、タイムオフセットは、ビデオオブジェクトの先頭の再生時刻と、前記一定の時間間隔の先頭の再生時刻との差分時間を示すようにしてもよい。
この構成によれば、ビデオオブジェクトの先頭部分が編集により削除されたとしても、タイムオフセットの値を変更することにより、タイムマップ情報を容易に修正することができる。
【0109】
また、本発明の録画装置は、時系列的なビデオデータを入力する入力手段と、入力されたビデオデータを圧縮することにより連続するビデオオブジェクトユニットから構成されるビデオオブジェクトを生成する圧縮手段と、記録媒体にデータを書き込む書込み手段と、書込み手段を制御する制御手段とを備え、前記制御手段は、生成されたビデオアブジェクトを記録媒体に書き込むよう書込み手段を制御し、生成されたビデオオブジェクトに対する再生時刻であって、ビデオオブジェクトユニットの再生時間よりも長い一定の時間間隔を順においた再生時刻毎に、その再生時刻に当たるビデオオブジェクトユニットの記録位置を指し示す第1タイムテーブルと、各ビデオオブジェクトユニットの再生時間及びデータサイズを含む第2タイムテーブルとを生成し、さらに第1テーブル、第2テーブルを記録媒体に書き込むよう書込み手段を制御するように構成されている。
【0110】
この構成によれば、第1タイムテーブルは、一定時間毎にビデオオブジェクトユニットのアドレス情報と特定情報とを記録するだけなので、テーブルサイズが小さい。第2タイムテーブルが、ビデオオブジェクトユニット毎に記録位置(セクタアドレス)を再生時刻に対応させて記録される必要がなく、ビデオオブジェクトユニット毎にその再生時間とそのデータサイズとを含むので、再生時間もデータサイズより短いデータ長でよく、テーブルサイズが小さい。さらに、第2タイムテーブルは、エンコードされる単位を基準としたビデオオブジェクトユニット毎に記録されるので、録画時にリアルタイムに生成することが極めて容易であるという効果がある。また、タイムマップ情報は、第1タイムテーブルと第2タイムテーブルと階層的に検索することにより、ビデオオブジェクトの再生時刻をアドレスに対応付けているので、再生装置では、タイムマップ情報を保持するメモリ量が少なくてもよいという効果がある。
【0111】
ここで、前記制御手段は、第1タイムテーブルとして、前記第1生成手段は、前記一定の時間間隔を順においた各再生時刻に1対1で対応する第1タイムマップを生成し、第2タイムテーブルとして、ビデオオブジェクトユニットに1対1で対応する複数の第2タイムマップを生成し、各第1タイムマップは、対応する再生時刻に当たるビデオオブジェクトユニットの先頭アドレスと、対応する再生時刻と当該ビデオオブジェクトユニットの先頭時刻との差分時間を示す差分情報とを含み、各第2タイムマップは、対応するビデオオブジェクトユニットの再生時間を示す時間情報と、対応するビデオオブジェクトユニットのデータサイズとを含むように構成してもよい。
【0112】
また、前記制御手段は、さらに、ビデオオブジェクトの先頭の再生時刻と、前記一定の時間間隔の先頭の再生時刻との差分時間を示すタイムオフセットを生成し、前記第1タイムテーブルは、タイムオフセットを含むようにしてもよい。
この構成によれば、ビデオオブジェクトの先頭部分が編集により削除されたとしても、タイムオフセットの値を変更することにより、タイムマップ情報を容易に修正することができる。
【0113】
また、本発明のプログラム記憶媒体は、時系列的なビデオデータを入力し、入力されたビデオデータを圧縮することにより連続するビデオオブジェクトユニットから構成されるビデオオブジェクトを生成し、記録媒体にビデオオブジェクトを書き込むコンピュータに読み取り可能な記憶媒体であって、前記ビデオデータから生成されたビデオオブジェクトに対する再生時刻であって、ビデオオブジェクトユニットの再生時間よりも長い一定の時間間隔を順においた再生時刻毎に、その再生時刻に当たるビデオオブジェクトユニットの記録位置を指し示す第1タイムテーブルと、各ビデオオブジェクトユニットの再生時間及びデータサイズを含む第2タイムテーブルとを生成し、さらに第1テーブル、第2テーブルを記録媒体に書き込むことを記述したプログラムを記録するコンピュータ読み取り可能な記憶媒体である。
【0114】
この構成によれば、第1タイムテーブルは、一定時間毎にビデオオブジェクトユニットのアドレス情報と特定情報とを記録するだけなので、テーブルサイズが小さい。第2タイムテーブルが、ビデオオブジェクトユニット毎に記録位置(セクタアドレス)を再生時刻に対応させて記録される必要がなく、ビデオオブジェクトユニット毎にその再生時間とそのデータサイズとを含むので、再生時間もデータサイズより短いデータ長でよく、テーブルサイズが小さい。さらに、第2タイムテーブルは、エンコードされる単位を基準としたビデオオブジェクトユニット毎に記録されるので、録画時にリアルタイムに生成することが極めて容易であるという効果がある。また、タイムマップ情報は、第1タイムテーブルと第2タイムテーブルと階層的に検索することにより、ビデオオブジェクトの再生時刻をアドレスに対応付けているので、再生装置では、タイムマップ情報を保持するメモリ量が少なくてもよいという効果がある。
【図面の簡単な説明】
【図1】本発明の実施形態における記録可能な光ディスクであるDVD−RAMディスクの外観及び記録領域を表した図である。
【図2】セクタレベルに拡大して切り出したDVD−RAMの断面及び表面を示す図である。
【図3】(a)DVD−RAMにおけるゾーン領域0〜23その他を示す図である。
(b)ゾーン領域0〜23その他を横方向に配置した説明図である。
(c)ボリューム空間における論理セクタ番号(LSN)を示す図である。
(d)ボリューム空間における論理ブロック番号(LBN)を示す図である。
【図4】ゾーン領域内におけるセクタとのECCブロックとの関係を階層的に示す図である。
【図5】ボリューム空間に記録されるスペースビットマップと連続記録領域管理ファイルとを示す図である。
【図6】AVファイル、非AVファイルの階層的なディレクトリ構造を示す図である。
【図7】AVファイルMovie1.VOB、Movie2.VOBとして記録されたVOBを示す図である。
【図8】AVデータ管理ファイル(RTRW.IFO)の記録内容を階層的に示した説明図である。
【図9】タイトルサーチポインタテーブル、AVファイル管理テーブル、PGC情報テーブルとVOBとの論理的な結合関係を示す図である。
【図10】AVファイルつまりVOBのデータ構造を示す図である。
【図11】1つのVOBに対応するタイムマップ情報のより詳細なデータ構成を示す図である。
【図12】タイムマップテーブルと、VOBUテーブルとの論理的な連結関係を示す図である。
【図13】VOBの先頭時刻と先頭のタイムマップの時刻との時間差であって"0"以外の値をとるタイムオフセットを示す図である。
【図14】本実施形態における光ディスク記録再生装置を用いたシステムの構成例を示す図である。
【図15】DVDレコーダ10のハードウェア構成を示すブロック図である。
【図16】リモコン例を示す図である。
【図17】MPEGエンコーダ2の構成を示すブロック図である。
【図18】MPEGデコーダ4の構成を示すブロック図である。
【図19】DVDレコーダ10の構成を機能別に示した機能ブロック図である。
【図20】共通ファイルシステム部104、AVファイルシステム部103によりサポートされるファイル管理に関するコマンドを示す図である。
【図21】ガイダンス画像を示す図である。
【図22】AVデータ録画部110における録画処理を示すフローチャートである。
【図23】GOP情報の一例を示す図である。
【図24】AVファイル管理情報生成部112によるAVファイル管理情報の生成・及び記録処理を示すフローチャートである。
【図25】GOP情報に基づいて生成されたタイムマップテーブル及びVOBUテーブルの一例を示す図である。
【図26】AVデータ再生部130における通常再生の処理内容を示すフローチャートである。
【図27】タイトル中の開始時刻と終了時刻とがユーザ指定された場合の再生処理を示すフローチャートを示す。
【図28】AVデータ再生部130による特殊再生の処理を示すフローチャートである。
【符号の説明】
1 制御部
1a CPU
1b プロセッサバス
1c バスインタフェース
1d 主記憶
2 MPEGエンコーダ
2a ビデオエンコーダ
2b ビデオバッファ
2c オーディオエンコーダ
2d オーディオバッファ
2e システムエンコーダ
2f STC部
2g エンコーダ制御部
3 ディスクアクセス部
3a トラックバッファ
4 MPEGデコーダ
4a デマルチプレクサ
4b ビデオバッファ
4c ビデオデコーダ
4d オーディオバッファ
4e オーディオデコーダ
4f STC部
4g 加算器
4h〜4j セレクタ
5 ビデオ信号処理部
6 リモコン
7 バス
8 リモコン信号受信部
9 レシーバ
10 DVDレコーダ
11 アンテナ
12 ディスプレイ
100 ディスク記録部
101 ディスク読み出し部
102 ファイルシステム部
103 AVファイルシステム部
104 共通ファイルシステム部
105 録画編集再生制御部
106 ユーザIF部
107 制御データ管理部
110 AVデータ録画部
111 AVデータ入力部
112 AVファイル管理情報生成部
120 AVデータ編集部
130 AVデータ再生部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording medium used for recording video data, a recording apparatus, and a computer-readable storage medium recording a file management program.
[0002]
[Prior art]
In recent years, recording media represented by optical disks such as CD-ROM and DVD (Digital Versatile Disc) -ROM, in addition to use as secondary storage of computers, video data such as movies (hereinafter referred to as AV data). It is used for recording. Furthermore, the practical application of a DVD-RAM disk (hereinafter abbreviated as DVD-RAM) is desired as a next-generation recordable recording medium.
[0003]
Hereinafter, special reproduction such as n-times fast forward or rewind reproduction of AV data in a conventional DVD-ROM will be described.
AV data recorded on a DVD-ROM uses a variable bit rate compression encoding method to increase the compression rate. The variable bit rate means that the compression code amount per frame image is variable. Therefore, since the compression code amount is not proportional to the reproduction time, even if AV data is read at regular intervals for every constant code size, images at regular time intervals cannot be obtained.
[0004]
For this reason, the DVD-ROM employs a technique of recording information for special reproduction everywhere in the AV data.
Specifically, AV data is compressed and encoded in conformity with MPEG2, and is a section (referred to as GOP) of 0.4 seconds or more and 1.0 seconds (exceptionally 1.2 seconds at the end of VOB) or less. Each time, information specific to a DVD called an NV pack is added to the head of the GOP. The data from the NV pack to the next NV pack is called VOBU (abbreviation of Video OBject Unit).
[0005]
The NV pack has a size of 2 Kbytes, and information for referring to neighboring NV packs and the data size of the first reference picture in the GOP are recorded. Here, the information for the reference of the neighboring NV pack is based on the time code at the head of the VOBU, and the address of the NV pack of the forward and backward VOBUs that are separated by a certain time interval, It is indicated by a relative value from the address of its own NV pack. This time interval is from 1 second to 15 seconds every second, 20 seconds, 60 seconds, 120 seconds, and 240 seconds.
[0006]
Next, an example of special playback operations such as fast forward playback and rewind playback will be described. By reproducing only the VOBU reference pictures at a certain time interval according to the reproduction speed, it is possible to realize special reproduction at a substantially uniform speed. In order to successively read VOBUs at regular time intervals, information indicating the addresses of neighboring NV packs with NV packs is used.
[0007]
In addition, time search map information indicating the address of AV data in the VOBU corresponding to the time code is recorded for each time code at a certain time interval from the beginning of the AV data. By referring to the time map information, it is possible to start playback of AV data from a designated time code.
[0008]
[Problems to be solved by the invention]
However, there is a problem that the technique of recording special reproduction information as an NV pack everywhere in AV data cannot be used for real-time recording on a recordable recording medium such as a DVD-RAM. It was.
This is because even if the above-mentioned NV pack is recorded while recording AV data in real time, information on the AV data portion to be recorded, such as the address of the NV pack of the backward VOBU, cannot be obtained.
[0009]
In addition, it is possible to generate special reproduction information to be recorded in all NV packs after the end of recording of AV data, but in order to record the generated information as an NV pack in the AV data area, the number of VOBUs Cannot be realized in real time, which requires almost the same number of disk accesses.
Although it is conceivable that AV data and special reproduction information are not stored in the same AV data area, special reproduction information must be stored in the main memory in order to perform special reproduction at high speed. There was a problem that a large main memory capacity was required.
[0010]
An object of the present invention is to provide a recording apparatus, a program storage medium, and a recording medium that reduce the amount of special reproduction information and generate special reproduction information simultaneously with real-time recording of AV data.
[0011]
[Means for Solving the Problems]
In order to solve the above problems, a recording medium of the present invention is a recording medium having a data area for recording a video object and a time map area for recording time map information, and the video object includes a plurality of video object units. And the time map information includes first and second time tables corresponding to the video object,
The first time table is a reproduction time corresponding to a video object, and for each reproduction time in which a certain time interval longer than the reproduction time of the video object unit is sequentially provided, address information of the video object unit corresponding to the reproduction time, Specific information for identifying the video object unit,
The second time table includes a playback time and a data size of each video object unit in order of the playback time from the beginning of the video object.
[0012]
The recording apparatus of the present invention includes an input unit that inputs time-series video data, a compression unit that generates a video object composed of continuous video object units by compressing the input video data, Write means for writing data to the recording medium, and control means for controlling the writing means, the control means controlling the writing means to write the generated video object to the recording medium, and for the generated video object A first time table indicating a recording position of the video object unit corresponding to the reproduction time for each reproduction time, which is a reproduction time and in order at a certain time interval longer than the reproduction time of the video object unit, and each video object unit 2nd time including the playback time and data size Generating a table, it is configured to further control the writing means to write on the recording medium first table, the second table.
[0013]
Here, the control means generates a first time map as a first time table, and the first generation means generates a first time map corresponding to each reproduction time in a one-to-one correspondence with the fixed time intervals in order. A plurality of second time maps corresponding to video object units on a one-to-one basis is generated as a time table, and each first time map includes a start address of a video object unit corresponding to a corresponding reproduction time, a corresponding reproduction time, Each second time map includes time information indicating a reproduction time of the corresponding video object unit and a data size of the corresponding video object unit. You may comprise as follows.
[0014]
Further, the control means further generates a time offset indicating a difference time between the start playback time of the video object and the start playback time of the fixed time interval, and the first time table includes the time offset. It may be included.
Further, the program storage medium of the present invention inputs time-series video data, compresses the input video data to generate a video object composed of continuous video object units, and the video object is recorded on the recording medium. A computer-readable storage medium for writing video data, which is a playback time for a video object generated from the video data, and in each playback time in order of a certain time interval longer than the playback time of the video object unit The first time table indicating the recording position of the video object unit corresponding to the reproduction time and the second time table including the reproduction time and the data size of each video object unit are generated, and the first table and the second table are further recorded. Write to the medium A computer-readable storage medium which records a program predicate.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
(1) Optical disc
(1-1) Physical structure of recordable optical disc
FIG. 1 is a diagram showing an appearance and a recording area of a DVD-RAM disc that is a recordable optical disc according to an embodiment of the present invention. As shown in the figure, the DVD-RAM disc has a lead-in area on the innermost periphery, a lead-out area on the outermost periphery, and a data area therebetween. In the lead-in area, a reference signal necessary for stabilizing the servo in the recording / reproducing apparatus, an identification signal for other media, and the like are recorded. In the lead-out area, the same reference signal as the lead-in area is recorded.
[0016]
The data area is divided into sectors (2 kbytes) which are the minimum access unit. In the data area, file system management information, AV data, AV data management files, non-AV data, and the like are recorded.
The management information for the file system is information including the directory structure of the DVD-RAM, the recording position of the file, the free state of the data area, and the like, and is used when creating, writing, reading, and deleting a file.
[0017]
AV data is recorded as a file in units called video objects (hereinafter abbreviated as VOB). A VOB is a file generated by a single continuous recording by an optical disk recording device, and corresponds to, for example, all or part of a movie or all or part of a television program. A VOB is composed of a plurality of video object units (hereinafter abbreviated as VOBU).
[0018]
One VOBU is an AV data portion corresponding to about 0.4 to 1.2 seconds of video data playback time, and includes a video data section called GOP (Group of Picture) in the MPEG2 standard. This GOP includes an I (Intra) picture (intra-frame encoded picture), a P (Predictive) picture (inter-frame forward predictive encoded picture), and a B (Bidirectionally Predictive) picture (inter-frame bi-directional predictive code) in the MPEG2 standard. At least one I picture. This makes it possible to independently reproduce the GOP. In particular, in the case of special playback such as fast-forward playback, fast-rewind playback, or playback at a specified time, the I picture in the GOP is extracted as a playback target image, or is extracted as a reference image and P or B to be played back. The picture will be played back.
[0019]
The AV data management file is a file for managing all AV data in the DVD-RAM, and records time map information corresponding to the VOB on a one-to-one basis. The time map information is information in which the VOB playback time is associated with the recording position, and has a hierarchical data structure. That is, the time map information has hierarchical first and second time tables.
[0020]
The first time table (hereinafter also referred to as a time map table or a TMAP table) is a playback time corresponding to the VOB, and corresponds to the playback time for each playback time in order of a certain time interval (for example, 60 seconds). It is a table which shows the recording position (sector address: LSN) of VOBU.
The second time table (also referred to as a VOBU table) is a table including the playback time and data size of each VOBU in the order of playback time from the beginning of the VOB.
[0021]
FIG. 2 is a diagram showing a cross section and a surface of a DVD-RAM cut out in an enlarged manner at the sector level. As shown in the figure, one sector is composed of a pit row portion formed on the surface of a reflective film such as a metal thin film and a concavo-convex shape portion.
The pit row portion is composed of pits of 0.4 μm to 1.87 μm that are stamped to represent sector addresses.
[0022]
The concavo-convex shape portion includes a concave portion (referred to as a groove) and a convex portion (referred to as a land). Lands and grooves have recording marks, which are alloy thin films capable of phase change, attached to their surfaces. A phase change means that the state of the attached alloy thin film changes into a crystalline state and an amorphous state by irradiation with a light beam. Data can be written in the concavo-convex shape portion by utilizing the phase change. In the MO disk, only the land portion is used for recording, whereas in the DVD-RAM, data can be recorded also in the land portion and the groove portion. Realization of data recording in the groove portion increases the recording density as compared with the MO. The error correction processing for the sector is performed every 16 sectors. In this embodiment, a sector group (16 sectors) to which ECC (Error Correcting Code) is assigned is called an ECC block.
[0023]
In the DVD-RAM, the data area is divided into a plurality of zone areas in order to realize rotation control called Z-CLV (Zone-Constant Linear Velocity) in the recording / reproducing apparatus.
FIG. 3A is a diagram showing a plurality of zone regions provided concentrically on the DVD-RAM. As shown in the figure, the DVD-RAM is divided into 24 zone areas,
[0024]
FIG. 3B is an explanatory diagram in which the lead-in area, the
The lead-in area and the lead-out area have a defect management area (DMA) within them. The defect management area refers to an area in which position information indicating the position of a sector in which a defect has occurred and replacement position information indicating in which of the replacement areas a sector that replaces the defective sector exists. .
[0025]
Each zone area has a user area therein, and an alternative area and an unused area at the boundary. The user area is an area that can be used as a recording area by the file system. The replacement area is an area that is used instead when a defective sector exists. The unused area is an area that is not used for data recording. Unused areas are provided for about two tracks. The unused area is provided because the sector address is recorded at the same position in the adjacent track in the zone, but in Z-CLV, the recording position of the sector address is different in the track adjacent to the zone boundary. This is to prevent erroneous sector address discrimination.
[0026]
Thus, there are sectors that are not used for data recording at the zone boundaries. Therefore, the DVD-RAM is assigned logical sector numbers (LSN: Logical Sector Number) to physical sectors in the user area in order from the inner periphery so that only the sectors used for data recording are shown continuously. As shown in FIG. 3C, an area for recording user data, which is composed of sectors to which LSNs are assigned, is called a volume space.
[0027]
Further, as shown in FIG. 3D, volume structure information for handling the disk as a logical volume is recorded in the inner periphery and the outer periphery of the volume space. The portion excluding the inner and outer volume structure information areas in the volume space is an area where user files are recorded, and is called a partition space. In the partition space, a logical block number (LBN) is assigned to each sector from the head sector.
[0028]
FIG. 4 is a diagram hierarchically showing the relationship between the sector and the ECC block in the zone area. As shown in the figure, each zone area includes a plurality of ECC blocks. It should be noted here that in the recording apparatus, areas are allocated in units of sectors for non-AV data, whereas AV data is allocated in units of continuous recording areas that can guarantee continuous reproduction. The continuous recording area here is an area that is an integral multiple of the ECC block that does not cross the zone boundary, and is a continuous sector of a certain size (about 7 Mbytes) or more. However, when the AV data is composed of a plurality of extents, the last extent may be smaller than the certain size. The reason why the continuous recording area does not cross the zone boundary is that if the zone is crossed, the rotational angular velocity of the optical disk is changed, so that continuous reading cannot be performed. The reason why the integer multiple of the ECC block is used is that it is the minimum unit of ECC processing.
[0029]
FIG. 5 shows a sector management table included in the file system management information recorded in the volume space, and a continuous recording area management file for managing the continuous recording area. In the figure, the recording contents of the volume space, sector, and sector are shown hierarchically.
The first hierarchy shows the volume space shown in FIG.
[0030]
The second hierarchy shows a sector area in which the sector management table is recorded in the partition space. A sector management table (also referred to as a space bit map) indicating the data allocation status for each sector is recorded in the sector areas of
[0031]
As shown in the third hierarchy, the continuous recording area management file indicates an area already allocated as a continuous recording area in the partition space. In the figure, the continuous recording area management file is represented as a table having a list structure including entries e1 to e4. The relative address (number of bytes) from the top of the table is appended outside the left frame of the table.
[0032]
Each entry consists of a start sector number (LSN), an end sector number, and a pointer from the left in FIG. The area of the optical disk from the start sector number to the end sector number in each entry represents a part of continuous recording or a sector area to which one continuous recording is assigned. The pointer points to an entry indicating the subsequent continuous recording area and is represented by a relative address from the head of the table. However, the pointer of the last entry e5 takes a value (−1) indicating the end.
[0033]
In the example shown in the figure, entry e1 represents a continuous area from
[0034]
The allocation of the continuous recording area and the space bitmap need to be managed in conjunction as follows. For example, in an optical disk recording apparatus, an area allocated as a continuous recording area is changed to allocated in the space bitmap. FIG. 6 shows an example of AV data, non-AV data, and a directory recorded on the DVD-RAM.
[0035]
In the figure, an oval figure represents a directory, and a rectangle represents a file. The root directory has a directory called RTRW and two non-AV data files called File1.DAT and File2.DAT. The RTRW directory has a plurality of AV files named Movie1.VOB, Movie2.VOB,... And an AV data management file named RTRW.IFO. As shown in FIG. 7, AV files Movie1.VOB, Movie2.VOB,... Are recorded in the data area as one VOB. (1.2) AV data management file
FIG. 8 is an explanatory diagram showing hierarchically the recording contents of the AV data management file (RTRW.IFO) shown in FIG. As shown in the figure, the AV data management file has a title search pointer table 810, an AV file management table 820, and a PGC information table 830. The logical connection relationship between these tables and VOB is shown in FIG.
[0036]
The title search pointer table 810 is a table showing a list of titles recorded on the DVD-RAM. Here, the title includes a program recorded by the user in the recording device, a title created by editing by the user, and the like. 8 and 9, only the title search pointers 811, 812,... Included in the title search pointer table are shown.
[0037]
The title search pointers 811, 812,... Are pointers indicating the numbers of PGCs (or PGC information) corresponding to the titles. For example, the title search pointer 811 in FIG. 9 indicates
[0038]
The AV file management table 820 is information indicating the correspondence between the playback time and recording position of the AV file, that is, the VOB, and is a table for recording the same number of
The
[0039]
The VOB
The
As shown in FIG. 9, the first time table (time map table) is obtained at each playback time in order of a certain time (for example, 60 seconds) on the time axis starting from the beginning of the VOB. This is a table in which time maps # 1, # 2,... Indicating VOBU recording positions (sector addresses) corresponding to playback times are arranged.
[0040]
As shown in FIG. 9, the second time table (VOBU table) is a table in which a VOBU map including the playback time of the VOBU and the data size of the VOBU is arranged in the order of the playback time from the beginning of the VOB.
The PGC information table 830 is a table composed of a plurality of
[0041]
The
[0042]
In the example shown in FIG. 9, a series of AV data corresponding to one title is specified in the order of title search pointer 811 →
[0043]
FIG. 10 shows the data structure of an AV file, that is, a VOB. As shown in the figure, the VOB is composed of a plurality of VOBUs. The VOBU is an AV data section including compressed video data of about 0.5 seconds including at least one I (Intra) picture and other audio data, and includes a video pack (V_PCK) and an audio pack (A_PCK). Consists of a pack sequence interleaved. One pack is a packed packet in MPEG2, includes a pack header, a packet header, and video data / audio data, and has a size of 2 kbytes which is the same as the sector size.
[0044]
FIG. 11 is a diagram showing a more detailed data structure of time map information corresponding to one VOB. In the figure,
[0045]
The time map
The time map table 8220 is provided for every fixed time indicated by the TMU in the time map
[0046]
However, TM_OFS is normally “0”. In this case, the
FIG. 13 shows a logical connection relationship between the time map table and the VOBU table when the VOB head portion is deleted. TM_OFS means a time difference between the start time of the VOB and the time of the start time map as shown in FIG. When the VOB head portion is deleted, a value corresponding to the deleted VOB playback time may be set as TM_OFS, so the amount of calculation for generating the time map table can be reduced.
[0047]
The reproduction time for time map #i (hereinafter referred to as time map time) is expressed by the following equation.
Time map time = (TMU * (i-1) + TM_OFS)
Each of the time maps 8211, 8212,... Includes a VOBU map number, a time difference (abbreviated as TM_DIFF), and a VOBU address (abbreviated as VOBU_ADR).
[0048]
The
TM_DIFF8212b represents the time difference between the start time of the VOBU and the time map time. Therefore, the start time of VOBU # j is expressed by the following equation.
VOBU start time = (TMU * (j-1) + TM_OFS-TM_DIFF)
VOBU_ADR8212c is the head address (4-byte sector address) of the VOBU.
[0049]
The VOBU table 8230 is a table in which VOBU maps 8231, 8232,... Corresponding to the VOBU included in the VOB on a one-to-one basis are arranged.
The VOBU maps 8231, 8232,... Each have a reference image size, a VOBU playback time, and a VOBU size.
The
[0050]
The
[0051]
The
(2) Recording / reproducing device
Next, an optical disk recording / reproducing apparatus according to the present invention will be described with reference to the drawings.
(2-1) Overall system
FIG. 14 shows a configuration example of a system using the optical disc recording / reproducing apparatus in the present embodiment.
[0052]
This system includes an optical disk recording / reproducing apparatus 10 (hereinafter referred to as a DVD recorder 10), a
The
(2-2) Hardware configuration of
FIG. 15 is a block diagram showing a hardware configuration of the
[0053]
The
The
[0054]
The
[0055]
The
The video
[0056]
The remote control
[0057]
FIG. 17 is a block diagram showing the configuration of the
[0058]
The
[0059]
FIG. 18 is a block diagram showing the configuration of the
(2-3) Functional block diagram
FIG. 19 is a functional block diagram showing the configuration of the
[0060]
19, the
When a logical sector number and one or more logical data in units of sectors (2048 bytes) are input from the
[0061]
When the logical sector number and the number of sectors are input from the
[0062]
The
[0063]
The recording editing /
[0064]
The user IF
The control
The AV
[0065]
The AV data input unit 111 converts the video signal and the audio signal into MPEG data, that is, performs encoding in real time, and outputs the encoded MPEG data to the AV
[0066]
When the AV data input unit 111 finishes recording the AV file, the AV file management
[0067]
The AV
The AV
(2-4) Command executed by the
Next, various commands supported by the
[0068]
The
FIG. 20 is a list showing commands related to file management supported by the common
[0069]
“CREATE” creates a new file on disk and returns a file identifier descriptor.
“DELETE” deletes a file that exists on the disk.
“OPEN” obtains a file identification descriptor for the file to access the file recorded on the disk.
[0070]
“CLOSE” closes an open file.
“WRITE” records the file on the disk.
“READ” reads a file recorded on the disc.
“SEEK” moves in the data stream recorded on the disc.
“RENAME” changes the file name.
[0071]
“MKDIR” creates a new directory on the disk.
“RMDIR” deletes a directory existing on the disk.
“STATFS” queries the current status of the file system.
“SET_ATTR” changes the attributes of the currently open file.
“SEARCH_DISCON” checks whether there is a discontinuous boundary (zone boundary) in the specified section, and returns TRUE if there is, and FALSE if there is none.
[0072]
“MERGE” merges two AV files on the disk and the data in memory.
“SPLIT” divides the AV file on the disc into two AV files.
“SHORTEN” deletes the end of the AV file on the disc and deletes the unnecessary part of the AV file.
[0073]
“REPLACE” replaces a part of the AV file with the data in the memory.
By combining these commands, the AV
(3) Recording / playback
Next, in the
(3-1) AV file recording process
Recording processing includes manual recording and scheduled recording. Manual recording refers to a recording process that starts immediately after setting a few items when the user presses the “record” key on the remote controller without setting a reservation time. Scheduled recording refers to recording processing when a start time and an end time are preset.
[0074]
For example, when the user presses the recording button on the
[0075]
The recording condition “recording time” is set by the user moving the focus to “unlimited” or “specified time” with the cursor button of the
[0076]
The recording condition “recording quality” has three types of high quality, standard, and time priority regarding the bit rate and resolution of MPEG data. Each (bit rate, resolution) is (6 Mbps, 720 * 480 pixels) for high image quality, (3 Mbps, 360 * 480 pixels) for standard, and (1.5 Mbps, 360 * 240 pixels) for time priority.
Now, as a recording case, it is assumed that “unlimited” and “time priority” are selected in the
[0077]
FIG. 22 is a flowchart showing recording processing in the AV
In the case of manual recording, a notification of pressing the “record” button is sent to the recording editing /
Upon receiving this notification, the recording / editing /
[0078]
Further, the recording / editing /
[0079]
Next, the recording / editing /
[0080]
At the same time, the AV data input unit 111 issues an “OPEN” command to the AV file system unit 103 (step 223), whereby the file identification descriptor given from the recording / editing /
[0081]
Until the AV data input unit 111 receives a stop command from the recording / editing / playback control unit 105 (step 224), the number of packs constituting the VOBU and the first reference image of the VOBU (when the VOBU is encoded) The number of packs of (I picture) is stored in the
[0082]
Further, the AV data input unit 111 issues a “WRITE” command to the AV
[0083]
When receiving the stop command, the AV data input unit 111 issues a “WRITE” command (steps 224 and 230), further issues a “CLOSE” command (step 231), and sends the AV file management
[0084]
23 describes the case of manual recording, but in the case of reserved recording, notification of pressing of the “record” button is notified to the recording editing /
(3-2) Generation / recording of AV file management information
FIG. 24 is a flowchart showing AV file management information generation and recording processing by the AV file management
[0085]
As shown in the figure, when the AV file management
(A) VOB general information (VOB identifier, VOB playback time)
If an existing AV file management table is held in the control
(B) Time map general information (time map count, VOBU map count, TMU, TM_OFS)
The AV file management
(C) VOBU table (reference image size, VOBU playback time, VOBU size)
Since the GOP information shown in FIG. 23 represents the reference image size of the VOBU table and the value of the VOBU size itself, the AV file management
(D) Time map table (VOBU map number, time difference TM_DIFF, VOBU address)
The AV file management
[0086]
After generating the VOB information in this way, the AV file management
[0087]
The same applies to manual recording, but when the user pauses during recording, the AV data input unit 111 (MPEG encoder 2) completely ceases operation, Moreover, since it is a break of a video scene which is meaningful for a user, it is desirable to set it as a different cell. In this case, the AV file management
[0088]
Further, the AV file management
Thereafter, if an AV data management file already exists, the AV file management
[0089]
The AV file management
[0090]
FIG. 25 shows an example of a time map table and a VOBU table generated based on the GOP information shown in FIG. In the figure, TMU is 5 seconds for convenience. The VOBU playback time indicates the number of field times (1/60 seconds).
(3-3) AV data playback
When the user presses “2” “select” on the
[0091]
FIG. 26 is a flowchart showing the processing content of normal playback in the AV
In the figure, the AV
[0092]
Further, the AV
That is, the AV
[0093]
Thereafter, the AV
[0094]
In this way, after decoding has been completed for all the cells in the PGC information, the AV
(3-4) Playback from the specified time to the specified time
The reproduction from the designated time to the designated time refers to reproduction when the user arbitrarily designates the start time and the end time within the range of the title reproduction time in the
[0095]
FIG. 27 is a flowchart showing the reproduction process when the start time and end time in the title are designated by the user.
In the figure, the AV
The AV
[0096]
Thereafter, the AV
(3-5) Special playback of AV data
The special playback is started when the “fast forward” or “rewind” key of the
[0097]
FIG. 28 is a flowchart showing special playback processing by the AV
When the AV
[0098]
Further, the AV
Next, the AV
[0099]
That is, if the updated time ts does not exceed the end time of the cell being reproduced, the AV
[0100]
Further, the AV
[0101]
The AV
[0102]
The above process is repeated while updating time ts by skip time Δt until an instruction to end special playback is given. When there is an instruction to end the special playback (step 325), the AV
As described above, the special reproduction can sequentially obtain the address of the reference image that exists for each skip time according to the time map information. Moreover, the time map information associates the playback times and recording positions (sector addresses) of all VOBUs with hierarchical time map information called a time map table and a VOBU table, but the playback times and recording positions of all VOBUs ( The data amount is very small, and therefore it is easy to generate in real time during recording.
[0103]
In the above embodiment, as shown in FIG. 14, the
[0104]
In the above embodiment, one VOB is recorded in each AV file. However, a plurality of VOB data may be recorded in one AV file. In this case, in the AV data management file (RTRW.IFO), for example, the size of each VOB in each AV file or the offset address from the beginning of the file may be recorded and managed.
[0105]
【The invention's effect】
The recording medium of the present invention is a recording medium having a data area for recording a video object and a time map area for recording time map information (special playback information), and the video object is composed of a plurality of video object units. The time map information includes first and second time tables corresponding to the video object;
The first time table is a reproduction time corresponding to a video object, and for each reproduction time in which a certain time interval longer than the reproduction time of the video object unit is sequentially provided, address information of the video object unit corresponding to the reproduction time, Specific information for identifying the video object unit,
The second time table includes a playback time and a data size of each video object unit in order of the playback time from the beginning of the video object.
[0106]
Here, the first time table includes a plurality of first time maps corresponding one-to-one to each reproduction time in which the fixed time intervals are sequentially arranged,
The second time table includes a plurality of second time maps corresponding to video object units on a one-to-one basis,
Each first time map includes the specific information indicating the second time map corresponding to the video object unit corresponding to the corresponding playback time, the address information of the video object unit, the corresponding playback time, and the start time of the video object unit. Difference information indicating the difference time between and
Each second time map may include time information indicating the playback time of the corresponding video object unit and the data size of the corresponding video object unit.
[0107]
According to this configuration, since the first time table only records the address information and the specific information of the video object unit at regular intervals, the table size is small. Since the second time table does not need to be recorded with the recording position (sector address) corresponding to the reproduction time for each video object unit, the reproduction time and the data size are included for each video object unit. The data length may be shorter than the data size, and the table size is small. Furthermore, since the second time table is recorded for each video object unit based on the unit to be encoded, there is an effect that it is extremely easy to generate in real time during recording. In addition, since the time map information associates the playback time of the video object with the address by hierarchically searching the first time table and the second time table, the playback device has a memory for holding the time map information. There is an effect that the amount may be small.
[0108]
Further, the time map information further includes a time offset for each video object, and the time offset indicates a difference time between the start playback time of the video object and the start playback time of the predetermined time interval. Also good.
According to this configuration, even if the head portion of the video object is deleted by editing, the time map information can be easily corrected by changing the time offset value.
[0109]
The recording apparatus of the present invention includes an input unit that inputs time-series video data, a compression unit that generates a video object composed of continuous video object units by compressing the input video data, Write means for writing data to the recording medium, and control means for controlling the writing means, the control means controlling the writing means to write the generated video object to the recording medium, and for the generated video object A first time table indicating a recording position of the video object unit corresponding to the reproduction time for each reproduction time, which is a reproduction time and in order at a certain time interval longer than the reproduction time of the video object unit, and each video object unit 2nd time including the playback time and data size Generating a table, it is configured to further control the writing means to write on the recording medium first table, the second table.
[0110]
According to this configuration, since the first time table only records the address information and the specific information of the video object unit at regular intervals, the table size is small. Since the second time table does not need to be recorded with the recording position (sector address) corresponding to the reproduction time for each video object unit, the reproduction time and the data size are included for each video object unit. The data length may be shorter than the data size, and the table size is small. Furthermore, since the second time table is recorded for each video object unit based on the unit to be encoded, there is an effect that it is extremely easy to generate in real time during recording. In addition, since the time map information associates the playback time of the video object with the address by hierarchically searching the first time table and the second time table, the playback device has a memory for holding the time map information. There is an effect that the amount may be small.
[0111]
Here, the control means generates a first time map as a first time table, and the first generation means generates a first time map corresponding to each reproduction time in a one-to-one correspondence with the fixed time intervals in order. A plurality of second time maps corresponding to video object units on a one-to-one basis is generated as a time table, and each first time map includes a start address of a video object unit corresponding to a corresponding reproduction time, a corresponding reproduction time, Each second time map includes time information indicating a reproduction time of the corresponding video object unit and a data size of the corresponding video object unit. You may comprise as follows.
[0112]
Further, the control means further generates a time offset indicating a difference time between the start playback time of the video object and the start playback time of the fixed time interval, and the first time table includes the time offset. It may be included.
According to this configuration, even if the head portion of the video object is deleted by editing, the time map information can be easily corrected by changing the time offset value.
[0113]
Further, the program storage medium of the present invention inputs time-series video data, compresses the input video data to generate a video object composed of continuous video object units, and the video object is recorded on the recording medium. A computer-readable storage medium for writing video data, which is a playback time for a video object generated from the video data, and in each playback time in order of a certain time interval longer than the playback time of the video object unit The first time table indicating the recording position of the video object unit corresponding to the reproduction time and the second time table including the reproduction time and the data size of each video object unit are generated, and the first table and the second table are further recorded. Write to the medium A computer-readable storage medium which records a program predicate.
[0114]
According to this configuration, since the first time table only records the address information and the specific information of the video object unit at regular intervals, the table size is small. Since the second time table does not need to be recorded with the recording position (sector address) corresponding to the reproduction time for each video object unit, the reproduction time and the data size are included for each video object unit. The data length may be shorter than the data size, and the table size is small. Furthermore, since the second time table is recorded for each video object unit based on the unit to be encoded, there is an effect that it is extremely easy to generate in real time during recording. In addition, since the time map information associates the playback time of the video object with the address by hierarchically searching the first time table and the second time table, the playback device has a memory for holding the time map information. There is an effect that the amount may be small.
[Brief description of the drawings]
FIG. 1 is a diagram showing an appearance and a recording area of a DVD-RAM disc that is a recordable optical disc according to an embodiment of the present invention.
FIG. 2 is a view showing a cross section and a surface of a DVD-RAM cut out in an enlarged manner at a sector level.
FIG. 3A is a diagram showing
(B) It is explanatory drawing which has arrange | positioned the zone area | regions 0-23 others in the horizontal direction.
(C) It is a figure which shows the logical sector number (LSN) in volume space.
(D) It is a figure which shows the logical block number (LBN) in volume space.
FIG. 4 is a diagram hierarchically showing a relationship between an ECC block and a sector in a zone area.
FIG. 5 is a diagram showing a space bitmap recorded in a volume space and a continuous recording area management file.
FIG. 6 is a diagram showing a hierarchical directory structure of AV files and non-AV files.
FIG. 7 is a diagram showing VOBs recorded as AV files Movie1.VOB and Movie2.VOB.
FIG. 8 is an explanatory diagram showing hierarchically the recorded contents of an AV data management file (RTRW.IFO).
FIG. 9 is a diagram showing a logical connection relationship between a title search pointer table, an AV file management table, a PGC information table, and a VOB.
FIG. 10 is a diagram illustrating a data structure of an AV file, that is, a VOB.
FIG. 11 is a diagram showing a more detailed data structure of time map information corresponding to one VOB.
FIG. 12 is a diagram showing a logical connection relationship between a time map table and a VOBU table.
FIG. 13 is a diagram showing a time offset that is a time difference between the start time of the VOB and the time of the start time map and takes a value other than “0”.
FIG. 14 is a diagram illustrating a configuration example of a system using an optical disc recording / reproducing apparatus according to the present embodiment.
15 is a block diagram showing a hardware configuration of the
FIG. 16 is a diagram illustrating an example of a remote control.
17 is a block diagram showing a configuration of
FIG. 18 is a block diagram showing a configuration of the
FIG. 19 is a functional block diagram showing the configuration of the
20 is a diagram showing commands related to file management supported by the common
FIG. 21 is a diagram showing a guidance image.
22 is a flowchart showing recording processing in an AV
FIG. 23 is a diagram illustrating an example of GOP information.
FIG. 24 is a flowchart showing AV file management information generation / recording processing by the AV file management
FIG. 25 is a diagram illustrating an example of a time map table and a VOBU table generated based on GOP information.
FIG. 26 is a flowchart showing the processing content of normal playback in the AV
FIG. 27 is a flowchart showing a reproduction process when a start time and an end time in a title are designated by a user.
FIG. 28 is a flowchart showing special playback processing by the AV
[Explanation of symbols]
1 Control unit
1a CPU
1b Processor bus
1c Bus interface
1d Main memory
2 MPEG encoder
2a video encoder
2b video buffer
2c audio encoder
2d audio buffer
2e System encoder
2f STC part
2g Encoder control unit
3 Disk access section
3a Track buffer
4 MPEG decoder
4a Demultiplexer
4b video buffer
4c video decoder
4d audio buffer
4e audio decoder
4f STC section
4g adder
4h-4j selector
5 Video signal processor
6 Remote control
7 Bus
8 Remote control signal receiver
9 Receiver
10 DVD recorder
11 Antenna
12 display
100 disc recording section
101 Disc reader
102 File system section
103 AV file system section
104 Common file system section
105 Recording edit playback control unit
106 User IF section
107 Control data management unit
110 AV data recording unit
111 AV data input section
112 AV file management information generator
120 AV data editing section
130 AV data playback unit
Claims (8)
録画するビデオデータの入力を受けつける入力手段と、
入力されたビデオデータを圧縮することにより、少なくとも一つのピクチャをそれぞれ有する複数の単位データを含むビデオオブジェクトを生成する圧縮手段と、
前記記録媒体にデータを書き込む書込み手段と、
前記書込み手段を制御する制御手段とを備え、
前記制御手段は、
前記記録媒体のデータ領域に前記ビデオオブジェクトを書き込むよう前記書込み手段を制御し、
ビデオオブジェクトの再生時間内の複数の再生時刻それぞれに対応させて、各再生時刻に再生されるべきピクチャを含む単位データの識別情報と前記記録媒体上での記録アドレスとが格納された第1テーブルを生成し、
前記複数の単位データそれぞれに対応させて、単位データの再生時間とデータサイズとが格納された第2テーブルを生成し、
前記記録媒体のタイムマップ領域に前記第1及び第2テーブルを書き込むよう前記書込み手段を制御する
ことを特徴とする録画装置。An apparatus for recording video data on a recording medium,
An input means for receiving input of video data to be recorded;
Compression means for generating video objects including a plurality of unit data each having at least one picture by compressing input video data;
Writing means for writing data to the recording medium;
Control means for controlling the writing means,
The control means includes
Controlling the writing means to write the video object to a data area of the recording medium;
A first table storing identification information of unit data including a picture to be reproduced at each reproduction time and a recording address on the recording medium in correspondence with each of a plurality of reproduction times within the reproduction time of the video object. Produces
In correspondence with each of the plurality of unit data, a second table storing a reproduction time and a data size of the unit data is generated,
The recording apparatus, wherein the writing unit is controlled to write the first and second tables in a time map area of the recording medium.
ことを特徴とする請求項1記載の録画装置。When generating the first table, the control means calculates a difference time between the corresponding reproduction time and the reproduction time at the beginning of the corresponding unit data in association with each of the reproduction times, and stores the difference time in the first table. The recording apparatus according to claim 1, wherein:
前記記録媒体のデータ領域に前記ビデオオブジェクトを書き込むステップと、
ビデオオブジェクトの再生時間内の複数の再生時刻それぞれに対応させて、各再生時刻に再生されるべきピクチャを含む単位データの識別情報と前記記録媒体上での記録アドレスとが格納された第1テーブルを生成するステップと、
前記複数の単位データそれぞれに対応させて、各単位データの再生時間とデータサイズとが格納された第2テーブルを生成するステップと、
前記記録媒体のタイムマップ領域に前記第1及び第2テーブルを書き込むステップとを含む
ことを特徴とする録画方法。A recording method in a recording apparatus for recording a video object including a plurality of unit data each having at least one picture on a recording medium,
Writing the video object to a data area of the recording medium;
A first table storing identification information of unit data including a picture to be reproduced at each reproduction time and a recording address on the recording medium in correspondence with each of a plurality of reproduction times within the reproduction time of the video object Generating
Generating a second table storing a reproduction time and a data size of each unit data corresponding to each of the plurality of unit data;
And writing the first and second tables in a time map area of the recording medium.
ことを特徴とする請求項3記載の録画方法。In the step of generating the first table, a difference time between the corresponding reproduction time and the reproduction time at the head of the corresponding unit data is calculated and stored in the first table in association with each reproduction time. The recording method according to claim 3, further comprising a sub-step.
前記データ領域には、複数の単位データを含むビデオオブジェクトが記録され、単位データは少なくとも一つのピクチャを有し、
前記タイムマップ領域には、前記ビデオオブジェクトの再生時刻に関する情報が階層化して格納された第1及び第2テーブルが記録され、
前記第1テーブルには、ビデオオブジェクトの再生時間内の複数の再生時刻それぞれに対応させて、各再生時刻に再生されるべきピクチャを含む単位データの識別情報と前記記録媒体上での記録アドレスとが記録され、
前記第2テーブルには、前記複数の単位データそれぞれに対応させて、単位データの再生時間とデータサイズとが記録されており、
前記装置は、
前記記録媒体からデータを読み出す読み出し手段と、
ビデオオブジェクトを再生する再生手段と、
前記読み出し手段及び前記再生手段を制御する制御手段とを備え、
前記制御手段は、
再生開始時刻の入力を受けつけ、
前記第1及び第2テーブルを読み出すよう前記読み出し手段を制御し、
読み出された第1及び第2テーブルを参照することにより、前記再生開始時刻に再生されるべきピクチャを含む単位データを特定し、
特定した単位データに基づいて再生が開始されるよう前記読み出し手段及び前記再生手段を制御する
ことを特徴とする再生装置。An apparatus for playing back a video object recorded on a recording medium having a data area and a time map area ,
In the data area, a video object including a plurality of unit data is recorded, and the unit data has at least one picture,
In the time map area, there are recorded first and second tables in which information related to the playback time of the video object is stored in a hierarchy.
The first table includes identification information of unit data including a picture to be reproduced at each reproduction time, a recording address on the recording medium, and a plurality of reproduction times within the reproduction time of the video object. Is recorded,
In the second table, the reproduction time and the data size of the unit data are recorded corresponding to each of the plurality of unit data,
The device is
Reading means for reading data from the recording medium;
Playback means for playing a video object;
Control means for controlling the reading means and the reproducing means,
The control means includes
Accepts the playback start time input,
Controlling the reading means to read the first and second tables;
By specifying the unit data including the picture to be reproduced at the reproduction start time by referring to the read first and second tables,
A playback apparatus that controls the reading unit and the playback unit so that playback is started based on the specified unit data.
前記制御手段は、特定した単位データに対応する前記第1テーブルの差分時間を参照することにより、前記ピクチャを特定し、そのピクチャから再生が開始されるよう前記読み出し手段及び前記再生手段を制御する
ことを特徴とする請求項5記載の再生装置。The first table further records a difference time between the corresponding reproduction time and the reproduction time at the beginning of the corresponding unit data, corresponding to each of the reproduction times,
The control means identifies the picture by referring to the difference time of the first table corresponding to the specified unit data, and controls the reading means and the reproduction means so that reproduction is started from the picture. The reproducing apparatus according to claim 5, wherein:
前記データ領域には、複数の単位データを含むビデオオブジェクトが記録され、単位データは少なくとも一つのピクチャを有し、
前記タイムマップ領域には、前記ビデオオブジェクトの再生時刻に関する情報が階層化して格納された第1及び第2テーブルが記録され、
前記第1テーブルには、ビデオオブジェクトの再生時間内の複数の再生時刻それぞれに対応させて、各再生時刻に再生されるべきピクチャを含む単位データの識別情報と前記記録媒体上での記録アドレスとが記録され、
前記第2テーブルには、前記複数の単位データそれぞれに対応させて、単位データの再生時間とデータサイズとが記録されており、
前記再生方法は、
再生開始時刻の入力を受けつけるステップと、
前記第1及び第2テーブルを読み出すよう前記読み出し手段を制御するステップと、
読み出された第1及び第2テーブルを参照することにより、前記再生開始時刻に再生されるべきピクチャを含む単位データを特定するステップと、
特定した単位データに基づいて再生が開始されるよう前記読み出し手段及び前記再生手段を制御する読み出し再生ステップとを含む
ことを特徴とする再生方法。A playback method in a playback device comprising a reading means for reading data from a recording medium having a data area and a time map area, and a playback means for playing back a video object,
In the data area, a video object including a plurality of unit data is recorded, and the unit data has at least one picture,
In the time map area, there are recorded first and second tables in which information relating to the playback time of the video object is stored in a hierarchy,
The first table includes identification information of unit data including a picture to be reproduced at each reproduction time, a recording address on the recording medium, and a plurality of reproduction times within the reproduction time of the video object. Is recorded,
In the second table, the reproduction time and the data size of the unit data are recorded corresponding to each of the plurality of unit data,
The playback method is:
A step of receiving an input of the playback start time;
Controlling the reading means to read the first and second tables;
Identifying unit data including a picture to be reproduced at the reproduction start time by referring to the read first and second tables;
And a reading / reproducing step for controlling the reproducing means so that the reproduction is started based on the specified unit data.
前記読み出し再生ステップには、特定した単位データに対応する前記第1テーブルの差分時間を参照することにより、前記ピクチャを特定し、そのピクチャから再生が開始されるよう前記読み出し手段及び前記再生手段を制御するサブステップが含まれる
ことを特徴とする請求項7記載の再生方法。The first table further records a difference time between the corresponding reproduction time and the reproduction time at the beginning of the corresponding unit data, corresponding to each of the reproduction times,
In the reading and reproducing step, the reading means and the reproducing means are specified so that the picture is specified by referring to the difference time of the first table corresponding to the specified unit data, and reproduction is started from the picture. The reproduction method according to claim 7, further comprising a sub-step for controlling.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001223670A JP4050880B2 (en) | 1997-09-17 | 2001-07-24 | Recording apparatus, recording method, reproducing apparatus, reproducing method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9-251993 | 1997-09-17 | ||
| JP25199397 | 1997-09-17 | ||
| JP2001223670A JP4050880B2 (en) | 1997-09-17 | 2001-07-24 | Recording apparatus, recording method, reproducing apparatus, reproducing method |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP26278199A Division JP3420131B2 (en) | 1997-09-17 | 1999-09-16 | Optical disk, recording device, reproducing device, recording method, reproducing method, computer-readable recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002094945A JP2002094945A (en) | 2002-03-29 |
| JP4050880B2 true JP4050880B2 (en) | 2008-02-20 |
Family
ID=26540480
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001223670A Expired - Lifetime JP4050880B2 (en) | 1997-09-17 | 2001-07-24 | Recording apparatus, recording method, reproducing apparatus, reproducing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4050880B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113885808B (en) * | 2021-10-28 | 2024-03-15 | 合肥兆芯电子有限公司 | Mapping information recording method, memory control circuit unit and memory device |
-
2001
- 2001-07-24 JP JP2001223670A patent/JP4050880B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002094945A (en) | 2002-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100373403B1 (en) | Optical disc, recording apparatus, and computer-readable recording medium | |
| US7085478B2 (en) | Optical disc, recording apparatus, and computer-readable recording medium | |
| JP3028517B2 (en) | Optical disc, recording apparatus and method, reproducing apparatus and method, and program storage medium | |
| US6118924A (en) | Optical disc recording apparatus computer-readable recording medium recording a file management program, and optical disc | |
| JP4050880B2 (en) | Recording apparatus, recording method, reproducing apparatus, reproducing method | |
| JP3026809B2 (en) | Optical disc, recording device and method, playback device and method, and program storage medium | |
| JP2002232844A (en) | Information recording medium, recording apparatus and method, reproducing apparatus and method, and program storage medium | |
| JP3420226B2 (en) | Optical disk, recording device, reproducing device, recording method, reproducing method, computer-readable recording medium | |
| JP3420224B2 (en) | Optical disk, recording device, reproducing device, recording method, reproducing method, computer-readable recording medium | |
| JP3026810B1 (en) | Optical disc, recording apparatus and method, reproducing apparatus and method, and program storage medium | |
| JP3420131B2 (en) | Optical disk, recording device, reproducing device, recording method, reproducing method, computer-readable recording medium | |
| JP3420225B2 (en) | Optical disk, recording device, reproducing device, recording method, reproducing method, computer-readable recording medium | |
| US20060251391A1 (en) | Optical disc, recording apparatus, and computer-readable recording medium | |
| JP2002290915A (en) | Information recording medium, information recording device, recording method, reproducing device, reproducing method, and program | |
| JP2002232843A (en) | Information recording medium, image device and method, reproducing device and method, and program storage medium | |
| JP2002218397A (en) | Information recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050516 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070911 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071011 |
|
| 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: 20071106 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071130 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101207 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101207 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111207 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111207 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121207 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121207 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131207 Year of fee payment: 6 |
|
| EXPY | Cancellation because of completion of term |