JP3410695B2 - Playback apparatus, playback method, and computer-readable recording medium - Google Patents

Playback apparatus, playback method, and computer-readable recording medium

Info

Publication number
JP3410695B2
JP3410695B2 JP31044999A JP31044999A JP3410695B2 JP 3410695 B2 JP3410695 B2 JP 3410695B2 JP 31044999 A JP31044999 A JP 31044999A JP 31044999 A JP31044999 A JP 31044999A JP 3410695 B2 JP3410695 B2 JP 3410695B2
Authority
JP
Japan
Prior art keywords
data
audio
vob
video
picture data
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
Application number
JP31044999A
Other languages
Japanese (ja)
Other versions
JP2000152180A (en
Inventor
智之 岡田
慎一 佐伯
一宏 津賀
浩史 濱坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP31044999A priority Critical patent/JP3410695B2/en
Publication of JP2000152180A publication Critical patent/JP2000152180A/en
Application granted granted Critical
Publication of JP3410695B2 publication Critical patent/JP3410695B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、光ディスク、ビデ
オデータ編集装置、コンピュータ読み取り可能な編集プ
ログラムを記録した記録媒体、光ディスクの再生装置、
コンピュータ読み取り可能な再生プログラムを記録した
記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical disc, a video data editing device, a recording medium having a computer-readable editing program recorded thereon, an optical disc reproducing device,
The present invention relates to a recording medium on which a computer-readable reproduction program is recorded.

【0002】[0002]

【従来の技術】映画業界、放送業界等で活躍している映
像編集の技能者は、その熟練した技能を駆使して様々に
趣向を凝らした映像著作物を制作し、世に送り出してい
る。これらに魅了され、強い憧憬を抱いた映画愛好家や
ビデオカメラ愛好家は、彼らの技能には及ばないまで
も、一度は映像編集にチャレンジしたいという思いを胸
中に抱いており、高度な映像編集が簡易に行なえるビデ
オデータ編集装置の民生機器が早期に開発されることに
期待している。
2. Description of the Related Art Video editing technicians who are active in the movie industry, broadcasting industry, and the like, make full use of their skill to produce video works with various tastes and send them to the world. Movie enthusiasts and camcorder enthusiasts who were fascinated by these things and had a strong admiration had a desire to challenge video editing at least once, even if their skills were inferior. We expect that consumer equipment such as video data editing equipment that can be easily implemented will be developed at an early stage.

【0003】一般に映像編集と呼ばれる作業には様々な
ものがあるが、今後開発されるであろうビデオデータ編
集装置の民生機器には、多くのシーンをまとめて一本の
映像に連結する機能、いわゆる、シーン連結機能の充実
化が特に要望されると考えられる。従来、民生機器を用
いたシーン連結作業は、二台のビデオデッキを接続した
ダビングシステムを用いて行われていた。以降、ダビン
グシステムにおいて、映像中の任意のシーンを連結する
という作業がどのように行われてきたかを説明する。図
96(a)は、既存の映像信号の再生・録画が可能なビ
デオデッキを用いた映像編集の作業環境を示す図であ
る。図96(a)に示すように作業環境は、素材となる
映像が記録された磁気テープカセット301と、編集成
果物を記録するための空き磁気テープカセット302
と、これらの磁気テープカセットを再生・録画するため
のビデオデッキ303,304とから構成される。この
ような作業環境において、図96(b)に示すシーン連
結を操作者は行おうとしている。図96(b)は、編集
素材と、編集成果物との関係を示す図である。本図に示
すように、操作者は編集素材内の時刻t5から時刻t10迄
を占めているシーン505、時刻t13から時刻t21迄を占
めているシーン506、時刻t23から時刻t25迄を占めて
いるシーン507を部分的に再生させて、これらのみか
らなる編集成果物を得ようとしているのである。
Although there are various kinds of work generally called video editing, a consumer device of a video data editing apparatus which will be developed in the future has a function of connecting many scenes together into one video, It is considered that there is a particular demand for enhancement of the so-called scene connection function. Conventionally, scene connection work using consumer devices has been performed using a dubbing system in which two VCRs are connected. Hereinafter, how a work of connecting arbitrary scenes in a video has been performed in the dubbing system will be described. FIG. 96 (a) is a diagram showing a work environment for video editing using a video deck capable of reproducing / recording existing video signals. As shown in FIG. 96 (a), the working environment is a magnetic tape cassette 301 on which an image serving as a material is recorded, and an empty magnetic tape cassette 302 for recording an edited product.
And video decks 303 and 304 for reproducing and recording these magnetic tape cassettes. In such a work environment, the operator is going to perform the scene connection shown in FIG. 96 (b). FIG. 96 (b) is a diagram showing the relationship between the editing material and the edited product. As shown in the figure, the operator occupies the scene 505 occupying the time t5 to the time t10, the scene 506 occupying the time t13 to the time t21, and the scene 506 and the time t23 to the time t25 in the editing material. The scene 507 is partially reproduced to obtain an edited product consisting of only these.

【0004】このような作業環境において、操作者は編
集素材が記録された磁気テープカセット301をビデオ
デッキ303にセットし、編集成果物を記録すべき磁気
テープカセット302をデッキ304にセットする。セ
ット後、図中に示すようにデッキ303の操作パネル
上の早送りキーを押下して映像シーン505の先頭個所
までの頭だしをデッキ303に行わせ、その後に示す
ように再生キーを押下してデッキ303に映像シーン5
05からの再生を行わせる。これと同時にに示すよう
に録画キーを押下してデッキ304に再生映像の録画を
開始させる。映像再生がシーン505の最後まで行われ
ると、2台のデッキの動作を停止する。続いて映像シー
ン506の先頭箇所までデッキ304に頭だしを行わ
せ、再度デッキ303の再生とデッキ304の録画を同
時に開始させる。同様の作業をシーン506、シーン5
07についてを行った後、デッキ303、304のテー
プを巻き戻して編集作業が終了する。
In such a working environment, the operator sets the magnetic tape cassette 301 on which the editing material is recorded on the video deck 303, and sets the magnetic tape cassette 302 on which the edited product is to be recorded on the deck 304. After setting, as shown in the figure, the fast-forward key on the operation panel of the deck 303 is pressed to cause the deck 303 to start to the beginning of the video scene 505, and the playback key is pressed as shown below. Video scene 5 on deck 303
Play back from 05. At the same time, as shown at the same time, the recording key is pressed to cause the deck 304 to start recording the reproduced video. When the video is reproduced to the end of the scene 505, the operation of the two decks is stopped. Then, the deck 304 is cued to the beginning of the video scene 506, and the reproduction of the deck 303 and the recording of the deck 304 are started again at the same time. Similar work is done in scene 506 and scene 5
After performing step 07, the tapes on the decks 303 and 304 are rewound and the editing operation is completed.

【0005】上記のようなシーン連結作業を家庭内で簡
易に行うことができれば、多数の磁気テープカセットに
記録されている映像を手楽に整理することができる。
If the scene connecting work described above can be easily performed at home, the images recorded on a large number of magnetic tape cassettes can be easily organized.

【0006】[0006]

【発明が解決しようとする課題】上記従来技術の第1問
題点としては、編集素材と、編集成果物とを別々の記録
媒体に記録させる必要があるため、2つの磁気テープカ
セットを再生・録画するためのビデオデッキを設ける必
要があり、編集のための設備が大規模になってしまうと
いう事実が指摘される。このように二台のビデオデッキ
が予め接続されている場所でないと映像編集は行えない
ので、映像編集が行なえる場所が制約されしまう。
The first problem of the above-mentioned prior art is that since it is necessary to record the editing material and the edited product on different recording media, two magnetic tape cassettes are reproduced and recorded. It is pointed out that it is necessary to install a video deck to do so, and the facilities for editing will be large-scale. As described above, the video editing cannot be performed unless the two video decks are connected in advance, so that the place where the video editing can be performed is limited.

【0007】また上記従来技術の第2問題点としては、
いざシーン連結を開始しようとした場合、連結させたい
シーンの開始位置を頭出しさせ、シーンの開始位置から
終了位置まで編集素材となる映像を再生させるという作
業を連結すべきシーンの数だけ繰り返す必要があるの
で、連結すべきシーン数が多ければ多いほど頭出しの手
間と、開始位置から終了位置までの再生にかかる手間と
が膨大なものとなり、多大な作業時間が費されるという
事実が指摘される。
The second problem of the above prior art is that
When it is time to start scene connection, it is necessary to find the start position of the scene you want to connect and play the video that is the editing material from the start position of the scene to the end position for the number of scenes to be connected. Therefore, as the number of scenes to be connected increases, the time and effort required for cueing and the time and effort required for playback from the start position to the end position become enormous, and a great amount of work time is pointed out. To be done.

【0008】映像編集のプロの技能者がシーン連結を行
う場合は、最終的な編集成果物をいきなり作成するので
はなく、シーンを連結する順序を何度も練り直すことに
より洗練された映像著作物を制作するが、頭出しの手間
と、再生にかかる手間とに多大な作業時間が費やされる
作業環境においては、シーンを連結する順序の練り直し
が思うように行えない。
[0008] When a professional video editing technician connects scenes, a sophisticated video work is created by re-editing the order of connecting scenes many times, rather than suddenly creating a final edited product. However, in a work environment in which a great deal of work time is spent for cueing and reproducing, it is impossible to reconsider the order in which scenes are connected.

【0009】もっともこれらの問題点は、磁気テープを
記録媒体に用いた映像編集環境において生じうるもので
あり、ハードディスクや相変化型光ディスク等、ランダ
ムアクセス可能な記録媒体を用いた映像編集環境では自
ずと改善されるようにも思える。例えば、光ディスクに
編集素材を記録しておき、その編集成果物を同一光ディ
スクに記録すれば、光ディスクを記録媒体としたビデオ
データ編集装置が一台あれば映像編集を行うことがで
き、編集設備は小規模のものになると考えられる。しか
し、編集素材の記録と、編集成果物の記録とを同一の記
録媒体に対して行うと、記録媒体に記録されるべき編集
成果物が、編集素材を上書きしてしまうことがある。こ
の場合、後日操作者がその編集が失敗であることに気付
いたとしても、上述したように編集素材が上書きされて
いるので、編集を再度やり直すことは事実上不可能とな
る。
However, these problems may occur in a video editing environment using a magnetic tape as a recording medium, and naturally in a video editing environment using a randomly accessible recording medium such as a hard disk or a phase change optical disk. Seems to be improved. For example, if the editing material is recorded on the optical disc and the edited product is recorded on the same optical disc, the video editing can be performed with only one video data editing device using the optical disc as a recording medium. It will be small. However, if the recording of the editing material and the recording of the edited product are performed on the same recording medium, the edited product to be recorded on the recording medium may overwrite the edited material. In this case, even if the operator later notices that the editing is unsuccessful, the editing material is overwritten as described above, so that it is virtually impossible to redo the editing again.

【0010】その編集素材が子供の入学式、運動会、家
族旅行、卒業式等の記念行事を記録した貴重な映像であ
る場合、このような上書きによりその貴重な映像が消滅
してしまうことになり、そのような映像を再度編集する
ことはおろか、視聴することさえ不可能になってしな
う。仮に記録媒体の容量が編集される映像長の二倍以上
である場合、編集素材が上書きされることはないように
思われる。しかし最新の記録媒体と呼ばれる相変化型光
ディスクにあってもその容量は片面2.6GByteであり、2
時間以上の時間長を有する映像を、編集素材、編集成果
物として別々に記録できるとはいえない。ましてや、最
終成果物のみではなく、映像編集の中間成果物を個別に
記録媒体に記録しておき、これらの中から後日、最適な
ものを選ぼうとする場合、記録すべき映像音響データ
(映像データ、音響データを多重化して得られたデー
タ)の3倍、4倍以上の容量が記録媒体に必要となり、
単一の記録媒体ではその容量が不足するのは目にみえて
いる。
When the editing material is a valuable image recording a commemorative event such as a child's entrance ceremony, athletic meet, family trip, graduation ceremony, the precious image disappears by such overwriting. , Re-editing such footage, let alone making it impossible to watch. If the capacity of the recording medium is more than twice the video length to be edited, it seems that the editing material will not be overwritten. However, even the phase-change type optical disc called the latest recording medium has a capacity of 2.6 GByte on one side,
It cannot be said that a video having a time length longer than the time can be separately recorded as an editing material and an edited product. Moreover, not only the final product but also the intermediate product of the video editing is individually recorded in the recording medium, and when the optimum one is selected at a later date, the audiovisual data (video The recording medium needs to have a capacity three times, four times or more that of data obtained by multiplexing data and acoustic data).
It is obvious that the capacity of a single recording medium is insufficient.

【0011】上記従来技術の第3の問題点としては、連
結すべき部分区間を高精度に指定できないという問題点
がある。即ち、図96(a)のように連結編集を行う場
合、2つのビデオデッキの再生ボタンと、録画ボタンと
を同時に押下せねばならないので、再生ボタン−録画ボ
タンのうち、一方の押下が遅れたり、或は、一方の押下
が早かったりすると、連結して用いたい区間とは異なる
部分が編集成果物として記録されてしまったり、部分区
間として記録したい部分が一部欠落してしまうという問
題点がある。
The third problem of the above conventional technique is that the sub-sections to be connected cannot be specified with high accuracy. That is, when the linked editing is performed as shown in FIG. 96 (a), since the play button and the record button of the two video decks must be pressed at the same time, one of the play button and the record button may be delayed. Or, if one of them is pressed too quickly, a part different from the section you want to connect and use may be recorded as an edited product, or the part you want to record as a partial section may be partly missing. is there.

【0012】本発明の第1の目的は、記録媒体に記録さ
れている既存の映像を上書きすることなく、単一記録媒
体での映像編集を実現することができる光ディスク及び
それを記録媒体として用いるビデオデータ編集装置を提
供することである。第2の目的は、映像編集の最終成果
物のみではなく、映像編集の中間成果物を個別に記録す
ることができ、これらの中から後日、最適なものを選ぶ
ことができる光ディスク及びそれを記録媒体として用い
るビデオデータ編集装置を提供することである。
A first object of the present invention is to use an optical disc capable of realizing video editing on a single recording medium without overwriting existing video recorded on the recording medium, and to use it as a recording medium. A video data editing device is provided. The second purpose is to record not only the final product of the video editing but also the intermediate product of the video editing individually, and the optimum one can be selected from these at a later date and the optical disc. An object is to provide a video data editing device used as a medium.

【0013】第3の目的は、映像表示を鑑賞しながら編
集対象となる部分区間を高い時間精度で特定することが
できる光ディスク及びその再生装置を提供することであ
る。
A third object of the present invention is to provide an optical disc and a reproducing apparatus therefor capable of identifying a partial section to be edited with high time accuracy while viewing a video display.

【0014】[0014]

【課題を解決するための手段】上記第1、第2の目的
は、1以上のビデオオブジェクトを含むファイルが記録
されているデータ領域と、オリジナルタイプチェーン情
報と、1つ以上のユーザ定義タイプチェーン情報とが記
録されているインデックス領域とを備え、前記オリジナ
ルタイプチェーン情報は、上記ファイルを複数部分区間
の配列として管理していて、前記各ユーザ定義タイプチ
ェーン情報は、ファイルにおける複数の部分区間を、フ
ァイルにおける各部分区間の配列順序に拘束されない再
生順序で指定しており、オリジナルタイプチェーン情報
により管理される部分区間は、ビデオオブジェクトの先
頭位置、終了位置、ビデオオブジェクト内部の所定位置
のうち2つのものの組み合わせを境界部として、前記フ
ァイルを複数に分割することにより得られる区間であり
ユーザ定義タイプチェーン情報により再生順序が指定さ
れる各部分区間は、ビデオオブジェクトの内部位置の組
み合わせを境界部として特定される区間であり、内部位
置の組み合わせは、前記ビデオオブジェクト内部の所定
位置とビデオオブジェクト内部の別の位置との組み合わ
せ、前記オブジェクト内部の別の位置同士の組み合わ
せ、前記所定位置同士の組み合わせの何れかであり、前
記再生順序は、ファイルにおける各部分区間の配列順序
に拘束されない順序であることを特徴とする光ディスク
により達成される。
The first and second objects are to provide a data area in which a file containing one or more video objects is recorded, original type chain information, and one or more user-defined type chains. And an index area in which information is recorded, the original type chain information manages the file as an array of a plurality of partial sections, and each user-defined type chain information includes a plurality of partial sections in the file. , Partial sections managed by the original type chain information are specified in a playback order that is not restricted by the arrangement order of each partial section in the file. Divide the file into multiples, with a combination of two as the boundary. Each of the sub-sections, which is a section obtained by the above, and whose reproduction order is specified by the user-defined type chain information, is a section that is specified by a combination of the internal positions of the video objects as a boundary portion, and the combination of the internal positions is It is any one of a combination of a predetermined position inside the video object and another position inside the video object, a combination of different positions inside the object, and a combination of the predetermined positions, and the reproduction order is each part in the file. This is achieved by an optical disc characterized by an order that is not restricted by the arrangement order of the sections.

【0015】第3の目的は、セル情報の再生指示を受け
付けると、再生開始時刻情報と、再生終了時刻情報との
組と、マッピング情報とをインデックス領域から読み出
し、再生開始時刻情報、再生終了時刻情報を用いてマッ
ピング情報を検索することにより、再生開始時刻情報に
て示されるピクチャデータを含む先端ビデオオブジェク
トユニットの記録位置と、再生終了時刻情報にて示され
るピクチャデータを含む終端ビデオオブジェクトユニッ
トの記録位置とを特定するアクセス位置特定手段と、特
定された記録位置間に記録されているビデオオブジェク
トユニット列を読み出す読出手段とを備え読み出された
ビデオオブジェクトユニット列をデコードすると共に、
前記セル情報に相当する部分区間の境界部がビデオオブ
ジェクトユニットの開始位置−終了位置に一致していな
い場合、そのデコード結果のうち、セル情報が示してい
る最初のビデオフィールドから最後のフィールドまでを
出力し、それ以外のデコード結果の出力を禁止するデコ
ード手段とを備えるビデオデータ編集装置により達成さ
れる。
A third object is to receive a reproduction instruction of cell information, read a set of reproduction start time information and reproduction end time information, and mapping information from the index area, and reproduce reproduction start time information and reproduction end time. By searching the mapping information using the information, the recording position of the leading video object unit including the picture data indicated by the reproduction start time information and the end video object unit including the picture data indicated by the reproduction end time information An access position specifying means for specifying a recording position and a reading means for reading a video object unit string recorded between the specified recording positions are provided, and the read video object unit string is decoded.
If the boundary portion of the partial section corresponding to the cell information does not match the start position-end position of the video object unit, from the decoding result, from the first video field to the last field indicated by the cell information, This is achieved by a video data editing device provided with a decoding means for outputting and for inhibiting the output of other decoding results.

【0016】[0016]

【発明の実施の形態】以下ビデオデータ編集装置と、ビ
デオデータ編集装置が記録媒体として用いる光ディスク
の実施形態について説明する。尚、光ディスクの物理構
造、論理構造、ビデオデータ編集装置のハードウェア構
成、機能構成を一つの実施形態で説明しようとすると説
明が著しく煩雑になるので、上記の内容を4つの実施形
態において個別に説明するものとする。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a video data editing apparatus and an optical disk used as a recording medium by the video data editing apparatus will be described below. It should be noted that if the physical structure and logical structure of the optical disc, the hardware configuration and the functional configuration of the video data editing device are described in one embodiment, the description will be extremely complicated. I shall explain.

【0017】第1実施形態は、光ディスクの物理構造及
びビデオデータ編集装置のハードウェア構造を説明する
と共に、映像編集の第1の基本例としてビデオオブジェ
クト同士のシームレス接続について説明を行う。第2実
施形態は、第2の基本例としてビデオオブジェクトの部
分区間同士のシームレス接続について説明を行う。第3
実施形態では、ビデオデータ編集装置の機能構成につい
て説明するとともに、ファイルシステム上で実現される
映像編集の手順について説明を行う。
In the first embodiment, the physical structure of an optical disc and the hardware structure of a video data editing apparatus will be described, and seamless connection between video objects will be described as a first basic example of video editing. The second embodiment will describe seamless connection between partial sections of video objects as a second basic example. Third
In the embodiment, the functional configuration of the video data editing apparatus will be described, and the procedure of video editing realized on the file system will be described.

【0018】第4実施形態では、ユーザ定義PGC−オリ
ジナルPGCという2つのタイプのプログラムチェーンを用
いて仮編集、本編集からなる階層的な映像編集を実現す
る場合のデータ構造及びビデオデータ編集装置の処理手
順について説明を行う。 (1-1)記録可能な光ディスクの物理構造 図1は、記録可能な光ディスクであるDVD-RAMディスク
の外観を表した図である。本図に示すように、DVD-RAM
はカートリッジ75に収納された状態でビデオデータ編
集装置に装填される。本カートリッジ75は、DVD-RAM
の記録面を保護する目的のものであり、本カートリッジ
75の収納時においてDVD-RAMは、シャッタ76の開閉
することによりアクセスされる。
In the fourth embodiment, a data structure and a video data editing apparatus for realizing a hierarchical video editing consisting of temporary editing and main editing by using two types of program chains of user-defined PGC-original PGC. The processing procedure will be described. (1-1) Physical Structure of Recordable Optical Disk FIG. 1 is a diagram showing the appearance of a DVD-RAM disk which is a recordable optical disk. As shown in this figure, DVD-RAM
Is loaded in the video data editing device while being stored in the cartridge 75. This cartridge 75 is a DVD-RAM
The DVD-RAM is accessed by opening and closing the shutter 76 when the main cartridge 75 is housed.

【0019】図2(a)は、記録可能な光ディスクであ
るDVD-RAMディスクの記録領域を表した図である。同図
のように、DVD-RAMディスクは、最内周にリードイン領
域を、最外周にリードアウト領域を、その間にデータ領
域を配置している。リードイン領域は、光ピックアップ
のアクセス時においてサーボを安定させるために必要な
基準信号や他のメディアとの識別信号などが記録されて
いる。リードアウト領域もリードイン領域と同様の基準
信号などが記録される。データ領域は、最小のアクセス
単位であるセクタ(2kバイトとする)に分割されてい
る。図2(b)は、セクタをヘッダしてDVD-RAMの断面
及び表面を示した図である。同図に示すように、1セク
タは、金属薄膜等の反射膜表面に形成されたピット列部
と、凹凸形状部とからなる。
FIG. 2A is a diagram showing a recording area of a DVD-RAM disc which is a recordable optical disc. As shown in the figure, the DVD-RAM disc has a lead-in area at the innermost circumference, a lead-out area at the outermost circumference, and a data area therebetween. In the lead-in area, a reference signal necessary for stabilizing the servo when the optical pickup is accessed, an identification signal with other media, etc. are recorded. In the lead-out area, the same reference signal as in the lead-in area is recorded. The data area is divided into sectors (2 kbytes) that are the smallest access unit. FIG. 2B is a diagram showing a cross section and a front surface of the DVD-RAM with sectors as headers. As shown in the figure, one sector consists of a pit row portion formed on the surface of a reflective film such as a metal thin film, and an uneven portion.

【0020】ピット列部は、セクタアドレスを表すため
に刻印された0.4μm〜1.87μmのピットからなる。凹凸
形状部は、凹部(グルーブと呼ぶ)及び凸部(ランドと
呼ぶ)からなる。ランド、グルーブはそれぞれの表面に
相変化(Phase Change)可能な金属薄膜である記録マーク
が付着されている。相変化とは、付着した金属薄膜の状
態が光ビームの照射により結晶状態と、非晶状態とに変
化することをいう。凹凸形状部には、相変化を利用する
ことによりデータを書き込むことができる。MOディスク
ではランド部のみが記録用であるのに対して、DVD-RAM
ではランド部とグルーブ部にもデータを記録できるよう
になっている。グルーブ部へのデータ記録を実現したこ
とは、記録密度をMOと比べて増大させている。セクタに
対する誤り訂正情報は、16個のセクタ毎になされる。
本実施例では、ECC(Error Correcting Code)が付与さ
れるセクタ群(16セクタ)をECCブロックと呼ぶ。
The pit row portion is composed of pits of 0.4 μm to 1.87 μm which are engraved to represent the sector address. The concavo-convex shape portion includes a concave portion (called a groove) and a convex portion (called a land). Recording marks, which are metal thin films capable of phase change, are attached to the surfaces of the lands and the grooves. The phase change means that the state of the adhered metal thin film changes to a crystalline state and an amorphous state by irradiation with a light beam. Data can be written in the uneven portion by utilizing the phase change. In the MO disc, only the land part is for recording, whereas the DVD-RAM
Data can now be recorded on the land and groove. Realization of data recording in the groove portion increases the recording density as compared with MO. Error correction information for a sector is provided for every 16 sectors.
In this embodiment, a sector group (16 sectors) to which ECC (Error Correcting Code) is added is called an ECC block.

【0021】また、DVD-RAMは、記録・再生時においてZ
-CLV(Zone-Constant Linear Velocity)と呼ばれる回転
制御を実現するために、データ領域が複数のゾーン領域
に分割されている。図3(a)は、DVD-RAMに同心円状
に設けられた複数のゾーン領域を示す図である。同図の
ように、DVD-RAMは、ゾーン0〜ゾーン23の24個の
ゾーン領域に分割されている。ここでゾーン領域とは、
同じ角速度でアクセスされる一群のトラックをいう。本
実施形態では1ゾーン領域は、1888本のトラックを含
む。DVD-RAMの回転角速度は、内周側のゾーン程速くな
るようにゾーン領域毎に設定され、光ピックアップが1
つのゾーン内でアクセスする間は一定に保たれる。これ
により、DVD-RAMの記録密度を高めるとともに、記録・
再生時における回転制御を容易にしている。
Further, the DVD-RAM is a Z-recorder when recording / reproducing.
-To realize rotation control called CLV (Zone-Constant Linear Velocity), the data area is divided into multiple zone areas. FIG. 3A is a diagram showing a plurality of zone areas provided concentrically on the DVD-RAM. As shown in the figure, the DVD-RAM is divided into 24 zone areas from zone 0 to zone 23. Here, the zone area is
A group of trucks accessed at the same angular velocity. In the present embodiment, one zone area includes 1888 tracks. The rotation angular velocity of the DVD-RAM is set for each zone area so that it becomes faster toward the inner zone, and the optical pickup is set to 1
It remains constant during access within one zone. This increases the recording density of DVD-RAM, and
Rotation control during playback is facilitated.

【0022】図3(b)は、図3(a)において同心円
状に示したリードイン領域と、リードアウト領域と、ゾ
ーン領域0〜23を横方向に配置した説明図である。リ
ードイン領域とリードアウト領域は、その内部に欠陥管
理領域(DMA:DefectManagement Area)を有する。欠陥
管理領域とは、欠陥が生じたセクタの位置を示す位置情
報と、その欠陥セクタを代替するセクタが上記代替領域
の何れに存在するかを示す代替位置情報とが記録されて
いる領域をいう。
FIG. 3B is an explanatory diagram in which the lead-in area, the lead-out area, and the zone areas 0 to 23, which are shown concentrically in FIG. 3A, are arranged in the lateral direction. The lead-in area and the lead-out area each have a defect management area (DMA). The defect management area is an area in which position information indicating the position of a sector in which a defect has occurred and alternative position information indicating in which of the alternative areas the sector that replaces the defective sector exists are recorded. .

【0023】各ゾーン領域はその内部にユーザ領域を有
すると共に、境界部に代替領域及び未使用領域を有して
いる。ユーザ領域は、ファイルシステムが記録用領域と
して利用することができる領域をいう。代替領域は、欠
陥セクタが存在する場合に代替使用される領域である。
未使用領域は、データ記録に使用されない領域である。
未使用領域は、2トラック分程度設けられる。未使用領
域を設けているのは、ゾーン内では隣接するトラックの
同じ位置にセクタアドレスが記録されているが、Z-CLV
ではゾーン境界に隣接するトラックではセクタアドレス
の記録位置が異なるため、それに起因するセクタアドレ
ス誤判別を防止するためである。
Each zone area has a user area inside thereof, and an alternative area and an unused area at the boundary. The user area is an area that the file system can use as a recording area. The replacement area is an area used as an alternative when a defective sector exists.
The unused area is an area that is not used for data recording.
The unused area is provided for about two tracks. The unused area is provided because the sector address is recorded at the same position on the adjacent tracks in the zone, but Z-CLV
Since the recording position of the sector address is different in the tracks adjacent to the zone boundary, the sector address misjudgment resulting from this is prevented.

【0024】このようにゾーン境界にはデータ記録に使
用されないセクタが存在する。そのためデータ記録に使
用されるセクタのみを連続的に示すように、DVD-RAM
は、内周から順に論理セクタ番号(LSN:Logical Sector
Number)をユーザ領域の物理セクタに割り当ててい
る。図3(c)に示すように、LSNが付与されたセクタ
により構成される、ユーザデータを記録する領域をボリ
ューム空間と呼ぶ。
Thus, there are sectors that are not used for data recording at the zone boundaries. Therefore, the DVD-RAM is designed so that only the sectors used for data recording are continuously shown.
Is the logical sector number (LSN: Logical Sector) in order from the inner circumference.
Number) is assigned to the physical sector of the user area. As shown in FIG. 3C, an area for recording user data, which is composed of sectors to which LSN is added, is called a volume space.

【0025】ボリューム領域には、複数VOBを収録したA
Vファイルと、その管理情報であるRTRW(RealTime ReWri
table)管理ファイルとが記録されている。実際には、AV
ファイル、RTRW管理ファイルはISO/IEC13346規格に準拠
したファイルシステム上で記録されるが、本実施形態で
はその説明は省略するものとし、第3実施形態にて詳細
な説明を改めて行う。
In the volume area, A containing a plurality of VOBs is recorded.
V file and RTRW (RealTime ReWri
table) management file is recorded. In fact, AV
Although the file and the RTRW management file are recorded on the file system conforming to the ISO / IEC13346 standard, the description thereof will be omitted in the present embodiment, and the detailed description will be given again in the third embodiment.

【0026】(1-2)ボリューム領域上に記録されている
データ 図4(a)は、DVD-RAMにおけるボリューム領域上に、
どのような内容のデータが記録されているかを示す図で
ある。図4(a)の5段目に示されているビデオストリ
ーム及びオーディオストリームは、4段目に示すように
約2Kbyteの小部分に分割される。その分割により得られ
た小部分は、MPEG規格に規定されたビデオパック−オー
ディオパックに格納された状態で、3段目に示すAVファ
イル内のVOB#1、VOB#2にインターリーブ多重される。AV
ファイルは、ISO/IEC13346に基づいて2段目に示すよう
に複数のエクステントデータに分割された状態で1段目
に示すボリューム領域上の一つのゾーン領域内の空き領
域に記録される。
(1-2) Data recorded on the volume area FIG. 4A shows that the data is recorded on the volume area in the DVD-RAM.
It is a figure which shows what kind of content data is recorded. The video stream and audio stream shown in the fifth row of FIG. 4A are divided into small parts of about 2 Kbytes as shown in the fourth row. The small portion obtained by the division is interleaved and multiplexed with VOB # 1 and VOB # 2 in the AV file shown in the third row while being stored in the video pack-audio pack defined in the MPEG standard. AV
The file is divided into a plurality of extent data as shown in the second row based on ISO / IEC13346, and is recorded in an empty area in one zone area on the volume area shown in the first row.

【0027】一方、VOB#1〜VOB#3についての情報は5段
目に示すVOB#1情報、VOB#2情報、VOB#3情報としてRTRW
管理ファイルに収録される。これらを収録したRTRW管理
ファイルもAVファイルと同様、複数のエクステントに分
割された状態でボリューム領域内の空き領域に記録され
る。以降、ビデオストリーム、オーディオストリーム、
VOBを個別に説明してゆくが、その前にこれらのデータ
構造を規定したMPEG規格、DVD-RAM規格の階層構造につ
いて説明する。
On the other hand, the information about VOB # 1 to VOB # 3 is RTRW as VOB # 1 information, VOB # 2 information and VOB # 3 information shown in the fifth row.
It is recorded in the management file. Similar to the AV file, the RTRW management file recording these is also recorded in a free area in the volume area in a state of being divided into a plurality of extents. After that, video stream, audio stream,
The VOB will be described individually, but before that, the hierarchical structure of the MPEG standard and the DVD-RAM standard that defines these data structures will be described.

【0028】図4(b)は、MPEG規格で規定されたデー
タ定義の階層構造を示す図である。MPEG規格のデータ構
造は、エレメンタリストリーム層と、システム層とから
なる。図4(b)におけるエレメンタリストリーム層
は、ビデオストリームのデータ構造を定義するビデオ
層、MPEG-オーディオストリームのデータ構造を定義す
るMPEG-Audio層、Dolby-AC3方式のオーディオストリー
ムのデータ構造を定義するAC-3層、Linear-PCM方式のオ
ーディオストリームのデータ構造を定義するLinear-PCM
層を有している。後述する再生開始時刻(Presentation_
Start_Time)、再生終了時刻(Presentation_End_Time)も
このエレメンタリストリーム層内で定義されているが、
図4(b)にて独立した枠内にビデオ層、MPEG-Audio
層、AC-3層、Linear-PCM層を示しているように、ビデオ
ストリーム、オーディオストリームのデータ構造は互い
に非依存な関係にあり、ビデオフレームの再生開始時刻
及び再生終了時刻と、オーディオフレームの再生開始時
刻及び再生終了時刻との関係も同様に非同期である。
FIG. 4 (b) is a diagram showing a hierarchical structure of data definition defined by the MPEG standard. The data structure of the MPEG standard is composed of an elementary stream layer and a system layer. The elementary stream layer in FIG. 4B defines a video layer that defines the data structure of the video stream, an MPEG-Audio layer that defines the data structure of the MPEG-audio stream, and a data structure of the audio stream of the Dolby-AC3 method. AC-3 layer, Linear-PCM that defines the data structure of a Linear-PCM audio stream
Have layers. Playback start time (Presentation_
Start_Time) and playback end time (Presentation_End_Time) are also defined in this elementary stream layer,
In Fig. 4 (b), the video layer and MPEG-Audio are shown in separate frames.
As shown in the layers, AC-3 layer, and Linear-PCM layer, the data structures of the video stream and the audio stream are independent of each other, and the reproduction start time and reproduction end time of the video frame and the audio frame The relationship between the reproduction start time and the reproduction end time is also asynchronous.

【0029】図4(b)におけるシステム層は、後述す
るパック、パケット、DTS、PTSを定義するものである
が、図4(b)にてビデオ層、オーディオ層から独立し
た枠内にシステム層を示しているように、上述したパッ
ク、パケット、DTS、PTSは、ビデオストリーム、オーデ
ィオストリームのデータ構造と非依存な関係にある。こ
のようなMPEG規格のレイヤ構造に対して、DVD-RAM規格
は図4(b)に示すMPEG規格のシステム層と、エレメン
タリストリーム層とを包含しており、上述したパック、
パケット、DTS、PTSの他に、図4(a)に示すVOBのデ
ータ構造を定義している。
The system layer in FIG. 4B defines a pack, a packet, a DTS, and a PTS, which will be described later, but in FIG. As described above, the pack, packet, DTS, and PTS described above have a non-dependent relationship with the data structure of the video stream and the audio stream. In contrast to such a layer structure of the MPEG standard, the DVD-RAM standard includes a system layer of the MPEG standard shown in FIG. 4B and an elementary stream layer.
In addition to the packet, DTS, and PTS, the VOB data structure shown in FIG. 4A is defined.

【0030】(1-2-1)ビデオストリーム 図5(a)に示すビデオストリームは、図4(b)に示
したビデオ層でそのデータ構造が定義されており、一フ
レーム分の画像に対応するピクチャデータを複数配して
なる。ピクチャデータは、NTSC方式、PAL方式のビデオ
信号をMPEG規格に従って圧縮したものである。NTSC方式
のビデオ信号を圧縮した複数のピクチャデータは、約33
msec(正確には1/29.97sec)のフレーム周期を有するビ
デオフレームにて表示され、PAL方式のビデオ信号を圧
縮した複数のピクチャデータは、40msecのフレーム周期
を有するビデオフレームにて表示される。図5(a)の
最上段は、ビデオフレームの一例を示している。本図に
おいて"<"記号,">"記号の一組で特定される区間はビ
デオフレームを示している。ビデオフレームにおいて"
<"記号は、そのビデオフレームの再生開始時刻(Presen
tation_Start_Time)を示し、">"記号はビデオフレーム
再生終了時刻(Presentation_End_Timeを示している(以
降ビデオフレームは、このような表記を持って図示す
る。)。また、これらの記号により特定される閉区間に
は、複数のビデオフィールドがふくまれている。
(1-2-1) Video Stream The data structure of the video stream shown in FIG. 5 (a) is defined in the video layer shown in FIG. 4 (b) and corresponds to an image for one frame. A plurality of picture data to be displayed are arranged. The picture data is obtained by compressing an NTSC or PAL video signal according to the MPEG standard. The number of picture data obtained by compressing an NTSC video signal is approximately 33
Video data having a frame period of msec (1 / 29.97 sec to be precise) is displayed, and a plurality of picture data obtained by compressing a PAL video signal is displayed in a video frame having a frame period of 40 msec. The top row of FIG. 5A shows an example of a video frame. In the figure, a section specified by a pair of "<" symbol and ">" symbol indicates a video frame. In video frame
The <"symbol indicates the playback start time of the video frame (Presen
tation_Start_Time), and the ">" symbol indicates the video frame playback end time (Presentation_End_Time (the video frame is shown with such notation).) Also, the closed interval specified by these symbols. Contains multiple video fields.

【0031】このようなビデオフレームにて表示される
べきピクチャデータは、図5(a)に示すように、その
ビデオフレームの再生開始時刻までにデコーダに入力さ
れて、再生開始時刻においてデコーダによりバッファか
ら取り出されねばならない。MPEG規格に従った圧縮と
は、一フレーム分の画像内での空間周波数特性と、過去
および未来に再生されるべき画像との時間相関特性とを
用いた圧縮であり、この圧縮を経ることにより、各ピク
チャデータは、過去方向および未来方向に再生されるべ
き画像との時間相関特性を用いて圧縮されているBidire
ctionally predictive Predictive(B)ピクチャ、過去方
向に再生されるべき画像との時間相関特性を用いて圧縮
されているPredictive(P)ピクチャ、時間相関特性を用
いず、一フレーム分の画像内での空間周波数特性を利用
して圧縮されているIntra(Iピクチャのうち何れかに変
換される。本図においてB,P,Iピクチャは均等な大きさ
で示しているが、これらのデータサイズはバラバラであ
ることに留意されたい。時間相関特性を用いて圧縮され
ているPピクチャおよびBピクチャをデコードするには、
過去方向および未来方向に再生されるべき画像を参照せ
ねばならない。例えばBピクチャのデコードは、参照先
である未来の画像のデコードが終わるのを待たねばなら
ない。
Picture data to be displayed in such a video frame is input to the decoder by the reproduction start time of the video frame as shown in FIG. 5A, and is buffered by the decoder at the reproduction start time. Must be taken from. The compression in accordance with the MPEG standard is a compression using the spatial frequency characteristic in the image for one frame and the temporal correlation characteristic with the image to be reproduced in the past and the future. , Each picture data is compressed by using the time correlation characteristic with the image to be reproduced in the past direction and the future direction.
Predictively (P) picture that is compressed using the temporal correlation characteristic with the image to be played in the past direction, the space within the image for one frame without using the temporal correlation characteristic Intra (converted to one of I pictures compressed using frequency characteristics. In this figure, B, P, and I pictures are shown with equal sizes, but these data sizes are different. Note that to decode P and B pictures that have been compressed using the temporal correlation property,
We have to refer to the images to be played in the past and future directions. For example, when decoding a B picture, it is necessary to wait until the decoding of a future image that is a reference destination is completed.

【0032】そこで、MPEGのビデオストリームでは、各
ピクチャの表示順序(display order)を規定するとと
もに、各ピクチャの符号化順序(coding order)を規定
している。図5(a)における2段目、3段目は、表示順
序に配されたピクチャデータと、符号化順序に配された
ピクチャデータとを示す。図5(a)においてBピクチ
ャの参照先は、未来に再生されるべきIピクチャである
ことがわかる。表示順序では、このIピクチャは、Bピク
チャより後に存在するが、BピクチャはこのIピクチャと
の相関特性を利用して圧縮されているので、Bピクチャ
のデコードは、このIピクチャがデコードされるのを待
たねばならない。そのため符号化順序では、このIピク
チャのデコードをBピクチャより前に規定している。符
号化順序から表示順序への順番の入れ替えはリオーダと
呼ばれる。
Therefore, in the MPEG video stream, the display order of each picture is defined, and the coding order of each picture is defined. The second and third rows in FIG. 5A show the picture data arranged in the display order and the picture data arranged in the coding order. In FIG. 5A, it can be seen that the reference destination of the B picture is an I picture to be reproduced in the future. In the display order, this I picture exists after the B picture, but since the B picture is compressed by utilizing the correlation characteristic with this I picture, this B picture is decoded by this I picture. I have to wait for. Therefore, in the encoding order, the decoding of this I picture is specified before the B picture. Swapping the order from the coding order to the display order is called reordering.

【0033】図5(a)における3段目に示すように、
各ピクチャデータは、符号化順序に配された状態で約2K
Byte単位に分割され、最下段に示すように、ビデオパッ
ク列に格納される。またPピクチャおよびBピクチャのみ
を連続して使用すると、特殊再生などでストリーム途中
からのデコードを行う場合に問題が生じるので、ピクチ
ャデータには約0.5秒毎にIピクチャが挿入されている。
このIピクチャを先頭として、次のIピクチャ先頭までの
ピクチャデータ列はGOP(Group of Pictures)と呼ばれ、
MPEGでの一圧縮単位としてMPEG規格のシステム層に定義
されている。図5(a)の3段目における"|"記号はGOP
の境界を示す。GOPでは、display orderにおいて一番最
後に位置するピクチャデータのピクチャタイプがPピク
チャであり、codingorderで一番最初に位置するピクチ
ャデータのピクチャタイプがIピクチャでなければなら
ない。
As shown in the third row of FIG. 5 (a),
Each picture data is about 2K when arranged in the encoding order.
It is divided into Byte units and is stored in the video pack sequence as shown in the bottom row. Further, if only P pictures and B pictures are continuously used, a problem will occur when decoding is performed from the middle of the stream for special playback, so I pictures are inserted into the picture data approximately every 0.5 seconds.
The picture data string from this I picture to the beginning of the next I picture is called GOP (Group of Pictures).
It is defined in the system layer of the MPEG standard as one compression unit in MPEG. The "|" symbol in the third row of Fig. 5 (a) is GOP
Indicates the boundary of. In GOP, the picture type of the picture data located at the end in the display order must be P picture, and the picture type of the picture data located at the beginning in the coding order must be I picture.

【0034】(1-2-2)オーディオストリーム オーディオストリームは、Dolby-AC3方式、MPEG方式、L
PCM方式で圧縮されているデータのうち、1つである。オ
ーディオストリームはビデオストリームと同様、固有の
フレーム周期を有するオーディオフレームにて再生され
る。図5(b)は、オーディオフレームとオーディオデ
ータとの対応を示す図である。具体的にいうと、オーデ
ィオストリームの再生周期(オーディオフレーム)はDo
lby AC3の1フレームは32msec、MPEGの1フレームは24mse
c、LPCMの1フレームは約1.67msec(正確には1/600sec)
である。
(1-2-2) Audio Stream The audio stream is Dolby-AC3 system, MPEG system, L
This is one of the data compressed by the PCM method. Like the video stream, the audio stream is reproduced with audio frames having a unique frame period. FIG. 5B is a diagram showing the correspondence between audio frames and audio data. Specifically, the playback cycle (audio frame) of the audio stream is Do
One frame of lby AC3 is 32msec, one frame of MPEG is 24mse
c, 1 frame of LPCM is about 1.67 msec (correctly 1/600 sec)
Is.

【0035】図5(b)の最上段は、オーディオフレー
ムの一例を示している。本図において"<"記号は、ビデ
オフレームの再生開始時刻を示し、">"記号はオーディ
オフレームの再生終了時刻を示している(以降オーディ
オフレームは、このような表記を持って図示する。)。
このようなオーディオフレームにて表示されるべきオー
ディオデータは、図5(b)に示すように、そのオーデ
ィオフレームの再生開始時刻より前にデコーダに入力さ
れて、再生開始時刻においてデコーダによりバッファか
ら取り出されねばならない。
The uppermost row of FIG. 5B shows an example of an audio frame. In the figure, the "<" symbol indicates the reproduction start time of the video frame, and the ">" symbol indicates the reproduction end time of the audio frame (hereinafter, the audio frame is illustrated with such notation). .
Audio data to be displayed in such an audio frame is input to the decoder before the reproduction start time of the audio frame and is taken out of the buffer by the decoder at the reproduction start time, as shown in FIG. 5B. I have to do it.

【0036】図5(b)の下段は、各オーディオフレー
ムで再生されるべきオーディオデータがオーディオパッ
クにどのように格納されるかの一例を示す図である。本
図においてオーディオフレームf81,f82にて再生される
べきオーディオデータはオーディオパックA71に格納さ
れており、オーディオフレームf84にて再生されるべき
オーディオデータはその次のオーディオパックA72に、
オーディオフレームf86,f87にて再生されるべきオーデ
ィオデータはその次のオーディオパックA73に格納され
ている。ここでオーディオフレームf83にて再生される
べきオーディオデータは先行すべきオーディオパックA7
1と、後続すべきオーディオパックA72とに分割された状
態で格納されている。同じくオーディオフレームf85に
て再生されるべきオーディオデータも先行すべきオーデ
ィオパックA72と、後続すべきオーディオパックA73とに
分割された状態で格納される。このように1つのオーデ
ィオフレームで再生されるべきオーディオデータが分割
された状態で2つのオーディオパックに格納されている
のは、オーディオフレーム、ビデオフレームの境界と、
パックの境界とが一致しないことを意味している。この
ような境界の不一致が現れるのは、MPEG規格においてパ
ックのデータ構造は、ビデオストリーム、オーディオス
トリームのデータ構造と非依存だからである。
The lower part of FIG. 5B is a diagram showing an example of how the audio data to be reproduced in each audio frame is stored in the audio pack. In this figure, audio data to be played in audio frames f81 and f82 is stored in audio pack A71, and audio data to be played in audio frame f84 is stored in the next audio pack A72.
The audio data to be reproduced in the audio frames f86 and f87 is stored in the next audio pack A73. Here, the audio data to be played in the audio frame f83 is the audio pack A7 that should precede.
1 and an audio pack A72 to be followed are stored in a divided state. Similarly, the audio data to be reproduced in the audio frame f85 is also stored in a divided state in the audio pack A72 to be preceded and the audio pack A73 to be followed. In this way, the audio data to be played in one audio frame is stored in the two audio packs in a divided state, the boundary between the audio frame and the video frame,
This means that the boundaries of the pack do not match. The reason why such boundary inconsistency appears is that the data structure of the pack is independent of the data structure of the video stream and the audio stream in the MPEG standard.

【0037】(1-2-3)VOBのデータ構造 図4(a)に示すVOB(Video Object)#1,#2,#3・・・・は、
ビデオストリーム、オーディオストリームを多重化する
ことにより得られたISO/IEC13818-1規格準拠のプログラ
ムストリームであって、その終端部にprogram_end_code
が付与されていないものをいう。
(1-2-3) Data structure of VOB VOB (Video Object) # 1, # 2, # 3 ... Shown in FIG.
A program stream conforming to the ISO / IEC13818-1 standard obtained by multiplexing a video stream and an audio stream, with program_end_code at the end.
Is not given.

【0038】図6(a)は、VOBの論理フォーマットを
段階的に詳細化した図である。即ち、本図において上段
に位置する論理フォーマットは、その下段に位置する論
理フォーマットを詳細化したものである。本図において
1段目に位置するビデオストリームは、その2段目に示す
ように図5(a)に示した複数のGOPに分割される。図
5(a)に示したように、GOP単位のピクチャデータ
は、2KByte単位に複数に分割される。一方、1段目の右
側に位置するオーディオストリームは、図5(b)同
様、3段目に示すように約2KByte単位に複数に分割され
る。2KByteに分割されたGOP単位のピクチャデータは、
約2KByte単位に分割されたオーディオストリームとイン
ターリーブ多重化されて、4段目に示すパック列を形成
している。このようなパック列は、5段目に示す複数のV
OBU(Video Object Unit)を形成しており、6段目に示
すVOBは複数のVOBUが時系列に配列された構成を持つこ
とがわかる。本図における破線に示す引き出し線は、下
段の論理フォーマットがその上段の論理フォーマット内
のどの部分を詳細化したかを明確にしている。この表記
に基づいて図中の破線を参照すると、5段目におけるVOB
Uは、4段目に示したパック列に対応しており、更に2段
目に示すGOP単位のピクチャデータに対応している。
FIG. 6A is a diagram in which the logical format of the VOB is detailed step by step. That is, in the figure, the upper logical format is a detailed version of the lower logical format. In this figure
The video stream located in the first row is divided into a plurality of GOPs shown in FIG. 5A as shown in the second row. As shown in FIG. 5A, the GOP unit picture data is divided into a plurality of 2 KByte units. On the other hand, the audio stream located on the right side of the first row is divided into a plurality of units of about 2 KByte as shown in the third row, as in FIG. 5B. The GOP unit picture data divided into 2KByte is
It is interleaved and multiplexed with an audio stream divided into units of about 2 KBytes to form a pack string shown in the fourth row. Such a pack row has a plurality of Vs shown in the fifth row.
It can be seen that an OBU (Video Object Unit) is formed, and the VOB shown in the sixth row has a configuration in which multiple VOBUs are arranged in time series. The lead lines shown by the broken lines in this figure clarify which part of the upper logical format is detailed by the lower logical format. Referring to the broken line in the figure based on this notation, VOB at the fifth stage
U corresponds to the pack row shown in the fourth row and further corresponds to the picture data in GOP units shown in the second row.

【0039】破線に示した対応関係からも明らかなよう
に、VOBUとは、その再生時間が約0.4秒〜1.0秒となるピ
クチャデータからなる少なくとも1つ以上のGOPと、こ
のピクチャデータと共に多重化されているオーディオデ
ータを含む単位であり、MPEG規格におけるビデオパック
−オーディオパックを配列して構成されていることがわ
かる。MPEG規格においてGOPという単位はシステム層で
定義されているものであるが、GOPにより指示されるの
は図6(a)の2段目に示すようにビデオデータのみで
あり、これと多重化されているオーディオデータや他の
データ(副映像データや制御データ等がある。)はGOP
では指示されない。これを補間する狙いで、DVD-RAM規
格では、GOPに相当する単位としてVOBUを設け、その再
生時間が約0.4秒〜1.0秒となるピクチャデータからなる
少なくとも1つ以上のGOPと、このピクチャデータと共
に多重化されているオーディオデータとをひとまとまり
に称呼できるようにしている。
As is clear from the correspondence shown by the broken line, VOBU is multiplexed with at least one GOP consisting of picture data whose reproduction time is approximately 0.4 seconds to 1.0 seconds and this picture data. It is a unit that includes audio data that has been recorded, and it can be seen that it is configured by arranging a video pack and an audio pack in the MPEG standard. In the MPEG standard, a unit called GOP is defined in the system layer, but GOP indicates only video data as shown in the second row of FIG. 6A, and is multiplexed with this. Audio data and other data (including sub-picture data and control data, etc.) are GOP
Is not instructed. In order to interpolate this, in the DVD-RAM standard, VOBU is provided as a unit equivalent to GOP, and at least one GOP consisting of picture data whose playback time is approximately 0.4 seconds to 1.0 seconds and this picture data With this, the audio data multiplexed together can be collectively called.

【0040】VOBは、VOBUを最小単位として部分削除さ
れる。例えば、VOBとしてDVD-RAMに記録されたビデオス
トリーム内にコマーシャル等記録価値がない映像が含ま
れているものとする。上記VOBにおけるVOBUは、そのコ
マーシャルを構成する1つ以上のGOPと、このピクチャ
データと共に多重化されているオーディオデータとを含
んでいるので、VOBを構成する複数VOBUのうち、そのコ
マーシャルに相当する部位のみを削除すれば、VOBの再
生時に上記のような記録価値の無い映像を視聴しなくて
済む。また、たとえ1つのVOBUが削除されたとしても、
その前後におけるVOBUは、GOP単位にビデオストリーム
が存在し、その先頭にIピクチャが挿入されているの
で、正常なデコード及び再生が可能である。図6(b)
は、VOBが部分削除される様子の一例を示す図である。
本図においてVOBはVOBU#1、VOBU#2、VOBU#3、VOBU#
4・・・・・VOBU#7からなる。このうちVOBU#2、VOBU#4、
VOBU#6の部分削除が命じられると、2段目に示すよう
にDVD-RAMにおいてこれらVOBUが占めている領域は空き
領域に解放され、2段目に示すようにVOBU#1、VOBU#
3、VOBU#5、VOBU#7の順で再生されることになる。
The VOB is partially deleted with the VOBU as the minimum unit. For example, it is assumed that a video stream recorded on a DVD-RAM as a VOB includes an image having no recording value such as a commercial. The VOBU in the VOB includes one or more GOPs forming the commercial and audio data multiplexed with the picture data, and thus corresponds to the commercial among the plurality of VOBUs forming the VOB. If you delete only the part, you will not have to watch the above-mentioned video that is not worth recording when playing VOB. Also, even if one VOBU is deleted,
In the VOBUs before and after that, a video stream exists in GOP units and an I picture is inserted at the beginning of the VOBU, so normal decoding and reproduction are possible. Figure 6 (b)
FIG. 8 is a diagram showing an example of how a VOB is partially deleted.
In this figure, VOB is VOBU # 1, VOBU # 2, VOBU # 3, VOBU #
4 ... consists of VOBU # 7. Of these, VOBU # 2, VOBU # 4,
When the partial deletion of VOBU # 6 is ordered, the area occupied by these VOBUs in the DVD-RAM is released to a free area as shown in the second row, and VOBU # 1 and VOBU # as shown in the second row.
3, VOBU # 5, and VOBU # 7 will be played in this order.

【0041】VOBUに含まれているビデオパック、オーデ
ィオパックは、何れも2Kbyteのデータ長を有する。この
2KByteというサイズは、DVD-RAMのセクタサイズと一致
している。そのため、ビデオパック-オーディオパック
は、それぞれのセクタに1対1の割合で記録される。ビデ
オパック−オーディオパックの配列は、論理セクタ列の
並びと等価になり、これらのパックに格納されているデ
ータがDVD-RAMから読み出される。即ち、ビデオパック
−オーディオパックの配列は、DVD-RAMからの読出順序
を意味している。各ビデオパックは約2KByteの格納容量
を有しており、例えば1VOBU当たりのビデオストリーム
のデータサイズは、数100KByteであるので、上記ビデオ
ストリームが数100個のビデオパックに分割されて格納
されることになる。
The video pack and audio pack included in the VOBU each have a data length of 2 Kbytes. this
The size of 2KByte matches the sector size of DVD-RAM. Therefore, the video pack-audio pack is recorded at a ratio of 1: 1 in each sector. The arrangement of video pack-audio pack is equivalent to the arrangement of logical sector columns, and the data stored in these packs is read from the DVD-RAM. That is, the arrangement of video pack-audio pack means the order of reading from DVD-RAM. Each video pack has a storage capacity of about 2 KBytes. For example, the data size of a video stream per VOBU is several 100 KBytes, so the above video stream should be divided and stored in several hundred video packs. become.

【0042】(1-2-3-1)ビデオパック、オーディオパッ
クのデータ構造 図6(c)〜図6(e)は、VOBUに格納されるべきビデ
オパック及びオーディオパックの論理フォーマットを示
す図である。一般的にMPEGシステムストリームでは1パ
ック内に複数パケットが挿入されるが、DVD-RAM規格で
はパック内に挿入されるべきパケット数を1つのみに制
限することを基本としている。図6(c)は、VOBUの先
頭に配されるビデオパックの論理フォーマットを示す図
であり、本図においてVOBUにおける先頭ビデオパック
は、パックヘッダと、システムヘッダと、パケットヘッ
ダと、ビデオストリームの一部分であるビデオデータと
から構成されることがわかる。
(1-2-3-1) Data Structure of Video Pack and Audio Pack FIGS. 6 (c) to 6 (e) are diagrams showing the logical formats of the video pack and audio pack to be stored in the VOBU. Is. Generally, multiple packets are inserted in one pack in the MPEG system stream, but the DVD-RAM standard basically limits the number of packets to be inserted in one pack to one. FIG. 6C is a diagram showing a logical format of a video pack arranged at the head of the VOBU. In this figure, the head video pack in the VOBU is a pack header, a system header, a packet header, and a video stream. It can be seen that it is composed of a part of video data.

【0043】図6(d)は、VOBUにおいて先頭以外に配
されるビデオパックの論理フォーマットを示す図であ
り、本図においてVOBUにおいて先頭以外に配されるビデ
オパックは、システムヘッダを排した構成になってお
り、パックヘッダと、パケットヘッダと、ビデオデータ
とから構成されることがわかる。図6(e)は、オーデ
ィオパックの論理フォーマットを示す図であり、本図に
おいてオーディオパックは、パックヘッダと、パケット
ヘッダと、本パックに含まれるオーディオストリームの
圧縮方式がLinear-PCM方式ものであるか、Dolby-AC3方
式のものであるかを示すsub_stream_idと、その圧縮方
式にて圧縮されたオーディオストリームの一部分とから
構成されることがわかる。
FIG. 6 (d) is a diagram showing the logical format of the video packs other than the beginning of the VOBU. In this figure, the video packs other than the beginning of the VOBU have the system header removed. It can be seen that it is composed of a pack header, a packet header, and video data. FIG. 6E is a diagram showing a logical format of an audio pack. In this figure, the audio pack is a pack header, a packet header, and a compression method of an audio stream included in this pack is a Linear-PCM method. It can be seen that it is composed of a sub_stream_id indicating whether there is a Dolby-AC3 system and a part of the audio stream compressed by the compression system.

【0044】(1-2-3-2-1)VOB内におけるバッファ制御 ビデオストリーム、オーディオストリームは以上のよう
にしてビデオパック、オーディオパックに格納される。
しかしVOBを途切れなく再生させるには、ビデオデー
タ、オーディオデータを単にビデオパック、オーディオ
パックに格納するだけでは足りず、バッファ制御の連続
性を保証されるようにビデオパック、オーディオパック
の配置を配慮しなけばならない。ここでいうバッファと
は、デコーダの前段においてビデオストリーム、オーデ
ィオストリームを一時的に格納する入力バッファ(以降
ビデオバッファ、オーディオバッファという。図19に
おけるビデオバッファ4b、オーディオバッファ4d参
照)であり、バッファ制御の連続性とは、各入力バッフ
ァがオーバーフロー及びアンダーフローしないようにバ
ッファへの入出力を制御することである。具体的な説明
は後述するが、エンコーダがMPEGストリームにて規定さ
れたタイムスタンプ(データの入力、出力、表示時刻を
示す)を図6(d)、図6(e)に示したパックヘッ
ダ、パケットヘッダに付与することによりバッファ制御
は実現される。ビデオバッファ、オーディオバッファに
アンダーフロー又はオーバーフローが発生すれば、ビデ
オストリーム、オーディオストリームの再生が否応無し
に途切れることになる。これらを防止するため、バッフ
ァ制御の連続性の保証は重要な意味合いを持つ。
(1-2-3-2-1) Buffer control video stream and audio stream in VOB are stored in the video pack and audio pack as described above.
However, in order to play the VOB without interruption, it is not enough to simply store the video data and audio data in the video pack and audio pack, and the arrangement of the video pack and audio pack is considered so that the continuity of buffer control is guaranteed. I have to do it. The buffer mentioned here is an input buffer (hereinafter referred to as a video buffer and an audio buffer, which temporarily stores a video stream and an audio stream in the preceding stage of the decoder. Refer to the video buffer 4b and the audio buffer 4d in FIG. 19) and buffer control. Is the control of input / output to / from each buffer so that each input buffer does not overflow or underflow. Although a detailed description will be given later, the encoder shows the time stamps (indicating data input, output, and display time) defined in the MPEG stream as shown in FIGS. 6D and 6E. Buffer control is realized by adding the packet header. If an underflow or an overflow occurs in the video buffer or audio buffer, the reproduction of the video stream or audio stream will be inevitably interrupted. To prevent these, guaranteeing the continuity of buffer control has important implications.

【0045】各オーディオデータには、それが再生され
るべきオーディオフレームの再生開始時刻までにオーデ
ィオバッファに転送され、デコードされねばならないと
いう時間制限が課されてるが、オーディオストリームは
固定符号長であり、データ量が少ないので、各オーディ
オフレームでの再生に必要なデータをオーディオパック
に格納して、オーディオバッファに転送することによ
り、上記時間制限に充分対応することができる。
Each audio data has a time limit that it must be transferred to the audio buffer and decoded by the reproduction start time of the audio frame to be reproduced, but the audio stream has a fixed code length. Since the amount of data is small, by storing the data required for reproduction in each audio frame in the audio pack and transferring it to the audio buffer, it is possible to sufficiently meet the above time limit.

【0046】図7(a)は、オーディオバッファの理想
的なバッファ状態を示す図であり、オーディオフレーム
と、オーディオバッファにおけるバッファ占有量とを示
す。本図は、縦軸をバッファ占有量としており、横軸を
時間軸としている。この時間軸の一区切りは、32msec置
きであり、Dolby-AC3方式のオーディオフレームの時間
長と合致する。本グラフを参照すると、バッファ占有量
が"ノコギリ波状"に変化していることがわかる。
FIG. 7A is a diagram showing an ideal buffer state of the audio buffer, showing an audio frame and a buffer occupation amount in the audio buffer. In this figure, the vertical axis represents the buffer occupation amount and the horizontal axis represents the time axis. This time axis is separated by 32 msec, which matches the time length of the Dolby-AC3 audio frame. By referring to this graph, it can be seen that the buffer occupancy changes in a "sawtooth waveform".

【0047】ノコギリを構成する三角形の高さは、各オ
ーディオフレームにて再生されるオーディオストリーム
のデータ量を意味している。各三角形の傾きは、オーデ
ィオストリームの転送レートを意味する。全オーディオ
フレームにおいてこの転送レートは同一である。本図に
おける三角形は、各オーディオデータが、自身が再生さ
れるべきオーディオフレームの1つ前のオーディオフレ
ームの表示期間中(32msec)に一定の転送レートでオーデ
ィオバッファに蓄積され、当該1つ前のオーディオフレ
ームの再生終了時刻(このオーディオデータにとっては
デコード時刻を意味する。)においてオーディオバッフ
ァから瞬時に取り出されることを意味する。上記"ノコ
ギリ波状"の変化は、上記蓄積から取り出しまでの処理
が、延々と繰り返されていることを意味する。
The height of the triangle forming the saw means the data amount of the audio stream reproduced in each audio frame. The inclination of each triangle means the transfer rate of the audio stream. This transfer rate is the same in all audio frames. The triangles in this figure indicate that each audio data is accumulated in the audio buffer at a constant transfer rate during the display period (32 msec) of the audio frame one before the audio frame in which it should be played back. This means that the audio frame is instantaneously taken out from the audio buffer at the reproduction end time (which means the decoding time for this audio data). The above-mentioned "sawtooth wavy" change means that the processes from the accumulation to the extraction are repeated endlessly.

【0048】例えば、時刻T1においてオーディオバッフ
ァへのオーディオストリームの転送が始まるとする。こ
のオーディオデータは、時刻T2にて再生されるべきもの
であり、このオーディオデータが転送されることにより
時刻T1から時刻T2までの間にオーディオバッファの蓄積
量は徐々に増加してゆく。転送されたオーディオデータ
はオーディオフレームの再生終了時刻にて出力されるの
で、オーディオバッファ内のオーディオデータは消尽し
たことになり、オーディオバッファのバッファ占有量は
0に戻る。図7(a)では、同様の繰り返しが時刻T2−
時刻T3、時刻T3−時刻T4にて行われる。
For example, assume that the transfer of the audio stream to the audio buffer starts at time T1. This audio data is to be reproduced at time T2, and the transfer amount of this audio data causes the accumulated amount of the audio buffer to gradually increase from time T1 to time T2. Since the transferred audio data is output at the playback end time of the audio frame, the audio data in the audio buffer has been exhausted, and the buffer occupancy of the audio buffer is
Return to 0. In FIG. 7A, the same repetition is performed at time T2-
It is performed at time T3, time T3-time T4.

【0049】予め断った通り、図7(a)のバッファ状
態は各オーディオフレームで再生されるべきオーディオ
データが一つのオーディオパックに格納されているとい
う前提にて記載した理想的なバッファ状態であり、現実
には、図5(b)に示したように複数のオーディオフレ
ームで再生されるべき複数のオーディオデータが一つの
オーディオパックに格納されることが一般的である。図
7(b)は、より現実的なバッファ状態を示す図であ
る。本図におけるオーディオパックA31はオーディオフ
レームf21,f22,f23の再生終了時刻にデコードされるべ
きオーディオデータA21,A22,A23をその内部に格納して
いる。これらのオーディオデータのうち、オーディオデ
ータA21はオーディオフレームf21の再生終了時刻にてデ
コードされ、その後、オーディオフレームf22,f23の再
生終了時刻にてオーディオデータA22,A23がデコードさ
れていることがわかる。オーディオパックに格納されて
いるオーディオフレームのうち、最も早くデコードされ
るべきなのはオーディオデータA21であり、本オーディ
オデータは、オーディオフレームf21の再生終了時刻に
てデコードされるべきなので、このオーディオパック
は、このオーディオフレームf21の表示期間中にてDVD-R
AMから読み出されるべきである。
As previously noted, the buffer state of FIG. 7A is an ideal buffer state described on the assumption that audio data to be reproduced in each audio frame is stored in one audio pack. In reality, as shown in FIG. 5B, it is general that a plurality of audio data to be reproduced in a plurality of audio frames are stored in one audio pack. FIG. 7B is a diagram showing a more realistic buffer state. The audio pack A31 in this figure stores therein audio data A21, A22, A23 to be decoded at the reproduction end time of the audio frames f21, f22, f23. It can be seen that, of these audio data, the audio data A21 is decoded at the reproduction end time of the audio frame f21, and then the audio data A22, A23 is decoded at the reproduction end time of the audio frames f22, f23. Of the audio frames stored in the audio pack, the earliest one that should be decoded is the audio data A21, and this audio data should be decoded at the playback end time of the audio frame f21. DVD-R during the display period of this audio frame f21
Should be read from AM.

【0050】ビデオストリームは、時間相関特性を用い
た圧縮方式の採用によってピクチャタイプ(Iピクチャ、
Pピクチャ、Bピクチャ)毎に必要となる符号量に大きな
差があること、可変符号長にて符号化され、尚且つデー
タ量が大きいことから、各ピクチャデータ、特にIピク
チャの再生に必要なデータの転送を、それが再生される
べきビデオフレームの1つ前のビデオフレームの再生終
了時刻までに完遂することは困難である。
The video stream is picture type (I picture,
There is a large difference in the required code amount for each (P picture, B picture), it is encoded with a variable code length, and since the data amount is large, it is necessary to reproduce each picture data, especially I picture. It is difficult to complete the data transfer by the playback end time of the video frame immediately before the video frame in which it is to be played.

【0051】図7(c)は、ビデオフレームと、ビデオ
バッファにおけるバッファ占有量とを示す図である。本
図は、縦軸をバッファ占有量としており、横軸を時間軸
としている。この時間軸の一区切りは、33msec置きであ
り、NTSC方式のビデオフレームの時間長と合致する。本
グラフを参照すると、バッファ占有量が"ノコギリ波状"
に変化していることがわかる。
FIG. 7C is a diagram showing a video frame and the buffer occupation amount in the video buffer. In this figure, the vertical axis represents the buffer occupation amount and the horizontal axis represents the time axis. One division of this time axis is every 33 msec, which matches the time length of an NTSC video frame. Referring to this graph, the buffer occupancy is "sawtooth"
You can see that it has changed to.

【0052】ノコギリを構成する三角形の高さは、各ビ
デオフレームにて再生されるビデオストリームのデータ
量を意味しており、このデータ量はビデオフレームにお
いてバラバラである。このようにデータ量がバラバラな
のは、画像の複雑さに応じた動的な符号量割り当てを行
っているからである。各三角形の傾きは、ビデオストリ
ームの転送レートを意味する。ビデオストリームの転送
レートの大雑把な値は、トラックバッファの出力レート
から、オーディオストリームの出力レートを減じること
により算出される。全フレーム周期においてこの転送レ
ートは同一である。
The height of the triangles forming the saw means the amount of data of the video stream reproduced in each video frame, and the amount of data varies among the video frames. The amount of data is thus different because the amount of code is dynamically assigned according to the complexity of the image. The inclination of each triangle means the transfer rate of the video stream. The rough value of the transfer rate of the video stream is calculated by subtracting the output rate of the audio stream from the output rate of the track buffer. This transfer rate is the same in all frame periods.

【0053】本図における三角形は、各ピクチャデータ
が、自身が再生されるべきビデオフレームの1つ前のビ
デオフレームの表示期間中に(33msec)一定の転送レート
でビデオバッファに蓄積され、当該1つ前のビデオフレ
ームの再生終了時刻(このピクチャデータにとってはデ
コード時刻を意味する。)においてビデオバッファから
瞬時に取り出されることを意味する。上記"ノコギリ波
状"の変化は、上記蓄積から取り出しまでの処理が、延
々と繰り返されていることを意味する。
The triangles in the figure indicate that each picture data is accumulated in the video buffer at a constant transfer rate (33 msec) during the display period of the video frame immediately preceding the video frame to be reproduced. This means that the video is instantaneously taken out from the video buffer at the reproduction end time of the immediately preceding video frame (which means the decoding time for this picture data). The above-mentioned "sawtooth wavy" change means that the processes from the accumulation to the extraction are repeated endlessly.

【0054】あるビデオフレームにおいて表示すべき画
像が複雑な場合は、この画像により多くの符号量を割り
当てる必要がある。このように多くの符号量を割り当て
ると、そのデータ量も膨大となるため、ビデオバッファ
へのデータの備蓄も、かなり早めに行っておく必要があ
る。一般に、各ピクチャデータのビデオバッファへの転
送開始時刻からピクチャデータのデコード時刻までの時
間長は「VBV(Video Buffer Verify) delay」と呼ばれ
る。絵柄が複雑であり、より多くの符号量が割り当てら
れている画像程、この「VBV delay」は大きくなる傾向
にある。
When the image to be displayed in a certain video frame is complicated, it is necessary to allocate a larger code amount to this image. When a large amount of code is allocated in this way, the amount of data also becomes enormous, so it is necessary to store data in the video buffer fairly early. Generally, the time length from the transfer start time of each picture data to the video buffer to the decoding time of the picture data is called “VBV (Video Buffer Verify) delay”. This “VBV delay” tends to increase as the image has a more complicated pattern and is assigned a larger code amount.

【0055】図7(c)を参照すると、ビデオフレーム
の再生終了時刻T16にてデコードされるピクチャデータ
の転送は、時刻T11から始まっていることがわかる。そ
の一方、時刻T12では、時刻T18にてデコードされるピク
チャデータの転送が始まっていることがわかる。同様
に、時刻T14、時刻T15、時刻T17では、時刻T19、時刻T2
0、時刻T21にてデコードされるピクチャデータの転送が
始まっていることがわかる。
Referring to FIG. 7C, it can be seen that the transfer of the picture data decoded at the reproduction end time T16 of the video frame starts from time T11. On the other hand, at time T12, it can be seen that the transfer of the picture data decoded at time T18 has started. Similarly, at time T14, time T15, and time T17, time T19 and time T2
It can be seen that the transfer of the decoded picture data has started at 0 and time T21.

【0056】図7(d)は、各ピクチャデータの転送時
間をより詳細に説明するための説明図である。図7
(c)に基づいて考えると、図7(d)において時刻T2
4にてデコードされるべきピクチャデータの転送は、「V
BV delay」の開始時刻T23から次のビデオフレームにて
再生されるべき画像の転送が始まるまでの時間「Tf_Peri
od」内に完遂しているといえる。この時間以降における
バッファ占有量の増加は、次のビデオフレームにて再生
されるべき画像の転送がもたらすものである。
FIG. 7D is an explanatory diagram for explaining the transfer time of each picture data in more detail. Figure 7
Considering based on (c), time T2 in FIG.
Transfer of picture data to be decoded in 4
Time from the start time T23 of "BV delay" to the start of the transfer of the image to be played in the next video frame "Tf_Peri
It can be said that it has been completed in "od". The increase in the buffer occupancy after this time is caused by the transfer of the image to be reproduced in the next video frame.

【0057】ビデオバッファに蓄積されたピクチャデー
タは、そのピクチャデータをデコードすべき時刻T24を
待つ。デコード時刻T24で画像Aのデコードが行われる
と、ビデオバッファ内のピクチャデータは消尽したこと
になり、バッファ占有量が減少する。以上のことを考え
ると、あるオーディオフレームで再生されるべきオーデ
ィオデータの転送は、それが再生されるべきオーディオ
フレームの1フレーム前程度に始まれば充分であるが、
あるビデオフレームでの転送は、それがデコードされる
べき時刻よりかなり前に始まらなければならない。つま
り、あるオーディオフレームにて再生されるべきオーデ
ィオデータは、そのオーディオフレームより時間的にか
なり未来のビデオフレームにて再生されるべきピクチャ
データとほぼ同時刻にオーディオバッファへと入力され
なければならないのである。このことが意味するのは、
ビデオストリーム及びオーディオストリームを多重化し
たMPEGストリームでは、オーディオデータよりピクチャ
データが先行した状態で多重化が行われ、VOBU内のビデ
オデータとオーディオデータとではオーディオデータ
と、未来に再生されるべきビデオデータとが多重化され
るという事実である。
The picture data stored in the video buffer waits for a time T24 at which the picture data should be decoded. When the image A is decoded at the decoding time T24, the picture data in the video buffer is exhausted, and the buffer occupancy decreases. Considering the above, it is sufficient that the transfer of audio data to be played in a certain audio frame starts about one frame before the audio frame to be played,
The transfer in a video frame must start well before the time it should be decoded. That is, the audio data to be played in a certain audio frame must be input to the audio buffer at approximately the same time as the picture data to be played in a video frame that is considerably future in time from the audio frame. is there. This means that
In an MPEG stream in which a video stream and an audio stream are multiplexed, multiplexing is performed in a state where picture data precedes audio data, and the video data and audio data in the VOBU are audio data and the video to be reproduced in the future. This is the fact that data and data are multiplexed.

【0058】VOBにおける複数のビデオパック、オーデ
ィオパックの配列は、これらのパックに格納されている
データの転送順序を意味していることは既に説明した。
そのため、あるオーディオフレームにて再生されるべき
オーディオデータと、そのオーディオフレームより時間
的にかなり未来のビデオフレームにて再生されるべきピ
クチャデータとをほぼ同時刻に読み出すには、それらオ
ーディオデータ、ピクチャデータを格納したオーディオ
パック、ビデオパックをVOBにおいて近傍位置に配置す
れば良いのである。
It has already been explained that the arrangement of a plurality of video packs and audio packs in the VOB means the transfer order of the data stored in these packs.
Therefore, in order to read out the audio data to be played in a certain audio frame and the picture data to be played in a video frame that is considerably future in time from the audio frame at approximately the same time, the audio data and the picture The audio pack and the video pack storing the data may be arranged in the vicinity of the VOB.

【0059】図8(a)は、各オーディオフレームにて
再生されるべきオーディオデータを格納したオーディオ
パックと、各ビデオフレームにて再生されるべきピクチ
ャデータを格納したビデオパックとをどのように格納す
ればよいかを示す図である。本図では、中央に"V","A"
を配した縦長、横長の矩形は、それぞれビデオパック、
オーディオパックを示している。図8(b)は、この矩
形の縦幅、横幅が何を意味するかを示す図である。矩形
の縦幅は、パックのビットレートを示しており、横幅は
パックの転送時間を意味している。縦長の矩形で示され
たパックは、高いビットレートで比較的短期間にバッフ
ァに入力されるパックを示し、横長の矩形で示されたパ
ックは、低いビットレートで比較的長期間をかけてバッ
ファに入力されるパックを示す。
FIG. 8A shows how an audio pack storing audio data to be reproduced in each audio frame and a video pack storing picture data to be reproduced in each video frame are stored. It is a figure which shows what should be done. In this figure, "V" and "A" are shown in the center.
The vertical and horizontal rectangles with are the video pack,
Shows an audio pack. FIG. 8B is a diagram showing what the vertical width and the horizontal width of this rectangle mean. The vertical width of the rectangle shows the bit rate of the pack, and the horizontal width means the transfer time of the pack. Packs indicated by vertical rectangles are packs that are input to the buffer at a high bit rate in a relatively short period of time, and packs indicated by horizontal rectangles are buffers that are input at a low bit rate over a relatively long period of time. Indicates the pack to be input to.

【0060】本図において時刻T11にデコードが行われ
るピクチャデータV11は、期間k11内に転送が行われる。
この期間k11においてオーディオデータA11の転送及びデ
コードが行われるので、図8(a)の下段に示すよう
に、ピクチャデータV11を格納したビデオパックと、オ
ーディオデータA11を格納したオーディオパックとが近
傍位置に配置される。
In the figure, the picture data V11 to be decoded at time T11 is transferred within the period k11.
Since the audio data A11 is transferred and decoded in this period k11, as shown in the lower part of FIG. 8A, the video pack storing the picture data V11 and the audio pack storing the audio data A11 are close to each other. Is located in.

【0061】本図において時刻T12にデコードが行われ
るピクチャデータV12は、期間k12内に転送が行われる。
この期間k12においてオーディオデータA12の転送及びデ
コードが行われるので、図8(a)の最下段に示すよう
に、ピクチャデータV12を格納したビデオパックと、オ
ーディオデータA12を格納したオーディオパックとが近
傍位置に配置される。
In the figure, the picture data V12 decoded at time T12 is transferred within the period k12.
Since the audio data A12 is transferred and decoded in this period k12, the video pack storing the picture data V12 and the audio pack storing the audio data A12 are close to each other, as shown in the lowermost part of FIG. Placed in position.

【0062】同様に、オーディオデータA13,A14,A15
も、これらの出力時刻に転送が開始されるピクチャデー
タV13,V14の近傍に配置される。尚、ピクチャデータV16
のように、符号量の多いピクチャデータをビデオバッフ
ァに蓄積しようとする場合、その転送期間であるk16中
に複数のオーディオデータA15,A16,A17が多重化され
る。
Similarly, audio data A13, A14, A15
Is also arranged in the vicinity of the picture data V13 and V14, the transfer of which is started at these output times. The picture data V16
As described above, when attempting to store picture data with a large code amount in the video buffer, a plurality of audio data A15, A16, A17 are multiplexed during k16 which is the transfer period.

【0063】図9は、複数のオーディオフレームにて再
生されるべき複数オーディオデータを格納したオーディ
オパックと、各ビデオフレームにて再生されるべきピク
チャデータを格納したビデオパックとをどのように格納
すればよいかを示す図である。本図においてオーディオ
パックA31は、オーディオフレームf21,f22,f23で再生さ
れるべきオーディオデータA21,A22,A23をその内部に格
納したオーディオパックである。このオーディオパック
に格納されているオーディオデータのうち、最も早くデ
コードされるべきなのはオーディオデータA21である。
本オーディオデータは、オーディオフレームf20の再生
終了時刻にてデコードされるべきなので、このオーディ
オフレームf20と同時期(期間k11)に転送が行われるピ
クチャデータV11と共にDVD-RAMから読み出されるべきで
ある。そのため、図9の最下段に示すように、ピクチャ
データV11を格納したビデオパックの近傍位置に配置さ
れる。
FIG. 9 shows how an audio pack storing a plurality of audio data to be reproduced in a plurality of audio frames and a video pack storing picture data to be reproduced in each video frame are stored. FIG. In the figure, an audio pack A31 is an audio pack in which audio data A21, A22, A23 to be reproduced in audio frames f21, f22, f23 are stored. Of the audio data stored in this audio pack, the earliest to be decoded is the audio data A21.
Since this audio data should be decoded at the reproduction end time of the audio frame f20, it should be read from the DVD-RAM together with the picture data V11 transferred at the same time as this audio frame f20 (period k11). Therefore, as shown at the bottom of FIG. 9, it is arranged in the vicinity of the video pack storing the picture data V11.

【0064】オーディオフレームf24,f25,f26の再生終
了時刻に再生されるべきオーディオデータA24,A25,A26
をその内部に格納したオーディオパックA32は、オーデ
ィオフレームf23と同時期(期間k15)に転送が行われる
ピクチャデータV15と共にDVD-RAMから読み出されるべき
である。そのため、図9の最下段に示すように、ピクチ
ャデータV15を格納したビデオパックの近傍位置に配置
される。
Audio data A24, A25, A26 to be reproduced at the reproduction end time of the audio frames f24, f25, f26
The audio pack A32 in which is stored therein should be read from the DVD-RAM together with the picture data V15 transferred at the same time as the audio frame f23 (period k15). Therefore, as shown at the bottom of FIG. 9, it is arranged in the vicinity of the video pack storing the picture data V15.

【0065】オーディオパックは複数オーディオフレー
ムでデコードされるべきオーディオデータを格納可能で
あり、また、オーディオパックが時間的に未来にデコー
ドされるべきピクチャデータを構成するビデオパックの
近傍位置に配置されるという事実を考えると、同時刻に
デコードされるべきオーディオデータ−ピクチャデータ
は、VOB上においてかなり隔てられたオーディオパック
−ビデオパックに格納されるように思える。しかしそう
ではなく、1秒以上未来にデコードされるピクチャデー
タを格納したビデオパックの近傍位置に同時刻にデコー
ドされるべきオーディオデータが配置されることは有り
得ない。これは、MPEG規格では、バッファ内にデータを
蓄積できる時間の上限が規定されており、全てのデータ
はバッファに入力されてから1秒以内にバッファから取
り出されなければならないという制約があるからであ
る。この制約は、MPEG規格において"1秒ルール"と呼ば
れる。この"1秒ルール"が存在するため、同時刻にデコ
ードされるべきオーディオデータ−ピクチャデータが隔
てられるといっても、ある時刻にデコードされるべきピ
クチャデータを格納したVOBUから最大VOBU3個分の範囲
内に、その同時刻にデコードされるべきオーディオパッ
クは格納される筈である。
The audio pack can store audio data to be decoded in a plurality of audio frames, and the audio pack is arranged in the vicinity of a video pack forming picture data to be decoded temporally in the future. Considering the fact that audio data-picture data to be decoded at the same time seems to be stored in audio packs-video packs that are quite separated on the VOB. However, this is not the case, and audio data that should be decoded at the same time cannot be placed near a video pack that stores picture data that will be decoded in the future for more than 1 second. This is because the MPEG standard defines an upper limit for the time that data can be stored in the buffer, and there is a restriction that all data must be retrieved from the buffer within 1 second after being input to the buffer. is there. This constraint is called the "1 second rule" in the MPEG standard. Since this "1 second rule" exists, even if audio data and picture data that should be decoded at the same time are separated, a maximum of 3 VOBUs from the VOBU that stores the picture data that should be decoded at a certain time. Audio packs to be decoded at the same time should be stored within the range.

【0066】(1-2-3-2-2)VOB間におけるバッファ制御 続いて、2つ以上のVOBを連続して再生する場合におけ
るバッファ制御について説明する。図10(a)は、ビ
デオストリームの先端部におけるバッファ状態を示す図
である。本図のビデオフレームf71の途中に位置するFIR
ST_SCRにてピクチャデータを含むパックの入力が開始さ
れ、ビデオフレームf72の再生終了時刻においてBT2だけ
ビデオバッファに蓄積される。ビデオフレームf73の再
生終了時刻にてピクチャデータはBT3だけビデオバッフ
ァに蓄積される。その後、ビデオフレームf74の再生終
了時刻(以降、FIRST_DTSという。)でビデオデコーダ
により取り出される。このようにVOBの先端部では、先
行するビデオストリームが何も無いから、バッファ状態
は図10(a)に示すように三角形のみを描くのであ
る。尚、本図は、FIRST_SCRにてビデオパックが入力さ
れているという前提で作図しているが、VOBの先頭に位
置するパックが他のパックである場合、FIRST_SCRと、
バッファ状態の増加開始とは一致しない。また、LAST_S
CRがビデオフレームの途中に位置しているのは、パック
のデータ構造とビデオデータのデータ構造とか非依存だ
からである。
(1-2-3-2-2) Buffer control between VOBs Next, the buffer control in the case where two or more VOBs are continuously reproduced will be described. FIG. 10A is a diagram showing a buffer state at the leading end of the video stream. FIR located in the middle of video frame f71 in this figure
At ST_SCR, input of a pack including picture data is started, and only BT2 is stored in the video buffer at the reproduction end time of the video frame f72. At the reproduction end time of the video frame f73, only BT3 of picture data is stored in the video buffer. After that, at the reproduction end time of the video frame f74 (hereinafter referred to as FIRST_DTS), it is taken out by the video decoder. As described above, since there is no preceding video stream at the leading end of the VOB, only the triangle is drawn as the buffer state as shown in FIG. In addition, this figure is drawn on the assumption that the video pack is input in FIRST_SCR, but if the pack located at the beginning of VOB is another pack, FIRST_SCR,
It does not coincide with the start of increasing buffer status. Also, LAST_S
The CR is located in the middle of the video frame because it is independent of the data structure of the pack and the data structure of the video data.

【0067】図10(b)は、ビデオストリームの終端
部におけるバッファ状態を示す図である。本図では、ビ
デオフレームf61の途中に位置するLAST_SCRにてビデオ
バッファへのデータ入力が終了している。その後、蓄積
されたビデオデータはビデオフレームf61の再生終了時
刻にてデータ量Δ3だけビデオバッファから取り出され
る。以降、ビデオフレームf62の再生終了時刻にてデー
タ量Δ4だけだけ取り出され、ビデオフレームf63の再生
終了時刻(以降LAST_DTSという。)にてデータ量Δ5だ
けビデオバッファから取り出されていることがわかる。
VOBの終端部では、図中のLAST_SCRに示す時刻までにビ
デオパック−オーディオパックの入力が終了し、このLA
ST_SCR以降のビデオフレームf61,f62,f63,f64にて徐々
にビデオバッファの蓄積量が減少してゆくのである。従
って、ビデオストリーム終端部のバッファ状態は、図1
0(b)に示すように段差を描いているのである。
FIG. 10B is a diagram showing a buffer state at the end of the video stream. In this figure, the data input to the video buffer is completed at LAST_SCR located in the middle of the video frame f61. After that, the accumulated video data is taken out from the video buffer by the data amount Δ3 at the reproduction end time of the video frame f61. After that, it can be seen that only the data amount Δ4 is extracted at the reproduction end time of the video frame f62, and the data amount Δ5 is extracted from the video buffer at the reproduction end time of the video frame f63 (hereinafter referred to as LAST_DTS).
At the end of VOB, input of video pack-audio pack is completed by the time indicated by LAST_SCR in the figure, and this LA
In the video frames f61, f62, f63, and f64 after ST_SCR, the storage amount of the video buffer gradually decreases. Therefore, the buffer state at the end of the video stream is as shown in FIG.
A step is drawn as shown in 0 (b).

【0068】図10(c)は、VOB間のバッファ状態を
示す図であり、その終端部に図10(b)に示すバッフ
ァ状態を有するビデオストリームと、その先端部に図1
0(a)に示すバッファ状態を有するビデオストリーム
とをシームレス接続する場合のバッファ状態を示す。こ
こで2本のビデオストリームのシームレス接続を行うに
あたって、先行して再生されるべきビデオストリームの
終端部のLAST_DTSの一ビデオフレーム後に後続して再生
されるべきビデオストリームの先端部のFIRST_DTSが存
在せねばならない。つまり、先行ビデオストリームの最
後のデコード時刻の一ビデオフレーム後に、後続ビデオ
ストリームの最初のデコードを行なわ行わねばならない
のである。終端部のLAST_DTSと先端部のFIRST_DTSとの
間隔が一ビデオフレームである場合、ビデオバッファに
は図10(c)に示すように先行ビデオストリーム終端
部のピクチャデータと、後続ビデオストリーム先端部の
ピクチャデータとが混在している状態が現れる。
FIG. 10 (c) is a diagram showing a buffer state between VOBs. A video stream having the buffer state shown in FIG. 10 (b) at its end portion and FIG.
The buffer state when seamlessly connecting with the video stream having the buffer state shown in 0 (a) is shown. When seamlessly connecting two video streams, there must be a FIRST_DTS at the end of the video stream to be played after one video frame of LAST_DTS at the end of the video stream to be played first. I have to. That is, the first decoding of the subsequent video stream must be performed after one video frame of the last decoding time of the preceding video stream. When the interval between the LAST_DTS at the end and the FIRST_DTS at the end is one video frame, the picture data at the end of the preceding video stream and the picture at the end of the subsequent video stream are stored in the video buffer as shown in FIG. The state that data and data are mixed appears.

【0069】図10(c)では、図10(a)に示すビ
デオフレームf71,f72,f73と、図10(b)に示すビデ
オフレームf61,f62,f63とがそれぞれ一致していること
を前提にしている。この状態においてビデオフレームf7
1の再生終了時刻では、終端部のピクチャデータBE1と、
先端部のピクチャデータを構成するデータBT1とがビデ
オバッファに存在しており、ビデオフレームf72の再生
終了時刻では、終端部のピクチャデータBE2と、先端部
のピクチャデータを構成するデータBT2とがビデオバッ
ファに存在している。ビデオフレームf73の再生終了時
刻では、終端部のピクチャデータBE3と、先端部のピク
チャデータを構成するデータBT3とがビデオバッファに
存在している。ビデオフレームの経過につれ、VOB終端
部のピクチャデータは徐々に減少しているのに対して、
VOB先端部のピクチャデータは徐々に増加しているので
ある。このような増加-減少が同時期に現れたため、図
10(c)では、バッファ状態はノコギリ状となり、図
7(c)に示したVOB内のバッファ状態と良く似た状態
になっていることがわかる。
In FIG. 10C, it is assumed that the video frames f71, f72, f73 shown in FIG. 10A and the video frames f61, f62, f63 shown in FIG. I have to. In this state, video frame f7
At the playback end time of 1, the picture data BE1 at the end part,
The data BT1 forming the picture data at the leading end is present in the video buffer, and at the playback end time of the video frame f72, the picture data BE2 at the ending portion and the data BT2 forming the picture data at the leading end are stored in the video buffer. It exists in the buffer. At the reproduction end time of the video frame f73, the picture data BE3 at the end and the data BT3 forming the picture data at the end are present in the video buffer. As the video frame progresses, the picture data at the end of the VOB gradually decreases,
The picture data at the VOB tip is gradually increasing. Since such an increase / decrease appears at the same time, the buffer state becomes saw-like in FIG. 10 (c), which is similar to the buffer state in the VOB shown in FIG. 7 (c). I understand.

【0070】ここで留意すべきは、データ量BT1とデー
タ量BE1との総和BT1+BE1、データ量BT2とデータ量BE2と
の総和BT2+BE2、データ量BT3とデータ量BE3との総和BT3
+BE3が何れも、ビデオバッファの容量を下回っているこ
とである。即ち、上記の総和BT1+BE1、総和BT2+BE2、総
和BT3+BE3がビデオバッファの上限値を越えると、ビデ
オバッファがオーバーフローすることになるからであ
る。上記総和のうち、最大値をBv1+Bv2とすると、そのB
v1+Bv2がビデオバッファの上限値を下回る必要がある。
It should be noted here that the sum BT1 + BE1 of the data amount BT1 and the data amount BE1, the sum BT2 + BE2 of the data amount BT2 and the data amount BE2, and the sum BT3 of the data amount BT3 and the data amount BE3.
+ BE3 is less than the capacity of the video buffer. That is, when the sum BT1 + BE1, the sum BT2 + BE2, and the sum BT3 + BE3 described above exceed the upper limit value of the video buffer, the video buffer overflows. If the maximum value of the total sum is Bv1 + Bv2, then B
v1 + Bv2 must be below the video buffer limit.

【0071】(1-2-3-3) パックヘッダ、システムヘッ
ダ、パケットヘッダ 以上に説明したバッファ制御のための情報は、図6
(f)〜図6(h)に示したパックヘッダ、システムヘ
ッダ、パケットヘッダにおいてタイムスタンプとして記
述されている。図6(f)〜図6(h)は、パックヘッ
ダ、システムヘッダ、パケットヘッダの論理フォーマッ
トを示す図である。図6(f)に示すようにパックヘッ
ダは、Pack_Start_Code、そのパックに格納されている
データをビデオバッファ、オーディオバッファに何時入
力すべきかを示すSCR(System Clock Reference)、Progr
am_max_rateを含む。VOBにおける最初のSCRは、MPEG規
格のデコーダが標準装備しているシステムタイムクロッ
ク(以下「STC」と呼ぶ)の初期値として、STCに設定さ
れる。
(1-2-3-3) Pack header, system header, packet header The information for buffer control described above is shown in FIG.
It is described as a time stamp in the pack header, system header, and packet header shown in (f) to FIG. 6 (h). 6F to 6H are diagrams showing the logical formats of the pack header, the system header, and the packet header. As shown in FIG. 6 (f), the pack header is Pack_Start_Code, SCR (System Clock Reference), Progr, which indicates when the data stored in the pack should be input to the video buffer and audio buffer.
Includes am_max_rate. The first SCR in the VOB is set to STC as an initial value of a system time clock (hereinafter referred to as "STC") that is standardly equipped with an MPEG standard decoder.

【0072】図6(g)に示すシステムヘッダは、VOBU
の先頭に位置するビデオパックにのみ付与されるもので
あり、データを入力する際に再生装置に求められる転送
レートを示す最大レート情報(図中のRate.bound.inf
o)と、VOBUにおけるデータを入力する際に再生装置に
求められる最大バッファサイズを示すバッファサイズ情
報(図中のBuffer.bound.info)とを含む。
The system header shown in FIG. 6 (g) is VOBU.
The maximum rate information (Rate.bound.inf in the figure) that indicates the transfer rate required for the playback device when inputting data.
o) and buffer size information (Buffer.bound.info in the figure) indicating the maximum buffer size required for the playback device when inputting data in VOBU.

【0073】パケットヘッダは、デコード時刻を示すDT
S(Decoding Time Stamp)と、ビデオストリームの場合、
デコードされたビデオストリームをリオーダーして何時
出力するかを指示するPTS(Presentation Time Stamp)と
を含む。PTS、DTSはビデオフレーム、オーディオフレー
ムの再生開始時刻に基づいて設定される。尚、データ構
造上は、全てのパックについてPTS及びDTSが設定できる
ようになっているが、全てのビデオフレームで表示され
るべきピクチャデータに対して付与されることは希であ
る。1GOPに一回、即ち約0.5秒に一回つけられることが
多い。これに対してSCRは、全てのビデオパック、オー
ディオパックに付与される。
The packet header is a DT indicating the decoding time.
In the case of S (Decoding Time Stamp) and video stream,
It includes a PTS (Presentation Time Stamp) for instructing when to reorder the decoded video stream and output it. PTS and DTS are set based on the playback start time of video frames and audio frames. Although PTS and DTS can be set for all packs in terms of data structure, they are rarely added to picture data to be displayed in all video frames. It is often applied once per GOP, that is, about once every 0.5 seconds. On the other hand, SCR is added to all video packs and audio packs.

【0074】ビデオストリームでは、PTSは1GOPのビデ
オフレームにつき、1つ付与されている場合が多いが、
オーディオストリームでは、PTSは1〜2のオーディオフ
レーム毎に1つ付与されていることが多い。オーディオ
ストリームでは、符号化順序と表示順序とが入れ代わる
ことは有り得ないので、DTSは付与されない。1つのオ
ーディオパックに、2つ以上のオーディオフレームに再
生されるべきオーディオデータが完全に格納されている
場合、その先頭のオーディオフレームのPTSを記述す
る。
In the video stream, one PTS is often added to each GOP video frame.
In the audio stream, one PTS is often added to every 1 to 2 audio frames. In the audio stream, the coding order and the display order cannot be interchanged, so that DTS is not added. When audio data to be reproduced in two or more audio frames is completely stored in one audio pack, the PTS of the first audio frame is described.

【0075】例えば図5(b)のオーディオパックA71
についてはオーディオフレームf81の再生開始時刻をPTS
として記述すればよい。その一方、分割されたオーディ
オフレームf83を格納したオーディオパックA72について
は、オーディオフレームf83の再生開始時刻をPTSに記述
するのではなく、オーディオフレームf84の再生開始時
刻を記述せねばならない。オーディオパックA73につい
ても同様であり、オーディオフレームf85の再生開始時
刻をPTSに記述するのではなく、オーディオフレームf86
の再生開始時刻を記述せねばならない。
For example, the audio pack A71 shown in FIG.
About PTS the playback start time of audio frame f81
Can be described as On the other hand, for the audio pack A72 that stores the divided audio frame f83, the reproduction start time of the audio frame f83 must be described in the PTS, not the reproduction start time of the audio frame f84. The same applies to audio pack A73. Instead of describing the playback start time of audio frame f85 in PTS, audio frame f86
The playback start time of must be described.

【0076】(1-2-3-4) タイムスタンプの連続性 続いて、図6(f)〜図6(h)に示したPTS、DTS、SC
Rがそれぞれのビデオパック、オーディオパックにおい
てどのような値に設定されるかを説明する。図11
(a)は、VOBに含まれているパックのSCRの値を、パッ
クの配列順にプロットして描画したグラフである。横軸
は各ビデオパックの順位を示し、縦軸は各ビデオパック
に付与されたSCRの値を示している。
(1-2-3-4) Continuity of time stamps Next, PTS, DTS, SC shown in FIGS. 6 (f) to 6 (h)
The following describes how R is set in each video pack and audio pack. Figure 11
(A) is a graph in which the SCR values of the packs included in the VOB are plotted and drawn in the pack arrangement order. The horizontal axis represents the rank of each video pack, and the vertical axis represents the SCR value given to each video pack.

【0077】図11(a)におけるSCRの初期値は"0"で
はなく、Init1という所定値であることがわかる。この
ようにSCRの初期値が"0"でないのは、ビデオデータ編集
装置が対象とするVOBは、これまでに何回かの映像編集
を経ている場合が多く、その先端部が部分削除されてい
ることもしばしばあるからである。無論、エンコードさ
れたばかりのVOBは、SCRの初期値は0に設定されている
と考えられるが、本実施形態では図11(a)に示すよ
うに、VOBのSCR初期値は、0以外の何等かの値に設定さ
れている場合を想定する。
It can be seen that the initial value of SCR in FIG. 11A is not "0" but a predetermined value of Init1. In this way, the initial value of SCR is not "0" because the VOB targeted by the video data editing device is often subjected to video editing several times so far, and the tip part is partially deleted. Because there are often cases where Of course, the VOB that has just been encoded is considered to have the initial value of SCR set to 0. However, in this embodiment, as shown in FIG. 11A, the initial value of SCR of VOB is anything other than 0. Suppose it is set to the value of.

【0078】本グラフを参照すると、VOBにおいて先に
位置するビデオパック程SCRの値は少なく、VOBにおいて
後に位置するビデオパック程SCRの値は大きいことがわ
かる。これは、VOBにおいて後に位置するビデオパック
程、より大きいSCRを有していることを意味している。
このように、VOBにおいて先に位置するパック程タイム
スタンプの値は少なく、VOBにおいて後に位置するパッ
ク程タイムスタンプの値が大きいことを、"タイムスタ
ンプの連続性"という。この連続性は、DTSにおいても同
様に存在する。各ビデオパックに付与されたPTSは、符
号化順序において後に符号化されたビデオパックを先に
表示させるため、PTSの値が前後のビデオパックで逆転
している場合があるが、おおむねのところ、SCR、DTSと
同様、連続性を有することにはかわりない。
Referring to this graph, it is understood that the video pack located earlier in the VOB has a smaller SCR value, and the video pack located later in the VOB has a larger SCR value. This means that video packs that are later in the VOB have a larger SCR.
In this way, a pack that is located earlier in the VOB has a smaller time stamp value, and a pack that is located later in the VOB has a larger time stamp value, which is called "time stamp continuity". This continuity exists in DTS as well. The PTS assigned to each video pack causes the video pack encoded later in the encoding order to be displayed first, so the PTS value may be reversed in the preceding and following video packs, but in general, Similar to SCR and DTS, it does not change to have continuity.

【0079】一方、オーディオパックのSCRもビデオパ
ック同様、連続性を有している。ところSCR、DTS、PTS
における連続性は、VOBが正常にデコードされるための
必須要件であるが、SCRがどのような値であればその連
続性が維持できるかについて説明する。図11(b)に
おいて、区間AのSCRを示す直線の延長上に区間BのSCRを
示す直線が存在する。このような場合、区間A−区間B間
はタイムスタンプが連続しているといえる。
On the other hand, the SCR of the audio pack has continuity like the video pack. Place SCR, DTS, PTS
The continuity in is an essential requirement for the VOB to be decoded normally, but what value of SCR can maintain the continuity will be explained. In FIG. 11B, a straight line showing the SCR of the section B exists on the extension of the straight line showing the SCR of the section A. In such a case, it can be said that the time stamps are continuous between section A and section B.

【0080】図11(c)では、区間DのSCRの初期値
は、区間CのSCRを示す直線の最終値より高いことがわか
る。しかしこの場合であっても、先に位置するパック程
タイムスタンプの値は少なく、後に位置するパック程タ
イムスタンプの値は大きいので、区間C−区間D間はタイ
ムスタンプが連続しているといえる。勿論、他イムスタ
ンプの差が大きい場合は不連続となる。MPEG規格におい
ては、各タイムスタンプの差、例えば、SCRの差が0.7秒
を越えてはならないため、この範囲を越える場合は不連
続として扱う。
It can be seen from FIG. 11C that the initial value of the SCR in the section D is higher than the final value of the straight line showing the SCR in the section C. However, even in this case, the value of the time stamp is smaller for the pack located earlier, and the value of the time stamp is larger for the pack located later, so it can be said that the time stamps are continuous between section C and section D. . Of course, when the difference between other stamps is large, the stamps are discontinuous. In the MPEG standard, the difference between each time stamp, for example, the difference between SCRs must not exceed 0.7 seconds. Therefore, if it exceeds this range, it is treated as discontinuous.

【0081】図11(d)では、区間EのSCRの終了値
は、区間FのSCRを示す直線の初期値より高いことがわか
る。この場合は、先に位置するパック程タイムスタンプ
の値は少なく、VOBにおいて後に位置するパック程タイ
ムスタンプの値は大きいという連続性が破られているの
で、区間E−区間F間はタイムスタンプが不連続なのであ
る。図11(d)における区間E−区間Fのようにタイム
スタンプの不連続境界の前後は、2つのVOBとして管理さ
れる。
It can be seen from FIG. 11D that the end value of the SCR in the section E is higher than the initial value of the straight line showing the SCR in the section F. In this case, the continuity is broken that the earlier the pack is, the smaller the value of the time stamp is, and the VOB is the later pack is, the larger the value of the time stamp is. It is discontinuous. Before and after the discontinuous boundary of the time stamps, such as section E-section F in FIG. 11D, two VOBs are managed.

【0082】尚、VOB間でのバッファ制御の詳細および
多重化方法は、特許「国際公開番号WO97/1336
7」および「国際公開番号WO97/13363」で詳し
く説明している。より詳しい技術内容についてはこれら
の公報を参照されたい。(1-2-4) AVファイルAVファイル
は、連続して再生されるべき1以上のVOBを収録したファ
イルである。本ファイルに複数VOBが格納されている場
合、これらのVOBは、ファイルに収録されている順序通
りに再生されてゆく。図4の一例では、AVファイルはVO
B#1,VOB#2,VOB#3という3つのVOBを格納していることが
わかるが、これらのVOBがVOB#1,VOB#2,VOB#3という順序
で再生されてゆくことになる。このように格納されたVO
Bのうち、先行して再生されるべきVOBの終端部に位置す
るビデオストリームと、後続して再生されるべきVOBの
先端部に位置するビデオストリームとの間のバッファ状
態が図10(c)に示すものであり、そのバッファ蓄積
量の最大値Bv1+Bv2がビデオバッファの容量を上回る場
合、又は、先行して再生されるべきVOBにおける最後の
タイムスタンプと、後続して再生されるべきVOBにおけ
る最初のタイムスタンプとの間が不連続である場合、先
行して再生されるべきVOBと、後続VOBとは再生の途切れ
を伴いながら再生されることになる。 (1-3) RTRW管理ファイルの論理構造 続いてRTRW管理ファイルの構成について説明する。RTRW
管理ファイルとは、AVファイルに収録されている各VOB
についての属性をVOB毎に示す情報である。
The details of buffer control between VOBs and the multiplexing method are described in the patent "International Publication No. WO97 / 1336".
7 "and" International Publication No. WO 97/13363 ". For more detailed technical contents, refer to these publications. (1-2-4) AV file An AV file is a file that contains one or more VOBs that should be played continuously. If multiple VOBs are stored in this file, these VOBs will be played in the order in which they are recorded in the file. In the example of FIG. 4, the AV file is VO
You can see that it stores three VOBs, B # 1, VOB # 2, VOB # 3, but these VOBs will be played in the order VOB # 1, VOB # 2, VOB # 3. . VO stored in this way
Of B, the buffer state between the video stream located at the end of the VOB to be played back first and the video stream located at the end of the VOB to be played back is shown in FIG. If the maximum value Bv1 + Bv2 of the buffer storage exceeds the capacity of the video buffer, or the last time stamp of the VOB that should be played first and the VOB that should be played subsequently. When there is a discontinuity between the first time stamp and the VOB to be reproduced first, the VOB to be reproduced first and the subsequent VOB are reproduced with interruption of reproduction. (1-3) Logical structure of RTRW management file Next, the structure of the RTRW management file will be described. RTRW
The management file is each VOB recorded in the AV file.
Is information indicating the attribute for each VOB.

【0083】図12(a)は、RTRW管理ファイルの収録
内容を段階的に詳細化した図である。即ち、本図におい
て右段に位置する論理フォーマットは、その左段に位置
する論理フォーマットを詳細化したものであり、破線に
示す引き出し線は、右段の論理フォーマットがその左段
の論理フォーマット内のどの部分を詳細化したかを明確
にしている。
FIG. 12A is a diagram in which the recorded contents of the RTRW management file are detailed step by step. That is, in the figure, the logical format located on the right side is a detailed version of the logical format located on the left side. It clarifies which part of the has been refined.

【0084】このような表記に従って本図におけるVOB
の論理フォーマットを参照すると、RTRW管理ファイル
は、VOB#1、VOB#2、VOB#3・・・・・VOB#6についてのVOB情報
を収録しており、VOB情報は、VOB一般情報と、ストリー
ム属性情報と、タイムマップテーブルと、シームレス接
続情報とから構成されることがわかる。 (1-3-1)VOB一般情報 『VOB一般情報』は、AVファイルに収録されている各VOB
にユニークに割り当てられたVOB-IDと、VOB再生時間情
報とを備える。
VOB in this figure according to such notation
Referring to the logical format of, the RTRW management file contains VOB information about VOB # 1, VOB # 2, VOB # 3 ... VOB # 6, and VOB information is VOB general information and It can be seen that it is composed of stream attribute information, a time map table, and seamless connection information. (1-3-1) VOB general information "VOB general information" is for each VOB recorded in the AV file.
The VOB-ID uniquely assigned to the VOB and the VOB playback time information.

【0085】(1-3-2)ストリーム属性情報 『ストリーム属性情報』は、『ビデオ属性情報』『オー
ディオ属性情報』からなる。『ビデオ属性情報』は、MP
EG2、MPEG1の何れか一方が記述されるビデオフォーマッ
ト情報と、NTSCまたはPAL/SECAMが記述される表示方式
とを含む。尚ビデオ属性情報は、NTSC方式に記述された
場合、解像度として720 x 480, 352 x 240等を記述する
ことができる。また、アスペクト比として4:3または16:
9を記述することができる。アナログビデオ信号用のコ
ピー防止制御の有無や、AGCはビデオ信号のブランク区
間の信号振幅を変化させVTRのAGC回路に障害を与えるこ
とによるVTRへのコピーガードの有無を記述することが
できる。
(1-3-2) Stream attribute information "Stream attribute information" consists of "video attribute information" and "audio attribute information". "Video attribute information" is MP
It includes video format information in which either EG2 or MPEG1 is described, and a display system in which NTSC or PAL / SECAM is described. When the video attribute information is described in the NTSC system, it is possible to describe 720 x 480, 352 x 240, etc. as the resolution. Also, the aspect ratio is 4: 3 or 16:
Can describe 9. It is possible to describe the presence / absence of copy protection control for analog video signals and the presence / absence of copy guard to the VTR by changing the signal amplitude of the blank section of the video signal and impeding the AGC circuit of the VTR.

【0086】『オーディオ属性情報』は、MPEG2、Dolby
Digital、リニアPCMなどを示すエンコード形式と、48K
Hz等が設定されるサンプリング周波数と、固定ビットレ
ートの場合にそのビットレートを示し、可変ビットレー
トの場合に"VBR"というマークが記述されるオーディオ
ビットレートとを有する。『タイムマップテーブル』
は、VOBを構成する各VOBUのサイズと、それらVOBUの再
生時間が記されており、更にアクセス性能を高めるため
に一定間隔、例えば数十秒単位で代表VOBUが選ばれ、VO
B先頭からのアドレス及び経過時間が記されている。
"Audio attribute information" is MPEG2, Dolby
Encoding format indicating Digital, linear PCM, etc., 48K
It has a sampling frequency at which Hz or the like is set, and an audio bit rate that indicates the bit rate in the case of a fixed bit rate and in which a mark "VBR" is described in the case of a variable bit rate. "Time map table"
Indicates the size of each VOBU that composes the VOB and the playback time of those VOBUs. To further improve access performance, a representative VOBU is selected at regular intervals, for example, in units of several tens of seconds.
B Address and elapsed time from the beginning are shown.

【0087】(1-3-3)シームレス接続情報 『シームレス接続情報』は、AVファイルに収録されてい
る複数VOBの連続再生をシームレスに行わせる情報であ
り、『シームレスフラグ』、『ビデオ再生開始時刻VOB_
V_S_PTM』、『ビデオ再生終了時刻VOB_V_E_PTM』、『FI
RST_SCR』、『LAST_SCR』、『オーディオギャップ開始
時刻A_STP_PTM』、『オーディオギャップ長A_GAP_LEN』
『オーディオギャップ位置情報A_GAP_LOC』からなる。
(1-3-3) Seamless connection information "Seamless connection information" is information for seamlessly performing continuous reproduction of a plurality of VOBs recorded in the AV file. Time VOB_
V_S_PTM ”,“ Video playback end time VOB_V_E_PTM ”,“ FI
"RST_SCR", "LAST_SCR", "Audio gap start time A_STP_PTM", "Audio gap length A_GAP_LEN"
It consists of "audio gap position information A_GAP_LOC".

【0088】(1-3-3-1)シームレスフラグ 『シームレスフラグ』は、AVファイルにおいて本VOBよ
り前に配置されているVOB(前部VOB)の再生を終えた後、
本シームレス接続情報に対応するVOBがシームレスに行
われるか否かを示すフラグである。本フラグは、01に設
定されることにより、本VOB(後部VOB)の再生がシーム
レスに行われることを示し、00にされることにより、後
部VOBの再生が非シームレスに行われることを示す。
(1-3-3-1) Seamless flag The "seamless flag" indicates that the VOB (front VOB) arranged before this VOB in the AV file has been reproduced.
This is a flag indicating whether or not the VOB corresponding to the seamless connection information is seamlessly performed. When this flag is set to 01, it indicates that the reproduction of the main VOB (rear VOB) is performed seamlessly, and when it is set to 00, it indicates that the reproduction of the rear VOB is performed non-seamlessly.

【0089】複数VOBのシームレス再生が実現されるた
めには、後部VOBと、前部VOBとの間に以下に示す(1)(2)
の関係が満たされなければならない。 (1)ビデオ属性情報に示されているビデオストリームの
表示方式(NTSC、PAL等)が同一である。 (2)オーディオ属性情報に示されているオーディオスト
リームのエンコード方式(AC-3、MPEG、LPCM等)が同一
である。
In order to realize seamless reproduction of a plurality of VOBs, the following (1) and (2) are provided between the rear VOB and the front VOB.
The relationship must be met. (1) The video stream display methods (NTSC, PAL, etc.) indicated in the video attribute information are the same. (2) The encoding methods (AC-3, MPEG, LPCM, etc.) of the audio streams indicated in the audio attribute information are the same.

【0090】以上の(1)〜(2)においてシームレス再生が
不可能となるのは、ビデオストリーム、オーディオスト
リームの表示方式、エンコード方式が異なる場合、ビデ
オデコーダ、オーディオデコーダが表示方式、エンコー
ド方式、ビットレートの切り換えのためにその動作を停
止してしまうからである。例えば、連続して再生すべき
2つのオーディオストリームにおいて、一方の符号化方
式がAC3方式であり、他方がMPEG規格である場合、スト
リームがAC3からMPEGへ変化する際に、オーディオデコ
ーダは、その内部でストリーム属性の切り替えを行うた
め、この間デコードが停止してしまう。ビデオストリー
ムの属性が変わる場合も同様である。
In the above (1) and (2), seamless reproduction is impossible because the display method and encoding method of the video decoder and the audio decoder are different when the display method and encoding method of the video stream and audio stream are different. This is because the operation is stopped due to the bit rate switching. For example, it should play continuously
In the case of two audio streams, if one encoding method is the AC3 method and the other is the MPEG standard, the audio decoder internally switches the stream attributes when the streams change from AC3 to MPEG. , Decoding stops during this time. The same applies when the attributes of the video stream change.

【0091】これら(1)(2)の関係が全て満たされた場合
のみ、シームレスフラグは01に設定され、(1)(2)の関係
のうち、1つでも満たされない場合、シームレスフラグ
は00に設定される。 (1-3-3-2) ビデオ再生開始時刻VOB_V_S_PTM 『ビデオ再生開始時刻VOB_V_S_PTM』は、VOBを構成する
ビデオストリームの先頭ビデオフィールドの再生が開始
される時刻をPTM記述フォーマットにて記述したもので
ある。
The seamless flag is set to 01 only when all of the relationships (1) and (2) are satisfied, and the seamless flag is set to 00 when even one of the relationships (1) and (2) is not satisfied. Is set to. (1-3-3-2) Video playback start time VOB_V_S_PTM "Video playback start time VOB_V_S_PTM" describes the time when the playback of the first video field of the video stream forming the VOB starts in PTM description format. is there.

【0092】PTM記述フォーマットとは、記述すべき時
刻を、1/27,000,000秒の時間精度と、1/90,000(=300/2
7,000,000)秒の時間精度とを用いて表現するよう規定さ
れたフォーマットである。ここで1/90,000秒の時間精度
は、NTSC信号、PAL信号、DolbyAC-3、MPEGオーディオの
フレーム周波数の公倍数を考慮したものであり、1/27,0
00,000秒の時間精度は、STCの周波数である27MHzを考慮
したものである。
The PTM description format is such that the time to be described has a time accuracy of 1 / 27,000,000 seconds and 1 / 90,000 (= 300/2
It is a format specified to be expressed using a time precision of 7,000,000) seconds. Here, the time accuracy of 1 / 90,000 seconds takes into consideration the common multiple of the frame frequency of NTSC signal, PAL signal, Dolby AC-3, MPEG audio, and is 1 / 27,0
The time accuracy of 00,000 seconds takes into consideration the STC frequency of 27 MHz.

【0093】図12(b)は、PTM記述フォーマットを
示す図である。本図においてPTM記述フォーマットは、
再生開始時刻を1/90,000秒で割った際の商を表すベース
部(PTM_base)と、同再生開始時刻をベース部で割った
際の余りを1/27,000,000秒の時間精度で表す拡張部(PT
M_extension)とからなる。 (1-3-3-3) ビデオ再生終了時刻VOB_V_E_PTM 『ビデオ再生終了時刻VOB_V_E_PTM』は、VOBを構成する
ビデオストリームの最終ビデオフィールドの再生が終了
する時刻をPTM記述フォーマットにて記述してものであ
る。
FIG. 12B shows the PTM description format. In this figure, the PTM description format is
A base part (PTM_base) that represents the quotient when the playback start time is divided by 1 / 90,000 seconds and an extension part (PT that represents the remainder when the playback start time is divided by the base part with a time accuracy of 1 / 27,000,000 seconds).
M_extension) and. (1-3-3-3) Video playback end time VOB_V_E_PTM "Video playback end time VOB_V_E_PTM" describes the time when the playback of the final video field of the video stream forming the VOB ends in PTM description format. is there.

【0094】(1-3-3-4) ビデオ再生開始時刻VOB_V_S_P
TMとビデオ再生終了時刻VOB_V_E_PTMの関係 2本のVOBをシームレス再生する場合において、後部VOB
のVOB_V_S_PTMと、前部VOBのVOB_V_E_PTMとの関係がど
うあるべきかについて説明する。本来、後部VOBは、前
部VOBに含まれている全てのビデオパックが再生された
後に再生されるのであるから、後部VOBのVOB_V_S_PTM
は、前部VOBのVOB_V_E_PTMと同一でなければタイムスタ
ンプに不連続が生じ、前部VOB−後部VOBを連続して再生
することは不可能である。しかし全く別々にエンコード
された2本のVOBに対して、エンコーダはそのエンコード
時に各ビデオパック、オーディオパックに独自にタイム
スタンプを付与しており、前部VOBのビデオ再生終了時
刻VOB_V_E_PTMと後部VOBのビデオ再生開始時刻VOB_V_S_
PTMとが等しいという関係を要求することは困難であ
る。
(1-3-3-4) Video playback start time VOB_V_S_P
Relationship between TM and video playback end time VOB_V_E_PTM In case of seamless playback of two VOBs, rear VOB
The relationship between the VOB_V_S_PTM of the VOB and the VOB_V_E_PTM of the front VOB should be described. Originally, the rear VOB is reproduced after all the video packs included in the front VOB are reproduced, so that the VOB_V_S_PTM of the rear VOB is reproduced.
Is not the same as VOB_V_E_PTM of the front VOB, the time stamp becomes discontinuous, and it is impossible to continuously reproduce the front VOB-the rear VOB. However, for two VOBs encoded completely differently, the encoder uniquely adds a time stamp to each video pack and audio pack at the time of encoding, and the video playback end time VOB_V_E_PTM of the front VOB and the rear VOB Video playback start time VOB_V_S_
It is difficult to demand a relationship where PTMs are equal.

【0095】図13は、バッファ占有量を前部VOB−後
部VOB毎に表したグラフである。これらのグラフは、縦
軸がバッファのバッファ占有量を示しており、横軸が時
間軸である。この時間軸には、SCR、PTS、ビデオ再生終
了時刻VOB_V_E_PTM、ビデオ再生開始時刻VOB_V_S_PTMに
示されている時刻がプロットされている。図11(b)
では、前部VOBにおいて最後に表示されるべきピクチャ
データは、これを構成するビデオデータのビデオバッフ
ァへの入力がLAST_SCRまでに終了し、その再生開始時刻
となるPTSを待って表示処理が開始される(最後にMPEG
デコーダに入力されるパックがオーディオパック等他の
パックである場合、この限りではない)。このPTSから
表示期間h1だけ経過した時刻がビデオ再生終了時刻VOB_
V_E_PTMである。この表示期間h1は、一画面分の画像を
構成する先頭フィールドから最終フィールドまでの描画
が完遂する期間である。
FIG. 13 is a graph showing the buffer occupation amount for each of the front VOB and the rear VOB. In these graphs, the vertical axis represents the buffer occupancy of the buffer, and the horizontal axis is the time axis. On this time axis, the times indicated by SCR, PTS, video reproduction end time VOB_V_E_PTM, and video reproduction start time VOB_V_S_PTM are plotted. FIG. 11 (b)
In the case of the picture data that should be displayed last in the front VOB, the display processing is started after the input of the video data forming the picture data to the video buffer is completed by LAST_SCR and the PTS that is the reproduction start time is waited for. (Finally MPEG
This does not apply if the pack input to the decoder is another pack such as an audio pack). The time when the display period h1 has passed from this PTS is the video playback end time VOB_
It is V_E_PTM. The display period h1 is a period in which drawing from the first field to the last field forming an image for one screen is completed.

【0096】図13の下部では、後部VOBにおいて最初
に表示されるべきピクチャデータは、FIRST_SCRにてビ
デオバッファに入力され、その再生開始時刻となるPTS
を待って表示される。この表示時刻がビデオ再生開始時
刻VOB_V_S_PTMである。本図では、前部VOB及び後部VOB
のビデオパックには、SCR、ビデオ再生終了時刻VOB_V_E
_PTM、ビデオ再生開始時刻VOB_V_S_PTMが付与されてい
るので、後部VOBのVOB_V_S_PTM<前部VOBのVOB_V_E_PTM
の関係となっていることがわかる。
In the lower part of FIG. 13, the picture data to be displayed first in the rear VOB is input to the video buffer by FIRST_SCR, and the PTS becomes the reproduction start time.
Will be displayed. This display time is the video reproduction start time VOB_V_S_PTM. In this figure, front VOB and rear VOB
The video pack contains SCR and video playback end time VOB_V_E
_PTM and video playback start time VOB_V_S_PTM are added, so VOB_V_S_PTM of rear VOB <VOB_V_E_PTM of front VOB
You can see that it has a relationship of.

【0097】それでは、後部VOBのVOB_V_S_PTM<前部VO
BのVOB_V_E_PTMの関係であってもシームレス再生が可能
となる理由について説明する。DVD-RAM規格では、その
再生装置の標準モデルとして拡張STDモデル(以下「E-S
TD」と呼ぶ)が定義されている(図19参照)。一般に
MPEG規格のデコーダは、基準時間を計時するシステムタ
イムクロックSTCを有しており、ビデオデコーダ、オー
ディオデコーダはこのSTCが計時する基準時刻を参照し
て、デコード処理及び表示処理を行っているが、E-STD
は、STCに加えて、STCが出力する基準時刻にオフセット
を加える加算器を有しており、STCが出力する基準時刻
と、加算器の出力値とのうち何れか一方を選択してビデ
オデコーダ、オーディオデコーダに与えることができ
る。この構成によってVOB間でタイムスタンプが不連続
する場合であっても、加算器の出力値をデコードに与え
ることで、あたかもVOB間のタイムスタンプが連続して
いるかのように振る舞うことが可能になり、前部VOBのV
OB_V_E_PTMと、後部VOBのVOB_V_S_PTMとが上記のような
不連続な関係であってもシームレス再生が行われるので
ある。
Then, VOB_V_S_PTM of the rear VOB <front VO
The reason why seamless playback is possible even with the relationship of VOB_V_E_PTM of B will be described. In the DVD-RAM standard, an extended STD model (hereinafter referred to as "ES
"TD") is defined (see FIG. 19). In general
The MPEG standard decoder has a system time clock STC that measures a reference time, and the video decoder and the audio decoder refer to the reference time measured by this STC to perform decoding processing and display processing. E-STD
Has an adder that adds an offset to the reference time output by the STC in addition to the STC, and selects either the reference time output by the STC or the output value of the adder to select the video decoder. , Can be given to the audio decoder. With this configuration, even if the time stamps between VOBs are discontinuous, by giving the output value of the adder to the decoding, it is possible to behave as if the time stamps between VOBs are continuous. , V of the front VOB
Even if the OB_V_E_PTM and the VOB_V_S_PTM of the rear VOB have the discontinuous relationship as described above, the seamless reproduction is performed.

【0098】そればかりか、後部VOBのビデオ再生終了
時刻VOB_V_E_PTM と、前部VOBのビデオ再生開始時刻VOB
_V_S_PTMとの差分は、上記加算器に加算させるべきオフ
セット(一般に「STC offset」と呼ばれる)として用い
ることができる。そのため、E-STDモデルの再生装置は
ビデオ再生終了時刻VOB_V_E_PTM、ビデオ再生開始時刻V
OB_V_S_PTMを用いて以下の計算を行い、STC_offsetを求
めて上記加算器に設定するのである。 STC offset = 前部VOBのVOB_V_E_PTM - 後部VOBのVOB_V
_S_PTM 実際のところ、シームレス接続情報におけるビデオ再生
開始時刻VOB_V_S_PTM、終了時刻VOB_V_E_PTMが記述され
ているのは、上記の計算をデコーダに行わさせてSTC of
fsetを加算器に設定させる目的もある。
Not only that, the video reproduction end time VOB_V_E_PTM of the rear VOB and the video reproduction start time VOB of the front VOB.
The difference from _V_S_PTM can be used as an offset (generally called “STC offset”) to be added by the adder. Therefore, the playback device of the E-STD model has a video playback end time VOB_V_E_PTM and a video playback start time V.
The following calculation is performed using OB_V_S_PTM to obtain STC_offset and set it in the adder. STC offset = VOB_V_E_PTM of front VOB-VOB_V of rear VOB
_S_PTM Actually, the video playback start time VOB_V_S_PTM and end time VOB_V_E_PTM in the seamless connection information are described because the decoder is made to perform the above calculation and STC of
It also has the purpose of setting fset to the adder.

【0099】図11(e)は、図11(a)に示したタ
イムスタンプの連続性を示すグラフを、2つのVOBにつ
いて記述した図である。VOB#1における先頭のパックの
タイムスタンプは、初期値Init1を有しており、後のパ
ック程より大きな値のタイムスタンプを有している。VO
B#2における先頭のパックのタイムスタンプも、初期値I
nit2を有しており、後のパック程より大きな値のタイム
スタンプを有している。本図においてVOB#1におけるタ
イムスタンプの終了値は、VOB#2におけるタイムスタン
プの初期値を上回っているので、2本のVOBのタイムスタ
ンプは不連続であることがわかる。それにも拘らずVOB#
1の最後のパックに続いて、VOB#2の先頭パックをデコー
ドさせたい場合、VOB#2のタイムスタンプにSTC_offset
を加算すれば、VOB#2のタイムスタンプにおける連続性
は実線に示すものから、破線に示すものへと移動する。
VOB#2のタイムスタンプが破線に示すものに移動する
と、VOB#2のタイムスタンプ値の増加性を示す直線はVOB
#1のタイムスタンプ値の増加直線の延長線上に位置し、
タイムスタンプ連続性が成立することがわかる。
FIG. 11 (e) is a diagram showing the graph showing the continuity of the time stamps shown in FIG. 11 (a) for two VOBs. The time stamp of the first pack in VOB # 1 has an initial value Init1, and the time stamp of a later pack has a larger value. VO
The time stamp of the first pack in B # 2 is also the initial value I
nit2 and later packs have a higher time stamp. In this figure, since the end value of the time stamp in VOB # 1 exceeds the initial value of the time stamp in VOB # 2, it can be seen that the time stamps of the two VOBs are discontinuous. Nevertheless VOB #
If you want to decode the first pack of VOB # 2 after the last pack of 1, STC_offset is added to the time stamp of VOB # 2.
Is added, the continuity in the VOB # 2 time stamp shifts from that shown by the solid line to that shown by the broken line.
If the time stamp of VOB # 2 moves to that shown by the broken line, the straight line showing the increasing property of the time stamp value of VOB # 2 becomes VOB.
It is located on the extension of the increasing straight line of the timestamp value of # 1,
It can be seen that the time stamp continuity is established.

【0100】(1-3-3-5) FIRST_SCR 『FIRST_SCR』は、VOBの先頭パックに付されたSCRがPTM
記述フォーマットにて記入される。 (1-3-3-6) LAST_SCR 『LAST_SCR』は、VOBにおいて最後に配置されているパ
ックに付されたSCRがPTM記述フォーマットにて記入され
る。
(1-3-3-5) FIRST_SCR In "FIRST_SCR", the SCR attached to the top pack of the VOB is the PTM.
It is written in the description format. (1-3-3-6) LAST_SCR In "LAST_SCR", the SCR attached to the last packed pack in the VOB is entered in PTM description format.

【0101】(1-3-3-7) FIRST_SCR、LAST_SCRの関係 先に述べたように、VOBの再生はE-STDタイプのデコーダ
で行われるから、前部VOBのLAST_SCRと、後部VOBのFIRS
T_SCRとが前部VOBのLAST_SCR = 後部VOBのFIRST_SCRで
なくてもよいことがわかる。しかしSTC_offsetを用いて
考えると、以下の式の関係は満たさなければならない。 前部VOBのLAST_SCR +1パック転送に要する時間≦ STC
_offset + 後部VOBのFIRST_SCR ここで、前部VOBのLAST_SCR、後部VOBのFIRST_SCRが上
記の関係を満たしていないことは、前部VOBを構成する
パックと、後部VOBを構成するパックとが同時にビデオ
バッファ、オーディオバッファに転送されることを意味
するものであり、パック列の順序に従い、個々のパック
単位で転送を行うMPEG規格及びE-STDのデコーダモデル
に反してしまう。ここで図10(c)を参照すると、前
部VOBのLAST_SCRと、STC_offset + 後部VOBのFIRST_SCR
とが一致しており、上記の関係が満たされることがわか
る。
(1-3-3-7) Relationship between FIRST_SCR and LAST_SCR As described above, since the reproduction of VOB is performed by the E-STD type decoder, LAST_SCR of the front VOB and FIRS of the rear VOB are used.
It can be seen that T_SCR does not have to be LAST_SCR of the front VOB = FIRST_SCR of the rear VOB. However, considering STC_offset, the relation of the following formula must be satisfied. Time required for LAST_SCR +1 pack transfer of front VOB ≤ STC
_offset + FIRST_SCR of the rear VOB where LAST_SCR of the front VOB and FIRST_SCR of the rear VOB do not satisfy the above relationship because the packs forming the front VOB and the packs forming the rear VOB are simultaneously buffered with video. , Which means that data is transferred to an audio buffer, which is contrary to the MPEG standard and the E-STD decoder model in which transfer is performed in pack units in accordance with the pack sequence. Here, referring to FIG. 10C, LAST_SCR of the front VOB and FIRS_SCR of STC_offset + rear VOB.
And are in agreement, which means that the above relationship is satisfied.

【0102】E-STDタイプのデコーダを用いてVOBを再生
する場合、留意すべきは、STCが出力する基準時刻と、
加算器が出力するオフセット付きの基準時刻との切り換
え時期である。VOBのタイムスタンプには、このような
切り換え時期についての情報は何等記載されていないの
で、折角のE-STDであっても、加算器の出力値に切り換
えるタイミングを逸してしまう恐れがある。
When playing a VOB using an E-STD type decoder, it should be noted that the reference time output by the STC and
It is the time to switch to the reference time with offset output from the adder. Since the VOB time stamp does not contain any information about such a switching time, there is a possibility that the timing for switching to the output value of the adder may be missed even if the E-STD is a corner.

【0103】FIRST_SCR,LAST_SCRは、加算器の出力値の
切り換えタイミングをデコーダに知らせるのに有効であ
り、デコーダは、STCのカウントが行われている間、STC
が出力する基準時刻と、FIRST_SCR,LAST_SCRとの比較を
行う。STCが出力する基準時刻と、FIRST_SCR,LAST_SCR
とが一致すれば、STCが出力する基準時刻から加算器の
出力値への切り換えを行う。
FIRST_SCR and LAST_SCR are effective for informing the decoder of the switching timing of the output value of the adder, and the decoder is in charge of STC while the STC is being counted.
The reference time output by is compared with FIRST_SCR and LAST_SCR. Standard time output by STC, FIRST_SCR, LAST_SCR
If and match, the reference time output by the STC is switched to the output value of the adder.

【0104】ここでVOBの再生には、前部VOBから後部VO
Bへと再生されてゆく通常再生と、後部VOBから前部VOB
へと再生されてゆく巻戻し再生とがあるが、LAST_SCRは
通常再生時における基準時刻の切り換えに用いられ、FI
RST_SCRは巻戻し再生時における基準時刻の切り換えに
用いられる。巻戻し再生時においては、後部VOBの最終V
OBUから先頭VOBUへとデコードされてゆき、後部VOBの先
頭ビデオパックのデコードが済んだ後、前部VOBの最終V
OBUから先頭VOBUへとデコードされてゆく。つまり、巻
戻し再生時において、基準時刻の切り換えが必要なの
は、後部VOBの先頭ビデオパックのデコードが済んだ時
点であり、この時刻をE-STDのビデオデータ編集装置に
知らせるため、RTRW管理ファイルに各VOBのFIRST_SCRが
記入されているのである。
Here, in reproducing the VOB, from the front VOB to the rear VO
Normal playback with playback to B and rear VOB to front VOB
There is rewinding playback, where LAST_SCR is used to switch the reference time during normal playback.
RST_SCR is used to switch the reference time during rewinding reproduction. Final V of rear VOB during rewind playback
After decoding from the OBU to the first VOBU and after decoding the first video pack of the rear VOB, the final V of the front VOB
It is decoded from OBU to the first VOBU. In other words, during rewind playback, it is necessary to switch the reference time at the time when the first video pack of the rear VOB has been decoded. FIRST_SCR of each VOB is entered.

【0105】尚、以上のE-STD及びSTC_offsetについて
のより詳細な技術内容については、国際公開公報「国際
公開番号WO97/13364 」を参照されたい。 (1-3-3-8) オーディオギャップ開始時刻A_STP_PTM 『オーディオギャップ開始時刻A_STP_PTM』は、VOB中に
オーディオ再生ギャップが存在する場合に、オーディオ
デコーダの動作を停止させるべき停止開始時刻をPTM記
述フォーマットにて記述してものである。オーディオギ
ャップ開始時刻A_STP_PTMに指示される時刻は、一本のV
OBにつき1つである。
For more detailed technical contents regarding the above E-STD and STC_offset, refer to International Publication No. WO 97/13364. (1-3-3-8) Audio gap start time A_STP_PTM "Audio gap start time A_STP_PTM" is the PTM description format for the stop start time that should stop the operation of the audio decoder when an audio playback gap exists in the VOB. Can be described in. Audio gap start time The time indicated by A_STP_PTM is one V
One per OB.

【0106】(1-3-3-9)オーディオギャップ長A_GAP_LEN 『オーディオギャップ長A_GAP_LEN』は、オーディオギ
ャップ開始時刻A_STP_PTMにて指示される停止開始時刻
から、オーディオデコーダの停止状態を何時間継続させ
るかを示す。オーディオギャップ長A_GAP_LENの時間長
は1オーディオフレーム未満と制限されている。
(1-3-3-9) Audio gap length A_GAP_LEN "Audio gap length A_GAP_LEN" is the number of hours the audio decoder is kept in the stopped state from the stop start time indicated by the audio gap start time A_STP_PTM. Indicates. The time length of the audio gap length A_GAP_LEN is limited to less than 1 audio frame.

【0107】(1-3-3-10) オーディオギャップの必然性 何故、オーディオギャップ開始時刻A_STP_PTM及びオー
ディオギャップ長A_GAP_LENを用いて、オーディオギャ
ップが生じる期間を特定するかについて説明する。ビデ
オストリーム、オーディオストリームは、夫々異なる周
期で再生されるため、VOBに含まれているビデオストリ
ーム及びオーディオストリームはその総再生時間が互い
に異なる。例えば、ビデオストリームがNTSC方式であ
り、オーディオストリームがDolby-AC3方式である場
合、図14(a)に示すようにビデオストリームの総再
生時間は33msecの整数倍となり、オーディオストリーム
の総再生時間は32msecの整数倍となる。
(1-3-3-10) Necessity of Audio Gap The reason why the audio gap start time A_STP_PTM and the audio gap length A_GAP_LEN are used to specify the period in which the audio gap occurs will be described. Since the video stream and the audio stream are reproduced in different cycles, the total reproduction time of the video stream and the audio stream included in the VOB are different from each other. For example, when the video stream is the NTSC system and the audio stream is the Dolby-AC3 system, the total reproduction time of the video stream is an integral multiple of 33 msec as shown in FIG. It is an integer multiple of 32 msec.

【0108】総再生時間が異なるにも拘らず2つのVOBを
連続再生させる場合、ピクチャデータの再生と、オーデ
ィオデータの再生とを同期させるため、何れのピクチャ
データの再生時刻とオーディオデータの再生時刻とを揃
える必要がある。このように揃えようとすると、ピクチ
ャデータ、オーディオデータの先端部或は終端部に総再
生時間の時間差が現れる。
When two VOBs are continuously reproduced despite the total reproduction time being different, in order to synchronize reproduction of picture data and reproduction of audio data, reproduction time of any picture data and reproduction time of audio data. And need to be aligned. When trying to align in this way, a time difference of the total reproduction time appears at the leading end or the trailing end of the picture data and audio data.

【0109】図14(b)は、VOBの先端部においてピ
クチャデータの再生時刻とオーディオデータの再生時刻
とを揃えようとしたため、ピクチャデータ、オーディオ
データの終端部に時間差g1が現れた状態を示す図であ
る。VOB#1には、その終端部に時間差g1があることがわ
かる。ここでVOB#1にVOB#2を連結させようとすると、時
間差g1を詰めるようにVOB#2のオーディオストリームの
再生が行われるので、VOB#2内のオーディオストリーム
の再生が、時刻g0に行われてしまう。これは、オーディ
オデコーダは、オーディオストリームの再生が一定のフ
レームレートで行われることを利用して、一定周期で連
続的にオーディオストリームのデコードを行っているか
らであり、VOB#1に続いて再生されるべきVOB#2が既にDV
D-RAMから読み出されていれば、VOB#1のオーディオスト
リームを全てデコードし次第、VOB#2のデコードを開始
しようとするからである。
FIG. 14B shows a state in which a time difference g1 appears at the end of picture data and audio data because the reproduction time of picture data and the reproduction time of audio data are attempted to be aligned at the end of VOB. It is a figure. It can be seen that VOB # 1 has a time difference g1 at its terminal end. If you try to connect VOB # 2 to VOB # 1 here, the audio stream of VOB # 2 is played so as to close the time difference g1, so the playback of the audio stream of VOB # 2 is performed at time g0. I will be destroyed. This is because the audio decoder uses the fact that the audio stream is played back at a constant frame rate to continuously decode the audio stream at a fixed cycle. VOB # 2 to be done already DV
This is because, if it has been read from the D-RAM, decoding of VOB # 2 will start as soon as all the audio streams of VOB # 1 have been decoded.

【0110】シームレス再生時において後続して再生さ
れるVOBのオーディオストリームの再生が先行しないよ
うにするには、ストリーム中のオーディオギャップ情報
を再生装置内のホスト側で管理し、オーディオギャップ
期間中、ホスト側がオーディオデコーダに対してデコー
ドを停止する必要がある。この再生停止期間がオーディ
オギャップであり、オーディオギャップ開始時刻A_STP_
PTM及びオーディオギャップ長A_GAP_LENは、このオーデ
ィオギャップが現れる時間帯を特定している。
In order to prevent the reproduction of the audio stream of the VOB to be reproduced subsequently during the seamless reproduction from preceding, the audio gap information in the stream is managed by the host side in the reproducing device, and during the audio gap period, The host must stop the audio decoder from decoding. This playback stop period is the audio gap, and the audio gap start time A_STP_
The PTM and audio gap length A_GAP_LEN specify the time zone in which this audio gap appears.

【0111】また、ストリーム内においても、オーディ
オギャップを特定するための処理を施す。具体的にいう
と、オーディオギャップ直後のオーディオフレームのPT
Sをオーディオパケットのパケットヘッダに記述するこ
とにより、当該オーディオギャップが何時終わるかを特
定するのである。しかしこの特定方法では、オーディオ
パケット内に複数オーディオフレームで再生されるべき
複数オーディオデータが格納されている場合に問題点が
生じる。というのは、複数オーディオフレームで再生さ
れるべき複数オーディオデータが格納されている場合、
パケットにPTSを記述できるのは、それらの複数のオー
ディオフレームのうち、先頭のオーディオフレームのみ
である。つまり、残りのオーディオフレームについては
PTSを記述することはできないのである。もしオーディ
オギャップの前後に位置するオーディオフレームにて再
生されるべきオーディオデータが同一パケットに配され
た場合、オーディオギャップ直後のオーディオフレーム
のPTSが記述できないため、オーディオギャップが特定
できず、オーディオギャップは消失してしまうことにな
る。そこで、オーディオギャップ直後のオーディオフレ
ームが次のオーディオパックの先頭に配置されるよう処
理して、オーディオギャップ直後のオーディオフレーム
のPTS(オーディオギャップ開始時刻A_STP_PTM+オーデ
ィオギャップ長A_GAP_LEN)をストリームに明示する。
Further, processing for specifying the audio gap is also performed in the stream. Specifically, the PT of the audio frame immediately after the audio gap.
By describing S in the packet header of the audio packet, it is possible to specify when the audio gap ends. However, this specifying method has a problem when a plurality of audio data to be reproduced in a plurality of audio frames are stored in the audio packet. This is because if multiple audio data that should be played in multiple audio frames are stored,
The PTS can be described in the packet only in the first audio frame among the plurality of audio frames. So for the rest of the audio frames
It is not possible to describe PTS. If the audio data to be played in the audio frames located before and after the audio gap is placed in the same packet, the PTS of the audio frame immediately after the audio gap cannot be described, so the audio gap cannot be specified and the audio gap is It will disappear. Therefore, the audio frame immediately after the audio gap is processed so as to be arranged at the beginning of the next audio pack, and the PTS (audio gap start time A_STP_PTM + audio gap length A_GAP_LEN) of the audio frame immediately after the audio gap is explicitly shown in the stream.

【0112】更に必要に応じて、オーディオギャップの
直前に再生されるべきオーディオデータを格納したオー
ディオパケットにおいて、当該オーディオデータの直後
にMPEG規格に規定されたPadding-Packetを挿入する。図
14(c)は、図14(b)に示したVOB#1の終端部に
位置する複数オーディオフレームy-2,y-1,yで再生され
るべきオーディオデータy-2,y-1,yと、Padding-Packet
とを含むオーディオギャップを含んだオーディオパック
G3を示し、VOB#2の先端部に位置する複数オーディオフ
レームu,u+1,u+2を含むオーディオパックG4を示す図で
ある。
Further, if necessary, in an audio packet storing audio data to be reproduced immediately before the audio gap, a Padding-Packet defined by the MPEG standard is inserted immediately after the audio data. FIG. 14C shows audio data y-2, y-1 to be reproduced in a plurality of audio frames y-2, y-1, y located at the end of VOB # 1 shown in FIG. 14B. , y and Padding-Packet
An audio pack that includes an audio gap that includes and
FIG. 11 is a diagram showing G3 and showing an audio pack G4 including a plurality of audio frames u, u + 1, u + 2 located at the tip of VOB # 2.

【0113】尚、上述したオーディオパックG4は、オー
ディオギャップの直後に位置するオーディオフレームで
再生されるべきオーディオデータを含んだパックであ
り、オーディオパックG3は、当該パックの直前に位置す
るパックである。オーディオギャップの直後に位置する
オーディオフレームで再生されるべきオーディオデータ
があるパックに含まれている場合、そのパックの直前に
位置するパックを"オーディオギャップを含んだオーデ
ィオパック"という。
The audio pack G4 described above is a pack containing audio data to be reproduced in an audio frame located immediately after the audio gap, and the audio pack G3 is a pack located immediately before the pack. . When the pack containing audio data to be played in the audio frame located immediately after the audio gap is included in the pack, the pack located immediately before the pack is called an "audio pack including an audio gap".

【0114】ここでオーディオパックG3はVOBUにおいて
ビデオパック列の後方に位置しているから、これより未
来に表示されるべきピクチャデータはVOB#1には存在し
ない。しかし、VOB#1の再生には、VOB#2が後続すること
が前提であるから、VOB#2に含まれているピクチャデー
タが、オーディオフレームy-2,y-1,yにて読み出される
べきピクチャデータとなる。そうであれば、"1秒ルー
ル"に反しない範囲で、オーディオギャップを含んだオ
ーディオパックG3をVOB#2の先端部に位置する3つのVOBU
のうち、何れかに配置されればよい。図14(d)は、
オーディオギャップを含んだオーディオパックG3がVOB#
2の先端部に位置するVOBU#1、VOBU#2、VOBU#3のうち何
れかに配置されることを示す説明図である。
Since the audio pack G3 is located behind the video pack string in the VOBU, there is no picture data to be displayed in the future from VOB # 1. However, since the reproduction of VOB # 1 is premised on that VOB # 2 follows, the picture data contained in VOB # 2 is read in audio frames y-2, y-1, y. It becomes the correct picture data. If so, the audio pack G3 including the audio gap is placed at the top of VOB # 2 within the range that does not violate the "1 second rule".
It may be arranged in any of the above. FIG.14 (d) is
Audio pack G3 with audio gap is VOB #
FIG. 6 is an explanatory diagram showing that the VOBU # 1, VOBU # 2, or VOBU # 3 located at the tip of the second lane is placed.

【0115】オーディオギャップの期間においては、オ
ーディオデコーダの動作を一時的に中断せねばならな
い。何故なら、オーディオデコーダは、オーディオギャ
ップ期間でさえもデコード処理を行おうとするからであ
り、再生装置内で中枢制御を行うホスト側制御部は、ピ
クチャデータ−オーディオデータの再生が終わった後、
デコーダに対してオーディオポーズを指示し、オーディ
オデコーダを一時的に停止する(この指示情報が図19
中のADPI(Audio Decoder Pause Information)であ
る。) このようにして、オーディオギャップの期間中、オーデ
ィオデコーダの動作を停止させることが可能となる。だ
からといって、どのようにオーディオギャップが現れて
も、音声出力を停止できる訳ではない。
During the audio gap, the operation of the audio decoder must be temporarily stopped. This is because the audio decoder tries to perform the decoding process even during the audio gap period, and the host-side control unit that performs the central control in the playback device, after the playback of the picture data-audio data ends,
The audio pause is instructed to the decoder and the audio decoder is temporarily stopped (this instruction information is shown in FIG.
It is ADPI (Audio Decoder Pause Information) inside. In this way, the operation of the audio decoder can be stopped during the audio gap. That does not mean that audio output can be stopped no matter how the audio gap appears.

【0116】何故なら、制御部は、汎用的なマイコンと
ソフトウェアから構成される場合が多く、オーディオデ
コードの停止させる都合上、オーディオギャップが短期
間に連続しては、制御部による停止指示が間に合わない
可能性があるからである。例えば約1秒長のVOBを連続的
に再生する場合、約1秒の間隔でオーディオデコーダの
停止を指示する必要があるので、汎用的なマイコンとソ
フトウェアから構成される制御部では、オーディオギャ
ップが継続している間、オーディオデコーダを停止でき
ない可能性がある。またVOBの再生において、ピクチャ
データの再生時刻とオーディオデータの再生時刻とを何
度も揃えようとすると、その度にオーディオデコーダの
停止を指示する必要があるので、汎用的なマイコンとソ
フトウェアから構成される制御部では、オーディオギャ
ップが継続している間、オーディオデコーダを停止でき
ない可能性がある。
Because the control unit is often composed of a general-purpose microcomputer and software, in order to stop the audio decoding, if the audio gap continues for a short period of time, the stop instruction from the control unit will be in time. Because there is a possibility that there is no For example, when playing a VOB that is about 1 second long continuously, it is necessary to instruct to stop the audio decoder at an interval of about 1 second. It may not be possible to stop the audio decoder while continuing. Also, in VOB playback, if you try to align the playback time of picture data with the playback time of audio data many times, it is necessary to instruct the audio decoder to stop each time. The control unit may not be able to stop the audio decoder while the audio gap continues.

【0117】そこでオーディオギャップが一定期間を置
いて発生するよう以下のような制限を設けている。先ず
第1に、制御部による停止制御が余裕をもって行われる
ように、VOBの時間長を1.5秒以上とし、オーディオギャ
ップ発生の短期間化を防止する。第2に、ピクチャデー
タの再生時刻とオーディオデータの再生時刻とを揃える
のは、一つのVOBにつき1回のみとする。こうすることに
よりオーディオギャップは、1つのVOBにつき1つとな
る。
Therefore, the following restrictions are set so that the audio gap occurs after a certain period of time. First of all, the VOB time length is set to 1.5 seconds or more so that the stop control by the control unit is performed with a margin to prevent the audio gap from being shortened. Secondly, the reproduction time of the picture data and the reproduction time of the audio data are aligned only once for each VOB. By doing this, there will be one audio gap per VOB.

【0118】第3に、オーディオギャップの時間長に制
限を設け、1オーディオフレーム未満とする。最後に、
オーディオギャップの開始時刻VOB_A_STP_PTMを後部の
ビデオ再生開始時刻VOB_V_S_PTMを基準として、オーデ
ィオギャップの開始時刻(VOB_A_STP_PTM)を後部のビデ
オ再生開始時刻(VOB_V_S_PTM)以前の1オーディオフレー
ム未満の間に置くように制限する。即ち、以下の式の関
係を満たすように制限する。VOB_V_S_PTM - 1オーディ
オフレーム再生時間 < A_STP_PTM ≦ VOB_V_S_PTM何故
ならこのような時間にオーディオギャップが発生して
も、後部VOBにおいて最初の映像が表示されたばかりで
あり、音声出力が無音であっても、操作者に違和感を与
える可能性は低いと考えられるからである。
Thirdly, the time length of the audio gap is limited to less than one audio frame. Finally,
Limit the audio gap start time VOB_A_STP_PTM to less than 1 audio frame before the rear video playback start time (VOB_V_S_PTM) based on the rear video playback start time VOB_V_S_PTM. . That is, it is limited so as to satisfy the relationship of the following equation. VOB_V_S_PTM-1 Audio frame playback time <A_STP_PTM ≤ VOB_V_S_PTM Because even if an audio gap occurs at such time, the first video is just displayed in the rear VOB, and the audio output is silent, the operator This is because it is considered unlikely to give a feeling of strangeness to.

【0119】以上の制限を設けることで、シームレス再
生時におけるオーディオギャップの発生間隔は最小で
も、”1.5秒-1オーディオフレーム再生時間×2”とな
る。具体的に数値を当てはめてみると、オーディオをDo
lby AC3とすれば1オーディオフレーム再生時間は32msec
であるから、オーディオギャップの発生間隔は最小でも
1436msecになり、制御部による停止制御が余裕をもって
行われる可能性は高い。
By providing the above restrictions, the audio gap generation interval during seamless reproduction is at least "1.5 seconds-1 audio frame reproduction time x 2". Applying the numerical value concretely, the audio
With lby AC3, the playback time for one audio frame is 32 msec.
Therefore, the audio gap occurrence interval is at least
It is 1436 msec, and it is highly possible that the control unit will perform stop control with sufficient margin.

【0120】(1-3-3-11) オーディオギャップ位置情報 『オーディオギャップ位置情報 A_GAP_LOC』は、後部VO
Bの先端部に位置する3つのVOBUのうち、何処のVOBUにオ
ーディオギャップを含むオーディオパックが挿入された
かを示す3ビットの値である。本情報が1である場合、VO
BU#1にオーディオギャップが存在することを示し、2で
ある場合、VOBU#2にオーディオギャップが存在すること
を示す。3である場合、VOBU#3にオーディオギャップが
存在することを示す。
(1-3-3-11) Audio gap position information "Audio gap position information A_GAP_LOC" is the rear VO
It is a 3-bit value indicating which VOBU of the three VOBUs located at the tip of B has an audio pack including an audio gap inserted therein. If this information is 1, VO
BU # 1 indicates that there is an audio gap, and 2 indicates that VOBU # 2 has an audio gap. A value of 3 indicates that there is an audio gap in VOBU # 3.

【0121】このようなフラグの必要となるのは、シー
ムレス再生されるべき2つのVOBのうち、後部VOBの部分
削除が必要となった場合にオーディオギャップを再作成
を行うためである。VOBの部分削除とは、VOBの先端部或
は終端部に位置するVOBUのうち複数のものを削除するこ
とをいう。例えば、映像編集時において、オープニング
シーンだけをカットしたりしたい場合がよくある。この
場合、そのオープニングシーンを含むVOBUを削除するの
が"VOBの部分削除"である。
The necessity of such a flag is to recreate the audio gap when the rear VOB of the two VOBs to be seamlessly reproduced needs to be partially deleted. Partial deletion of a VOB means deleting a plurality of VOBUs located at the front end or the end end of the VOB. For example, when editing a video, it is often desirable to cut only the opening scene. In this case, "VOB partial deletion" is to delete the VOBU including the opening scene.

【0122】このような部分削除を行う場合、留意すべ
きは、後部VOBに移動したオーディオギャップを含むオ
ーディオパックである。上述したように、オーディオギ
ャップは、後部VOBのビデオ再生開始時刻VOB_V_S_PTMに
基づいて定められるので、VOB先頭の3VOBUの何れかにオ
ーディオギャップは多重化されている。このため一部の
VOBU、例えば先頭1つのVOBUが削除された場合、オーデ
ィオギャップが削除されたか消滅したかがわからなくな
る。
When performing such partial deletion, it should be noted that the audio pack includes the audio gap moved to the rear VOB. As described above, the audio gap is determined based on the video reproduction start time VOB_V_S_PTM of the rear VOB, so that the audio gap is multiplexed in any of the three VOBUs at the head of the VOB. Because of this some
If a VOBU, for example the first one VOBU, is deleted, it is unclear whether the audio gap has been deleted or disappeared.

【0123】また、VOBに設けてもよいオーディオギャ
ップの数は、1つのVOBにつきオーディオギャップは1つ
だけであり、新たにオーディオギャップを生成するとな
ると過去のオーディオギャップは不要となるから削除せ
ねばならない。ここで厄介なのは、図14(d)に示し
たようにオーディオギャップを含んだオーディオパック
G3は、1秒ルールに反しない範囲で、VOB#2におけるVOBU
#1〜VOBU#3のうち何れかに挿入されているので、これら
VOB#1〜VOB#3に含まれているパックから上記オーディオ
ギャップを含んだオーディオパックG3を取り出さねばな
らないのである。高々3つのVOBUといえども、これらの
中からオーディオギャップを含んだオーディオパックG3
のみを即座に取り出すには、ストリームの解析が必要と
なる。各VOBUは数100個のパックを含んでいるからであ
り、その内部を参照するのもかなりの処理量が要求され
るからである。
The number of audio gaps that can be provided in a VOB is only one audio gap per VOB. When a new audio gap is generated, the past audio gap is unnecessary and must be deleted. I won't. What is troublesome here is the audio pack including the audio gap as shown in FIG.
G3 is VOBU in VOB # 2 as long as it does not violate the 1 second rule.
Since it is inserted in any of # 1 to VOBU # 3, these
The audio pack G3 including the audio gap must be taken out from the packs included in VOB # 1 to VOB # 3. Audio pack G3 that includes an audio gap among these, even at most 3 VOBUs
Immediate retrieval of only the stream requires parsing of the stream. This is because each VOBU contains several hundreds of packs, and the inside of each VOBU requires a considerable amount of processing.

【0124】オーディオギャップ位置情報A_GAP_LOC
は、後部VOBの先端部に位置する3つのVOBUのうち、何処
のVOBUにオーディオギャップを含むオーディオパックが
挿入されたかを3ビットのフラグで示しているので、オ
ーディオギャップの探索対象となるVOBUを何れか1つに
特定することができ、オーディオギャップを含んだオー
ディオパックG3の取り出しを容易に行うことができる。
Audio gap position information A_GAP_LOC
Shows a VOBU to be searched for an audio gap, as a 3-bit flag indicates in which VOBU of the three VOBUs located at the front end of the rear VOB the audio pack containing the audio gap was inserted. It can be specified to any one, and the audio pack G3 including the audio gap can be easily taken out.

【0125】図15(a)〜図15(d)は、シームレ
スに再生されるべきVOB#1−VOB#2のうち、VOB#2の先端
部に位置するVOBUが削除された場合に、ビデオデータ編
集装置がオーディオギャップの再作成を行う手順を示す
説明図である。図15(a)においてVOB#1は、『VOBU#
98』『VOBU#99』『VOBU#100』がその終端部に配置され
ていることがわかる。またVOB#2には、『VOBU#1』『VOB
U#2』『VOBU#3』がその先端部に配置されていることが
わかる。VOB#2においてVOBU#1からVOBU#2までの部分削
除がビデオデータ編集装置に対して命じられたとする。
FIGS. 15 (a) to 15 (d) show the video when the VOBU located at the tip of VOB # 2 of VOB # 1-VOB # 2 which should be reproduced seamlessly is deleted. It is explanatory drawing which shows the procedure which a data editing apparatus re-creates an audio gap. In FIG. 15A, VOB # 1 is “VOBU #
It can be seen that "98", "VOBU # 99", and "VOBU # 100" are located at the end of it. For VOB # 2, "VOBU # 1" and "VOB"
It can be seen that U # 2 and VOBU # 3 are placed at the tip. It is assumed that a partial deletion from VOBU # 1 to VOBU # 2 in VOB # 2 is instructed to the video data editing device.

【0126】オーディオギャップを含んだオーディオパ
ックG3が配置されているVOBUを特定するべく、オーディ
オギャップ位置情報A_GAP_LOCが参照される。ここでオ
ーディオギャップ位置情報A_GAP_LOCが図15(b)の
ように設定されているとすると、VOB#2のVOBU#3にオー
ディオギャップを含んだオーディオパックG3が配置され
ていることがわかる。
The audio gap position information A_GAP_LOC is referred to in order to specify the VOBU in which the audio pack G3 including the audio gap is arranged. If the audio gap position information A_GAP_LOC is set as shown in FIG. 15B, it can be seen that the audio pack G3 including the audio gap is arranged in VOBU # 3 of VOB # 2.

【0127】このようにオーディオギャップを含んだオ
ーディオパックG3がVOBU#3に配置されていることがわ
かると、部分削除範囲内にオーディオギャップが多重化
されているか否かがわかり、本例の場合は、オーディオ
ギャップが含まれていないため、削除したVOBUの数だけ
図15(d)のようにA_GAP_LOCを修正する。 (1-4)ビデオデータ編集装置のシステム構成 本実施形態におけるビデオデータ編集装置は、DVD-RAM
の再生装置−記録装置として機能を兼備しているもので
ある。図16は、本実施形態におけるビデオデータ編集
装置を用いたシステムの構成例を示す。本システムにお
けるビデオデータ編集装置(以下DVDレコーダ70と呼
ぶ)は、リモコン71、DVDレコーダ70に接続された
テレビ受像機72、アンテナ73を含んでいる。本DVD
レコーダ70は、テレビ放送の録画機として広く普及し
ているビデオテープレコーダの編集機能付きの代替機と
して用いられることを想定しており、本システムは、こ
のような用途でビデオデータ編集装置が家庭内に用いら
れた場合を示したものである。上記DVD-RAMは、DVDレコ
ーダ70がテレビ放送の録画を行うための記録媒体とし
て用いられる。
When it is found that the audio pack G3 including the audio gap is arranged in the VOBU # 3 as described above, it is known whether or not the audio gap is multiplexed within the partial deletion range. Does not include an audio gap, so A_GAP_LOC is modified by the number of deleted VOBUs as shown in FIG. (1-4) System Configuration of Video Data Editing Device The video data editing device in this embodiment is a DVD-RAM.
The reproducing device-the recording device also has a function as a recording device. FIG. 16 shows a configuration example of a system using the video data editing device according to this embodiment. The video data editing device (hereinafter referred to as DVD recorder 70) in this system includes a remote controller 71, a television receiver 72 connected to the DVD recorder 70, and an antenna 73. Book dvd
The recorder 70 is assumed to be used as an alternative machine with an editing function of a video tape recorder which is widely used as a recorder for television broadcasting, and this system is used as a video data editing apparatus for home use in such a purpose. It shows the case where it is used in. The DVD-RAM is used as a recording medium for the DVD recorder 70 to record a television broadcast.

【0128】DVDレコーダ70は、DVD-RAMを装填する
と、アンテナ73を通じて受信されたビデオ信号或はNT
SC信号を圧縮してVOBとしてDVD-RAMに記録し、また、DV
D-RAMに記録されたVOBに含まれているビデオストリー
ム、オーディオストリームを伸長してそのビデオ信号或
はNTSC信号、オーディオ信号をテレビ受像機72に出力
する。
When the DVD recorder 70 is loaded with the DVD-RAM, the DVD recorder 70 receives the video signal or NT signal received through the antenna 73.
The SC signal is compressed and recorded as VOB on DVD-RAM, and also DV
The video stream and the audio stream included in the VOB recorded in the D-RAM are expanded and the video signal, the NTSC signal or the audio signal is output to the television receiver 72.

【0129】(1-4-1)DVDレコーダ70のハードウェア構
成 図17は、DVDレコーダ70のハードウェア構成を示す
ブロック図である。このDVDレコーダ70は、制御部
1、MPEGエンコーダ2、ディスクアクセス部3、デコー
ダ4、ビデオ信号処理部5、リモコン71、バス7及び
リモコン信号受信部8、レシーバ9を有している。
(1-4-1) Hardware Configuration of DVD Recorder 70 FIG. 17 is a block diagram showing the hardware configuration of the DVD recorder 70. The DVD recorder 70 has a control unit 1, an MPEG encoder 2, a disc access unit 3, a decoder 4, a video signal processing unit 5, a remote controller 71, a bus 7, a remote controller signal receiving unit 8 and a receiver 9.

【0130】図中の実線の矢印は、ビデオデータ編集装
置において基板配線として実装されている物理的な接続
線であり、図中の破線は、映像編集時において実線の矢
印に示す接続線上で、各種データがどのように入出力さ
れているかを示す論理的な接続線である。破線に添えた
(1)(2)(3)(4)(5)の数値は、VOBUの再エンコード時にお
いて、VOBU及びこれを構成するピクチャデータ、オーデ
ィオデータが上記物理的な接続線上をどのように伝送し
てゆくかを示す。
Solid line arrows in the figure are physical connection lines mounted as board wiring in the video data editing device, and broken lines in the figure are on the connection lines indicated by the solid line arrows at the time of image editing. It is a logical connection line indicating how various data are input / output. Attached to the broken line
The values of (1), (2), (3), (4), and (5) are how the VOBU and its constituent picture data and audio data are transmitted on the physical connection line when the VOBU is re-encoded. Indicates whether to go.

【0131】制御部1は、CPU1a、プロセッサバス1
b、バスインタフェース1c、主記憶1d、ROM1eを有し
たホスト側制御部であり、ROM1eに格納されたプログラ
ムを実行することにより、VOBの記録、再生、編集など
を行う。MPEGエンコーダ2は、アンテナ73を通してレ
シーバ9がNTSC信号を受信した場合、または、DVDレコ
ーダ70の背面に備えられているビデオ入力端子から、
家庭用ビデオカメラが出力したビデオ信号が入力されて
くる場合、これらNTSC信号及びビデオ信号をエンコード
することによりVOBを得て、エンコード結果であるVOBを
バス7を通じてディスクアクセス部3に出力する。特に
映像編集に関する処理としてMPEGエンコーダ2は、バス
7を介して接続線c1から出力されてくるデコーダ4によ
るデコード結果を破線(4)に示すように入力し、このデ
コード結果をエンコードすることによりVOBを得て、エ
ンコード結果であるVOBをバス7を通じて破線(5)に示す
ように、ディスクアクセス部3に出力する。
The control unit 1 includes a CPU 1a and a processor bus 1
It is a host-side control unit having b, a bus interface 1c, a main memory 1d, and a ROM 1e, and executes a program stored in the ROM 1e to record, reproduce, and edit a VOB. When the receiver 9 receives the NTSC signal through the antenna 73, or from the video input terminal provided on the back surface of the DVD recorder 70, the MPEG encoder 2
When the video signal output from the home video camera is input, the VOB is obtained by encoding the NTSC signal and the video signal, and the encoded VOB is output to the disk access unit 3 through the bus 7. In particular, as a process related to video editing, the MPEG encoder 2 inputs the decoding result by the decoder 4 output from the connection line c1 via the bus 7 as shown by the broken line (4), and encodes this decoding result to obtain VOB. Then, the encoded VOB is output to the disk access unit 3 through the bus 7 as indicated by a broken line (5).

【0132】ディスクアクセス部3は、トラックバッフ
ァ3a、ECC処理部3b、DVD-RAMについてのドライブ機構
3cを有しており制御部1の制御に従いDVD-RAMをアク
セスする。より詳しくは、制御部1によりDVD-RAMへの
記録が指示され、MPEGエンコーダ2からエンコードされ
たVOBが破線(5)に示すように順次出力された場合、ディ
スクアクセス部3は出力されたそれらのVOBをトラック
バッファ3aに格納して、一旦ECC処理部3bによるECC
処理を施した後、順次DVD-RAMに記録するようドライブ
機構3cを制御する。一方、制御部1によりDVD-RAMか
らの読み出しが指示された場合、DVD-RAMからVOBを順次
読み出すようドライブ機構3cを制御し、読み出された
VOBにECC処理部3bによるECC処理を施した後、トラッ
クバッファ3aに格納する。
The disk access unit 3 has a track buffer 3a, an ECC processing unit 3b, and a drive mechanism 3c for the DVD-RAM, and accesses the DVD-RAM under the control of the control unit 1. More specifically, when the control unit 1 instructs recording on the DVD-RAM and the encoded VOBs are sequentially output from the MPEG encoder 2 as shown by the broken line (5), the disk access unit 3 outputs those output signals. VOB of the above is stored in the track buffer 3a, and once the ECC processing unit 3b performs the ECC.
After performing the processing, the drive mechanism 3c is controlled so as to sequentially record on the DVD-RAM. On the other hand, when the control unit 1 instructs reading from the DVD-RAM, the drive mechanism 3c is controlled so as to sequentially read the VOBs from the DVD-RAM, and the reading is performed.
The VOB is subjected to ECC processing by the ECC processing unit 3b and then stored in the track buffer 3a.

【0133】ここでドライブ機構3cは、DVD-RAMをセッ
トする基台と、セットされたDVD-RAMをクランプして回
転駆動するスピンドルモータと、DVD-RAMに記録された
信号を読み出す光ピックアップと、光ピックアップのア
クチュエータとを備えており、DVD-RAMの読み書きは、
これらの制御により実現されるが、その制御の詳細につ
いては本発明の主眼でなく、公知技術であっても実現で
きるものなので、その詳細説明は省略する。
Here, the drive mechanism 3c includes a base for setting the DVD-RAM, a spindle motor for clamping and rotating the set DVD-RAM, and an optical pickup for reading the signals recorded in the DVD-RAM. , Equipped with an optical pickup actuator, for reading and writing DVD-RAM,
It is realized by these controls, but the details of the control are not the main subject of the present invention and can be realized even by a known technique, and thus the detailed description thereof will be omitted.

【0134】デコーダ4は、ディスクアクセス部3によ
ってDVD-RAMから読み出されたVOBが破線の矢印(1)に示
すように出力されると、出力されたVOBをデコードする
ことによりデジタル非圧縮のビデオデータと、音声信号
とを得て、デジタル非圧縮のビデオデータをビデオ信号
処理部5に出力すると共に、音声信号をテレビ受像機7
2に出力する。また、映像編集時においてデコーダ4
は、ビデオストリーム、オーディオストリームのデコー
ド結果を破線の矢印(2)(3)に示すように図17中の接続
線c2,c3を介してバス7に出力する。バス7に出力され
たデコード結果は接続線c1を介して破線の矢印(4)に示
すように、MPEGエンコーダ2に出力される。
When the VOB read from the DVD-RAM by the disk access unit 3 is output as indicated by the broken arrow (1), the decoder 4 decodes the output VOB to obtain digital uncompressed data. The video data and the audio signal are obtained, the digital uncompressed video data is output to the video signal processing unit 5, and the audio signal is transmitted to the television receiver 7.
Output to 2. In addition, when editing the video, the decoder 4
Outputs the decoding result of the video stream and the audio stream to the bus 7 via the connection lines c2 and c3 in FIG. 17 as indicated by the broken arrows (2) and (3). The decoding result output to the bus 7 is output to the MPEG encoder 2 via the connection line c1 as indicated by a dashed arrow (4).

【0135】ビデオ信号処理部5は、デコーダ4からの
映像データをテレビ受像機72用の映像信号に変換する
と共に、外部からグラフィックスデータが出力されれば
そのグラフィックスデータを変換後の映像信号に合成す
るよう信号処理を行う。リモコン信号受信部8は、リモ
コン信号を受信し、その信号に含まれているキーコード
を制御部1に通知して、リモコン71の操作に従った制
御を制御部1に行わせる。
The video signal processing section 5 converts the video data from the decoder 4 into a video signal for the television receiver 72, and if the graphics data is output from the outside, the video data after the conversion of the graphics data. Signal processing is performed so as to combine the two. The remote control signal receiving unit 8 receives the remote control signal, notifies the control unit 1 of the key code included in the signal, and causes the control unit 1 to perform control according to the operation of the remote control 71.

【0136】(1-4-1-1)MPEGエンコーダ2の内部構成 図18は、MPEGエンコーダ2の構成を示すブロック図で
ある。同図のようにMPEGエンコーダ2は、ビデオエンコ
ーダ2aと、ビデオエンコーダの出力を格納するビデオ
バッファ2bと、オーディオエンコーダ2cと、オーディ
オエンコーダの出力を格納するオーディオバッファ2d
と、ビデオバッファ2b内のエンコードされたビデオス
トリームとオーディオバッファ2d内のエンコードされ
たオーディオストリームを多重化するシステムエンコー
ダ2eと、エンコーダ2の同期クロックを生成するSTC
(システムタイムクロック)部2fと、これらの制御及
び管理を行うエンコーダ制御部2gとから構成されてい
る。
(1-4-1-1) Internal Structure of MPEG Encoder 2 FIG. 18 is a block diagram showing the structure of the MPEG encoder 2. As shown in the figure, the MPEG encoder 2 includes a video encoder 2a, a video buffer 2b that stores the output of the video encoder, an audio encoder 2c, and an audio buffer 2d that stores the output of the audio encoder.
And a system encoder 2e that multiplexes the encoded video stream in the video buffer 2b and the encoded audio stream in the audio buffer 2d, and an STC that generates a synchronization clock for the encoder 2.
It is composed of a (system time clock) unit 2f and an encoder control unit 2g for controlling and managing these.

【0137】(1-4-1-2)デコーダ4の内部構成 図19は、デコーダ4の構成を示すブロック図である。
同図のようにデコーダ4は、デ・マルチプレクサ4a、ビ
デオバッファ4b、ビデオデコーダ4c、オーディオバッ
ファ4d、オーディオデコーダ4e、リ・オーダーバッフ
ァ4f、STC4g、加算器4h、スイッチSW1、スイッチSW
2、スイッチSW3、スイッチSW4、デコーダ制御部4kから
構成される。
(1-4-1-2) Internal Structure of Decoder 4 FIG. 19 is a block diagram showing the structure of the decoder 4.
As shown in the figure, the decoder 4 includes a demultiplexer 4a, a video buffer 4b, a video decoder 4c, an audio buffer 4d, an audio decoder 4e, a reorder buffer 4f, an STC 4g, an adder 4h, a switch SW1 and a switch SW.
2, switch SW3, switch SW4, and decoder control unit 4k.

【0138】デ・マルチプレクサ4aは、VOBから読み出
されたパケットのヘッダを参照して、それぞれのパック
がビデオパックであるか、オーディオパックであるかを
判定する。判定結果がビデオパックならばパック内のビ
デオデータをビデオバッファ4bに出力し、オーディオ
パックならばパック内のオーディオデータをオーディオ
バッファ4dに出力する。
The demultiplexer 4a refers to the header of the packet read from the VOB and determines whether each pack is a video pack or an audio pack. If the determination result is a video pack, the video data in the pack is output to the video buffer 4b, and if it is an audio pack, the audio data in the pack is output to the audio buffer 4d.

【0139】ビデオバッファ4bは、デ・マルチプレクサ
4aが出力したビデオデータを蓄積するためのバッファ
である。ビデオバッファ4bにおいて各ピクチャデータ
はデコード時刻にバッファから取り出されるまで格納さ
れる。ビデオデコーダ4cは、ビデオバッファ4bに格納
されたピクチャデータを各々のデコード時刻にビデオバ
ッファ4bから取り出して瞬時にデコードする。
The video buffer 4b is a buffer for accumulating the video data output from the demultiplexer 4a. Each picture data is stored in the video buffer 4b at the decoding time until it is taken out from the buffer. The video decoder 4c takes out the picture data stored in the video buffer 4b from the video buffer 4b at each decoding time and instantaneously decodes the picture data.

【0140】オーディオバッファ4dは、デ・マルチプレ
クサ4aが出力したオーディオデータを蓄積するための
バッファである。オーディオデコーダ4eは、オーディ
オデコーダ4eに格納されたオーディオフレーム単位の
オーディオデータを順次デコードする。制御部1が発し
たADPI(Audio Decoder Pause Information)の出力を
受け付けた場合、オーディオデコーダ4eは、オーディ
オフレームデータのデコード処理を停止する。ADPIは、
現在時刻がシームレス接続情報に示されているオーディ
オギャップ開始時刻A_STP_PTMになった時点で制御部1
から発せられる。
The audio buffer 4d is a buffer for accumulating the audio data output from the demultiplexer 4a. The audio decoder 4e sequentially decodes audio data in audio frame units stored in the audio decoder 4e. When the output of ADPI (Audio Decoder Pause Information) issued by the control unit 1 is accepted, the audio decoder 4e stops the decoding process of the audio frame data. ADPI is
When the current time reaches the audio gap start time A_STP_PTM indicated in the seamless connection information, the control unit 1
Is emitted from.

【0141】リ・オーダーバッファ4fは、ビデオデコー
ダ4cによりデコードされたピクチャデータがIピクチ
ャ、Pピクチャである場合、それらのデコード結果を格
納するためのバッファである。このようにIピクチャ、P
ピクチャのデコード結果を格納するのは符号化順序と表
示順序との入れ替えのためであり、リ・オーダーバッフ
ァ4fに格納されたデコード結果より先に表示されるべ
き全てのBピクチャがビデオデコーダ4cによりデコード
された後、リ・オーダーバッファ4fはそれまで格納して
いたIピクチャ,Pピクチャのデコード結果をビデオ信号
或はNTSC信号として出力する。
When the picture data decoded by the video decoder 4c is an I picture or a P picture, the re-order buffer 4f is a buffer for storing the decoding result thereof. I picture, P
The decoding result of the picture is stored because the encoding order and the display order are exchanged, and all the B pictures to be displayed before the decoding result stored in the re-order buffer 4f are stored by the video decoder 4c. After being decoded, the re-order buffer 4f outputs the decoding results of the I picture and P picture stored until then as a video signal or an NTSC signal.

【0142】STC(システムタイムクロック)部4gは、
デコーダ4内の基準時刻を示す同期クロックを生成す
る。加算器4hは、同期クロックにより示される基準時
刻にSTC_Offsetを加算した値をオフセット付き基準時刻
として出力する。このSTC_offsetは、制御部1がシーム
レス接続情報に示されているビデオ再生開始時刻VOB_V_
S_PTMとビデオ再生終了時刻VOB_V_E_PTMとの差分をとる
ことにより算出され、設定される。
The STC (system time clock) unit 4g is
A synchronous clock indicating the reference time in the decoder 4 is generated. The adder 4h outputs a value obtained by adding STC_Offset to the reference time indicated by the synchronous clock as the reference time with offset. This STC_offset is the video playback start time VOB_V_ indicated by the control unit 1 in the seamless connection information.
It is calculated and set by taking the difference between S_PTM and the video playback end time VOB_V_E_PTM.

【0143】スイッチSW1は、STC4gが計時している基
準時刻又は加算器4hが出力しているオフセット付き基
準時刻をデマルチプレクサ4aに供給する。スイッチSW2
は、STC4gが計時している基準時刻又は加算器4hが出
力しているオフセット付き基準時刻をオーディオデコー
ダ4eに供給する。供給された基準時刻又はオフセット
付き基準時刻は、各オーディオフレームのデコード時刻
及び再生開始時刻との照合に用いられる。
The switch SW1 supplies the reference time counted by the STC 4g or the reference time with offset output from the adder 4h to the demultiplexer 4a. Switch SW2
Supplies the reference time counted by the STC 4g or the reference time with offset output by the adder 4h to the audio decoder 4e. The supplied reference time or reference time with offset is used for comparison with the decoding time and the reproduction start time of each audio frame.

【0144】スイッチSW3は、STC4gが計時している基
準時刻又は加算器4hが出力しているオフセット付き基
準時刻をビデオデコーダ4cに供給する。供給された基
準時刻又はオフセット付き基準時刻は、各ピクチャデー
タのデコード時刻との照合に用いられる。スイッチSW4
は、STC4gが計時している基準時刻又は加算器4hが出
力しているオフセット付き基準時刻をリ・オーダーバッ
ファ4fに供給する。供給された基準時刻又はオフセッ
ト付き基準時刻は、各ピクチャデータの再生開始時刻と
の照合に用いられる。
The switch SW3 supplies the reference time measured by the STC 4g or the reference time with offset output by the adder 4h to the video decoder 4c. The supplied reference time or reference time with offset is used for collation with the decoding time of each picture data. Switch SW4
Supplies the reference time measured by the STC 4g or the reference time with offset output from the adder 4h to the re-order buffer 4f. The supplied reference time or reference time with offset is used for collation with the reproduction start time of each picture data.

【0145】デコーダ制御部4kは、VOBUの整数倍単
位、即ち、GOPの整数倍単位でのデコード処理要求を制
御部1から受け付けて、デコード処理をデ・マルチプレ
クサ4a〜リ・オーダーバッファ4fに行わせる。また、
そのデコード結果の再生出力の有効/無効指示を受け付
けて再生出力が有効ならばビデオデコーダ4c、オーデ
ィオデコーダ4eのデコード結果を外部に出力させ、再
生出力が無効ならばビデオデコーダ4c、オーディオデ
コーダ4eのデコード結果の外部への出力を禁止する。
有効/無効指示は、ビデオフレームより更に細かい単
位、即ち、ビデオフィールドで可能である。このビデオ
フィールド単位で再生出力の有効区間を指定した情報を
有効再生区間情報という。
The decoder control unit 4k receives from the control unit 1 a decoding processing request in units of integer multiples of VOBU, that is, in units of integer multiples of GOP, and performs decoding processing on the demultiplexer 4a to the reorder buffer 4f. Let Also,
When the reproduction output is valid, the decoding result of the video decoder 4c and the audio decoder 4e is output to the outside, and when the reproduction output is invalid, the video decoder 4c and the audio decoder 4e receive the decoding output. Disables the output of decoding results to the outside.
The valid / invalid instruction can be made in a unit smaller than the video frame, that is, in the video field. The information specifying the effective section of the reproduction output in units of this video field is called effective reproduction section information.

【0146】(1-4-1-2-1) スイッチSW1〜スイッチSW4の
切り換えタイミング 図20は、スイッチSW1〜スイッチSW4の切り換えタイミ
ングを示すタイミングチャートである。本タイミングチ
ャートは、VOB#1−VOB#2を連続して再生する場合に、ス
イッチSW1〜スイッチSW4の切り換えがどのタイミングで
行われるかを示している。本図の上段はVOB#1−VOB#2を
構成するパック列を示し、中段はビデオフレームを示
す。下段はオーディオフレームを示す。
(1-4-1-2-1) Switching Timing of Switches SW1 to SW4 FIG. 20 is a timing chart showing switching timing of the switches SW1 to SW4. This timing chart shows at what timing the switches SW1 to SW4 are switched when VOB # 1 and VOB # 2 are continuously reproduced. The upper part of the figure shows the pack sequence forming VOB # 1-VOB # 2, and the middle part shows the video frame. The lower row shows audio frames.

【0147】スイッチSW1の切り換えタイミングは、デ
コーダ4へと転送されてくるパック列がVOB#1のものか
ら、VOB#2のものに移り変わった時点である。この時刻
は、VOB#1についてのシームレス接続情報のLAST_SCRに
示されているものである。スイッチSW2の切り換えタイ
ミングは、スイッチSW1の切り換え以前にオーディオバ
ッファ4dに格納されたVOB、即ち、VOB#1のオーディオ
データが全てデコードされた時点である。
The switching timing of the switch SW1 is the time when the pack sequence transferred to the decoder 4 is changed from VOB # 1 to VOB # 2. This time is shown in LAST_SCR of seamless connection information about VOB # 1. The switching timing of the switch SW2 is the time when all the VOB stored in the audio buffer 4d before the switching of the switch SW1, that is, all the audio data of VOB # 1 are decoded.

【0148】スイッチSW3の切り換えタイミングは、ス
イッチSW1の切り換え時刻(T1)以前にビデオバッファ4b
に蓄積されたVOB、即ち、VOB#1のビデオデータが全てデ
コードされた時点である。スイッチSW4の切り換えタイ
ミングは、VOB#1の表示順序において、最後のビデオフ
レームの表示が済んだ時点である。
The switching timing of the switch SW3 is the same as that of the video buffer 4b before the switching time (T1) of the switch SW1.
It is the time when all the VOBs accumulated in the above, that is, the video data of VOB # 1 are all decoded. The switching timing of the switch SW4 is the time when the display of the last video frame is completed in the display order of VOB # 1.

【0149】ROM1eに格納されたプログラムは、DVD-RA
Mに記録済みの2つのVOBがシームレスに再生されるよう
加工するモジュールを含んでいる。 (1-4-1-2-2) VOBにシームレス加工を行うための処理手
順 図21、図22は、AVファイルにおける2つのVOBがシー
ムレス接続するよう加工を行うための加工モジュールの
処理手順を示すフローチャートである。図23(a)、
図23(b)は、各ビデオパックに基づいて、バッファ
状態を解析する様子を示す説明図である。図24
(a)、図25は、図22において用いられているオー
ディオフレームx,x+1,y-1,y,u,u+1,u+2がオーディオス
トリームのどのオーディオフレームに対応するかを示す
図である。
The program stored in the ROM1e is a DVD-RA
It includes a module that processes the two VOBs recorded on M so that they can be seamlessly played. (1-4-1-2-2) Processing procedure for seamless processing on VOB FIGS. 21 and 22 show the processing procedure of the processing module for processing so that two VOBs in an AV file are seamlessly connected. It is a flowchart shown. FIG. 23 (a),
FIG. 23B is an explanatory diagram showing how the buffer state is analyzed based on each video pack. Figure 24
(A), FIG. 25 shows which audio frame x, x + 1, y-1, y, u, u + 1, u + 2 used in FIG. 22 corresponds to which audio frame of the audio stream. FIG.

【0150】次にVOBの再エンコードについて説明す
る。図21のステップS102において制御部1は、前
部VOBのVOB_V_E_PTM-後部VOBのVOB_V_S_PTMの計算を行
うことによりSTC_OFFSETを得る。ステップS103にお
いて制御部1は、前部VOBのFIRST_SCRから全データのデ
コード終了時刻までのバッファ占有量の変化を解析す
る。図23(a)、図23(b)は、ステップS103
におけるバッファ占有量の解析過程を示す説明図であ
る。図23(a)に示すように前部VOBにビデオパック#
1,ビデオパック#2が含まれている場合、これらのビデオ
パックに含まれているSCR#1,#2と、DTS#1とを時間軸に
プロットする。続いてビデオパック#1,ビデオパック#2
に含まれているデータのデータサイズを検出する。SCR#
1からパックヘッダ中のビットレート情報の傾きで、ビ
デオパック#1のデータサイズ分だけプロットしてゆく。
次に同様にSCR#2からビデオパック#2のデータサイズだ
けプロットしてゆく。次にDTS#1でデコードされるピク
チャデータP1のデータサイズ分だけサイズを削減するよ
うにプロットしてゆく。このとき、ピクチャデータP1の
サイズは、ビデオストリームを解析することにより得ら
れる。
Next, VOB re-encoding will be described. In step S102 of FIG. 21, the control unit 1 obtains STC_OFFSET by calculating VOB_V_E_PTM of the front VOB-VOB_V_S_PTM of the rear VOB. In step S103, the control unit 1 analyzes the change in the buffer occupancy amount from FIRST_SCR of the front VOB to the decoding end time of all data. 23 (a) and 23 (b) shows step S103.
5 is an explanatory diagram showing a process of analyzing a buffer occupancy amount in FIG. Video pack # in front VOB
When 1 and video pack # 2 are included, SCR # 1 and # 2 and DTS # 1 included in these video packs are plotted on the time axis. Followed by Video Pack # 1 and Video Pack # 2
Detects the data size of the data contained in. SCR #
Plot the data size of video pack # 1 from 1 to the slope of the bit rate information in the pack header.
Next, similarly plot only the data size of Video Pack # 2 from SCR # 2. Next, plotting is performed so that the size is reduced by the data size of the picture data P1 decoded by DTS # 1. At this time, the size of the picture data P1 is obtained by analyzing the video stream.

【0151】このようにビデオパック及びピクチャデー
タのデータサイズをプロットすると、先頭のSCRからDTS
までのビデオバッファ4bのバッファ状態をグラフ化す
ることができる。同様の手順をVOBに含まれている全て
のビデオデータ、オーディオデータについて繰り返せば
図23(b)に示すようなバッファ状態を示すグラフを
得ることができる。
When the data sizes of the video pack and the picture data are plotted in this way, the STS from the head SCR to the DTS
The buffer states of the video buffer 4b up to can be graphed. By repeating the same procedure for all the video data and audio data included in the VOB, a graph showing the buffer state as shown in FIG. 23B can be obtained.

【0152】ステップS104において制御部1は、ス
テップS103と同様の解析を後部VOBに対して行うこ
とにより、後部VOBのFIRST_SCRから全データのデコード
終了時刻LAST_DTSまでのビデオバッファ占有量の変化を
解析する。ステップS105において制御部1は、後部
VOBのFIRST_SCR+STC_offsetから前部VOBのLAST_DTSまで
のビデオバッファ占有量の変化を解析する。後部VOBのF
IRST_SCR+STC_offsetから前部VOBのLAST_DTSまでの時間
帯は、前部VOBの最後のピクチャデータがビデオバッフ
ァ4bに蓄積されていながらも、後部VOBの先頭ピクチャ
データがビデオバッファ4bに転送される時間帯であ
る。
In step S104, the control section 1 analyzes the change in the video buffer occupancy from FIRST_SCR of the rear VOB to the decoding end time LAST_DTS of all data by performing the same analysis as in step S103 on the rear VOB. . In step S105, the control unit 1 controls the rear part.
The change of the video buffer occupancy from FIRST_SCR + STC_offset of VOB to LAST_DTS of the front VOB is analyzed. Rear VOB F
In the time zone from IRST_SCR + STC_offset to LAST_DTS of the front VOB, the last picture data of the front VOB is accumulated in the video buffer 4b, but the first picture data of the rear VOB is transferred to the video buffer 4b. Is.

【0153】前部VOB−後部VOBのビデオデータがバッフ
ァにおいて混在すると、そのバッファ状態は図10
(c)に示したものとなる。図10(c)においてFIRS
T_SCR+STC_offsetからLAST_DTSまでの期間においては、
前部VOB−後部VOBの双方のビデオデータがビデオバッフ
ァ4bに蓄積されていることになるので、このうち最大
となったビデオバッファ4bの蓄積量Bv1+Bv2を算出す
る。
When the video data of the front VOB and the rear VOB are mixed in the buffer, the buffer state is shown in FIG.
It becomes what was shown in (c). FIRS in FIG. 10 (c)
In the period from T_SCR + STC_offset to LAST_DTS,
Since the video data of both the front VOB and the rear VOB is stored in the video buffer 4b, the maximum storage amount Bv1 + Bv2 of the video buffer 4b is calculated.

【0154】ステップS106において制御部1は、前
部VOBの終端部に位置する3つのVOBUを読み出すようディ
スクアクセス部3を制御する。続いてステップS107
において制御部1は、後部VOBの先端部に位置する3つの
VOBUを読み出すようディスクアクセス部3を制御する。
図23(c)は、ステップS106において前部VOBか
ら読み出されるべき読出範囲を示す図である。図23
(c)において前部VOBがVOBU#98〜#105を含んでおり、
最後のVOBUが#105である場合、最後にデコードされるべ
きピクチャデータV_ENDを含むVOBUとして、VOBU#103〜#
105が読み出されることになる。図23(d)は、ステ
ップS107において後部VOBから読み出されるべき読
出範囲を示す図である。図23(d)において後部VOB
がVOBU#1〜#8を含んでおり、最初のVOBUが#1である場
合、最初にデコードされるべきピクチャデータV_TOPを
含むVOBUとして、VOBU#1〜#3が読み出されることにな
る。
In step S106, the control unit 1 controls the disk access unit 3 to read out the three VOBUs located at the end of the front VOB. Then, step S107.
In the control unit 1, the three control units located at the tip of the rear VOB are
The disk access unit 3 is controlled to read the VOBU.
FIG. 23C is a diagram showing a read range to be read from the front VOB in step S106. FIG. 23
In (c), the front VOB includes VOBU # 98 to # 105,
If the last VOBU is # 105, VOBU # 103- # is the VOBU including the picture data V_END to be decoded last.
105 will be read. FIG. 23D is a diagram showing a read range to be read from the rear VOB in step S107. The rear VOB in FIG. 23 (d)
Include VOBU # 1 to # 8, and the first VOBU is # 1, VOBU # 1 to # 3 are read as the VOBU including the picture data V_TOP to be decoded first.

【0155】ここで1秒ルールによると、1秒以内に再生
されるべきオーディオデータ、ピクチャデータは3つの
VOBUにまで隔てられて格納されている可能性はあるの
で、上記のように、VOBの開始点、終了点を含む3つのVO
BUを読み出すことにより、ステップS106では、前部
VOBの終端部に位置するピクチャデータV_endの再生終了
時刻の1秒前からその再生終了時刻までに再生されるべ
き全てのピクチャデータ及びオーディオデータがまとめ
て読み出されたのである。また、ステップS107で
は、後部VOBの先端部に位置するピクチャデータV_topの
再生開始時刻から、その再生開始時刻の1秒後までに再
生されるべき全てのピクチャデータ及びオーディオデー
タがまとめて読み出されたのである。尚、本フロ−チャ
−トでは3VOBU単位に読み出しを行ったが、VOBUの数は
幾つでも良い。またVOBU単位で読み出すのではなく、VO
BUに含まれているピクチャデータ、オーディオデータの
うち、1秒間に再生されるべき全てのもののみを読み出
してもよい。更には、1秒より長い期間に再生されるべ
きビデオデータ、オーディオデータを読み出してもよ
い。
According to the one second rule, there are three audio data and picture data to be reproduced within one second.
Since it is possible that they are stored separately in VOBU, as described above, 3 VOs including the start point and end point of VOB
By reading the BU, the front part
That is, all the picture data and audio data to be reproduced from the playback end time of 1 second before the reproduction end time of the picture data V_end located at the end portion of the VOB are collectively read. Further, in step S107, all the picture data and audio data to be reproduced from the reproduction start time of the picture data V_top located at the front end of the rear VOB to 1 second after the reproduction start time are collectively read. It was. In this flow chart, reading was performed in units of 3 VOBUs, but the number of VOBUs may be any number. Also, instead of reading by VOBU unit, VOBU
Of the picture data and audio data contained in the BU, only all that should be reproduced in 1 second may be read. Furthermore, you may read the video data and audio data which should be reproduced in the period longer than 1 second.

【0156】読み出し後、ステップS108において制
御部1は、先端部、終端部のVOBUをビデオストリーム、オ
ーディオストリームに分離するようデ・マルチプレクサ
4aを制御し、これらのストリームのデコードをビデオ
デコーダ4c、オーディオデコーダ4eに行わせる。通常
の再生時には、ビデオデコーダ4c、オーディオデコー
ダ4eのデコード結果は映像出力、音声出力されるが、
再エンコード時には、これらのデコード結果をMPEGエン
コーダ2へと入力すべく、制御部1はビデオストリー
ム、オーディオストリームのデコード結果を図17にお
ける破線の矢印(2)(3)に示すようにバス7に出力する。
バス7に転送されているビデオストリームのデコード結
果、オーディオストリームのデコード結果は、破線の矢
印(4)に示すように順序MPEGエンコーダ2に取り込まれ
てゆく。
After reading, in step S108, the control unit 1 controls the demultiplexer 4a so as to separate the VOBUs at the leading end and the trailing end into a video stream and an audio stream, and decodes these streams by the video decoder 4c and the audio stream. Let the decoder 4e do it. During normal playback, the decoding results of the video decoder 4c and audio decoder 4e are output as video and audio,
At the time of re-encoding, in order to input these decoding results to the MPEG encoder 2, the control unit 1 sends the decoding results of the video stream and the audio stream to the bus 7 as shown by the dashed arrows (2) and (3) in FIG. Output.
The decoding result of the video stream and the decoding result of the audio stream transferred to the bus 7 are taken in by the sequential MPEG encoder 2 as indicated by a dashed arrow (4).

【0157】以降制御部1は、ビデオストリームのデコ
ード結果、オーディオストリームのデコード結果を取り
込んだMPEGエンコーダ2に再エンコードを行わせるため
の符号量の算出を行う。先ずステップS109におい
て、制御部1は前部VOBと後部VOBとがバッファ内に混在
する期間において、各デコードタイミングにおけるバッ
ファ蓄積量がバッファの上限値を上回るかを判定する。
本実施形態では、ステップS105において算出された
Bv1+Bv2がバッファの上限値を上回るか否かを判定する
ものとする。上限値を上回らない場合、ステップS11
2に移行するが、上回る場合、ステップS110におい
て制御部1は、そのオーバー量Aに基づいた符号量、つ
まりオーバー量Aが減じられた符号量を、デコードされ
たVOBU列に割り当てる。符号量が減じられることは、読
み出されたVOBU列におけるビデオストリームの画質を低
下させることになるが、2つのVOBをシームレスに接続す
るにはビデオバッファ4bのオーバーフローは避けねば
ならないので、画質を低下させるという方法を選択して
いるのである。ステップS111では、ビデオデコーダ
4c、オーディオデコーダ4eのデコード結果をステップ
S110において割り当てられた符号量に基づいて再エ
ンコードするようビデオデコーダ4cを制御する。
After that, the control unit 1 calculates the code amount for causing the MPEG encoder 2 which takes in the decoding result of the video stream and the decoding result of the audio stream to re-encode. First, in step S109, the control unit 1 determines whether or not the buffer storage amount at each decoding timing exceeds the upper limit value of the buffer in a period in which the front VOB and the rear VOB are mixed in the buffer.
In this embodiment, it is calculated in step S105.
It is determined whether Bv1 + Bv2 exceeds the upper limit value of the buffer. If it does not exceed the upper limit, step S11
If it exceeds 2, the control unit 1 assigns the code amount based on the over amount A, that is, the code amount with the over amount A reduced to the decoded VOBU sequence in step S110. The reduction of the code amount lowers the image quality of the video stream in the read VOBU sequence, but overflow of the video buffer 4b must be avoided to seamlessly connect the two VOBs. The method of lowering is selected. In step S111, the video decoder 4c is controlled so that the decoding results of the video decoder 4c and the audio decoder 4e are re-encoded based on the code amount assigned in step S110.

【0158】ここでMPEGエンコーダ2によるデコードに
より、ビデオデータの画素値はYUV座標系のデジタルデ
ータに一旦変換されている。YUV座標系のデジタルデー
タとは、カラーTVにおける色を特定する信号(輝度信号
(Y),色差信号(U,V))を有するデジタルデータで
あり、ビデオデコーダ4cはこのようなデジタルデータ
を再度複数のピクチャデータにエンコードする。尚、符
号量の割り当て技術については、MPEG2 DIS(Draft Int
ernational Standard)Test Model3に記載されているも
のを用いる。符号量を制約しての再エンコードは、量子
化係数を置き換える等の処理により実現される。尚、オ
ーバー量Aが減じられた符号量を後部VOBのみに割り当て
もよいし、前部VOBのみに割り当ててもよい。
Here, by the decoding by the MPEG encoder 2, the pixel value of the video data is once converted into the digital data of the YUV coordinate system. The digital data of the YUV coordinate system is digital data having signals (luminance signal (Y), color difference signals (U, V)) that specify the color in the color TV, and the video decoder 4c reproduces such digital data again. Encode into multiple picture data. For the code amount allocation technology, refer to MPEG2 DIS (Draft Int
ernational Standard) Test Model 3 is used. Re-encoding with the code amount constrained is realized by processing such as replacing the quantization coefficient. The code amount with the excess amount A reduced may be assigned only to the rear VOB or only to the front VOB.

【0159】ステップS112において制御部1は、前
部VOBを分離して得られたオーディオデータのデコード
結果のうち、後部VOBのFIRST_SCR+STC_offsetを含むオ
ーディオフレームxに対応するものを算出する。図24
(a)において、上段のグラフは、前部VOB、後部VOBの
ビデオデータによるバッファ状態を示しており、図24
(a)の下段には、前部VOBを分離して得られたオーデ
ィオデータのオーディオフレーム、後部VOBを分離して
得られたオーディオデータのオーディオフレームがそれ
ぞれ上下に配されている。下段のオーディオフレーム列
は、上段のグラフの時間軸と、各オーディオフレームと
の対応を明確にするものである。ここで上段のグラフの
FIRST_SCR+STC_offsetから垂線をおろすと、この垂線
は、前部VOBのオーディオフレーム列のうち、一つのオ
ーディオフレームと交差する。この交差したオーディオ
フレームがオーディオフレームxであり、直後のオーデ
ィオフレームx+1が前部VOBに含まれる最後のオーディオ
データである。尚、オーディオフレームx,x+1のデータ
は、前部VOBの終端部における最終ピクチャデータV_END
の表示期間に前後1.0秒を加えた時間帯に再生されるべ
き複数オーディオデータ内に含まれているものであり、
ステップS105において読み出された3つのVOBU内に
含まれているものである。
In step S112, the control unit 1 calculates, of the decoding results of the audio data obtained by separating the front VOB, the one corresponding to the audio frame x including FIRST_SCR + STC_offset of the rear VOB. Figure 24
In FIG. 24A, the upper graph shows the buffer state by the video data of the front VOB and the rear VOB.
In the lower part of (a), an audio frame of audio data obtained by separating the front VOB and an audio frame of audio data obtained by separating the rear VOB are arranged above and below, respectively. The audio frame sequence in the lower row clarifies the correspondence between the time axis of the graph in the upper row and each audio frame. Here in the upper graph
If you draw a vertical line from FIRST_SCR + STC_offset, this vertical line intersects with one audio frame in the audio frame sequence of the front VOB. This intersected audio frame is the audio frame x, and the immediately following audio frame x + 1 is the last audio data included in the front VOB. The data of the audio frames x and x + 1 is the final picture data V_END at the end of the front VOB.
It is included in multiple audio data that should be played during the time period of adding 1.0 seconds before and after the display period of
It is included in the three VOBUs read in step S105.

【0160】図24(b)は、FIRST_SCR+STC_offsetが
前部VOBのオーディオフレーム境界と一致する場合を示
す。このように一致する場合、その直前のオーディオフ
レームをオーディオフレームxとする。ステップS11
3において制御部1は、後部VOBのVOB_V_S_PTM+STC_Off
setを含むオーディオフレームy+1を算出する。図24
(a)において上段のグラフのビデオ再生開始時刻VOB_
V_S_PTMから垂線をおろすと、この垂線は、後部VOBのオ
ーディオフレーム列のうち、一つのオーディオフレーム
と交差する。この交差したオーディオフレームがオーデ
ィオフレームy+1であり、この直前のオーディオフレー
ムyまでが前部VOBに含まれていたオリジナルのオーディ
オデータのうち、編集後にも使用される有効なオーディ
オフレームである。
FIG. 24B shows the case where FIRST_SCR + STC_offset matches the audio frame boundary of the front VOB. In the case of such a match, the audio frame immediately before that is defined as audio frame x. Step S11
In 3, the control unit 1 controls the VOB_V_S_PTM + STC_Off of the rear VOB.
Calculate audio frame y + 1 containing set. Figure 24
The video playback start time VOB_ of the upper graph in (a)
When a perpendicular is drawn from V_S_PTM, this perpendicular intersects with one audio frame in the audio frame sequence of the rear VOB. The intersected audio frame is the audio frame y + 1, and the audio frames up to the preceding audio frame y are the valid audio frames that are used even after the editing among the original audio data included in the front VOB.

【0161】図24(c)は、ビデオ再生開始時刻VOB_
V_S_PTM+STC_offsetが前部VOBのオーディオフレーム境
界と一致する場合を示す図である。このように一致する
場合、時刻ビデオ再生開始時刻VOB_V_S_PTM+STC_offset
の直前のオーディオフレームをオーディオフレームyと
する。ステップS114では、前部オーディオデータの
うち、オーディオフレームx+2からオーディオフレームy
までのオーディオデータを切り出す。図24(a)で
は、オーディオフレームy+1以降のオーディオフレーム
を破線で示しているが、これはこの破線に示す部分をVO
Bに多重化しないことを意味する。尚、後部VOBに移動さ
れたオーディオフレームについては、前部VOBにおける
タイムスタンプが付与されているので、タイムスタンプ
を後部VOBのものに付与し直すという処理を行う。
FIG. 24C shows the video reproduction start time VOB_.
It is a figure which shows the case where V_S_PTM + STC_offset corresponds with the audio frame boundary of a front VOB. If there is such a match, the time video playback start time VOB_V_S_PTM + STC_offset
The audio frame immediately before is defined as audio frame y. In step S114, the audio frames x + 2 to y
Cut out audio data up to. In FIG. 24A, the audio frames after the audio frame y + 1 are shown by broken lines.
Means not to multiplex to B. Since the time stamp in the front VOB is added to the audio frame moved to the rear VOB, the time stamp is re-added to the rear VOB.

【0162】ステップS115では、オーディオフレー
ムyと、オーディオフレームy+1の境界とを含むオーディ
オフレームの次のオーディオフレームであるオーディオ
フレームuを後部VOBのオーディオフレーム列から検出す
る。オーディオフレームyと、オーディオフレームy+1の
境界線から垂線を降ろせば、後部オーディオデータのオ
ーディオフレーム列の何れか一つのオーディオフレーム
と交差する。この交差したオーディオフレームの次のオ
ーディオフレームがオーディオフレームuである。
In step S115, the audio frame u which is the next audio frame of the audio frame including the audio frame y and the boundary of the audio frame y + 1 is detected from the audio frame sequence of the rear VOB. If a perpendicular is drawn from the boundary line between the audio frame y and the audio frame y + 1, it intersects with any one audio frame in the audio frame sequence of the rear audio data. The audio frame next to this intersected audio frame is the audio frame u.

【0163】図24(d)は、オーディオフレームyの
再生終了時刻と、後部VOBのオーディオフレーム境界が
一致する場合を示す。このように一致する場合、この時
刻直前のオーディオフレームをオーディオフレームuと
する。ステップS116では、後部VOBのオーディオス
トリームから、オーディオフレームuに再生されるオーデ
ィオデータを先頭に配置したオーディオデータ列を含む
オーディオパックG4を生成する。図24(a)では、オ
ーディオフレームu以前のオーディオフレームを破線で
示しているが、これは後部オーディオデータのうち、こ
の破線に示す部分をVOBに多重化しないことを意味す
る。
FIG. 24D shows the case where the reproduction end time of the audio frame y and the audio frame boundary of the rear VOB coincide. In the case of such a match, the audio frame immediately before this time is set as the audio frame u. In step S116, an audio pack G4 including an audio data string in which the audio data reproduced in the audio frame u is arranged at the head is generated from the audio stream of the rear VOB. In FIG. 24 (a), the audio frames before the audio frame u are indicated by broken lines, which means that the portion indicated by the broken lines in the rear audio data is not multiplexed with VOB.

【0164】以上のステップS114〜ステップS11
6により、前部オーディオデータの先頭オーディオフレ
ームからオーディオフレームx+1までが前部VOBに多重化
されることがわかる。前部オーディオデータのオーディ
オフレームx+2からオーディオフレームyまでと、後部オ
ーディオデータのオーディオフレームuから最後のオー
ディオフレームまでとが後部VOBに多重化されることが
わかる。このような多重化により、後部オーディオデー
タの終端部のオーディオフレームは、時間的に未来に再
生されるべきピクチャデータと同一時刻にDVD-RAMから
読み出されることになる。
The above steps S114 to S11
It can be seen from 6 that the beginning audio frame of the front audio data to the audio frame x + 1 are multiplexed in the front VOB. It can be seen that the audio frame x + 2 to the audio frame y of the front audio data and the audio frame u to the last audio frame of the rear audio data are multiplexed in the rear VOB. With such multiplexing, the audio frame at the end of the rear audio data is read from the DVD-RAM at the same time as the picture data to be reproduced in the future in time.

【0165】この時、前部VOBのオーディオデータがオ
ーディオフレームyまで存在しない、即ち、短い場合、
不足するオーディオフレームだけ無音のオーディオフレ
ームデータを内挿する。同様に後部VOBのオーディオデ
ータがオーディオフレームuから存在していない、即
ち、短い場合、不足するオーディオフレームだけ無音の
オーディオフレームデータを内挿する。
At this time, if the audio data of the front VOB does not exist until the audio frame y, that is, if it is short,
Interpolate silent audio frame data only for the missing audio frames. Similarly, when the audio data of the rear VOB does not exist from the audio frame u, that is, when the audio data is short, the silence audio frame data is interpolated only for the missing audio frames.

【0166】ここで、前部オーディオデータのオーディ
オフレームx+2からオーディオフレームyまでと、後部オ
ーディオデータのオーディオフレームuから最後のオー
ディオフレームまでとを後部VOBに多重化しようとする
場合、問題となるのは、AV同期である。図24(a)〜
(d)に示すようにオーディオフレームyとオーディオ
フレームuとの間には、再生ギャップが生じており、こ
の再生ギャップを無視して多重化を行うと、オーディオ
フレームuがビデオ表示に対して早まるといった同期の
ズレが生じてしまう。
Here, when trying to multiplex the audio frame x + 2 to the audio frame y of the front audio data and the audio frame u to the last audio frame of the rear audio data into the rear VOB, there is a problem. It is AV synchronization. 24 (a)-
As shown in (d), there is a reproduction gap between the audio frame y and the audio frame u. If the reproduction gap is ignored and multiplexing is performed, the audio frame u is advanced with respect to the video display. There will be a gap in synchronization.

【0167】このようなズレの増長を防止するには、オ
ーディオフレームuを示すタイムスタンプをオーディオ
パケットに付与すればよい。そのためステップS117
では、オーディオフレームyを格納したパックにオーデ
ィオフレームuを格納しないように、当該パックにオー
ディオフレームyのデータ以降にPadding-Packet又はス
タッフィングバイトを挿入して、オーディオフレームu
が次のパックの先頭から始まるようにする。
To prevent such an increase in deviation, a time stamp indicating the audio frame u may be added to the audio packet. Therefore, step S117
Then, in order not to store the audio frame u in the pack storing the audio frame y, a padding-packet or a stuffing byte is inserted into the pack after the data of the audio frame y to store the audio frame u.
Starts at the beginning of the next pack.

【0168】ステップS118では、前部VOBの終端部
に位置するVOBUから取り出したオーディオデータのう
ち、オーディオフレームx+1までのオーディオデータ
と、再エンコードを行ったビデオデータとを多重化し
て、前部VOBの終端部に位置するVOBU列を作成する。ス
テップS119では、オーディオフレームx+2以降のデ
ータと後部VOBの先端部に位置するVOBUから取り出され
たビデオデータとを多重化して、後部VOBの先端部に配
置すべきVOBUを作成する。
In step S118, of the audio data extracted from the VOBU located at the end of the front VOB, the audio data up to audio frame x + 1 and the re-encoded video data are multiplexed, Create a VOBU string located at the end of a partial VOB. In step S119, the data after the audio frame x + 2 and the video data extracted from the VOBU located at the front end of the rear VOB are multiplexed to create a VOBU to be arranged at the front end of the rear VOB.

【0169】具体的にいうと、先頭オーディオフレーム
x+2からオーディオフレームyまでのオーディオデータ列
と、Padding-Packetとを含むオーディオパックG3と、後
部オーディオデータのオーディオフレームu以降のオー
ディオデータ列を含むオーディオパックG4とを再エンコ
ードされたビデオデータに多重化し、後部VOBの先端部
に配置すべきVOBUを作成するようシステムエンコーダ2
eを制御する。このような多重化により、前部オーディ
オデータの終端部のオーディオフレームは、時間的に未
来に再生されるべきピクチャデータと同一時刻にDVD-RA
Mから読み出されることになる。
Specifically, the first audio frame
Video data re-encoded with an audio data string from x + 2 to audio frame y, an audio pack G3 including Padding-Packet, and an audio pack G4 including an audio data string after audio frame u of rear audio data System encoder 2 to create a VOBU that should be placed at the tip of the rear VOB.
control e. Due to such multiplexing, the audio frame at the end of the front audio data is recorded on the DVD-RA at the same time as the picture data to be reproduced temporally in the future.
It will be read from M.

【0170】図25は、複数のオーディオフレームにて
再生されるべき複数オーディオデータを格納したオーデ
ィオパックと、各ビデオフレームにて再生されるべきピ
クチャデータを格納したビデオパックとがどのように多
重されるかを示す図である。図25において後部VOBの
先頭にデコードされるべきピクチャデータV_TOPの転送
は、時間「Tf_Period」内に完遂しているといえる。時間
「Tf_Period」の真下に配置されているパック列は、ピク
チャデータV_TOPを構成するものである。
FIG. 25 shows how an audio pack storing a plurality of audio data to be reproduced in a plurality of audio frames and a video pack storing picture data to be reproduced in each video frame are multiplexed. FIG. In FIG. 25, it can be said that the transfer of the picture data V_TOP to be decoded at the beginning of the rear VOB is completed within the time “Tf_Period”. The pack string arranged immediately below the time “Tf_Period” constitutes the picture data V_TOP.

【0171】本図においてオーディオギャップを含んだ
オーディオパックG3は、オーディオフレームx+2,y-1,y
で再生されるべきオーディオデータx+2,y-1,yをその内
部に格納したオーディオパックである。このオーディオ
パックに格納されているオーディオデータのうち、最も
早くデコードされるべきなのはオーディオデータx+2で
ある。本オーディオデータは、オーディオフレームx+1
の再生終了時刻にてデコードされるべきなので、このオ
ーディオフレームx+1と同時期(Tf_period)にパック列
の転送が行われるピクチャデータV_TOPと共にDVD-RAMか
ら読み出されるべきである。そのため、図9の最下段に
示すように、ピクチャデータV_TOPを格納したビデオパ
ック列P51と、ビデオパック列P52との間に挿入される。
In this figure, an audio pack G3 including an audio gap is an audio frame x + 2, y-1, y
It is an audio pack in which audio data x + 2, y-1, y to be played back in is stored. Of the audio data stored in this audio pack, the earliest to be decoded is the audio data x + 2. This audio data is audio frame x + 1
Since it should be decoded at the playback end time of, the data should be read from the DVD-RAM together with the picture data V_TOP in which the pack sequence is transferred at the same time (Tf_period) as this audio frame x + 1. Therefore, as shown at the bottom of FIG. 9, the video data is inserted between the video pack sequence P51 storing the picture data V_TOP and the video pack sequence P52.

【0172】オーディオフレームu,u+1,u+2で再生され
るべきオーディオデータu,u+1,u+2をその内部に格納し
たオーディオパックG4は、最も早くデコードされるべき
オーディオデータとしてオーディオデータuを有してお
り、本オーディオデータは、オーディオフレームuの再
生開始時刻にてデコードされるべきなので、このオーデ
ィオフレームuと同時期にパック列の転送が行われるピ
クチャデータV_NXTと共にDVD-RAMから読み出されるべき
である。そのため、図25の最下段に示すように、ピク
チャデータV_TOPを格納したビデオパックP52と、ピクチ
ャデータV_NXTを格納したビデオパックP53との間に挿入
される。
The audio pack G4 having therein the audio data u, u + 1, u + 2 to be reproduced in the audio frames u, u + 1, u + 2 is the earliest audio data to be decoded. Since the audio data u is included and this audio data should be decoded at the playback start time of the audio frame u, the DVD-DVD together with the picture data V_NXT in which the pack string is transferred at the same time as this audio frame u is transferred. Should be read from RAM. Therefore, as shown at the bottom of FIG. 25, it is inserted between the video pack P52 storing the picture data V_TOP and the video pack P53 storing the picture data V_NXT.

【0173】以上のようにして、オーディオギャップを
含んだオーディオパックG3がビデオパック列P51と、ビ
デオパック列P52との間に挿入され、オーディオパックG
4がビデオパック列P53と、パックP54との間に挿入され
ることにより多重化が完遂する。続いて制御部1はステ
ップS120において前部VOB、後部VOBのFIRST_SCR,LAS
T_SCR,シームレスフラグ、VOB_V_E_PTM,VOB_V_S_PTMを
前部VOBのシームレス接続情報に記入する。続くステッ
プS121、ステップS122では、オーディオギャッ
プに関する全ての情報をシームレス接続情報に記すべ
く、オーディオギャップ開始時刻A_STP_PTM、オーディ
オギャップ長A_GAP_LEN、オーディオギャップ位置情報A
_GAP_LOCをシームレス接続情報に記述する。
As described above, the audio pack G3 including the audio gap is inserted between the video pack row P51 and the video pack row P52, and the audio pack G3 is inserted.
4 is inserted between the video pack sequence P53 and the pack P54 to complete multiplexing. Subsequently, in step S120, the control unit 1 outputs FIRST_SCR, LAS for the front VOB and the rear VOB.
Enter T_SCR, seamless flag, VOB_V_E_PTM, VOB_V_S_PTM in the seamless connection information of the front VOB. In the following steps S121 and S122, the audio gap start time A_STP_PTM, the audio gap length A_GAP_LEN, and the audio gap position information A are written in order to write all the information related to the audio gap in the seamless connection information.
Describe _GAP_LOC in the seamless connection information.

【0174】以上の処理を経た後、前部VOBの終端部
と、後部VOBの先端部と、シームレス接続情報をDVD-RAM
に書き込む。ここで再エンコードにより得られたビデオ
データ、オーディオデータを格納したビデオパック、オ
ーディオパックには、昇順にSCRが付与される。尚、昇
順に付与するにあたってSCRの初期値は、再エンコード
範囲において先頭に位置していたパックに付与された再
エンコード前のSCRの値が用いられる。
[0174] After the above processing, the seamless connection information is recorded on the DVD-RAM at the end of the front VOB and the end of the rear VOB.
Write in. Here, SCRs are given in ascending order to the video data obtained by re-encoding, the video pack storing the audio data, and the audio pack. The SCR value before re-encoding given to the pack located at the head in the re-encoding range is used as the initial value of SCR in the ascending order.

【0175】SCRは、それぞれのビデオパック、オーデ
ィオパックをビデオバッファ4b-オーディオバッファ4
cに入力すべき時刻を示すので、再エンコードの前後で
データ数が変化すれば、SCRを更新し直さねばならな
い。そうであっても、例えば後部VOBにおいて再エンコ
ードされた先端部分のSCRが、再エンコード範囲外の残
りの部分のビデオパックのSCRを下回る限り、正常なデ
コードは可能となる。
The SCR stores the respective video packs and audio packs in the video buffer 4b-audio buffer 4
Since the time to be input is shown in c, if the number of data changes before and after re-encoding, the SCR must be updated again. Even so, for example, normal decoding is possible as long as the SCR of the leading end portion re-encoded in the rear VOB is lower than the SCRs of the remaining video packs outside the re-encoding range.

【0176】PTS、DTSはビデオフレーム、オーディオフ
レームに基づいて与えられるものであり、再エンコード
後に大きく変化してしまうことはない。従って、再エン
コード範囲外のDTS-PTSと、再エンコード範囲内のDTS-P
TSとの連続性は保たれる。次にタイムスタンプの不連続
が発生するケースについて説明する。2本のVOBをシーム
レスに再生させるには、タイムスタンプ不連続の発生を
避けねばならない。そこでSCR重複の発生の有無を、ス
テップS123において判定する。重複が存在しないな
ら、本フロ−チャ−トの処理を終了するが、重複が存在
するのなら、ステップS124において重複したSCRが
付与されたパックの数に基づいて、オーバー量Aを算出
し、そのオーバー量Aに基づいた符号量を決定して再々
エンコードを行うようステップS110に移行する。
The PTS and DTS are given based on the video frame and the audio frame, and do not change greatly after re-encoding. Therefore, DTS-PTS outside the re-encoding range and DTS-PS within the re-encoding range
Continuity with TS is maintained. Next, a case in which discontinuity of time stamps occurs will be described. In order to play two VOBs seamlessly, it is necessary to avoid the occurrence of time stamp discontinuity. Therefore, it is determined in step S123 whether SCR duplication has occurred. If there is no overlap, the processing of this flowchart is terminated, but if there is overlap, the over amount A is calculated based on the number of packs to which the overlapping SCRs are added in step S124, The process proceeds to step S110 to determine the code amount based on the over amount A and perform re-encoding again.

【0177】本フロ−チャ−トにより新規に多重化され
た6つVOBUは破線の矢印(5)に示すように、ディスクア
クセス部3に出力され、ディスクアクセス部3はこれら
のVOBU列をDVD-RAMに書き込む。尚、図21−図22の
フロ−チャ−トでは、2つのVOB間のシームレス接続に
ついて説明を行ったが、1つのVOBに含まれる部分区間
に対してシームレス接続を行ってもよい。例えば、図6
(b)に示したように一部のVOBU#2,#4,#6,#8が部分削
除された場合、削除範囲の前方に位置するVOBU列と、削
除範囲の後方に位置するVOBU列とにおいて図21、図2
2に示したシームレス接続を行ってもよい。
The six VOBUs newly multiplexed by this flow are output to the disc access unit 3 as indicated by the broken line arrow (5), and the disc access unit 3 outputs these VOBU strings to the DVD. -Write to RAM. In the flowcharts of FIGS. 21 to 22, the seamless connection between the two VOBs has been described, but the seamless connection may be performed to the partial section included in one VOB. For example, in FIG.
When some VOBUs # 2, # 4, # 6, # 8 are partially deleted as shown in (b), the VOBU column located in the front of the deletion range and the VOBU column located in the rear of the deletion range 21 and 2 in FIG.
The seamless connection shown in 2 may be performed.

【0178】以上の手順によりシームレス連結のための
加工が行われた2つのVOBを連続して再生する場合の再生
手順を説明する。AVファイルに収録されている2つ以上
のVOBを連続して再生するよう操作者が指示した場合、
制御部1は、2つのVOBのうち、後部側のVOBについての
シームレス接続情報に示されているシームレスフラグを
参照する。シームレスフラグがオンに設定されている場
合、先行VOBのビデオ再生終了時刻VOB_V_E_PTMから後続
VOBのビデオ再生開始時刻VOB_V_S_PTMを引いた時間をST
C_offsetとして、STC4gが計時している基準時刻に加算
するよう加算器4hを制御する。以降、シームレス接続
情報に示されている先行VOBのバッファ入力時刻FIRST_S
CRと、STC4gが計時している基準時刻とを照合する。こ
の基準時刻がこのFIRST_SCRに達した場合、STC4gが計
時している基準時刻から加算器4hによりオフセットが
加算されたオフセット付き基準時刻への出力切り換えを
行わせるようスイッチSW1を制御する。以降、図20の
タイミングチャートに示すようにSW2〜SW4の切り換えを
行う。
A reproduction procedure in the case of continuously reproducing two VOBs processed for seamless connection by the above procedure will be described. If the operator instructs to continuously play two or more VOBs recorded in the AV file,
The control unit 1 refers to the seamless flag shown in the seamless connection information about the VOB on the rear side of the two VOBs. If the seamless flag is set to ON, the video playback end time of the preceding VOB starts from VOB_V_E_PTM.
VOB video playback start time VOB_V_S_PTM minus ST
As the C_offset, the adder 4h is controlled so that the STC 4g adds the time to the reference time. After that, the buffer input time FIRST_S of the preceding VOB indicated in the seamless connection information
Check the CR against the reference time measured by STC4g. When this reference time reaches FIRST_SCR, the switch SW1 is controlled so as to switch the output from the reference time measured by the STC 4g to the reference time with offset to which the offset is added by the adder 4h. After that, SW2 to SW4 are switched as shown in the timing chart of FIG.

【0179】以上のように本実施形態によれば、VOBの
終端部−先端部のみを読み出して再エンコードを行なう
ことにより、複数VOBの再生がシームレスに行われるよ
うに加工することができる。再エンコードの対象がVOB
の終端部−先端部に位置するVOBUのみなので、VOBの再
エンコードを極めて短期間に完遂することができる。
尚、本実施形態において各VOB毎にシームレス接続情報
を管理するとしたが、VOB間シームレスで必要となる情
報を1箇所にまとめておいてよい。例えばSTC_offsetを
求めるのに必要なビデオ再生終了時刻VOB_V_E_PTM、ビ
デオ再生開始時刻VOB_V_S_PTMは2つのVOB情報に別けて
記載していたが、後続するVOBのシームレス接続情報と
して記載してもよい。この場合、VOB情報には、前VOBの
再生終了時刻(PREV_VOB_V_E_PTM)という情報要素を設け
るのが望ましい。
As described above, according to the present embodiment, it is possible to perform processing so that the reproduction of a plurality of VOBs can be performed seamlessly by reading out only the end-front end of the VOB and performing the re-encoding. Target of re-encoding is VOB
Since only the VOBUs located at the end-tip of the VOB can be re-encoded in a very short time.
Although the seamless connection information is managed for each VOB in this embodiment, the information required for seamless VOBs may be collected in one place. For example, although the video reproduction end time VOB_V_E_PTM and the video reproduction start time VOB_V_S_PTM required for obtaining STC_offset are described separately in two VOB information, they may be described as seamless connection information of subsequent VOBs. In this case, it is desirable to provide the VOB information with an information element called the reproduction end time (PREV_VOB_V_E_PTM) of the previous VOB.

【0180】同様にLAST_SCRも後続するVOBのシームレ
ス接続情報として前VOB終了SCR(PREV_VOB_LAST_SCR)と
いう情報要素を設けるのが望ましい。また、本実施形態
においてDVDレコーダ70は、従来の据え置き型家庭用V
TRに代用することを前提とした構成を示したが、DVD-RA
Mがコンピュータの記録媒体としても使用される場合に
は、次のような構成とすればよい。すなわち、ディスク
アクセス部3は、DVD-RAMドライブ装置としてSCSI、ID
E、IEEE1394準拠のインターフェイスを介してコンピュ
ータバスに接続される。また、同図のディスクアクセス
部3以外の構成要素はコンピュータのハードウェア上で
OS及びアプリケーションプログラムが実行されることに
実現される。
Similarly, in LAST_SCR, it is desirable to provide a previous VOB end SCR (PREV_VOB_LAST_SCR) information element as seamless connection information of the following VOB. Further, in the present embodiment, the DVD recorder 70 is a conventional stationary home V recorder.
Although the configuration is shown on the assumption that it will be substituted for TR, DVD-RA
When M is also used as a recording medium for a computer, it may have the following configuration. That is, the disk access unit 3 uses the SCSI, ID as a DVD-RAM drive device.
E, connected to computer bus via IEEE1394 compliant interface. In addition, the components other than the disk access unit 3 in FIG.
It is realized when the OS and application programs are executed.

【0181】このDVDレコーダ70は、制御部1、MPEG
エンコーダ2、ディスクアクセス部3、デコーダ4、ビ
デオ信号処理部5、リモコン71、バス7及びリモコン
信号受信部8、レシーバ9を有している。更に、本実施
形態では、VOBには、ビデオストリームとオーディオス
トリームとが多重されているとしたが、字幕文字をラン
レングス圧縮した副映像データを多重化させてもよい。
また、静止画データを構成するビデオストリームを多重
化させてもよい。
This DVD recorder 70 includes a control unit 1, MPEG
It has an encoder 2, a disk access unit 3, a decoder 4, a video signal processing unit 5, a remote controller 71, a bus 7, a remote controller signal receiving unit 8 and a receiver 9. Further, in the present embodiment, the video stream and the audio stream are multiplexed in the VOB, but the sub-picture data in which the subtitle characters are run-length compressed may be multiplexed.
Also, video streams forming still image data may be multiplexed.

【0182】加えて、本実施形態においては、VOBのデ
コードを一旦デコーダ4に行わせてからMPEGエンコーダ
2が再エンコードを行ったが、デコードを行わず直接デ
ィスクアクセス部3がMPEGエンコーダ2にVOBを出力し
て再エンコードを行ってもよい。加えて、本実施形態で
は全単位をビデオフレーム、オーディオフレームにて記
述したが、フィルム素材のように、24フレーム/秒の映
像を圧縮する場合に使用する3:2プルダウンを用いたビ
デオストリームの場合、1フレーム=1ピクチャでな
く、1.5フレーム=1ピクチャになる場合がある。本発明
は実質的に3:2プルダウンに依存するものではなく、こ
の場合、上述したフレームに制限されるものではない。
In addition, in the present embodiment, the MPEG encoder 2 re-encodes after the VOB is once decoded by the decoder 4, but the direct disk access unit 3 does not decode and the MPEG encoder 2 performs VOB decoding. May be output for re-encoding. In addition, although all units are described by video frames and audio frames in the present embodiment, a video stream using 3: 2 pulldown used when compressing a video of 24 frames / second like a film material is used. In this case, there are cases where 1.5 frames = 1 picture instead of 1 frame = 1 picture. The present invention is not substantially dependent on 3: 2 pulldown and is not limited to the frames described above.

【0183】最後に、第1実施形態でフローチャートを
参照して説明した加工モジュールソフトウェアの手順
(図21〜図22)等を機械語プログラムにより実現
し、これを記録媒体に記録して流通・販売の対象にして
も良い。このような記録媒体には、ICカードや光ディス
ク、フロッピーディスク等があるが、これらに記録され
た機械語プログラムは汎用コンピュータにインストール
されることにより利用に供される。この汎用コンピュー
タは、インストールした機械語プログラムを逐次実行し
て、本実施形態に示したビデオデータ編集装置の機能を
実現するのである。
Finally, the processing module software procedure (FIGS. 21 to 22) described with reference to the flow chart in the first embodiment is realized by a machine language program, which is recorded in a recording medium for distribution / sales. May be the target of. Such recording media include IC cards, optical disks, floppy disks, etc., but the machine language programs recorded in these are provided for use by being installed in a general-purpose computer. This general-purpose computer sequentially executes the installed machine language program to realize the function of the video data editing apparatus shown in this embodiment.

【0184】(第2実施形態)第1実施形態ではVOB同
士のシームレス接続処理を前提にしていたのに対して、
第2実施形態は、VOBに含まれる複数の部分区間のシー
ムレス接続に関する実施形態である。この部分区間をど
のように特定するかであるが、第2実施形態では、ビデ
オフィールドを表す時刻情報を用いて上記部分区間を特
定するものとする。ここでいうビデオフィールドとは、
ビデオフレームより細かい単位であり、その時刻情報
は、ビデオパックのPTSを用いて表現することができ
る。
(Second Embodiment) In the first embodiment, the seamless connection process between VOBs is premised.
The second embodiment is an embodiment relating to seamless connection of a plurality of partial sections included in a VOB. Depending on how to specify this partial section, in the second embodiment, it is assumed that the partial section is specified using time information representing a video field. The video field here is
It is a unit smaller than a video frame, and its time information can be expressed using the PTS of a video pack.

【0185】ビデオフィールドについての時刻情報を用
いて特定される部分区間をセルといい、部分区間を指定
するための情報をセル情報という。セル情報はPGC情報
の一情報要素としてRTRW管理ファイルに収録される。
尚、セル情報及びPGC情報のデータ構造及びその作成手
順は、第4実施形態にて詳細に説明するものとする。図
26は、開始点、終了点となるビデオフィールドにより
特定された部分区間の一例を示す図である。図26にお
けるC_V_S_PTM,C_V_E_PTMという一組の時刻情報は、開
始点、終了点となるビデオフィールドを特定するもので
ある。
A partial section specified by using time information about the video field is called a cell, and information for designating the partial section is called cell information. The cell information is recorded in the RTRW management file as one information element of PGC information.
The data structures of the cell information and PGC information and the procedure for creating them will be described in detail in the fourth embodiment. FIG. 26 is a diagram showing an example of a partial section specified by a video field serving as a start point and an end point. The set of time information C_V_S_PTM and C_V_E_PTM in FIG. 26 specifies the video fields that are the start point and the end point.

【0186】図26におけるC_V_S_PTMは、VOBを構成す
るVOBU#100内のPピクチャが再生されるべきビデオフィ
ールドの再生開始時刻であり、C_V_E_PTMは、同じVOBを
構成するVOBU#105内のBピクチャ1が再生されるべきビデ
オフィールドの再生終了時刻を特定するものである。C_
V_S_PTM、C_V_E_PTMは、図26におけるPピクチャからB
ピクチャ1までの部分区間をセルとして特定している。
C_V_S_PTM in FIG. 26 is the reproduction start time of the video field in which the P picture in VOBU # 100 forming the VOB is to be reproduced, and C_V_E_PTM is the B picture 1 in VOBU # 105 forming the same VOB. Specifies the reproduction end time of the video field to be reproduced. C_
V_S_PTM and C_V_E_PTM are B from P picture in FIG.
The partial section up to picture 1 is specified as a cell.

【0187】(2-1)GOP構造の再構築 時刻情報により指示されたVOBの部分区間同士をシーム
レスに接続する場合、第1実施形態では必要のなかった
2つの処理が必要とされる。そのうち1つ目の処理とは、
時刻情報により指定された部分区間を独立したVOBに変
換するため、GOP構造を再構築する処理である。2つ目
の処理とは、GOP構造が再構築されることによるバッフ
ァ占有量の増加を予測する処理である。
(2-1) When seamlessly connecting the VOB subsections designated by the reconstruction time information of the GOP structure, it was not necessary in the first embodiment.
Two processes are needed. The first process is
This is a process of reconstructing the GOP structure in order to convert the partial section specified by the time information into an independent VOB. The second process is a process of predicting an increase in the buffer occupancy due to the reconstruction of the GOP structure.

【0188】ここでGOP構造の再構築とは、セルによっ
て指定される部分区間が正当な表示順序、符号化順序を
有するようGOP構造を再構築する処理をいう。具体的に
説明すると、セル情報によって連結すべき部分区間を指
定する場合、図28(a)に示すように、VOBUの途中に
編集境界が定められる場合がある。このような位置に編
集境界が定められると、連結すべき2本のセルが正当な
表示順序、符号化順序を有することができなくなってし
まう。
Here, the rebuilding of the GOP structure means a process of rebuilding the GOP structure so that the sub-sections designated by the cells have a proper display order and coding order. More specifically, when the sub-sections to be connected are designated by the cell information, an edit boundary may be set in the middle of the VOBU as shown in FIG. 28 (a). If the editing boundary is set at such a position, the two cells to be connected cannot have the proper display order and coding order.

【0189】表示順序、符号化順序を正当化するため、
GOP構造の再構築時には、図28(b)に示す以下の3
つのルールに従った処理を行う。1つ目のルールに従っ
た処理とは、前部セルの表示順序において、最後のピク
チャデータがBピクチャの場合は、このピクチャデータ
をPピクチャ(またはIピクチャ)にエンコードし直す処
理である。また、当該Bピクチャが参照していた未来のP
ピクチャは符号化順序では当該Bピクチャの前に存在す
るが、表示はされなくなるので、VOB中から削除され
る。
In order to justify the display order and the encoding order,
When reconstructing the GOP structure, the following 3 shown in FIG.
Process according to one rule. The process according to the first rule is a process of re-encoding this picture data into a P picture (or I picture) when the last picture data is a B picture in the display order of the front cell. Also, the future P that the B picture referred to
Although the picture exists before the B picture in the coding order, it is not displayed and is deleted from the VOB.

【0190】2つ目のルールに従った処理とは、前部セ
ルの符号化順序において、先頭のピクチャデータがPピ
クチャの場合は、このピクチャデータをIピクチャにエ
ンコードし直す処理である。3つ目のルールに従った処
理とは、前部セルの表示順序において、先頭に位置する
複数のピクチャデータがBピクチャ群の場合は、このピ
クチャデータを、過去方向に再生されるべき画像との相
関特性に依存しないピクチャデータ(これは、未来方向
に再生されるべき画像との相関特性に依存するピクチャ
データを意味する。以降このピクチャタイプのピクチャ
データをForward-Bピクチャという)にエンコードし直
す処理である。
The process according to the second rule is a process of re-encoding this picture data into an I picture when the leading picture data is a P picture in the coding order of the front cell. The process according to the third rule is that, in the display order of the front cell, when the plurality of picture data located at the head is a B picture group, this picture data is regarded as an image to be reproduced in the past direction. It is encoded into picture data that does not depend on the correlation characteristics of (which means picture data that depends on the correlation characteristics with the image to be reproduced in the future direction. Hereinafter, picture data of this picture type is referred to as Forward-B picture). It is a process of fixing.

【0191】(2-2)バッファ占有量の増加量の予測処理 バッファ占有量の増加量の予測処理は、上記3つのルー
ルに基づいて、ピクチャタイプが変更される場合に、変
更後のピクチャデータがどれだけのサイズを有するかを
予測する処理である。前部セルに対して以上の再構築処
理を行うと、前部セルの表示順序において、最後に位置
するピクチャデータがBピクチャからPピクチャ又はIピ
クチャに変更されるので、そのサイズはより大きくな
る。
(2-2) Prediction process of increase in buffer occupancy The prediction process of increase in buffer occupancy is based on the above three rules, and when the picture type is changed, the changed picture data Is a process of predicting how large the size is. When the above reconstruction process is performed on the front cell, the picture data located at the end in the display order of the front cell is changed from the B picture to the P picture or the I picture, so that the size becomes larger. .

【0192】後部セルに対して以上の再構築処理を行う
と、後部セルの符号化順序において最初に位置するピク
チャデータのピクチャタイプがPピクチャからIピクチャ
に変更され、表示順序において最初に位置するビデオデ
ータのピクチャタイプがForward-Bピクチャに変化する
ので、そのサイズはより大きくなる。それでは、ピクチ
ャタイプの変更に伴うサイズの増加をどのように予測す
るかについて説明する。図29(a)及び図29(b)
は、前部セルにおけるピクチャタイプの変更に伴うバッ
ファ占有量の増加をどのように予測するかを説明するた
めの説明図である。
When the above reconstruction process is performed on the rear cell, the picture type of the picture data which is first located in the coding order of the rear cell is changed from the P picture to the I picture and is located first in the display order. As the picture type of video data changes to Forward-B picture, its size becomes larger. Then, how to predict the increase in size with the change of the picture type will be described. 29 (a) and 29 (b)
[Fig. 6] is an explanatory diagram for explaining how to predict an increase in buffer occupancy accompanying a change in picture type in a front cell.

【0193】図29(a)においてVOBのBピクチャB3ま
でが前部セルに属するものとする。上記ルールによって
このBピクチャB3は、PピクチャP1に変更されねばならな
い。ここでBピクチャB3が未来に再生されるべきPピクチ
ャP2に依存した情報成分を有している場合、上記ピクチ
ャタイプ変更時において、このPピクチャP2が有してい
る情報成分が変更後のPピクチャP2に取り込まれる筈で
ある。
In FIG. 29A, up to B picture B3 of VOB belongs to the front cell. According to the above rule, this B picture B3 must be changed to the P picture P1. Here, if the B picture B3 has an information component that depends on the P picture P2 that should be reproduced in the future, when the picture type is changed, the information component that this P picture P2 has is It should be captured in picture P2.

【0194】このことを考えると、BピクチャB3のサイ
ズと、PピクチャP2のサイズとを加算した値に基づい
て、ピクチャタイプ変更により得られるべきPピクチャP
1のサイズを予測することができる(尚、このような予
測方法は一例に過ぎず、他の予測方法を用いて良いこと
はいうまでもない)。このように予測されたバッファ占
有量に基づいて、再エンコード時の符号量を決定すれ
ば、最適な符号量を前部セル、後部セルに割り当てるこ
とができる。
Considering this, the P picture P that should be obtained by changing the picture type based on the value obtained by adding the size of the B picture B3 and the size of the P picture P2.
A size of 1 can be predicted (note that such a prediction method is just an example, and other prediction methods may be used). By determining the code amount at the time of re-encoding based on the buffer occupancy predicted in this way, the optimum code amount can be assigned to the front cell and the rear cell.

【0195】図30(a)、(b)は、後部セルにおけ
るピクチャタイプの変更に伴うバッファ占有量の増加を
どのように予測するかを説明するための説明図である。
図30(a)、(b)においてVOBのBピクチャB3からが
後部セルに属するものとする。セルはその先頭が表示時
刻に基づいて定められているので、BピクチャB3は、後
部セルの表示順序の先頭に位置するピクチャデータであ
る。そのため、上記ルールによってBピクチャB3は、For
ward-BピクチャB1に変更されねばならない。ここでBピ
クチャB3が過去に再生されるべきPピクチャP2に依存し
た情報成分を有している場合、上記ピクチャタイプ変更
時において、このPピクチャP2の情報成分がForward-Bピ
クチャB1に取り込まれる筈である。
FIGS. 30 (a) and 30 (b) are explanatory views for explaining how to predict the increase in the buffer occupancy amount due to the change of the picture type in the rear cell.
30A and 30B, it is assumed that the B picture B3 of the VOB belongs to the rear cell. Since the head of the cell is determined based on the display time, the B picture B3 is the picture data located at the head of the display order of the rear cells. Therefore, according to the above rule, B picture B3
Must be changed to ward-B picture B1. If the B picture B3 has an information component dependent on the P picture P2 to be reproduced in the past, the information component of the P picture P2 is taken into the Forward-B picture B1 when the picture type is changed. It should be.

【0196】このことを考えると、BピクチャB3のサイ
ズと、PピクチャP2のサイズとを加算した値に基づい
て、ピクチャタイプ変更により得られるべきForward-B
ピクチャB1のサイズを予測することができる。後部VOB
については、符号化順序において先頭に位置するピクチ
ャデータのピクチャタイプも変更せねばならない。後部
VOBの表示順序を参照すると、BピクチャB3直後に表示さ
れるべきピクチャデータとして、PピクチャP3が存在す
ることがわかる。このPピクチャP3は、BピクチャB3のデ
コードが済むまでリ・オーダーバッファ4fに蓄積されて
おり、BピクチャB3のデコードを待って表示されるもの
である。上記のようなリ・オーダーバッファ4fを介した
リオーダーにより、PピクチャP3はBピクチャB3の後に表
示されるものの、符号化順序は、PピクチャP3が先行す
る筈である。このようにして符号化順序の先頭ピクチャ
データとして検出されたPピクチャP3は、上記ルールに
よると、Iピクチャに変更されねばならない。ここでPピ
クチャP3が過去に再生されるべきIピクチャに依存した
情報成分を有している場合、上記ピクチャタイプ変更時
において、このIピクチャが有している情報成分がPピク
チャP3に取り込まれる筈である。
Considering this, the Forward-B which should be obtained by changing the picture type based on the value obtained by adding the size of the B picture B3 and the size of the P picture P2.
The size of picture B1 can be predicted. Rear VOB
With respect to, the picture type of the picture data located at the beginning in the encoding order must be changed. rear end
Referring to the VOB display order, it can be seen that the P picture P3 exists as picture data to be displayed immediately after the B picture B3. The P picture P3 is accumulated in the re-order buffer 4f until the B picture B3 is decoded, and is displayed after the B picture B3 is decoded. By the reordering via the reorder buffer 4f as described above, the P picture P3 is displayed after the B picture B3, but the P picture P3 should precede. According to the above rule, the P picture P3 detected as the leading picture data in the encoding order in this way must be changed to the I picture. If the P picture P3 has an information component that depends on an I picture to be played in the past, the information component of this I picture is taken into the P picture P3 when the picture type is changed. It should be.

【0197】このことを考えると、PピクチャP3のサイ
ズと、直前に位置するIピクチャのサイズとを加算した
値に基づいて、ピクチャタイプ変更により得られるべき
IピクチャIのサイズを予測することができる。このよう
に予測されたバッファ占有量に基づいて、再エンコード
時の符号量を決定すれば、最適な符号量を前部セル、後
部セルに割り当てることができる。
Considering this, it should be obtained by changing the picture type based on the value obtained by adding the size of the P picture P3 and the size of the I picture located immediately before.
The size of the I picture I can be predicted. By determining the code amount at the time of re-encoding based on the buffer occupancy predicted in this way, the optimum code amount can be assigned to the front cell and the rear cell.

【0198】(2-3)部分区間をシームレスに接続させる
ための処理手順 図31、図32、図33は、2つのセルの再生がシーム
レスに行われるよう加工を行うための処理手順を示すフ
ローチャートである。尚、本フロ−チャ−トは、図2
1、図22に示した手順のうち"VOB"という用語を"セ
ル"に置き換えて記述されたステップを多く有してい
る。これらのステップには、第1実施形態と同様の参照
符号を付して、説明の簡略化を図る。
(2-3) Processing procedure for seamlessly connecting partial sections FIGS. 31, 32, and 33 are flowcharts showing processing procedures for performing processing so that two cells are reproduced seamlessly. Is. In addition, this flow chart is shown in FIG.
In the procedure shown in FIG. 1 and FIG. 22, there are many steps described by replacing the term "VOB" with "cell". The same reference numerals as those in the first embodiment are attached to these steps to simplify the description.

【0199】図34は、図31において用いられている
オーディオフレームx,オーディオフレームx+1,オーディ
オフレームyがオーディオストリームのどのオーディオ
フレームに対応するかを示す図である。ステップS10
2において制御部1は、先行して再生されるべき部分区
間(以下前部区間という)の終端部を特定する時刻情報
と、後続して再生されるべき部分区間(以下後部区間と
いう)の先端部を特定する時刻情報とに基づいて、前部
セルのC_V_E_PTMから後部セルのC_V_S_PTMを減じること
によりSTC_offsetを得る。
FIG. 34 is a diagram showing which audio frame of the audio stream the audio frame x, the audio frame x + 1, and the audio frame y used in FIG. 31 correspond to. Step S10
In 2, the control unit 1 specifies time information for identifying the end of a partial section to be reproduced first (hereinafter referred to as a front section) and a tip of a partial section to be reproduced subsequently (hereinafter referred to as a rear section). STC_offset is obtained by subtracting C_V_S_PTM of the rear cell from C_V_E_PTM of the front cell based on the time information specifying the copy.

【0200】ステップS103において制御部1は、前
部セルのFIRST_SCRから前部セルの全データのデコード
終了時刻LAST_DTSまでのバッファ占有量の変化を解析す
る。ステップS104において制御部1は、ステップS
103の同様の解析を後部セルに対して行うことによ
り、後部セルのFIRST_SCRから後部セルの全データのデ
コード終了時刻LAST_DTSまでのバッファ占有量の変化を
解析する。
In step S103, the control unit 1 analyzes the change in the buffer occupation amount from FIRST_SCR of the front cell to the decoding end time LAST_DTS of all the data of the front cell. In step S104, the control unit 1 executes step S
By performing the same analysis of 103 on the rear cell, the change in the buffer occupancy from FIRST_SCR of the rear cell to the decoding end time LAST_DTS of all the data of the rear cell is analyzed.

【0201】ステップS130において制御部1は、図
29に示した手順に従って、後部セルのピクチャタイプ
変更に伴うバッファ占有量の増加量αを予測する。ステ
ップS131では、図30に示した手順に従って、前部
セルのピクチャタイプ変更に伴うバッファ占有量の増加
量βを予測する。ステップS132において増加量α、
βを前部セル、後部セルのバッファ占有量に上乗せす
る。
In step S130, the control unit 1 predicts the increase amount α of the buffer occupation amount due to the change of the picture type of the rear cell according to the procedure shown in FIG. In step S131, the increase amount β of the buffer occupancy amount due to the picture type change of the front cell is predicted according to the procedure shown in FIG. In step S132, the increase amount α,
β is added to the buffer occupancy of the front cell and the rear cell.

【0202】ステップS105において制御部1は、後
部セルのFIRST_SCR+STC_offsetから前部セルのLAST_DTS
までのビデオバッファ占有量の変化を解析する。第1実
施形態の図10(c)に示したように、前部セル−後部
セルの双方のビデオデータがビデオバッファ4bに蓄積
された状態におけるビデオバッファ4bの最大蓄積量Bv1
+Bv2を得る。
At step S105, the control section 1 determines from FIRST_SCR + STC_offset of the rear cell to LAST_DTS of the front cell.
Analyze the change in video buffer occupancy up to. As shown in FIG. 10C of the first embodiment, the maximum storage amount Bv1 of the video buffer 4b in the state where the video data of both the front cell and the rear cell are stored in the video buffer 4b.
Gain + Bv2.

【0203】ステップS106において制御部1は、前
部セルの終端部に位置するピクチャデータを含むと考え
られる3つのVOBUを読み出すようディスクアクセス部3
を制御する。続いてステップS107において後部セル
の先端部に位置するピクチャデータを含むと考えられる
3つのVOBUを読み出すようディスクアクセス部3を制御
する。
In step S106, the control unit 1 reads out the three VOBUs which are considered to include the picture data located at the end of the front cell so that the disk access unit 3 can read out the three VOBUs.
To control. Subsequently, in step S107, the disk access unit 3 is controlled so as to read out three VOBUs which are considered to include picture data located at the leading end of the rear cell.

【0204】図27(a)は、ステップS106におい
て前部セルから読み出されるべき読出範囲を示す図であ
る。図27(a)においてVOBがVOBU#98〜#107を含んで
おり、そのうちVOBU#99〜#105が前部セルとして指定さ
れているものとする。その前部セルにおいて最後に表示
されるべきピクチャデータがピクチャデータBendである
場合、このピクチャデータBendは1秒ルールによりVOBU#
103〜#105に含まれているので、最後に表示されるべき
ピクチャデータを含むVOBU列として、VOBU#103〜#105が
読み出されることになる。
FIG. 27A shows the read range to be read from the front cell in step S106. In FIG. 27A, it is assumed that the VOB includes VOBUs # 98 to # 107, of which VOBUs # 99 to # 105 are designated as the front cells. If the last picture data to be displayed in the front cell is picture data Bend, this picture data Bend is VOBU # according to the 1-second rule.
Since it is included in 103 to # 105, VOBUs # 103 to # 105 are read as the VOBU sequence including the picture data to be displayed last.

【0205】図27(b)においてVOBがVOBU#498〜#50
7を含んでおり、そのうちVOBU#500〜#506が後部セルと
して指定されているものとする。その後部セルにおいて
最初に表示されるべきピクチャデータがピクチャデータ
Ptopである場合、このピクチャデータPtopはVOBU#500〜
#502に含まれているので、最初に表示されるべきピクチ
ャデータを含むVOBU列として、VOBU#500〜#502が読み出
されることになる。これらのVOBUは、ピクチャデータPt
op、ピクチャデータBendと同時に再生されるべきオーデ
ィオデータの他に、ピクチャデータPtop、ピクチャデー
タBendと依存関係を有する全てのピクチャデータを含ん
でいるので、ピクチャタイプの変更のために必要なピク
チャデータは全て読み出されたことになる。
In FIG. 27B, VOB is VOBU # 498 to # 50.
It is assumed that VOBU # 500 to # 506 are designated as the rear cells among them. The picture data that should be displayed first in the subsequent cell is picture data.
If it is Ptop, this picture data Ptop is VOBU # 500-
Since it is included in # 502, VOBUs # 500 to # 502 are read out as the VOBU string including the picture data to be displayed first. These VOBUs are picture data Pt
In addition to the audio data to be played back at the same time as op and the picture data Bend, all picture data having a dependency relationship with the picture data Ptop and the picture data Bend are included, so the picture data necessary for changing the picture type Are all read.

【0206】尚、本フロ−チャ−トでは3VOBU単位に読
み出しを行ったが、VOBUの数は幾つでも良い。VOBU単位
で読み出すのではなく、VOBUに含まれているピクチャデ
ータ、オーディオデータのうち、1秒間に再生されるべ
き全てのもののみを読み出してもよい。更には、1秒よ
り長い期間に再生されるべきビデオデータ、オーディオ
データを読み出してもよい。
In this flow chart, reading was performed in units of 3 VOBUs, but the number of VOBUs may be any number. Instead of reading in units of VOBU, only all of the picture data and audio data included in the VOBU that should be reproduced in one second may be read out. Furthermore, you may read the video data and audio data which should be reproduced in the period longer than 1 second.

【0207】読み出し後、ステップS108において制
御部1は先端部、終端部に位置するVOBUをビデオデータ、
オーディオデータに分離するようデ・マルチプレクサ4a
を制御する。ステップS109では、前部セルと後部セ
ルとがバッファ内に混在する期間、各デコードタイミン
グにおけるバッファ蓄積量がバッファの上限値を上回る
かを判定する。具体的にいうと、ステップS105にお
いて算出されたBv1+Bv2の値がバッファの上限値を上回
るかを判定する。上回らない場合、ステップS133に
移行するが、上回る場合、ステップS110においてそ
のオーバー量Aに基づいた符号量、を前部セル及び後部
セルに割り当てる。尚、前部セル−後部セルの両方では
なく、一方のみを再エンコードしてもよい。ステップS
111では、2本のセルから得られたビデオデータをス
テップS110において割り当てられた符号量に基づい
て、前部ビデオデータを再エンコードする。
After reading, in step S108, the control unit 1 sets the VOBUs located at the leading end and the trailing end to video data,
Demultiplexer 4a to separate audio data
To control. In step S109, it is determined whether the buffer storage amount at each decoding timing exceeds the upper limit value of the buffer during the period when the front cell and the rear cell are mixed in the buffer. Specifically, it is determined whether the value of Bv1 + Bv2 calculated in step S105 exceeds the upper limit value of the buffer. If it does not exceed, the process proceeds to step S133. If it exceeds, the code amount based on the over amount A is assigned to the front cell and the back cell in step S110. Note that only one of the front cells and the rear cells may be re-encoded instead of both. Step S
In 111, the front video data is re-encoded based on the code amount assigned in step S110, for the video data obtained from the two cells.

【0208】ステップS133において再エンコードさ
れた後部ビデオデータに新たに割り当てられたFIRST_SC
Rを取得する。後部VOBの表示順序における先頭ピクチャ
データ、符号化順序における先頭ピクチャデータはより
サイズが大きなピクチャデータにピクチャタイプが変更
されたので、STC_offset+FIRST_SCRは図34において
より過去方向に位置することはいうまでもない。
FIRST_SC newly assigned to the rear video data re-encoded in step S133
Get R. Since the picture type of the first picture data in the display order of the rear VOB and the first picture data in the coding order has been changed to larger picture data, it goes without saying that STC_offset + FIRST_SCR is located in the past direction in FIG. 34. .

【0209】ステップS112では、前部セルを分離し
て得られたオーディオデータのうち、後部ビデオデータ
に新たに割り当てられたFIRST_SCR+STC_offsetを含むオ
ーディオフレームxに対応するものを算出する。図34
において、上段のグラフは、前部セル、後部セルのビデ
オデータによるバッファ状態を示しており、図34の下
段には、前部セルを分離して得られたオーディオデータ
のオーディオフレームが配されている。下段のオーディ
オフレーム列は、上段のグラフの時間軸と、各オーディ
オフレームとの対応を明確にするものである。ここで再
エンコードにより新たに得られた後部セルのバッファ占
有量はα1だけ増加しており(α1は、ステップS132
において予測された増加量αと別のものであることを意
味する。)、増加量α1により、後部ビデオデータに新
たに付与されたFIRST_SCRはより過去を指示することに
なる。
[0209] In step S112, of the audio data obtained by separating the front cells, one corresponding to the audio frame x including FIRST_SCR + STC_offset newly allocated to the rear video data is calculated. FIG. 34
In FIG. 34, the upper graph shows the buffer state by the video data of the front cell and the rear cell, and the lower part of FIG. 34 shows the audio frame of the audio data obtained by separating the front cell. There is. The audio frame sequence in the lower row clarifies the correspondence between the time axis of the graph in the upper row and each audio frame. Here, the buffer occupancy of the rear cell newly obtained by re-encoding is increased by α1 (α1 is determined in step S132).
It means that it is different from the increase amount α predicted in. ), The FIRST_SCR newly added to the rear video data indicates the past by the increase amount α1.

【0210】上段のグラフを参照しても新FIRST_SCR+S
TC_offsetは時間Tα1だけ過去に位置することがわか
る。この新FIRST_SCR+STC_offsetから垂線をおろす
と、この垂線は、前部セルのオーディオフレーム列のう
ち、一つのオーディオフレームと交差する。この交差し
たオーディオフレームがオーディオフレームxであり、
直後のオーディオフレームx+1が前部セルに含まれてい
る最後のオーディオデータである。
The new FIRST_SCR + S can be found by referring to the upper graph.
It can be seen that TC_offset is located in the past by time Tα1. When a perpendicular is drawn from this new FIRST_SCR + STC_offset, this perpendicular intersects one audio frame in the audio frame sequence of the front cell. This intersected audio frame is audio frame x,
The immediately following audio frame x + 1 is the last audio data included in the front cell.

【0211】後部ビデオデータのSTC_offset+新FIRST_
SCRはより過去方向に位置するため、より過去方向のオ
ーディオフレームがオーディオフレームxに該当する。
過去方向のオーディオフレームがオーディオフレームx
に該当したため、後部セルのビデオデータの読み出し開
始時に、ビデオデータとともに読み出されるべき前部オ
ーディオデータは第1実施形態のそれと比較してより大
きくなる。
[0211] STC_offset of rear video data + new FIRST_
Since the SCR is located in the more past direction, the audio frame in the more past direction corresponds to the audio frame x.
Audio frames in the past direction are audio frames x
Therefore, at the start of reading the video data of the rear cell, the front audio data to be read together with the video data becomes larger than that of the first embodiment.

【0212】以降、ステップS113〜ステップS11
9の処理を行うことにより図25のような多重化をシス
テムエンコーダ2eに行わせる。続いてステップS12
0において前部セル、後部セルのFIRST_SCR,LAST_SCR,シ
ームレスフラグ、VOB_V_E_PTM,VOB_V_S_PTMを前部セル
のシームレス接続情報に記入した後、ステップS121
〜ステップS122の処理を行う。再エンコードして得
られた6VOBU分のデータのうち、先行して配置されてい
る3VOBU(先行VOBU)は本来前部区間のものなので、前
部区間の後部に追加する。再エンコードデータにおいて
後続に配置されている3VOBU(後続VOBU)は本来後部区
間のものなので、後部区間の前に追加する。このように
再エンコードデータが追加された前部区間及び後部区間
のうち一方は分割元のVOBと同一の識別子が割り当てら
れて管理されるが、他方は、分割元のVOBとは異なる識
別子が割り当てられて管理される。つまり分割後におい
て、前部区間及び後部区間は、別々のVOBとして管理さ
れるのである。これは、前部区間及び後部区間との境界
はタイムスタンプの不連続境界になっている可能性が高
いからである。
Thereafter, steps S113 to S11
By performing the processing of 9, the system encoder 2e is caused to perform the multiplexing as shown in FIG. Then step S12
In 0, after writing FIRST_SCR, LAST_SCR, seamless flag, VOB_V_E_PTM, VOB_V_S_PTM of the front cell and the rear cell in the seamless connection information of the front cell, step S121
-The process of step S122 is performed. Of the 6 VOBU's worth of data obtained by re-encoding, the 3 VOBUs (preceding VOBUs) placed ahead are originally from the front section, so they are added to the rear section of the front section. Since the 3 VOBUs (subsequent VOBUs) that are arranged subsequent to the re-encoded data originally belong to the rear section, they are added before the rear section. In this way, one of the front section and the rear section to which the re-encoded data is added is managed by being assigned the same identifier as the division source VOB, but the other is assigned an identifier different from the division source VOB. Be managed and managed. That is, after division, the front section and the rear section are managed as separate VOBs. This is because the boundary between the front section and the rear section is likely to be a discontinuous boundary of time stamps.

【0213】続いて第1実施形態同様、ステップS12
3においてSCRの連続性を判定する。連続性が存在する
なら本フロ−チャ−トの処理を終了するが、連続性が存
在しないのなら、ステップS124において重複したSC
Rが付与されたパックの数に基づいて、オーバー量Aを算
出し、そのオーバー量Aに基づいた符号量を決定して再
々エンコードを行うようステップS109に移行する。
Subsequently, as in the first embodiment, step S12.
In 3, the continuity of SCR is judged. If there is continuity, the process of this flow chart is ended, but if there is no continuity, the duplicated SC in step S124.
The over amount A is calculated based on the number of packs to which R is added, the code amount based on the over amount A is determined, and the process proceeds to step S109 to perform re-encoding.

【0214】以上の手順を経て、セルの再エンコードが
行われると、セル情報により指定されたこれらの部分区
間は独立したVOBとなる。そうすると、RTRW管理ファイ
ルにおいて、新規に生成されたVOBについてのVOB情報が
必要となる。部分区間についてのVOB情報をどのように
定義するかを以下に説明する。
When the cell is re-encoded through the above procedure, these partial sections designated by the cell information become independent VOBs. Then, in the RTRW management file, VOB information about the newly created VOB is required. The following describes how to define VOB information for a subsection.

【0215】『ビデオストリーム属性情報』は、圧縮モ
ード情報、TVシステム情報、アスペクト比情報、解像度
情報を含んでいるが、これらは部分区間の切り出し元の
VOBについて設定されている情報をそのまま用いればよ
い。『オーディオストリーム属性情報』は、符号化モー
ド、ダイナミックレンジコントロールの有無、サンプリ
ング周波数やチャネル数等を含んでいるが、これらも部
分区間の切り出し元のVOBについて設定されている情報
をそのまま用いればよい。
The "video stream attribute information" includes compression mode information, TV system information, aspect ratio information, and resolution information.
The information set for the VOB may be used as it is. The "audio stream attribute information" includes the encoding mode, the presence / absence of dynamic range control, the sampling frequency, the number of channels, etc., and these may be used as they are with the information set for the VOB from which the partial section is cut out. .

【0216】『タイムマップテーブル』は、VOBを構成
する各VOBUのサイズと、それらVOBUの表示時間から構成
されているが、これらは部分区間の切り出し元のVOBに
ついて設定されている情報のうち、一部分を切り出し
て、再エンコードを行ったVOBUのみ、サイズ及び表示時
間を修正する。続いてステップS133にて生成が行わ
れた『シームレス接続情報』について説明する。シーム
レス接続情報は『シームレスフラグ』、『ビデオ再生開
始時刻VOB_V_S_PTM』、『ビデオ再生終了時刻VOB_V_E_P
TM』、『FIRST_SCR』、『LAST_SCR』、『オーディオギ
ャップ開始時刻A_STP_PTM』、『オーディオギャップ長A
_GAP_LEN』からなるので、これらの情報を個別に記述し
てゆく。
The "time map table" is composed of the size of each VOBU that constitutes a VOB and the display time of those VOBUs. Correct the size and display time only for the VOBU that was re-encoded by cutting out a part. Next, the "seamless connection information" generated in step S133 will be described. Seamless connection information is "seamless flag", "video playback start time VOB_V_S_PTM", "video playback end time VOB_V_E_P"
TM ”,“ FIRST_SCR ”,“ LAST_SCR ”,“ Audio gap start time A_STP_PTM ”,“ Audio gap length A ”
_GAP_LEN ”, so we will describe this information individually.

【0217】『シームレスフラグ』は、前部区間と、後
部区間との間において、 (1)ビデオ属性情報に示されているビデオストリームの
表示方式(NTSC、PAL等)が同一である。 (2)オーディオ属性情報に示されているオーディオスト
リームのエンコード方式(AC-3、MPEG、LPCM等)が同一
である。
The "seamless flag" has the same display method (NTSC, PAL, etc.) of the video stream indicated in (1) video attribute information between the front section and the rear section. (2) The encoding methods (AC-3, MPEG, LPCM, etc.) of the audio streams indicated in the audio attribute information are the same.

【0218】という(1)(2)の関係が全て満たされた場合
のみ、01に設定し、(1)(2)の関係のうち、1つでも満た
されない場合、00に設定する。『ビデオ再生開始時刻VO
B_V_S_PTM』は、再エンコードされた後の再生開始時刻
に更新する。『ビデオ再生終了時刻VOB_V_E_PTM』は、
再エンコードされた後の再生終了時刻に更新する。
The value is set to 01 only when all the relationships (1) and (2) are satisfied, and is set to 00 when at least one of the relationships (1) and (2) is not satisfied. "Video playback start time VO
B_V_S_PTM ”is updated to the reproduction start time after re-encoding. "Video playback end time VOB_V_E_PTM" is
Update to the playback end time after re-encoding.

【0219】『FIRST_SCR』は、再エンコードされた後
の先頭パックのSCRに更新する。『LAST_SCR』は、再エ
ンコードされた後の最終パックのSCRに更新する。『オ
ーディオギャップ開始時刻A_STP_PTM』は、図34にお
いて後部セルに移送された複数オーディオデータにより
再生される最後のオーディオフレームyの再生終了時刻
を設定する。
[0219] "FIRST_SCR" is updated to the SCR of the first pack after being re-encoded. "LAST_SCR" is updated to the SCR of the final pack after being re-encoded. "Audio gap start time A_STP_PTM" sets the reproduction end time of the last audio frame y reproduced by the plurality of audio data transferred to the rear cell in FIG.

【0220】『オーディオギャップ長A_GAP_LEN』は、
図34において後部セルに移送された複数オーディオデ
ータにより再生される最後のオーディオフレームyの再
生終了時刻から、オーディオフレームuの再生開始時刻
までの時間長を設定する。以上のようにしてVOB情報を
生成し、これを含むRTRW管理ファイルをDVD-RAMに記録
する。これにより、セル情報にて指定された2つの部分
区間は、シームレスに再生される二本のVOBとしてDVD-R
AMに記録されることになる。
“Audio gap length A_GAP_LEN” is
In FIG. 34, the time length from the reproduction end time of the last audio frame y reproduced by the plurality of audio data transferred to the rear cell to the reproduction start time of the audio frame u is set. The VOB information is generated as described above, and the RTRW management file including the VOB information is recorded on the DVD-RAM. As a result, the two partial sections specified by the cell information will be seamlessly played as two VOBs on the DVD-R.
It will be recorded in AM.

【0221】以上のように本実施形態によれば、セルの
終端部−先端部のみを読み出して再エンコードを行なう
ことにより、VOBにおける部分区間同士の再生がシーム
レスに行われるように加工することができる。再エンコ
ードの対象がセルの終端部−先端部に位置するVOBUのみ
なので、セルの再エンコードを極めて短期間に完遂する
ことができる。
As described above, according to the present embodiment, by reading out only the end portion-tip portion of the cell and re-encoding, it is possible to perform processing so that the partial sections in the VOB can be reproduced seamlessly. it can. Since the target of re-encoding is only the VOBU located at the end-tip of the cell, re-encoding of the cell can be completed in an extremely short period of time.

【0222】尚、本実施形態では、部分区間をビデオフ
ィールドの時間精度で指定したが、ビデオフレームの時
間精度で指定しても良い。加えて、第2実施形態でフロ
ーチャートを参照して説明した加工モジュールソフトウ
ェアの手順(図31〜図33)等を機械語プログラムに
より実現し、これを記録媒体に記録して流通・販売の対
象にしても良い。このような記録媒体には、ICカードや
光ディスク、フロッピーディスク等があるが、これらに
記録された機械語プログラムは汎用コンピュータにイン
ストールされることにより利用に供される。この汎用コ
ンピュータは、インストールした機械語プログラムを逐
次実行して、本実施形態に示したビデオデータ編集装置
の機能を実現するのである。
In this embodiment, the partial section is designated by the time precision of the video field, but it may be designated by the time precision of the video frame. In addition, the procedure (FIGS. 31 to 33) of the processing module software described with reference to the flowchart in the second embodiment is realized by a machine language program, and this is recorded on a recording medium to be a target of distribution / sales. May be. Such recording media include IC cards, optical disks, floppy disks, etc., but the machine language programs recorded in these are provided for use by being installed in a general-purpose computer. This general-purpose computer sequentially executes the installed machine language program to realize the function of the video data editing apparatus shown in this embodiment.

【0223】(第3実施形態)第3実施形態は、AVファ
イルをファイルシステム上で管理して、より自由度の高
い映像編集を実現するための実施形態である。 (3-1)DVD-RAM上のディレトリィ構成 第1実施形態に示したRTRW管理ファイル、AVファイル
は、ISO/IEC13346に規定されたファイルシステムにおい
て、図35に示すディレクトリィ上に配置されている。
図35は、第1実施形態に示したRTRW管理ファイル、AV
ファイルが配置されるディレクトリ構造を示す図であ
る。図35において、楕円図形はディレクトリを、長方
形はファイルを表している。ルートディレクトリは、RT
RWという1つのディレクトリとFile1.DAT、File2.DATと
いう2つのファイルとを有し、RTRWディレクトリは、Mov
ie1.VOB、Movie2.VOB、RTRWM.IFOという3つのファイル
を有している。
(Third Embodiment) A third embodiment is an embodiment for managing an AV file on a file system and realizing video editing with a higher degree of freedom. (3-1) Directory Configuration on DVD-RAM The RTRW management file and AV file shown in the first embodiment are arranged on the directory shown in FIG. 35 in the file system defined in ISO / IEC13346. .
FIG. 35 shows the RTRW management file and AV shown in the first embodiment.
It is a figure which shows the directory structure in which a file is arrange | positioned. In FIG. 35, an elliptical figure represents a directory and a rectangle represents a file. Root directory is RT
It has one directory called RW and two files called File1.DAT and File2.DAT, and the RTRW directory is called Mov
It has three files, ie1.VOB, Movie2.VOB and RTRWM.IFO.

【0224】(3-1-1)ディレクトリィにおけるファイル
システム用管理情報 図35に示すディレクトリィ構造において、RTRW管理フ
ァイル及びAVファイルがどのような管理情報により管理
されるかを説明する。図36は、図35に示したディレ
クトリィにおけるファイルシステム用管理情報を示す図
である。同図では、図3(d)に示したボリューム空間
と、セクタと、セクタの記録内容とを階層的に図示して
いる。図中の矢線〜は、同図の管理情報に従って"M
ovie1.VOB"というファイルの記録位置が特定される順序
を示している。
(3-1-1) Management Information for File System in Directory The management information of the RTRW management file and the AV file in the directory structure shown in FIG. 35 will be described. FIG. 36 is a diagram showing the file system management information in the directory shown in FIG. In the figure, the volume space shown in FIG. 3D, the sectors, and the recorded contents of the sectors are hierarchically illustrated. Arrows ~ in the figure indicate "M" according to the management information in the figure.
This shows the order in which the recording positions of the file "ovie1.VOB" are specified.

【0225】同図の第1階層は、図3(d)に示したボ
リューム空間を示している。第2階層は、管理情報のう
ち、ファイルセット記述子、終端記述子、ファイルエン
トリ、ディレクトリ等を示している。これらの情報は、
ISO/IEC13346に規定されたファイルシステムに準拠して
いる。ISO/IEC13346に規定されたファイルシステムは、
階層的なディレクトリ管理を実現している。
The first hierarchy in the figure shows the volume space shown in FIG. 3 (d). The second layer shows a file set descriptor, a terminal descriptor, a file entry, a directory, etc. in the management information. This information is
It conforms to the file system specified in ISO / IEC13346. The file system defined in ISO / IEC13346 is
It realizes hierarchical directory management.

【0226】図36の管理情報は、このディレクトリ構
造に沿って図示してある。但し個々のファイルの記録領
域は、AVファイルであるMovie1.VOBのみを図示してい
る。第2階層におけるファイルセット記述子(LBN8
0)は、ルートディレクトリのファイルエントリが記録
されているセクタのLBN等を示す。終端記述子(LBN8
1)は、ファイルセット記述子の終端を示す。
The management information of FIG. 36 is illustrated along this directory structure. However, the recording area of each file shows only Movie1.VOB which is an AV file. Fileset descriptor in the second layer (LBN8
0) indicates the LBN or the like of the sector in which the file entry of the root directory is recorded. Termination descriptor (LBN8
1) indicates the end of the file set descriptor.

【0227】ファイルエントリ(LBN82、584、3
585など)は、ファイル(ディレクトリも含む)毎に
記録され、ファイル又はディレクトリの記録位置を示
す。ファイル用のファイルエントリとディレクトリ用の
ファイルエントリとは、階層的なディレクトリ構造を自
由に構築できるように同一のフォーマットに定められて
いる。
File entry (LBN 82, 584, 3
585) is recorded for each file (including directory) and indicates the recording position of the file or directory. The file entry for a file and the file entry for a directory are defined in the same format so that a hierarchical directory structure can be freely constructed.

【0228】ディレクトリ(LBN83、584、358
5など)は、ディレクトリに含まれる各ファイル用及び
各ディレクトリ用のファイルエントリの記録位置を示
す。第3階層は、3つのファイルエントリと、2つのデ
ィレクトリとを図示している。ファイルエントリとディ
レクトリとは、ファイルシステムによって追跡され、デ
ィレクトリ構造がどのように階層化されていても、特定
のファイルを記録位置を特定できるようなデータ構造を
有している。
Directory (LBN83, 584, 358
5) indicates the recording position of the file entry for each file and each directory included in the directory. The third hierarchy illustrates three file entries and two directories. The file entry and the directory are tracked by the file system, and have a data structure that can specify the recording position of a specific file, regardless of how the directory structure is hierarchized.

【0229】各ファイルエントリは、ファイル又はディ
レクトリの記録位置を示すアロケーション記述子を含
む。ファイルに収録されているデータが複数のエクステ
ントに分割されている場合には、ファイルエントリはエ
ストテントデータ毎に複数のアロケーション記述子を有
することになる。ここでエクステントとは、ファイルに
収録されるデータの部分区間であって、連続領域に格納
されるべきものをいう。例えばAVファイルに収録される
べきVOBのサイズが大きく、これを格納する連続領域が
存在しない場合、当該AVファイルをDVD-RAMに記録する
ことができない。しかし、サイズが小さな連続領域がパ
ーティション空間に複数散在する場合、AVファイルに収
録されるべきVOBを複数に分割すれば、その分割により
得られたそれぞれの部分区間をそれら散在している連続
領域に記録することができる。このように分割すれば、
パーティション空間の連続領域の個数及び長さが制約さ
れている場合でも、VOBをAVファイルとして記録できる
確率は高まる。DVD-RAMにおける記録率を向上させるた
め、AVファイルに収録されるべきVOBを複数に分割し
て、その分割により得られたそれぞれのエクステントを
散在している連続領域に記録するのである。
Each file entry includes an allocation descriptor indicating the recording position of the file or directory. When the data recorded in the file is divided into a plurality of extents, the file entry will have a plurality of allocation descriptors for each extent data. Here, the extent is a partial section of data recorded in a file and should be stored in a continuous area. For example, if the size of the VOB to be recorded in the AV file is large and there is no continuous area for storing this, the AV file cannot be recorded in the DVD-RAM. However, if multiple small continuous areas are scattered in the partition space, if the VOB that should be recorded in the AV file is divided into multiple parts, each partial section obtained by the division will be divided into those continuous areas. Can be recorded. If you divide like this,
Even if the number and length of continuous areas in the partition space are limited, the probability that a VOB can be recorded as an AV file increases. In order to improve the recording rate in DVD-RAM, VOBs to be recorded in an AV file are divided into a plurality, and the respective extents obtained by the division are recorded in scattered continuous areas.

【0230】尚、解釈上の疑義がないように明確にして
おくが、連続領域とは、論理的又は物理的に連続したEC
Cブロックからなる領域をいう。例えば、図36のLBN8
2、584の各ファイルエントリは、アロケーション記
述子を1つ含むので、ファイルが複数のエクステントに
分割されていない(1つのエクステントからなる)こと
を意味する。これに対して、LBN3585のファイルエ
ントリは、アロケーション記述子を2つ含むので、ファ
イルに格納されるべきデータが2つのエクステントから
なることを意味する。
[0230] It should be clarified that there is no doubt in interpretation, but a continuous area is an EC that is logically or physically continuous.
An area consisting of C blocks. For example, LBN8 in Figure 36
Since each of the file entries of 2,584 includes one allocation descriptor, it means that the file is not divided into a plurality of extents (consisting of one extent). On the other hand, the file entry of LBN3585 includes two allocation descriptors, which means that the data to be stored in the file consists of two extents.

【0231】各ディレクトリは、ディレクトリ内に含ま
れるファイル及びディレクトリ毎に、そのファイルエン
トリの記録位置を示すファイル識別記述子を含む。この
ようなファイルエントリ及びディレクトリに従って、例
えば、同図の矢線に示すように”root/video/Movie1.VO
B”ファイルの記録位置は、ファイルセット記述子→
→ファイルエントリ(root)→→ディレクトリ(roo
t)→→ファイルエントリ(RTRW)→→ディレクト
リ(RTRW)→→ファイルエントリ(Movie1.VOB)→
→ファイル(Movie1.VOBのエクステント#1、#2)の順
に追跡される。
Each directory includes, for each file and directory included in the directory, a file identification descriptor indicating the recording position of the file entry. According to such file entries and directories, for example, "root / video / Movie1.VO" as shown by the arrow in the figure.
The recording position of the B ”file is the file set descriptor →
→ file entry (root) → → directory (roo
t) → → File entry (RTRW) → → Directory (RTRW) → → File entry (Movie1.VOB) →
→ Tracked in order of files (Extents # 1, # 2 of Movie1.VOB).

【0232】この経路上のファイルエントリとディレク
トリのリンク関係をディレクトリ構造に沿って書き直し
た図を図37に示す。図中、ルート用のディレクトリ
は、親ディレクトリ(ルートの親はルート自身)のディ
レクトリ用、RTRWディレクトリ用、File1.DATファイル
用、File2.DATファイル用の各ファイル識別記述子を含
む。また、RTRWディレクトリは、親ディレクトリ(ルー
ト)のディレクトリ用、Movie1.VOBファイル用、Movie
2.VOBファイル用、RTRWM.IFOファイル用、の各ファイル
識別記述子を含む。同図においてもMovie1.VOBファイル
の記録位置は、上記の〜を辿ることにより特定さ
れる。 (3-1-2)ファイルエントリのデータ構成 図38(a)は、ファイルエントリのさらに詳細なデー
タ構成を示す図である。同図のように、ファイルエント
リは、記述子タグと、ICBタグと、アロケーション記述
子長と、拡張属性と、アロケーション記述子とを有す
る。なお図中のBPはビット位置、RBPは相対ビット位置
を表す。
FIG. 37 is a diagram in which the link relationship between the file entry and the directory on this path is rewritten according to the directory structure. In the figure, the root directory includes file identification descriptors for the parent directory (the root parent is the root itself), the RTRW directory, the File1.DAT file, and the File2.DAT file. The RTRW directory is for the parent directory (root), Movie1.VOB file, and Movie.
2. Includes file identifier descriptors for VOB files and RTRWM.IFO files. Also in the figure, the recording position of the Movie1.VOB file is specified by following the above steps 1 to 3. (3-1-2) Data Structure of File Entry FIG. 38 (a) is a diagram showing a more detailed data structure of the file entry. As shown in the figure, the file entry has a descriptor tag, an ICB tag, an allocation descriptor length, an extended attribute, and an allocation descriptor. In the figure, BP represents a bit position and RBP represents a relative bit position.

【0233】記述子タグは、自身がファイルエントリで
ある旨を示すタグである。DVD-DAMにおけるタグには、
ファイルエントリ記述子、スペースビットマップ記述子
などの種別があるが、ファイルエントリの場合には、記
述子タグとしてファイルエントリを示す261が記述され
る。ICBタグはファイルエントリ自身に関する属性情報
を示す。
The descriptor tag is a tag indicating that it is a file entry. DVD-DAM tags include:
Although there are types such as a file entry descriptor and a space bitmap descriptor, in the case of a file entry, 261 indicating the file entry is described as a descriptor tag. The ICB tag indicates attribute information about the file entry itself.

【0234】拡張属性は、ファイルエントリ内の属性情
報フィールドで規定された内容よりも高度な属性を示す
ための情報である。アロケーション記述子フィールドに
は、ファイルを構成するエクステントと同数のアロケー
ション記述子が記録される。アロケーション記述子は、
ファイル又はディレクトリのエクステントの記録位置を
示す論理ブロック番号(LBN)を示す。アロケーション
記述子のデータ構造を図38(b)に示す。図38
(b)においてアロケーション記述子は、エクステント
長を示すデータと、エクステントの記録位置を示す論理
ブロック番号とを含む。ただしエクステント長を示すデ
ータの上位2ビットは、図38(c)に示すようにエク
ステント記録領域の記録状況を示す。 (3-1-3)ディレクトリ用、ファイル用ファイル識別記述
子のデータ構成 図39(a)、図39(b)は、それぞれディレクトリ
に含まれるディレクトリ用、ファイル用ファイル識別記
述子の詳細なデータ構成を示す。この2種類のファイル
識別記述子は、同一のフォーマットであり、管理情報
と、識別情報と、ディレクトリ名の長さと、ディレクト
リ又はファイルのファイルエントリがどの論理ブロック
番号に記録されているかを示すアドレスと、拡張用情報
と、ディレクトリ名とから構成される。これにより、デ
ィレクトリ名又はファイル名に対応するファイルエント
リのアドレスが特定される。
The extended attribute is information for indicating an attribute higher than the contents specified by the attribute information field in the file entry. In the allocation descriptor field, the same number of allocation descriptors as the extents forming the file are recorded. The allocation descriptor is
Indicates the logical block number (LBN) that indicates the recording position of the extent of a file or directory. The data structure of the allocation descriptor is shown in FIG. Figure 38
In (b), the allocation descriptor includes data indicating the extent length and a logical block number indicating the recording position of the extent. However, the upper 2 bits of the data indicating the extent length indicate the recording status of the extent recording area as shown in FIG. 38 (c). (3-1-3) Data structure of file identification descriptor for directory and file FIGS. 39 (a) and 39 (b) show detailed data of file identification descriptor for directory and file included in the directory, respectively. The configuration is shown. The two types of file identification descriptors have the same format, and include management information, identification information, the length of the directory name, and an address indicating in which logical block number the file entry of the directory or file is recorded. , Extension information, and a directory name. As a result, the address of the file entry corresponding to the directory name or file name is specified.

【0235】(3-1-4)AVブロックの最小サイズ AVファイルに収録されるべきVOBを複数のエクステント
に分割する場合、そのデータ長は、AVブロックを上回る
データ長でなければならない。ここでAVブロックとは、
DVD-RAMからVOBを読み出すにあたって、トラックバッフ
ァ3aがアンダーフローしないことが保証される最低長
をいう。
(3-1-4) Minimum size of AV block When a VOB to be recorded in an AV file is divided into a plurality of extents, its data length must be longer than the AV block. Here, the AV block is
When reading VOB from DVD-RAM, it is the minimum length that guarantees that the track buffer 3a does not underflow.

【0236】連続再生を保証するために、AVブロックの
最小サイズは、再生装置におけるトラックバッファとの
関係で定められる。ここで、AVブロックの下限値がどの
ような理論を持って決定されているかを説明する。 (3-1-5)AVブロック領域の最小サイズ まず、上記(1)における、連続再生を保証するための最
小サイズを決定する理論的根拠について説明する。
In order to guarantee continuous reproduction, the minimum size of the AV block is determined in relation to the track buffer in the reproducing device. Here, the theory with which the lower limit value of the AV block is determined will be described. (3-1-5) Minimum size of AV block area First, the theoretical basis for determining the minimum size for guaranteeing continuous playback in (1) above will be described.

【0237】図40は、ビデオオブジェクトを再生する
再生装置においてDVD-RAMから読み出されたAVデータが
トラックバッファにバッファリングされる様子をモデル
化した図である。このモデルは、再生装置として備える
べき最低限度の仕様を定めたモデルであり、この仕様を
満たす限り連続再生を保証することができる。図40上
段において、DVD-RAMから読み出されたAVデータは、ECC
処理が施され、トラックバッファ(FIFOメモリ)に一時
蓄積され、さらにトラックバッファからデコーダに出力
される。トラックバッファ入力の転送レート(光ディス
クからの読み出しレート)をVr、トラックバッファ出力
の転送レート(デコーダ入力レート)をVoとする(ただ
しVr>Voとする)。このモデルではVr=11Mbpsとする。
[0237] Fig. 40 is a model diagram of how AV data read from a DVD-RAM is buffered in a track buffer in a reproducing device for reproducing a video object. This model is a model that defines the minimum specifications that should be provided as a playback device, and continuous playback can be guaranteed as long as this specification is satisfied. In the upper part of FIG. 40, the AV data read from the DVD-RAM is ECC
It is processed, temporarily stored in the track buffer (FIFO memory), and then output from the track buffer to the decoder. Let Vr be the transfer rate of the track buffer input (read rate from the optical disk), and Vo be the transfer rate of the track buffer output (decoder input rate) (provided that Vr> Vo). In this model, Vr = 11Mbps.

【0238】図40下段は、このモデルにおけるトラッ
クバッファのデータ量の変化を示すグラフである。縦軸
はトラックバッファのデータ量、横軸は時間である。同
図では欠陥セクタが存在しないAVブロック#jと欠陥セク
タが存在するAVブロック#kとが順次読み出される場合
を想定している。時間軸上の期間T1は、欠陥セクタを
含まないAVブロック#jの先頭から末尾までの全AVデータ
の読み出しに要する時間である。この期間では、(Vr-V
o)のレートでバッファ内のデータ量が増えていく。
The lower part of FIG. 40 is a graph showing changes in the data amount of the track buffer in this model. The vertical axis represents the amount of data in the track buffer, and the horizontal axis represents time. In the figure, it is assumed that the AV block #j having no defective sector and the AV block #k having a defective sector are sequentially read. The period T1 on the time axis is the time required to read all AV data from the beginning to the end of the AV block #j that does not include a defective sector. In this period, (Vr-V
The amount of data in the buffer increases at the rate of o).

【0239】期間T2(以下ジャンプ期間と呼ぶ)は、A
Vブロック#jからAVブロック#kへの光りピックアップが
ジャンプするのに要する時間である。ジャンプ時間は、
光ピックアップのシークタイムと、光ディスク回転が安
定するのに要する時間を含む。この時間は、最大では、
最内周から最外周へのジャンプする時間であり、本モデ
ルでは約1500mSとする。この期間では、Voのレート
でバッファのデータ量が減っていく。
A period T2 (hereinafter referred to as a jump period) is A
This is the time required for the light pickup from V block #j to AV block #k to jump. The jump time is
It includes the seek time of the optical pickup and the time required for the rotation of the optical disc to stabilize. This time, at maximum,
It is the time to jump from the innermost circumference to the outermost circumference, which is about 1500 mS in this model. During this period, the amount of data in the buffer decreases at the rate of Vo.

【0240】期間T3〜T5は、欠陥セクタを含むAVブロ
ック#kの先頭から末尾までの全AVデータの読み出しに
要する時間である。このうち期間T4は、欠陥セクタが
存在するEccブロックを読み飛ばして次のEccブロックに
スキップする時間である。このスキップは、Eccブロッ
ク内に欠陥セクタが1つでも存在すれば、当該Eccブロ
ック(16セクタ)を読み飛ばして、連続する次のEcc
ブロックにジャンプすることをいう。つまり、AVブロッ
クにおいて欠陥セクタが存在するEccブロックは、欠陥
セクタのみを代替セクタ(代替Eccブロック)に論理的
に置き換えられるわけではなく、当該Eccブロック(1
6セクタ全部)が単に使用されないようになっている
(上記のECCブロックスキップ方式)。この時間T4は、
最大でディスクが一回転する場合の回転待ち時間であ
り、本モデルでは約105mSとする。期間T3とT5では
(Vr-Vo)のレートでバッファ内のデータ量が増えてい
くが、期間T4ではVoのレートで減っていく。
The periods T3 to T5 are the time required to read all the AV data from the beginning to the end of the AV block #k including the defective sector. Of these, the period T4 is a time for skipping the Ecc block in which the defective sector exists and skipping to the next Ecc block. If there is at least one defective sector in the Ecc block, this skip skips the relevant Ecc block (16 sectors) and continues to the next Ecc.
To jump to a block. That is, the Ecc block in which the defective sector exists in the AV block cannot be logically replaced with the alternative sector (alternative Ecc block), and the Ecc block (1
All 6 sectors) are simply not used (ECC block skip method above). This time T4 is
It is the rotation waiting time when the disk makes one rotation at maximum, and is about 105 mS in this model. In the periods T3 and T5, the data amount in the buffer increases at the rate of (Vr-Vo), but in the period T4, it decreases at the rate of Vo.

【0241】AVブロックのサイズは、AVブロックに含ま
れる全てのEccブロック数をN_eccとすると、N_ecc*16*8
*2048ビットと表される。連続再生を保証するためのN_e
ccの下限値は次のようにして導き出せる。期間T2で
は、トラックバッファからAVデータが読み出されている
だけある。この期間内に、もしバッファ容量が0になれ
ばデコーダにおいてアンダーフローが発生する。この場
合にはAVデータの連続再生が保証できなくなる。そこで
連続再生を保証するためには(アンダーフローを生じさ
せないためには)、次式を満たさなければならない。 {数式1} (蓄積量B)>=(消費量R) バッファ蓄積量Bは、期間T1の終了時点でバッファに蓄
積されたデータ量である。消費量Rは、期間T2内に読み
出される全データ量である。>=は、大なり又は等しいを
意味する。
The size of the AV block is N_ecc * 16 * 8, where N_ecc is the number of all Ecc blocks included in the AV block.
* Expressed as 2048 bits. N_e to guarantee continuous playback
The lower limit value of cc can be derived as follows. In the period T2, only AV data is read from the track buffer. If the buffer capacity becomes 0 within this period, an underflow will occur in the decoder. In this case, continuous reproduction of AV data cannot be guaranteed. Therefore, in order to guarantee continuous reproduction (to prevent underflow), the following formula must be satisfied. {Equation 1} (Stored amount B)> = (Consumed amount R) The buffer stored amount B is the amount of data stored in the buffer at the end of the period T1. The consumption amount R is the total amount of data read within the period T2. > = Means greater than or equal to.

【0242】蓄積量Bは、次式により表せる。 {数式2} (蓄積量B)=(期間T1)*(Vr-Vo) =(1のつAVブロックの読出時間)*(Vr-Vo) =(AVブロックのサイズL/Vr)*(Vr-Vo) =(N_ecc*16*8*2048/Vr)*(Vr-Vo) =(N_ecc*16*8*2048)*(1-Vo/Vr) 消費量Rは、次式により表せる。 {数式3} (消費量R)=T2*Vo 上記(数式1)の両辺を(数式2)(数式3)で置き換
えると次式となる。 {数式4} (N_ecc*16*8*2048)*(1-Vo/Vr)>=T2*Vo この式より、連続再生を保証するためのEccブロック数N
_eccは、次式を満たさなければならない。 {数式5} N_ecc >= Vo * Tj / ((16*8*2048) * (1 - Vo/Vr)) この式において、Tjは上記のジャンプ時間であり、最大
で1.5秒である。Vrは固定値(図40上段の再生装置
モデルでは約11Mbps)である。また、Voは、ビデオオ
ブジェクトが可変ビットレートであることを考慮すると
数式6で表される。つまり、Voは、トラックバッファ出
力の物理的な転送レートの最大値ではなく、可変ビット
レートのAVデータの実質的なデコーダの入力レートとし
て、数式6で求められる。ただし、AVブロック長は、N_
ecc個のEccブロックからなるAVブロック中のパック数を
N_packとしている。 {数式6} Vo=AVブロック長(bit)*(1/AVブロックの再生時間(sec)) =(N_pack*2048*8)*(27M/(SCR_first_next - SCR_first_current)) ここで、SCR_first_nextは次のAVブロックの先頭パック
のSCRであり、SCR_first_currentは当該AVブロックの先
頭パックのSCRである。SCRは、当該パックをトラックバ
ッファからデコーダへ出力すべき時刻を示し、(1/2
7M)secを単位とする。
The accumulated amount B can be expressed by the following equation. {Equation 2} (Stored amount B) = (Period T1) * (Vr-Vo) = (Read time of one AV block) * (Vr-Vo) = (AV block size L / Vr) * (Vr -Vo) = (N_ecc * 16 * 8 * 2048 / Vr) * (Vr-Vo) = (N_ecc * 16 * 8 * 2048) * (1-Vo / Vr) The consumption R can be expressed by the following formula. {Equation 3} (Consumption amount R) = T2 * Vo When both sides of the above (Equation 1) are replaced with (Equation 2) (Equation 3), the following equation is obtained. {Equation 4} (N_ecc * 16 * 8 * 2048) * (1-Vo / Vr)> = T2 * Vo From this equation, the number of Ecc blocks to guarantee continuous playback N
_ecc must satisfy the following formula. {Equation 5} N_ecc> = Vo * Tj / ((16 * 8 * 2048) * (1-Vo / Vr)) In this equation, Tj is the above jump time, which is 1.5 seconds at the maximum. Vr is a fixed value (about 11 Mbps in the reproducing device model in the upper part of FIG. 40). Further, Vo is represented by Expression 6 in consideration of the fact that the video object has a variable bit rate. That is, Vo is obtained not by the maximum physical transfer rate of the output of the track buffer, but by the equation 6 as the actual input rate of the variable bit rate AV data to the decoder. However, the AV block length is N_
The number of packs in an AV block consisting of ecc Ecc blocks
It is N_pack. {Equation 6} Vo = AV block length (bit) * (1 / AV block playback time (sec)) = (N_pack * 2048 * 8) * (27M / (SCR_first_next-SCR_first_current)) where SCR_first_next is the next This is the SCR of the head pack of the AV block, and SCR_first_current is the SCR of the head pack of the AV block. SCR indicates the time when the pack should be output from the track buffer to the decoder.
The unit is 7M) sec.

【0243】上記(数式5)(数式6)に示したよう
に、AVブロックの最小サイズは、実際に記録しているAV
データのビットレートに応じて理論的に算出することが
できる。さらに、上記数式5では、光ディスクに欠陥セ
クタが存在しない場合には妥当するが、欠陥セクタが存
在する場合に、連続再生を保証するためのEccブロック
数N_eccについて説明する。
As shown in (Equation 5) and (Equation 6), the minimum size of the AV block is the AV that is actually recorded.
It can be theoretically calculated according to the bit rate of the data. Further, in the above expression 5, the number of Ecc blocks N_ecc for ensuring continuous reproduction when the defective sector exists, which is valid when the optical disk has no defective sector, will be described.

【0244】AVブロック領域に、欠陥セクタを有するEC
Cブロックが、dN_ecc個存在するものとする。このdN_ec
c個のECCブロックには上記のECCブロックスキップによ
ってAVデータが記録されない。dN_ecc個のECCブロック
をスキップすることによるロス時間Tsは、T4*dN_ecc
と表される(T4は図40のモデルにおけるECCブロック
スキップ時間である)。
EC having a defective sector in the AV block area
It is assumed that there are dN_ecc C blocks. This dN_ec
AV data is not recorded in the c ECC blocks due to the above ECC block skip. Loss time Ts due to skipping dN_ecc ECC blocks is T4 * dN_ecc
(T4 is the ECC block skip time in the model of FIG. 40).

【0245】これらを数式5に加味すると、欠陥セクタ
が存在する場合であっても連続再生を保証するために
は、次式を満たすECCブロック数N_eccの連続領域をAVブ
ロック領域とすればよい。 {数式7} N_ecc > = dN_ecc + Vo * (Tj + Ts) / ((16*8*2048)
* (1 - Vo/Vr)) 以上のように、AVブロック領域は、欠陥セクタが存在し
ない場合には数式5を、欠陥セクタが存在する場合には
数式7を満たすサイズとすればよい。
When these are added to the equation 5, in order to guarantee continuous reproduction even when there is a defective sector, a continuous area of the number of ECC blocks N_ecc that satisfies the following expression may be used as an AV block area. {Equation 7} N_ecc> = dN_ecc + Vo * (Tj + Ts) / ((16 * 8 * 2048)
* (1-Vo / Vr)) As described above, the AV block area may have a size that satisfies Expression 5 when there is no defective sector and Expression 7 when there is a defective sector.

【0246】ただし、1つの連続するAVデータが複数の
AVブロックからなる場合には、全てのAVブロックが数式
5又は数式7を満たす必要があるわけではなく、先頭及
び末尾のAVブロックは数式5又は数式7を満たさなくて
もよい。なぜなら、末尾のAVブロックは後続するAVデー
タが存在しないからであり、先頭のAVブロックはデコー
ドの開始タイミングを遅らせることにより、すなわちト
ラックバッファにデータが蓄積された時点でデコーダへ
のデータ供給を開始することにより、先頭と次のAVブロ
ックとの間で連続再生を保証できるからである。 (3-2)DVDレコーダ70の機能ブロック 図41は、DVDレコーダ70の構成を機能別に示した機
能ブロック図である。同図における各機能は、制御部1
におけるCPU1aがROM1eのプログラムを実行する
ことにより図17に示したハードウェアを制御すること
により実現される。
[0246] However, one continuous AV data has a plurality of
In the case of AV blocks, not all AV blocks need to satisfy Expression 5 or Expression 7, and the beginning and end AV blocks do not have to satisfy Expression 5 or Expression 7. This is because the trailing AV block has no subsequent AV data, and the beginning AV block delays the decoding start timing, that is, starts supplying data to the decoder when the data is accumulated in the track buffer. By doing so, continuous playback can be guaranteed between the beginning and the next AV block. (3-2) Functional Block of DVD Recorder 70 FIG. 41 is a functional block diagram showing the configuration of the DVD recorder 70 by function. Each function in FIG.
It is realized by controlling the hardware shown in FIG. 17 by executing the program of the ROM 1e by the CPU 1a in FIG.

【0247】図41においてDVDプレーヤは、ディスク
記録部100、ディスク読出部101、共通ファイルシ
ステム部10、AVファイルシステム部11、録画・編集・
再生制御部12、AVデータ録画部13、AVデータ再生部
14、AVデータ編集部15から構成される。 (3-2-1)ディスク記録部100−ディスク読出部101 ディスク記録部100は、共通ファイルシステム部10
及びAVファイルシステム部11から記録を開始すべき論
理セクタ番号と記録すべきデータとが入力されると、当
該論理セクタ番号にまで光ピックアップを移動させて、
光ピックアップにて指示される論理セクタに論理データ
をECCブロック(16セクタ)単位にディスク上にデー
タを記録する。当該論理データに記録すべきデータが1
6セクターに満たない場合は、一旦そのECCブロックの
大きさに変更して、ECC処理を施してからECCブロックを
記録する。
In FIG. 41, the DVD player includes a disc recording section 100, a disc reading section 101, a common file system section 10, an AV file system section 11, a recording / editing /
The playback control unit 12, the AV data recording unit 13, the AV data playback unit 14, and the AV data editing unit 15 are included. (3-2-1) Disc Recording Unit 100-Disc Reading Unit 101 The disc recording unit 100 includes the common file system unit 10
When the logical sector number to start recording and the data to be recorded are input from the AV file system unit 11, the optical pickup is moved to the logical sector number,
Logical data is recorded on the disk in units of ECC blocks (16 sectors) in logical sectors designated by the optical pickup. The data to be recorded in the logical data is 1
If the size is less than 6 sectors, the size of the ECC block is once changed, the ECC process is performed, and then the ECC block is recorded.

【0248】ディスク読出部101は、共通ファイルシ
ステム部10及びAVファイルシステム部11からデータ
を読み出すべき論理セクタ番号とセクタ数とが入力され
ると、当該論理セクタ番号にまで光ピックアップを移動
させて、光ピックアップにて指示される論理セクタから
ECCブロック単位にてデータ読み出しを行う。その読み
出されたデータはECC処理を経て必要なセクターデータ
のみが共通ファイルシステム部10に転送される。ディ
スク記録部と同様にVOBの読み出し時にECCブロック毎に
16セクター単位で読み出しを行うことによりオーバーヘ
ッドを削減する。 (3-2-2) 共通ファイルシステム部10 共通ファイルシステム部10は、ISO/IEC13346準拠のデ
ータフォーマットをアクセスするための標準機能を録画
・編集・再生制御部12、録画・編集・再生制御部12、AV
データ録画部13、AVデータ再生部14、AVデータ編集
部15に提供する。共通ファイルシステム部10により
提供される標準機能とは、DVD-RAMをディレクトリ単
位、ファイル単位に読み書きするようディスク記録部1
00及びディスク読出部101を制御することをいう。
共通ファイルシステム部10により提供される標準機能
の代表的なものには、ファイルエントリィをディスク記
録部100に記録させ、ファイル識別記述子を録画・編
集・再生制御部12等に出力する機能(1)、ディスク上に
おいて一つのファイルが占めている記録領域を空き領域
に解放する機能(2)、指定されたファイルのファイル識
別記述子をDVD-RAMから読み出させるようディスク読出
部101を制御する機能(3)、メモリ上に存在するデー
タを非AVファイルとしてディスク上に記録させるよう
ディスク記録部100を制御する機能(4)、ディスク上
に記録されたファイルを構成するエクステントを読み出
させるようディスク読出部101を制御する機能(5)、
ファイルを構成するエクステント上の所望の位置に光ピ
ックアップを移動させるようディスク読出部101を制
御する機能(6)等の種別がある。
Upon receiving the logical sector number and the number of sectors from which data should be read from the common file system unit 10 and the AV file system unit 11, the disc reading unit 101 moves the optical pickup to the logical sector number. From the logical sector designated by the optical pickup
Data is read in ECC block units. The read data is subjected to ECC processing, and only necessary sector data is transferred to the common file system unit 10. As with the disc recording part, each VEC is read out by ECC block
The overhead is reduced by reading in units of 16 sectors. (3-2-2) Common File System Unit 10 The common file system unit 10 has a standard function for accessing a data format conforming to ISO / IEC13346, which is a recording / editing / playback control unit 12 and a recording / editing / playback control unit. 12, AV
It is provided to the data recording unit 13, the AV data reproducing unit 14, and the AV data editing unit 15. The standard function provided by the common file system unit 10 is the disc recording unit 1 so that the DVD-RAM can be read and written in directory units and file units.
00 and controlling the disc reading unit 101.
A typical function provided by the common file system unit 10 is a function of recording a file entry in the disc recording unit 100 and outputting a file identification descriptor to the recording / editing / playback control unit 12 (1 ), A function to release the recording area occupied by one file on the disc to a free area (2), and controls the disc reading unit 101 to read the file identification descriptor of the specified file from the DVD-RAM. Function (3), function to control the disk recording unit 100 to record the data existing in the memory as a non-AV file on the disk (4), read extents constituting the file recorded on the disk A function (5) for controlling the disc reading unit 101,
There is a type such as a function (6) for controlling the disc reading unit 101 so as to move the optical pickup to a desired position on the extent forming the file.

【0249】これら機能(1)から機能(6)までの提供を受
けるには、録画・編集・再生制御部12〜AVデータ編集部
15はデータを記録すべきファイル或はデータを読み出
すべきファイルをパラメータとして指定したコマンド
(以下共通ファイルシステム向けコマンド)を共通ファ
イルシステム部10に発行すればよい。共通ファイルシ
ステム向けコマンドには、「(1)CREATE」「(2)DELETE」
「(3)OPEN/CLOSE」「(4)WRITE」「READ」「SEEK」等の種別
があり、これらのコマンドが上記の機能(1)〜(6)のそれ
ぞれに割り当てられている。本実施形態における上記標
準機能とコマンドとの割り当ては以下のように設定され
ている。即ち、機能(1)の提供を受けるには、録画・編集
・再生制御部12〜AVデータ編集部15はCREATEコマン
ドを共通ファイルシステム部10に発行すればよい。機
能(2)の提供を受けるには、録画・編集・再生制御部12
〜AVデータ編集部15はDELETEコマンドを共通ファイル
システム部10に発行すればよく、同様に機能(3)(4)
(5)(6)の提供を受けるには、OPEN/CLOSEコマンド、WRI
TEコマンド、READコマンド、SEEKコマンドをそれぞれ発
行すればよい。
In order to receive the provision of these functions (1) to (6), the recording / editing / playback control unit 12 to the AV data editing unit 15 select a file for recording data or a file for reading out data. A command specified as a parameter (hereinafter, a command for common file system) may be issued to the common file system unit 10. Commands for common file system include "(1) CREATE" and "(2) DELETE".
There are types such as “(3) OPEN / CLOSE”, “(4) WRITE”, “READ”, “SEEK”, etc., and these commands are assigned to each of the above functions (1) to (6). The assignment of the standard function and the command in this embodiment is set as follows. That is, in order to receive the provision of the function (1), the recording / editing / playback control unit 12 to the AV data editing unit 15 may issue a CREATE command to the common file system unit 10. To receive the function (2), the recording / editing / playback control unit 12
~ The AV data editing unit 15 may issue a DELETE command to the common file system unit 10, and the same functions (3) (4)
To receive (5) (6), OPEN / CLOSE command, WRI
You can issue the TE command, READ command, and SEEK command respectively.

【0250】(3-2-3) AVファイルシステム部11 AVファイルシステム部11は、共通ファイルシステム部
10では提供され得ない機能であって、AVファイルの記
録及びAVファイルの編集にのみ必要な拡張機能を録画・
編集・再生制御部12〜AVデータ編集部15に提供す
る。これらの拡張機能の代表的なものには、MPEGエンコ
ーダ2によりエンコードされたVOBをAVファイルとしてD
VD-RAMに書き込む機能(7)、AVファイルに収録されてい
るAVデータのうち、予め指定された範囲を別ファイルに
切り出す機能(8)、AVファイルに収録されたAVデータの
うち、予め指定された範囲を空き領域に解放する機能
(9)、DVD-RAM上に既に管理されている二本のAVファイル
と、メモリ上に配置されたAVデータとを連結する機能(1
0)がある。
(3-2-3) AV File System Unit 11 The AV file system unit 11 is a function that cannot be provided by the common file system unit 10, and is necessary only for recording AV files and editing AV files. Record advanced features
It is provided to the editing / playback control unit 12 to the AV data editing unit 15. A typical example of these extended functions is a VOB encoded by the MPEG encoder 2 as an AV file.
Function to write to VD-RAM (7), function to cut out a pre-specified range from the AV data recorded in the AV file to another file (8), pre-specified from the AV data recorded to the AV file To release the specified range to free space
(9), a function to connect the two AV files already managed on the DVD-RAM and the AV data located on the memory (1
There is 0).

【0251】これら機能(7)から機能(10)までの提供を
受けるには、録画・編集・再生制御部12〜AVデータ編集
部15はデータを記録すべきファイル或はデータを連結
或は切り出すべきファイルをパラメータとして指定した
コマンド(以下AVファイルシステム向けコマンド)をAV
ファイルシステム部11に発行すればよい。AVファイル
システム向けコマンドには、『(7)AV-WRITE』、『(8)SP
LIT』、『(9)SHORTEN』、『(10)MERGE』の種別があり、
これらのコマンドが上記の機能(7)〜(10)のそれぞれに
割り当てられている。本実施形態における上記拡張機能
とコマンドとの割り当ては以下のように設定されてい
る。即ち、機能(7)の提供を受けるには、録画・編集・再
生制御部12〜AVデータ編集部15はAV-WRITEコマンド
を発行すればよく、機能(8)の提供を受けるには、録画・
編集・再生制御部12〜AVデータ編集部15はSPLITコマ
ンドを発行すればよい。機能(9)、(10)の提供を受ける
には、SHORTENコマンド、MERGEコマンドを発行すればよ
い。機能(10)では、連結後のファイルのエクステントが
AVブロック長以上になるように連結される。 (3-2-4)録画・編集・再生制御部12 録画・編集・再生制御部12は、各ディレクトリ名をパラ
メータに指定したOPENコマンドを共通ファイルシステム
部10に発行することによりDVD-RAMに既に記録されて
いる複数のファイル識別記述子を共通ファイルシステム
部10に読み出させて、これらのファイル識別記述子か
らDVD-RAMにおけるディレクトリ構造を解析し、このデ
ィレクトリ構造において操作対象となるべきディレクト
リ及びファイルの指定を操作者から受け付ける。操作対
象の指定を受け付けると、リモコン信号受信部8から通
知されるユーザ操作に基づいて操作者による操作内容を
特定すると共に、操作対象として特定されたディレクト
リ及びファイルに対して操作内容の処理をAVデータ録画
部13、AVデータ再生部14、AVデータ編集部15に行
わせるよう指示する。
In order to receive the provision of these functions (7) to (10), the recording / editing / playback control unit 12 to the AV data editing unit 15 concatenate or cut out a file to record data or data. AV command that specifies a file that should be used as a parameter (hereinafter, AV file system command)
It may be issued to the file system unit 11. Commands for AV file systems include "(7) AV-WRITE" and "(8) SP
There are types of "LIT", "(9) SHORTEN", and "(10) MERGE",
These commands are assigned to each of the functions (7)-(10) above. Assignment of the above-mentioned extended function and command in the present embodiment is set as follows. That is, in order to receive the provision of the function (7), the recording / editing / playback control unit 12 to the AV data editing unit 15 may issue an AV-WRITE command, and to receive the provision of the function (8), the recording・
The editing / playback control unit 12 to the AV data editing unit 15 may issue the SPLIT command. To receive the functions (9) and (10), issue the SHORTEN command and MERGE command. In the function (10), the extent of the file after concatenation is
It is connected so that it is longer than the AV block length. (3-2-4) Recording / editing / playback control unit 12 The recording / editing / playback control unit 12 issues an OPEN command specifying each directory name as a parameter to the common file system unit 10 to write to the DVD-RAM. The common file system unit 10 is made to read a plurality of already recorded file identification descriptors, the directory structure in the DVD-RAM is analyzed from these file identification descriptors, and the directory to be operated in this directory structure is to be operated. Also, the file designation is accepted from the operator. When the designation of the operation target is accepted, the operation content by the operator is specified based on the user operation notified from the remote control signal receiving unit 8, and the operation content processing is performed on the directory and the file specified as the operation target. The data recording unit 13, the AV data reproducing unit 14, and the AV data editing unit 15 are instructed to perform the processing.

【0252】操作対象を指定させるにあたって録画・編
集・再生制御部12は、ディレクトリ構造、AVファイル
の総数、本ディスクにおける空き領域のデータサイズ等
を描画したグラフィックスデータをビデオ信号処理部5
に出力し、これを映像信号に変換させてテレビ受像機7
2に表示させる。図42は、録画・編集・再生制御部12
の制御下においてテレビ受像機72に表示されるグラフ
ィックスデータの一例を示す図である。本グラフィック
スデータの描画時において何れかのディレクトリ及びフ
ァイルを操作対象として描画色を変更しながら表示する
(描画色が変化することにより操作者の注目を集めてい
る状態をフォーカス状態といい、そのような変化がなさ
れていない状態を通常状態という)。またリモコン71
のマークキーの押下に伴って、フォーカス状態に設定さ
れているファイル及びディレクトリを通常状態に戻すと
共に、通常状態にある他のファイル及びディレクトリを
フォーカス状態に変更する。何れかのファイル及びディ
レクトリがフォーカス状態に設定されると、録画・編集・
再生制御部12は、リモコン71における確定キーが押
下されるのを待つ。録画・編集・再生制御部12は、確定
キーが押下された時点においてフォーカス状態にあるフ
ァイル、ディレクトリを操作対象として認識する。この
ようにして録画・編集・再生制御部12は、操作対象とな
るファイル及びディレクトリを特定することができる。
In designating the operation target, the video recording / editing / playback control unit 12 outputs the graphics data in which the directory structure, the total number of AV files, the data size of the free area on this disc, etc. are drawn to the video signal processing unit 5.
To the television receiver 7
Display on 2. FIG. 42 shows the recording / editing / playback control unit 12.
7 is a diagram showing an example of graphics data displayed on the television receiver 72 under the control of FIG. When drawing this graphics data, any directory or file is displayed as an operation target while changing the drawing color. A state where no such changes have been made). Also the remote control 71
When the mark key is pressed, the files and directories set in the focus state are returned to the normal state, and other files and directories in the normal state are changed to the focus state. When any file or directory is set to focus state, recording / editing /
The reproduction control unit 12 waits for the confirmation key on the remote controller 71 to be pressed. The recording / editing / playback control unit 12 recognizes the file or directory in the focus state as the operation target when the enter key is pressed. In this way, the recording / editing / playback control unit 12 can specify the file and directory to be operated.

【0253】一方、操作内容を特定するにあたって録画
・編集・再生制御部12は、リモコン信号受信部8から通
知されたキーコードにどのような操作内容が割り付けら
れているかを判定する。図41の左側に示すように、リ
モコン71上のキーには『再生』『巻戻し』『停止』
『早送り』『録画』『マーク』『仮編集』『本編集』と
いった文字列が記されている。リモコン信号受信部8か
ら通知されたキーコードに応じて録画・編集・再生制御部
12は操作者が指定した操作内容を特定する。 (3-2-4-1)録画・編集・再生制御部12が受け付ける操作
内容 上記の操作内容は、既存の民生用AV機器が操作者に提供
している操作内容と、映像編集のために特別に設けられ
た操作内容とに分類される。具体的には、上記の操作内
容のうち『再生』『巻戻し』『停止』『早送り』『録
画』は前者に分類されるものであり、また『マーク』
『仮編集』『本編集』は後者に分類されるものである。
On the other hand, in specifying the operation content, the recording / editing / reproduction control unit 12 determines what operation content is assigned to the key code notified from the remote control signal receiving unit 8. As shown on the left side of FIG. 41, the keys on the remote control 71 are "play", "rewind", and "stop".
Character strings such as "fast forward", "record", "mark", "temporary edit", and "book edit" are written. The recording / editing / playback control unit 12 specifies the operation content designated by the operator according to the key code notified from the remote control signal receiving unit 8. (3-2-4-1) Operation content received by the recording / editing / playback control unit 12 The above operation content is provided for the operation content provided to the operator by the existing consumer AV device and for the video editing. It is classified as a specially provided operation content. Specifically, among the above operation contents, “play”, “rewind”, “stop”, “fast forward”, and “record” are classified as the former, and also “mark”.
"Temporary editing" and "main editing" are classified into the latter.

【0254】『再生』とは、操作対象として指定された
AVファイルに収録されたVOBを再生せよとDVDレコーダ7
0に命じる操作であり、『巻戻し』とは、現在再生され
ているVOBの再生を過去方向に進行させよとDVDレコーダ
70に命じる操作である。『停止』とは、現在再生され
ているVOBの再生を停止させよとDVDレコーダ70に命じ
る操作であり、『早送り』とは、現在再生されているVO
Bの再生を未来方向に進行させよとDVDレコーダ70に命
じる操作である。
"Playback" is designated as the operation target.
DVD recorder 7 to play VOB recorded in AV file
"Rewind" is an operation for instructing the DVD recorder 70 to advance the reproduction of the VOB currently being reproduced in the past direction. "Stop" is an operation that instructs the DVD recorder 70 to stop the reproduction of the VOB that is currently being reproduced, and "fast forward" is the VO that is currently being reproduced.
This is an operation for instructing the DVD recorder 70 to proceed with the reproduction of B in the future direction.

【0255】『録画』とは、操作対象として指定された
ディレクトリに新たなAVファイルを作成して、そこに録
画すべきVOBを書き込めとDVDレコーダ70に命じる操作
である。これらの操作は、既存の民生用AV機器、即ち、
ビデオテープレコーダ、CDプレーヤの機能として多くの
操作者に親しまれているものである。これに対して後者
の操作内容は、映画のフィルムのうち任意の部分を切り
取って、切り取った部分同士を繋ぎ合わせて任意の組み
合わせのフィルムを得るという映像編集操作を操作者に
行わせるものである。
"Recording" is an operation for creating a new AV file in a directory designated as an operation target, writing a VOB to be recorded therein, and instructing the DVD recorder 70. These operations are based on existing consumer AV equipment, namely
It is familiar to many operators as a function of video tape recorders and CD players. On the other hand, the latter operation content allows the operator to perform a video editing operation of cutting an arbitrary portion of a movie film and connecting the cut portions to obtain an arbitrary combination of films. .

【0256】『マーク』とは、操作対象として指定され
たAVファイルに収録されているVOBを再生させて、そのV
OBにより再生される動画像のうち、任意の画像が現れる
時点をマーキングせよとDVDレコーダ70に命じる操作
である。フィルムに対しての映像編集に例えれば、映画
のフィルムのうち切り口となる部位を特定するという行
為がこの『マーク』操作に当たる。
[0256] The "mark" means that the VOB recorded in the AV file designated as the operation target is played back, and the V
This is an operation for instructing the DVD recorder 70 to mark the time when an arbitrary image appears in the moving image reproduced by the OB. For example, the act of specifying the cut portion of a movie film corresponds to this “mark” operation, when compared to video editing on a film.

【0257】『仮編集』とは、マーク操作によりマーキ
ングされた時点のうち、任意の2つからなる一組のもの
を再生開始点、再生終了点として複数選ばせ、それら複
数の組みに再生順位を付与することにより論理的な再生
ルートを規定せよとDVDレコーダ70に命じる操作をい
う。尚、仮編集操作において操作者により選ばれた再生
開始点、再生終了点の一組みによって特定される部分区
間がセルであり、各セルに再生順位を付与して規定され
た再生ルートをプログラムチェーンという。
"Temporary editing" means that one set of arbitrary two sets is selected as the reproduction start point and the reproduction end point from the time points marked by the mark operation, and the reproduction order is assigned to the plurality of sets. Is an operation for instructing the DVD recorder 70 to define a logical reproduction route by adding the. It should be noted that the partial section specified by the set of the reproduction start point and the reproduction end point selected by the operator in the temporary editing operation is a cell, and a reproduction route defined by giving a reproduction order to each cell is defined as a program chain. Say.

【0258】『本編集』とは、DVD-RAMに記録されたAV
ファイルのうち、セルにより指示された範囲を別ファイ
ルに切り出し、切り出された複数ファイルをプログラム
チェーンに示されている再生順位に従って連結せよとDV
Dレコーダ70に命じる処理をいう。本操作は、『マー
ク』操作で決定された切り口を切り取って、切り取った
部分同士を繋ぎ合わせるという行為に相当する。本編集
において、連結後のファイルのエクステントがAVブロッ
ク長以上になるように連結される。
[Main editing] means AV recorded on DVD-RAM.
Cut out the range specified by the cell in another file, and connect the cut out files according to the playback order shown in the program chain. DV
This is a process for instructing the D recorder 70. This operation corresponds to the act of cutting the cut edges determined by the "mark" operation and joining the cut parts together. In this editing, the extents of the concatenated files are concatenated so as to be the AV block length or more.

【0259】録画・編集・再生制御部12は、AVデータ録
画部13〜AVデータ編集部15のそれぞれが上記の操作
内容のうち何れのものの処理能力を有しているかを管理
しており、操作対象及び操作内容の特定と共に、操作内
容に応じた構成要素を選んで、AVデータ録画部13〜AV
データ編集部15に操作内容の指示を出力する。以下、
操作対象の操作内容の組み合わせにより、録画・編集・再
生制御部12がどのような指示をAVデータ録画部13、
AVデータ再生部14、AVデータ編集部15に発するかを
例示する。
The recording / editing / playback control unit 12 manages which of the above-mentioned operation contents each of the AV data recording unit 13 to the AV data editing unit 15 has a processing capacity. Along with specifying the target and the operation content, select the components according to the operation content, and select the AV data recording units 13 to AV.
The operation content instruction is output to the data editing unit 15. Less than,
Depending on the combination of the operation contents of the operation target, the recording / editing / playback control unit 12 gives what kind of instruction the AV data recording unit 13,
An example of whether the data is issued to the AV data reproducing unit 14 or the AV data editing unit 15 is shown.

【0260】図42に示すディレクトリDVD_Videoがフ
ォーカス状態に設定され、録画キーが押下されると、録
画・編集・再生制御部12はディレクトリDVD_Videoを操
作対象に特定し、『録画』を操作内容に特定する。操作
内容『録画』の処理能力を有する構成要素としてAVデー
タ録画部13を選んで、操作対象となるディレクトリに
新たなAVファイルを作成するよう指示する。
When the directory DVD_Video shown in FIG. 42 is set to the focus state and the recording key is pressed, the recording / editing / playback control unit 12 specifies the directory DVD_Video as the operation target and specifies "recording" as the operation content. To do. The AV data recording unit 13 is selected as a component having a processing capability of the operation content “record”, and an instruction is made to create a new AV file in the operation target directory.

【0261】ファイルAV_FILE#1がフォーカス状態に設
定され、再生キーが押下されると、録画・編集・再生制御
部12はファイルAV_FILE#1を操作対象に特定し、『再
生』を操作内容に特定する。操作内容の処理能力を有す
る構成要素としてAVデータ再生部14を選んで操作対象
となるAVファイルを再生するよう指示する。ファイルAV
_FILE#1がフォーカス状態に設定され、マークキーが押
下されると、録画・編集・再生制御部12はファイルAV_F
ILE#1を操作対象に特定し、『マーク』を操作内容に特
定する。操作内容の処理能力を有する構成要素としてAV
データ編集部15を選んで、操作対象となるAVファイル
に対してマーキング処理を行うよう指示する。 (3-2-5)AVデータ録画部13 AVデータ録画部13は、MPEGエンコーダ2にエンコード
を行うよう制御すると共に、共通ファイルシステム向け
コマンド及びAVファイルシステム向けコマンドを所定の
順序に組み合わせて共通ファイルシステム部10、AVフ
ァイルシステム部11に発行して、これらに機能(1)〜
(10)の提供を行わせることにより、録画操作の実現を図
る。 (3-2-6)AVデータ再生部14 AVデータ再生部14は、デコーダ4にデコードを行うよ
う制御すると共に、共通ファイルシステム向けコマンド
及びAVファイルシステム向けコマンドを所定の順序に組
み合わせて共通ファイルシステム部10、AVファイルシ
ステム部11に発行して、これらに機能(1)〜(10)の提
供を行わせることにより、『再生』『巻戻し』『早送
り』『停止』といった操作内容の実現をはかる。 (3-2-7)AVデータ編集部15 AVデータ編集部15は、MPEGデコーダ4にデコードを行
うよう制御すると共に、共通ファイルシステム向けコマ
ンド及びAVファイルシステム向けコマンドを所定の順序
に組み合わせて共通ファイルシステム部10、AVファイ
ルシステム部11に発行して、これらに機能(1)〜(10)
の提供を行わせることにより、『マーク』『仮編集』
『本編集』といった操作内容を実現を図る。
When the file AV_FILE # 1 is set to the focus state and the playback key is pressed, the recording / editing / playback control unit 12 identifies the file AV_FILE # 1 as the operation target and “playback” as the operation content. To do. The AV data reproducing unit 14 is selected as a component having the processing capability of the operation content to instruct to reproduce the AV file to be operated. File AV
When _FILE # 1 is set to the focus state and the mark key is pressed, the recording / editing / playback control unit 12 sets the file AV_F
ILE # 1 is specified as the operation target, and "mark" is specified as the operation content. AV as a component that has the processing capability of the operation content
The data editing unit 15 is selected to instruct the AV file to be operated to perform marking processing. (3-2-5) AV data recording unit 13 The AV data recording unit 13 controls the MPEG encoder 2 to perform encoding, and combines common file system commands and AV file system commands in a predetermined order to make them common. Issuing to the file system unit 10 and the AV file system unit 11, the functions (1) to
Realize the recording operation by providing (10). (3-2-6) AV data playback unit 14 The AV data playback unit 14 controls the decoder 4 to perform decoding, and combines the common file system command and the AV file system command in a predetermined order to create a common file. Realize operation contents such as "play", "rewind", "fast forward", "stop" by issuing to the system unit 10 and the AV file system unit 11 and having them provide the functions (1) to (10). Measure (3-2-7) AV Data Editing Unit 15 The AV data editing unit 15 controls the MPEG decoder 4 to perform decoding, and combines the common file system command and the AV file system command in a predetermined order to make them common. Issuing to the file system unit 10 and the AV file system unit 11, and functions for these (1) to (10)
"Mark""provisionalediting"
Realize the operation contents such as "book editing".

【0262】具体的にAVデータ編集部15は、録画・編
集・再生制御部12により操作対象となるAVファイルに
マークを設定するよう指示されると、操作対象となるAV
ファイルをAVデータ再生部14に再生させ、マークキー
の押下が再度行われるのを監視する。再生期間中マーク
キーが押下されると、その押下された時点がAVファイル
の再生開始から何秒後であるかを示す情報をマーク点と
呼ばれる情報として非AVファイルに書き込む。
Specifically, when the recording / editing / playback control unit 12 instructs the AV data editing unit 15 to set a mark on an AV file to be operated, the AV data editing unit 15 becomes the operation target AV file.
The file is reproduced by the AV data reproducing unit 14, and it is monitored that the mark key is pressed again. When the mark key is pressed during the reproduction period, information indicating how many seconds after the start of reproduction of the AV file is pressed is written in the non-AV file as information called a mark point.

【0263】AVデータ編集部15は、録画・編集・再生制
御部12により仮編集の操作内容が指示されると、リモ
コン71に対してのキー操作に伴って、論理的な再生ル
ートを規定した情報を生成し、これを非AVファイルとし
てDVD-RAMに書き込ませるよう共通ファイルシステム部
10を制御する。録画・編集・再生制御部12により本編
集の操作内容が指示されると、AVデータ編集部15はDV
D-RAMに記録されたAVファイルのうち、セルにより指示
された範囲を別ファイルに切り出し、切り出された複数
ファイルをセルの順序で連結する。
When the recording / editing / playback control unit 12 instructs the contents of the temporary editing operation, the AV data editing unit 15 defines a logical playback route in accordance with the key operation on the remote controller 71. The common file system unit 10 is controlled to generate information and write this as a non-AV file in the DVD-RAM. When the recording / editing / playback control unit 12 instructs the operation content of the main editing, the AV data editing unit 15
Out of the AV files recorded in the D-RAM, the range designated by the cell is cut out to another file, and the cut out files are concatenated in the order of the cells.

【0264】AVデータ編集部15は、連結後のAVファイ
ルにおいて、ファイル内シームレス再生が実現されるよ
う複数ファイルの連結処理を行う。ここでファイル内シ
ームレスとは、連結後のAVファイルの再生が中断なく行
われることをいい、AVデータ編集部15はAVファイルを
構成するエクステントのうち、最後に再生されるべきエ
クステント以外のエクステントを、全てAVブロック長以
上にするという観点からエクステントの連結処理を行
う。 (3-2-7-1)AVデータ編集部15による仮編集、本編集の
処理手順 図43は、以上説明した仮編集、本編集の処理がどのよ
うな手順を経て行われるかを表したフロ−チャ−トであ
る。図44は、図43のフロ−チャ−トでのAVデータ編
集部15の処理を補足説明するための説明図である。本
フロ−チャ−ト及び図44の説明図を参照しながらAVデ
ータ編集部15による編集処理について説明する。
[0264] The AV data editing unit 15 performs a process of concatenating a plurality of files in the concatenated AV file so that seamless reproduction within the file is realized. Here, “in-file seamless” means that reproduction of an AV file after concatenation is performed without interruption, and the AV data editing unit 15 selects extents other than the extent to be reproduced last among the extents forming the AV file. , The extent concatenation processing is performed from the viewpoint of making all AV block lengths or more. (3-2-7-1) Temporary Editing and Main Editing Process Procedure by AV Data Editing Unit 15 FIG. 43 shows how the temporary editing and main editing processes described above are performed. It is a flow chart. FIG. 44 is an explanatory diagram for supplementarily explaining the processing of the AV data editing unit 15 in the flowchart of FIG. The editing process by the AV data editing unit 15 will be described with reference to this flowchart and the explanatory diagram of FIG.

【0265】図44(a)に示すAVファイルが既にDVD-
RAM上に記録されており、このAVファイルを操作対象に
指定して、操作者がリモコン71上の再生キーを押下し
たとする。この押下が録画・編集・再生制御部12により
検出されて、再生操作が指示されると、AVデータ編集部
15は、ステップS1においてAVデータ再生部14にAV
ファイルの再生を開始させる。再生開始後、図44
(b)に示す時刻t1まで再生が進行して時点で、操作者
がマークキーを再度押下したものとする。そうすると、
その時刻t1という相対タイムコードを示すマーク点#1を
AVファイルに設定する。同様に時刻t2,t3,t4・・・・・t8が
経過した時点で操作者がマークキーを計七回押下したも
のとする。そうすると、図44(b)に示すようにそれ
ら時刻t2,t3,t4,t5・・・・t8という相対タイムコードを示
すマーク点#2,#3,#4,#5・・・・#8が設定される。
The AV file shown in FIG. 44 (a) is already a DVD-
It is assumed that the AV file recorded in the RAM is designated as the operation target and the operator presses the reproduction key on the remote controller 71. When this pressing is detected by the recording / editing / playback control unit 12 and a playback operation is instructed, the AV data editing unit 15 causes the AV data playback unit 14 to perform AV playback in step S1.
Start playing the file. Figure 44
It is assumed that the operator depresses the mark key again at the time when the reproduction has proceeded to the time t1 shown in (b). Then,
Mark point # 1 indicating the relative time code of time t1
Set to AV file. Similarly, it is assumed that the operator depresses the mark key seven times in total when the times t2, t3, t4 ... T8 have passed. Then, as shown in FIG. 44 (b), mark points # 2, # 3, # 4, # 5, ... # 8 indicating relative time codes of the times t2, t3, t4, t5 ... Is set.

【0266】ステップS1の実行後、ステップS2に移
行し、AVデータ編集部15は、操作者にマーク点の一組
を指定させ、その一組みの指定に従って、AVファイル内
の再生させたいセルを複数決定する。図44(c)にお
いて操作者がMark#1、Mark#2の一組(1)を指定し、同様
にMark#3、Mark#4の一組(2)、Mark#5、Mark#6の一組
(3)、Mark#7、Mark#8の一組(4)を指定したものとする。
After the execution of step S1, the process moves to step S2, and the AV data editing section 15 causes the operator to designate a set of mark points, and according to the designation of the set, the cells to be reproduced in the AV file are selected. Make multiple decisions. In FIG. 44 (c), the operator designates a pair (1) of Mark # 1 and Mark # 2, and similarly, a pair (2) of Mark # 3 and Mark # 4, Mark # 5 and Mark # 6. One set
(3), Mark # 7 and Mark # 8 (4) are specified.

【0267】そうすると、AVデータ編集部15はこれら
のマーク点の一組を一個のセルとして設定して、Cell#
1,Cell#2,Cell#3,Cell#4という四つのセルを設定する
(尚、Mark#2−Mark#3の一組、Mark#4−Mark#5の一組を
セルとして指定することも可能であり、このように指定
すれば、Mark#2−Mark#3が一組、Mark#4−Mark#5の一組
がそれぞれ一個のセルとして設定される。)。
Then, the AV data editing unit 15 sets one set of these mark points as one cell, and sets Cell #
Set four cells of 1, Cell # 2, Cell # 3, Cell # 4 (Note that one set of Mark # 2-Mark # 3 and one set of Mark # 4-Mark # 5 should be designated as cells. It is also possible, and if specified in this way, one set of Mark # 2-Mark # 3 and one set of Mark # 4-Mark # 5 are respectively set as one cell.)

【0268】続いてステップS3においてAVデータ編集
部15は、それぞれのセルに再生順位を付与することに
よりプログラムチェーンを作成する。図44(d)にお
いて既に設定されている四つのCell#1,Cell#2,Cell#3,C
ell#4のうち、Cell#1に第1番目の再生順位を付与し(図
中の1st)、Cell#2に第2番目の再生順位を付与したもの
とする(図中の2nd)。同様に,Cell#3,Cell#4に第3、
第4番目の再生順位を付与したものとする(図中の3rd,
4th)。そうすると、AVデータ編集部15はこのように
設定された再生順位に従って、複数セルをプログラムチ
ェーンとして解釈する(尚、図44は最も単純な一例を
示したまでであり、セル#3、セル#1、セル#2という順序
を指定することも可能である。)。
Subsequently, in step S3, the AV data editing unit 15 creates a program chain by giving a reproduction order to each cell. Four Cell # 1, Cell # 2, Cell # 3, C already set in FIG. 44 (d)
Among ell # 4, it is assumed that Cell # 1 is given the first playback order (1st in the figure) and Cell # 2 is given the second playback order (2nd in the figure). Similarly, in Cell # 3, Cell # 4, the third,
It is assumed that the fourth playback order is given (3rd in the figure,
4th). Then, the AV data editing unit 15 interprets a plurality of cells as a program chain according to the playback order set in this way (note that FIG. 44 shows the simplest example, cell # 3, cell # 1). , It is also possible to specify the order of cell # 2.).

【0269】ステップS6においてAVデータ編集部15
は操作者によりプログラムチェーンに対しての再生の指
示が行われたかを監視し、ステップS5において操作者
によりプログラムチェーンに対しての本編集の指示が行
われたかを監視する。再生の指示が行われると、AVデー
タ編集部15は再生が指示されたプログラムチェーンを
再生するようAVデータ再生部14に指示する。
In step S6, the AV data editing section 15
Monitors whether the operator has instructed the program chain to perform reproduction, and in step S5 monitors whether the operator has instructed the program chain to perform main editing. When the reproduction instruction is given, the AV data editing unit 15 instructs the AV data reproducing unit 14 to reproduce the program chain for which the reproduction is instructed.

【0270】指示されたAVデータ再生部14は先ず、図
44(e)に示すようにセル#1の再生開始点となるMark
#1へと光ピックアップをシークさせる旨のSEEKコマンド
をAVデータ編集部15は発行する。SEEKコマンドの発行
によりAVファイルのMark#1に光ピックアップが移動する
と、Mark#1からMark#2の範囲を読み出させるよう、「RE
AD」コマンドを共通ファイルシステム部10に発行す
る。これによりセル#1のVOBUがDVD-RAMから読み出さ
れ、読み出されたVOBUが順次デコーダ4により復号され
てテレビ受像機72に映像が表示される。VOBUの再生が
Mark#2まで行われると、同様の処理を残りのセルに対し
て行う。そうすると、セル#1,#2,#3,#4として指定され
た範囲のみが再生されることになる。
[0270] The instructed AV data reproducing unit 14 first sets the Mark as the reproduction starting point of the cell # 1 as shown in Fig. 44 (e).
The AV data editing unit 15 issues a SEEK command for seeking the optical pickup to # 1. When the optical pickup moves to Mark # 1 of the AV file by issuing the SEEK command, read the range of Mark # 1 to Mark # 2.
The "AD" command is issued to the common file system unit 10. As a result, the VOBU of cell # 1 is read from the DVD-RAM, the read VOBU is sequentially decoded by the decoder 4, and the video is displayed on the television receiver 72. VOBU playback
When Mark # 2 is performed, the same processing is performed on the remaining cells. Then, only the range designated as cells # 1, # 2, # 3, and # 4 will be played.

【0271】ここで図44(a)のAVファイルは、テレ
ビ放映された映画であるものとする。また図44(f)
に示すようにAVファイルの各時間帯の映像内容は時刻t0
から時刻t1までの期間は、映画の登場人物名、監督名を
表示したクレジットシーンV1であり、時刻t1から時刻t2
までの期間は、映画本編の第1の見せ場シーンV2、時刻
t2から時刻t3までの期間は、テレビ放送であるが故に挿
入されたコマーシャルシーンV3、時刻t3から時刻t4まで
の期間は、映画本編の第2の見せ場シーンV4、時刻t5か
ら時刻t6までの期間は、映画本編の第3の見せ場シーン
V5であるものとする。
Here, it is assumed that the AV file in FIG. 44 (a) is a movie televised on television. Also, FIG. 44 (f)
As shown in, the video content of each time zone of the AV file is the time t0.
The period from the time t1 to the time t1 is the credit scene V1 displaying the character names and director names of the movie, and the time t1 to the time t2.
Until the first showcase scene V2 of the main part of the movie, time
The period from t2 to time t3 is the commercial scene V3 inserted because it is a television broadcast, the period from time t3 to time t4 is the second showcase scene V4 of the movie main part, and the period from time t5 to time t6 Is the third showcase scene in the main movie
Assume that it is V5.

【0272】これらの時刻t1,t2,t3,t4,t5,t6はMark#
1、Mark#2、Mark#3、Mark#4、Mark#5、Mark#6が設定さ
れており、またマーク点の一組はセルとして指定され、
プログラムチェーンとしての表示順序が設定されてい
る。故に、図44(e)のように読み出しが行われる
と、クレジットシーンV1は再生されずにスキップされ、
時刻t1から時刻t2まで見せ場シーンV2の再生が行われ
る。続いてコマーシャルシーンV3は再生されずにスキッ
プされ、時刻t3から時刻t4までの見せ場シーンV4の再生
が行われる。
Mark times at these times t1, t2, t3, t4, t5, t6 are Mark #
1, Mark # 2, Mark # 3, Mark # 4, Mark # 5, Mark # 6 are set, and one set of mark points is designated as a cell,
The display order as a program chain is set. Therefore, when reading is performed as shown in FIG. 44 (e), the credit scene V1 is skipped without being reproduced.
The highlight scene V2 is reproduced from time t1 to time t2. Subsequently, the commercial scene V3 is skipped without being played back, and the show-scene V4 from time t3 to time t4 is played back.

【0273】続いて、操作者により本編集が指示された
場合の処理について図45、図46の説明図を参照しな
がら説明する。図45及び図46は、図43のフロ−チ
ャ−トでのAVデータ編集部15の処理を補足説明するた
めの説明図である。本説明図は、図43のフロ−チャ−
トで用いられている各変数mx,Afが、AVファイルのどの
箇所を指示しているかを表記している。本フロ−チャ−
トを参照しながら本編集の処理手順を説明する。
Next, the processing in the case where the operator gives an instruction for main editing will be described with reference to the explanatory views of FIGS. 45 and 46. 45 and 46 are explanatory views for supplementarily explaining the processing of the AV data editing unit 15 in the flowchart of FIG. This explanatory diagram is the flowchart of FIG.
The variables mx and Af used in the table indicate which part of the AV file is designated. This flow
The procedure of the main editing will be described with reference to FIG.

【0274】先ずステップS8においてAVデータ編集部
15は、仮編集により規定されたプログラムチェーンに
従ってAVファイルから切り出すべき範囲を2つ以上決定
する。図45(a)の『編集元AVファイル』には、Mark
#1,#2,#3・・・・#8というマーク点が付与されている。AVフ
ァイルに対して設定されたセルはMark#1,#2,#3・・・・#8の
一組みにより特定されるので、AVデータ編集部15はこ
れらマーク点の一組を、編集開始点、編集終了点として
解釈する。即ち、Mark#1,#2の一組が編集開始点In点
(1)、編集終了点Out点(1)として解釈され、Mark#3,#4の
一組が編集開始点In点(2)、編集終了点Out点(2)として
解釈される。Mark#5,#6の一組、Mark#7,#8の一組は、そ
れぞれ編集開始点In点(3)、編集終了点Out点(3)、編集
開始点In点(4)、編集終了点Out点(4)として解釈され
る。
First, in step S8, the AV data editing unit 15 determines two or more ranges to be cut out from the AV file according to the program chain defined by the temporary editing. The “Edit source AV file” in FIG.
Mark points # 1, # 2, # 3, ... # 8 are added. The cells set for the AV file are specified by a set of Mark # 1, # 2, # 3, ... # 8, so the AV data editing unit 15 starts editing a set of these mark points. Interpret as a point or an edit end point. That is, one set of Mark # 1 and # 2 is the editing start point In point
(1), the edit end point Out point (1) is interpreted, and a pair of Marks # 3 and # 4 is interpreted as the edit start point In point (2) and the edit end point Out point (2). Mark # 5, # 6 pair, Mark # 7, # 8 pair, edit start point In point (3), edit end point Out point (3), edit start point In point (4), edit End point Interpreted as Out point (4).

【0275】ここでMark#1からMark#2までの期間は、図
44(f)に示した時刻t1から時刻t2までの映画本編の
第1の見せ場シーンV2に対応する。またMark#3からMark
#4までの期間は、図44(f)に示した時刻t3から時刻
t4までの映画本編の第2の見せ場シーンV4に対応し、Ma
rk#5からMark#6までの期間は、図44(f)に示した時
刻t5から時刻t6までの映画本編の第3の見せ場シーンV5
に対応するので、以降の本編集の処理によって、操作者
は見せ場シーンV2,V4,V5のみからなるAVファイルを得よ
うとしているのである。
Here, the period from Mark # 1 to Mark # 2 corresponds to the first showcase scene V2 of the main part of the movie from time t1 to time t2 shown in FIG. 44 (f). Also from Mark # 3 to Mark
The period up to # 4 is from time t3 to time shown in Fig. 44 (f).
Corresponds to the second showcase scene V4 of the main movie until t4, Ma
The period from rk # 5 to Mark # 6 is the third showcase scene V5 of the main movie from time t5 to time t6 shown in FIG. 44 (f).
Therefore, the operator intends to obtain an AV file consisting of only the show scenes V2, V4, and V5 by the subsequent main editing process.

【0276】次にステップS9においてAVデータ編集部
15は、決定された切出範囲を、mx本(mxは2以上の整
数)のAVファイルに切り出させるSPLITコマンドをAVファ
イルシステム部11に発行する。図45(a)に示した
編集開始点−編集終了点の一組にて特定される閉区間を
切り出し範囲として解釈してAVデータ編集部15は、図
45(b)に示すように4本のAVファイルを切り出す。
[0276] Next, in step S9, the AV data editing unit 15 issues to the AV file system unit 11 a SPLIT command for cutting out the determined cut-out range into mx (mx is an integer of 2 or more) AV files. . The AV data editing unit 15 interprets the closed section specified by the pair of the edit start point and the edit end point shown in FIG. Cut out the AV file of.

【0277】以降、切り出されたmx本のAVファイルのそ
れぞれをAVファイルAf1,Af2,Af3,Af4・・・・・・・Afmと呼
び、本フローチャートでは、これらを変数"Af"にて指示
するものとする。ステップS10では、変数Afを1に設
定することにより変数Afの初期化を行い、ステップS1
1では、プログラムチェーンにおいてAVファイルAfの終
端部に位置するVOBU(以下終端部という)と、AVファイ
ルAf+1の先端部に位置するVOBU(以下先端部という)と
を対象としたREADコマンドをAVファイルシステム部11
に発行する。発行後、ステップS12では、第2実施形
態に示した手順を用いて、読み出された終端部,先端部
を再エンコードさせる。
Hereinafter, each of the cut-out mx AV files is referred to as an AV file Af1, Af2, Af3, Af4 ... Afm, and in the present flowchart, these are designated by the variable "Af". I shall. In step S10, the variable Af is initialized by setting the variable Af to 1, and step S1
In 1, the READ command for the VOBU located at the end of the AV file Af in the program chain (hereinafter referred to as the end) and the VOBU located at the tip of the AV file Af + 1 (hereinafter referred to as the tip) is executed. AV file system section 11
To publish. After issuance, in step S12, the read end portion and tip portion are re-encoded using the procedure shown in the second embodiment.

【0278】再エンコードが行われると、AVファイルA
f,Af+1の終端部,先端部を対象としたSHORTENコマンドを
ファイルシステムに発行する。図45(c)においてAV
ファイルAf1の終端部と、AVファイルAf2の先端部とが
「READ」コマンドにより読み出され、その終端部と先端
部とが再エンコードされる。この再エンコードによりDV
Dレコーダー70のメモリ上にはこれらの一組を再エン
コードして得られた再エンコードデータが蓄積された状
態となる。ステップS13において「SHORTEN」コマン
ドを発行することにより、この先端部及び終端部が元々
占めていた領域を削除する。
When re-encoding is performed, AV file A
Issue the SHORTEN command to the file system for the end and top of f and Af + 1. In FIG. 45 (c), AV
The end of the file Af1 and the end of the AV file Af2 are read by the "READ" command, and the end and the end are re-encoded. This re-encoding causes DV
The re-encoded data obtained by re-encoding these one set is stored in the memory of the D recorder 70. By issuing the "SHORTEN" command in step S13, the areas originally occupied by the leading end and the trailing end are deleted.

【0279】ここで上記のように削除を行った場合、留
意せねばならないのは以下に示す2つのケースが発生し
てしまうことである。第1のケースとは、再エンコード
すべき部分が取り除かれたAVファイルAfのエクステント
と、AVファイルAf+1のエクステントの何れもがAVブロッ
ク長以上の連続長を有していれば良いが、その一方側の
連続長がAVブロックのデータサイズ未満になってしまう
場合である。AVブロックの長さはアンダーフローの発生
を回避し得る長さに定めらているから連続長がAVブロッ
ク長に満たないままAVファイルAf、AVファイルAf+1の再
生が指示されれば、トラックバッファがアンダーフロー
してしまう。
When the deletion is performed as described above, it should be noted that the following two cases occur. The first case is that both the extent of the AV file Af from which the portion to be re-encoded has been removed and the extent of the AV file Af + 1 have a continuous length equal to or longer than the AV block length. This is the case where the continuous length on one side is less than the data size of the AV block. The length of the AV block is set to a length that avoids the occurrence of underflow, so if playback of the AV file Af or AV file Af + 1 is instructed while the continuous length is less than the AV block length, the track The buffer underflows.

【0280】第2のケースとは、再エンコードされてメ
モリに格納されているデータ(メモリ内データ)のデー
タサイズがAVブロックのデータサイズに満たない場合で
ある。即ち、メモリ内データのデータサイズが大きく、
DVD-RAMに記録した際にメモリ内データが一AVブロック
以上の領域を占める場合は、AVファイルAf、AVファイル
Af+1から隔てられた、孤立した位置にメモリ内データを
記録してもよい。しかしメモリ内データのデータサイズ
がAVブロックのデータサイズに満たない場合は、AVファ
イルAf、AVファイルAf+1から隔てられた、孤立した位置
にメモリ内データを記録することはできない。
The second case is a case where the data size of the data (in-memory data) re-encoded and stored in the memory is less than the data size of the AV block. That is, the data size of the data in the memory is large,
If the data in memory occupies more than one AV block when recorded on DVD-RAM, AV file Af, AV file
The in-memory data may be recorded in an isolated position separated from Af + 1. However, if the data size of the in-memory data is smaller than the data size of the AV block, the in-memory data cannot be recorded in an isolated position separated from the AV file Af and AV file Af + 1.

【0281】何故なら、孤立した位置にメモリ内データ
を記録したとすると、メモリ内データのデータサイズが
小さいのでメモリ内データを再生しようとしてトラック
バッファに読み出した際にトラックバッファに充分な蓄
積量を得ることができず、メモリ内データからAVファイ
ルAf+1へのジャンプに長時間を要すると、そのジャンプ
の間にトラックバッファのアンダーフローが発生してし
まうからである。
Because if the data in the memory is recorded in an isolated position, the data size of the data in the memory is small, and therefore when the data in the memory is read out to the track buffer and a sufficient amount of storage is made in the track buffer. This is because if it cannot be obtained and it takes a long time to jump from the in-memory data to the AV file Af + 1, underflow of the track buffer occurs during the jump.

【0282】図45(d)においてAVファイルAf1,Af2
は、破線で表現しているように先端部及び終端部が削除
されている。この際、AVファイルAf1の連続長は、AVブ
ロック長に満たないことがわかる。同様に再エンコード
されたメモリ内データのデータサイズも、AVブロックの
データサイズに満たないことがわかる。このAVファイル
Af1を短い状態に放置すれば、このAVファイルAf1を再生
してAVファイルAf2へとジャンプする際、アンダーフロ
ーが発生する恐れがある。アンダーフローの発生を避け
るため、ステップS14においてAVファイルAfと、AVフ
ァイルAf+1とを対象としたMERGEコマンドをファイルシ
ステムに発行する。そうすると、図45(e)及び図4
6(a)に示すようにAVファイルAf1と、再エンコード
されたVOBUとが連結され、AVファイルAfを構成する全エ
クステントの記録領域の連続長はAVブロック長以上とな
る。「MERGE」コマンドの発行後、ステップS15にお
いて変数AfとAVファイル数mx-1との一致判定を行い、不
一致ならステップS16において変数Afをインクリメン
トしてステップS11に移行する。これによりステップ
S11〜ステップS14の手順が繰り返し行われること
になる。
In FIG. 45 (d), AV files Af1 and Af2
, The leading end and the trailing end are deleted as represented by the broken line. At this time, it is found that the continuous length of the AV file Af1 is less than the AV block length. Similarly, it can be seen that the data size of the re-encoded data in memory is less than the data size of the AV block. This AV file
If Af1 is left in a short state, underflow may occur when the AV file Af1 is played back and jumped to the AV file Af2. In order to avoid the occurrence of underflow, a MERGE command for the AV file Af and the AV file Af + 1 is issued to the file system in step S14. Then, FIG. 45 (e) and FIG.
As shown in 6 (a), the AV file Af1 and the re-encoded VOBU are linked, and the continuous length of the recording areas of all the extents forming the AV file Af is equal to or longer than the AV block length. After issuing the "MERGE" command, it is determined in step S15 whether the variable Af and the number of AV files mx-1 match. If they do not match, the variable Af is incremented in step S16 and the process proceeds to step S11. As a result, the procedure of steps S11 to S14 is repeated.

【0283】変数Afがインクリメントされて2になる
と、連結後のAVファイルAf2の終端部と、AVファイルAf3
の先端部とが「READ」コマンドにより読み出され(図4
6(b)参照)、その終端部と先端部とが再エンコード
されると、DVDレコーダー70のメモリ上にはこれらの
一組を再エンコードして得られた再エンコードデータが
蓄積された状態となる。この先端部及び終端部が元々占
めていた領域はステップS13により「SHORTEN」コマ
ンドの発行により削除されることになるが(図46
(c)参照)、この際、AVファイルAf3は、AVブロック
長に満たない連続長となる。このAVファイルAf3もアン
ダーフローが発生する恐れがあるので、AVデータ編集部
15はAVファイルAf2,Af3を対象としたMERGEコマンドを
再度ファイルシステムに発行する(図46(d)、
(e)参照)。以上の処理は変数Afがmx-1となるまで繰
り返される。
When the variable Af is incremented to 2, the end portion of the concatenated AV file Af2 and the AV file Af3
The tip of the is read by the "READ" command (Fig. 4
6 (b)), when the trailing end and the leading end are re-encoded, the re-encoded data obtained by re-encoding one set of these is stored in the memory of the DVD recorder 70. Become. The area originally occupied by the leading end and the trailing end is deleted by issuing the "SHORTEN" command in step S13 (FIG. 46).
(See (c)) At this time, the AV file Af3 has a continuous length that is less than the AV block length. Since the AV file Af3 may also underflow, the AV data editing unit 15 issues the MERGE command for the AV files Af2 and Af3 to the file system again (FIG. 46 (d),
(See (e)). The above process is repeated until the variable Af becomes mx-1.

【0284】以上の処理より、記録領域上のエクステン
トは全て見せ場シーンV2,V4,V5のみとなる。またこれら
のエクステントは全てAVブロック長以上の連続長を有す
るので、その再生時において映像表示の中断が生じない
ことが保証される。ここでMark#1からMark#2までの期間
は、見せ場シーンV2に対応する。またMark#3からMark#4
までの期間は、第2の見せ場シーンV4に対応し、Mark#5
からMark#6までの期間は、第3の見せ場シーンV5に対応
するので、以降の本編集の処理によって、操作者は見せ
場シーンV2,V4,V5のみからなるAVファイルが得られたの
である。
As a result of the above processing, the extents on the recording area are all the show scenes V2, V4, V5. Further, since all of these extents have a continuous length equal to or longer than the AV block length, it is guaranteed that the video display will not be interrupted during the reproduction. Here, the period from Mark # 1 to Mark # 2 corresponds to the show scene V2. See also Mark # 3 to Mark # 4
Up to the second showcase scene V4, Mark # 5
Since the period from to Mark # 6 corresponds to the third show scene V5, the operator obtains an AV file including only the show scenes V2, V4, and V5 by the process of the main editing thereafter.

【0285】(3-2-7-1-2)SPLITコマンド発行時における
AVファイルシステム部11の処理 「SPLIT」の発行にて拡張機能を提供する際にAVファイ
ルシステム部11の処理を詳細に説明する。図48
(a)は、「SPLIT」コマンドの発行にて機能を提供す
る際のAVファイルシステム部11の処理手順を示すフロ
−チャ−トである。以降、本フロ−チャ−トにおいて一
個のAVファイルに設定されたmx個の編集開始点(In
点)、編集終了点(Out点)のそれぞれを変数hにて指示
するものとする。ステップS22では、先ず1個目のIn
点、Out点を指示するべく、変数hに1を代入する。
(3-2-7-1-2) When issuing the SPLIT command
The process of the AV file system unit 11 will be described in detail when the extended function is provided by issuing the process “SPLIT”. FIG. 48
(A) is a flowchart showing a processing procedure of the AV file system unit 11 when a function is provided by issuing a "SPLIT" command. After that, in this flowchart, mx editing start points (In
Point) and the edit end point (Out point) are designated by the variable h. In step S22, first the first In
Assign 1 to the variable h to indicate the point and the Out point.

【0286】ステップS31においてファイルエントリ
(h)を生成し、ステップS32においてAVファイルシス
テム部11は、テンポラリィディレクトリのディレクト
リファイルにファイルエントリ(h)についてのファイル
識別記述子(h)を追加する。ステップS33では、In点
(h)に対応する論理ブロックからOut点(h)に対応する論
理ブロックまでを占めているu本の論理ブロック列の先
頭アドレスs及び占有ブロック数rを算出する(u≧1)。ス
テップS34においてファイルエントリィ(h)内にu本の
アロケーション記述子を生成する。ステップS35で
は、u本のアロケーション記述子のそれぞれにu本の論理
ブロック列の先頭アドレスs及び占有ブロック数rを登録
し、ステップS35では、変数hがmx-1に達したかを判
定する。達してなければ変数hをインクリメントしてス
テップS31に移行する。このように変数hがmx-1にな
るまでステップS31〜ステップS35の手順は繰り返
され、mx-1個のIn点、Out点の組みにより特定される閉
区間がそれぞれmx-1個の独立したAVファイルとして切り
出される。 (3-2-7-1-3)SHORTENコマンド発行時におけるAVファイル
システム部11の処理 次に「SHORTEN」の発行にて拡張機能を提供する際のAV
ファイルシステム部11の処理を詳細に説明する。図4
8(b)は、SHORTENコマンドの発行時の処理内容を示
すフローチャートである。
File entry in step S31
(h) is generated, and in step S32, the AV file system unit 11 adds the file identification descriptor (h) for the file entry (h) to the directory file in the temporary directory. In step S33, the In point
The start address s and the occupied block number r of the u logical block sequence occupying from the logical block corresponding to (h) to the logical block corresponding to the Out point (h) are calculated (u ≧ 1). In step S34, u allocation descriptors are generated in the file entry (h). In step S35, the start address s and occupied block number r of the u logical block string are registered in each of the u allocation descriptors, and in step S35, it is determined whether the variable h has reached mx-1. If not, the variable h is incremented and the process proceeds to step S31. In this way, the procedure of steps S31 to S35 is repeated until the variable h becomes mx-1, and the closed section specified by the set of mx-1 In points and Out points is mx-1 independent. It is cut out as an AV file. (3-2-7-1-3) Processing of AV file system unit 11 when the SHORTEN command is issued Next, when the extended function is provided by issuing "SHORTEN"
The processing of the file system unit 11 will be described in detail. Figure 4
8B is a flowchart showing the processing contents when the SHORTEN command is issued.

【0287】ステップS38においてAVファイルシステ
ム部11は削除範囲を特定する削除開始アドレスから削
除終了アドレスまでを占めている論理ブロック列の先頭
アドレスc及び占有ブロック数dを算出する。ステップS
45では、先端部或は終端部を削除すべきAVファイルの
アロケーション記述子をアクセスする。ステップS46
において削除範囲はエクステントの先端部であるか否か
を判定する。先端部であればステップS46がYesとな
ってステップS47に移行して、ステップS47におい
てアロケーション記述子におけるエクステントの記録開
始アドレスpを記録開始アドレスp+c×dに更新する。更
新後、ステップS48においてアロケーション記述子に
おける占有ブロック数qをエクステントのデータサイズq
をデータサイズq-c×dに更新する。尚終端部であればス
テップS46においてステップS48に直接移行して、
アロケーション記述子における占有ブロック数qをエク
ステントのデータサイズqをデータサイズq-c×dに更新
する。
At step S38, the AV file system unit 11 calculates the head address c and the occupied block number d of the logical block sequence occupying from the deletion start address to the deletion end address for specifying the deletion range. Step S
At 45, the allocation descriptor of the AV file whose head or tail is to be deleted is accessed. Step S46
In, it is determined whether the deletion range is the tip of the extent. If it is the leading end, step S46 becomes Yes and the process moves to step S47, and the recording start address p of the extent in the allocation descriptor is updated to the recording start address p + cxd in step S47. After updating, the occupied block number q in the allocation descriptor is set to the extent data size q in step S48.
To the data size qc × d. If it is the end portion, the process directly goes to step S48 in step S46,
The occupied block number q in the allocation descriptor is updated to the extent data size q to the data size qc × d.

【0288】(3-2-7-1-4)MERGEコマンド発行時における
AVファイルシステム部11の処理 次に「MERGE」コマンド発行時にて拡張機能を提供する
際のAVファイルシステム部11の処理内容を詳細に説明
する。以降の説明は、図45、図46に示した処理のう
ち、一点鎖線y3,y4で指示した範囲の処理がどのような
手順に基づいて行われたかを明確にするものである。
(3-2-7-1-4) When issuing the MERGE command
Processing of AV File System Section 11 Next, the processing content of the AV file system section 11 when providing an extended function when the "MERGE" command is issued will be described in detail. In the following description, of the processes shown in FIGS. 45 and 46, the procedure for performing the process in the range indicated by the alternate long and short dash lines y3 and y4 will be clarified.

【0289】MERGEコマンドの遂行時においてAVファイ
ルシステム部11は、『SPLIT』コマンドにより切り出
され『SHORTEN』コマンドにより端部が削除された二つ
のAVファイルAf,Af+1と、DVDレコーダ70により再エン
コードがなされたためにDVDレコーダ70内のメモリ上
に配置されている再エンコード済みデータ(メモリ内デ
ータ)とをAVファイルAf、メモリ上のデータ、AVファイ
ルAf+1の順にシームレス再生させるよう、DVD-RAM上に
配置する。
During execution of the MERGE command, the AV file system unit 11 reproduces two AV files Af and Af + 1 which are cut out by the “SPLIT” command and whose ends are deleted by the “SHORTEN” command, and the DVD recorder 70. The re-encoded data (in-memory data) that has been placed on the memory in the DVD recorder 70 because it has been encoded is played back seamlessly in order of the AV file Af, the data on the memory, and the AV file Af + 1. -Place on RAM.

【0290】図47(a)は、「MERGE」コマンドの発
行にて拡張機能を提供する際にAVファイルシステム部1
1の処理の対象物の一例を示す図である。図47(a)
においてAVファイルAf及びAVファイルAf+1は、「SPLI
T」コマンドによって切り出されたAVファイルである。
ここで仮編集によってAVファイルAf、メモリ内データ、
AVファイルAf+1の順で映像音響データが再生されるよう
再生ルートが規定されているものとする。図47(a)
は、AVファイルAf、AVファイルAf+1に収録されている映
像音響データに対して設定された再生ルートの一例を示
す図である。本図において横軸は時間軸を意味し、この
横軸に沿って表示順序を解釈すると、本図における再生
ルートは、AVファイルAf、メモリ内データ、AVファイル
Af+1の順に決定されていることがわかる。
[0290] FIG. 47A shows the AV file system unit 1 when the extended function is provided by issuing the "MERGE" command.
It is a figure which shows an example of the target object of the process of 1. Fig. 47 (a)
In AV file Af and AV file Af + 1, "SPLI
It is an AV file cut out by the "T" command.
Here, by temporary editing, AV file Af, in-memory data,
It is assumed that the reproduction route is defined so that the audiovisual data is reproduced in the order of the AV file Af + 1. Fig. 47 (a)
FIG. 6 is a diagram showing an example of a reproduction route set for the audiovisual data recorded in the AV file Af and AV file Af + 1. In this figure, the horizontal axis means the time axis, and when interpreting the display order along this horizontal axis, the playback route in this figure is AV file Af, in-memory data, AV file
It can be seen that they are decided in the order of Af + 1.

【0291】AVファイルAfのうち、その先頭からデータ
サイズmまでの範囲はDVD-RAMにおいて連続した領域に記
録されており、先行エクステントに相当するものとす
る。AVブロックのうち、その末尾からデータサイズnま
での範囲もDVD-RAMにおいて連続した領域に記録されて
おり後続エクステントに相当するものとする。ここで
「SPLIT」コマンドにより、任意の区間の映像音響デー
タが切り出されてAVファイルAf、AVファイルAf+1が得ら
れたとすると、ファイルシステムは空き領域と管理して
いるものの、実際の論理ブロックには元のAVファイルの
内容が記録されたまま放置されている筈である。また、
上記の操作者による再生ルートの設定は、『切り出され
たAVファイルがDVD-RAM上のどのAVブロックに記録され
ているか』を全く考慮せず設定されることを前提にして
いるため、上記先行エクステントと後続エクステントと
がDVD-RAMにおいてどのような位置関係にあるかは一義
的には特定し得ない。また再生ルートがAVファイルAf、
AVファイルAf+1の順に指定されていても、先行エクステ
ント、後続エクステントの間には、当該再生ルートとは
全く無関係な映像音響データが存在している可能性も否
めない。
In the AV file Af, the range from the beginning to the data size m is recorded in a continuous area in the DVD-RAM and corresponds to the preceding extent. In the AV block, the range from the end to the data size n is also recorded in a continuous area in the DVD-RAM and corresponds to the subsequent extent. Here, if the AV audio file Af and AV file Af + 1 are obtained by cutting out the audiovisual data of an arbitrary section by the "SPLIT" command, the file system manages the free space, but the actual logical block The contents of the original AV file should have been left untouched. Also,
The playback route setting by the operator above is based on the premise that it is set without considering "which AV block on the DVD-RAM the clipped AV file is recorded on". The positional relationship between the extent and the succeeding extent in the DVD-RAM cannot be uniquely specified. Also, the playback route is AV file Af,
Even if the AV files Af + 1 are designated in this order, it is undeniable that there may be audiovisual data that is completely unrelated to the playback route between the preceding extent and the succeeding extent.

【0292】以上のことに留意すれば、「SPLIT」コマ
ンドにより切り出されたAVファイルを連結するにあたっ
ては、先行エクステント及び後続エクステントはDVD-RA
Mにおいて連続した位置に記録されていると想定するの
ではなく、先行エクステント及び後続エクステントはDV
D-RAMにおいて全然関係の無い位置に記録されているも
のと想定すべきである。
With the above in mind, when concatenating AV files cut out by the "SPLIT" command, the leading extent and the trailing extent are the DVD-RA.
The preceding extent and succeeding extents are DV instead of assuming that they are recorded at consecutive positions in M.
It should be assumed that it is recorded in a completely unrelated position in D-RAM.

【0293】また、先行エクステント及び後続エクステ
ントの記録領域の間には、AVファイルAf、AVファイルAf
+1を指定した再生ルートとは、全く関係のない他ファイ
ルのエクステントが少なくとも1つ以上存在記録されて
いるものと想定すべきである(本実施形態においては、
これらの先行エクステント及び後続エクステントは同一
のゾーン領域内に存在しているものとする。)。図47
(b)は、以上のことに留意して先行エクステント及び
後続エクステントがDVD-RAMにおいてどのような位置関
係にあるかを想定した記録イメージ図である。
Further, between the recording areas of the preceding extent and the succeeding extent, the AV file Af and the AV file Af
It should be assumed that at least one extent of another file that is completely unrelated to the reproduction route that specifies +1 exists and is recorded (in the present embodiment,
It is assumed that these preceding extent and succeeding extent are present in the same zone area. ). FIG. 47
(B) is a recording image diagram in which it is assumed what kind of positional relationship the preceding extent and the following extent have in the DVD-RAM in consideration of the above.

【0294】ここで先行エクステントを含むAVファイル
Afは「SPLIT」コマンドの遂行により切り出されたもの
であるから、先行エクステントの後方には空き領域が存
在している(このように先行エクステントの後方に存在
する空き領域であって、先行エクステントと同一のゾー
ン領域内に存在するものをOut領域という)。上述した
ように、実際このOut領域には、物理的には、切り出し
前のAVファイルに収録された映像音響データが記録され
ているのであるが、「SPLIT」コマンドが既に発行され
ているのでAVファイルシステム部11により空き領域と
取り扱われている。
[0294] Here, an AV file including the preceding extent
Since Af was cut out by executing the "SPLIT" command, there is a free area behind the preceding extent (in this way, there is a free area behind the preceding extent, Those existing in the same zone area are called Out areas). As described above, the audio and audio data recorded in the AV file before being cut out is actually recorded in this Out area, but since the “SPLIT” command has already been issued, the AV It is treated as a free area by the file system unit 11.

【0295】また、後続エクステントを含むAVブロック
は「SPLIT」コマンドの遂行により切り出されたもので
あるから、後続エクステントの前方にも空き領域が存在
している(このように後続エクステントの前方に存在す
る空き領域であって、後続エクステントと同一のゾーン
領域内に存在するものをIn領域という。)。In領域にも
実際は物理的には、切り出し前のAVファイルに収録され
た映像音響データが記録されているのであるが、「SPLI
T」コマンドが実行済みなので外部からは空き領域と取
り扱われている。
Since the AV block including the subsequent extent is cut out by executing the "SPLIT" command, there is a free area in front of the subsequent extent (in this way, there is a space in front of the subsequent extent. A free area that exists in the same zone area as the subsequent extent is called an In area.) Actually, in the In area, the audiovisual data recorded in the AV file before being cut out is actually recorded.
Since the “T” command has already been executed, it is treated as an empty area from the outside.

【0296】本図では、先行エクステントは後続エクス
テントより前方に記録されているが、これはあくまでも
作図の便宜のための一例であり、後続エクステントが先
行エクステントより前方に記録されている場合も有り得
る。先行エクステント及び後続エクステントの記録領域
の間には、他ファイルのエクステントが存在している。
In領域及びOut領域は、上述したようにメモリ内データ
を記録するのに最適であるが、In領域及びOut領域の連
続長は第3のエクステントが存在しているために制約さ
れているという状況を想定している。
In the figure, the preceding extent is recorded before the succeeding extent, but this is merely an example for convenience of drawing, and the succeeding extent may be recorded before the preceding extent. An extent of another file exists between the recording areas of the preceding extent and the succeeding extent.
The In area and the Out area are optimal for recording the in-memory data as described above, but the continuous length of the In area and the Out area is restricted due to the existence of the third extent. Is assumed.

【0297】先ず図49のフロ−チャ−トにおけるステ
ップS62においてAVファイルシステム部11はOut領
域のデータサイズを算出し、In領域のデータサイズを算
出する。以上のようにしてIn領域と、Out領域のデータ
サイズを得ると、先行エクステントのデータサイズm
と、後続エクステントのデータサイズnとを参照して、
先行エクステントにアンダーフローが生じるか否かを判
定する。
First, in step S62 in the flowchart of FIG. 49, the AV file system unit 11 calculates the data size of the Out area and the data size of the In area. When the data size of the In area and the Out area is obtained as described above, the data size of the preceding extent m
And referring to the data size n of the subsequent extent,
It is determined whether or not underflow occurs in the preceding extent.

【0298】(3-2-7-1-4-1)先行エクステントmがAVブロ
ック長未満の場合の処理 先行エクステントmがAVブロック長未満であり、後続エ
クステントnがAVブロック長以上である場合、先行エク
ステントmにアンダーフローの恐れが有るので図50の
ステップS70に移行する。図50は先行エクステント
がAVブロック長未満、後続エクステントがAVブロック長
以上の場合のフローチャートである。図50のフロ−チ
ャ−トでのAVファイルシステム部11の処理を補足説明
するための説明図を図51、図52、図53に示す。こ
れらの図は、エクステントのデータサイズm,nとIn領域
と、Out領域のデータサイズi,jと、メモリ内データのデ
ータサイズkと、AVブロックのデータサイズBとの間にど
のような関係が成立している場合にどの領域が各データ
の記録先、移動先となるかを明記している。
(3-2-7-1-4-1) Processing when preceding extent m is less than AV block length When preceding extent m is less than AV block length and subsequent extent n is more than AV block length Since there is a risk of underflow in the preceding extent m, the process proceeds to step S70 in FIG. FIG. 50 is a flowchart when the preceding extent is shorter than the AV block length and the succeeding extent is longer than the AV block length. 51, 52 and 53 are explanatory diagrams for supplementarily explaining the processing of the AV file system unit 11 in the flowchart of FIG. These figures show the relationship between extent data size m, n and In area, Out area data size i, j, in-memory data size k, and AV block data size B. It is specified which area is the recording destination and the moving destination of each data when the above is satisfied.

【0299】先行エクステントのデータサイズはAVブロ
ック未満なので先行エクステントをこのまま放置してお
けば先行エクステントにおいてアンダーフローが生じて
しまう。先行エクステント、メモリ内データの双方の記
録位置を何処に定めるかが図50のフロ−チャ−トにお
いて行うべき処理である。ステップS70で、まず先行
エクステントとメモリ内データの合計サイズがAVブロッ
ク長以上かどうか判定する。もしAVブロック長以上なら
ば、ステップS71に移行し、先ずOut領域がメモリ内
データより大きいかを判定する。もし大きければOut領
域にメモリ内データを書き込んで先行エクステントの連
続長をAVブロック長以上とする。図51(a)は、i≧
k、m+k>Bの関係の成立時におけるDVD-RAM上の先行エク
ステント、後続エクステント、In領域と、Out領域の配
置例を示す図である。この場合、図51(b)に示すよ
うにOut領域にメモリ内データを記録すれば先行エクス
テントの連続長をAVブロック長以上とすることができ
る。
[0299] Since the data size of the preceding extent is smaller than the AV block, if the preceding extent is left as it is, underflow will occur in the preceding extent. Where to set the recording positions of both the preceding extent and the in-memory data is the process to be performed in the flow chart of FIG. In step S70, it is first determined whether the total size of the preceding extent and the in-memory data is equal to or larger than the AV block length. If it is equal to or longer than the AV block length, the process proceeds to step S71, and it is first determined whether the Out area is larger than the in-memory data. If it is larger, the in-memory data is written in the Out area and the continuous length of the preceding extent is set to the AV block length or more. In FIG. 51A, i ≧
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area | region, and Out area | region on DVD-RAM at the time of the relationship of k and m + k> B being materialized. In this case, if the data in the memory is recorded in the Out area as shown in FIG. 51B, the continuous length of the preceding extent can be made equal to or longer than the AV block length.

【0300】一方、Out領域がメモリ内データより小さ
い場合は、移動処理を行う。図52(a)は、i<k、m+
k>Bの関係の成立時におけるDVD-RAM上の先行エクステ
ント、後続エクステント、In領域と、Out領域の配置例
を示す図である。このような状態において、図52
(b)に示すように、先行エクステントを先ずメモリ内
に読み出し、これを先行エクステントと同一のゾーン領
域内に存在する空き領域に書き込むことにより先行エク
ステントを空き領域に移動する。移動後、図52(c)
に示すようにその移動した先行エクステントの末尾へと
メモリ内データを書き込む。
On the other hand, if the Out area is smaller than the in-memory data, the move process is performed. In FIG. 52A, i <k, m +
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area, and Out area on DVD-RAM at the time of the relationship of k> B being materialized. In such a state, as shown in FIG.
As shown in (b), first, the preceding extent is read into the memory, and the preceding extent is moved to the empty area by writing it into the empty area existing in the same zone area as the preceding extent. After the movement, FIG. 52 (c)
Write the in-memory data to the end of the moved preceding extent as shown in.

【0301】先行エクステントとメモリ内データの合計
サイズが1AVブロック長未満ならばステップS70がNo
となり、ステップS72に移行する。ステップS72で
は、先行エクステント、後続エクステント、メモリ内デ
ータの合計サイズが2AVブロック長以上かどうか判定す
る。ここで合計サイズが1AVブロック未満の場合は移動
処理を行っても一個のAVブロックすら満たすことができ
ず、アンダーフローが発生してしまう。また、先行エク
ステントとメモリ内データと後続エクステントの合計デ
ータサイズが2AVブロック長未満であれば、先行エクス
テント、メモリ内データ、後続エクステントを一度に論
理ブロックに書き込んでも記録時間が長くなり過ぎるこ
とはない。図50のフロ−チャ−トにおいては、上記メ
モリ内データと先行エクステント、後続エクステントと
の合計サイズが2AVブロック長未満である場合、ステッ
プS72からステップS73へと移行して、先行エクス
テント、後続エクステントの両方を移動する。
If the total size of the preceding extent and the in-memory data is less than 1 AV block length, step S70 returns No.
Then, the process proceeds to step S72. In step S72, it is determined whether the total size of the preceding extent, the following extent, and the in-memory data is 2AV block length or more. If the total size is less than 1 AV block, even one AV block cannot be filled even if the moving process is performed, and underflow occurs. If the total data size of the preceding extent, in-memory data, and subsequent extent is less than the 2AV block length, recording time will not be too long even if the preceding extent, in-memory data, and subsequent extent are written to the logical block at one time. . In the flowchart of FIG. 50, when the total size of the in-memory data, the preceding extent and the succeeding extent is less than the 2AV block length, the process proceeds from step S72 to step S73, and the preceding extent and the succeeding extent are processed. To move both.

【0302】図53(a)は、i<k、m+k<B、B≦m+n
+k<2Bの関係の成立時におけるDVD-RAM上の先行エクス
テント、後続エクステント、In領域と、Out領域の配置
例を示す図である。この場合、先行−後続エクステント
と同一のゾーン領域内に存在する空き領域を探索する。
空き領域を得ると、図53(b)に示すように、先行エ
クステントを先ずメモリ内に読み出し、これを再度空き
領域に書き込むことにより先行エクステントを空き領域
に移動する。移動後、図53(c)に示すようにその移
動した先行エクステントの末尾へとメモリ内データを書
き込む。メモリ内データを書き込むと、図53(d)に
示すように、後続エクステントを先ずメモリ内に読み出
し、これを移動後のメモリ内データが占めている領域の
直後に書き込むことにより後続エクステントを空き領域
に移動する。
In FIG. 53 (a), i <k, m + k <B, B ≦ m + n
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area | region, and Out area | region on DVD-RAM at the time of the relationship of + k <2B being materialized. In this case, a free area existing in the same zone area as the preceding-succeeding extent is searched.
When the free area is obtained, as shown in FIG. 53 (b), the preceding extent is first read into the memory and is written again in the empty area to move the preceding extent to the empty area. After the movement, as shown in FIG. 53C, the in-memory data is written to the end of the moved preceding extent. When the data in the memory is written, as shown in FIG. 53 (d), the subsequent extent is first read into the memory, and the subsequent extent is written immediately after the area occupied by the in-memory data after the movement so that the subsequent extent is a free area. Move to.

【0303】上記メモリ内データと先行エクステント、
後続エクステントとの合計サイズが2AVブロック長以上
である場合、ステップS72からステップS74へと移
行する。上記の合計サイズが2AVブロック以上もあれば
論理ブロックライトにかかる時間が膨大となり、単純に
先行エクステントを移動して移動先にメモリ内データを
書き込むという手法はアクセス速度の観点から容認すべ
きでない。しかし、注意すべきはステップS72からス
テップS74への移行は、メモリ内データと先行エクス
テントとの合計サイズがAVブロック長未満である場合と
いう関係が成立したために行われている点である。この
メモリ内データと先行エクステントとの合計サイズがAV
ブロック長未満である場合という関係が成立しているの
に、メモリ内データと先行エクステント、後続エクステ
ントとの合計サイズが2AVブロック長以上である場合と
いう関係が成立しているのは、後続エクステントのデー
タサイズが大きく、(後続エクステント−AVブロック)
のデータサイズも相当量であるということである。(後
続エクステント−AVブロック)のデータサイズが相当量
であるから、先行エクステントとメモリ内データとを足
し合わせた場合にAVブロックに満たない量を後続エクス
テントにて補っても、後続エクステントのデータサイズ
が不足することは有り得ない。
The above-mentioned in-memory data and preceding extent,
If the total size of the subsequent extents is equal to or greater than the 2AV block length, the process proceeds from step S72 to step S74. If the total size is 2 AV blocks or more, the time required to write a logical block becomes enormous, and the method of simply moving the preceding extent and writing the in-memory data to the movement destination should not be accepted from the viewpoint of access speed. However, it should be noted that the transition from step S72 to step S74 is performed because the relation that the total size of the in-memory data and the preceding extent is less than the AV block length is established. The total size of this in-memory data and the preceding extent is AV
Although the relationship that the length is less than the block length is established, the relationship that the total size of the in-memory data, the preceding extent, and the subsequent extent is 2AV block length or more is established. Large data size, (subsequent extent-AV block)
The data size of is also considerable. Since the data size of (subsequent extent-AV block) is a considerable amount, the data size of the subsequent extent can be obtained even if the subsequent extent covers the amount that is less than the AV block when the preceding extent and the in-memory data are added. There is no shortage of money.

【0304】従って、メモリ内データと先行エクステン
ト、後続エクステントとの合計サイズが2AVブロック長
以上である場合は、ステップS72からステップS74
へと移行して図54(a)〜(d)に示す手順により連
結処理を行う。図54(a)は、m+k<B、m+n+k≧2B
の関係の成立時におけるDVD-RAM上の先行エクステン
ト、後続エクステント、In領域と、Out領域の配置例を
示す図である。この場合、探索により先行−後続エクス
テントと同一のゾーン領域内に存在する空き領域を得
る。空き領域を得ると、図54(b)に示すように、先
行エクステントを先ずメモリ内に読み出し、これを再度
空き領域に書き込むことにより先行エクステントを空き
領域に移動する。移動後、図54(c)に示すようにそ
の移動した先行エクステントの末尾へとメモリ内データ
を書き込む。メモリ内データを書き込むと、図54
(d)に示すように、(後続エクステント−AVブロッ
ク)のデータサイズを有するエクステントをメモリ内デ
ータの記録先に移動する。
Therefore, when the total size of the in-memory data, the preceding extent and the succeeding extent is equal to or larger than the 2AV block length, steps S72 to S74.
Then, the connection processing is performed according to the procedure shown in FIGS. 54 (a) to 54 (d). FIG. 54A shows m + k <B, m + n + k ≧ 2B.
FIG. 6 is a diagram showing an example of arrangement of a preceding extent, a succeeding extent, an In area, and an Out area on a DVD-RAM when the relationship is established. In this case, a free area existing in the same zone area as the preceding and succeeding extents is obtained by searching. When the empty area is obtained, as shown in FIG. 54 (b), the preceding extent is first read into the memory, and this is written again in the empty area to move the preceding extent to the empty area. After the movement, as shown in FIG. 54C, the in-memory data is written to the end of the moved preceding extent. When the data in the memory is written,
As shown in (d), an extent having a data size of (subsequent extent-AV block) is moved to the recording destination of the in-memory data.

【0305】以上の処理を経て先行エクステント、メモ
リ内データ、後続エクステントを連結した後、先行エク
ステントを含むAVファイルAfのファイルエントリと、後
続エクステントを含むAVファイルAf+1のファイルエント
リとを統合し、連結後の一本のファイルエントリを得て
処理を終える。 (3-2-7-1-4-2)後続エクステントnがAVブロック長未満の
場合の処理 図49のフロ−チャ−トにおいてステップS63がNoで
あると、ステップS64に移行して、先行エクステント
mがAVブロック長以上であり、後続エクステントnがAVブ
ロック長未満であるかを判定する。本ステップでは、後
続エクステントnにアンダーフローの恐れが有るかの判
定を行っている。
After the preceding extent, the in-memory data, and the subsequent extent have been concatenated through the above processing, the file entry of the AV file Af including the preceding extent and the file entry of the AV file Af + 1 including the succeeding extent are integrated. , Obtains one file entry after concatenation and ends the process. (3-2-7-1-4-2) Processing when the subsequent extent n is less than the AV block length If step S63 is No in the flowchart of FIG. 49, the process proceeds to step S64 and the preceding extent
It is determined whether m is the AV block length or more and the subsequent extent n is less than the AV block length. In this step, it is determined whether there is a risk of underflow in the subsequent extent n.

【0306】図55は、後続エクステントがAVブロック
長未満、先行エクステントがAVブロック長以上の場合の
フローチャートを示す。図55のフロ−チャ−トでのAV
ファイルシステム部11の処理を補足説明するための説
明図を図56、図57、図58、図59に示す。これら
の図は、エクステントのデータサイズm,nとIn領域と、O
ut領域のデータサイズi,jと、メモリ内データのデータ
サイズkと、AVブロックのデータサイズBとの間にどのよ
うな関係が成立している場合にどの領域が各データの記
録先、移動先となるかを明記している。
FIG. 55 shows a flowchart in the case where the subsequent extent is less than the AV block length and the preceding extent is more than the AV block length. AV in the flowchart of FIG. 55
FIG. 56, FIG. 57, FIG. 58, and FIG. 59 are explanatory diagrams for supplementarily explaining the processing of the file system unit 11. These figures show extent data size m, n and In area, and O
ut If the relationship between the data size i, j of the area, the data size k of the data in the memory, and the data size B of the AV block is established, which area will be the recording destination of each data, movement It is specified whether it will be the destination.

【0307】ステップS75で、まず後続エクステント
とメモリ内データの合計サイズがAVブロック長以上かど
うか判定する。AVブロック長以上であればステップS7
5からステップS76に移行して、先ずIn領域がメモリ
内データより大きいかを判定する。図56(a)は、j
≧k、n+k>Bの関係の成立時におけるDVD-RAM上の先行エ
クステント、後続エクステント、In領域と、Out領域の
配置例を示す図である。この場合、図56(b)に示す
ようにIn領域にメモリ内データを記録すれば後続エクス
テントの連続長をAVブロック長以上とすることができ
る。
[0307] In step S75, it is first determined whether the total size of the subsequent extent and the in-memory data is equal to or larger than the AV block length. If the AV block length or more, step S7
The process proceeds from step 5 to step S76, and it is first determined whether the In area is larger than the in-memory data. Fig. 56 (a) shows j
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area | region, and Out area | region on DVD-RAM at the time of the relationship of> = k and n + k> B being materialized. In this case, if the data in the memory is recorded in the In area as shown in FIG. 56 (b), the continuous length of the subsequent extent can be made longer than the AV block length.

【0308】一方、In領域,Out領域がメモリ内データよ
り小さい場合は、移動処理を行う。図57(a)は、j
<k、n+k≧Bの関係の成立時におけるDVD-RAM上の先行エ
クステント、後続エクステント、In領域と、Out領域の
配置例を示す図である。この場合、先行−後続エクステ
ントと同一のゾーン領域内に存在する空き領域を探索す
る。空き領域を得ると、図57(b)に示すように、空
き領域にメモリ内データを書き込む。続いて図57
(c)に示すように後続エクステントを先ずメモリ内に
読み出し、メモリ内データの記録領域の直後に書き込
む。
On the other hand, when the In area and Out area are smaller than the in-memory data, the moving process is performed. Fig. 57 (a) shows j
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area | region, and Out area | region on DVD-RAM at the time of the relationship of <k, n + k> = B being materialized. In this case, a free area existing in the same zone area as the preceding-succeeding extent is searched. When the empty area is obtained, the in-memory data is written in the empty area as shown in FIG. 57 (b). Then, FIG.
As shown in (c), the subsequent extent is first read into the memory and written immediately after the recording area of the data in the memory.

【0309】後続エクステントとメモリ内データの合計
サイズが1AVブロック長未満ならば、ステップS75か
らステップS77へと移行し、ステップS77におい
て、先行エクステント、後続エクステント、メモリ内デ
ータの合計サイズが2AVブロック長以上かどうか判定す
る。もし2AVブロック長未満であれば、ステップS78
に移行する。図58(a)は、j<k、n+k<B、m+n+k
<2Bの関係の成立時におけるDVD-RAM上の先行エクステ
ント、後続エクステント、In領域と、Out領域の配置例
を示す図である。ステップS78においてAVファイルシ
ステム部11は、先行−後続エクステントと同一のゾー
ン領域内に存在する空き領域を探索する。このような状
態において、図58(b)に示すように、先行エクステ
ントを先ずメモリ内に読み出し、これを再度空き領域に
書き込むことにより先行エクステントを空き領域に移動
する。移動後、図58(c)に示すようにその移動した
先行エクステントの末尾へとメモリ内データを書き込
む。メモリ内データを書き込むと、図58(d)に示す
ように、後続エクステントを先ずメモリ内に読み出し、
これを移動後のメモリ内データが占めている領域の直後
に書き込むことにより後続エクステントを先行−後続エ
クステントと同一のゾーン領域内に存在する空き領域に
移動する。
If the total size of the subsequent extent and the in-memory data is less than 1 AV block length, the process proceeds from step S75 to step S77. In step S77, the total size of the preceding extent, the subsequent extent, and the in-memory data is 2 AV block length. It is determined whether or not the above. If it is less than 2 AV block length, step S78.
Move to. FIG. 58A shows j <k, n + k <B, m + n + k.
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area | region, and Out area | region on DVD-RAM at the time of <2B relationship being materialized. In step S78, the AV file system unit 11 searches for a free area existing in the same zone area as the preceding-succeeding extent. In such a state, as shown in FIG. 58 (b), the preceding extent is first read into the memory and then written again in the empty area to move the preceding extent to the empty area. After the movement, as shown in FIG. 58C, the in-memory data is written to the end of the moved preceding extent. When the data in the memory is written, the subsequent extents are first read in the memory as shown in FIG.
By writing this immediately after the area occupied by the in-memory data after the movement, the subsequent extent is moved to a free area existing in the same zone area as the preceding-successive extent.

【0310】一方、2AVブロック長以上であればステッ
プS77からステップS79へと移行して図59(a)
〜(d)に示す手順により連結処理を行う。図59
(a)は、n+k<B、m+n+k≧2Bの関係の成立時におけ
るDVD-RAM上の先行エクステント、後続エクステント、I
n領域と、Out領域の配置例を示す図である。この場合、
先行−後続エクステントと同一のゾーン領域内に存在す
る空き領域を探索する。空き領域の得ると、図59
(b)に示すように、(AVブロック−(n+k))のデー
タサイズを有するエクステントの終端部mendをメモリ内
データの記録先に移動する。図59(c)に示すように
その移動した先行エクステントの末尾へとメモリ内デー
タを書き込む。メモリ内データを書き込むと、図59
(d)に示すように、メモリ内データの記録領域の直後
へと後続エクステントを移動する。
On the other hand, if it is 2 AV block length or more, the process proceeds from step S77 to step S79, and FIG.
The linking process is performed by the procedure shown in (d). FIG. 59.
(A) is a preceding extent, succeeding extent, I on the DVD-RAM when the relations of n + k <B and m + n + k ≧ 2B are established.
It is a figure which shows the example of arrangement | positioning of n area | region and Out area. in this case,
A free area existing in the same zone area as the preceding-succeeding extent is searched for. When the free area is obtained, FIG.
As shown in (b), the end part mend of the extent having a data size of (AV block- (n + k)) is moved to the recording destination of the in-memory data. As shown in FIG. 59C, the in-memory data is written to the end of the moved preceding extent. When the data in the memory is written,
As shown in (d), the subsequent extent is moved to immediately after the recording area of the data in the memory.

【0311】図49のステップS64がNoである場合、
ステップS65に移行して、先行エクステントmがAVブ
ロック長未満であり、後続エクステントnがAVブロック
長未満であるか、即ち、先行エクステントm,後続エクス
テントnの双方にアンダーフローの恐れが有るかを判定
する。図60は、先行エクステント、後続エクステント
が共にAVブロック長未満の場合についての処理内容を示
すフローチャートである。図60のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図を図61、図62、図63、図64に示す。これ
らの図は、エクステントのデータサイズm,nとIn領域
と、Out領域のデータサイズi,jと、メモリ内データのデ
ータサイズkと、AVブロックのデータサイズBとの間にど
のような関係が成立している場合にどの領域が各データ
の記録先、移動先となるかを明記している。
If step S64 in FIG. 49 is No,
In step S65, whether the preceding extent m is less than the AV block length and the succeeding extent n is less than the AV block length, that is, whether there is a risk of underflow in both the preceding extent m and the succeeding extent n. judge. FIG. 60 is a flowchart showing the processing contents when the preceding extent and the subsequent extent are both less than the AV block length. In the flow chart of FIG.
61, 62, 63, and 64 are explanatory views for supplementarily explaining the processing of the AV file system unit 11. These figures show the relationship between extent data size m, n and In area, Out area data size i, j, in-memory data size k, and AV block data size B. It is specified which area is the recording destination and the moving destination of each data when the above is satisfied.

【0312】本フロ−チャ−トにおいて、先ずステップ
S80においてメモリ内データ、先行エクステント、後
続エクステントの合計サイズがAVブロック長以上かどう
か判断する。ここで合計サイズがAVブロック長未満であ
ればステップS81に移行する。この場合、先行エクス
テント、メモリ内データ、後続エクステントを足し合わ
せてもAVブロックを満たすことができないので、後続エ
クステントにエクステントが後続しているかを判定す
る。もし後続していなければ、後続エクステントは事実
上連結後に生成されるAVファイルの末尾を構成するエク
ステントとなるのでこのまま放置しておけば良いが、エ
クステントが後続していれば、先行エクステント−メモ
リ内データ−後続エクステントの組みがAVブロックを満
たせないためにアンダーフローが生じてしまう。これを
避けるため後続エクステントに後続するエクステントが
存在する場合は図61に示す手順で連結処理を行う。図
61(a)は、m+n+k<Bの関係の成立時におけるDVD-
RAM上の先行エクステント、後続エクステント、In領域
と、Out領域の配置例を示す図である。ステップS81
においてAVファイルシステム部11は、図61(b)に
示すようにIn領域にメモリ内データを書き込む。メモリ
内データを書き込むと、図62(c)に示すように、後
続エクステントを先ずメモリ内に読み出し、これを移動
後のメモリ内データが占めている領域の直後に書き込む
ことにより後続エクステントを空き領域に移動する。
In this flowchart, first in step S80, it is determined whether the total size of the in-memory data, the preceding extent and the succeeding extent is equal to or larger than the AV block length. If the total size is less than the AV block length, the process proceeds to step S81. In this case, the AV block cannot be filled even if the preceding extent, the in-memory data, and the subsequent extent are added together, so it is determined whether the extent follows the subsequent extent. If it is not succeeding, the succeeding extent is effectively the extent that constitutes the end of the AV file created after concatenation, so you can leave it as it is, but if the extent is succeeding, the preceding extent-in memory Underflow occurs because the data-subsequent extent pair cannot fill the AV block. In order to avoid this, when there is an extent subsequent to the subsequent extent, the concatenation process is performed according to the procedure shown in FIG. FIG. 61A shows a DVD- when the relationship of m + n + k <B is established.
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area, and Out area on RAM. Step S81
At, the AV file system unit 11 writes the in-memory data in the In area as shown in FIG. When the data in the memory is written, as shown in FIG. 62 (c), the subsequent extent is first read in the memory, and the subsequent extent is written immediately after the area occupied by the in-memory data after the movement so that the subsequent extent is a free area. Move to.

【0313】最後に図61(d)に示すように後続エク
ステントに後続するエクステントから(AVブロック−
(先行エクステント+メモリ内データ+後続エクステン
ト))というデータサイズだけ、データを取り出し、取
り出したものを先行エクステント、メモリ内データ、後
続エクステントに連結する。先行エクステント、後続エ
クステント、メモリ内データの合計サイズがAVブロック
長以上ならステップS82に進む。ステップS82にお
いてAVファイルシステム部11は、先行エクステントに
後続するOut領域のデータサイズが後続エクステントと
メモリ内データの合計サイズを下回るかを判定する。も
し上回れば、ステップS83に移行する。図62(a)
は、i≧n+k,m+n+k≧Bの関係の成立時におけるDVD-RAM
上の先行エクステント、後続エクステント、In領域と、
Out領域の配置例を示す図である。ステップS83にお
いてAVファイルシステム部11は、図62(b)に示す
ようにIn領域にメモリ内データを書き込む。メモリ内デ
ータを書き込むと、図62(c)に示すように、後続エ
クステントを先ずメモリ内に読み出し、これを移動後の
メモリ内データが占めている領域の直後に書き込むこと
により先行エクステントを空き領域に移動する。
Finally, as shown in FIG. 61 (d), from the extent following the subsequent extent (AV block-
Data is extracted by a data size of (preceding extent + data in memory + successive extent), and the extracted data is connected to the preceding extent, in-memory data, and subsequent extent. If the total size of the preceding extent, the following extent, and the in-memory data is equal to or larger than the AV block length, the process proceeds to step S82. In step S82, the AV file system unit 11 determines whether the data size of the Out area subsequent to the preceding extent is smaller than the total size of the subsequent extent and the in-memory data. If it exceeds, the process proceeds to step S83. FIG. 62 (a)
Is a DVD-RAM when the relationship of i ≧ n + k, m + n + k ≧ B holds.
The preceding extent, succeeding extent, and In area above,
It is a figure which shows the example of arrangement | positioning of Out area | region. In step S83, the AV file system unit 11 writes the in-memory data in the In area as shown in FIG. 62 (b). When the data in the memory is written, as shown in FIG. 62 (c), the subsequent extent is first read into the memory and is written immediately after the area occupied by the in-memory data after the movement, whereby the preceding extent is vacant. Move to.

【0314】もしOut領域の方が小さい場合は、ステッ
プS82からステップS84に移行し、ステップS84
において後続エクステントに先行するIn領域のデータサ
イズが先行エクステントとメモリ内データの合計サイズ
を下回るかを判定する。もし上回れば、ステップS85
に移行する。図63(a)は、i<n+k,m+n+k≧Bの関
係の成立時におけるDVD-RAM上の先行エクステント、後
続エクステント、In領域と、Out領域の配置例を示す図
である。ステップS85においてAVファイルシステム部
11は、図63(b)に示すようにOut領域にメモリ内
データを書き込む。メモリ内データを書き込むと、図6
3(c)に示すように、先行エクステントを先ずメモリ
内に読み出し、これを移動後のメモリ内データが占めて
いる領域の直前に書き込むことにより先行エクステント
をIn領域に移動する。
If the Out area is smaller, the process proceeds from step S82 to step S84, and step S84
At, it is determined whether the data size of the In area preceding the subsequent extent is smaller than the total size of the preceding extent and the in-memory data. If it exceeds, step S85
Move to. FIG. 63A is a diagram showing an arrangement example of the preceding extent, the succeeding extent, the In area, and the Out area on the DVD-RAM when the relationship of i <n + k, m + n + k ≧ B is established. In step S85, the AV file system unit 11 writes the in-memory data in the Out area as shown in FIG. 63 (b). When the data in the memory is written,
As shown in 3 (c), the preceding extent is first read into the memory, and is written immediately before the area occupied by the data in the moved memory, thereby moving the preceding extent to the In area.

【0315】ステップS84がNoである場合、ステップ
S86に移行する。図64(a)は、i<n+k、j<m+k、
m+n+k≧Bの関係の成立時におけるDVD-RAM上の先行エ
クステント、後続エクステント、In領域と、Out領域の
配置例を示す図である。ステップS86において先行エ
クステント、後続エクステント、メモリ内データの合計
サイズが2AVブロック長を越えてしまうか否かを判定
する。否の場合、AVファイルシステム部11は、先行エ
クステントと同一のゾーン領域内に存在する空き領域を
探索する。空き領域を得ると、図64(b)に示すよう
に、先行エクステントを先ずメモリ内に読み出し、これ
を再度空き領域に書き込むことにより先行エクステント
を空き領域に移動する。移動後、図64(c)に示すよ
うにその移動した先行エクステントの末尾へとメモリ内
データを書き込む。メモリ内データを書き込むと、図6
4(d)に示すように、後続エクステントを先ずメモリ
内に読み出し、これを移動後のメモリ内データが占めて
いる領域の直後に書き込むことにより後続エクステント
を空き領域に移動する。
[0315] If step S84 is NO, control is passed to step S86. In FIG. 64 (a), i <n + k, j <m + k,
It is a figure which shows the example of arrangement | positioning of the preceding extent, succeeding extent, In area, and Out area on DVD-RAM at the time of the relationship of m + n + k> = B being materialized. In step S86, it is determined whether the total size of the preceding extent, the following extent, and the in-memory data exceeds the 2AV block length. In the case of no, the AV file system unit 11 searches for a free area existing in the same zone area as the preceding extent. When the free area is obtained, as shown in FIG. 64 (b), the preceding extent is first read into the memory, and this is again written into the empty area to move the preceding extent to the empty area. After the movement, as shown in FIG. 64 (c), the in-memory data is written to the end of the moved preceding extent. When the data in the memory is written,
As shown in 4 (d), the subsequent extent is first read into the memory and is written immediately after the area occupied by the in-memory data after the movement, thereby moving the subsequent extent to the empty area.

【0316】先行エクステント、後続エクステント、メ
モリ内データの合計サイズが2AVブロックである場合、
Out領域と、In領域の何れのデータサイズが大きいかを
判定する。Out領域のデータサイズが大きい場合、Out領
域にメモリ内データをAVブロック長になるまで記録す
る。その後メモリ内データの残りを空き領域に記録し、
その記録先に後続エクステントを移動する。
When the total size of the preceding extent, the following extent and the in-memory data is 2 AV blocks,
It is determined which of the Out area and In area has a larger data size. When the data size of the Out area is large, the in-memory data is recorded in the Out area until the AV block length is reached. After that, record the rest of the data in memory in the free space,
The subsequent extent is moved to the recording destination.

【0317】In領域のデータサイズが大きい場合、AVフ
ァイルシステム部11は先行エクステントを空き領域に
移動し、その移動先にメモリ内データのうち、メモリ内
データの先頭から(メモリ内データ−In領域)のデータ
を先行エクステントの移動先に記録する。その後、メモ
リ内データの残りの部分をIn領域に記録する。以上のよ
うな移動処理を経て、ステップS86では総移動量を2
AVブロック長以下に抑えることができる。
When the data size of the In area is large, the AV file system unit 11 moves the preceding extent to a free area, and from the beginning of the in-memory data of the in-memory data to the moving area (in-memory data-In area ) Data is recorded in the destination of the preceding extent. After that, the remaining portion of the data in the memory is recorded in the In area. After the moving process as described above, the total moving amount is set to 2 in step S86.
It can be kept below the AV block length.

【0318】以上の処理を経て先行エクステント、メモ
リ内データ、後続エクステントを連結した後、先行エク
ステントを含むAVファイルAfのファイルエントリと、後
続エクステントを含むAVファイルAf+1のファイルエント
リとを統合し、連結後の一本のファイルエントリを得て
処理を終える。 (3-2-7-1-4-3)先行,後続エクステントが共にAVブロック
長以上の場合の処理 図49のステップS65がNoと判定されれば、ステップ
S66においてAVファイルシステム部11はメモリ内デ
ータがAVブロック長未満であるかを判定する。ステップ
S67においてAVブロック長以上であれば、メモリ内デ
ータを空き領域に記録して処理を終える。
After the preceding extent, the in-memory data, and the subsequent extent are linked through the above processing, the file entry of the AV file Af including the preceding extent and the file entry of the AV file Af + 1 including the succeeding extent are integrated. , Obtains one file entry after concatenation and ends the process. (3-2-7-1-4-3) Processing when both the preceding and succeeding extents are equal to or greater than the AV block length If step S65 in FIG. 49 is determined as No, the AV file system unit 11 stores the memory in step S66. Determine whether the internal data is less than the AV block length. If it is equal to or longer than the AV block length in step S67, the data in the memory is recorded in the free area and the process is ended.

【0319】ステップS66がNoである場合、AVファイ
ルシステム部11は先行エクステントmがAVブロック長
以上であり、後続エクステントnがAVブロック長以上で
あって、メモリ内データkのデータサイズがIn領域iとOu
t領域jとの合計長より小さいかを判定する。図65は、
先行エクステント,後続エクステントがAVブロック長以
上の長さを持つ場合のフロ−チャ−トである。
If No in step S66, the AV file system unit 11 determines that the preceding extent m is the AV block length or more, the subsequent extent n is the AV block length or more, and the data size of the in-memory data k is the In area. i and Ou
It is determined whether it is smaller than the total length with the t region j. FIG. 65 shows
This is a flowchart when the preceding extent and succeeding extent have a length equal to or longer than the AV block length.

【0320】また、図66は、図65のフロ−チャ−ト
でのAVファイルシステム部11の処理を補足説明するた
めの説明図である。説明図の(a)は、後続エクステン
ト及び先行エクステントがともにAVブロック長以上とな
る記録内容の一例を上段に示している。また(b)〜
(d)は、図65の各ステップの実行時において、In領
域と、Out領域と、その他の空き領域にどのようにメモ
リ内データ、エクステントが記録されるかを示してい
る。
Further, FIG. 66 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11 in the flowchart of FIG. In the explanatory diagram (a), an example of recorded contents in which both the subsequent extent and the preceding extent are equal to or longer than the AV block length is shown in the upper stage. Also (b) ~
(D) shows how in-memory data and extents are recorded in the In area, Out area, and other free areas during execution of each step in FIG. 65.

【0321】この場合、先行エクステント、後続エクス
テントにおいてアンダーフローが発生するという恐れは
無い。欲をいえば、このAVファイルAf後方に位置するOu
t領域と、AVファイルAf+1前方に位置するIn領域の何れ
か一方或は双方にメモリ内データを記録できれば、先行
エクステント、後続エクステントを空き領域に移動する
ことなく、メモリ内データを記録することができる。
In this case, there is no fear that underflow will occur in the preceding extent and the succeeding extent. Speaking of desire, this AV file Au is located behind Af
If the in-memory data can be recorded in either or both of the t area and the In area located ahead of the AV file Af + 1, the in-memory data is recorded without moving the preceding extent and the subsequent extent to the empty area. be able to.

【0322】図65のフロ−チャ−トでは、ステップS
87においてOut領域のデータサイズがメモリ内データ
のデータサイズを上回っているか否かを判定している。
もし上回るのであれば、ステップS88において、図6
6(b)に示すようにOut領域にメモり内のデータを記
録し終了する。下回るのであれば、そのステップS89
に移行し、In領域のデータサイズがメモり内データのデ
ータサイズを上回っているか否かを判定する。もし上回
るのであれば、ステップS90において、図66(c)
に示すようにIn領域にメモり内のデータを記録し終了す
る。もしIn領域と、Out領域の一方のみではメモリ内デ
ータを記録出来ない場合はステップS89からステップ
S91へと移行し、ステップS91において、図66
(d)に示すようにメモリ内データを2つの空き領域に
分割して、分割したそれぞれをIn領域と、Out領域のそ
れぞれに記録する。
In the flowchart of FIG. 65, step S
At 87, it is determined whether the data size of the Out area is larger than the data size of the in-memory data.
If it exceeds, in step S88, as shown in FIG.
As shown in FIG. 6 (b), the data in the memory is recorded in the Out area, and the process ends. If it is less than that, step S89
Then, it is determined whether the data size of the In area exceeds the data size of the data in the memory. If it exceeds, in step S90, FIG.
As shown in, the data in the memory is recorded in the In area and the process ends. If the in-memory data cannot be recorded in only one of the In area and the Out area, the process proceeds from step S89 to step S91.
As shown in (d), the in-memory data is divided into two empty areas, and each divided area is recorded in each of the In area and the Out area.

【0323】以上の処理を経て先行エクステント、メモ
リ内データ、後続エクステントを連結した後、先行エク
ステントを含むAVファイルAfのファイルエントリと、後
続エクステントを含むAVファイルAf+1のファイルエント
リとを統合し、連結後の一本のファイルエントリを得て
処理を終える。 (3-2-7-1-4-4)先行,後続エクステントが共にAVブロック
長以上の場合の処理 図49のステップS69では、先行エクステントmがAV
ブロック長以上であり、後続エクステントnがAVブロッ
ク長以上であって、尚且つメモリ内データkのデータサ
イズがIn領域iとOut領域jとの合計長より大きいかを判
定する。
After the preceding extent, the in-memory data, and the subsequent extent are linked through the above processing, the file entry of the AV file Af including the preceding extent and the file entry of the AV file Af + 1 including the succeeding extent are integrated. , Obtains one file entry after concatenation and ends the process. (3-2-7-1-4-4) Processing when both the preceding and succeeding extents are equal to or longer than the AV block length In step S69 in FIG. 49, the preceding extent m is AV
It is determined whether the block length is greater than or equal to the succeeding extent n is greater than or equal to the AV block length, and the data size of the in-memory data k is greater than the total length of the In area i and the Out area j.

【0324】図67は先行エクステント、後続エクステ
ントの双方のデータサイズがAVブロック以上であり、尚
且つIn領域とOut領域との合計サイズがメモリ内データ
のサイズより小さい場合の処理を示すフローチャートで
ある。また、図68は、図67のフロ−チャ−トでのAV
ファイルシステム部11の処理を補足説明するための説
明図である。本説明図の(a)は、後続エクステント及
び先行エクステントがともにAVブロック長以上となる記
録内容の一例を上段に示している。また(b)〜(d)
は、図67の各ステップの実行時において、In領域と、
Out領域と、その他の空き領域にどのようにメモリ内デ
ータ、エクステントが記録されるかを示している。
FIG. 67 is a flowchart showing the processing when the data size of both the preceding extent and the subsequent extent is equal to or larger than the AV block, and the total size of the In area and the Out area is smaller than the size of the in-memory data. . In addition, FIG. 68 shows the AV in the flowchart of FIG. 67.
FIG. 8 is an explanatory diagram for supplementarily explaining the processing of the file system unit 11. In the explanatory diagram (a), an example of recorded contents in which both the subsequent extent and the preceding extent are equal to or longer than the AV block length is shown in the upper stage. Also (b) to (d)
67, when executing each step of FIG.
It shows how in-memory data and extents are recorded in the Out area and other free areas.

【0325】この場合、先行エクステント、後続エクス
テントにおいてアンダーフローが発生することはない
が、メモリ内データの記録領域の連続長をAVブロック長
以上にせねばならない。ステップS92において、先行
エクステントとメモリ内データとの合計データサイズが
2AVブロック以上であるかを判定する。
In this case, underflow does not occur in the preceding extent and the succeeding extent, but the continuous length of the recording area of the in-memory data must be equal to or longer than the AV block length. In step S92, it is determined whether the total data size of the preceding extent and the in-memory data is 2 AV blocks or more.

【0326】合計サイズが2AVブロック長以上であれば
ステップS92からステップS93に移行し、先行エク
ステントの終端から、サイズ(AVブロック長−メモリ内
データのデータサイズk)のデータを読み出し、これを
空き領域に移動すると共に、その移動先にメモリ内デー
タを記録する。この記録により空き領域は図68(b)
に示すように、メモリ内データ及びエクステントで満た
される。
If the total size is equal to or greater than 2 AV block lengths, the process proceeds from step S92 to step S93, and the data of size (AV block length-data size k of data in memory) is read from the end of the preceding extent and is free. While moving to the area, the data in the memory is recorded at the destination. Due to this recording, the free area is shown in FIG. 68 (b).
It is filled with in-memory data and extents, as shown in.

【0327】メモリ内データと先行エクステントとの合
計サイズが2AVブロック長未満である場合、ステップS
92からステップS94への移行が行われることにな
る。ステップS94では、後続エクステントとメモリ内
データとの合計データサイズが2AVブロック以上である
かを判定する。このような判定を行うのは、ステップS
92の場合と同様であり、論理ブロックライトにかかる
時間が膨大となることを避けるため、また、仮に先行エ
クステントからかなりのデータサイズのデータを移動さ
せたとしても、残りのエクステントのデータサイズも1
AVブロック長以上の長さを保てる可能性が高いためであ
る。
[0327] If the total size of the in-memory data and the preceding extent is less than the 2AV block length, step S
The shift from 92 to step S94 is performed. In step S94, it is determined whether the total data size of the subsequent extent and the in-memory data is 2 AV blocks or more. It is the step S that makes such a determination.
This is the same as in the case of No. 92, and in order to avoid an enormous amount of time required to write a logical block, and even if data of a considerable data size is moved from the preceding extent, the data size of the remaining extent is also 1.
This is because there is a high possibility that the AV block length or more can be maintained.

【0328】このような観点から、合計サイズが2AVブ
ロック長以上であればステップS95に移行し、後続エ
クステントの先端から、サイズ(AVブロック長−メモリ
内データのデータサイズk)のデータを読み出し、これ
を先行−後続エクステントと同一のゾーン領域内に存在
する空き領域に移動すると共に、その移動先にメモリ内
データを記録する。この記録により空き領域は図68
(c)に示すように、メモリ内データ及びエクステント
で満たされる。
From this point of view, if the total size is 2 AV block lengths or more, the process proceeds to step S95, and the data of size (AV block length-data size k of data in memory) is read from the leading end of the subsequent extent, This is moved to a free area existing in the same zone area as the preceding-succeeding extent, and the in-memory data is recorded at the moving destination. Due to this recording, the free area is shown in FIG.
As shown in (c), it is filled with in-memory data and extents.

【0329】メモリ内データと後続エクステントとの合
計サイズが2AVブロック長未満であり、且つメモリ内デ
ータと先行エクステントとの合計サイズが2AVブロック
長未満である場合である場合、論理ブロックの総書き込
み量は2AVブロックに満たないから移動処理を積極的に
行っても速度面に影響が生じることはない。故に、メモ
リ内データと後続エクステントとの合計サイズが2AVブ
ロック長未満であり、且つメモリ内データと後続エクス
テントとの合計サイズが2AVブロック長未満である場合
であれば、ステップS96に移行し、先行エクステン
ト、後続エクステントのうちデータサイズが大きい方を
判定する。メモリ内データと後続エクステントとの合計
サイズが2AVブロック長未満である場合、メモリ内デー
タと後続エクステントとの合計サイズが2AVブロック長
未満である場合という基準が成立しさえすれば先行エク
ステント、後続エクステントの何れを移動させても良い
が、本実施形態では、より意欲的に移動量を少なくしよ
うとしているので、データサイズの小さいものを判定す
るという処理を行っている。先行エクステントの方が小
さいのなら、ステップS97において先ず先行エクステ
ントを移動し、その後、その移動先にメモリ内データを
書き込む。この記録により2AVブロック長の空き領域は
図68(d)に示すように、メモリ内データ及びエクス
テントで満たされる。
When the total size of the in-memory data and the subsequent extent is less than the 2AV block length and the total size of the in-memory data and the preceding extent is less than the 2AV block length, the total write amount of the logical block Since it is less than 2 AV blocks, the speed is not affected even if the moving process is actively performed. Therefore, if the total size of the in-memory data and the subsequent extent is less than the 2AV block length and the total size of the in-memory data and the subsequent extent is less than the 2AV block length, the process proceeds to step S96. The larger data size of the extent and the subsequent extent is determined. If the total size of the in-memory data and the subsequent extent is less than 2AV block length, and the total size of the in-memory data and the subsequent extent is less than 2AV block length, the preceding extent and the subsequent extent are satisfied. Any of the above may be moved, but in the present embodiment, since the amount of movement is more motivated to reduce, the process of determining the one with the smaller data size is performed. If the preceding extent is smaller, the preceding extent is first moved in step S97, and then the in-memory data is written to the movement destination. By this recording, the empty area of 2AV block length is filled with in-memory data and extents as shown in FIG. 68 (d).

【0330】後続エクステントの方が小さいのなら、ス
テップS98において先ずメモリ内データを書き込み、
その書込先に後続エクステントを移動する。この記録に
より2AVブロック長の空き領域は図68(e)に示すよ
うに、メモリ内データ及びエクステントで満たされる。
以上の処理を経て先行エクステント、メモリ内データ、
後続エクステントを連結した後、先行エクステントを含
むAVファイルAfのファイルエントリと、後続エクステン
トを含むAVファイルAf+1のファイルエントリとを統合
し、連結後の一本のファイルエントリを得て処理を終え
る。様々な場合の「MERGE」処理をフローチャートに示
してきたが、いずれの場合も移動するデータサイズは最
悪でも2AVブロック長以下におさえる事が可能である。
しかしデータの総書き込み量が2AVブロックを越える例
外が完全に存在しない訳ではなく、以下の2つの例外の
発生時においては、データの総書き込み量が2AVブロッ
クを越えてしまう。
If the subsequent extent is smaller, the in-memory data is first written in step S98,
The subsequent extent is moved to the write destination. By this recording, the empty area of 2AV block length is filled with in-memory data and extents as shown in FIG. 68 (e).
Through the above processing, the preceding extent, in-memory data,
After concatenating the subsequent extents, the file entry of the AV file Af including the preceding extent and the file entry of the AV file Af + 1 including the succeeding extent are integrated, and one concatenated file entry is obtained, and the processing ends. . The “MERGE” processing in various cases has been shown in the flowcharts, but in any case, the data size to be moved can be kept to 2 AV block length or less at worst.
However, there is no exception that the total amount of data written exceeds 2 AV blocks, and the total amount of data written exceeds 2 AV blocks when the following two exceptions occur.

【0331】第1の例外としては、2つの連続した空AV
ブロック領域が必要な場合に1つづつ孤立したAVブロッ
クしか存在せず、2つの連続した空きAVブロックを作成
するために、1AVブロックのデータを移動させる事が発
生する場合である。第2の例外としては、図60のステ
ップS81において後続エクステントに後続エクステン
トからデータを取りだし残された部分がAVブロック長未
満の時に新たなデータ移動が発生する場合である。この
場合は全体として移動するデータ量は2AVブロックを超
える事になってしまう。
The first exception is two consecutive empty AVs.
This is a case where, when a block area is required, there is only one AV block that is isolated one by one, and it is necessary to move the data of one AV block in order to create two consecutive free AV blocks. The second exception is the case where new data movement occurs when the portion left after the data is extracted from the subsequent extent to the subsequent extent in step S81 of FIG. 60 is less than the AV block length. In this case, the amount of data moved as a whole exceeds 2 AV blocks.

【0332】なお、ここまで二つのAVファイルとメモリ
内データとの連結処理に関してのみ説明を行ってきた
が、MERGEコマンドの遂行時においては1つのAVファイ
ルとメモリ内のデータとを連結することも出来る。この
場合はAVファイルの末尾エクステントにデータを追加す
るのと等価な処理なので、連結後のエクステントがAVブ
ロック長以上という条件を満足する必要はない。それゆ
え、処理としては末尾のエクステントに後続するOut領
域にメモり内データを記録していき、もしメモリ内の全
てのデータがOut領域に記録できない場合は、空AVブロ
ックを割り当て、そこに残ったメモリ内データを記録す
ればよい。
It should be noted that although only the connection processing of two AV files and data in memory has been described so far, one AV file and data in memory may be connected when the MERGE command is executed. I can. In this case, the processing is equivalent to adding data to the end extent of the AV file, so it is not necessary to satisfy the condition that the extent after concatenation is the AV block length or more. Therefore, as a process, the data in the memory is recorded in the Out area following the last extent, and if all the data in the memory cannot be recorded in the Out area, an empty AV block is allocated and remains in that area. It is sufficient to record the data in the memory.

【0333】また、連結処理においてファイル内シーム
レス再生を前提とした説明を行ってきたが、ファイル間
シームレスを前提とした連結処理を行っても良い。ファ
イル間シームレス再生とは、あるAVファイルの再生から
別のAVファイルの再生へと分岐を行う場合でも、映像表
示が中断しない再生をいう。ファイル間シームレス再生
を前提する場合は、先に示した2つのAVファイルとメモ
リ内のデータを連結において全てのエクステントの連続
長をAVブロック長以上とする必要があり、より徹底した
連結処理を行う必要がある。以上長文となったが、AVフ
ァイルシステム部11による連結処理の説明を終える。 (3-2-7-1-5)VOB情報、PGC情報の更新 SPLITコマンド、MERGEコマンド遂行処理時において、VO
B情報(タイムマップテーブル、シームレス接続情
報)、PGC情報(セル情報)をどう更新するかについて
説明する。
Further, although the description has been given on the premise of seamless reproduction within a file in the concatenation process, the concatenation process on the premise of inter-file seamless may be performed. Inter-file seamless playback refers to playback in which video display is not interrupted even when branching from playback of one AV file to playback of another AV file. When seamless playback between files is assumed, the continuous length of all extents must be set to the AV block length or more when connecting the two AV files and the data in the memory shown above, and more thorough connection processing will be performed. There is a need. The long sentence has been described above, but the description of the connection processing by the AV file system unit 11 is finished. (3-2-7-1-5) Updating VOB information and PGC information When performing the SPLIT command and MERGE command execution processing, VO
How to update B information (time map table, seamless connection information) and PGC information (cell information) will be described.

【0334】先ずSPLITコマンド遂行処理に伴なう上記
情報の更新について説明する。SPLITコマンド遂行処理
により得られる複数のAVファイルのうち、一つのAVファ
イルについては、切出元のVOBを収録していたAVファイ
ルと同一のAV_File_IDを付与する。それ以外のAVファイ
ルのAV_File_IDには、それぞれ新たな識別子を付与せね
ばならない。
First, the updating of the above information accompanying the SPLIT command execution processing will be described. Of the plurality of AV files obtained by the SPLIT command execution processing, one AV file is given the same AV_File_ID as the AV file that recorded the VOB of the cutout source. New identifiers must be added to the AV_File_IDs of other AV files.

【0335】かってAVファイルに収録されていたVOB
は、SPLITコマンド遂行処理により幾つもの部分区間を
喪失しているので、この喪失した部分区間を指定してい
たマークを削除する必要がある。同様にそのようなマー
クを開始点、終了点としたセル情報は、RTRW管理ファイ
ルから削除せねばならない。マーク点を削除すると共
に、AVファイルのビデオ表示開始フレームをC_V_S_PTM
として指定し、AVファイルのビデオ表示終了フレームを
C_V_E_PTMとして指定したセル情報を新たに生成してRTR
W管理ファイルに追加する必要がある。
VOB that was once recorded in the AV file
Has lost several subsections due to the SPLIT command execution process, it is necessary to delete the mark that specified the lost subsection. Similarly, the cell information having such marks as the start point and the end point must be deleted from the RTRW management file. The mark point is deleted and the video display start frame of the AV file is set to C_V_S_PTM.
And specify the video display end frame of the AV file.
Generate new cell information specified as C_V_E_PTM and RTR
Must be added to the W management file.

【0336】シームレス接続情報、タイムマップテーブ
ルを含むVOB情報は、VOBの分割に伴い、複数に分割す
る。即ち、上記分割によりmx個のVOBが得られたなら、m
x個のタイムマップテーブル、シームレス接続情報に分
割する。SPLITコマンド遂行処理により生成されたVOBの
ビデオ表示開始時刻VOB_V_S_PTM、ビデオ表示終了時刻V
OB_V_E_PTMは、セル情報の開始点、終了点を指示してい
たC_V_S_PTM,C_V_E_PTMに基づいて更新され、シームレ
ス接続情報におけるLAST_SCR,FIRST_SCRも更新される。
The VOB information including the seamless connection information and the time map table is divided into a plurality of pieces according to the division of the VOB. That is, if mx VOBs are obtained by the above division, m
Divide into x time map table and seamless connection information. Video display start time VOB_V_S_PTM of VOB generated by SPLIT command execution processing, video display end time V
OB_V_E_PTM is updated based on C_V_S_PTM and C_V_E_PTM that have designated the start and end points of the cell information, and LAST_SCR and FIRST_SCR in the seamless connection information are also updated.

【0337】MERGEコマンド遂行処理時において、上記
情報をどう更新するかについて説明する。ここでMERGE
コマンドの遂行により、複数のAVファイルが1つのAVフ
ァイルになるといっても、それら複数のAVファイルに含
まれているそれぞれのVOBは、互い相関性を有さないフ
レームデータから構成されているので、2つのAVファイ
ル間でタイムスタンプの不連続が生じる。元々別々のAV
ファイルに収録されていた複数のVOBを異なるVOBとして
管理するため、これら複数のVOBに別々のVOB IDを割り
当てる。
How to update the above information during the MERGE command execution process will be described. Where MERGE
Even if it is said that a plurality of AV files become one AV file by executing the command, each VOB included in the plurality of AV files is composed of frame data having no correlation with each other. , Time stamp discontinuity occurs between two AV files. Originally separate AV
To manage multiple VOBs contained in the file as different VOBs, assign different VOB IDs to these multiple VOBs.

【0338】これらの処理以外は、第2実施形態と同様
である。一方、切り出し範囲を特定したセル情報におけ
るC_V_E_PTMには、再エンコードされた先行VOBUに含ま
れているフレーム数が追加される。後続のAVファイルの
切り出し範囲を特定したセル情報におけるC_V_S_PTM
は、再エンコードされた後続VOBUに含まれているフレー
ム数だけ削除される。
Except for these processes, the process is the same as that of the second embodiment. On the other hand, the number of frames included in the re-encoded preceding VOBU is added to C_V_E_PTM in the cell information specifying the cutout range. C_V_S_PTM in the cell information that specifies the extraction range of the subsequent AV file
Are deleted by the number of frames contained in the subsequent re-encoded VOBU.

【0339】(3-2-3)断片化解消部16 断片化解消部16は、固定磁気ディスク装置と接続され
ており、既にDVD-RAMに記録されて連結処理等がなされ
たエクステントのうち、その記録領域の前後に空き領域
を有するものを読み出して本固定磁気ディスク装置に書
き込み、ディスク装置内にバックアップデータを作成す
る。全てのエクステントを固定磁気ディスク装置に書き
込んだ後、バックアップデータを再度読み出して、記録
済みエクステントの前後に存在する空き領域を詰めるよ
うに、エクステントを書き込んでゆく。ここで、その記
録領域の前後に空き領域を有するエクステントは、「SP
LIT」コマンド及び「SHORTEN」コマンドがAVファイルシ
ステム部11により順次遂行されたために生成されたも
のであり、「MERGE」コマンドの遂行時においてメモリ
内データの記録先にも、他のエクステントの移動先にも
ならなかったために放置されているものと想定してい
る。
(3-2-3) Fragmentation elimination section 16 The fragmentation elimination section 16 is connected to the fixed magnetic disk device, and among the extents already recorded in the DVD-RAM and subjected to the concatenation processing, etc. A data having an empty area before and after the recording area is read and written in the fixed magnetic disk device to create backup data in the disk device. After writing all the extents to the fixed magnetic disk device, the backup data is read again and the extents are written so that the empty areas existing before and after the recorded extents are filled. Here, the extent having an empty area before and after the recording area is "SP
The "LIT" command and the "SHORTEN" command are generated because they are sequentially executed by the AV file system unit 11. When the "MERGE" command is executed, the recording destination of the in-memory data and the movement destination of other extents are also recorded. It is assumed that it was left unattended because it did not happen.

【0340】図69は、断片化解消部16による処理内
容を補足説明するための説明図である。本図において、
その記録領域の前後に空き領域i,jを有するエクステン
トとしてエクステント#xを図中に示している。断片化解
消部16は図69(a)に示すようにこのようなエクス
テントを検出して、DVDレコーダ70に読み出すと共
に、固定磁気ディスク装置に書き込む。
FIG. 69 is an explanatory view for supplementarily explaining the processing contents by the fragmentation eliminating section 16. In this figure,
An extent #x is shown in the figure as an extent having free areas i and j before and after the recording area. The fragmentation eliminating unit 16 detects such an extent as shown in FIG. 69A, reads it to the DVD recorder 70, and writes it to the fixed magnetic disk device.

【0341】このような書き込みにより図69(b)に
示すようにディスク装置内にバックアップデータが作成
される。その後、図69(c)に示すように固定磁気デ
ィスク装置からバックアップデータを読み出して、記録
済みエクステントの前後に存在する空き領域jを詰める
ように、エクステントを書き込んでゆく。空き領域が詰
められたので、エクステント#xの後方に位置する空き領
域のデータサイズはi+jとなり、その連続長を大きくす
ることができる。このような処理を空き領域に後続する
エクステント#yについても行うと、空き領域の大きさを
更に拡大することができる。
By such writing, backup data is created in the disk device as shown in FIG. 69 (b). Thereafter, as shown in FIG. 69 (c), the backup data is read from the fixed magnetic disk device, and the extents are written so as to fill the empty areas j existing before and after the recorded extents. Since the empty area is packed, the data size of the empty area located behind the extent #x is i + j, and the continuous length can be increased. The size of the empty area can be further expanded by performing such processing for the extent #y subsequent to the empty area.

【0342】断片化解消部16による記録は、既にDVD-
RAMに記録されているエクステントのバックアップデー
タを一旦固定磁気ディスク装置に作成してから行うの
で、DVD-RAMへの書き込み期間の途中においてDVDレコー
ダ70の電源断が発生しても、次回の電源投時において
途中で中断されたエクステントの書き込みを再試行する
ことは可能である。このようにディスク装置内にバック
アップデータを作成してからエクステントを詰める作業
を行うので、たとえ書き込み中にDVDレコーダ70の電
源が断れても、エクステントが喪失してしまうことはな
い。
The recording by the fragmentation eliminating unit 16 has already been performed on the DVD-
Since the backup data of the extents recorded in the RAM is created in the fixed magnetic disk device once, it is performed even if the power of the DVD recorder 70 is cut off during the writing period to the DVD-RAM. It is possible to retry writing the extent that was interrupted at some point in time. In this way, the backup data is created in the disk device and the work of packing the extents is performed. Therefore, even if the power of the DVD recorder 70 is cut off during writing, the extents will not be lost.

【0343】以上のように本実施形態によれば、複数AV
ファイルに対して任意の編集を操作者が行い、連続長が
短い断片的なAVファイルが複数生じたとしても、DVDレ
コーダー70はそのような連続長が短いAVファイルを連
結させて、AVブロック以上の長さ有するAVファイルを生
成するので、AVファイルの断片化を解消でき、そのAVフ
ァイルに収録される映像音響データの連続的な再生を行
わせることができる。
As described above, according to this embodiment, a plurality of AV
Even if the operator arbitrarily edits a file and a plurality of fragmentary AV files with a short continuous length are generated, the DVD recorder 70 concatenates such AV files with a short continuous length so that the AV block is larger than the AV block. Since the AV file having the length of is generated, fragmentation of the AV file can be eliminated, and the audiovisual data recorded in the AV file can be continuously reproduced.

【0344】また、連結処理においては、書き込まれる
べきデータの総量が2AVブロック長以上か否かを判定
し、書き込みデータサイズの総量が2AVブロック長以上
なら、記録済みAVファイルの移動量をより少なくするよ
うに移動量を制限するので、書き込みデータサイズの総
量が2AVブロック長未満になることが保証され、これに
より断片化の解消を短期間に完遂することができる。
In the concatenation process, it is determined whether the total amount of data to be written is 2 AV block length or more. If the total write data size is 2 AV block length or more, the movement amount of the recorded AV file is further reduced. Since the movement amount is limited so that the total write data size is less than the 2AV block length, the fragmentation can be eliminated in a short time.

【0345】更に、複数AVファイルに対して任意の編集
を操作者が行った結果、連続長が短い再エンコードを記
録する必要が生じたとしても、DVDレコーダー70はそ
のような連続長が短い再エンコードデータが、その前後
に再生されるべき映像音響データと連結するような記録
位置を選んで記録するので、再エンコードデータが断片
的に記録されるのを未然に防止でき、そのAVファイルに
収録される映像音響データの連続的な再生を行わせるこ
とができる。
Further, even if it is necessary for an operator to arbitrarily edit a plurality of AV files to record a re-encoding having a short continuous length, the DVD recorder 70 does not reproduce such a short continuous length. The encoded data is recorded by selecting the recording position where it is connected to the audiovisual data to be played before and after it, so that the re-encoded data can be prevented from being recorded in pieces and recorded in the AV file. The reproduced audiovisual data can be continuously reproduced.

【0346】尚、データの移動を所定の一定量未満の連
続データが発生した場合にとどめず、2つの映像音響デ
ータを繋いだ場合に、2つの映像音響データがディスク
上であまりにも離れすぎている場合に、データの移動を
行う様にしてもよい。というのは、物理的に離れた映像
音響データを繋いで出来たデータは、普通に再生する場
合は連続再生を保証できる様にデータ配置はされてい
る。しかし、特別再生の早送りなどを行った場合、再生
するデータが離れすぎているとそこで、再生がギクシャ
クしてしまう。
It should be noted that the data movement is not limited to the case where continuous data of less than a predetermined amount is generated, but the two audiovisual data are too far apart on the disc when the two audiovisual data are connected. If there is, data may be moved. This is because the data generated by connecting the audiovisual data physically separated from each other is arranged so that continuous reproduction can be guaranteed when normally reproduced. However, when fast-forwarding the special reproduction is performed, if the data to be reproduced is too far apart, the reproduction becomes jerky.

【0347】これをスムーズにするために、2つの映像
音響データを繋ぐ場合に、片方のデータが所定の一定量
の数倍のサイズの連続データであり、しかも2つの映像
音響データの間に大体等間隔にAVブロックの空き領域が
あるのであれば、そこにデータを移動させるのである。
これにより、通常再生は保証しながら、特別再生をもス
ムーズに行うことが可能となる。
In order to make this smooth, when two audiovisual data are connected, one of the data is continuous data having a size which is several times as large as a predetermined fixed amount, and moreover, the two audiovisual data are generally arranged between the two audiovisual data. If there is an AV block free area at equal intervals, the data is moved to that area.
This makes it possible to smoothly perform special reproduction while guaranteeing normal reproduction.

【0348】また、セル情報のマークからタイムコード
を抜き出し、タイムマップテーブルからアドレスなどの
情報を抜き出して、テーブルで管理し、初期状態画面な
どで表示を行いユーザへの選択補助情報としても良い。
更に、各マークの縮小画像を作成し、これらを別ファイ
ルに記録を行い、これら縮小画像へのポインタ情報を各
マークに持たせ、初期状態などでセル情報を表示する際
の補助情報としても良い。
Further, the time code may be extracted from the cell information mark, the information such as the address may be extracted from the time map table, managed in the table, and displayed in the initial state screen or the like to be used as selection assist information for the user.
Furthermore, reduced images of each mark may be created and recorded in a separate file, pointer information for these reduced images may be provided for each mark, and may be used as auxiliary information when displaying cell information in the initial state or the like. ..

【0349】加えて、本実施形態では、動画像データと
オーディオデータを取り扱ったが、本質的に限定される
ものではなく、DVD-ROMで使用されている字幕などのラ
ンレングス圧縮された副映像データや静止画データを扱
ってもよい。最後に、第3実施形態でフローチャートを
参照して説明したAVファイルシステムの手順(図48
(a)、図48(b)、図49〜図50、図55、図6
0、図65、図67)等を機械語プログラムにより実現
し、これを記録媒体に記録して流通・販売の対象にして
も良い。このような記録媒体には、ICカードや光ディス
ク、フロッピーディスク等があるが、これらに記録され
た機械語プログラムは汎用コンピュータにインストール
されることにより利用に供される。この汎用コンピュー
タは、インストールした機械語プログラムを逐次実行し
て、本実施形態に示したビデオデータ編集装置の機能を
実現するのである。
In addition, in the present embodiment, moving image data and audio data are handled, but the present invention is not limited to this, and run-length-compressed sub-pictures such as subtitles used in DVD-ROM. Data or still image data may be handled. Finally, the procedure of the AV file system described with reference to the flowchart in the third embodiment (see FIG. 48).
(A), FIG. 48 (b), FIGS. 49 to 50, FIG. 55, and FIG.
0, FIG. 65, FIG. 67) and the like may be realized by a machine language program and recorded in a recording medium for distribution or sale. Such recording media include IC cards, optical disks, floppy disks, etc., but the machine language programs recorded in these are provided for use by being installed in a general-purpose computer. This general-purpose computer sequentially executes the installed machine language program to realize the function of the video data editing apparatus shown in this embodiment.

【0350】(第4実施形態)第4実施形態は、仮編
集、本編集からなる階層的な映像編集を、ユーザ定義PG
C−オリジナルPGCという2つのタイプのプログラムチェ
ーンを用いて実現する実施形態である。ユーザ定義PGC
−オリジナルPGCを定義するべく、第1実施形態に示し
たRTRW管理ファイルには、新規なテーブルが追加されて
いる (4-1) RTRW管理ファイル 第4実施形態におけるRTRW管理ファイルの構成について
説明する。第4実施形態においてRTRW管理ファイルは、
AVファイルと同一のディレクトリィ(RTRWディレクトリ
ィ)上に記録されており、図70(a)に示す内容を収
録している。
(Fourth Embodiment) In the fourth embodiment, a user-defined PG is used for hierarchical video editing consisting of temporary editing and main editing.
This is an embodiment realized by using two types of program chains called C-original PGC. User-defined PGC
-A new table is added to the RTRW management file shown in the first embodiment to define the original PGC (4-1) RTRW management file The configuration of the RTRW management file in the fourth embodiment will be described. . In the fourth embodiment, the RTRW management file is
It is recorded in the same directory (RTRW directory) as the AV file, and contains the contents shown in FIG. 70 (a).

【0351】図70(a)は、第4実施形態におけるRT
RW管理ファイルの収録内容を段階的に詳細化した図であ
る。即ち、本図において右段に位置する論理フォーマッ
トは、その左段に位置する論理フォーマットを詳細化し
たものであり、破線に示す引き出し線は、右段の論理フ
ォーマットがその左段の論理フォーマット内のどの部分
を詳細化したかを明確にしている。
FIG. 70A shows the RT in the fourth embodiment.
It is the figure which made the contents of the RW management file detailed step by step. That is, in the figure, the logical format located on the right side is a detailed version of the logical format located on the left side. It clarifies which part of the has been refined.

【0352】このような表記に従って本図におけるVOB
の論理フォーマットを参照すると、RTRW管理ファイル
は、第1実施形態に示したVOB情報の他に、オリジナルP
GC情報テーブルと、ユーザ定義PGC情報テーブルと、タ
イトルサーチポインタとを収録していることがわかる。 (4-1-2) オリジナルPGC情報の内容 『オリジナルPGC情報テーブル』は、複数のオリジナルP
GC情報からなる。
[0352] According to such notation, VOB in this figure
Referring to the logical format of, the RTRW management file includes the original PB in addition to the VOB information shown in the first embodiment.
It can be seen that the GC information table, the user-defined PGC information table, and the title search pointer are recorded. (4-1-2) Contents of original PGC information The "original PGC information table" contains multiple original
It consists of GC information.

【0353】オリジナルPGC情報は、RTRWディレクトリ
内に存在するAVファイルに収録されている複数VOBのそ
れぞれ、又は、各VOB内の部分区間をその配列順序に従
って指定している情報である。オリジナルPGC情報は、R
TRWディレクトリ内に存在するAVファイルに収録されて
いるVOBのそれぞれに対応づけられており、RTRWディレ
クトリィにおいてAVファイルが記録されると、その時点
においてオリジナルPGC情報は、ビデオデータ編集装置
により生成されてRTRW管理ファイルに記録される。
The original PGC information is information designating each of a plurality of VOBs recorded in the AV file existing in the RTRW directory or a partial section in each VOB according to the arrangement order. Original PGC information is R
It is associated with each VOB recorded in the AV file existing in the TRW directory, and when the AV file is recorded in the RTRW directory, the original PGC information is generated by the video data editing device at that point. Recorded in the RTRW management file.

【0354】オリジナルPGC情報のデータフォーマット
を図70(b)に示す。オリジナルPGC情報は複数のセ
ル情報から構成され、セル情報は、各セル情報にユニー
クに割り当てられた識別子であるセルID(図中のCELL#1,
#2,#3,#4・・・・・)と、AVファイルID(図中のAVF_ID)と、VO
B_IDと、C_V_S_PTMと、C_V_E_PTMとから構成される。AV
ファイルIDは、セル情報と対応するAVファイルの識別子
を記入する欄である。
The data format of the original PGC information is shown in FIG. 70 (b). The original PGC information is composed of a plurality of cell information, and the cell information is a cell ID (CELL # 1, in the figure, which is an identifier uniquely assigned to each cell information.
# 2, # 3, # 4 ...), AV file ID (AVF_ID in the figure), and VO
It is composed of B_ID, C_V_S_PTM, and C_V_E_PTM. AV
The file ID is a field in which the identifier of the AV file corresponding to the cell information is entered.

【0355】VOB_IDは、AVファイルに含まれているVOB
の識別子を記入する欄である。セル情報に対応するAVフ
ァイルにVOBが複数含まれている場合、その複数のVOBの
うちセル情報がどれに対応するかを明示するという役割
がある。『セル開始時刻C_V_S_PTM(図中では、C_V_S_PT
Mと略記している)』は、セル情報により指定される部分
区間の開始点を示す情報であり、その開始点に位置する
ビデオフィールドの開始時刻に付されたPTSをPTM記述フ
ォーマットにて記入するための記入欄を有する。
VOB_ID is the VOB included in the AV file.
This field is for entering the identifier of. When the AV file corresponding to the cell information includes a plurality of VOBs, it has a role of clearly indicating which of the plurality of VOBs the cell information corresponds to. Cell start time C_V_S_PTM (in the figure, C_V_S_PT
(Abbreviated as M) ”is information indicating the start point of the partial section specified by the cell information, and the PTS attached to the start time of the video field located at the start point is entered in the PTM description format. There is an entry field for doing.

【0356】『セル終了時刻C_V_E_PTM(図中では、C_V_
E_PTMと略記している)』は、セル情報により指定される
部分区間の終了点を示す情報であり、その終了点に位置
するビデオフィールドの終了時刻をPTM記述フォーマッ
トにて記入するための記入欄を有する。『セル開始時刻
C_V_S_PTM』及び『セル終了時刻C_V_E_PTM』における時
刻情報は、ビデオエンコーダによるエンコード動作の開
始点、エンコード動作の終了点、操作者が挿入したマー
ク点等を意味している。
[Cell end time C_V_E_PTM (in the figure, C_V_E_PTM)
(Abbreviated as E_PTM) '' is information indicating the end point of the partial section specified by the cell information, and is an entry field for entering the end time of the video field located at the end point in the PTM description format. Have. "Cell start time
The time information in “C_V_S_PTM” and “cell end time C_V_E_PTM” means the start point of the encoding operation by the video encoder, the end point of the encoding operation, the mark point inserted by the operator, and the like.

【0357】またオリジナルPGC情報の各セル情報の
『セル終了時刻C_V_E_PTM』は、オリジナルPGC情報にお
いて次順位に配置されているセル情報の『セル開始時刻
C_V_S_PTM』と一致している。各セル情報の『セル終了
時刻C_V_E_PTM』と『セル開始時刻C_V_S_PTM』とは、こ
のような一致関係を有しているので、オリジナルPGCで
は、一部の部分区間も脱落することなく、VOBにおける
全ての部分区間が指定されている。またオリジナルPGC
は、VOBにおける順序と前後が入れ代わるような順序で
部分区間を指定することはできない。
[0357] Also, "cell end time C_V_E_PTM" of each cell information of the original PGC information is "cell start time" of the cell information arranged in the next order in the original PGC information.
C_V_S_PTM ”. Since "cell end time C_V_E_PTM" and "cell start time C_V_S_PTM" of each cell information have such a matching relationship, in the original PGC, some partial sections are not dropped, and all of the VOBs are deleted. The subsection of is specified. Also the original PGC
Cannot specify subsections in an order in which the order in VOB is reversed.

【0358】(4-1-3) ユーザ定義PGC情報の内容 『ユーザ定義PGC情報テーブル』は複数のユーザ定義PGC
情報からなる。ユーザ定義PGC情報のデータフォーマッ
トを図70(c)に示す。オリジナルPGC情報と同様、
ユーザ定義PGC情報は複数のセル情報から構成され、セ
ル情報は、AVファイルIDと、VOB_IDと、C_V_S_PTMと、C
_V_E_PTMとから構成される。
(4-1-3) Contents of user-defined PGC information The "user-defined PGC information table" is a plurality of user-defined PGC information.
It consists of information. The data format of the user-defined PGC information is shown in FIG. 70 (c). Like the original PGC information,
The user-defined PGC information is composed of multiple pieces of cell information, and the cell information includes AV file ID, VOB_ID, C_V_S_PTM, and C
It consists of _V_E_PTM.

【0359】ユーザ定義PGC情報は、オリジナルPGC情報
と同様複数のセル情報からなるが、これらのセル情報が
どのようなものであり、どのような観点にて配列された
かがオリジナルPGC情報と異なる。オリジナルPGC情報
は、ビデオオブジェクトの部分区間をその配列順序に従
って順次再生していくよう指示しているのに対して、ユ
ーザ定義PGC情報は、ビデオオブジェクトの部分区間を
その配列順序に拘束されない順序で再生していくよう指
示出来る。
The user-defined PGC information is made up of a plurality of pieces of cell information like the original PGC information, but what kind of cell information these are and what viewpoint they are arranged in is different from the original PGC information. The original PGC information indicates that the sub-intervals of the video object should be played sequentially according to the arrangement order, whereas the user-defined PGC information indicates that the sub-intervals of the video object are in an order not restricted by the arrangement order. You can instruct to play.

【0360】ここでユーザ定義PGC内のセルにより指定
される部分区間は、オリジナルPGC情報内のセル情報に
より指定される部分区間そのもの(全区間)、或は、オ
リジナルPGC情報内のセル情報により指定される部分区
間より更に内部(一部区間)である。その上、あるセル
情報にて指定された部分区間を別のセル情報が重複して
指定してもよい。即ち、セル間にオーバーラップがあっ
てもよい。また、あるセル情報にて指定された部分区間
と、別のセル情報により指定しれた部分区間とが隔てら
れていてもよい。即ち、セル間にギャップがあってもよ
い。ユーザ定義PGC情報では、VOBにおける全ての部分区
間が指定されている必要はなく、VOBにおける一部の部
分区間は指定外であってもよい。
Here, the partial section specified by the cell in the user-defined PGC is specified by the partial section itself (entire section) specified by the cell information in the original PGC information or the cell information in the original PGC information. It is further inside (partial section) than the partial section. Moreover, another cell information may be redundantly designated for a partial section designated by one cell information. That is, there may be overlap between cells. In addition, a partial section specified by certain cell information and a partial section specified by another cell information may be separated. That is, there may be a gap between cells. In the user-defined PGC information, it is not necessary to specify all the partial sections in the VOB, and some partial sections in the VOB may not be specified.

【0361】オリジナルPGCでは、その再生順序が著し
く制限されていたのに対して、ユーザ定義PGCでは、そ
のような制限は課されておらず、セルの再生順序を自由
に定義できる。具体的にいうと、VOBにおける順序と逆
順であってもよい。また、異なるAVファイルに収録され
ているVOBの部分区間を跨いで指定していてもよい。オ
リジナルPGCは、1本のAVファイル及びVOB内の部分区間
をAVファイル及びVOBにおける順序に準じて指定してい
るため、指定元となるAVファイル及びVOBにおける各部
分区間の順序を尊重していると言えるが、ユーザ定義PG
Cは、VOBにおける各部分区間の順序に拘束されずに、操
作者がどの部分区間をどのような順序で視聴したいか、
即ち、ユーザの視聴意思に従って部分区間を指定するこ
とができる。このためユーザ定義PGCは、映像編集作業
時においてVOBに含まれている複数の部分区間をどのよ
うな順序で連結するかを仮決めした際の決定順序を保存
するという用途に適することがわかる。
In the original PGC, the reproduction order is remarkably limited, whereas in the user-defined PGC, such restriction is not imposed, and the cell reproduction order can be freely defined. Specifically, the order may be reverse to the order in VOB. In addition, it is also possible to specify the sub-sections of VOBs recorded in different AV files. Since the original PGC specifies the sub-sections in one AV file and VOB according to the order in the AV file and VOB, the order of the sub-sections in the AV file and VOB that is the specification source is respected. It can be said that user-defined PG
C is not constrained by the order of the sub-sections in the VOB, the operator wants to view which sub-section in what order,
That is, the partial section can be designated according to the viewing intention of the user. Therefore, it is understood that the user-defined PGC is suitable for the purpose of preserving the order of determination when tentatively determining in what order the plurality of sub-sections included in the VOB should be connected during the video editing work.

【0362】またオリジナルPGCは、AVファイル及びAV
ファイル内のVOBに対応づけられており、オリジナルPGC
内のセルはそのVOBの部分区間のみを指定していたが、
ユーザ定義PGCは、特定のVOBに対応づけられないという
拘束性は存在せず、ユーザ定義PGC情報に含まれている
セル情報は、それぞれ相異なるVOBの部分区間を指定し
ていてもよい。
The original PGC is an AV file or AV file.
Corresponding to the VOB in the file, the original PGC
The cell inside specified only the partial section of the VOB,
The user-defined PGC does not have a constraint that it cannot be associated with a specific VOB, and the cell information included in the user-defined PGC information may specify different VOB subsections.

【0363】更にオリジナルPGCは、AVファイルの記録
時において生成されるが、ユーザ定義PGCは、AVファイ
ルが記録された時点以降であれば、何時生成されてもよ
い。 (4-1-4) PGC情報−VOB情報−AVファイルの一体性 以上に説明したAVファイル、VOB、タイムマップテーブ
ル、PGC情報がどのような相互関係を有しているかを説
明する。図71は、AVファイル、VOB、VOB情報、オリジ
ナルPGC情報、ユーザ定義PGC情報間の相互関係を示し、
これらのうち一体性があるものを太線の枠内に配した図
である(尚、図71では、PGC情報をPGC情報と略記して
いる)。
Further, the original PGC is generated at the time of recording the AV file, but the user-defined PGC may be generated at any time after the time when the AV file is recorded. (4-1-4) PGC information-VOB information-AV file integrity The following describes how the AV file, VOB, time map table, and PGC information described above have mutual relationships. FIG. 71 shows the interrelationship among AV files, VOB, VOB information, original PGC information, and user-defined PGC information.
FIG. 72 is a diagram in which those having integrity are arranged in a bold frame (in FIG. 71, PGC information is abbreviated as PGC information).

【0364】図71においては、VOB#1を含むAVファイ
ル#1、VOB情報#1、セル情報#1−セル情報#2−セル情報#
3からなるオリジナルPGC情報#1が同一の太線枠内に配さ
れており、VOB#2を含むAVファイル#2、VOB情報#2、セル
情報#1−セル情報#2−セル情報#3からなるオリジナルPG
C情報#2が同一の太線枠内に配されていることがわか
る。
In FIG. 71, AV file # 1 including VOB # 1, VOB information # 1, cell information # 1-cell information # 2-cell information #
Original PGC information # 1 consisting of 3 is arranged in the same bold frame, AV file # 2 including VOB # 2, VOB information # 2, cell information # 1-cell information # 2-cell information # 3 Original PG
It can be seen that C information # 2 is arranged in the same bold frame.

【0365】これら太線枠で囲んだAVファイル(VOB)−V
OB情報−オリジナルPGC情報の一組をDVD-RAM規格ではオ
リジナルPGCと呼ぶ。DVD-RAM規格準拠のビデオデータ編
集装置は、このオリジナルPGCという単位を映像タイト
ルという管理単位として認識する。図71の一例では、
同一の太線枠内に配された、AVファイル#1、VOB情報#
1、オリジナルPGC情報#1の一組をオリジナルPGC#1と命
名しており、同一の太線枠内に配された、AVファイル#
2、VOB情報#2、オリジナルPGC情報#2の一組をオリジナ
ルPGC#2と命名している。
AV file (VOB) -V surrounded by these thick lines
A set of OB information-original PGC information is called an original PGC in the DVD-RAM standard. The video data editing device conforming to the DVD-RAM standard recognizes this unit of original PGC as a management unit of video title. In the example of FIG. 71,
AV file # 1 and VOB information #, which are arranged in the same bold line frame
1.A set of original PGC information # 1 is named original PGC # 1 and is placed in the same bold line frame as AV file #
2. A set of VOB information # 2 and original PGC information # 2 is named original PGC # 2.

【0366】オリジナルPGCの録画時においては、エン
コードされたVOBをDVD-RAMに記録すると共に、VOB情報
を生成し、またそのVOBについてのオリジナルPGC情報を
生成せねばならない。オリジナルPGCの録画はAVファイ
ル−VOB情報テーブル−オリジナルPGC情報の三者を揃え
てDVD-RAMに記録することにより初めて完了したものと
みなされる。逆に言うとエンコードされたVOBをAVファ
イルとしてDVD-RAMに記録しただけではそのオリジナルP
GCの録画が完了したとはみなされない。
When recording the original PGC, it is necessary to record the encoded VOB in the DVD-RAM, generate VOB information, and generate the original PGC information for the VOB. It is considered that the recording of the original PGC is completed for the first time by recording the three in the AV file-VOB information table-original PGC information on the DVD-RAM. Conversely, if the encoded VOB is recorded on the DVD-RAM as an AV file, the original P
The GC recording is not considered complete.

【0367】消去時においても同様であり、オリジナル
PGC一体で消去が行われる。言い換えるとAVファイル、V
OB情報、オリジナルPGC情報のうち、何れかのものが消
去されると、それと一体となってオリジナルPGCを構成
するものは同時に消去される。では、どのような単位で
オリジナルPGCは再生されるかであるが、オリジナルPGC
の再生は、オリジナルPGC情報が操作者により指定され
ることにより行われる。逆に言うと操作者によりAVファ
イル及びVOBが直接指定されて再生が命じられることは
ない。
The same applies when erasing, and the original
The PGC is erased as a unit. In other words, AV file, V
When any one of the OB information and the original PGC information is erased, the information that constitutes the original PGC together with it is erased at the same time. Then, in what unit is the original PGC played?
Is reproduced by the original PGC information specified by the operator. Conversely, the operator does not directly specify the AV file and VOB to instruct the reproduction.

【0368】尚、オリジナルPGCは、部分的に再生され
ることも可能であるが、オリジナルPGCの部分再生は、
オリジナルPGC内に含まれているセルが操作者により指
定されることにより行われ、セル未満の例えばVOBUが直
接指定されて部分再生が命じられることもない。オリジ
ナルPGC情報における一体性は以上の通りである。続い
てユーザ定義PGC情報はどのような単位で映像タイトル
として管理されるかについて説明する。図71において
オリジナルPGCはオリジナルPGC情報−VOB情報テーブル
−AVファイルとを同一の太線枠内に配置していたのに対
して、セル情報#1、セル情報#2、セル情報#3、セル情報
#4からなる図中のユーザ定義PGC情報#3は、単独で太線
枠で囲まれていることがわかる。これはDVD-RAM規格で
は、ユーザ定義PGC情報は、実際のAVデータではなく、
単独でタイトルとして管理されることを示している。
The original PGC can be partially reproduced, but the partial reproduction of the original PGC is
This is performed by the operator designating the cells included in the original PGC, and the partial reproduction is not ordered by directly designating, for example, a VOBU smaller than the cells. The unity in the original PGC information is as described above. Next, how the user-defined PGC information is managed as a video title will be described. In FIG. 71, the original PGC is arranged in the same bold line frame as the original PGC information-VOB information table-AV file, whereas cell information # 1, cell information # 2, cell information # 3, cell information
It can be seen that the user-defined PGC information # 3 in the figure composed of # 4 is enclosed by a thick line frame by itself. In the DVD-RAM standard, the user-defined PGC information is not the actual AV data,
It indicates that it is managed as a title by itself.

【0369】このため、ビデオデータ編集装置がRTRW管
理ファイル内にユーザ定義PGC情報を定義することのみ
で、ユーザ定義PGCの生成は完了したといえるのであ
る。即ち、ユーザ定義PGCにおいては、『ユーザ定義PGC
の制作 イコール ユーザ定義PGC情報の定義』という
関係が成立するのである。消去時においても同様であ
り、RTRW管理ファイルからユーザ定義PGC情報が消去し
さえすれば、それにより構成されるユーザ定義PGCは存
在しないものとみなされる。
Therefore, it can be said that the generation of the user-defined PGC is completed only by the video data editing device defining the user-defined PGC information in the RTRW management file. That is, in the user-defined PGC, "user-defined PGC
The relationship of "production equal definition of user-defined PGC information" is established. The same is true at the time of deletion, and if the user-defined PGC information is deleted from the RTRW management file, it is considered that the user-defined PGC constituted by it does not exist.

【0370】ユーザ定義PGCの再生単位は、オリジナルP
GCと同様である。ユーザ定義PGCの再生は、ユーザ定義P
GCが操作者により指定されることにより行われる。また
ユーザ定義PGCは、部分的に再生されることも可能であ
る。ユーザ定義PGCの部分再生は、ユーザ定義PGC内に含
まれているセルが操作者により指定されることにより行
われる。
[0370] The playback unit of the user-defined PGC is the original P.
Similar to GC. User defined PGC playback is user defined P
This is done by specifying the GC by the operator. The user-defined PGC can also be partially played. Partial reproduction of the user-defined PGC is performed by the operator specifying a cell included in the user-defined PGC.

【0371】オリジナルPGC−ユーザ定義PGCは、以上の
ように相違していることは明らかであるが、操作者の立
場から考えれば、オリジナルPGC−ユーザ定義PGCは、PG
C情報及びセル情報を指定して全体再生−部分再生が行
われるので両者の違いを全く意識しなくてよい。従っ
て、オリジナルPGC−ユーザ定義PGCの違いを差別するこ
となく、これらは映像タイトルという単位で、一律に管
理される。
Although it is clear that the original PGC-user-defined PGC is different as described above, from the operator's point of view, the original PGC-user-defined PGC is the PG
Since the C information and the cell information are designated to perform the whole reproduction-partial reproduction, it is not necessary to be aware of the difference between the two. Therefore, without discriminating the difference between the original PGC and the user-defined PGC, these are uniformly managed in units of video titles.

【0372】次にオリジナルPGC、ユーザ定義PGCの再生
がどのように行われるかを説明する。図71における破
線の矢印は、参照される側のデータと、参照する側のデ
ータとの関係を表現したものである。矢印y2,y4,y6,y8
は、VOBにおける各VOBUと、VOB情報内のタイムマップテ
ーブルに含まれているタイムコードとの間の参照関係を
明示しており、矢印y1,y3,y5,y7は、VOB情報内のタイム
マップテーブルに含まれているそれぞれのタイムコード
と、セル情報との間の参照関係を明示している。
Next, how to reproduce the original PGC and the user-defined PGC will be described. The dashed arrows in FIG. 71 represent the relationship between the data on the referenced side and the data on the referenced side. Arrows y2, y4, y6, y8
Indicates the reference relationship between each VOBU in the VOB and the time code included in the time map table in the VOB information.Arrows y1, y3, y5, y7 indicate the time map in the VOB information. The reference relation between each time code included in the table and the cell information is specified.

【0373】操作者により何れかのPGCを指定して映像
タイトルの再生が指示されたものとする。指定されたPG
CがオリジナルPGC#1である場合、そのオリジナルPGC#1
において先頭に位置するセル情報#1が再生装置により取
り出される。続いて、取り出されたセル情報#1に含まれ
ているAVファイル及びVOB識別子が参照されることによ
り、そのセル情報に対応するAVファイル、VOBとしてAV
ファイル#1と、VOB#1と、そのVOBについてのタイムマッ
プテーブル#1とが特定される。
It is assumed that the operator has designated one of the PGCs and instructed the reproduction of the video title. PG specified
If C is the original PGC # 1, then the original PGC # 1
The cell information # 1 located at the beginning of is reproduced by the playback device. Next, by referring to the AV file and VOB identifier included in the extracted cell information # 1, the AV file corresponding to the cell information and the AV as the VOB
The file # 1, the VOB # 1, and the time map table # 1 for the VOB are specified.

【0374】特定されたタイムマップテーブル#1には、
VOBを構成する各VOBUのサイズと、それらVOBUの再生時
間が記されており、更にアクセス性能を高めるために一
定間隔、例えば数十秒単位で代表VOBUが選ばれ、VOB先
頭からのアドレス及び経過時間を有するので、矢印y1
に示すようにセル開始時刻C_V_S_PTMを用いてタイムマ
ップテーブルを参照することにより、セル情報#1に含ま
れているセル開始時刻C_V_S_PTMがAVファイル内のどのV
OBUに対応するかを特定し、その先頭アドレスを特定す
る。これによりセル開始時刻C_V_S_PTMに対応するVOBU
の先頭アドレスが判明するので、再生装置は矢印y2に示
すようにVOB#1をアクセスして、この先頭アドレスに示
されているVOBU#1からVOBU列の読み出しを開始する。
In the specified time map table # 1,
The size of each VOBU that composes a VOB and the playback time of those VOBUs are recorded.To further improve access performance, a representative VOBU is selected in units of several tens of seconds, and the address and progress from the beginning of the VOB are selected. Have time, so arrow y1
By referring to the time map table by using the cell start time C_V_S_PTM as shown in, the cell start time C_V_S_PTM included in the cell information # 1 can be changed to any V in the AV file.
Specify whether it corresponds to the OBU and specify its start address. As a result, the VOBU corresponding to the cell start time C_V_S_PTM
Since the head address of the VOBU # 1 is known, the playback device accesses VOB # 1 as indicated by arrow y2 and starts reading the VOBU string from VOBU # 1 indicated by the head address.

【0375】一方、セル情報#1にはセル開始時刻C_V_S_
PTMと共にセル終了時刻C_V_E_PTMが含まれているので矢
印y3に示すようにセル終了時刻C_V_E_PTMを用いてタイ
ムマップテーブルを参照することにより、セル情報#1に
含まれているセル終了時刻C_V_E_PTMがAVファイル内の
どのVOBUに対応するかを特定する。これによりセル終了
時刻C_V_E_PTMに対応するVOBUの先頭アドレスが判明す
る。ここで特定されたVOBUがVOBU#10であるものとする
と、矢印y4に示すように、VOBU#10に達した時点でVOBU
列の読み出しを終了する。
On the other hand, cell start time C_V_S_ is set in cell information # 1.
Since the cell end time C_V_E_PTM is included with the PTM, by referring to the time map table using the cell end time C_V_E_PTM as shown by the arrow y3, the cell end time C_V_E_PTM included in the cell information # 1 is stored in the AV file. Identify which VOBU in As a result, the start address of the VOBU corresponding to the cell end time C_V_E_PTM is found. Assuming that the VOBU specified here is VOBU # 10, as shown by arrow y4, when VOBU # 10 is reached, VOBU # 10 is reached.
The reading of the column ends.

【0376】以上のようにセル情報#1−VOB情報#1を介
したアクセスをAVファイルに対して行えば、AVファイル
#1に収録されているVOB#1のうち、セル情報#1により指
定された部分区間のみを読み出すことができる。このよ
うな部分区間の読み出しをセル情報#2、セル情報#3、セ
ル情報#4に対して行えばVOB#1に含まれている全てのVOB
Uが読み出され、再生される。
As described above, if the access via the cell information # 1-VOB information # 1 is performed for the AV file, the AV file
Of VOB # 1 recorded in # 1, only the partial section specified by cell information # 1 can be read. If such a partial section is read for cell information # 2, cell information # 3, and cell information # 4, all VOBs included in VOB # 1
U is read and played.

【0377】以上のようにしてオリジナルPGC情報によ
る再生では、VOB内の部分区間を、その配列順序に従っ
て再生させてゆくことができる。一方、操作者により何
れかのユーザ定義PGCを指定して映像タイトルの再生が
指示されたものとする。指定されたPGCがユーザ定義PGC
#1である場合、そのユーザ定義PGC情報#1において先頭
に位置するセル情報#1が再生装置により取り出される。
続いて、矢印y5に示すようにそのセル情報に含まれて
いるセル開始時刻C_V_S_PTMを用いてタイムマップテー
ブル#1を参照することにより、セル情報#1に含まれてい
るセル開始時刻C_V_S_PTMがVOB#1内のどのVOBUに対応す
るかを特定する。これによりセル開始時刻C_V_S_PTMに
対応するVOBUがVOBU#11であることが判明するので、再
生装置は矢印y6に示すようにVOB#11をアクセスして、
この先頭アドレスに示されているVOBU#11からVOBU列の
読み出しを開始する。
As described above, in the reproduction by the original PGC information, it is possible to reproduce the partial sections in the VOB according to the arrangement order. On the other hand, it is assumed that the operator has designated one of the user-defined PGCs to instruct the reproduction of the video title. The specified PGC is a user-defined PGC
When it is # 1, the cell information # 1 located at the head of the user-defined PGC information # 1 is extracted by the playback device.
Then, by referring to the time map table # 1 using the cell start time C_V_S_PTM included in the cell information as indicated by the arrow y5, the cell start time C_V_S_PTM included in the cell information # 1 is VOB. Identify which VOBU in # 1 it corresponds to. This reveals that the VOBU corresponding to the cell start time C_V_S_PTM is VOBU # 11, so the playback device accesses VOB # 11 as indicated by arrow y6,
The reading of the VOBU string is started from VOBU # 11 indicated by this start address.

【0378】一方、ユーザ定義PGC#1のセル情報#1には
セル開始時刻C_V_S_PTMと共にセル終了時刻C_V_E_PTMが
含まれているので、矢印y7に示すようにセル終了時刻C_
V_E_PTMを用いてタイムマップテーブルを参照すること
により、セル情報#1に含まれているセル終了時刻C_V_E_
PTMがVOB#1内のどのVOBUに対応するかを特定する。ここ
で特定されたVOBUがVOBU#21であるものとすると、矢印y
8に示すように、VOBU列の読み出しをVOBU#21に達した
時点で終了する。
On the other hand, the cell information # 1 of the user-defined PGC # 1 includes the cell start time C_V_S_PTM and the cell end time C_V_E_PTM. Therefore, as shown by the arrow y7, the cell end time C_
By referring to the time map table using V_E_PTM, the cell end time C_V_E_ contained in cell information # 1
Identify which VOBU in VOB # 1 the PTM corresponds to. Assuming that the VOBU specified here is VOBU # 21, arrow y
As shown in FIG. 8, the reading of the VOBU sequence ends when VOBU # 21 is reached.

【0379】以上のようにセル情報#1−VOB情報#1を介
したアクセスをAVファイルに対して行った後、同様の処
理をユーザ定義PGC情報#1に含まれているセル情報#2、
セル情報#3、セル情報#4に対して行う。セル情報#1の次
順位に位置するセル情報#2が再生装置により取り出され
ると、取り出されたセル情報#2に含まれているAVファイ
ル識別子が参照されることにより、そのセル情報に対応
するAVファイル#2と、そのAVファイルに対応するタイム
マップテーブル#2とが特定される。
[0379] As described above, after the access via the cell information # 1-VOB information # 1 is performed to the AV file, the same processing is performed, and the cell information # 2 included in the user-defined PGC information # 1 is stored.
This is performed for cell information # 3 and cell information # 4. When the cell information # 2 located next to the cell information # 1 is retrieved by the playback device, the AV file identifier included in the retrieved cell information # 2 is referenced to correspond to that cell information. The AV file # 2 and the time map table # 2 corresponding to the AV file are specified.

【0380】特定されたタイムマップテーブルには、VO
Bを構成する各VOBUのサイズと、それらVOBUの再生時間
が記されており、更にアクセス性能を高めるために一定
間隔、例えば数十秒単位で代表VOBUが選ばれ、VOB先頭
からのアドレス及び経過時間を有するので、矢印y9に
示すようにセル開始時刻C_V_S_PTMを用いてタイムマッ
プテーブルを参照することにより、セル情報#2に含まれ
ているセル開始時刻C_V_S_PTMがAVファイル内のどのVOB
Uに対応するかを特定する。これによりセル開始時刻C_V
_S_PTMに対応するVOBUの先頭アドレスが判明するので、
ビデオデータ編集装置は矢印y10に示すようにVOB#2を
アクセスして、この先頭アドレスに示されているVOBU#1
からVOBU列の読み出しを開始する。
The specified time map table contains VO
The size of each VOBU that composes B and the playback time of those VOBUs are recorded.To further improve access performance, a representative VOBU is selected in units of several tens of seconds. Since it has time, the cell start time C_V_S_PTM included in the cell information # 2 indicates which VOB in the AV file by referring to the time map table using the cell start time C_V_S_PTM as shown by the arrow y9.
Determine if it corresponds to U. This gives the cell start time C_V
Since the start address of VOBU corresponding to _S_PTM is known,
The video data editing device accesses VOB # 2 as shown by the arrow y10, and the VOB # 1 indicated at this head address is accessed.
To start reading the VOBU sequence.

【0381】一方、セル情報#2にはセル開始時刻C_V_S_
PTMと共にセル終了時刻C_V_E_PTMが含まれているので、
矢印y11に示すようにセル終了時刻C_V_E_PTMを用いて
タイムマップテーブルを参照することにより、セル情報
#2に含まれているセル終了時刻C_V_E_PTMがVOB内のどの
VOBUに対応するかを特定する。これによりセル終了時刻
C_V_E_PTMに対応するVOBUの先頭アドレスが判明する。
ここで特定されたVOBUがVOBU#11であるものとすると、
矢印y12に示すように、VOBU列の読み出しをVOBU#11に
達した時点で終了する。
On the other hand, cell start time C_V_S_ is stored in cell information # 2.
Since the cell end time C_V_E_PTM is included with the PTM,
By referring to the time map table using the cell end time C_V_E_PTM as shown by the arrow y11, the cell information
Which cell end time C_V_E_PTM included in # 2 is in VOB
Identify whether it corresponds to VOBU. This gives the cell end time
The start address of the VOBU corresponding to C_V_E_PTM is found.
If the VOBU specified here is VOBU # 11,
As indicated by the arrow y12, the reading of the VOBU string is terminated when the VOBU # 11 is reached.

【0382】ユーザ定義PGC情報による再生では、2つ
のAVファイルに収録されているVOBの任意の部分区間を
所定の順序で再生させてゆくことができる。以上でAVフ
ァイル−VOB情報−PGC情報の一体性についての説明を終
える。続いて図70(d)に示すタイトルサーチポイン
タについての説明を行う。 (4-1-5) タイトルサーチポインタの内容 『タイトルサーチポインタ』は、以上に説明した映像タ
イトルという単位で本DVD-RAMに記録されているVOB情
報、タイムマップテーブル、PGC情報、AVファイルを管
理するための情報であり、オリジナルPGC情報及びユー
ザ定義PGC情報に付与されたPGC番号に、タイトルタイプ
と、タイトル記録履歴とを対応づけて構成されている。
In the reproduction by the user-defined PGC information, it is possible to reproduce arbitrary partial sections of VOB recorded in two AV files in a predetermined order. This concludes the description of the integrity of the AV file-VOB information-PGC information. Next, the title search pointer shown in FIG. 70D will be described. (4-1-5) Contents of the title search pointer The "title search pointer" contains the VOB information, time map table, PGC information, and AV file recorded on this DVD-RAM in the unit of the video title described above. This is information for management, and is configured by associating a PGC number given to the original PGC information and the user-defined PGC information with a title type and a title recording history.

【0383】『タイトルタイプ』は、00バイトに設定さ
れることによりそれぞれのPGC情報を有する映像タイト
ルがオリジナルタイプである旨を示し、01バイトに設定
されることによりそれぞれのPGC情報からなる映像タイ
トルがユーザ定義タイプである旨を示すフラグをそれぞ
れのPGC番号に対応づけた情報である。『タイトル記録
履歴』は、そのPGC情報が記録された日付が何年の何月
何日であり、記録時刻が何時何分何秒からであるかを示
す情報である。
"Title type" is set to 00 bytes to indicate that the video title having each PGC information is the original type, and is set to 01 byte to be the video title composed of each PGC information. Is information in which a flag indicating that is a user-defined type is associated with each PGC number. The “title recording history” is information indicating the date of recording of the PGC information, the month and the day of the year, and the recording time from the hour, the minute, and the second.

【0384】DVD-RAM規格準拠のビデオデータ編集装置
は、DVD-RAM内のRTRWディレクトリィが指定された際
に、そのRTRW管理ファイルから本タイトルサーチポイン
タを読み出して、そのDVD-RAMの各ディレクトリにオリ
ジナルPGC、ユーザ定義PGCがどれだけ記録されている
か、これらの映像タイトルが何時RTRWディレクトリィに
記録されたかを即座に認識することができる。
When the RTRW directory in the DVD-RAM is designated, the video data editing device conforming to the DVD-RAM standard reads out the main title search pointer from the RTRW management file and writes each directory of the DVD-RAM. It is possible to immediately recognize how much the original PGC and the user-defined PGC are recorded in, and when these video titles were recorded in the RTRW directory.

【0385】(4-1-6) 本編集におけるユーザ定義−オリ
ジナルPGC情報間の互換性 仮編集にて定義されたユーザ定義PGC情報は、第4実施
形態に示したような本編集においてセル同士の接続順序
の指定に用いることができる。また、第4実施形態に示
した本編集が行われた後、当該ユーザ定義PGC情報をオ
リジナルPGC情報に更新すれば、接続により得られたVOB
についてのオリジナルPGC情報を簡易に作成することが
できる。何故なら、ユーザ定義PGC情報とオリジナルPGC
情報とはタイトルタイプの値が違うのみでそのデータ構
造は同一であり、本編集後に得られたVOBの部分区間
は、本編集前においてユーザ定義PGC情報にて指定され
ていたものだからである。
(4-1-6) Compatibility between user-defined and original PGC information in main editing The user-defined PGC information defined in the temporary editing is the cells in the main editing as shown in the fourth embodiment. Can be used to specify the connection order of. Further, if the user-defined PGC information is updated to the original PGC information after the main editing shown in the fourth embodiment is performed, the VOB obtained by the connection is obtained.
You can easily create the original PGC information about. Because user defined PGC information and original PGC
This is because the data structure is the same as the information except for the title type value, and the VOB partial section obtained after the main editing is specified by the user-defined PGC information before the main editing.

【0386】以降、第4実施形態における本編集の手順
と、その本編集の前後においてユーザ定義PGC情報がど
のようにオリジナルPGC情報に更新されるかを説明す
る。図72は、ユーザ定義PGC−オリジナルPGCの一例を
示す図である。本図においてオリジナルPGC情報#1は、
セル#1のみを含んでおり、VOB#1と、VOB情報と、一体と
なってオリジナルPGCを形成している。これに対してユ
ーザ定義PGC情報#2はセル#1、セル#2、セル#3のみでユ
ーザ定義PGCを形成している。
Hereinafter, the procedure of main editing in the fourth embodiment and how the user-defined PGC information is updated to the original PGC information before and after the main editing will be described. FIG. 72 is a diagram showing an example of the user-defined PGC-original PGC. In this figure, the original PGC information # 1 is
Only cell # 1 is included, and VOB # 1 and VOB information are integrated to form the original PGC. On the other hand, the user-defined PGC information # 2 forms a user-defined PGC only with the cell # 1, the cell # 2, and the cell # 3.

【0387】セル#1は、破線の矢印y51,y52に示すよう
に、VOBU#1からVOBU#iまでの部分区間を指定してお
り、セル#2は破線の矢印y53,y54に示すように、VOBU#i+
1からVOBU#jまでの部分区間を指定している。セル#3は
破線の矢印y55,y56に示すように、VOBU#j+1からVOBU#k+
2までの部分区間を指定している。このうち、ユーザ定
義PGC情報におけるセル#2のみが削除され、削除後のユ
ーザ定義PGC情報、即ち、セル#1−セル#3からなるユー
ザ定義PGC情報#2を用いての本編集が指示されたものと
する。図73は、削除範囲となったセルに対応する部位
にハッチングを付した図である。
Cell # 1 designates a partial section from VOBU # 1 to VOBU # i as indicated by dashed arrows y51 and y52, and cell # 2 is indicated by dashed arrows y53 and y54. , VOBU # i +
Partial section from 1 to VOBU # j is specified. Cell # 3 has VOBU # j + 1 through VOBU # k + as indicated by the dashed arrows y55 and y56.
Partial sections up to 2 are specified. Of these, only cell # 2 in the user-defined PGC information is deleted, and the main editing is instructed using the user-defined PGC information after deletion, that is, the user-defined PGC information # 2 consisting of cell # 1-cell # 3. It is assumed that FIG. 73 is a diagram in which the parts corresponding to the cells in the deleted range are hatched.

【0388】ここで削除されたセル#2は、枠w11の内部
に示すように、VOBU#i+1に含まれる複数のピクチャデー
タのうち、何れか一つのビデオフレームをC_V_S_PTMと
して指定するものである。また、枠w12の内部に示すよ
うに、VOBU#j+1に含まれる複数のピクチャデータのう
ち、何れか一つのビデオフレームをC_V_E_PTMとして指
定するものである。このユーザ定義PGC情報#2を用いて
本編集を行うと、セル#1において終端部に位置するVOBU
#i、VOBU#i+1、VOBU#i+2と、セル#2において先端部に位
置するVOBU#j、VOBU#j+1、VOBU#j+2とを対象とした再エ
ンコードが、第1実施形態−第2実施形態に示した手順
に従って行われ、エクステント同士の連結処理が、第3
実施形態に示した手順に従って行われる。
The cell # 2 deleted here designates any one video frame among the plurality of picture data included in VOBU # i + 1 as C_V_S_PTM, as shown inside the frame w11. is there. Further, as shown inside the frame w12, any one video frame among the plurality of picture data included in VOBU # j + 1 is designated as C_V_E_PTM. When this editing is performed using this user-defined PGC information # 2, the VOBU located at the end of cell # 1
Re-encoding for #i, VOBU # i + 1, VOBU # i + 2 and VOBU # j, VOBU # j + 1, VOBU # j + 2 located at the tip of cell # 2 According to the procedure shown in the first embodiment to the second embodiment, the process of connecting extents is performed in the third embodiment.
It is performed according to the procedure shown in the embodiment.

【0389】図74(a)は、ユーザ定義PGC情報#2を
用いた本編集により、DVD-RAM上のどのECCブロックが空
き領域に解放されるかを示す。図74(a)の2段目を
参照すると、VOBU#i、VOBU#i+1、VOBU#i+2は、AVブロッ
ク#m上に記録され、VOBU#j、VOBU#j+1、VOBU#j+2はAVブ
ロック#nに記録されていることがわかる。図73に示し
たように、セル#2はVOBU#i+1に含まれているピクチャデ
ータをC_V_S_PTMとして指定していており、VOBU#j+1に
含まれているピクチャデータをC_V_E_PTMとして指定し
ていたから、枠w13,w14の内部に示すように、VOBU#i+2
が占有しているECCブロックからVOBU#jが占有しているE
CCブロックまでが第3実施形態に示したSPLITコマン
ド、SHORTENコマンドの発行により空き領域に解放され
る。その反面、VOBU#i、VOBU#i+1が占有しているECCブ
ロック、VOBU#j+1、VOBU#j+2が占有しているECCブロッ
クは、空き領域に解放されない。
FIG. 74 (a) shows which ECC block on the DVD-RAM is released to a free area by the main edit using the user-defined PGC information # 2. Referring to the second row of FIG. 74 (a), VOBU # i, VOBU # i + 1, VOBU # i + 2 are recorded on the AV block #m, and VOBU # j, VOBU # j + 1, VOBU are recorded. It can be seen that # j + 2 is recorded in AV block #n. As shown in FIG. 73, in cell # 2, the picture data contained in VOBU # i + 1 is designated as C_V_S_PTM, and the picture data contained in VOBU # j + 1 is designated as C_V_E_PTM. Therefore, as shown inside the frames w13 and w14, VOBU # i + 2
E occupied by VOBU # j from the ECC block occupied by
Up to the CC block is released to the free area by issuing the SPLIT command and SHORTEN command shown in the third embodiment. On the other hand, the ECC blocks occupied by VOBU # i and VOBU # i + 1 and the ECC blocks occupied by VOBU # j + 1 and VOBU # j + 2 are not released to the free area.

【0390】図74(b)は、本編集後におけるVOB、V
OB情報、PGC情報の一例を示す。セル#2に相当する部位
が削除されたので、VOB#1は、(新)VOB#1−VOB#2に分割
される。SPLITコマンド発行時において、VOB#1について
のVOB情報はVOB情報#1と、VOB情報#2とに分割される。
これらのVOB情報に含まれているタイムマップテーブル
も、タイムマップテーブル#1と、タイムマップテーブル
#2とに分割される。図示はしないが、シームレス接続情
報も同様に分割される。
FIG. 74 (b) shows VOB, V after the main editing.
An example of OB information and PGC information is shown. Since the part corresponding to cell # 2 has been deleted, VOB # 1 is divided into (new) VOB # 1-VOB # 2. When the SPLIT command is issued, the VOB information about VOB # 1 is divided into VOB information # 1 and VOB information # 2.
The time map table included in these VOB information is also the time map table # 1 and the time map table.
It is divided into # 2 and. Although not shown, the seamless connection information is similarly divided.

【0391】VOB#1−VOB#2におけるVOBUは、分割された
タイムマップテーブルを介してそれぞれ参照される。ユ
ーザ定義PGC情報とオリジナルPGC情報とはタイトルタイ
プの値が違うのみでそのデータ構造は同一であり、本編
集後に得られたVOBの部分区間は、本編集前においてユ
ーザ定義PGC情報#2にて指定されていたものなので、ユ
ーザ定義PGC情報#2は、オリジナルPGC情報に更新されて
いる。本編集前において部分区間を指定していたユーザ
定義PGC情報#2を用いてオリジナルPGC情報を定義するの
で、本編集後に改めてオリジナルPGC情報を定義する必
要はない。 (4-2)DVDレコーダ70の機能ブロック 図75は、第4実施形態におけるDVDレコーダ70の構
成を示す機能ブロック図である。同図における各機能
は、制御部1におけるCPU1aがROM1eのプログラ
ムを実行して図17に示したハードウェアを制御するこ
とにより実現される。
VOBUs in VOB # 1-VOB # 2 are respectively referred to via the divided time map table. The user-defined PGC information and the original PGC information have the same data structure except that the title type value is different, and the VOB partial section obtained after this editing is the user-defined PGC information # 2 before this editing. Since it was specified, the user-defined PGC information # 2 has been updated to the original PGC information. Since the original PGC information is defined using the user-defined PGC information # 2 that specified the partial section before this editing, it is not necessary to define the original PGC information again after this editing. (4-2) Functional Block Diagram of DVD Recorder 70 FIG. 75 is a functional block diagram showing the configuration of the DVD recorder 70 in the fourth embodiment. Each function in the figure is realized by the CPU 1a in the control unit 1 executing the program of the ROM 1e to control the hardware shown in FIG.

【0392】図75においてDVDプレーヤは、ディスク
記録部100と、ディスク読出部101と、共通ファイ
ルシステム部10と、AVファイルシステム部11と、録
画・編集・再生制御部12とを備えている点で、第3実施
形態に示したビデオデータ編集装置と共通しているが、
AVデータ録画部13がタイトル録画制御部22に、AVデ
ータ再生部14がタイトル再生制御部23に、AVデータ
編集部15が編集階層化制御部26にそれぞれ置き換え
られている点で第3実施形態と異なる。また、第3実施
形態に示した断片化解消部16に代えて、新規にPGC情
報テーブルワークエリア21、RTRW管理ファイルワークエ
リア24、ユーザ定義PGC情報ゼネレータ25が備えら
れている。
In FIG. 75, the DVD player includes a disc recording unit 100, a disc reading unit 101, a common file system unit 10, an AV file system unit 11, and a recording / editing / playback control unit 12. In common with the video data editing device shown in the third embodiment,
The third embodiment in that the AV data recording unit 13 is replaced with a title recording control unit 22, the AV data reproducing unit 14 is replaced with a title reproduction control unit 23, and the AV data editing unit 15 is replaced with an editing hierarchy control unit 26. Different from Further, a PGC information table work area 21, an RTRW management file work area 24, and a user-defined PGC information generator 25 are newly provided in place of the fragmentation eliminating unit 16 shown in the third embodiment.

【0393】(4-2-1)録画・編集・再生制御部12 第4実施形態における録画・編集・再生制御部12は、DV
D-RAM上のディレクトリ構造において操作対象となるべ
きディレクトリの指定を操作者から受け付ける。操作対
象の指定を受け付けると、リモコン信号受信部8から通
知されるユーザ操作に基づいて操作者による操作内容を
特定すると共に、操作対象として特定されたディレクト
リに対して操作内容の処理をタイトル録画制御部22、
タイトル再生制御部23等に行わせるよう指示する。
(4-2-1) Recording / Editing / Playback Control Unit 12 The recording / editing / playback control unit 12 in the fourth embodiment is a DV
The specification of the directory to be operated in the directory structure on D-RAM is accepted from the operator. When the designation of the operation target is accepted, the operation content by the operator is specified based on the user operation notified from the remote control signal receiving unit 8 and the operation content process is performed for the directory specified as the operation target. Part 22,
The title reproduction control unit 23 and the like are instructed to perform the processing.

【0394】図77(a)は、録画・編集・再生制御部1
2の制御下においてテレビ受像機72に表示されるグラ
フィックスデータの一例を示す図である。何れかのディ
レクトリがフォーカス状態に設定されると、録画・編集・
再生制御部12は、リモコン71における確定キーが押
下されるのを待つ。録画・編集・再生制御部12は、確定
キーが押下された時点においてフォーカス状態にあるデ
ィレクトリをカレントディレクトリとして特定する。
FIG. 77 (a) shows the recording / editing / playback control unit 1
It is a figure which shows an example of the graphics data displayed on the television receiver 72 under control of 2. When any directory is set to focus state, recording / editing /
The reproduction control unit 12 waits for the confirmation key on the remote controller 71 to be pressed. The recording / editing / playback control unit 12 specifies the directory in the focus state at the time when the enter key is pressed as the current directory.

【0395】(4-2-2) PGC情報テーブルワークエリア24 PGC情報テーブルワークエリア24は、PGC情報を順次定義
してゆくよう論理的なフォーマットが規定されているメ
モリ領域である。本PGC情報テーブルワークエリア24
は、内部領域がマトリックス状に管理されている。PGC
情報テーブルワークエリア24において複数のPGC情報
は、行方向に配されており、複数のセル情報は、列方向
に配されている。PGC情報テーブルワークエリア24に格
納済みのPGC情報のうち任意のセル情報は、行番号と、
列番号との一組みを用いてアクセスされる。
(4-2-2) PGC Information Table Work Area 24 The PGC information table work area 24 is a memory area in which a logical format is defined so as to sequentially define PGC information. This PGC information table work area 24
Has an internal area managed in a matrix. PGC
In the information table work area 24, a plurality of PGC information are arranged in the row direction, and a plurality of cell information are arranged in the column direction. Of the PGC information stored in the PGC information table work area 24, any cell information is the row number and
It is accessed using a set of column numbers.

【0396】図76は、PGCIテーブルワークエリア24に
格納されたオリジナルPGC情報の一例である。尚、AVフ
ァイルの記録が済んだ時点において、ユーザ定義PGC情
報テーブルは空(NULL)である。本図におけるPGC情報の
うち、オリジナルPGC情報#1内は、時刻T0−時刻T1を部
分区間の開始点−終了点としたセル情報#1、時刻T1−時
刻T2を部分区間の開始点−終了点としたセル情報#2、時
刻T2−時刻T3を部分区間の開始点−終了点としたセル情
報#3、時刻T3−時刻T4を部分区間の開始点−終了点とし
たセル情報#4を含んでいることがわかる。
FIG. 76 is an example of the original PGC information stored in the PGCI table work area 24. Note that the user-defined PGC information table is empty (NULL) when the AV file is recorded. Of the PGC information in this figure, in the original PGC information # 1, cell information # 1 with time T0-time T1 as the start point-end point of the partial section, time T1-time T2 start point-end of the partial section Cell information # 2 with time point T2-time T3 as the start point-end point of the partial section cell information # 3 with time T3-time T4 as the start point-end point of the partial section You can see that it contains.

【0397】(4-2-3) タイトル録画制御部22 タイトル録画制御部22は、第3実施形態におけるAVデ
ータ録画部13と同様、VOBをDVD-RAMに録画するが、こ
の録画処理と共に、RTRW管理ファイルワークエリア24
にタイムマップテーブル、VOB情報を生成し、オリジナ
ルPGC情報を生成してPGCIテーブルワークエリア24に格
納する。
(4-2-3) Title Recording Control Unit 22 The title recording control unit 22 records the VOB on the DVD-RAM as with the AV data recording unit 13 in the third embodiment. RTRW management file work area 24
A time map table and VOB information are generated, original PGC information is generated and stored in the PGCI table work area 24.

【0398】オリジナルPGC情報の生成は、タイトル録
画制御部22が以下に示す手順を経ることにより実現さ
れる。先ず第1に、タイトル録画制御部22は、録画キ
ーの押下が録画・編集・再生制御部12から通知される
と、PGC情報テーブルワークエリア14に行領域を確保
する。次に新規に生成されるべきVOBに対してAVファイ
ル録画制御部13がAVファイル識別子、VOB識別子を割
り当てると、タイトル録画制御部22は、それらを取得
して新規に割り当てたPGC番号と対応づけて新規に確保
した行領域に格納する。
Generation of the original PGC information is realized by the title recording control unit 22 through the following procedure. First, when the recording / editing / playback control unit 12 notifies that the recording key has been pressed, the title recording control unit 22 reserves a line area in the PGC information table work area 14. Next, when the AV file recording control unit 13 assigns an AV file identifier and a VOB identifier to a VOB to be newly generated, the title recording control unit 22 acquires them and associates them with the newly assigned PGC number. And store it in the newly secured row area.

【0399】続いてVOBのエンコード開始時において、
最初のビデオフレームのPTSを出力するようMPEGエンコ
ーダ2に指示し、エンコーダ制御部2gが最初のビデオ
フレームについてのPTSを出力すると、これを保持する
と共に、操作者によるマーキング操作の待ち状態とな
る。図80(a)は、マーキング操作が行われた場合
に、図75に示した構成要素間のデータ入出力がどのよ
うに行われるかを示す図である。テレビ受像機72に表
示される映像を視聴している間、操作者がマークキーを
押下したものとする。そうするとマーキング操作は、図
80(a)の、、を通じてタイトル録画制御部2
2に通知され、タイトル録画制御部22は図80(a)
のに示すように押下された時点におけるPTSを時刻情
報としてエンコーダ制御部2gから取得する。
Next, at the start of VOB encoding,
When the MPEG encoder 2 is instructed to output the PTS of the first video frame and the encoder control unit 2g outputs the PTS of the first video frame, the encoder control unit 2g holds the PTS and waits for the marking operation by the operator. FIG. 80A is a diagram showing how data input / output between the components shown in FIG. 75 is performed when a marking operation is performed. It is assumed that the operator presses the mark key while watching the video displayed on the television receiver 72. Then, the marking operation is performed by the title recording control unit 2 through, in FIG.
2 is notified, and the title recording control unit 22 is shown in FIG.
The PTS at the time when the button is pressed is acquired from the encoder control unit 2g as time information, as indicated by.

【0400】VOBへのエンコードが行われている間以上
の処理は繰り返されるが、生成の途中で録画を中止する
旨の操作が行われれば、最後にエンコードされたビデオ
フレームについての再生終了時刻を出力するようエンコ
ーダ制御部2gに指示し、エンコーダ制御部2gが最後
のビデオフレームについての再生終了時刻を出力する
と、これを保持する。
While the above processing is repeated while the VOB is being encoded, if the operation for stopping the recording is performed during the generation, the reproduction end time of the last encoded video frame is set. When the encoder control unit 2g is instructed to output and the reproduction end time of the last video frame is output, the encoder control unit 2g holds it.

【0401】VOBのエンコードが終了するまで以上の処
理を繰り返すと、タイトル録画制御部22は、AVファイ
ル識別子と、VOB識別子と、最初のビデオフレームの再
生開始時刻と、マーキング操作が行われた時点のビデオ
フレームの再生開始時刻と、最後のビデオフレームの再
生終了時刻とを保持することになる。このように保持し
た時刻情報のうち、部分区間の開始点−終了点となる一
組のものにAVファイル識別子、VOB識別子を付して一つ
のセル情報としてPGC情報テーブルワークエリア14に
新規に確保した行領域に格納する。これにより、オリジ
ナルPGC情報を新規に生成する。
When the above processing is repeated until the VOB encoding is completed, the title recording control unit 22 determines that the AV file identifier, the VOB identifier, the reproduction start time of the first video frame, and the time when the marking operation is performed. The reproduction start time of the last video frame and the reproduction end time of the last video frame are held. Of the time information held in this way, an AV file identifier and a VOB identifier are attached to one set of the start point-end point of the partial section and newly secured in the PGC information table work area 14 as one cell information. Stored in the specified row area. Thereby, the original PGC information is newly generated.

【0402】以上の生成が済むと、このオリジナルPGC
情報に割り当てたPGC番号に対応づけて、このPGC情報が
オリジナルPGC情報であることを示すタイプ情報と、オ
リジナルPGC情報の記録が済んだ記録日時を示す記録履
歴情報とを示すタイトルサーチポインタをPGC情報テー
ブルワークエリア21上に生成する。尚、タイトル再生
制御部23がシーンの内容が大きく変化した時点を検出
できる場合、ユーザ定義PGC情報ゼネレータ25はシー
ンチェンジがなされた時点のPTSを自動的に取得するこ
とによりセル情報を自動的に設定しても良い。
After the above generation, the original PGC
The title search pointer indicating the type information indicating that this PGC information is the original PGC information and the record history information indicating the recording date and time when the recording of the original PGC information is associated with the PGC number assigned to the information. It is generated on the information table work area 21. When the title reproduction control unit 23 can detect a time point when the content of the scene changes significantly, the user-defined PGC information generator 25 automatically acquires the PTS at the time point when the scene change is made, so that the cell information is automatically acquired. You may set it.

【0403】また、タイムマップテーブル、VOB情報の
作成は本実施形態の主眼でないので説明を省略する。 (4-2-4) タイトル再生制御部23 タイトル再生制御部23は、録画・編集・再生制御部12
に指定されているカレントディレクトリに収録されてい
る映像タイトルのうち、何れかのものの全体再生、或
は、部分再生を行う。
Since the time map table and VOB information creation is not the main purpose of this embodiment, a description thereof will be omitted. (4-2-4) Title reproduction control unit 23 The title reproduction control unit 23 is a recording / editing / reproduction control unit 12.
Of the video titles recorded in the current directory designated in, all or partial playback of any one of the video titles is performed.

【0404】具体的にタイトル再生制御部23は、図7
7(a)に示すように何れかのディレクトリがカレント
ディレクトリに選択されている状態で、操作者がそのデ
ィレクトリに収録されている映像タイトルを再生する旨
の操作を行うと、図77(b)に示す画面を表示してそ
のディレクトリにおけるRTRW管理ファイル内のオリジナ
ルPGC情報テーブル、ユーザ定義PGC情報テーブルを読み
出してカレントディレクトリにおけるオリジナルPGC又
はユーザ定義PGCの全体再生を行うか或は部分再生を行
うかを操作者に指定させる。図77(b)は、操作対象
として一覧表示されたPGC及びセルを示す図であり、こ
こに現れているPGC情報及びセル情報は、図76の一例
に示したものと同一である。本対話画面においてオリジ
ナルPGCは、横軸を時間軸とした簡単なグラフとして表
され、そのオリジナルPGCの録画日時とを付して表示さ
れる。本図における右下のメニュ−は、カレントディレ
クトリにおける映像タイトルの全体再生を行うか或は部
分再生を行うかを提示するものであり、操作者はリモコ
ン71上の1キー、2キーの押下によりこの何れかを選
択することができる。もし全体再生が指示されれば、タ
イトル再生制御部23は何れかのPGCを操作対象として
操作者に指定させ、部分再生が指示されれば、タイトル
再生制御部23は何れかのセルを操作対象として操作者
に指定させる。
More specifically, the title reproduction control section 23 is shown in FIG.
77 (b), when the operator performs an operation to reproduce the video title recorded in the directory in the state where any directory is selected as the current directory as shown in FIG. Is displayed and the original PGC information table or user-defined PGC information table in the RTRW management file in that directory is read and the original PGC or user-defined PGC in the current directory is played completely or partially. Let the operator specify. 77 (b) is a diagram showing PGCs and cells displayed as a list of operation targets, and the PGC information and cell information appearing here are the same as those shown in the example of FIG. In this dialogue screen, the original PGC is displayed as a simple graph with the horizontal axis as the time axis, and is displayed with the recording date and time of the original PGC. The menu at the bottom right of the figure shows whether the video title in the current directory is to be wholly or partially played back, and the operator can press the 1 key or 2 key on the remote controller 71. Either of these can be selected. If the whole reproduction is instructed, the title reproduction control unit 23 allows the operator to designate any PGC as the operation target, and if the partial reproduction is instructed, the title reproduction control unit 23 selects any cell as the operation target. Let the operator specify as.

【0405】全体再生すべきPGC,セルが指定された場
合、タイトル再生制御部23は、操作対象として指定さ
れたPGCに含まれているセルを取り出して、図71に示
したようなタイムマップテーブルの参照を行うことによ
り、部分区間を再生させてゆく。部分区間の再生が終了
すると、図77(b)の対話画面を表示させ、次のセル
情報の選択を待つ。
When the PGC and the cell to be wholly reproduced are specified, the title reproduction control unit 23 extracts the cell included in the PGC specified as the operation target, and the time map table as shown in FIG. By referring to, the partial section is reproduced. When the reproduction of the partial section is completed, the interactive screen of FIG. 77 (b) is displayed to wait for the selection of the next cell information.

【0406】図78(a)は、セル情報の部分再生時に
おける処理内容を示すフロ−チャ−トである。先ずステ
ップS271において、オリジナルPGC情報、ユーザ定
義PGC情報内の再生すべきセル情報からC_V_S_PTM,C_V_E
_PTMを読み出す。続いてステップS272では、C_V_S_
PTMが付与されたピクチャデータを含むVOBU(START)のア
ドレスを特定する。ステップS273では、C_V_E_PTM
が付与されたピクチャデータを含むVOBU(END)のアドレ
スを特定し、ステップS274では、VOBU(START)からV
OBU(END)までの範囲をVOBから読み出す。ステップS2
76において読み出し範囲のVOBUのデコードをMPEGデコ
ーダ4に指示する。ステップS277においてタイトル
再生制御部23は、MPEGデコーダ4内のデコーダ制御部
4kに対してデコード処理要求と共に有効再生区間情報
としてセルの再生開始時刻情報(C_V_S_PTM)及びセル
の再生終了時刻情報(C_V_E_PTM)を出力する。
FIG. 78 (a) is a flow chart showing the processing contents during partial reproduction of cell information. First, in step S271, C_V_S_PTM, C_V_E is selected from the original PGC information and the cell information to be reproduced in the user-defined PGC information.
Read _PTM. Then, in step S272, C_V_S_
The address of the VOBU (START) containing the picture data with PTM is specified. In step S273, C_V_E_PTM
The address of the VOBU (END) including the picture data added with is specified, and in step S274, from VOBU (START) to V
Read the range up to OBU (END) from VOB. Step S2
At 76, the MPEG decoder 4 is instructed to decode the VOBU in the read range. In step S277, the title reproduction control unit 23 requests the decoder control unit 4k in the MPEG decoder 4 to perform a decoding process request, together with cell reproduction start time information (C_V_S_PTM) and cell reproduction end time information (C_V_E_PTM) as valid reproduction section information. Is output.

【0407】このようにMPEGデコーダ4に対して有効再
生区間を出力するのは、MPEGデコーダ4内のデコーダ制
御部4kはセルにて指定された部分区間外のピクチャデ
ータさえもデコードしようとするからである。即ち、MP
EGデコーダ4がデコード処理を行なえる単位は、VOBU単
位であり、これではVOBU(START)からVOBU(END)までの全
範囲がデコードされて、セルにより指定された部分区間
外のピクチャデータさえも再生されてしまう。セルは、
ビデオフィールド単位で指定されているため、部分区間
外のピクチャデータは、何等かの手法で禁止せねばなら
ない。区間外が再生されるのを禁止するためにタイトル
再生制御部23は有効区間情報をMPEGデコーダ4に対し
て出力するのである。図78(b)は、VOBU(START)か
らVOBU(END)までの範囲のうち、セルの再生開始時刻情
報(C_V_S_PTM)からセルの再生終了時刻情報(C_V_E_P
TM)までの区間のみが再生出力されている様子を示す図
である。
The effective reproduction section is output to the MPEG decoder 4 in this way, because the decoder control unit 4k in the MPEG decoder 4 tries to decode even picture data outside the partial section specified by the cell. Is. That is, MP
The unit in which the EG decoder 4 can perform decoding processing is the VOBU unit, in which the entire range from VOBU (START) to VOBU (END) is decoded and even picture data outside the partial section specified by the cell is decoded. It will be played. The cell is
Since it is specified in video field units, the picture data outside the partial section must be prohibited by some method. The title reproduction control section 23 outputs the effective section information to the MPEG decoder 4 in order to prohibit reproduction outside the section. FIG. 78 (b) shows a cell reproduction start time information (C_V_S_PTM) to a cell reproduction end time information (C_V_E_P) in the range from VOBU (START) to VOBU (END).
FIG. 6 is a diagram showing a state in which only a section up to TM) is reproduced and output.

【0408】有効再生区間の出力によりMPEGデコーダ4
は、デコードを指示された全VOBUのうち、VOBUの先頭か
らC_V_S_PTMまでの複数ビデオフィールドの表示出力を
停止し、その後、C_V_E_PTMからVOBU終端までの複数ビ
デオフィールドの表示出力を停止する。これにより図1
7に示したハードウェア構成図における論理的な接続線
(1)を介してディスクアクセス部3から読み出されてき
たVOBU列は、MPEGデコーダ4によるデコード処理の対象
となるが、そのデコード結果のうち、C_V_S_PTM以前の
区間、C_V_E_PTM以降の区間については再生出力が禁止
される。これによりセル情報により指定された部分区間
のみが再生される。
[0408] The MPEG decoder 4 according to the output of the effective reproduction section
Among all the VOBUs instructed to be decoded, the display output of the plurality of video fields from the head of the VOBU to C_V_S_PTM is stopped, and then the display output of the plurality of video fields from C_V_E_PTM to the end of the VOBU is stopped. As a result,
Logical connection lines in the hardware configuration diagram shown in 7.
The VOBU string read from the disk access unit 3 via (1) is subject to decoding processing by the MPEG decoder 4, but in the decoding result, the section before C_V_S_PTM and the section after C_V_E_PTM are reproduced. Output is prohibited. As a result, only the partial section designated by the cell information is reproduced.

【0409】オリジナルPGC情報又はユーザ定義PGC情報
については、1つのPGC情報内にセル情報が複数含まれ
ているので、上記図78(a)の手順を1つのPGC情報
に含まれている全てのセル情報について繰り返せばよ
い。 (4-2-5)RTRW管理ファイルワークエリア24 RTRW管理ファイルワークエリア24は、PGC情報テーブ
ルワークエリア24上に生成された複数のオリジナルPGC
情報からなるオリジナルPGC情報テーブルと、複数のユ
ーザ定義PGC情報からなるユーザ定義PGC情報テーブル
と、タイトルサーチポインタと、VOB情報とを図70に
示した論理フォーマットに準じて配列するためのワーク
エリアであり、共通ファイルシステム部10がここに配
置されたデータを非AVファイルとしてRTRWディレクトリ
ィに書き込めば、RTRWディレクトリィにRTRW管理ファイ
ルが記録されたことになる。
As for the original PGC information or the user-defined PGC information, one PGC information includes a plurality of cell informations, so that the procedure of FIG. 78 (a) is not included in all PGC information. It may be repeated for cell information. (4-2-5) RTRW management file work area 24 The RTRW management file work area 24 is a plurality of original PGCs created on the PGC information table work area 24.
A work area for arranging an original PGC information table consisting of information, a user-defined PGC information table consisting of a plurality of user-defined PGC information, a title search pointer, and VOB information according to the logical format shown in FIG. Therefore, if the common file system unit 10 writes the data arranged here as a non-AV file in the RTRW directory, the RTRW management file is recorded in the RTRW directory.

【0410】(4-2-6) ユーザ定義PGC情報ゼネレータ2
5 ユーザ定義PGC情報ゼネレータ25は、カレントディレ
クトリのRTRW管理ファイルに収録されているPGC情報の
うち、何れかのものをベースにしてユーザ定義PGC情報
を生成する。ユーザ定義PGC情報内のセル情報(ユーザ
定義セル情報)には、既存のPGC情報のセル情報により
指定された部分区間のうち、更に内部を指定するもの
(1)、既存のセル情報にて指定される部分区間をそのま
ま指定するもの(2)の二種類があるが、これらのセル情
報をユーザ定義PGC情報ゼネレータ25はそれぞれ異な
った手法で生成する。
(4-2-6) User-defined PGC information generator 2
5 User-defined PGC information generator 25 generates user-defined PGC information based on any one of PGC information recorded in the RTRW management file in the current directory. The cell information in the user-defined PGC information (user-defined cell information) further specifies the inside of the partial section specified by the cell information of the existing PGC information.
There are two types, (1) and (2) in which the partial section designated by the existing cell information is designated as it is, and the user-defined PGC information generator 25 generates these cell information by different methods.

【0411】既存のセル情報により指定された部分区間
の更に内部を指定するユーザ定義セル情報(1)の生成
は、タイトル再生制御部23によるセル情報を用いた部
分再生を伴って行われる。即ち、既存のセル情報を用い
た部分再生が行われている期間中、ユーザ定義PGC情報
ゼネレータ25は操作者によりマーキング操作が何時行
われたかを監視して、そのマーキング操作時点を開始点
及び終了点としたセル情報の生成を繰り返し、そのよう
なセル情報からなるユーザ定義PGC情報を生成する。
[0411] The generation of the user-defined cell information (1) that further specifies the inside of the partial section specified by the existing cell information is performed by the title reproduction control unit 23 with partial reproduction using the cell information. That is, during the partial reproduction using the existing cell information, the user-defined PGC information generator 25 monitors when the marking operation is performed by the operator, and the marking operation time point is the start point and the end point. The generation of the cell information as points is repeated, and the user-defined PGC information including such cell information is generated.

【0412】図79(a)、図79(b)は、ユーザ定
義PGC情報の生成時に操作者がテレビ受像機72、リモ
コン71をどのように利用しているかを示す図である。
図80(b)は、マーキング操作が行われた場合に、図
75に示した構成要素間のデータ入出力がどのように行
われるかを示す図である。図79(a)に示すようにテ
レビ受像機72に表示される映像を視聴している間、映
像が自分が気に入ったシーンとなり、操作者がマークキ
ーを押下したものとする。その後、図79(b)に示す
ように映像が自分が気に入ったシーンが終わり、余り興
味が無いシーンが始まったとする。そこで操作者がマー
クキーを押下したものとする。
FIGS. 79 (a) and 79 (b) are diagrams showing how the operator uses the television receiver 72 and the remote controller 71 when generating the user-defined PGC information.
FIG. 80B is a diagram showing how data input / output between the constituent elements shown in FIG. 75 is performed when a marking operation is performed. It is assumed that, while watching the video displayed on the television receiver 72 as shown in FIG. 79 (a), the video becomes a scene that the user likes and the operator depresses the mark key. Thereafter, as shown in FIG. 79 (b), it is assumed that the scene in which the image is liked by the user ends, and the scene that is not so interested begins. Therefore, it is assumed that the operator has pressed the mark key.

【0413】そうするとマーキング操作は、図80
(b)の、、を通じてユーザ定義PGC情報ゼネレ
ータ25に通知され、ユーザ定義PGC情報ゼネレータ2
5は図80(b)のに示すように押下された時点にお
けるPTSを時刻情報としてデコーダ制御部4kから取得
する。ユーザ定義PGC情報ゼネレータ25は、このよう
に保持したPTSのうち、部分区間の開始点−終了点とな
る一組のものにAVファイル識別子、VOB識別子を付して
一つのセル情報としてに示すようにPGC情報テーブル
ワークエリア24に新規に確保した行領域に格納する。
Then, the marking operation is as shown in FIG.
The notification is sent to the user-defined PGC information generator 25 through, in (b), and the user-defined PGC information generator 2 is notified.
Reference numeral 5 acquires the PTS at the time of pressing as shown in (b) of FIG. 80 from the decoder control unit 4k as time information. The user-defined PGC information generator 25 attaches an AV file identifier and a VOB identifier to one set of the start point-end point of the partial section among the PTSs held in this way, and indicates it as one cell information. Then, the PGC information table is stored in the newly secured row area in the work area 24.

【0414】既存のセル情報に指定される部分区間その
ものを指定したユーザ定義セル情報を生成する場合、ユ
ーザ定義PGC情報ゼネレータ25は、既にPGC情報テーブ
ルワークエリア24内の行領域に格納されているセル情報
を他の行領域に複写する。具体的にユーザ定義PGC情報
ゼネレータ25は、PGC情報テーブルワークエリア24に
一行分の行領域を確保し、この行領域に新規のユーザ定
義PGC情報識別子を割り当てる。既にPGC情報テーブルワ
ークエリア24に格納されているPGC情報内のセル情報の
うち、ユーザ定義PGC情報の一要素として用いるべきセ
ル情報が行番号と列番号との一組みを用いて指示される
と、この一組みにより特定されるセル情報を読み出して
新規に確保された行領域に複写する。
[0414] When generating user-defined cell information that specifies the subsection itself specified in the existing cell information, the user-defined PGC information generator 25 is already stored in the row area in the PGC information table work area 24. Copy cell information to another row area. Specifically, the user-defined PGC information generator 25 secures a line area for one line in the PGC information table work area 24, and allocates a new user-defined PGC information identifier to this line area. Of the cell information in the PGC information already stored in the PGC information table work area 24, if the cell information to be used as one element of the user-defined PGC information is designated using a set of row number and column number. , The cell information specified by this set is read and copied to the newly secured row area.

【0415】(4-2-7) 編集階層化制御部26 編集階層化制御部26は、ユーザ定義PGC情報の定義に
より実現される仮編集作業と、仮編集結果に従って本編
集を行った場合にどのような映像が得られるかを操作者
に予め視聴させる旨のプレビュー作業と、第1実施形
態、第2実施形態に示したシームレス接続、第3実施形
態に示したAVファイル間の連結処理により実現される本
編集作業とが階層的に行われるようタイトル再生制御部
23、ユーザ定義PGC情報ゼネレータ25を制御する。
(4-2-7) Editing Hierarchical Control Unit 26 The editing hierarchical control unit 26 determines whether the temporary editing work is realized by the definition of the user-defined PGC information and the main editing is performed according to the temporary editing result. By the preview work for allowing the operator to view what kind of image is obtained in advance, the seamless connection shown in the first and second embodiments, and the connection processing between the AV files shown in the third embodiment. The title reproduction control unit 23 and the user-defined PGC information generator 25 are controlled so that the actual editing work that is realized is performed hierarchically.

【0416】(4-2-7-1) 編集階層化制御部26による
階層化編集の処理手順 以降、編集階層化制御部26による階層化制御の具体的
な処理手順を説明する。図77(a)の対話画面リモコ
ン71の押下により仮編集が命じられた際、編集階層化
制御部26は、RTRWディレクトリィをアクセスして、編
集階層化制御部26は共通ファイルシステム部10にRT
RW管理ファイルをRTRWディレクトリィから読み出させ
て、RTRW管理ファイルワークエリア24に格納するよう
指示する。その後、RTRW管理ファイルワークエリア24
に読み出されたRTRW管理ファイルのうち、オリジナルPG
C情報テーブル、ユーザ定義PGC情報テーブル、タイトル
サーチポインタをPGC情報テーブルワークエリア24に転
送させる。
(4-2-7-1) Hierarchical Editing Processing Procedure by Editing Hierarchical Control Unit 26 Hereinafter, a specific processing procedure of hierarchical control by the editing hierarchical control unit 26 will be described. When temporary editing is instructed by pressing the interactive screen remote controller 71 of FIG. 77 (a), the editing hierarchy control unit 26 accesses the RTRW directory, and the editing hierarchy control unit 26 causes the common file system unit 10 to access the RTRW directory. RT
It is instructed to read the RW management file from the RTRW directory and store it in the RTRW management file work area 24. After that, RTRW management file work area 24
The original PG among the RTRW management files read in
The C information table, the user-defined PGC information table, and the title search pointer are transferred to the PGC information table work area 24.

【0417】転送されたオリジナルPGC情報テーブルに
基づいて、編集階層化制御部26は図85に示す対話画
面を表示し、操作者からの指示待ち状態となる。図85
は、仮編集においてユーザ定義PGCの構成要素となるセ
ルを選択する操作を受け付けるためにテレビ受像機72
に表示する対話画面の一例である。本対話画面において
オリジナルPGC及びユーザ定義PGCは、横軸を時間軸とし
た簡単なグラフとして表され、そのオリジナルPGC、ユ
ーザ定義PGCの録画日時とを付して表示される。また対
話画面では、複数のセル情報を、横方向に配置された矩
形として表しており、このように横方向に配された矩形
の何れかを選択する操作をカーソルキーにて操作者に行
わせる。これらのオリジナルPGC及びセルは、図76に
示したものと同一であり、以降図76を初期状態とし
て、オリジナルPGC情報テーブル、ユーザ定義PGC情報テ
ーブル、タイトルサーチポインタが更新されてゆく様子
を説明する。
On the basis of the transferred original PGC information table, the edit layering control unit 26 displays the dialogue screen shown in FIG. 85, and waits for an instruction from the operator. Figure 85
Is a television receiver 72 for accepting an operation of selecting a cell which is a constituent element of the user-defined PGC in the temporary editing.
3 is an example of an interactive screen displayed in FIG. In this dialogue screen, the original PGC and the user-defined PGC are represented as a simple graph with the horizontal axis as the time axis, and displayed with the recording date and time of the original PGC and the user-defined PGC. Further, in the interactive screen, a plurality of cell information is shown as a rectangle arranged in the horizontal direction, and the operator is made to perform an operation of selecting one of the rectangles arranged in the horizontal direction by using the cursor keys. . These original PGCs and cells are the same as those shown in FIG. 76, and the state where the original PGC information table, the user-defined PGC information table, and the title search pointer are updated will be described below with FIG. 76 as the initial state. .

【0418】図81は、ユーザ定義PGCを定義する際の
編集階層化制御部26の処理内容を示すフロ−チャ−ト
である。本フロ−チャ−トにおいて変数jは、対話画面
において縦方向に配された複数オリジナルPGCのそれぞ
れを指示するための変数であり、変数kは、対話画面に
おいて横方向に配された複数セルのそれぞれを指示する
ための変数である。
FIG. 81 is a flowchart showing the processing contents of the editing hierarchy control section 26 when defining a user-defined PGC. In this flowchart, the variable j is a variable for designating each of a plurality of original PGCs arranged in the vertical direction on the dialog screen, and the variable k is a variable of the plurality of cells arranged in the horizontal direction on the dialog screen. It is a variable for indicating each.

【0419】変数mは、これからRTRW管理ファイルに定
義されようとするユーザ定義PGC情報に付与されるべきP
GC番号であり、変数nは、RTRW管理ファイルに定義され
ようとするセル情報に付与されるべきセル番号である。
ステップS201においてRTRW管理ファイルにおけるオ
リジナルPGC情報のラストナンバーに1を加算した値を変
数mに代入すると共に変数nに1を代入する。ステップS
202においてユーザ定義PGC情報テーブルにm番目ユー
ザ定義PGC情報のためのカラムを追加してステップS2
03においてキー操作待ちに入る。キー操作が行われる
と、ステップS204では、各キーに割り当てられたフ
ラグのうち、押下されたキーに対応するものを『1』に設
定する。ステップS205では、ENTERキーが押下され
たことを示すフラグ、Enter_Flagが1であるかを判定
し、ステップS206では、終了キーが押下されたこと
を示すフラグ、End_Flagが1であるかを判定する。これ
らのフラグが何れも『0』である場合、ステップS20
7において、上キー、左キー、右キー、下キーが押下さ
れたことを示すフラグ群であるRight_Flag、Left_Fla
g、Down_Flag、Upper_Flagを用いて以下の式に示す計算
を行い、その計算結果を変数k、変数jにそれぞれ代入す
る。
The variable m is the P that should be added to the user-defined PGC information to be defined in the RTRW management file.
This is a GC number, and the variable n is a cell number to be added to the cell information to be defined in the RTRW management file.
In step S201, the value obtained by adding 1 to the last number of the original PGC information in the RTRW management file is substituted into the variable m and 1 is substituted into the variable n. Step S
In step 202, a column for m-th user-defined PGC information is added to the user-defined PGC information table in 202
At 03, a key operation waits. When the key operation is performed, in step S204, the flag corresponding to the pressed key among the flags assigned to each key is set to "1". In step S205, it is determined whether the flag indicating that the ENTER key has been pressed, Enter_Flag, is 1, and in step S206, whether the flag indicating that the end key has been pressed, End_Flag, is 1 is determined. If all of these flags are "0", step S20
In 7, the right key, the left key, the right key, and the down key are a group of flags indicating that Right_Flag and Left_Fla.
The calculation shown in the following formula is performed using g, Down_Flag, and Upper_Flag, and the calculation results are substituted into variables k and j, respectively.

【0420】k←k+1*(Right_Flag)-1*(Left_Flag) j←j+1*(Down_Flag)-1*(Upper_Flag) 右キーが押下され、Right_Flagが『1』となれば、変数k
がインクリメントされる。また上キーが押下され、Uppe
r_Flagが『1』となれば、変数jがデクリメントされる。
左キーが押下され、Left_Flagが『1』となれば、変数k
がデクリメントされる。また下キーが押下され、Down_F
lagが『1』となれば、変数jがインクリメントされる。
このようにして変数j、変数kが更新された後、ステップ
S208においてj行k列のセル図形をフォーカス表示に
し、ステップS209においてリモコン71に割り当て
られた全てのフラグをゼロクリアしてからステップS2
03に移行し、再度キー操作待ちの状態となる。以上の
ステップS203〜ステップS209の処理を繰り返す
ことにより、リモコン71上のキーの押下に応じて、前
後左右のセルに対応するセル図形がフォーカス状態とな
る。
K ← k + 1 * (Right_Flag) -1 * (Left_Flag) j ← j + 1 * (Down_Flag) -1 * (Upper_Flag) If the Right key is pressed and Right_Flag becomes “1”, the variable k
Is incremented. The Up key is pressed again, and Uppe
When r_Flag becomes “1”, the variable j is decremented.
If the Left key is pressed and Left_Flag becomes "1", the variable k
Is decremented. The Down key is pressed again, Down_F
When lag becomes "1", the variable j is incremented.
After the variable j and the variable k are updated in this way, the cell graphic at row j and column k is displayed in focus in step S208, and all the flags assigned to the remote controller 71 are cleared to zero in step S209.
The process shifts to 03 and the key operation waits again. By repeating the above steps S203 to S209, the cell graphics corresponding to the front, rear, left, and right cells are brought into the focus state according to the depression of the key on the remote controller 71.

【0421】以上の処理が繰り返されている間、何れか
のセルがフォーカス状態に設定された状態でENTERキー
が押下されると図82のステップS251に移行する。
図82のステップS251においてj行k列のセル情報を
そのままもちいるか、そのセル情報により指定される部
分区間の更に内部を用いるかを操作者に提示し、その何
れかを操作者に指定させる。セル情報をそのまま用いる
場合にはステップS252においてj行k列のセル図形を
m行n列に複写し、ステップS253においてOriginal_P
GC#j.CELL#kをUser_Defined_PGC#m.CELL#nとして定義す
る。定義後、ステップS254において変数nをインク
リメントした後図81のステップS209へと移行す
る。
If the ENTER key is pressed while any cell is set to the focus state while the above processing is repeated, the process proceeds to step S251 in FIG.
In step S251 of FIG. 82, the operator is instructed whether to use the cell information of the j-th row and the k-th column as it is, or to use the inner portion of the partial section specified by the cell information, and make the operator designate any one of them. When the cell information is used as it is, in step S252, the cell figure in the jth row and the kth column
Copy to m rows and n columns, and in step S253, copy Original_P
Define GC # j.CELL # k as User_Defined_PGC # m.CELL # n. After the definition, the variable n is incremented in step S254, and then the process proceeds to step S209 in FIG.

【0422】j行k列のセル情報により指定される部分区
間より更に内部を用いる場合には、j行k列のセル情報に
基づき部分再生をタイトル再生制御部23に開始させる
ため、ステップS255に移行する。ステップS255
では、j行k列のセル情報が既に再生されたという経緯が
あるかを判定する。このような判定を行うのは、セル情
報により指定された部分区間が途中まで再生されている
場合、同じ部分区間をわざわざ先頭から再生するのは無
駄以外の何物ではなく、この場合、前回の再生が中断し
た時点(この時点を再生中断時点tという)からj行k列
セル情報の部分再生を開始する方が操作者にとって望ま
しいからである(ステップS266)。
If the inside of the partial section specified by the cell information of the j-th row and the k-th column is used, the title reproduction control section 23 is caused to start the partial reproduction based on the cell information of the j-th row and the k-th column. Transition. Step S255
Then, it is determined whether or not the cell information of the j-th row and the k-th column has already been reproduced. Such a determination is made when the partial section specified by the cell information is reproduced halfway, it is not wasteful to reproduce the same partial section from the beginning. In this case, This is because it is desirable for the operator to start the partial reproduction of the j-th row and k-th column cell information from the time when the reproduction is interrupted (this time is referred to as the reproduction interrupt time t) (step S266).

【0423】一方、j行k列のセル情報が未再生ならば、
ステップS265においてj行k列のセル情報の先頭から
部分再生を開始し、その後ステップS256に移行し
て、ステップS256−ステップS257からなるルー
プ状態となる。ステップS256は、セルによる再生終
了を待つステップであり、ステップS257は、マーキ
ングキーの押下を待つステップである。ステップS25
7がYesになると、ステップS258において押下され
た時点における時刻情報を取得した後、ステップS25
9に移行する。
On the other hand, if the cell information in the j-th row and the k-th column has not been reproduced,
In step S265, partial reproduction is started from the beginning of the cell information in the j-th row and the k-th column, and then the process proceeds to step S256 to enter the loop state of steps S256-S257. Step S256 is a step of waiting for the end of the reproduction by the cell, and step S257 is a step of waiting for the pressing of the marking key. Step S25
If 7 is Yes, the time information at the time of pressing at step S258 is acquired, and then step S25
Move to 9.

【0424】ステップS259では、取得した時刻情報
が2つであるかを判定し、そうでなければセル情報を生
成せずにステップS256に戻り、そうあればステップ
S260において取得した2つの時刻情報を開始点、終
了点とする。ここで取得した一方の時刻情報は、テレビ
受像機72に表示される映像が自分が気に入ったシーン
になった時点であり、他方の時刻情報は、自分が気に入
ったシーンが終わった時点であるものとする。これらの
時刻情報は、オリジナルPGC情報により提供されるオリ
ジナルPGC内部において映像編集素材として特に抜擢さ
れるべき部分区間と考えられる。これらの部分区間を指
定するためのユーザ定義PGC情報を生成すべく、PGC情報
テーブルワークエリア24にセル情報を生成し、ステップ
S261に移行する。
In step S259, it is determined whether or not there are two pieces of time information acquired. If not, the process returns to step S256 without generating cell information, and if there is, the two time information acquired in step S260 is acquired. The starting point and the ending point. The one time information acquired here is the time when the image displayed on the television receiver 72 is the scene that the user likes, and the other time information is the time when the scene that the user likes is finished. And Such time information is considered to be a partial section that should be particularly selected as video editing material inside the original PGC provided by the original PGC information. In order to generate user-defined PGC information for designating these partial sections, cell information is generated in the PGC information table work area 24, and the process proceeds to step S261.

【0425】ステップS261においてユーザ定義PGC
情報ゼネレータ25はOriginal_PGC#j.CELL#kにおけるV
OB_ID,AVファイルIDを取得する。ステップS262にお
いて取得した開始点-終了点時刻情報,VOB_ID,AVファイ
ルIDを用いてUser_Defined_PGC#m.CELL#nを生成する。
ステップS263において、終了点時刻情報を再生中断
時点tとして保持した後、ステップS254において変
数nをインクリメントし、ステップS209に移行す
る。
[0425] In step S261, the user-defined PGC
Information generator 25 is V in Original_PGC # j.CELL # k
Get OB_ID and AV file ID. User_Defined_PGC # m.CELL # n is generated using the start point-end point time information, VOB_ID, and AV file ID acquired in step S262.
In step S263, the end point time information is held as the reproduction interruption time point t, then the variable n is incremented in step S254, and the process proceeds to step S209.

【0426】以上の処理により、j行k列セル情報から新
規のユーザ定義セル情報が生成される。以降、次の別の
セル情報がフォーカスに設定され、これを生成元とした
ユーザ定義セル情報が生成されればユーザ定義PGC情報
を構成するセル情報が一つずつ定義されてゆく。尚、図
82のステップS256−ステップS257からなるル
ープ状態において、マークキーの操作がなされないま
ま、j行k列セル情報による再生が済むと、ステップS2
54に移行する。
Through the above processing, new user-defined cell information is generated from the j-th row and k-th column cell information. After that, if the next different cell information is set to the focus and the user-defined cell information is generated using this as the generation source, the cell information constituting the user-defined PGC information is defined one by one. In the loop state of steps S256 to S257 of FIG. 82, when the reproduction by the j-th row and k-th column cell information is completed without operating the mark key, step S2 is performed.
Move to 54.

【0427】またENDキーが押下されたと判定されたな
ら、図80(b)におけるステップS206がYesとな
ってステップS213に移行する。ステップS213で
は、次のUserDefined_PGCを定義するかをメニュ−表示
にて提示する。操作者に定義する意思があり、これを肯
定する旨の指示が行われれば、ステップS214におい
て変数mをインクリメントし、変数nを初期化しててステ
ップS209、ステップS203に移行する。
If it is determined that the END key is pressed, the result of step S206 in FIG. 80 (b) is Yes, and the process proceeds to step S213. In step S213, whether to define the next UserDefined_PGC is presented by a menu display. If the operator has an intention to define and an instruction to affirm this is made, the variable m is incremented in step S214, the variable n is initialized, and the process proceeds to steps S209 and S203.

【0428】(4-2-7-2) ユーザ定義PGC情報定義の具体
例 図85に示す対話画面に示されている複数のオリジナル
PGC情報からユーザ定義PGC情報を定義してゆく際の動作
を以下に説明する。図86は、リモコン71に対しての
手操作と、その手操作に伴って行われる表示処理との関
連を示す図である。図87から図90までの図も同様の
趣旨から作図されており、以降これらの図を引用しなが
ら動作説明を行う。
(4-2-7-2) Specific example of user-defined PGC information definition A plurality of originals shown in the dialog screen shown in FIG. 85.
The operation of defining user-defined PGC information from PGC information will be described below. FIG. 86 is a diagram showing the relationship between the manual operation on the remote controller 71 and the display processing performed in accordance with the manual operation. The drawings from FIG. 87 to FIG. 90 are also drawn for the same purpose, and the operation will be described below with reference to these drawings.

【0429】図85に示すように1行1列目に存在するセ
ル#1がフォーカス状態に設定された後、図86(b)に
示すようにENTERキーが操作者により押下されるとステ
ップS205がYesとなり、図82のフロ−チャ−トに
移行する。本フロ−チャ−トのステップS251〜ステ
ップS266において図86(a)に示すようにOrigin
al_PGC#1.CELL#1に基づいて、UserDefined_PGC#1の一番
目のセル情報CELL#1Aを生成する。生成後、ステップS
254において変数nのインクリメントを行い、変数nを
2にしてステップS209を介してステップS203に
移行する。ここで図87(b)に示すように下キーを一
回押下し、図87(c)、図87(d)に示すように右
キーを二回押下すると、ステップS204では、各キー
に割り当てられたフラグのうち、押下されたキーに対応
するものを『1』に設定する。
After the cell # 1 existing in the first row and the first column is set to the focus state as shown in FIG. 85, and the ENTER key is pressed by the operator as shown in FIG. 86 (b), the step S205 Becomes Yes, and the process proceeds to the flowchart in FIG. In step S251 to step S266 of this flowchart, as shown in FIG.
The first cell information CELL # 1A of UserDefined_PGC # 1 is generated based on al_PGC # 1.CELL # 1. After generation, step S
In 254, the variable n is incremented and the variable n is
The value is set to 2, and the process proceeds to step S203 via step S209. When the down key is pressed once as shown in FIG. 87 (b) and the right key is pressed twice as shown in FIGS. 87 (c) and 87 (d), the keys are assigned to each key in step S204. The flag corresponding to the pressed key is set to "1".

【0430】一回目の下キーの押下により、 k=1(=1+1*0-1*0) j=2(=1+1*1-1*0)となり、 一回目の右キーの押下により、 k=2(=1+1*1-1*0) j=2(=2+1*0-1*0) 二回目の右キーの押下により、 k=3(=2+1*1-1*0) j=2(2+1*0-1*0)となって、図87(a)に示すように2
行3列目に位置するセル#7がフォーカス状態となる。
By pressing the down key for the first time, k = 1 (= 1 + 1 * 0-1 * 0) j = 2 (= 1 + 1 * 1-1 * 0), and the right key for the first time is pressed. By pressing, k = 2 (= 1 + 1 * 1-1 * 0) j = 2 (= 2 + 1 * 0-1 * 0) By pressing the right key for the second time, k = 3 (= 2 + 1 * 1-1 * 0) j = 2 (2 + 1 * 0-1 * 0) becomes 2 as shown in Fig. 87 (a).
Cell # 7 located at the third row and the third row is in the focus state.

【0431】2行3列目に存在するセルがフォーカス状態
に設定された後、図88(b)に示すようにENTERキー
が操作者により押下されるとステップS205がYesと
なり、図82のフロ−チャ−トに移行して、オリジナル
PGC情報テーブルにおいて2行3列目に位置するOriginal_
PGC#2.CELL#7に基づいて、UserDefined_PGC#1の二番目
のセル情報CELL#7Aを生成する(図88(a)参照)。
When the operator presses the ENTER key as shown in FIG. 88 (b) after the cell existing in the second row and third column is set to the focus state, step S205 becomes Yes and the flow in FIG. -Changing to the chart, original
Original_ located at the second row and third column in the PGC information table
The second cell information CELL # 7A of UserDefined_PGC # 1 is generated based on PGC # 2.CELL # 7 (see FIG. 88 (a)).

【0432】2番目セル情報を生成した後、以上の処理
が繰り返される。図89(b)に示すようにENTERキー
が操作者により押下されることにより、UserDefined_PG
C#1の三番目のセル情報CELL#11A、四番目のセル情報CEL
L#3Aを生成される。その後、ステップS203に移行し
た時点で操作者が停止キーを押下したものとする。そう
すると停止キーが押下されたことを示すEnd_Flagが
『1』となり、ステップS213に移行する。以上の停
止キーの押下により編集階層化制御部26はユーザ定義
PGC情報#1の定義は終了したものとみなす。ステップS
213では、このユーザ定義PGC情報#1に続くユーザ定
義PGC情報#2を定義するかを操作者に問うものであり、
操作者にその意思があればステップS214において変
数mをインクリメントし、変数nを1に初期化した後、ス
テップS209に移行する。
After the second cell information is generated, the above processing is repeated. When the ENTER key is pressed by the operator as shown in FIG. 89 (b), UserDefined_PG
C # 1 third cell information CELL # 11A, fourth cell information CEL
L # 3A is generated. After that, it is assumed that the operator depresses the stop key at the time of shifting to step S203. Then, End_Flag, which indicates that the stop key is pressed, becomes "1", and the process proceeds to step S213. By pressing the stop key as described above, the editing hierarchy control unit 26 is defined by the user.
It is considered that the definition of PGC information # 1 has been completed. Step S
In 213, the operator is asked whether or not to define the user-defined PGC information # 2 following this user-defined PGC information # 1.
If the operator has the intention, the variable m is incremented in step S214, the variable n is initialized to 1, and the process proceeds to step S209.

【0433】このような処理が繰り返し行われて、図9
1に示すようにCELL#2B,CELL#4B,CELL#10B,CELL#5Bから
なるユーザ定義PGC情報#2が定義され、CELL#3C,CELL#6
C,CELL#8C,CELL#9Cからなるユーザ定義PGC情報#3が定義
されたものとする。図91は、仮編集終了時点における
ユーザ定義PGC情報テーブル、オリジナルPGC情報テーブ
ル、タイトルサーチポインタの内容を示す図である。
[0433] Such processing is repeated, and
As shown in 1, user defined PGC information # 2 consisting of CELL # 2B, CELL # 4B, CELL # 10B and CELL # 5B is defined, and CELL # 3C and CELL # 6.
It is assumed that the user-defined PGC information # 3 including C, CELL # 8C and CELL # 9C has been defined. FIG. 91 is a diagram showing the contents of the user-defined PGC information table, the original PGC information table, and the title search pointer at the end of provisional editing.

【0434】この状態で終了キーが押下されると、図8
1に示すステップS215において図90に示す対話画
面を表示し、上キー、下キーの押下によるユーザ定義PG
C情報の選択待ちと、再生キー押下によるプレビューの
指定待ち、本編集キー押下による本編集の指定待ち、ユ
ーザ定義PGC情報テーブルの記録待ちとなる。ユーザ定
義PGCを記録する旨の操作が行われると、PGC情報テーブ
ルワークエリア24に生成された新規なユーザ定義PGC情
報をその内部に含んだユーザ定義PGC情報テーブルをRTR
W管理ファイルワークエリア24に転送して、RTRW管理
ファイルワークエリア24に読み出されたRTRW管理ファ
イルのうち、ユーザ定義PGC情報テーブルに相当する部
位に書き込む。それと共に、新規に生成されたユーザ定
義PGC情報についてのタイトルサーチポインタをRTRW管
理ファイルワークエリア24に転送してRTRW管理ファイ
ル内に既に存在するタイトルサーチポインタに追記す
る。ユーザ定義PGC情報テーブルの書き込みと、タイト
ルサーチポインタの追記が済むと、RTRW管理ファイルワ
ークエリア24に格納されているRTRW管理ファイルをRT
RWディレクトリィに書き込ませるよう、ファイルシステ
ムコマンドを発行する。
[0434] When the end key is pressed in this state,
90 is displayed in step S215 shown in FIG. 1, and the user-defined PG is displayed by pressing the up key or down key.
Waiting for selection of C information, waiting for preview specification by pressing the playback key, waiting for specification of main editing by pressing the main editing key, and waiting for recording the user-defined PGC information table. When the operation for recording the user-defined PGC is performed, the RTR displays the user-defined PGC information table containing the new user-defined PGC information generated in the PGC information table work area 24.
The file is transferred to the W management file work area 24, and is written in the part corresponding to the user-defined PGC information table in the RTRW management file read in the RTRW management file work area 24. At the same time, the title search pointer for the newly generated user-defined PGC information is transferred to the RTRW management file work area 24 and added to the title search pointer already existing in the RTRW management file. After writing the user-defined PGC information table and adding the title search pointer, the RTRW management file stored in the RTRW management file work area 24
Issue a file system command to write to the RW directory.

【0435】図83は、プレビュー時及び本編集時にお
ける処理内容を示すフロ−チャ−トである。本フロ−チ
ャ−トを参照しながらVOB連結作業のプレビューを行う
際の動作を以下に説明する。図92及び図93は、リモ
コン71に対しての手操作と、その手操作に伴って行わ
れる表示処理との関連を示す図である。
FIG. 83 is a flowchart showing the processing contents at the time of preview and at the time of main editing. The operation for previewing the VOB connecting work will be described below with reference to this flowchart. 92 and 93 are diagrams showing the relationship between the manual operation on the remote controller 71 and the display processing performed in accordance with the manual operation.

【0436】図83のフロ−チャ−トのステップS22
0においてユーザ定義PGC情報テーブルにおける先頭ナ
ンバーを変数jに代入し、ステップS221においてキ
ー操作待ちに入る。キー操作が行われると、ステップS
222では、各キーに割り当てられたフラグのうち、押
下されたキーに対応するものを『1』に設定する。ステ
ップS223では、再生キーが押下されたことを示すフ
ラグ、Play_Flagが1であるかを判定し、ステップS22
4では、本編集キーが押下されたことを示すフラグ、本
編集_Flagが1であるかを判定する。これらのフラグが何
れも『0』である場合、ステップS225において、上
下キーが押下されたことを示すフラグ群であるDown_Fla
g、Upper_Flagを用いて以下の式に示す計算を行い、そ
の計算結果を変数jにそれぞれ代入する。
[0436] Step S22 of the flowchart in Fig. 83.
At 0, the head number in the user-defined PGC information table is assigned to the variable j, and at step S221 a key operation waiting state is entered. When the key operation is performed, step S
At 222, of the flags assigned to each key, the one corresponding to the pressed key is set to "1". In step S223, it is determined whether Play_Flag, which is a flag indicating that the play key has been pressed, is 1, and step S22
In 4, it is determined whether the flag indicating that the main edit key is pressed, the main edit_Flag is 1. When all of these flags are “0”, Down_Fla which is a flag group indicating that the up / down key is pressed in step S225.
The calculation shown in the following formula is performed using g and Upper_Flag, and the calculation result is substituted into the variable j.

【0437】j←j+1*(Down_Flag)-1*(Upper_Flag) 上キーが押下され、Upper_Flagが『1』となれば、変数j
がデクリメントされる。また下キーが押下され、Down_F
lagが『1』となれば、変数jがインクリメントされる。
このようにして変数jが更新された後、ステップS22
6においてj行目に位置するPGC情報に対応する図形をフ
ォーカス表示にし、ステップS227においてリモコン
71に割り当てられた全てのフラグをゼロクリアしてか
らステップS221に移行し、再度キー操作待ちの状態
となる。以上のステップS221〜ステップS227の
処理を繰り返すことにより、リモコン71上のキーの押
下に応じて、前後のユーザ定義PGC情報に対応する図形
がフォーカス状態となる。
J ← j + 1 * (Down_Flag) -1 * (Upper_Flag) If the Up key is pressed and Upper_Flag becomes "1", the variable j
Is decremented. The Down key is pressed again, Down_F
When lag becomes "1", the variable j is incremented.
After the variable j is updated in this way, step S22
In FIG. 6, the graphic corresponding to the PGC information located on the j-th line is displayed in focus, all the flags assigned to the remote controller 71 are cleared to zero in step S227, and then the process proceeds to step S221 to wait for a key operation again. . By repeating the above steps S221 to S227, the figure corresponding to the preceding and following user-defined PGC information is brought into the focus state according to the pressing of the key on the remote controller 71.

【0438】以上の処理が繰り返されている間、何れか
のユーザ定義PGC情報がフォーカス状態に設定された状
態で再生キーが押下されると、Play_Flagが1となり、ス
テップS223がYesとなってステップS228に移行
する。ステップS228では、タイトル再生制御部23
に、ユーザ定義PGCのうち操作者により指定されたPGCに
従ってVOBを再生するよう指示する。操作者により指定
されたPGCがユーザ定義PGCである場合、ユーザ定義PGC
に含まれているセルは、少なくとも一本のVOBにおける
複数の部分区間から、任意の順序で選ばれたものであ
り、このような再生は、第1実施形態、第2実施形態に
示したシームレス再生に必要な条件を満たしていないの
で、セル間では映像表示や音声出力の途切れが発生す
る。しかし複数シーンの連結をプレビューさせるという
目的は一応は達成されているといえる。
[0438] While the above processing is being repeated, if the play key is pressed while any user-defined PGC information is set to the focus state, Play_Flag becomes 1 and step S223 becomes Yes. The process moves to S228. In step S228, the title reproduction control unit 23
To instruct the VOB to be reproduced according to the PGC designated by the operator among the user-defined PGCs. User-defined PGC if the PGC specified by the operator is a user-defined PGC
The cells included in the above are selected in an arbitrary order from a plurality of partial sections in at least one VOB, and such reproduction is performed seamlessly as shown in the first and second embodiments. Since the conditions required for reproduction are not satisfied, video display and audio output are interrupted between cells. However, it can be said that the purpose of previewing the connection of multiple scenes has been achieved for the time being.

【0439】(4-2-7-3)階層化編集のプレビュー時及び
本編集時の処理手順 本編集におけるVOB連結時の動作を以下に説明する。図
94は、リモコン71に対しての手操作と、その手操作
に伴って行われる表示処理との関連を示す図である。操
作者が図94(b)に示すように上キーを押下するとセ
ル#1Aがフォーカスとなり、図94(a)に示す対話画
面がテレビ受像機72に表示される。この状態で図94
(c)に示すように本編集キーが押下されると、本編集
_Flagが『1』となり、図83のステップS224がYes
となって第3実施形態に示した図43のフロ−チャ−ト
におけるステップS8からステップS16までの処理を
行う。
(4-2-7-3) Processing procedure at the time of preview of hierarchical editing and at the time of main editing The operation at the time of connecting VOBs in the main editing will be described below. FIG. 94 is a diagram showing the relationship between the manual operation on the remote controller 71 and the display processing performed in accordance with the manual operation. When the operator presses the up key as shown in FIG. 94 (b), cell # 1A becomes the focus, and the interactive screen shown in FIG. 94 (a) is displayed on the television receiver 72. Fig. 94 in this state
When the main edit key is pressed as shown in (c), the main edit
_Flag becomes “1”, and step S224 of FIG. 83 is Yes.
Therefore, the processing from step S8 to step S16 in the flowchart of FIG. 43 shown in the third embodiment is performed.

【0440】第3実施形態の処理を経た後、図84のス
テップS237に移行する。ステップS237において
変数nを1に設定した後、ステップS238においてUser
Defined_PGC#m.CELL#nの生成元であったOriginal_PGC#
j.CELL#kを検索し、ステップS239においてOriginal
_PGC#jが存在するかを判定する。もし存在する場合、ス
テップS240においてOriginal_PGC#jを削除し、ステ
ップS241においてOriginal_PGC#jを生成元としてい
たUserDefined_PGC#qを検索する。ステップS242で
は、UserDefined_PGC#qが少なくとも1以上存在するかを
判定し、ステップS243においてUserDefined_PGC#q
を全て削除する。ステップS244において変数nがセ
ル情報のラストナンバーであるかを判定して、そうでな
いならステップS245に移行して、ステップS245
において変数nをPGC情報#mにおける次のセル情報に更新
して、ステップS238に移行する。以上のステップS
238〜ステップS245からなるループ処理は、変数
nがPGC情報#qにおけるセル情報のラストナンバーになる
まで繰り返される。
After passing through the processing of the third embodiment, the flow shifts to step S237 in FIG. After the variable n is set to 1 in step S237, User is set in step S238.
Original_PGC # that was the source of Defined_PGC # m.CELL # n
Search j.CELL # k, and in step S239, Original
Determine whether _PGC # j exists. If it exists, the Original_PGC # j is deleted in step S240, and the UserDefined_PGC # q that originally generated the Original_PGC # j is searched in step S241. In step S242, it is determined whether there is at least one UserDefined_PGC # q, and in step S243 UserDefined_PGC # q.
Delete all. In step S244, it is determined whether the variable n is the last number of cell information, and if not, the process proceeds to step S245, and step S245.
In, the variable n is updated to the next cell information in the PGC information #m, and the process proceeds to step S238. Step S above
The loop processing including 238 to step S245 is a variable
It is repeated until n becomes the last number of the cell information in PGC information #q.

【0441】ユーザ定義PGC情報#1により部分区間が指
定されたのはVOB#1、VOB#2、VOB#3の全てであり、これ
らが本編集の対象となったことがわかる。ユーザ定義PG
C情報#1に含まれているセル情報の生成元であるオリジ
ナルPGC情報は、指定先となるVOBが本編集の対象となっ
たので、全て削除されることになる。そのオリジナルPG
C情報を生成元としていたユーザ定義PGC情報も、指定先
となるVOBが本編集の対象となったので、全て削除され
ることになる。
It is understood that the VOB # 1, VOB # 2, and VOB # 3 all specify the partial section by the user-defined PGC information # 1, and these are the targets of the main editing. User-defined PG
The original PGC information, which is the generation source of the cell information included in the C information # 1, is deleted because the designated VOB is the target of this editing. Its original PG
The user-defined PGC information that was the source of the C information is also deleted because the VOB that is the designated destination is the target of this editing.

【0442】ステップS244がYesとなってステップ
S246に移行すると、オリジナルPGC情報の削除によ
って得られた空きPGC番号のうち、最も若い番号であるP
GC番号#eを取得する。取得後、ステップS247におい
てMERGE後のAVファイルに付与されたAVファイルIDと、V
OB_IDとでセル情報を更新し、その後、ステップS24
8においてUserDefined_PGC#qのPGC番号をPGC番号#eに
更新し、タイトルサーチポインタにおけるタイプ情報を
オリジナルタイプに更新する。
[0442] If step S244 becomes Yes and the process proceeds to step S246, P, which is the smallest number among the free PGC numbers obtained by deleting the original PGC information, is set.
Get the GC number #e. After acquisition, the AV file ID given to the AV file after MERGE in step S247 and V
The cell information is updated with OB_ID, and then step S24
In 8, the PGC number of UserDefined_PGC # q is updated to PGC number #e, and the type information in the title search pointer is updated to the original type.

【0443】図95は、本編集に伴ってオリジナルPGC
情報-ユーザ定義PGC情報の削除処理がなされた後のPGC
情報テーブル及びタイトルサーチポインタの一例を示す
図である。ユーザ定義PGC情報#1により部分区間が指定
されたVOB#1、VOB#2、VOB#3が本編集の対象となったた
め、これらの部分区間を指定していたオリジナルPGC情
報#1、オリジナルPGC情報#2、オリジナルPGC情報#3、ユ
ーザ定義PGC情報#2、ユーザ定義PGC情報#3が既に削除さ
れているが、かつてのユーザ定義PGC情報#1がオリジナ
ルPGC情報#1として定義されていることがわかる。
FIG. 95 shows the original PGC accompanying this editing.
Information-PGC after deletion process of user-defined PGC information is done
It is a figure which shows an example of an information table and a title search pointer. VOB # 1, VOB # 2, and VOB # 3 whose subsections were specified by user-defined PGC information # 1 were subject to this editing, so the original PGC information # 1 and original PGC that specified these subsections Information # 2, original PGC information # 3, user-defined PGC information # 2, and user-defined PGC information # 3 have already been deleted, but former user-defined PGC information # 1 is defined as original PGC information # 1. I understand.

【0444】以上のようにしてPGC情報テーブルワーク
エリア24にPGC情報の更新が行われると、更新後のオリ
ジナルPGC情報をRTRW管理ファイルワークエリア24に
転送して、RTRW管理ファイルワークエリア24に読み出
されたRTRW管理ファイルを上書きする。それと共に、新
規に生成されたオリジナルPGC情報についてのタイトル
サーチポインタをRTRW管理ファイルワークエリア24に
転送してRTRW管理ファイル内に既に存在するタイトルサ
ーチポインタを上書きする。
When the PGC information is updated in the PGC information table work area 24 as described above, the updated original PGC information is transferred to the RTRW management file work area 24 and read into the RTRW management file work area 24. Overwrite the issued RTRW management file. At the same time, the title search pointer for the newly generated original PGC information is transferred to the RTRW management file work area 24 to overwrite the title search pointer already existing in the RTRW management file.

【0445】ユーザ定義PGC情報テーブル−タイトルサ
ーチポインタの上書きが済むと、RTRW管理ファイルワー
クエリア24に格納されているRTRW管理ファイルをRTRW
ディレクトリィに書き込ませるよう、ファイルシステム
コマンドを発行する。以上のように本実施形態によれ
ば、AVデータ内の部分区間のうち編集素材として適切な
ものをユーザ定義セル情報を用いて指定し、それらを自
在に配列することにより、再生順序を仮決めすることが
できる。
[0445] User-defined PGC information table-When the title search pointer is overwritten, the RTRW management file stored in the RTRW management file work area 24 is changed to RTRW.
Issue a file system command to write to the directory. As described above, according to the present embodiment, among the partial sections in the AV data, an appropriate editing material is designated by using the user-defined cell information, and by arranging them freely, the playback order is provisionally determined. can do.

【0446】編集成果物の再生順序を決めたい場合に、
一旦VOBを試作しないで済むので映像編集が短期間で手
軽に行える。試作物を一時的に記録媒体に記録しないで
済むので、記録媒体の容量がそれほど大きくなくてもよ
い。ユーザ定義PGC情報の定義のみでシーン連結の仮決
めが行えるので、僅かな期間において多くの再生順序の
バリエーションを作成することができる。ユーザ定義セ
ル情報はVOB内の部分区間を時刻情報を用いて指定する
ので、VOBはその記録時の状態を維持することができ
る。
When it is desired to determine the reproduction order of the edited products,
Video editing can be done easily in a short period of time because you do not have to prototype a VOB once. Since it is not necessary to temporarily record the prototype on the recording medium, the capacity of the recording medium need not be so large. Since the scene connection can be provisionally determined only by defining the user-defined PGC information, many variations of the reproduction order can be created in a short period. Since the user-defined cell information specifies a partial section in the VOB by using the time information, the VOB can maintain the state at the time of recording.

【0447】相異なる再生順序を有するユーザ定義PGC
情報を複数作成してみて、それらをプレビューすること
により、複数候補からの絞り込み作業を行うことができ
る。絞り込みの結果、特に納得がゆく再生が行われたも
のを本編集の対象に選び、複数候補からの絞り込まれた
ユーザ定義PGC情報に従ってVOBの加工を行うので、既に
光ディスクに記録されているVOBを直接書き換えるよう
な大胆な映像編集が行われ、元のVOBが光ディスクから
消滅したとしてもこれが悔やまれることはない。
User-defined PGC with different playback order
By creating a plurality of pieces of information and previewing them, it is possible to narrow down the work from a plurality of candidates. As a result of the narrowing down, the one that has been particularly satisfied with the playback is selected as the target of this editing, and the VOB is processed according to the user-defined PGC information narrowed down from a plurality of candidates. Even if the original VOB disappears from the optical disc due to a bold video editing that directly rewrites it, it will not be regretted.

【0448】本編集がなされた後、タイトルサーチポイ
ンタにおいて本編集の対象とされたユーザ定義PGC情報
のタイトルタイプをオリジナルPGC情報に設定するの
で、これをベースにしてまた新たに映像編集を開始する
ことができる。たった一枚の光ディスクと一台のビデオ
データ編集装置で、複数候補からより良いものを絞り込
んでゆくという高度な映像編集を実現することができる
ので、それまで映像編集を高嶺の花のように考えていた
一般家庭のビデオ愛好家が映像編集に実際チャレンジで
きるようになり、多くの人々の創作意欲を刺激すること
ができる。
After the main editing is performed, the title type of the user-defined PGC information targeted for the main editing is set in the title search pointer to the original PGC information, so that a new video editing is started based on this. be able to. With only one optical disk and one video data editing device, it is possible to realize advanced video editing by narrowing down the better ones from multiple candidates, so until then we thought of video editing as a flower of Takamine. The video enthusiasts, who used to be ordinary households, can now actually take up the challenge of video editing, and can stimulate the creative motivation of many people.

【0449】尚、VOBとオリジナルPGC情報との比率とし
ては、1つのVOBにつきオリジナルPGC情報を1つ設ける
のが望ましい。また、セル情報のマークから時刻情報を
抜き出し、タイムマップテーブルからアドレスなどの情
報を抜き出して、テーブルで管理することにより初期状
態画面などで表示を行いユーザへの選択補助情報として
も良い。
As the ratio of VOB and original PGC information, it is desirable to provide one original PGC information for each VOB. Further, the time information may be extracted from the cell information mark, the information such as the address may be extracted from the time map table, and may be displayed on the initial state screen or the like by managing in the table to serve as selection assistance information for the user.

【0450】更に、各マークの縮小画像を作成し、これ
らを別ファイルに記録を行い、これら縮小画像へのポイ
ンタ情報を各マークに持たせ、初期状態などでセル情報
を表示する際の補助情報としても良い。最後に第4実施
形態でフローチャートを参照して説明したタイトル再生
制御部23の手順(図78)、編集階層化制御部26の
手順(図81〜図84)、等を機械語プログラムにより
実現し、これを記録媒体に記録して流通・販売の対象に
しても良い。このような記録媒体には、ICカードや光デ
ィスク、フロッピーディスク等があるが、これらに記録
された機械語プログラムは汎用コンピュータにインスト
ールされることにより利用に供される。この汎用コンピ
ュータは、インストールした機械語プログラムを逐次実
行して、本実施形態に示したビデオデータ編集装置の機
能を実現するのである。
Further, a reduced image of each mark is created, these are recorded in a separate file, pointer information for these reduced images is given to each mark, and auxiliary information for displaying cell information in the initial state or the like. Also good. Finally, the procedure of the title reproduction control section 23 (FIG. 78), the procedure of the editing hierarchy control section 26 (FIGS. 81 to 84), etc. described with reference to the flowchart in the fourth embodiment are realized by a machine language program. Alternatively, the data may be recorded in a recording medium and may be distributed or sold. Such recording media include IC cards, optical disks, floppy disks, etc., but the machine language programs recorded in these are provided for use by being installed in a general-purpose computer. This general-purpose computer sequentially executes the installed machine language program to realize the function of the video data editing apparatus shown in this embodiment.

【0451】[0451]

【発明の効果】以上説明してきたように本発明によれ
ば、光ディスクにおけるオリジナルタイプのチェーン情
報が、ビデオオブジェクトの配列順序に忠実な順序で部
分区間を再生するよう指定することができ、ユーザ定義
タイプのチェーン情報は、ビデオオブジェクトに含まれ
る複数部分区間に対して映像編集作業において仮決めさ
れた再生順序を指定することができる。
As described above, according to the present invention, it is possible to specify that the chain information of the original type on the optical disk reproduces the sub-sections in the order faithful to the arrangement order of the video objects, and is defined by the user. The type chain information can specify a playback order provisionally determined in the video editing work for a plurality of partial sections included in the video object.

【0452】またオリジナルタイプのチェーン情報は、
ビデオデータ編集装置がユーザ定義タイプのチェーン情
報に従ってデータ領域のビデオオブジェクトを加工した
際、又は、データ領域のビデオオブジェクト上書きした
際に確定されるべき最終的な再生順序を指定させること
もできる。チェーン情報は、映像編集作業においてこれ
らの用途で用いられるので、操作者はユーザ定義タイプ
チェーン情報の定義により頭の中で想像したイメージ通
りに再生順序を仮決めすることができ、ユーザ定義タイ
プチェーン情報に基づく再生により、その仮決めした順
序でどのような再生映像が表示されるかを確認すること
ができる。
The original type chain information is
It is also possible to specify the final playback order that should be determined when the video data editing device processes the video objects in the data area according to the chain information of the user-defined type or overwrites the video objects in the data area. Since the chain information is used for these purposes in video editing work, the operator can tentatively decide the playback order according to the image imagined in the head by defining the user-defined type chain information. By the reproduction based on the information, it is possible to confirm what kind of reproduced video is displayed in the temporarily decided order.

【0453】ユーザ定義タイプチェーン情報の定義によ
り、再生順序の仮決め作業は短期間で手軽に行える。ま
たユーザ定義タイプチェーン情報のデータサイズは僅か
なので、不用意にデータ領域に記録されているビデオオ
ブジェクトを上書きすることもない。データ領域に記録
されているビデオオブジェクトが子供の入学式、運動
会、家族旅行、卒業式等の記念行事を記録した貴重な映
像等であっても、これらの映像は上書きされることはな
く、これらの映像が記録された記録媒体に対して安心し
て再生順序の仮決めを行うことができる。
By defining the user-defined type chain information, the work of temporarily determining the reproduction order can be easily performed in a short period of time. Also, since the data size of the user-defined type chain information is small, the video object recorded in the data area is not accidentally overwritten. Even if the video object recorded in the data area is a valuable image recording a commemorative event such as a child's entrance ceremony, athletic meet, family trip, graduation ceremony, etc., these images will not be overwritten. It is possible to tentatively determine the reproduction order for the recording medium on which the video of FIG.

【0454】ユーザ定義タイプチェーン情報を複数定義
して、これらの中から特に納得がゆく再生が行われたも
のを本編集のための加工対象に選べば、既に光ディスク
に記録されているビデオオブジェクトを直接書き換える
ような大胆な映像編集が行われ、元のビデオオブジェク
トが光ディスクから消滅したとしてもこれが悔やまれる
ことはない。
If a plurality of user-defined type chain information items are defined and a particularly satisfying playback is selected as a processing target for the main editing, a video object already recorded on the optical disc is selected. Even if the original video object is erased from the optical disc due to a bold video editing that directly rewrites it, it will not be regretted.

【0455】ここで1つ以上のユーザ定義タイプチェー
ン情報のうち、何れかは本編集対象として指定され、デ
ータ領域に記録されているファイルは、何れかのユーザ
定義タイプチェーン情報が本編集対象として指定された
際、ユーザ定義タイプチェーン情報にて指定された全て
の部分区間の境界部がビデオオブジェクトの開始位置−
終了位置になるように加工される。
Here, one or more of the user-defined type chain information is designated as the main editing target, and for the file recorded in the data area, one of the user-defined type chain information is the main editing target. When specified, the boundary of all the sub-sections specified by the user-defined type chain information is the start position of the video object −
It is processed to reach the end position.

【0456】また、何れかのユーザ定義タイプチェーン
が本編集対象として指定された際、インデックス領域に
記録されているオリジナルタイプチェーン情報及び他の
ユーザ定義タイプチェーン情報は削除され、その本編集
対象として指定されたユーザ定義タイプチェーン情報が
オリジナルタイプチェーン情報に変換される。前記オリ
ジナルタイプチェーン情報及びユーザ定義タイプチェー
ン情報は何れも複数のセル情報からなるセル情報列であ
り、前記インデックス領域は更に、各セル情報列の識別
情報と、第1の値に設定されることによりその識別情報
により指示されるセル情報列がオリジナルタイプチェー
ン情報である旨を示し、第2の値に設定されることによ
りその識別情報により指示されるセル情報列がユーザ定
義タイプチェーン情報である旨を示すフラグからなるフ
ラグ群とが記録されたサーチポインタ領域とを備え、前
記フラグ群において第2の値に設定されたフラグは、そ
のフラグに対応するユーザ定義タイプチェーン情報が本
編集対象に指定された際、第2の値から第1の値に更新
される。
When any user-defined type chain is designated as the main editing target, the original type chain information and other user-defined type chain information recorded in the index area are deleted and set as the main editing target. The specified user-defined type chain information is converted into original type chain information. Each of the original type chain information and the user-defined type chain information is a cell information string composed of a plurality of cell information, and the index area is further set to identification information of each cell information string and a first value. Indicates that the cell information sequence indicated by the identification information is the original type chain information, and the cell information sequence indicated by the identification information by setting the second value is the user-defined type chain information. And a search pointer area in which a flag group including a flag indicating that is recorded is recorded, and the flag set to the second value in the flag group has the user-defined type chain information corresponding to the flag set as the main editing target. When specified, the second value is updated to the first value.

【0457】セル情報の再生指示を受け付けると、再生
開始時刻情報と、再生終了時刻情報との組と、マッピン
グ情報とをインデックス領域から読み出し、再生開始時
刻情報、再生終了時刻情報を用いてマッピング情報を検
索することにより、再生開始時刻情報にて示されるピク
チャデータを含む先端ビデオオブジェクトユニットの記
録位置と、再生終了時刻情報にて示されるピクチャデー
タを含む終端ビデオオブジェクトユニットの記録位置と
を特定するアクセス位置特定手段と、特定された記録位
置間に記録されているビデオオブジェクトユニット列を
読み出す読出手段とを備え読み出されたビデオオブジェ
クトユニット列をデコードすると共に、前記セル情報に
相当する部分区間の境界部がビデオオブジェクトユニッ
トの開始位置−終了位置に一致していない場合、そのデ
コード結果のうち、セル情報が示している最初のビデオ
フィールドから最後のフィールドまでを出力し、それ以
外のデコード結果の出力を禁止するデコード手段とを備
えるビデオデータ編集装置によれば、セル情報は、編集
対象として用いるべき部分区間をビデオフィールドの時
間精度で特定するので、高い時間精度で編集対象として
用いるべき部分区間を特定することができる。
When the reproduction instruction of the cell information is received, a set of reproduction start time information and reproduction end time information and mapping information are read out from the index area, and the mapping information is reproduced using the reproduction start time information and the reproduction end time information. By specifying the recording position of the leading video object unit including the picture data indicated by the reproduction start time information and the recording position of the ending video object unit including the picture data indicated by the reproduction end time information. An access position specifying means and a reading means for reading the video object unit sequence recorded between the specified recording positions are provided, and the read video object unit sequence is decoded and the partial section corresponding to the cell information is decoded. The boundary is the start position-end of the video object unit. If the position does not match, the video data having decoding means for outputting the first video field to the last field of the decoding result and for inhibiting the decoding of other decoding results According to the editing device, since the cell information specifies the partial section to be used as the editing target with the time accuracy of the video field, it is possible to specify the partial section to be used as the editing target with high time accuracy.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明の実施形態における記録可能な光ディ
スクであるDVD-RAMディスクの外観を示す図である。
FIG. 1 is a diagram showing an external appearance of a DVD-RAM disc which is a recordable optical disc according to an embodiment of the present invention.

【図2】(a) 記録領域を表した図である。 (b) セクタレベルに切り出したDVD-RAMの断面及び
表面を示す図である。
FIG. 2A is a diagram showing a recording area. (B) It is a figure which shows the cross section and surface of DVD-RAM cut out to the sector level.

【図3】(a) DVD-RAMにおけるゾーン領域0〜23
その他を示す図である。 (b) ゾーン領域0〜23その他を横方向に配置した
説明図である。 (c) ボリューム空間における論理セクタ番号(LS
N)を示す図である。 (d) ボリューム空間における論理ブロック番号(LB
N)を示す図である。
FIG. 3 (a) Zone areas 0 to 23 in DVD-RAM
It is a figure which shows other. (B) It is explanatory drawing which arrange | positioned zone area | region 0-23 etc. in the horizontal direction. (C) Logical sector number (LS
It is a figure which shows N). (D) Logical block number (LB
It is a figure which shows N).

【図4】(a) ボリューム領域にどのような内容のデ
ータが記録されているかを示す図である。 (b) MPEG規格で規定されたデータ定義の階層構造を
示す図である。
FIG. 4A is a diagram showing what kind of content data is recorded in a volume area. (B) It is a figure which shows the hierarchical structure of the data definition prescribed | regulated by the MPEG standard.

【図5】(a) 表示順序に配置された複数のピクチャ
データと、符号化順序に配置された複数のピクチャデー
タを示す図である。 (b) オーディオフレームとオーディオデータとの対
応を示す図である。
5A is a diagram showing a plurality of picture data arranged in a display order and a plurality of picture data arranged in a coding order. FIG. (B) It is a figure which shows the correspondence of an audio frame and audio data.

【図6】(a) VOBのデータ構造を論理的フォーマッ
トを段階的に詳細化した図である。 (b) 図6(b)は、VOBが部分削除される様子の一
例を示す図である。 (c) VOBUの先頭に配されるビデオパックの論理フォ
ーマットを示す図である。 (d) VOBUにおいて先頭以外に配されるビデオパック
の論理フォーマットを示す図である。 (e) オーディオパックの論理フォーマットを示す図
である。 (f) パックヘッダの論理フォーマットを示す図であ
る。 (g) システムヘッダの論理フォーマットを示す図で
ある。 (h) パケットヘッダの論理フォーマットを示す図で
ある。
FIG. 6A is a diagram in which the logical format of the VOB data structure is stepwise detailed. (B) FIG.6 (b) is a figure which shows an example of a mode that VOB is partially deleted. (C) It is a figure which shows the logical format of the video pack arrange | positioned at the head of VOBU. (D) It is a figure which shows the logical format of the video pack arrange | positioned other than the head in VOBU. (E) It is a figure which shows the logical format of an audio pack. (F) It is a figure which shows the logical format of a pack header. (G) It is a figure which shows the logical format of a system header. (H) It is a figure which shows the logical format of a packet header.

【図7】(a) ビデオフレームと、ビデオバッファに
おけるバッファ占有量とを示す図である。 (b) オーディオフレームと、オーディオバッファに
おける理想的なバッファ状態を示す図である。 (c) オーディオフレームと、オーディオバッファに
おける現実的なバッファ状態を示す図である。 (d) 各ピクチャデータの転送時間をより詳細に説明
するための説明図である。
FIG. 7A is a diagram showing a video frame and a buffer occupancy amount in the video buffer. (B) It is a figure which shows an audio frame and the ideal buffer state in an audio buffer. (C) It is a figure which shows an audio frame and a realistic buffer state in an audio buffer. (D) It is explanatory drawing for demonstrating the transfer time of each picture data in detail.

【図8】(a) 各オーディオフレームにて再生される
べきオーディオデータを格納したオーディオパックと、
各ビデオフレームにて再生されるべきピクチャデータを
格納したビデオパックとをどのように格納すればよいか
を示す図である。 (b) 図8(a)における表記を説明する図である。
FIG. 8A is an audio pack storing audio data to be reproduced in each audio frame;
It is a figure which shows how to store the video pack which stored the picture data which should be reproduced in each video frame. (B) It is a figure explaining the notation in Fig.8 (a).

【図9】 複数オーディオフレームにて再生されるべき
オーディオデータを格納したオーディオパックと、各ビ
デオフレームにて再生されるべきピクチャデータを格納
したビデオパックとをどのように格納すればよいかを示
す図である。
FIG. 9 shows how to store an audio pack storing audio data to be reproduced in a plurality of audio frames and a video pack storing picture data to be reproduced in each video frame. It is a figure.

【図10】(a) ビデオストリームの先端部における
バッファ状態を示す図である。 (b) ビデオストリームの終端部におけるバッファ状
態を示す図である。 (c) VOB間のバッファ状態を示す図であり、その終
端部に図10(b)に示すバッファ状態を有するビデオ
ストリームと、その先端部に図10(a)に示すバッフ
ァ状態を有するビデオストリームとをシームレス接続す
る場合のバッファ状態を示す。
FIG. 10A is a diagram showing a buffer state at the leading end of a video stream. (B) It is a figure which shows the buffer state in the terminal part of a video stream. FIG. 11C is a diagram showing a buffer state between VOBs, in which a video stream having the buffer state shown in FIG. 10B at its end and a video stream having the buffer state shown in FIG. 10A at its tip. The buffer status when seamlessly connecting and is shown.

【図11】(a) VOBに含まれているビデオパックのS
CRを、ビデオパックの配列順にプロットして描画したグ
ラフである。 (b) 区間BのSCRの初期値と、区間AのSCRの最終値と
が一致している一例を示す図である。 (c) 区間CのSCRの初期値が区間DのSCRを示す直線の
最終値より高い一例を示す図である。 (d) 区間EのSCRの終了値が区間FのSCRを示す直線の
初期値より高い一例を示す図である。 (e) 図11(a)に示したタイムスタンプの連続性
を示すグラフを、2つのVOBについて記述した図であ
る。
FIG. 11 (a) S of a video pack included in VOB
It is the graph which plotted and drawn CR in the arrangement order of a video pack. (B) It is a figure which shows an example in which the initial value of SCR of area B and the final value of SCR of area A match. (C) A diagram showing an example in which the initial value of the SCR in section C is higher than the final value of the straight line showing the SCR in section D. (D) A diagram showing an example in which the end value of the SCR in the section E is higher than the initial value of the straight line showing the SCR in the section F. (E) It is a figure which described the graph which shows the continuity of the time stamp shown in FIG. 11 (a) about two VOBs.

【図12】(a) RTRW管理ファイルの収録内容を段階
的に詳細化した図である。 (b) PTM記述フォーマットを示す図である。 (c) オーディオギャップ位置情報のデータ構造を示
す図である。
FIG. 12A is a diagram in which the recorded contents of the RTRW management file are detailed step by step. (B) It is a figure which shows a PTM description format. (C) It is a figure which shows the data structure of audio gap position information.

【図13】 バッファ占有量を前部VOB−後部VOB毎に表
したグラフである。
FIG. 13 is a graph showing a buffer occupancy amount for each of front VOB and rear VOB.

【図14】(a) ビデオフレーム、オーディオフレー
ムの一例を示す図である。 (b) VOBの先端部においてピクチャデータの再生時
刻とオーディオデータの再生時刻とを揃えようとしたた
め、ピクチャデータ、オーディオデータの終端部に時間
差g1が現れた状態を示す図である。 (c) 図14(b)に示したVOB#1の終端部に位置す
るオーディオデータy-2,y-1,yと、Padding-Packetとを
含むオーディオギャップを含んだオーディオパックG3を
示し、VOB#2の先端部に位置するオーディオデータu,u+
1,u+2を含むオーディオパックG4を示す図である。 (d) オーディオギャップを含んだオーディオパック
G3がVOB#2の先端部に位置するVOBU#1、VOBU#2、VOBU#3
のうち何れかに配置されることを示す説明図である。
FIG. 14A is a diagram showing an example of a video frame and an audio frame. (B) It is a diagram showing a state in which a time difference g1 appears at the end of picture data and audio data because the reproduction time of picture data and the reproduction time of audio data are attempted to be aligned at the tip of the VOB. (C) shows an audio pack G3 including an audio gap including audio data y-2, y-1, y located at the end of VOB # 1 shown in FIG. 14 (b) and Padding-Packet, Audio data u, u + located at the tip of VOB # 2
It is a figure which shows the audio pack G4 containing 1, u + 2. (D) Audio pack including audio gap
VOBU # 1, VOBU # 2, VOBU # 3 where G3 is located at the tip of VOB # 2
It is explanatory drawing which shows that it is arrange | positioned in any of these.

【図15】(a)〜(d) シームレスに再生されるべ
きVOB#1−VOB#2のうち、VOB#2の先端部に位置するVOBU
が削除された場合の、オーディオギャップの再作成手順
を示す説明図である。
15A to 15D are VOBUs located at the tip of VOB # 2 among VOB # 1-VOB # 2 that should be seamlessly reproduced.
FIG. 6 is an explanatory diagram showing a procedure for recreating an audio gap when is deleted.

【図16】 本実施形態におけるビデオデータ編集装置
を用いたシステムの構成例を示す図である。
FIG. 16 is a diagram showing a configuration example of a system using the video data editing device according to the present embodiment.

【図17】 DVDレコーダ70のハードウェア構成を示
すブロック図である。
FIG. 17 is a block diagram showing a hardware configuration of a DVD recorder 70.

【図18】 MPEGエンコーダ2の構成を示すブロック図
である。
FIG. 18 is a block diagram showing a configuration of an MPEG encoder 2.

【図19】 MPEGデコーダ4の構成を示すブロック図で
ある。
FIG. 19 is a block diagram showing the structure of an MPEG decoder 4.

【図20】 スイッチSW1〜スイッチSW4の切り換えタイ
ミングを示すタイミングチャートである。
FIG. 20 is a timing chart showing switching timings of the switches SW1 to SW4.

【図21】 シームレス加工を行うための加工モジュー
ルの処理手順を示すフローチャートである。
FIG. 21 is a flowchart showing a processing procedure of a processing module for performing seamless processing.

【図22】 シームレス加工を行うための加工モジュー
ルの処理手順を示すフローチャートである。
FIG. 22 is a flowchart showing a processing procedure of a processing module for performing seamless processing.

【図23】(a)(b) 各オーディオパックに基づい
て、バッファ状態を解析する様子を示す説明図である。 (c) ステップS106において前部VOBから読み出
されるべき読出範囲を示す図である。 (d) ステップS107において後部VOBから読み出
されるべき読出範囲を示す図である。
23 (a) and 23 (b) are explanatory diagrams showing how a buffer state is analyzed based on each audio pack. (C) It is a figure which shows the read range which should be read from front VOB in step S106. (D) It is a figure which shows the read range which should be read from the back VOB in step S107.

【図24】(a) 図22において用いられているオー
ディオフレームx,x+1,y,u,u+1,u+2がオーディオストリ
ームのどのオーディオフレームに対応するかを示す図で
ある。 (b) FIRST_SCR+STC_offsetが前部VOBのオーディオ
フレーム境界と一致する場合を示す図である。。 (c) ビデオ再生開始時刻VOB_V_S_PTM+STC_offsetが
前部VOBのオーディオフレーム境界と一致する場合を示
す図である。 (d) オーディオフレームyの再生終了時刻と、後部V
OBのオーディオフレーム境界が一致する場合を示す図で
ある。
24 (a) is a diagram showing to which audio frame of the audio stream the audio frames x, x + 1, y, u, u + 1, u + 2 used in FIG. 22 correspond. (B) is a diagram showing a case where FIRST_SCR + STC_offset matches an audio frame boundary of a front VOB. . (C) is a diagram showing a case where the video reproduction start time VOB_V_S_PTM + STC_offset matches the audio frame boundary of the front VOB. (D) Playback end time of audio frame y and rear V
It is a figure which shows the case where the audio frame boundary of OB corresponds.

【図25】 複数のオーディオフレームにて再生される
べき複数オーディオデータを格納したオーディオパック
と、各ビデオフレームにて再生されるべきピクチャデー
タを格納したビデオパックとがどのように多重されるか
を示す図である。
FIG. 25 shows how an audio pack storing a plurality of audio data to be reproduced in a plurality of audio frames and a video pack storing picture data to be reproduced in each video frame are multiplexed. FIG.

【図26】 C_V_S_PTM,C_V_E_PTMという一組の時刻情
報を用いて特定されたVOBの部分区間の一例を示す図で
ある。
[Fig. 26] Fig. 26 is a diagram illustrating an example of a partial section of a VOB specified using a set of time information C_V_S_PTM and C_V_E_PTM.

【図27】(a)ステップS106において前部セルか
ら読み出されるべき読出範囲を示す図である。 (b)ステップS107において後部セルから読み出さ
れるべき読出範囲を示す図である。
FIG. 27 (a) is a diagram showing a read range to be read from the front cell in step S106. (B) It is a figure which shows the read range which should be read from a back cell in step S107.

【図28】(a) VOBUの途中に編集境界が定められた
セル情報同士を連結する一例である。 (b) 表示順序、符号化順序を正当化するため、GOP
構造の再構築時における3つのルールに従った処理を示
す図である。
FIG. 28 (a) is an example of connecting cell information having edit boundaries defined in the middle of a VOBU. (B) To justify the display order and coding order, GOP
It is a figure which shows the process according to three rules at the time of structure reconstruction.

【図29】(a) 前部セルのピクチャタイプ変更時に
おける処理手順を示す図である。 (b) 前部セルのピクチャタイプ変更に伴うバッファ
占有量の増加量βを予測する手順を示す説明図である。
FIG. 29 (a) is a diagram showing a processing procedure when changing a picture type of a front cell. (B) It is explanatory drawing which shows the procedure which predicts the increase amount (beta) of the buffer occupation amount accompanying the picture type change of a front cell.

【図30】(a) 後部セルのピクチャタイプ変更時に
おける処理手順を示す図である。 (b) 後部セルのピクチャタイプ変更に伴うバッファ
占有量の増加量αを予測する手順を示す説明図である。
FIG. 30A is a diagram showing a processing procedure when changing a picture type of a rear cell. (B) It is explanatory drawing which shows the procedure which predicts the increase amount (alpha) of the buffer occupation amount accompanying the picture type change of a back cell.

【図31】 シームレス加工を行うための加工モジュー
ルの処理手順を示すフローチャートである。
FIG. 31 is a flowchart showing a processing procedure of a processing module for performing seamless processing.

【図32】 シームレス加工を行うための加工モジュー
ルの処理手順を示すフローチャートである。
FIG. 32 is a flowchart showing a processing procedure of a processing module for performing seamless processing.

【図33】 シームレス加工を行うための加工モジュー
ルの処理手順を示すフローチャートである。
FIG. 33 is a flowchart showing a processing procedure of a processing module for performing seamless processing.

【図34】 図31のフロ−チャ−トにおいて用いられ
ているオーディオフレームx,x+1,yがオーディオストリ
ームのどのオーディオフレームに対応するかを示す図で
ある。
FIG. 34 is a diagram showing which audio frame of the audio stream the audio frame x, x + 1, y used in the flowchart of FIG. 31 corresponds to.

【図35】 階層的なディレクトリ構造を示す図であ
る。
FIG. 35 is a diagram showing a hierarchical directory structure.

【図36】 ファイルシステム用管理情報のうち、図6
中のセクタ管理テーブル、AVブロック管理テーブル以外
の情報を説明するための図である。
[Fig. 36] Fig. 6 of the file system management information
It is a figure for explaining information other than the sector management table and AV block management table in the inside.

【図37】 図6の矢線が示すリンク関係をディレクト
リ構造に沿って示した図である。
FIG. 37 is a diagram showing a link relationship indicated by arrows in FIG. 6 along a directory structure.

【図38】(a) ファイルエントリのさらに詳細なデ
ータ構成を示す図である。 (b) アロケーション記述子のデータ構造を示す図で
ある。 (c) エクステント長を示すデータの上位2ビットに
よる記録状況を示す図である。
FIG. 38 (a) is a diagram showing a more detailed data structure of a file entry. (B) It is a figure which shows the data structure of an allocation descriptor. FIG. 6C is a diagram showing a recording state of upper 2 bits of data indicating an extent length.

【図39】(a) ディレクトリ用ファイル識別記述子
の詳細なデータ構成を示す図である。 (b) ファイル用ファイル識別記述子の詳細なデータ
構成を示す図である。
FIG. 39 (a) is a diagram showing a detailed data structure of a file identification descriptor for a directory. (B) It is a figure which shows the detailed data structure of the file identification descriptor for files.

【図40】 DVD-RAMから読み出されたAVデータがトラ
ックバッファにバッファリングされる様子をモデル化し
た図である。
[Fig. 40] Fig. 40 is a diagram modeling how AV data read from a DVD-RAM is buffered in a track buffer.

【図41】 DVDレコーダ70の構成を機能別に示した
機能ブロック図である。
FIG. 41 is a functional block diagram showing the configuration of the DVD recorder 70 by function.

【図42】録画・編集・再生制御部12の制御下において
テレビ受像機72に表示される対話画面の一例を示す図
である。
42 is a diagram showing an example of an interactive screen displayed on the television receiver 72 under the control of the recording / editing / playback control unit 12. FIG.

【図43】録画・編集・再生制御部12による仮編集、本
編集の処理手順を表したフロ−チャ−トである。
FIG. 43 is a flowchart showing the procedure of temporary editing and main editing by the recording / editing / playback control unit 12.

【図44】(a)〜(f)図43のフロ−チャ−トでの
AVデータ編集部15の処理を補足説明するための説明図
である。
44 (a) to (f) in the flowchart of FIG. 43.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV data editing unit 15.

【図45】(a)〜(e)図43のフロ−チャ−トでの
AVデータ編集部15の処理を補足説明するための説明図
である。
45 (a) to (e) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV data editing unit 15.

【図46】(a)〜(f)図43のフロ−チャ−トでの
AVデータ編集部15の処理を補足説明するための説明図
である。
46 (a) to (f) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV data editing unit 15.

【図47】(a)エクステント、メモリ内データの時間
的関係を示す図である。 (b)エクステント、In領域と、Out領域の位置関係を
示す図である。
FIG. 47 (a) is a diagram showing a temporal relationship between extents and in-memory data. FIG. 7B is a diagram showing a positional relationship between extents, In areas, and Out areas.

【図48】(a)「SPLIT」コマンド遂行時のAVファイ
ルシステム部11の処理内容を示すフロ−チャ−トであ
る。 (b)SHORTENコマンドの発行時の処理内容を示すフロ
ーチャートである。
FIG. 48 (a) is a flowchart showing the processing contents of the AV file system unit 11 when executing the “SPLIT” command. (B) It is a flowchart which shows the processing content at the time of issuing a SHORTEN command.

【図49】MERGEコマンドの発行時の処理内容を示すフ
ローチャートである。
FIG. 49 is a flowchart showing the processing contents when a MERGE command is issued.

【図50】先行エクステントがAVブロック長未満、後続
エクステントがAVブロック長以上の場合のフローチャー
トである。
[Fig. 50] Fig. 50 is a flowchart when the preceding extent is less than the AV block length and the subsequent extent is greater than or equal to the AV block length.

【図51】(a)〜(b)図50のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
51 (a)-(b) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図52】(a)〜(c)図50のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
52 (a) to (c) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図53】(a)〜(d)図50のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
FIG. 53 (a) to (d) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図54】(a)〜(d)図50のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
54 (a)-(d) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図55】後続エクステントがAVブロック長未満、先行
エクステントがAVブロック長以上の場合のフローチャー
トである。
[Fig. 55] Fig. 55 is a flowchart in the case where the subsequent extent is less than the AV block length and the preceding extent is more than the AV block length.

【図56】(a)〜(b)図55のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
FIG. 56 (a)-(b) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図57】(a)〜(c)図55のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
57 (a)-(c) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図58】(a)〜(d)図55のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
58 (a) to (d) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図59】(a)〜(d)図55のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
FIG. 59 (a)-(d) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図60】先行エクステント、後続エクステントが共に
AVブロック長未満の場合についての処理内容を示すフロ
ーチャートである。
[Fig. 60] Both the preceding extent and the following extent
9 is a flowchart showing the processing contents when the length is less than the AV block length.

【図61】(a)〜(d)図60のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
61 (a) to (d) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図62】(a)〜(c)図60のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
FIG. 62 (a)-(c) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図63】(a)〜(c)図60のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
FIG. 63 (a)-(c) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図64】(a)〜(d)図60のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
64 (a) to (d) in the flowchart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図65】先行エクステント,後続エクステントがAVブ
ロック長以上の長さを持つ場合のフロ−チャ−トであ
る。
[Fig. 65] Fig. 65 is a flowchart when the preceding extent and the subsequent extent have a length equal to or longer than the AV block length.

【図66】(a)〜(d)図65のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
66 (a) to (d) in the flow chart of FIG.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図67】先行エクステント,後続エクステントがAVブ
ロック長以上の長さを持ち、In領域と、Out領域のデー
タサイズが足りない場合のフロ−チャ−トである。
[Fig. 67] Fig. 67 is a flowchart when the preceding extent and the following extent have a length equal to or longer than the AV block length, and the data size of the In area and the Out area is insufficient.

【図68】(a)〜(e)図67のフロ−チャ−トでの
AVファイルシステム部11の処理を補足説明するための
説明図である。
68 (a) to (e) in the flowchart of FIG. 67.
FIG. 7 is an explanatory diagram for supplementarily explaining the processing of the AV file system unit 11.

【図69】(a)〜(d)断片化解消部16による処理
内容を補足説明するための説明図である。
69A to 69D are explanatory diagrams for supplementarily explaining the processing content by the fragmentation eliminating unit 16.

【図70】(a)第4実施形態におけるRTRW管理ファイ
ルの収録内容を段階的に詳細化した図である。 (b)第4実施形態におけるオリジナルPGC情報の論理
フォーマットを示す図である。 (c)第4実施形態におけるユーザ定義PGC情報の論理
フォーマットを示す図である。 (d)タイトルサーチポインタの論理フォーマットを示
す図である。
FIG. 70 (a) is a diagram in which the recorded contents of the RTRW management file in the fourth embodiment are detailed step by step. (B) It is a figure which shows the logical format of the original PGC information in 4th Embodiment. (C) It is a figure which shows the logical format of the user definition PGC information in 4th Embodiment. (D) It is a figure which shows the logical format of a title search pointer.

【図71】AVファイル、エクステント、VOB、VOB情報、
オリジナルPGC情報、ユーザ定義PGC情報間の相互関係を
示し、これらのうち一体性があるものを太線の枠内に配
した図である。
[FIG. 71] AV file, extent, VOB, VOB information,
FIG. 7 is a diagram showing the mutual relationship between the original PGC information and the user-defined PGC information, and those having integrity among them are arranged in a thick line frame.

【図72】ユーザ定義PGC−オリジナルPGCの一例を示す
図である。
FIG. 72 is a diagram showing an example of a user-defined PGC-original PGC.

【図73】削除範囲となったセルに対応する部位にハッ
チングを付した図である。
FIG. 73 is a diagram in which a portion corresponding to a cell that is a deletion range is hatched.

【図74】(a)ユーザ定義PGC情報#2を用いた本編集
により、DVD-RAM上のどのECCブロックが空き領域に解放
されるかを示す。 (b)本編集後におけるVOB、VOB情報、PGC情報の一例
を示す。
Fig. 74 (a) shows which ECC block on the DVD-RAM is released to a free area by the main edit using the user-defined PGC information # 2. (B) An example of VOB, VOB information, and PGC information after the main editing is shown.

【図75】DVDレコーダ70の構成を機能別に示した機
能ブロック図である。
75 is a functional block diagram showing the structure of the DVD recorder 70 by function. FIG.

【図76】AVファイルの記録時点において、オリジナル
PGC情報ゼネレータ25により生成されたオリジナルPGC
情報の一例である。
FIG. 76: Original at the time of recording the AV file
Original PGC generated by PGC information generator 25
It is an example of information.

【図77】(a)録画・編集・再生制御部12の制御下に
おいてテレビ受像機72に表示されるグラフィックスデ
ータの一例を示す図である。 (b)操作対象として一覧表示されたPGC情報及びセル
情報を示す図である。
77A is a diagram showing an example of graphics data displayed on the television receiver 72 under the control of the recording / editing / reproduction control unit 12. FIG. (B) It is a figure which shows the PGC information and cell information displayed as a list as an operation target.

【図78】(a)タイトル部分再生時の処理内容を示す
フロ−チャ−トである。 (b)VOBU(START)からVOBU(END)までの範囲のうち、セ
ルの再生開始時刻情報(C_V_S_PTM)からセルの再生終
了時刻情報(C_V_E_PTM)までの区間のみが再生出力さ
れている様子を示す図である。
FIG. 78 (a) is a flowchart showing the processing contents when the title portion is reproduced. (B) Of the range from VOBU (START) to VOBU (END), only the section from cell reproduction start time information (C_V_S_PTM) to cell reproduction end time information (C_V_E_PTM) is reproduced and output. It is a figure.

【図79】(a)(b)テレビ受像機72に表示される
映像を視聴している間、マークキーを押下している様子
を示す図である。
79 (a) and (b) are diagrams showing a state in which the mark key is pressed while watching the video displayed on the television receiver 72.

【図80】(a)(b)マーキング操作が行われた場合
に、図75に示した構成要素間のデータ入出力がどのよ
うに行われるかを示す図である。
80 (a) and 80 (b) are diagrams showing how data input / output is performed between the components shown in FIG. 75 when a marking operation is performed.

【図81】ユーザ定義PGC情報を定義する際の編集階層
化制御部26の処理内容を示すフロ−チャ−トである。
81 is a flowchart showing the processing contents of the editing hierarchy control unit 26 when defining user-defined PGC information. FIG.

【図82】ユーザ定義PGC情報を定義する際の編集階層
化制御部26の処理内容を示すフロ−チャ−トである。
[Fig. 82] Fig. 82 is a flowchart showing the processing contents of the edit hierarchy control unit 26 when defining user-defined PGC information.

【図83】プレビュー時及び本編集時における録画・編
集・再生制御部12の処理内容を示すフロ−チャ−トで
ある。
[Fig. 83] Fig. 83 is a flowchart showing the processing contents of the recording / editing / playback control unit 12 at the time of preview and main editing.

【図84】本編集後に行われるべき、PGC情報の更新処
理を示すフロ−チャ−トである。
[Fig. 84] Fig. 84 is a flowchart showing a PGC information update process to be performed after the main editing.

【図85】仮編集においてユーザ定義PGC情報の構成要
素となるセル情報を選択する操作を受け付けるためにテ
レビ受像機72に表示する対話画面の一例である。
[Fig. 85] Fig. 85 is an example of an interactive screen displayed on the television receiver 72 for accepting an operation of selecting cell information that is a constituent element of user-defined PGC information in temporary editing.

【図86】(a)(b)リモコン71に対しての手操作
と、その手操作に伴って行われる表示処理との関連を示
す図である。
FIGS. 86 (a) and 86 (b) are diagrams showing the relationship between the manual operation on the remote controller 71 and the display processing performed in accordance with the manual operation.

【図87】(a)〜(d)リモコン71に対しての手操
作と、その手操作に伴って行われる表示処理との関連を
示す図である。
87 (a) to (d) are diagrams showing the relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation.

【図88】(a)(b)リモコン71に対しての手操作
と、その手操作に伴って行われる表示処理との関連を示
す図である。
88 (a) and 88 (b) are diagrams showing a relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation.

【図89】(a)(b)リモコン71に対しての手操作
と、その手操作に伴って行われる表示処理との関連を示
す図である。
89 (a) and (b) are diagrams showing the relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation.

【図90】ユーザ定義PGC情報の選択待ちと、再生キー
押下によるプレビューの指定待ち、本編集キー押下によ
る本編集の指定待ち時における対話画面の一例である。
[Fig. 90] Fig. 90 is an example of an interactive screen when waiting for selection of user-defined PGC information, waiting for preview designation by pressing the playback key, and waiting for designation of main editing by pressing the main editing key.

【図91】CELL#2B,CELL#4B,CELL#10B,CELL#5Bからなる
ユーザ定義PGC情報#2が定義され、CELL#3C,CELL#6C,CEL
L#8C,CELL#9Cからなるユーザ定義PGC情報#3が定義され
た時点におけるオリジナルPGC情報テーブル、ユーザ定
義PGC情報テーブルの一例を示す図である。
[Fig. 91] User-defined PGC information # 2 consisting of CELL # 2B, CELL # 4B, CELL # 10B, CELL # 5B is defined, and CELL # 3C, CELL # 6C, CEL
FIG. 9 is a diagram showing an example of an original PGC information table and a user-defined PGC information table at the time when user-defined PGC information # 3 including L # 8C and CELL # 9C is defined.

【図92】(a)〜(b)リモコン71に対しての手操
作と、その手操作に伴って行われる表示処理との関連を
示す図である。
92 (a) and (b) are diagrams showing the relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation.

【図93】(a)〜(c)リモコン71に対しての手操
作と、その手操作に伴って行われる表示処理との関連を
示す図である。
93 (a) to (c) are diagrams showing the relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation.

【図94】(a)〜(c)リモコン71の操作とその操
作に行われる表示処理との関連を示す図である。
94A to 94C are diagrams showing the relationship between the operation of the remote controller 71 and the display processing performed for the operation.

【図95】本編集におけるVOB加工が済んだ後のオリジ
ナルPGC情報テーブル及びユーザ定義PGC情報テーブルを
示す図である。
[Fig. 95] Fig. 95 is a diagram showing an original PGC information table and a user-defined PGC information table after VOB processing in the main editing has been completed.

【図96】(a) 既存の映像信号の再生・録画が可能
なビデオデッキを用いた映像編集の作業環境を示す図で
ある。 (b) 編集素材と、編集成果物との関係を示す図であ
る。
FIG. 96 (a) is a diagram showing a work environment of video editing using a video deck capable of reproducing / recording an existing video signal. (B) It is a figure which shows the relationship between an edit material and an edit result.

【符号の説明】[Explanation of symbols]

1 制御部 2 MPEGエンコーダ 3 ディスクアクセス部 3a トラックバッファ 3b ECC処理部 3c ドライブ機構 4 MPEGエンコーダ 4a デマルチプレクサ 4b ビデオバッファ 4c ビデオデコーダ 4d オーディオバッファ 4e オーディオデコーダ 4f リ・オーダーバッファ 4g STC 4h 加算器 4k デコーダ制御部 5 ビデオ信号処理部 10 共通ファイルシステム部 11 AVファイルシステム部 12 録画・編集・再生制御部 13 AVデータ録画部 14 AVデータ再生部 15 AVデータ編集部 16 断片化解消部 22 タイトル録画制御部 23 タイトル再生制御部 24 RTRW管理ファイルワークエリア 25 ユーザ定義PGC情報ゼネレータ 26 編集階層化制御部 1 control unit 2 MPEG encoder 3 Disk access section 3a track buffer 3b ECC processing unit 3c drive mechanism 4 MPEG encoder 4a Demultiplexer 4b video buffer 4c video decoder 4d audio buffer 4e audio decoder 4f re-order buffer 4g STC 4h adder 4k decoder controller 5 Video signal processor 10 Common File System Department 11 AV file system section 12 Recording / editing / playback control section 13 AV data recorder 14 AV data playback section 15 AV data editor 16 Defragmentation section 22 Title recording control section 23 Title Playback Control Section 24 RTRW management file work area 25 User-defined PGC information generator 26 Editing Hierarchy Control Unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 濱坂 浩史 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 平8−339662(JP,A) 特開 平8−339665(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 5/76 - 5/956 G11B 20/10 - 20/12 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiroshi Hamazaka 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) Reference JP-A-8-339662 (JP, A) JP-A-8- 339665 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 5/76-5/956 G11B 20/10-20/12

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のユニットからなるビデオオブジェ
クトと、セル情報とが記録されている光ディスクについ
ての再生装置であって、 ユニットは複数のピクチャデータを含んでいて、 セル情報は、何れかのユニットに含まれるピクチャデー
タを、再生区間の開始点に指定する再生開始時刻情報を
含み、 再生開始時刻情報により特定されるピクチャデータを含
む第1ユニットを光ディスクから読み出す読出手段と、 読み出された第1のユニットに対してデコード処理を行
い、複数の再生画像を得るデコード手段とを備え、 デコード手段は、 再生開始時刻情報により特定されるピクチャデータの前
に、先行するピクチャデータが1つ以上ある場合は、当
該1つ以上の先行ピクチャデータに対応する画像の再生
出力を禁じる ことを特徴とする再生装置。
1. A video object comprising a plurality of units
Disk and the cell information is recorded on the optical disc.
In any playback device, the unit includes a plurality of picture data, and the cell information is the picture data included in any unit.
Playback start time information that specifies the start point of the playback section.
Including the picture data specified by the playback start time information.
Read means for reading the first unit from the optical disc , and decoding processing for the read first unit.
There, a decoding means for obtaining a plurality of reproduced images, decoding means, before the picture data specified by the reproduction start time information
If there is at least one preceding picture data in
Playback of images corresponding to the one or more preceding picture data
A playback device characterized by prohibiting output .
【請求項2】 前記セル情報は、何れかのユニットに含
まれるピクチャデータを再生区間の終了点に指定する再
生終了時刻情報を含み、 前記読出手段は、 再生終了時刻情報により特定されるピクチャデータを含
む第2ユニットを光ディスクから読み出し、 前記デコード手段は、 読み出された第2のユニットに対してデコード処理を行
い、複数の再生画像を得て、 再生終了時刻情報により特定されるピクチャデータの後
に、後続するピクチャデータが1つ以上ある場合は、当
該1つ以上の先行ピクチャデータに対応する画像の再生
出力を禁じる ことを特徴とする請求項1記載の再生装
置。
2. The cell information is included in any unit.
Specify the picture data to be recorded as the end point of the playback section.
The read means includes live end time information, and the read means includes picture data specified by the reproduction end time information.
The second unit is read from the optical disc, and the decoding means performs a decoding process on the read second unit.
After the picture data specified by the playback end time information is obtained.
If there is one or more subsequent picture data in
Playback of images corresponding to the one or more preceding picture data
The reproducing apparatus according to claim 1 , wherein output is prohibited .
【請求項3】 ピクチャデータには、過去及び/又は未
来方向の画像との相関に基づき圧縮されているフレーム
間圧縮タイプと、一フレームの画像内での特 性に基づき
圧縮されているフレーム内圧縮タイプとがあり、 前記ユニットは、 フレーム内圧縮タイプのピクチャデータを少なくとも1
つ含む最小デコード単位である ことを特徴とする請求項
記載の再生装置。
3. The picture data includes past and / or
Frames that are compressed based on the correlation with the incoming image
And during compression type, on the basis of the characteristics in the image for one frame
There is an intra-frame compression type that is compressed, and the unit has at least one picture data of the intra-frame compression type.
A minimum decoding unit including one
1. The playback device according to 1 .
【請求項4】 複数のユニットからなるビデオオブジェ
クトと、セル情報とが記録されている光ディスクについ
ての再生方法であって、 ユニットは複数のピクチャデータを含んでいて、 セル情報は、何れかのユニットに含まれるピクチャデー
タを、再生区間の開始点に指定する再生開始時刻情報を
含み、 再生開始時刻情報により特定されるピクチャデータを含
む第1ユニットを光ディスクから読み出す読出ステップ
と、 読み出された第1のユニットに対してデコード処理を行
い、複数の再生画像を得るデコードステップとを備え、 デコードステップは、 再生開始時刻情報により特定されるピクチャデータの前
に、先行するピクチャデータが1つ以上ある場合は、当
該1つ以上の先行ピクチャデータに対応する画像の再生
出力を禁じる ことを特徴とする再生方法。
4. A video object comprising a plurality of units
Disk and the cell information is recorded on the optical disc.
The unit includes a plurality of picture data, and the cell information is the picture data included in any unit.
Playback start time information that specifies the start point of the playback section.
Including the picture data specified by the playback start time information.
Read step for reading the first unit from the optical disk
And decode the read first unit.
A decoding step for obtaining a plurality of reproduced images, wherein the decoding step is performed before the picture data specified by the reproduction start time information.
If there is at least one preceding picture data in
Playback of images corresponding to the one or more preceding picture data
A playback method characterized by prohibiting output .
【請求項5】 前記セル情報は、何れかのユニットに含
まれるピクチャデータを再生区間の終了点に指定する再
生終了時刻情報を含み、 前記読出ステップは、 再生終了時刻情報により特定されるピクチャデータを含
む第2ユニットを光ディスクから読み出し、 前記デコードステップは、 読み出された第2のユニットに対してデコード処理を行
い、複数の再生画像を得て、 再生終了時刻情報により特定されるピクチャデータの後
に、後続するピクチャデータが1つ以上ある場合は、当
該1つ以上の先行ピクチャデータに対応する画像 の再生
出力を禁じる ことを特徴とする請求項4記載の再生方
法。
5. The cell information is included in any unit.
Specify the picture data to be recorded as the end point of the playback section.
The reproduction step includes live end time information, and the reading step includes picture data specified by the reproduction end time information.
The second unit is read from the optical disc, and the decoding step performs a decoding process on the read second unit.
After the picture data specified by the playback end time information is obtained.
If there is one or more subsequent picture data in
Playback of images corresponding to the one or more preceding picture data
5. The reproducing method according to claim 4, wherein output is prohibited.
Law.
【請求項6】 ピクチャデータには、過去及び/又は未
来方向の画像との相関に基づき圧縮されているフレーム
間圧縮タイプと、一フレームの画像内での特性に基づき
圧縮されているフレーム内圧縮タイプとがあり、 前記ユニットは、 フレーム内圧縮タイプのピクチャデータを少なくとも1
つ含む最小デコード単位である ことを特徴とする請求項
4記載の再生方法
6. The picture data includes past and / or
Frames that are compressed based on the correlation with the incoming image
Based on the inter-compression type and the characteristics within the image of one frame
There is an intra-frame compression type that is compressed, and the unit has at least one picture data of the intra-frame compression type.
Claims, characterized in that the smallest decoding unit that includes One
The reproduction method described in 4 .
【請求項7】 複数のユニットからなるビデオオブジェ
クトと、セル情報とが記録されている光ディスクについ
ての再生処理をコンピュータに行わせるコンピュータ読
取可能な記録媒体であって、 ユニットは複数のピクチャデータを含んでいて、 セル情報は、何れかのユニットに含まれるピクチャデー
タを、再生区間の開始点に指定する再生開始時刻情報を
含み、 再生開始時刻情報により特定されるピクチャデータを含
む第1ユニットを光ディスクから読み出す読出ステップ
と、 読み出された第1のユニットに対してデコード処理を行
い、複数の再生画像を得るデコードステップとをコンピ
ュータに行わせ、 デコードステップは、 再生開始時刻情報により特定されるピクチャデータの前
に、先行するピクチャデータが1つ以上ある場合は、当
該1つ以上の先行ピクチャデータに対応する画像の再生
出力を禁じる プログラムが記録されていることを特徴と
するコンピュータ読取可能な記録媒体。
7. A video object comprising a plurality of units
Disk and the cell information is recorded on the optical disc.
Computer reading that causes a computer to perform all playback processing
The unit is a removable recording medium, and the unit includes a plurality of picture data, and the cell information is the picture data included in any unit.
Playback start time information that specifies the start point of the playback section.
Including the picture data specified by the playback start time information.
Read step for reading the first unit from the optical disk
And decode the read first unit.
Compile with the decoding step to obtain multiple playback images.
The decoding step is performed before the picture data specified by the reproduction start time information.
If there is at least one preceding picture data in
Playback of images corresponding to the one or more preceding picture data
Characterized by the recorded program that prohibits output
Computer-readable recording medium.
【請求項8】 前記セル情報は、何れかのユニットに含
まれるピクチャデータを再生区間の終了点に指定する再
生終了時刻情報を含み、 前記読出ステップは、 再生終了時刻情報により特定されるピクチャデータを含
む第2ユニットを光デ ィスクから読み出し、 前記デコードステップは、 読み出された第2のユニットに対してデコード処理を行
い、複数の再生画像を得て、 再生終了時刻情報により特定されるピクチャデータの後
に、後続するピクチャデータが1つ以上ある場合は、当
該1つ以上の先行ピクチャデータに対応する画像の再生
出力を禁じる プログラムが記録されていることを特徴と
する請求項7記載のコンピュータ読取可能な記録媒体。
8. The cell information is included in any unit.
Specify the picture data to be recorded as the end point of the playback section.
The reproduction step includes live end time information, and the reading step includes picture data specified by the reproduction end time information.
Reads the free second unit from Hikaride disc, the decoding step, row a decoding process on the second unit read
After the picture data specified by the playback end time information is obtained.
If there is one or more subsequent picture data in
Playback of images corresponding to the one or more preceding picture data
Characterized by the recorded program that prohibits output
The computer-readable recording medium according to claim 7.
【請求項9】 ピクチャデータには、過去及び/又は未
来方向の画像との相関に基づき圧縮されているフレーム
間圧縮タイプと、一フレームの画像内での特性に基づき
圧縮されているフレーム内圧縮タイプとがあり、 前記ユニットは、 フレーム内圧縮タイプのピクチャデータを少なくとも1
つ含む最小デコード単位である ことを特徴とする請求項
7記載のコンピュータ読取可能な記録媒体。
9. The picture data includes past and / or non-previous data.
Frames that are compressed based on the correlation with the incoming image
Based on the inter-compression type and the characteristics within the image of one frame
There is an intra-frame compression type that is compressed, and the unit has at least one picture data of the intra-frame compression type.
Claims, characterized in that the smallest decoding unit that includes One
7. A computer-readable recording medium according to 7.
JP31044999A 1997-09-17 1999-10-29 Playback apparatus, playback method, and computer-readable recording medium Expired - Lifetime JP3410695B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31044999A JP3410695B2 (en) 1997-09-17 1999-10-29 Playback apparatus, playback method, and computer-readable recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9-251994 1997-09-17
JP25199497 1997-09-17
JP31044999A JP3410695B2 (en) 1997-09-17 1999-10-29 Playback apparatus, playback method, and computer-readable recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP10263701A Division JP3050311B2 (en) 1997-09-17 1998-09-17 Optical disk, recording device and reproducing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001223684A Division JP2002093125A (en) 1997-09-17 2001-07-24 Optical disk, video data editing device, computer-readable recording medium with recorded editing program, reproducing device for optical disk, and computer- readable recording medium with recorded reproducing program

Publications (2)

Publication Number Publication Date
JP2000152180A JP2000152180A (en) 2000-05-30
JP3410695B2 true JP3410695B2 (en) 2003-05-26

Family

ID=34466510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31044999A Expired - Lifetime JP3410695B2 (en) 1997-09-17 1999-10-29 Playback apparatus, playback method, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP3410695B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613383B2 (en) 2004-12-02 2009-11-03 Hitachi, Ltd. Editing method and recording and reproducing device
JP4775241B2 (en) 2006-12-06 2011-09-21 株式会社日立製作所 Recording method
JP4735524B2 (en) 2006-12-06 2011-07-27 株式会社日立製作所 Recording method
JP4735525B2 (en) 2006-12-06 2011-07-27 株式会社日立製作所 Recording method
JP4946426B2 (en) 2006-12-27 2012-06-06 株式会社日立製作所 Recording method
JP4807250B2 (en) 2006-12-27 2011-11-02 株式会社日立製作所 Recording method
JP5034608B2 (en) 2007-03-30 2012-09-26 株式会社日立製作所 Recording method

Also Published As

Publication number Publication date
JP2000152180A (en) 2000-05-30

Similar Documents

Publication Publication Date Title
JP3050319B2 (en) Optical disk editing device and playback device
KR100566623B1 (en) Video data editing apparatus and computer-readable recording medium storing an editing program
KR100532738B1 (en) Video data editing apparatus, optical disc for use as a recording medium of a video data editing apparatus, and computer-readable recording medium storing an editing program
US6487364B2 (en) Optical disc, video data editing apparatus, computer-readable recording medium storing an editing program, reproduction apparatus for the optical disc, and computer-readable recording medium storing a reproduction program
JP3050311B2 (en) Optical disk, recording device and reproducing device
JP3410695B2 (en) Playback apparatus, playback method, and computer-readable recording medium
JP2000078519A (en) Video data editing device and computer readable recording medium for recording editing program
JPH11155131A (en) Video data editing device, optical disk used for editing medium by the video data editing device and computer-readable record medium recorded with editing program
JP2002093125A (en) Optical disk, video data editing device, computer-readable recording medium with recorded editing program, reproducing device for optical disk, and computer- readable recording medium with recorded reproducing program
MXPA99004448A (en) Video data editing apparatus, optical disc for use as a recording medium of a video data editing apparatus, and computer-readable recording medium storing an editing program
MXPA99004453A (en) Video data editing apparatus and computer-readable recording medium storing an editing program
MXPA99004447A (en) Optical disc, video data editing apparatus, computer-readable recording medium storing an editing program, reproduction apparatus for the optical disc, and computer-readable recording medium storing a reproduction program

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080320

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120320

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130320

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130320

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140320

Year of fee payment: 11

EXPY Cancellation because of completion of term