JP2000078519A - Video data editing device and computer readable recording medium for recording editing program - Google Patents

Video data editing device and computer readable recording medium for recording editing program

Info

Publication number
JP2000078519A
JP2000078519A JP10263744A JP26374498A JP2000078519A JP 2000078519 A JP2000078519 A JP 2000078519A JP 10263744 A JP10263744 A JP 10263744A JP 26374498 A JP26374498 A JP 26374498A JP 2000078519 A JP2000078519 A JP 2000078519A
Authority
JP
Japan
Prior art keywords
data
segment
audio
video
vob
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10263744A
Other languages
Japanese (ja)
Inventor
Tokuo Nakatani
徳夫 中谷
Shinichi Saeki
慎一 佐伯
Mitsuaki Morita
光秋 森田
Nobuyuki Enoki
信行 榎
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10263744A priority Critical patent/JP2000078519A/en
Publication of JP2000078519A publication Critical patent/JP2000078519A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a video data editing device by which an operator easily executes video editing in spite of the occurrence of video acoustic data with an incomplete length with high frequency by executing connection so as to permit the continuous length of a detected first segment with at least a part of the second segment to be longer than a prescribed length. SOLUTION: A tip part and an end part are erased as being expressed by broken lines in AV files Af1 and Af2. In this case, the continuous length of the AV file Af1 is less than an AV block length. In the same way, a data size of in-memory data which is encoded again is less than the data size of the AV block. Therefore, a MERGE command with the AV files Af and the AV file Af+1 as an object is issued to a file system. Thus, the AV file Af1 is connected to re-encoded VOBU and the continuous length of a recording area in whole extent constituting the AV file Af becomes more than the AV block length.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ビデオデータファ
イルが記録された光ディスクを編集するビデオデータ編
集装置及び編集プログラムを記録したコンピュータ読み
取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video data editing apparatus for editing an optical disk on which a video data file is recorded, and a computer-readable recording medium on which an editing program is recorded.

【0002】[0002]

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

【0003】一般に映像編集と呼ばれる作業には様々な
ものがあるが、今後開発されるであろうビデオデータ編
集装置の民生機器には、多くのシーンをまとめて一本の
映像に連結する機能、いわゆる、シーン連結機能の充実
化が特に要望されると考えられる。従来、民生機器を用
いたシーン連結作業は、二台のビデオデッキを接続した
ダビングシステムを用いて行われていた。以降、ダビン
グシステムにおいて、映像中の任意のシーンを連結する
という作業がどのように行われてきたかを説明する。図
96(a)は、既存の映像信号の再生・録画が可能なビ
デオデッキを用いた映像編集の作業環境を示す図であ
る。図96(a)に示すように作業環境は、素材となる
映像が記録された磁気テープカセット301と、編集成
果物を記録するための空き磁気テープカセット302
と、これらの磁気テープカセットを再生・録画するため
のビデオデッキ303,304とから構成される。この
ような作業環境において、図96(b)に示すシーン連
結を操作者は行おうとしている。図96(b)は、編集
素材と、編集成果物との関係を示す図である。本図に示
すように、操作者は編集素材内の時刻t5から時刻t10迄
を占めているシーン505、時刻t13から時刻t21迄を占
めているシーン506、時刻t23から時刻t25迄を占めて
いるシーン507を部分的に再生させて、これらのみか
らなる編集成果物を得ようとしているのである。
[0003] There are various kinds of work generally called video editing. Consumer equipment of a video data editing device which will be developed in the future includes a function of linking many scenes together into one video. It is thought that enhancement of the so-called scene connection function is particularly desired. Conventionally, scene connection work using consumer equipment has been performed using a dubbing system in which two video decks are connected. Hereinafter, a description will be given of how an operation of connecting arbitrary scenes in a video has been performed in the dubbing system. FIG. 96 (a) is a diagram showing a video editing work environment using a video deck capable of reproducing and recording an existing video signal. As shown in FIG. 96 (a), the work environment includes a magnetic tape cassette 301 on which a video serving as a material is recorded, and a free 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 working environment, the operator is about 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 editing product. As shown in the figure, the operator occupies a scene 505 occupying the time t5 to the time t10 in the editing material, a scene 506 occupying the time t13 to the time t21, and a scene 506 occupying 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, an operator sets a magnetic tape cassette 301 on which an editing material is recorded on a video deck 303, and sets a magnetic tape cassette 302 on which an edited product is to be recorded on a deck 304. After the setting, the fast forward key on the operation panel of the deck 303 is pressed as shown in the figure to cause the deck 303 to start the heading of the video scene 505 to the head, and then the playback key is pressed as shown later. Video scene 5 on deck 303
05 is reproduced. At the same time, the recording key is depressed to cause the deck 304 to start recording the reproduced video, as shown at the same time. When the video reproduction is performed to the end of the scene 505, the operations of the two decks are stopped. Subsequently, the head of the deck 304 is moved to the head of the video scene 506, and the reproduction of the deck 303 and the recording of the deck 304 are simultaneously started again. The same operation is performed for scene 506 and scene 5
After performing step 07, the tapes on the decks 303 and 304 are rewound to complete the editing operation.

【0005】上記のようなシーン連結作業を家庭内で簡
易に行うことができれば、多数の磁気テープカセットに
記録されている映像を手楽に整理することができる。し
かしこのように行われる映像編集は、いざシーン連結を
開始しようとした場合、連結させたいシーンの開始点を
頭出しさせ、シーンの開始点から終了点まで編集素材と
なる映像を再生させるという作業を連結すべきシーンの
数だけ繰り返す必要があるので、映像編集を手軽に行う
ことができない。
[0005] If the above-described scene connection operation can be easily performed at home, images recorded on a large number of magnetic tape cassettes can be easily arranged. However, video editing performed in this way involves, when attempting to connect scenes, searching for the starting point of the scene to be connected and reproducing the video as the editing material from the start point to the end point of the scene. Must be repeated by the number of scenes to be connected, so that video editing cannot be performed easily.

【0006】磁気テープでの限界を越えて、映像編集を
簡易に実現するべく注目を集めているのは、映像・音響
の多重化データ(以下映像音響データという)をコンピ
ュータファイルと同等に扱うファイルシステムの開発で
ある。ここでいうファイルシステムとは、ハードディス
クや光ディスク等、ランダムアクセス可能な記録媒体の
領域を管理するためのデータ構造をいう。 ファイルシ
ステムは、ディスク全体領域を数10KB単位の小さなデー
タブロックに分割し、そのうち有効なデータが記録され
ていないデータブロックを空き領域として管理する。ま
たファイルが消去された場合には、使用済みのデータブ
ロックを空き領域に登録する。
[0006] Beyond the limitations of magnetic tape, attention has been focused on simplifying video editing by using files that handle multiplexed video / audio data (hereinafter referred to as video / audio data) in the same way as computer files. System development. Here, the file system refers to a data structure for managing an area of a randomly accessible recording medium such as a hard disk or an optical disk. The file system divides the entire disk area into small data blocks in units of several tens of KB, and manages data blocks in which valid data is not recorded as free areas. When a file is deleted, a used data block is registered in a free area.

【0007】オペレーティングシステム上のアプリケー
ションプログラムによってデータが作成され、これをフ
ァイルとして記録型ディスクに記録する旨の指示が操作
者によりなされると、ファイルシステムは、そのファイ
ルサイズを計算し、当該ファイルサイズ以上の連続長を
有する空き領域が記録型ディスクに存在するか否かを判
定する。
[0007] When data is created by an application program on the operating system and an instruction is given by an operator to record the data on a recordable disc as a file, the file system calculates the file size, and the file size is calculated. It is determined whether or not a free area having the above continuous length exists on the recordable disc.

【0008】もしそのようなサイズの連続長を有する空
き領域が存在すれば、当該連続長を有する空き領域にフ
ァイルを記録するが、そのようなサイズの連続長を有す
る空き領域が存在しなければ、記録型ディスク上におい
て断片的に存在する複数の空き領域を探索する。そのよ
うな空き領域が探索されると、記録すべきデータを分割
し、分割したそれぞれを複数の空き領域へと記録する。
空き領域への記録後、分割されたそれぞれのデータを複
数のデータとして管理するための管理情報を生成して、
これを記録型ディスクに書き込むと共に記録型ディスク
へのファイル記録を完了する。
If a free area having such a continuous length exists, the file is recorded in the free area having the continuous length. If no free area having such a continuous length exists, A search is made for a plurality of fragmentary free areas on the recordable disc. When such an empty area is searched, the data to be recorded is divided, and each of the divided data is recorded in a plurality of empty areas.
After recording in the free space, generate management information for managing each of the divided data as a plurality of data,
This is written on the recordable disc, and the file recording on the recordable disc is completed.

【0009】このようにファイルシステムは記録すべき
データを複数に分割して、断片状に存在する空き領域に
分散して記録するので、記録すべきデータの容量以上の
連続領域を記録型ディスク上に確保する必要はない。そ
れ故に、たとえ記録すべきデータが映像音響データであ
っても、映像音響データを効率良く記録型ディスクに記
録することができる。
As described above, the file system divides data to be recorded into a plurality of pieces and distributes the pieces of data into pieces of free space to record the pieces of data. There is no need to secure it. Therefore, even if the data to be recorded is video and audio data, the video and audio data can be efficiently recorded on the recordable disc.

【0010】[0010]

【発明が解決しようとする課題】ところで上記のように
ファイルシステムの管理下で複数の映像音響データを記
録型ディスクに記録した場合、空き領域にランダムに記
録された映像の連続長があまりにも短いと、その映像を
表示させた後、別の映像の記録位置へと光ピックアップ
をジャンプさせる際に映像表示が中断してしまう可能性
がある。
When a plurality of video and audio data are recorded on a recordable disc under the control of the file system as described above, the continuous length of the video randomly recorded in the empty area is too short. When the optical pickup is jumped to a recording position of another image after displaying the image, the image display may be interrupted.

【0011】即ち、再生装置は記録型ディスクに記録さ
れた映像を一旦バッファへと読み出し、再生装置のAVデ
コーダがバッファへと読み出された映像音響データを復
号するので、映像が記録されている領域の連続長が長い
場合はバッファに充分な量の映像音響データを蓄積する
ことができる。この場合、光ピックアップが長時間ジャ
ンプしてもデコーダは復号処理を継続することができる
ので、映像を途切れること無く表示しつづけることがで
きる。
That is, the playback device once reads the video recorded on the recordable disc into the buffer, and the AV decoder of the playback device decodes the video and audio data read into the buffer, so that the video is recorded. When the continuous length of the area is long, a sufficient amount of video and audio data can be stored in the buffer. In this case, even if the optical pickup jumps for a long time, the decoder can continue the decoding process, so that the video can be continuously displayed without interruption.

【0012】しかし映像編集を行うにあたっては、既に
記録されている映像音響データの一部分を切り出して新
たなファイルを得るという操作が高頻度に行われると思
われるので、半端な長さの映像音響データが記録型ディ
スク上に多く現れる。このような半端な長さの映像音響
データは、その記録領域の連続長が余りにも小さいた
め、その再生にあたってはバッファに充分な量の映像音
響データを蓄積することができない。充分な蓄積量を得
ないままある記録位置から別の記録位置へと光ピックア
ップをジャンプさせようとすると、バッファのアンダー
フローが生じてしまい、デコーダは映像音響データの復
号を継続することができなくなる。それに伴ってディス
プレィは映像表示を中断してしまう。
However, when performing video editing, an operation of cutting out a part of the already recorded video and audio data and obtaining a new file is considered to be performed frequently, so that the video and audio data having an odd length is considered. Often appear on recordable discs. Since the continuous length of the recording area of such odd length audiovisual data is too short, a sufficient amount of audiovisual data cannot be stored in the buffer during reproduction. If the optical pickup jumps from one recording position to another recording position without obtaining a sufficient storage amount, an underflow of the buffer occurs, and the decoder cannot continue decoding the audiovisual data. . Accordingly, the display interrupts the image display.

【0013】本発明の目的は、半端な長さの映像音響デ
ータが高頻度に発生しても、それらを高速に処理するこ
とにより、操作者に手軽に映像編集を行わせるビデオデ
ータ編集装置及び編集プログラムを記録したコンピュー
タ読み取り可能な記録媒体を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a video data editing apparatus and a video data editing apparatus which allow an operator to easily edit a video by processing the audio and video data having an odd length at a high frequency even at a high frequency. An object of the present invention is to provide a computer-readable recording medium on which an editing program is recorded.

【0014】[0014]

【課題を解決するための手段】上記目的は、複数のゾー
ン領域を有し、何れかのゾーン領域には、ビデオデータ
を格納した少なくとも1つのファイルが複数のセグメン
トに分割された状態で記録されている光ディスクを対象
としたビデオデータ編集装置であって、分割されたセグ
メントのうち、その記録領域の連続長が所定長に満たな
い第1セグメントを検出する検出手段と、第1セグメン
ト及び当該セグメントの直前又は直後に再生されるべき
第2セグメントの連結対象部分の一方又は両方をゾーン
領域間の境界を跨がない位置に移動することにより検出
された第1セグメントと、第2セグメントの少なくとも
一部との連続長が所定長を上回るように連結する連結手
段とを備えるものにより達成される。
An object of the present invention is to have a plurality of zone areas, and in any one of the zone areas, at least one file storing video data is recorded in a state of being divided into a plurality of segments. A video data editing apparatus for an optical disc, comprising: detecting means for detecting, among divided segments, a first segment in which a continuous length of a recording area is less than a predetermined length; At least one of the first segment detected by moving one or both of the connection target portions of the second segment to be reproduced immediately before or after the second segment to a position that does not straddle the boundary between the zone regions; Connection means for connecting so that the continuous length with the portion exceeds a predetermined length.

【0015】[0015]

【発明の実施の形態】以下ビデオデータ編集装置と、ビ
デオデータ編集装置が記録媒体として用いる光ディスク
の実施形態について説明する。尚、光ディスクの物理構
造、論理構造、ビデオデータ編集装置のハードウェア構
成、機能構成を一つの実施形態で説明しようとすると説
明が著しく煩雑になるので、上記の内容を4つの実施形
態において個別に説明するものとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, 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. If the physical structure and logical structure of the optical disk, the hardware configuration and the functional configuration of the video data editing apparatus are described in one embodiment, the description becomes extremely complicated. Therefore, the above contents are individually described in the four embodiments. Shall be explained.

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

【0017】第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 hierarchical video editing including temporary editing and main editing using two types of program chains, user-defined PGC and original PGC. The processing procedure will be described. (1-1) Physical Structure of Recordable Optical Disk FIG. 1 is a diagram showing an appearance of a DVD-RAM disk which is a recordable optical disk. As shown in this figure, DVD-RAM
Is loaded into 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 a shutter 76 when the cartridge 75 is stored.

【0018】図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 disk has a lead-in area at the innermost circumference, a lead-out area at the outermost circumference, and a data area between them. In the lead-in area, a reference signal necessary for stabilizing the servo at the time of access of the optical pickup, an identification signal with another medium, and the like are recorded. The same reference signal as the lead-in area is recorded in the lead-out area. The data area is divided into sectors (2 kbytes), which is the minimum access unit. FIG. 2B is a diagram showing the cross section and the front surface of the DVD-RAM by using the sectors as headers. As shown in the figure, one sector is composed of a pit row portion formed on the surface of a reflective film such as a metal thin film, and an uneven portion.

【0019】ピット列部は、セクタアドレスを表すため
に刻印された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 0.4 μm to 1.87 μm pits stamped to represent a sector address. The concave-convex portion includes a concave portion (referred to as a groove) and a convex portion (referred to as a land). Each land and groove has a recording mark, which is a metal thin film capable of phase change, attached to each surface. The phase change means that the state of the attached metal thin film changes between a crystalline state and an amorphous state by light beam irradiation. Data can be written in the concave-convex shape portion by utilizing the phase change. In MO disks, only the land is used for recording, whereas DVD-RAM
Thus, data can be recorded also on the land and the groove. The realization of data recording in the groove portion increases the recording density as compared with the MO. Error correction information for a sector is made for every 16 sectors.
In this embodiment, a group of sectors (16 sectors) to which an ECC (Error Correcting Code) is added is called an ECC block.

【0020】また、DVD-RAMは、記録・再生時においてZ
-CLV(Zone-Constant Linear Velocity)と呼ばれる回転
制御を実現するために、データ領域が複数のゾーン領域
に分割されている。図3(a)は、DVD-RAMに同心円状
に設けられた複数のゾーン領域を示す図である。同図の
ように、DVD-RAMは、ゾーン0〜ゾーン23の24個の
ゾーン領域に分割されている。ここでゾーン領域とは、
同じ角速度でアクセスされる一群のトラックをいう。本
実施形態では1ゾーン領域は、1888本のトラックを含
む。DVD-RAMの回転角速度は、内周側のゾーン程速くな
るようにゾーン領域毎に設定され、光ピックアップが1
つのゾーン内でアクセスする間は一定に保たれる。これ
により、DVD-RAMの記録密度を高めるとともに、記録・
再生時における回転制御を容易にしている。
A DVD-RAM has a Z
In order to realize rotation control called -CLV (Zone-Constant Linear Velocity), the data area is divided into a plurality of zone areas. FIG. 3A is a diagram showing a plurality of zone areas provided concentrically on a DVD-RAM. As shown in the figure, the DVD-RAM is divided into 24 zone areas of zone 0 to zone 23. Here, the zone area
A group of tracks 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 as to be faster in the zone on the inner circumference side.
It is kept constant while accessing within one zone. This not only increases the recording density of DVD-RAM, but also
Rotation control during reproduction is facilitated.

【0021】図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 shown concentrically in FIG. 3A are arranged in the horizontal direction. The lead-in area and the lead-out area have a defect management area (DMA: Defect Management Area) therein. The defect management area refers to an area in which position information indicating the position of a sector in which a defect has occurred and alternative position information indicating in which of the above-mentioned alternative areas a sector replacing the defective sector exists are recorded. .

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

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

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

【0025】(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 the data recorded on the volume area of the DVD-RAM.
It is a figure which shows what kind of data of the content is recorded. The video stream and the 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 part 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 a video pack-audio pack defined by 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 recorded in a free area in one zone area on the volume area shown in the first row.

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

【0027】図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. 4B is a diagram showing a hierarchical structure of the data definition defined by the MPEG standard. The data structure of the MPEG standard includes an elementary stream layer and a system layer. The elementary stream layer in FIG. 4B defines the data structure of the video stream, the MPEG-Audio layer that defines the data structure of the MPEG-audio stream, and the data structure of the Dolby-AC3 audio stream. AC-3 layer, Linear-PCM that defines the data structure of the linear-PCM audio stream
Layers. The playback start time (Presentation_
Start_Time) and playback end time (Presentation_End_Time) are also defined in this elementary stream layer,
In FIG. 4B, the video layer and the MPEG-Audio are placed in a separate frame.
Layer, AC-3 layer, and Linear-PCM layer, the data structures of the video stream and audio stream are independent of each other, and the playback start time and playback 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.

【0028】図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. In FIG. Indicates that the pack, packet, DTS, and PTS described above are independent of the data structures of the video stream and the audio stream. With respect to such a layer structure of the MPEG standard, the DVD-RAM standard includes a system layer of the MPEG standard and an elementary stream layer shown in FIG.
In addition to the packet, DTS, and PTS, the data structure of the VOB shown in FIG. 4A is defined.

【0029】(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 video stream shown in FIG. 5A has a data structure defined by the video layer shown in FIG. 4B, and corresponds to an image of one frame. A plurality of pieces of picture data. The picture data is obtained by compressing an NTSC or PAL video signal according to the MPEG standard. A plurality of picture data obtained by compressing an NTSC video signal is approximately 33
It is displayed in a video frame having a frame period of msec (accurately 1 / 29.97 sec), and a plurality of pieces of picture data obtained by compressing a PAL video signal are displayed in a video frame having a frame period of 40 msec. 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 the video frame "
<"Symbol indicates the playback start time (Presen
tation_Start_Time), and a symbol “>” indicates a video frame reproduction end time (Presentation_End_Time (hereinafter, video frames are shown with such a notation). Contains multiple video fields.

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

【0031】そこで、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 picture data arranged in the display order and picture data arranged in the encoding 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 characteristics with the I picture, the B picture is decoded by this I picture. I have to wait for Therefore, in the encoding order, the decoding of the I picture is prescribed before the B picture. Changing the order from the encoding order to the display order is called reordering.

【0032】図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.
Each picture data is about 2K in the coding order.
It is divided into Byte units and stored in the video pack sequence as shown at the bottom. In addition, if only P pictures and B pictures are used continuously, a problem occurs when decoding is performed in the middle of a stream in trick play or the like. Therefore, I pictures are inserted into picture data about every 0.5 seconds.
With this I picture at the head, a picture data sequence up to the next I picture head is called a GOP (Group of Pictures),
It is defined in the MPEG standard system layer as one compression unit in MPEG. The "|" symbol in the third row of FIG.
Indicates the boundary of In the GOP, the picture type of the picture data located last in the display order must be a P picture, and the picture type of the picture data located first in the coding order must be an I picture.

【0033】(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 a Dolby-AC3 system, an MPEG system,
One of the data compressed by the PCM method. The audio stream is reproduced in an audio frame having a unique frame period, like the video stream. 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.67msec (exactly 1 / 600sec)
It is.

【0034】図5(b)の最上段は、オーディオフレー
ムの一例を示している。本図において"<"記号は、ビデ
オフレームの再生開始時刻を示し、">"記号はオーディ
オフレームの再生終了時刻を示している(以降オーディ
オフレームは、このような表記を持って図示する。)。
このようなオーディオフレームにて表示されるべきオー
ディオデータは、図5(b)に示すように、そのオーデ
ィオフレームの再生開始時刻より前にデコーダに入力さ
れて、再生開始時刻においてデコーダによりバッファか
ら取り出されねばならない。
The uppermost part of FIG. 5B shows an example of an audio frame. In this figure, the symbol “<” indicates the reproduction start time of a video frame, and the symbol “>” indicates the reproduction end time of an audio frame (hereinafter, the audio frame is illustrated with such a notation). .
As shown in FIG. 5B, the 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 extracted from the buffer by the decoder at the reproduction start time. Must be done.

【0035】図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 audio data to be reproduced in each audio frame is stored in an audio pack. In this figure, audio data to be reproduced in the audio frames f81 and f82 is stored in the audio pack A71, and audio data to be reproduced in the 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 reproduced in the audio frame f83 is the audio pack A7 to be preceded.
1 and an audio pack A72 to be succeeded. Similarly, audio data to be reproduced in the audio frame f85 is also stored in a state of being divided into an audio pack A72 to be preceded and an audio pack A73 to be succeeded. In this way, audio data to be reproduced in one audio frame is stored in the two audio packs in a divided state, because the boundary between the audio frame and the video frame,
This means that the pack boundaries do not match. Such a boundary mismatch appears because the data structure of a pack is independent of the data structure of a video stream and an audio stream in the MPEG standard.

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

【0037】図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 in steps. That is, in the figure, the logical format located at the upper level is a detail of the logical format located at the lower level. In this figure
The video stream located at the first stage is divided into a plurality of GOPs shown in FIG. As shown in FIG. 5A, picture data in GOP units is divided into a plurality of 2KByte units. On the other hand, the audio stream located on the right side of the first stage is divided into a plurality of units of about 2 KBytes as shown in the third stage, as in FIG. Picture data in GOP units divided into 2KBytes is
The audio stream divided into units of about 2 KBytes is interleaved and multiplexed to form a pack sequence shown in the fourth row. Such a pack row includes a plurality of Vs shown in the fifth row.
An OBU (Video Object Unit) is formed, and the VOB shown in the sixth row has a configuration in which a plurality of VOBUs are arranged in time series. The lead line shown by a broken line in this drawing clearly shows which part of the lower logical format has been detailed in the upper logical format. Referring to the broken line in the figure based on this notation, the VOB at the fifth stage
U corresponds to the pack sequence shown in the fourth row, and further corresponds to picture data in GOP units shown in the second row.

【0038】破線に示した対応関係からも明らかなよう
に、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, a VOBU is multiplexed with at least one or more GOPs composed of picture data whose reproduction time is about 0.4 to 1.0 seconds. It is understood that the unit is a unit including audio data, and is configured by arranging a video pack and an audio pack in the MPEG standard. In the MPEG standard, the unit called GOP is defined in the system layer. However, only the video data is indicated by the GOP as shown in the second row of FIG. Audio data and other data (including sub-picture data and control data) are GOP
Is not instructed. In order to interpolate this, in the DVD-RAM standard, a VOBU is provided as a unit corresponding to a GOP, and at least one or more GOPs composed of picture data having a reproduction time of about 0.4 to 1.0 seconds, and the picture data Together with the multiplexed audio data.

【0039】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 using the VOBU as a minimum unit. For example, it is assumed that a video stream recorded on a DVD-RAM as a VOB includes a video such as a commercial having no recording value. Since the VOBU in the VOB includes one or more GOPs constituting the commercial and audio data multiplexed with the picture data, the VOBU corresponds to the commercial among a plurality of VOBs constituting the VOB. If only the part is deleted, it is not necessary to watch the video having no recording value as described above when the VOB is reproduced. 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 head of the VOBU, so that normal decoding and reproduction can be performed. FIG. 6 (b)
FIG. 4 is a diagram showing an example of a state in which a VOB is partially deleted.
In the figure, VOBs are VOBU # 1, VOBU # 2, VOBU # 3, VOBU #
4 ... VOBU # 7 VOBU # 2, VOBU # 4,
When 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 # are displayed as shown in the second row.
3, VOBU # 5, and VOBU # 7 are reproduced in this order.

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

【0041】(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. 6C to 6E show logical formats of the video pack and the audio pack to be stored in the VOBU. It is. Generally, in an MPEG system stream, a plurality of packets are inserted in one pack, but the DVD-RAM standard is based on limiting the number of packets to be inserted in a pack to only 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 includes a pack header, a system header, a packet header, and a video stream. It can be seen that the video data is composed of a part of video data.

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

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

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

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

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

【0047】例えば、時刻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 gradually increases the storage amount of the audio buffer from time T1 to time T2. Since the transferred audio data is output at the end time of the reproduction of the audio frame, the audio data in the audio buffer has been exhausted, and the buffer occupancy of the audio buffer is reduced.
Return to 0. In FIG. 7A, the same repetition is performed at time T2−
It is performed at time T3, time T3-time T4.

【0048】予め断った通り、図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 described, the buffer state shown in 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, a plurality of audio data to be reproduced in a plurality of audio frames is generally stored in one audio pack as shown in FIG. FIG. 7B illustrates a more realistic buffer state. The audio pack A31 in the figure stores therein audio data A21, A22, A23 to be decoded at the reproduction end time of the audio frames f21, f22, f23. Among these audio data, the audio data A21 is decoded at the reproduction end time of the audio frame f21, and thereafter, the audio data A22 and A23 are decoded at the reproduction end time of the audio frames f22 and f23. Of the audio frames stored in the audio pack, the one to be decoded earliest is the audio data A21, and the present audio data is to be decoded at the reproduction end time of the audio frame f21. DVD-R during the display period of this audio frame f21
Should be read from AM.

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

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

【0051】ノコギリを構成する三角形の高さは、各ビ
デオフレームにて再生されるビデオストリームのデータ
量を意味しており、このデータ量はビデオフレームにお
いてバラバラである。このようにデータ量がバラバラな
のは、画像の複雑さに応じた動的な符号量割り当てを行
っているからである。各三角形の傾きは、ビデオストリ
ームの転送レートを意味する。ビデオストリームの転送
レートの大雑把な値は、トラックバッファの出力レート
から、オーディオストリームの出力レートを減じること
により算出される。全フレーム周期においてこの転送レ
ートは同一である。
The height of the triangle forming the saw means the data amount of the video stream reproduced in each video frame, and this data amount varies among the video frames. The data amount varies as described above because dynamic code amount allocation according to the complexity of the image is performed. The slope of each triangle indicates the transfer rate of the video stream. A 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.

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

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

【0054】図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 the 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 begun. Similarly, at time T14, time T15, and time T17, time T19, time T2
0, it can be seen that the transfer of the decoded picture data has started at time T21.

【0055】図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. FIG.
Considering based on (c), in FIG.
The transfer of the picture data to be decoded in
The time “Tf_Peri” from the start time T23 of “BV delay” to the start of transfer of the image to be reproduced in the next video frame
od ”. The increase in buffer occupancy after this time is due to the transfer of the image to be reproduced in the next video frame.

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

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

【0058】図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", "A"
The vertical and horizontal rectangles with
Shows an audio pack. FIG. 8B is a diagram showing what the vertical width and horizontal width of this rectangle mean. The vertical width of the rectangle indicates the bit rate of the pack, and the horizontal width indicates the transfer time of the pack. Packs indicated by vertical rectangles indicate packs that are input to the buffer at a high bit rate in a relatively short period of time, while packs indicated by horizontal rectangles indicate buffers input at a low bit rate for a relatively long period of time. Indicates a pack to be input.

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

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

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

【0062】図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 the audio pack, the audio data A21 that should be decoded earliest.
Since the 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 the audio frame f20 (period k11). Therefore, as shown at the bottom of FIG. 9, the picture data V11 is arranged near the video pack storing the picture data V11.

【0063】オーディオフレームf24,f25,f26の再生終
了時刻に再生されるべきオーディオデータA24,A25,A26
をその内部に格納したオーディオパックA32は、オーデ
ィオフレームf23と同時期(期間k15)に転送が行われる
ピクチャデータV15と共にDVD-RAMから読み出されるべき
である。そのため、図9の最下段に示すように、ピクチ
ャデータV15を格納したビデオパックの近傍位置に配置
される。
The audio data A24, A25, A26 to be reproduced at the reproduction end time of the audio frames f24, f25, f26.
Should be read out 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, the picture data V15 is located near the video pack storing the picture data V15.

【0064】オーディオパックは複数オーディオフレー
ムでデコードされるべきオーディオデータを格納可能で
あり、また、オーディオパックが時間的に未来にデコー
ドされるべきピクチャデータを構成するビデオパックの
近傍位置に配置されるという事実を考えると、同時刻に
デコードされるべきオーディオデータ−ピクチャデータ
は、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 at a position near a video pack constituting picture data to be decoded in the future in time. In view of the fact, it seems that the audio data-picture data to be decoded at the same time is stored in the audio pack-video pack which is considerably separated on the VOB. However, this is not the case, and audio data to be decoded at the same time cannot be placed near a video pack that stores picture data to be decoded in the future for one second or more. This is because the MPEG standard specifies the upper limit of 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 one second after being input to the buffer. is there. This restriction is called "one second rule" in the MPEG standard. Since the "one second rule" exists, even if audio data and picture data to be decoded at the same time are separated, a maximum of three VOBUs from the VOBU storing the picture data to be decoded at a certain time are considered. Within the range, the audio pack to be decoded at the same time should be stored.

【0065】(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, buffer control when two or more VOBs are continuously reproduced will be described. FIG. 10A is a diagram showing a buffer state at the leading end of a video stream. FIR located in the middle of video frame f71 in this figure
Input of a pack including picture data is started in ST_SCR, and only BT2 is accumulated in the video buffer at the reproduction end time of the video frame f72. At the reproduction end time of the video frame f73, the picture data of BT3 is stored in the video buffer. Thereafter, the video frame f74 is extracted by the video decoder at the reproduction end time (hereinafter, referred to as FIRST_DTS). As described above, since there is no preceding video stream at the leading end of the VOB, the buffer state draws only a triangle as shown in FIG. Note that this drawing is based on the assumption that a video pack is input in FIRST_SCR, but if the pack located at the beginning of the VOB is another pack,
It does not coincide with the start of buffer state increase. Also, LAST_S
The reason why the CR is located in the middle of the video frame is that the CR is independent of the data structure of the pack and the data structure of the video data.

【0066】図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 the buffer state at the end of the video stream. In the figure, data input to the video buffer has been completed at LAST_SCR located in the middle of the video frame f61. Thereafter, the stored video data is extracted from the video buffer by the data amount Δ3 at the reproduction end time of the video frame f61. Thereafter, only the data amount Δ4 is extracted at the reproduction end time of the video frame f62, and only 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 the VOB, input of the 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 the ST_SCR, the accumulation amount of the video buffer gradually decreases. Therefore, the buffer state of the video stream end unit is as shown in FIG.
The step is drawn as shown in FIG.

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

【0068】図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. 10 (c), it is assumed that the video frames f71, f72, f73 shown in FIG. 10 (a) and the video frames f61, f62, f63 shown in FIG. 10 (b) respectively match. I have to. In this state, video frame f7
At the playback end time of 1, the picture data BE1 at the end and
The data BT1 constituting the picture data at the leading end is present in the video buffer, and at the reproduction end time of the video frame f72, the picture data BE2 at the end and the data BT2 constituting the picture data at the leading end are video. 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 constituting the picture data at the head exist in the video buffer. As the video frame elapses, the picture data at the end of the VOB gradually decreases,
The picture data at the tip of the VOB is gradually increasing. Since such an increase-decrease appears at the same time, the buffer state becomes saw-tooth in FIG. 10 (c), which is very similar to the buffer state in the VOB shown in FIG. 7 (c). I understand.

【0069】ここで留意すべきは、データ量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 that the total amount BT1 + BE1 of the data amount BT1 and the data amount BE1, the total amount BT2 + BE2 of the data amount BT2 and the data amount BE2, and the total amount BT3 of the data amount BT3 and the data amount BE3
+ BE3 is smaller than the capacity of the video buffer. That is, when the sum BT1 + BE1, the sum BT2 + BE2, and the sum BT3 + BE3 exceed the upper limit of the video buffer, the video buffer overflows. If the maximum value of the above sum is Bv1 + Bv2, then B
v1 + Bv2 must be less than the upper limit of the video buffer.

【0070】(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.
The time stamp is described in the pack header, system header, and packet header shown in FIGS. FIGS. 6F to 6H are diagrams showing logical formats of a pack header, a system header, and a packet header. As shown in FIG. 6F, the pack header includes a Pack_Start_Code, an SCR (System Clock Reference) indicating when data stored in the pack should be input to the video buffer and the audio buffer, and a Progr.
Including am_max_rate. The first SCR in the VOB is set in the STC as an initial value of a system time clock (hereinafter, referred to as “STC”) that is provided as a standard in the MPEG standard decoder.

【0071】図6(g)に示すシステムヘッダは、VOBU
の先頭に位置するビデオパックにのみ付与されるもので
あり、データを入力する際に再生装置に求められる転送
レートを示す最大レート情報(図中のRate.bound.inf
o)と、VOBUにおけるデータを入力する際に再生装置に
求められる最大バッファサイズを示すバッファサイズ情
報(図中のBuffer.bound.info)とを含む。
The system header shown in FIG.
The maximum rate information (Rate.bound.inf in the figure) indicating 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 the VOBU.

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

【0073】ビデオストリームでは、PTSは1GOPのビデ
オフレームにつき、1つ付与されている場合が多いが、
オーディオストリームでは、PTSは1〜2のオーディオフ
レーム毎に1つ付与されていることが多い。オーディオ
ストリームでは、符号化順序と表示順序とが入れ代わる
ことは有り得ないので、DTSは付与されない。1つのオ
ーディオパックに、2つ以上のオーディオフレームに再
生されるべきオーディオデータが完全に格納されている
場合、その先頭のオーディオフレームのPTSを記述す
る。
In a video stream, one PTS is often provided for each video frame of 1 GOP.
In an audio stream, one PTS is often provided for every one or two audio frames. In the audio stream, since the encoding order and the display order cannot be interchanged, DTS is not provided. 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.

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

【0075】(1-2-3-4) タイムスタンプの連続性 続いて、図6(f)〜図6(h)に示したPTS、DTS、SC
Rがそれぞれのビデオパック、オーディオパックにおい
てどのような値に設定されるかを説明する。図11
(a)は、VOBに含まれているパックのSCRの値を、パッ
クの配列順にプロットして描画したグラフである。横軸
は各ビデオパックの順位を示し、縦軸は各ビデオパック
に付与されたSCRの値を示している。
(1-2-3-4) Continuity of Time Stamp Subsequently, the PTS, DTS, SC shown in FIGS.
The following describes how R is set in each video pack and audio pack. FIG.
(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 shows the order of each video pack, and the vertical axis shows the SCR value assigned to each video pack.

【0076】図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 the SCR in FIG. 11A is not "0" but a predetermined value of Init1. The reason why the initial value of the SCR is not "0" is that the VOB targeted by the video data editing apparatus has often been edited several times so far, and the leading end is partially deleted. Because they are often there. Of course, the VOB that has just been encoded is considered to have the SCR initial value set to 0. However, in this embodiment, as shown in FIG. It is assumed that this value is set.

【0077】本グラフを参照すると、VOBにおいて先に
位置するビデオパック程SCRの値は少なく、VOBにおいて
後に位置するビデオパック程SCRの値は大きいことがわ
かる。これは、VOBにおいて後に位置するビデオパック
程、より大きいSCRを有していることを意味している。
このように、VOBにおいて先に位置するパック程タイム
スタンプの値は少なく、VOBにおいて後に位置するパッ
ク程タイムスタンプの値が大きいことを、"タイムスタ
ンプの連続性"という。この連続性は、DTSにおいても同
様に存在する。各ビデオパックに付与されたPTSは、符
号化順序において後に符号化されたビデオパックを先に
表示させるため、PTSの値が前後のビデオパックで逆転
している場合があるが、おおむねのところ、SCR、DTSと
同様、連続性を有することにはかわりない。
Referring to this graph, it can be seen that the value of the SCR is smaller for the video pack located earlier in the VOB, and is greater for the video pack located later in the VOB. This means that the later video pack in the VOB has a larger SCR.
As described above, the earlier the pack in the VOB, the smaller the value of the time stamp, and the later the pack in the VOB, the larger the value of the time stamp. This continuity exists in DTS as well. The PTS assigned to each video pack, in order to display the video pack encoded later in the encoding order first, the value of the PTS may be reversed in the previous and next video packs, but generally, As with SCR and DTS, there is no change to having continuity.

【0078】一方、オーディオパックの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 similarly to the video pack. Where SCR, DTS, PTS
Is a necessary condition for normal decoding of a VOB, but what value the SCR can maintain the continuity will be described. In FIG. 11B, a straight line indicating the SCR of the section B exists on an extension of the straight line indicating the SCR of the section A. In such a case, it can be said that the time stamp is continuous between the section A and the section B.

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

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

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

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

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

【0084】(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 The “stream attribute information” includes “video attribute information” and “audio attribute information”. "Video attribute information" is MP
It includes video format information in which one of EG2 and MPEG1 is described, and a display method in which NTSC or PAL / SECAM is described. When the video attribute information is described in the NTSC format, 720 × 480, 352 × 240, etc. can be described as the resolution. Also, the aspect ratio is 4: 3 or 16:
9 can be described. The presence / absence of copy protection control for an analog video signal and the presence / absence of copy guard to the VTR by changing the signal amplitude of the blank section of the video signal and causing a failure in the AGC circuit of the VTR can be described.

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

【0086】(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 The “seamless connection information” is information for seamlessly performing continuous playback of a plurality of VOBs recorded in an AV file, and includes “seamless flag” and “video playback start”. 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”.

【0087】(1-3-3-1)シームレスフラグ 『シームレスフラグ』は、AVファイルにおいて本VOBよ
り前に配置されているVOB(前部VOB)の再生を終えた後、
本シームレス接続情報に対応するVOBがシームレスに行
われるか否かを示すフラグである。本フラグは、01に設
定されることにより、本VOB(後部VOB)の再生がシーム
レスに行われることを示し、00にされることにより、後
部VOBの再生が非シームレスに行われることを示す。
(1-3-3-1) Seamless Flag The “seamless flag” is generated after the reproduction of the VOB (front VOB) arranged before the main VOB in the AV file is completed.
This flag indicates whether the VOB corresponding to the seamless connection information is performed seamlessly. When this flag is set to 01, it indicates that the reproduction of the main VOB (the 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.

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

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

【0090】これら(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 relations (1) and (2) are satisfied, and the seamless flag is set to 00 when at least one of the relations (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 at which the playback of the first video field of the video stream constituting the VOB is started in PTM description format. is there.

【0091】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 describes the time to be described with a time accuracy of 1 / 27,000,000 seconds and 1 / 90,000 (= 300/2
This format is specified to be expressed using a time accuracy of 7,000,000) seconds. Here, the time accuracy of 1 / 90,000 seconds is based on the common multiple of the frame frequency of NTSC signal, PAL signal, Dolby AC-3, and MPEG audio, and is 1 / 27,0
The time accuracy of 00,000 seconds takes into account the STC frequency of 27 MHz.

【0092】図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 a 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). (1-3-3-3) Video playback end time VOB_V_E_PTM “Video playback end time VOB_V_E_PTM” is a description of the time at which the playback of the last video field of the video stream constituting the VOB ends is described in PTM description format. is there.

【0093】(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 When two VOBs are played seamlessly, the rear VOB
The relationship between VOB_V_S_PTM of this VOB and VOB_V_E_PTM of the front VOB should be described. Originally, the rear VOB is played after all the video packs included in the front VOB are played, so the VOB_V_S_PTM of the rear VOB is used.
Is not the same as VOB_V_E_PTM of the front VOB, discontinuity occurs in the time stamp, and it is impossible to reproduce the front VOB-the rear VOB continuously. However, for two VOBs encoded completely separately, the encoder uniquely assigns 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 time stamp of the rear VOB Video playback start time VOB_V_S_
It is difficult to require a relationship that PTM is equal.

【0094】図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 occupancy for each of the front VOB and the rear VOB. In these graphs, the vertical axis indicates the buffer occupancy of the buffer, and the horizontal axis is the time axis. On this time axis, the times indicated by the SCR, PTS, video playback end time VOB_V_E_PTM, and video playback start time VOB_V_S_PTM are plotted. FIG. 11B
In the picture data to be displayed last in the front VOB, the input of the video data constituting the picture data to the video buffer ends by LAST_SCR, and the display process starts after waiting for the PTS serving as the playback start time. (Finally MPEG
This is not necessary when the pack input to the decoder is another pack such as an audio pack). The time when the display period h1 has elapsed from this PTS is the video playback end time VOB_
V_E_PTM. The display period h1 is a period in which drawing from the first field to the last field constituting an image for one screen is completed.

【0095】図13の下部では、後部VOBにおいて最初
に表示されるべきピクチャデータは、FIRST_SCRにてビ
デオバッファに入力され、その再生開始時刻となるPTS
を待って表示される。この表示時刻がビデオ再生開始時
刻VOB_V_S_PTMである。本図では、前部VOB及び後部VOB
のビデオパックには、それぞれ0を初期値とした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 serving as the reproduction start time is inputted.
Wait for it to appear. This display time is the video playback start time VOB_V_S_PTM. In this figure, the front VOB and rear VOB
Each video pack has an SCR with 0 as an initial value, a video playback end time VOB_V_E_PTM, and a video playback start time VOB.
_V_S_PTM is assigned, so the VOB_V_S_PTM of the rear VOB
<It can be seen that the relationship is VOB_V_E_PTM of the front VOB.

【0096】それでは、後部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 <the front VO
The reason why seamless playback is possible even in 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 ”) (see FIG. 19). In general
The MPEG standard decoder has a system time clock STC for measuring a reference time, and a video decoder and an audio decoder perform decoding and display processing with reference to the reference time measured by the STC. E-STD
Has an adder that adds an offset to the reference time output by the STC in addition to the STC, and selects one of the reference time output by the STC and the output value of the adder to select a video decoder. , Audio decoder. With this configuration, even if the time stamps are discontinuous between VOBs, it is possible to behave as if the time stamps between VOBs are continuous by giving the output value of the adder to decoding. , Front VOB V
Even if the OB_V_E_PTM and the VOB_V_S_PTM of the rear VOB have a discontinuous relationship as described above, seamless reproduction is performed.

【0097】そればかりか、後部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を加算器に設定させる目的もある。
In addition, the video playback end time VOB_V_E_PTM of the rear VOB and the video playback start time VOB of the front VOB
The difference from _V_S_PTM can be used as an offset to be added to the adder (generally called “STC offset”). Therefore, the playback device of the E-STD model sets the video playback end time VOB_V_E_PTM and the video playback start time V
The following calculation is performed using OB_V_S_PTM, and STC_offset is obtained and set 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 the end time VOB_V_E_PTM in the seamless connection information are described because the above calculation is performed by the decoder and the STC of
The purpose is to have the adder set fset.

【0098】図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. 11E is a diagram in which the graph showing the continuity of the time stamps shown in FIG. 11A is described 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 than that of a later pack. VO
The time stamp of the first pack in B # 2 is also the initial value I
It has nit2 and has a larger time stamp than later packs. In the 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 following the last pack of 1, set the time stamp of VOB # 2 to STC_offset
Is added, the continuity in the time stamp of VOB # 2 moves from the one shown by the solid line to the one shown by the broken line.
When the time stamp of VOB # 2 moves to the one indicated by the dashed line, the straight line indicating the increase in the time stamp value of VOB # 2 becomes VOB
It is located on the extension of the straight line that increases the timestamp value of # 1,
It can be seen that time stamp continuity is established.

【0099】(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 “FIRST_SCR” indicates that the SCR attached to the first pack of the VOB is a PTM.
Fill in the description format. (1-3-3-6) LAST_SCR In “LAST_SCR”, the SCR attached to the pack placed last in the VOB is entered in PTM description format.

【0100】(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 VOB reproduction is performed by an E-STD type decoder, the LAST_SCR of the front VOB and the 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 relationship of the following equation must be satisfied. LAST_SCR of front VOB +1 Time required for pack transfer ≤ STC
_offset + FIRST_SCR of the rear VOB Here, the fact that the LAST_SCR of the front VOB and the FIRST_SCR of the rear VOB do not satisfy the above relationship means that the pack forming the front VOB and the pack forming the rear VOB are simultaneously in the video buffer. This means that the data is transferred to the audio buffer, which is contrary to the MPEG standard and the E-STD decoder model in which the transfer is performed in units of individual packs in the order of the pack sequence. Here, referring to FIG. 10C, the LAST_SCR of the front VOB and the STC_offset + FIRST_SCR of the rear VOB
Are in agreement with each other, and the above relationship is satisfied.

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

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

【0103】ここで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, the VOB is reproduced from the front VOB to the rear VOB.
Normal playback that is played back to B, and rear VOB to front VOB
LAST_SCR is used to switch the reference time during normal playback, and
RST_SCR is used to switch the reference time during rewind playback. During rewind playback, the last V of the rear VOB
The OBU is decoded to the first VOB, and after the first video pack of the rear VOB is decoded, the last VOB of the front VOB
It is decoded from the OBU to the first VOBU. In other words, at the time of rewind playback, it is necessary to switch the reference time when decoding of the first video pack of the rear VOB is completed. FIRST_SCR of each VOB is entered.

【0104】尚、以上の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 of the above-described E-STD and STC_offset, refer to International Publication No. WO97 / 13364. (1-3-3-8) Audio gap start time A_STP_PTM “Audio gap start time A_STP_PTM” is a PTM description format that specifies the stop start time to stop the operation of the audio decoder when an audio playback gap exists in the VOB. It is described in. The time indicated by the audio gap start time A_STP_PTM is one V
One per OB.

【0105】(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 to be stopped from the stop start time specified by the audio gap start time A_STP_PTM. Is shown. The time length of the audio gap length A_GAP_LEN is limited to less than one audio frame.

【0106】(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 generation period is specified using the audio gap start time A_STP_PTM and the audio gap length A_GAP_LEN will be described. Since the video stream and the audio stream are reproduced at different periods, the total reproduction time of the video stream and the audio stream included in the VOB is different from each other. For example, when the video stream is in the NTSC format and the audio stream is in the Dolby-AC3 format, the total playback time of the video stream is an integral multiple of 33 msec as shown in FIG. It is an integral multiple of 32 msec.

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

【0108】図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 the reproduction time of the picture data and the reproduction time of the audio data are aligned at the leading end of the VOB, so that a time difference g1 appears at the end of the picture data and audio data. FIG. It can be seen that VOB # 1 has a time difference g1 at its end. Here, if VOB # 2 is to be linked to VOB # 1, the playback of the audio stream of VOB # 2 is performed so as to reduce the time difference g1, so that the playback of the audio stream in VOB # 2 starts at time g0. I will be. This is because the audio decoder continuously decodes the audio stream at a constant period by utilizing the fact that the audio stream is reproduced at a constant frame rate. VOB # 2 to be done is already DV
This is because if the audio stream is read from the D-RAM, the decoding of VOB # 2 is started as soon as the audio stream of VOB # 1 is completely decoded.

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

【0110】また、ストリーム内においても、オーディ
オギャップを特定するための処理を施す。具体的にいう
と、オーディオギャップ直後のオーディオフレームのPT
Sをオーディオパケットのパケットヘッダに記述するこ
とにより、当該オーディオギャップが何時終わるかを特
定するのである。しかしこの特定方法では、オーディオ
パケット内に複数オーディオフレームで再生されるべき
複数オーディオデータが格納されている場合に問題点が
生じる。というのは、複数オーディオフレームで再生さ
れるべき複数オーディオデータが格納されている場合、
パケットにPTSを記述できるのは、それらの複数のオー
ディオフレームのうち、先頭のオーディオフレームのみ
である。つまり、残りのオーディオフレームについては
PTSを記述することはできないのである。もしオーディ
オギャップの前後に位置するオーディオフレームにて再
生されるべきオーディオデータが同一パケットに配され
た場合、オーディオギャップ直後のオーディオフレーム
のPTSが記述できないため、オーディオギャップが特定
できず、オーディオギャップは消失してしまうことにな
る。そこで、オーディオギャップ直後のオーディオフレ
ームが次のオーディオパックの先頭に配置されるよう処
理して、オーディオギャップ直後のオーディオフレーム
のPTS(オーディオギャップ開始時刻A_STP_PTM+オーデ
ィオギャップ長A_GAP_LEN)をストリームに明示する。
Also, processing for specifying an audio gap is 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 specific method has a problem when a plurality of audio data to be reproduced in a plurality of audio frames are stored in an audio packet. This means that if multiple audio data is to be played in multiple audio frames,
Only the first audio frame among the plurality of audio frames can describe the PTS in the packet. So for the remaining audio frames
PTS cannot be described. If audio data to be played back in 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 identified and the audio gap is It will disappear. Therefore, processing is performed so that the audio frame immediately after the audio gap is arranged at the head 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 specified in the stream.

【0111】更に必要に応じて、オーディオギャップの
直前に再生されるべきオーディオデータを格納したオー
ディオパケットにおいて、当該オーディオデータの直後
に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 specified 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
Audio pack with audio gap including
FIG. 31 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 front end of VOB # 2.

【0112】尚、上述したオーディオパック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. . If the audio data to be reproduced in the audio frame located immediately after the audio gap is included in a certain pack, the pack located immediately before the pack is referred to as an “audio pack including an audio gap”.

【0113】ここでオーディオパック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 row in the VOBU, there is no picture data to be displayed in the future in 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 out in audio frames y-2, y-1, y. This is the picture data that should be. If so, within the range that does not violate the "one-second rule", the audio pack G3 including the audio gap is placed in the three VOBUs located at the tip of VOB # 2.
May be arranged in any of them. FIG. 14 (d)
Audio pack G3 including audio gap is VOB #
2 is an explanatory diagram showing that the VOBU # 1, VOBU # 2, and VOBU # 3 are located at any one of the VOBU # 1, VOBU # 3, and VOBU # 3 located at the leading end of FIG.

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

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

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

【0117】第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において最初の映像が表示されたばかりで
あり、音声出力が無音であっても、操作者に違和感を与
える可能性は低いと考えられるからである。
Third, 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 be less than one audio frame before the rear video playback start time (VOB_V_S_PTM) with the audio gap start time (VOB_A_STP_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 expression. VOB_V_S_PTM-1 audio frame playback time <A_STP_PTM ≤ VOB_V_S_PTM Even if an audio gap occurs at such time, the first video is just displayed in the rear VOB, and even if the audio output is silent, This is because it is considered that the possibility of giving a feeling of strangeness is low.

【0118】以上の制限を設けることで、シームレス再
生時におけるオーディオギャップの発生間隔は最小で
も、”1.5秒-1オーディオフレーム再生時間×2”とな
る。具体的に数値を当てはめてみると、オーディオをDo
lby AC3と すれば1オーディオフレーム再生時間は32mse
cであるから、オーディオギャップ の発生間隔は最小で
も1436msecになり、制御部による停止制御が余裕をもっ
て行われる可能性は高い。
By providing the above-mentioned restrictions, the generation interval of the audio gap at the time of seamless reproduction is at least “1.5 seconds−1 audio frame reproduction time × 2”. When applying specific numbers, audio is Do
With lby AC3, one audio frame playback time is 32mse
Since it is c, the interval at which the audio gap occurs is at least 1436 msec, and there is a high possibility that the stop control by the control unit will be performed with a margin.

【0119】(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
This is a 3-bit value indicating in which VOBU among the three VOBUs located at the leading end of B the audio pack including the audio gap has been inserted. If this information is 1, VO
BU # 1 indicates that an audio gap exists, and if it is 2, it indicates that an audio gap exists in VOBU # 2. If it is 3, it indicates that there is an audio gap in VOBU # 3.

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

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

【0122】また、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 may be provided in a VOB is only one for each VOB, and if a new audio gap is to be generated, the past audio gaps will not be necessary. No. The trouble here is that the audio pack containing the audio gap as shown in FIG.
G3 is the VOBU in VOB # 2 as long as it does not violate the 1 second rule.
# 1 to VOBU # 3
The audio pack G3 including the audio gap must be extracted from the packs included in VOB # 1 to VOB # 3. Even though there are at most three VOBUs, an audio pack G3 that includes an audio gap from these
Extracting only the instantly requires analysis of the stream. This is because each VOBU contains several hundred packs, and referencing the inside thereof requires a considerable amount of processing.

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

【0124】図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 a case in which, of VOB # 1 to VOB # 2 to be reproduced seamlessly, a VOBU located at the leading end of VOB # 2 is deleted. FIG. 11 is an explanatory diagram showing a procedure in which the data editing device recreates an audio gap. In FIG. 15A, VOB # 1 is “VOBU #
98, "VOBU # 99", and "VOBU # 100" are located at the ends. VOB # 2 includes “VOBU # 1” and “VOB
It can be seen that U # 2 and VOBU # 3 are located at the tip. It is assumed that a partial deletion from VOBU # 1 to VOBU # 2 has been commanded to the video data editing apparatus in VOB # 2.

【0125】オーディオギャップを含んだオーディオパ
ック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 specify the VOBU in which the audio pack G3 including the audio gap is located. Here, assuming that the audio gap position information A_GAP_LOC is set as shown in FIG. 15B, it is understood that the audio pack G3 including the audio gap is arranged in VOBU # 3 of VOB # 2.

【0126】このようにオーディオギャップを含んだオ
ーディオパック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 known that the audio pack G3 including the audio gap is arranged in VOBU # 3, it is known whether or not the audio gap is multiplexed within the partial deletion range. Does not include an audio gap, and thus corrects A_GAP_LOC by the number of deleted VOBUs as shown in FIG. (1-4) System Configuration of Video Data Editing Apparatus The video data editing apparatus in the present embodiment is a DVD-RAM
And a function as a reproducing device-recording device. FIG. 16 shows a configuration example of a system using the video data editing device in the present embodiment. A video data editing device (hereinafter, referred to as a DVD recorder 70) in the present system includes a remote controller 71, a television receiver 72 connected to the DVD recorder 70, and an antenna 73. This DVD
The recorder 70 is assumed to be used as an alternative device having an editing function of a video tape recorder which is widely used as a television broadcast recorder. It shows the case where it was used within. The DVD-RAM is used as a recording medium for the DVD recorder 70 to record a television broadcast.

【0127】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 the NT signal received through the antenna 73.
The SC signal is compressed and recorded as VOB on DVD-RAM, and DV
The video stream and the audio stream contained in the VOB recorded in the D-RAM are expanded, and the video signal or the NTSC signal or the audio signal is output to the television receiver 72.

【0128】(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 a hardware configuration of the DVD recorder 70. The DVD recorder 70 has a control unit 1, an MPEG encoder 2, a disk access unit 3, a decoder 4, a video signal processing unit 5, a remote control 71, a bus 7, a remote control signal receiving unit 8, and a receiver 9.

【0129】図中の実線の矢印は、ビデオデータ編集装
置において基板配線として実装されている物理的な接続
線であり、図中の破線は、映像編集時において実線の矢
印に示す接続線上で、各種データがどのように入出力さ
れているかを示す論理的な接続線である。破線に添えた
(1)(2)(3)(4)(5)の数値は、VOBUの再エンコード時にお
いて、VOBU及びこれを構成するピクチャデータ、オーデ
ィオデータが上記物理的な接続線上をどのように伝送し
てゆくかを示す。制御部1は、CPU1a、プロセッサバス
1b、バスインタフェース1c、主記憶1d、ROM1eを有
したホスト側制御部であり、ROM1eに格納されたプログ
ラムを実行することにより、VOBの記録、再生、編集な
どを行う。
The solid arrows in the figure are the physical connection lines mounted as the board wiring in the video data editing apparatus, and the broken lines in the figure are on the connection lines indicated by the solid arrows at the time of video editing. This is a logical connection line indicating how various types of data are input and output. Attached to the broken line
The values of (1), (2), (3), (4), and (5) indicate how the VOBU and the picture data and audio data that make up the VOBU are transmitted on the physical connection line when the VOBU is re-encoded. Indicate whether to go. The control unit 1 is a host-side control unit having a CPU 1a, a processor bus 1b, a bus interface 1c, a main memory 1d, and a ROM 1e. By executing a program stored in the ROM 1e, VOB recording, reproduction, editing, etc. I do.

【0130】MPEGエンコーダ2は、アンテナ73を通し
てレシーバ9がNTSC信号を受信した場合、または、DVD
レコーダ70の背面に備えられているビデオ入力端子か
ら、家庭用ビデオカメラが出力したビデオ信号が入力さ
れてくる場合、これらNTSC信号及びビデオ信号をエンコ
ードすることによりVOBを得て、エンコード結果であるV
OBをバス7を通じてディスクアクセス部3に出力する。
特に映像編集に関する処理としてMPEGエンコーダ2は、
バス7を介して接続線c1から出力されてくるデコーダ4
によるデコード結果を破線(4)に示すように入力し、こ
のデコード結果をエンコードすることによりVOBを得
て、エンコード結果であるVOBをバス7を通じて破線(5)
に示すように、ディスクアクセス部3に出力する。
The MPEG encoder 2 is used when the receiver 9 receives the NTSC signal through the antenna 73,
When a video signal output from a home video camera is input from a video input terminal provided on the back of the recorder 70, a VOB is obtained by encoding the NTSC signal and the video signal, and the result is an encoding result. V
The OB is output to the disk access unit 3 via the bus 7.
In particular, as a process related to video editing, the MPEG encoder 2
Decoder 4 output from connection line c1 via bus 7
Is input as shown by a dashed line (4), and a VOB is obtained by encoding the decoding result.
As shown in FIG.

【0131】ディスクアクセス部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 recording to DVD-RAM is instructed by the control unit 1 and the encoded VOBs are sequentially output from the MPEG encoder 2 as shown by a dashed line (5), the disk access unit 3 Is stored in the track buffer 3a, and is temporarily stored in the ECC processing unit 3b.
After the processing, the drive mechanism 3c is controlled so that the data is sequentially recorded on the DVD-RAM. On the other hand, when the reading from the DVD-RAM is instructed by the control unit 1, the drive mechanism 3c is controlled so as to sequentially read the VOB from the DVD-RAM, and the read is performed.
After subjecting the VOB to ECC processing by the ECC processing unit 3b, the VOB is stored in the track buffer 3a.

【0132】ここでドライブ機構3cは、DVD-RAMをセッ
トする基台と、セットされたDVD-RAMをクランプして回
転駆動するスピンドルモータと、DVD-RAMに記録された
信号を読み出す光ピックアップと、光ピックアップのア
クチュエータとを備えており、DVD-RAMの読み書きは、
これらの制御により実現されるが、その制御の詳細につ
いては本発明の主眼でなく、公知技術であっても実現で
きるものなので、その詳細説明は省略する。
Here, the drive mechanism 3c includes a base for setting a DVD-RAM, a spindle motor for clamping and rotating the set DVD-RAM, and an optical pickup for reading a signal recorded on the DVD-RAM. , An optical pickup actuator, and DVD-RAM read / write
The control 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 detailed description thereof will be omitted.

【0133】デコーダ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 shown by the dashed arrow (1), the decoder 4 decodes the output VOB to decode digital uncompressed data. Video data and an audio signal are obtained, digitally uncompressed video data is output to the video signal processing unit 5, and the audio signal is output to the television receiver 7.
Output to 2. Also, when editing video, the decoder 4
Outputs the decoding results 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 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 shown by the dashed arrow (4).

【0134】ビデオ信号処理部5は、デコーダ4からの
映像データをテレビ受像機72用の映像信号に変換する
と共に、外部からグラフィックスデータが出力されれば
そのグラフィックスデータを変換後の映像信号に合成す
るよう信号処理を行う。リモコン信号受信部8は、リモ
コン信号を受信し、その信号に含まれているキーコード
を制御部1に通知して、リモコン71の操作に従った制
御を制御部1に行わせる。
The video signal processing unit 5 converts the video data from the decoder 4 into a video signal for the television receiver 72 and, if graphics data is output from the outside, converts the graphics data into a converted video signal. To perform signal processing. 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.

【0135】(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 Configuration of MPEG Encoder 2 FIG. 18 is a block diagram showing the configuration of the MPEG encoder 2. As shown in the figure, the MPEG encoder 2 includes a video encoder 2a, a video buffer 2b for storing the output of the video encoder, an audio encoder 2c, and an audio buffer 2d for storing the output of the audio encoder.
A system encoder 2e for multiplexing the encoded video stream in the video buffer 2b and the encoded audio stream in the audio buffer 2d, and an STC for generating a synchronization clock for the encoder 2.
The system comprises a (system time clock) section 2f and an encoder control section 2g for controlling and managing these sections.

【0136】(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 Configuration of Decoder 4 FIG. 19 is a block diagram showing the configuration 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. It is composed of a switch SW3, a switch SW4, and a decoder controller 4k.

【0137】デ・マルチプレクサ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. If the determination result is an audio pack, the audio data in the pack is output to the audio buffer 4d.

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

【0139】オーディオバッファ4dは、デ・マルチプレ
クサ4aが出力したオーディオデータを蓄積するための
バッファである。オーディオデコーダ4eは、オーディ
オデコーダ4eに格納されたオーディオフレーム単位の
オーディオデータを順次デコードする。制御部1が発し
たADPI(Audio Decoder Pause Information)の出力を
受け付けた場合、オーディオデコーダ4eは、オーディ
オフレームデータのデコード処理を停止する。ADPIは、
現在時刻がシームレス接続情報に示されているオーディ
オギャップ開始時刻A_STP_PTMになった時点で制御部1
から発せられる。
The audio buffer 4d is a buffer for storing 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 receiving the output of ADPI (Audio Decoder Pause Information) issued by the control unit 1, 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
Emanated from.

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

【0141】STC(システムタイムクロック)部4gは、
デコーダ4内の基準時刻を示す同期クロックを生成す
る。加算器4hは、同期クロックにより示される基準時
刻にSTC_Offsetを加算した値をオフセット付き基準時刻
として出力する。このSTC_offsetは、制御部1がシーム
レス接続情報に示されているビデオ再生開始時刻VOB_V_
S_PTMとビデオ再生終了時刻VOB_V_E_PTMとの差分をとる
ことにより算出され、設定される。
The STC (system time clock) unit 4g
A synchronous clock indicating a 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_ specified by the control unit 1 in the seamless connection information.
Calculated and set by taking the difference between S_PTM and video playback end time VOB_V_E_PTM.

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

【0143】スイッチ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 from the adder 4h to the video decoder 4c. The supplied reference time or offset-added reference time is used for comparison with the decode 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 reorder buffer 4f. The supplied reference time or offset-added reference time is used for comparison with the reproduction start time of each picture data.

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

【0145】(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 switches SW1 to SW4. This timing chart shows at what timing the switching of the switches SW1 to SW4 is performed when VOB # 1−VOB # 2 are continuously reproduced. The upper part of the figure shows a pack sequence constituting VOB # 1-VOB # 2, and the middle part shows a video frame. The lower part shows an audio frame.

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

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

【0148】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 ROM 1e is a DVD-RA
It includes a module that processes two VOBs recorded in M so that they can be played back seamlessly. (1-4-1-2-2) Processing Procedure for Performing Seamless Processing on VOB FIGS. 21 and 22 show processing procedures of a processing module for performing processing so that two VOBs in an AV file are connected seamlessly. It is a flowchart shown. FIG. 23 (a),
FIG. 23B is an explanatory diagram showing a state of analyzing the buffer state based on each video pack. FIG.
(A), FIG. 25 shows which audio frame of the audio stream corresponds to the audio frame x, x + 1, y-1, y, u, u + 1, u + 2 used in FIG. FIG.

【0149】次に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 in 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 a change in buffer occupancy from the FIRST_SCR of the preceding VOB to the decoding end time of all data. FIGS. 23 (a) and 23 (b) show step S103.
FIG. 4 is an explanatory diagram showing a process of analyzing a buffer occupancy in the embodiment. As shown in FIG. 23 (a), the video pack # is added to the front VOB.
1. When video pack # 2 is included, SCR # 1, # 2 included in these video packs and DTS # 1 are plotted on the time axis. Then video pack # 1, video pack # 2
Detects the data size of the data contained in. SCR #
From 1 the slope of the bit rate information in the pack header is plotted for the data size of video pack # 1.
Next, similarly, the data size of the video pack # 2 is plotted 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.

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

【0151】ステップ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 unit 1 performs the same analysis as in step S103 on the rear VOB to analyze the change in the video buffer occupancy from the FIRST_SCR of the rear VOB to the decoding end time LAST_DTS of all data. . In step S105, the control unit 1
The change in the video buffer occupancy from FIRST_SCR + STC_offset of the VOB to LAST_DTS of the front VOB is analyzed. Rear VOB F
The time zone from IRST_SCR + STC_offset to LAST_DTS of the front VOB is a time zone in which the last picture data of the front VOB is stored in the video buffer 4b, but the first picture data of the rear VOB is transferred to the video buffer 4b. It is.

【0152】前部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 becomes as shown in FIG.
The result is as shown in FIG. In FIG. 10 (c), FIRS
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 storage amount Bv1 + Bv2 of the video buffer 4b which is the maximum is calculated.

【0153】ステップ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 three VOBUs located at the end of the front VOB. Subsequently, step S107
In the control unit 1, the three units located at the front end of the rear VOB
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.
In (c), the front VOB includes VOBUs # 98 to # 105,
If the last VOBU is # 105, VOBUs # 103 to # 103 are regarded as VOBUs containing 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. In FIG. 23D, the rear VOB
Include VOBUs # 1 to # 8, and when the first VOBU is # 1, VOBUs # 1 to # 3 are read out as VOBUs containing picture data V_TOP to be decoded first.

【0154】ここで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秒より長い期間に再生されるべ
きビデオデータ、オーディオデータを読み出してもよ
い。
Here, according to the one second rule, audio data and picture data to be reproduced within one second are
Since there is a possibility that the VOBU is stored separately from the VOBU, as described above, the three VO
By reading the BU, in step S106, the front part
All the picture data and audio data to be reproduced from one second before the reproduction end time of the picture data V_end located at the end of the VOB to the reproduction end time have been read together. 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 leading end of the rear VOB to one second after the reproduction start time are read together. It was. In this flowchart, reading is performed in units of 3 VOBUs, but the number of VOBUs may be any number. Also, instead of reading in VOBU units,
Of the picture data and audio data included in the BU, only the data to be reproduced in one second may be read. Further, video data and audio data to be reproduced in a period longer than one second may be read.

【0155】読み出し後、ステップ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 to separate the VOBUs at the start and end into a video stream and an audio stream, and decodes these streams into the video decoder 4c and the audio decoder. The decoder 4e performs the operation. During normal playback, the decoding results of the video decoder 4c and the 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 broken 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 sequentially taken into the MPEG encoder 2 as shown by a broken arrow (4).

【0156】以降制御部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を制御する。
Thereafter, the control unit 1 calculates a code amount for causing the MPEG encoder 2 that has received the decoding result of the video stream and the decoding result of the audio stream to perform re-encoding. First, in step S109, the control unit 1 determines whether the buffer accumulation amount at each decoding timing exceeds the upper limit value of the buffer during a period in which the front VOB and the rear VOB are mixed in the buffer.
In the present embodiment, the value calculated in step S105
It is determined whether Bv1 + Bv2 exceeds the upper limit of the buffer. If it does not exceed the upper limit, step S11
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 in the code amount reduces the quality of the video stream in the read VOBU sequence, but the overflow of the video buffer 4b must be avoided to seamlessly connect the two VOBs. They choose the method of lowering it. In step S111, the video decoder 4c is controlled to re-encode the decoding results of the video decoder 4c and the audio decoder 4e based on the code amount allocated in step S110.

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

【0158】ステップ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 a decoding result of the audio data obtained by separating the front VOB, which corresponds to the audio frame x including the FIRST_SCR + STC_offset of the rear VOB. FIG.
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), audio frames of audio data obtained by separating the front VOB and audio frames of audio data obtained by separating the rear VOB are arranged vertically. The lower audio frame sequence clarifies the correspondence between the time axis of the upper graph and each audio frame. Here's the top graph
When a vertical line is dropped from FIRST_SCR + STC_offset, this vertical line intersects one audio frame in the audio frame sequence of the front VOB. The crossed 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 last picture data V_END at the end of the front VOB.
Is included in the multiple audio data to be played in the time zone obtained by adding 1.0 seconds before and after the display period of,
These are included in the three VOBUs read in step S105.

【0159】図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 a case where FIRST_SCR + STC_offset matches the audio frame boundary of the front VOB. If they match in this way, the audio frame immediately before that is set as audio frame x. Step S11
In 3, the control unit 1 sets the VOB_V_S_PTM + STC_Off of the rear VOB.
Calculate audio frame y + 1 including set. FIG.
In (a), the video playback start time VOB_ of the upper graph
When a perpendicular is dropped from V_S_PTM, this perpendicular intersects one audio frame in the audio frame sequence of the rear VOB. The crossed audio frame is an audio frame y + 1, and the audio frame up to the immediately preceding audio frame y is a valid audio frame that is used after editing among the original audio data included in the front VOB.

【0160】図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 playback start time VOB_
FIG. 31 is a diagram illustrating a case where V_S_PTM + STC_offset matches an audio frame boundary of a front VOB. If they match in this way, the time video playback start time VOB_V_S_PTM + STC_offset
Let the audio frame immediately before to be audio frame y. In step S114, of the front audio data, the audio frame x + 2 to the audio frame y
Cut out audio data up to. In FIG. 24A, the audio frame after the audio frame y + 1 is indicated by a broken line.
Means not multiplexed to B. Since the time stamp of the front VOB is added to the audio frame moved to the rear VOB, the time stamp is re-attached to that of the rear VOB.

【0161】ステップS115では、オーディオフレー
ムyと、オーディオフレームy+1の境界とを含むオーディ
オフレームの次のオーディオフレームであるオーディオ
フレームuを後部VOBのオーディオフレーム列から検出す
る。オーディオフレームyと、オーディオフレームy+1の
境界線から垂線を降ろせば、後部オーディオデータのオ
ーディオフレーム列の何れか一つのオーディオフレーム
と交差する。この交差したオーディオフレームの次のオ
ーディオフレームがオーディオフレームuである。
In step S115, an 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 line is dropped from the boundary between the audio frame y and the audio frame y + 1, the line intersects with any one of the audio frames in the audio frame sequence of the rear audio data. The audio frame next to the intersected audio frame is an audio frame u.

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

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

【0164】この時、前部VOBのオーディオデータがオ
ーディオフレームyまで存在しない、即ち、短い場合、
不足するオーディオフレームだけ無音のオーディオフレ
ームデータを内挿する。同様に後部VOBのオーディオデ
ータがオーディオフレームuから存在していない、即
ち、短い場合、不足するオーディオフレームだけ無音の
オーディオフレームデータを内挿する。
At this time, if the audio data of the front VOB does not exist up to the audio frame y, that is, if it is short,
Interpolate silent audio frame data 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 audio data of silence is interpolated only for the insufficient audio frame.

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

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

【0167】ステップ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 the audio frame x + 1 and the re-encoded video data are multiplexed. Create a VOBU column located at the end of the section 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.

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

【0169】図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 to the head of the rear VOB is completed within the time “Tf_Period”. The pack sequence located immediately below the time “Tf_Period” forms the picture data V_TOP.

【0170】本図においてオーディオギャップを含んだ
オーディオパック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 the figure, the audio pack G3 including the audio gap is composed of audio frames x + 2, y-1, y
Is an audio pack in which audio data x + 2, y-1, and y to be reproduced are stored. Among the audio data stored in this audio pack, the audio data x + 2 should be decoded earliest. This audio data is audio frame x + 1
Should be decoded from the DVD-RAM together with the picture data V_TOP to which the pack train is transferred at the same time (Tf_period) as the 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.

【0171】オーディオフレーム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 in which the audio data u, u + 1, u + 2 to be reproduced in the audio frame u, u + 1, u + 2 is stored is set as the audio data to be decoded first. Since the audio data u has to be decoded at the reproduction start time of the audio frame u, the audio data u is decoded together with the picture data V_NXT in which the pack sequence is transferred simultaneously with the audio frame u. Should be read from RAM. Therefore, as shown at the bottom of FIG. 25, the video data is inserted between the video pack P52 storing the picture data V_TOP and the video pack P53 storing the picture data V_NXT.

【0172】以上のようにして、オーディオギャップを
含んだオーディオパック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.
4 is inserted between the video pack sequence P53 and the pack P54, thereby completing the multiplexing. Subsequently, in step S120, the control unit 1 sets the FIRST_SCR, LAS of the front VOB and the rear VOB.
T_SCR, seamless flag, VOB_V_E_PTM, VOB_V_S_PTM are written in the seamless connection information of the front VOB. In subsequent 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 recorded in order to record all the information on the audio gap in the seamless connection information.
_GAP_LOC is described in the seamless connection information.

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

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

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

【0176】本フロ−チャ−トにより新規に多重化され
た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 according to this flowchart are output to the disk access unit 3 as shown by the dashed arrow (5). -Write to RAM. Although the seamless connection between two VOBs has been described in the flowcharts of FIGS. 21 to 22, the seamless connection may be performed for a partial section included in one VOB. For example, FIG.
As shown in (b), when some VOBUs # 2, # 4, # 6, and # 8 are partially deleted, a VOBU column located before the deletion range and a VOBU column located behind the deletion range. And FIG. 2 and FIG.
The seamless connection shown in FIG.

【0177】以上の手順によりシームレス連結のための
加工が行われた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 description will be given of a playback procedure in the case where two VOBs processed for seamless connection by the above procedure are played back continuously. When the operator instructs to continuously play two or more VOBs recorded in the AV file,
The control unit 1 refers to the seamless flag indicated in the seamless connection information for the rear VOB among the two VOBs. If the seamless flag is set to ON, the video playback end time of the preceding VOB will be later than the VOB_V_E_PTM.
ST = VOB video playback start time minus VOB_V_S_PTM
As C_offset, the adder 4h is controlled so as to be added to the reference time measured by the STC 4g. Thereafter, the buffer input time FIRST_S of the preceding VOB indicated in the seamless connection information
The CR is compared with the reference time measured by the STC 4g. When the reference time reaches this FIRST_SCR, the switch SW1 is controlled so that the output is switched from the reference time measured by the STC 4g to the offset-added reference time to which the offset is added by the adder 4h. Thereafter, switching of SW2 to SW4 is performed as shown in the timing chart of FIG.

【0178】以上のように本実施形態によれば、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, by reading only the end-end portion of the VOB and performing re-encoding, processing can be performed so that a plurality of VOBs can be reproduced seamlessly. VOB to be re-encoded
Since only the VOBU located between the end and the end of the VOB, re-encoding of the VOB can be completed in a very short time.
In the present embodiment, the seamless connection information is managed for each VOB, but information necessary for seamless between VOBs may be collected in one place. For example, the video playback end time VOB_V_E_PTM and the video playback start time VOB_V_S_PTM required to find the STC_offset are described separately for the two VOB information, but may be described as seamless connection information for the subsequent VOB. In this case, it is desirable to provide the VOB information with an information element called the reproduction end time of the previous VOB (PREV_VOB_V_E_PTM).

【0179】同様に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, the LAST_SCR desirably includes an information element called a previous VOB end SCR (PREV_VOB_LAST_SCR) as seamless connection information of the succeeding VOB. Further, in this embodiment, the DVD recorder 70 is a conventional stationary V
The configuration based on the assumption that TR is substituted is shown, but DVD-RA
When M is used also as a recording medium of a computer, the following configuration may be adopted. That is, the disk access unit 3 uses SCSI, ID as a DVD-RAM drive device.
E, Connected to computer bus via IEEE1394 compliant interface. The components other than the disk access unit 3 in FIG.
This is realized when the OS and the application program are executed.

【0180】このDVDレコーダ70は、制御部1、MPEG
エンコーダ2、ディスクアクセス部3、デコーダ4、ビ
デオ信号処理部5、リモコン71、バス7及びリモコン
信号受信部8、レシーバ9を有している。更に、本実施
形態では、VOBには、ビデオストリームとオーディオス
トリームとが多重されているとしたが、字幕文字をラン
レングス圧縮した副映像データを多重化させてもよい。
また、静止画データを構成するビデオストリームを多重
化させてもよい。
The DVD recorder 70 has a control unit 1, an MPEG
It has an encoder 2, a disk access unit 3, a decoder 4, a video signal processing unit 5, a remote control 71, a bus 7, a remote control 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.
In addition, video streams constituting still image data may be multiplexed.

【0181】加えて、本実施形態においては、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 performs re-encoding after the decoder 4 once performs the decoding of the VOB, but the disk access unit 3 directly sends the VOB to the MPEG encoder 2 without decoding. May be output and re-encoded. In addition, in the present embodiment, all units are described by video frames and audio frames. However, such as a film material, a video stream using 3: 2 pulldown used when compressing a video of 24 frames / second is used. In this case, there is a case where 1.5 frames = 1 picture instead of 1 frame = 1 picture. The present invention does not substantially depend on 3: 2 pulldown, in which case it is not limited to the frames described above.

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

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

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

【0185】図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までの部分区間をセルとして特定している。
In FIG. 26, C_V_S_PTM is the playback start time of the video field in which the P picture in VOBU # 100 forming the VOB is to be played, 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 the B pictures from the P picture in FIG.
The partial section up to picture 1 is specified as a cell.

【0186】(2-1)GOP構造の再構築 時刻情報により指示されたVOBの部分区間同士をシーム
レスに接続する場合、第1実施形態では必要のなかった
2つの処理が必要とされる。そのうち1つ目の処理とは、
時刻情報により指定された部分区間を独立したVOBに変
換するため、GOP構造を再構築する処理である。2つ目
の処理とは、GOP構造が再構築されることによるバッフ
ァ占有量の増加を予測する処理である。
(2-1) Reconstruction of GOP Structure In the case where the VOB partial sections specified by the time information are connected seamlessly, this is not necessary in the first embodiment.
Two processes are required. The first process is
This is a process of reconstructing a GOP structure in order to convert a partial section specified by 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.

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

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

【0189】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 preceding cell. The processing according to the third rule is that, when a plurality of picture data located at the beginning in the display order of the front cell is a B picture group, this picture data is regarded as an image to be reproduced in the past direction. (Which means picture data dependent on the correlation characteristic with the image to be reproduced in the future direction. Picture data of this picture type is hereinafter referred to as Forward-B picture). This is the process of fixing.

【0190】(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, when the picture type is changed, the picture data after the change is changed. Is a process of estimating how large a file has. When the above reconstruction process is performed on the front cell, in the display order of the front cell, the size of the last picture data is changed from the B picture to the P picture or the I picture, so that the size becomes larger. .

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

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

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

【0194】図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. 30A and 30B are explanatory diagrams for explaining how to predict an increase in the buffer occupancy due to a change in the picture type in the rear cell.
In FIGS. 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 picture data located at the head of the display order of the rear cell. Therefore, according to the above rule, B picture B3
It must be changed to ward-B picture B1. If the B picture B3 has an information component that depends 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 at the time of changing the picture type. It should be.

【0195】このことを考えると、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, Forward-B to be obtained by changing the picture type is determined 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 the picture B1 can be predicted. Rear VOB
For, the picture type of the picture data positioned at the head in the encoding order must also be changed. rear end
Referring to the display order of the VOBs, it can be seen that the P picture P3 exists as the picture data to be displayed immediately after the B picture B3. The P picture P3 is stored in the reorder buffer 4f until the decoding of the B picture B3 is completed, and is displayed after the decoding of the B picture B3. Due to the reordering through 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 the coding order. The P picture P3 detected as the leading picture data in the coding order in this way must be changed to an I picture according to the above rule. If the P picture P3 has an information component that depends on the I picture to be reproduced in the past, the information component of the I picture is taken into the P picture P3 when the picture type is changed. It should be.

【0196】このことを考えると、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 immediately preceding I picture.
The size of the I picture I can be predicted. If the code amount at the time of re-encoding is determined based on the buffer occupancy predicted in this way, the optimum code amount can be allocated to the front cell and the rear cell.

【0197】(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 reproduction of two cells is performed seamlessly. It is. This flowchart is shown in FIG.
1. There are many steps described in the procedure shown in FIG. 22 in which the term “VOB” is replaced with “cell”. These steps are denoted by the same reference numerals as in the first embodiment, and the description is simplified.

【0198】図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 corresponds to the audio frame x, the audio frame x + 1, and the audio frame y used in FIG. Step S10
In 2, the control unit 1 includes time information specifying the end of a partial section to be reproduced earlier (hereinafter referred to as a front section), and a leading end 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 part.

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

【0200】ステップS130において制御部1は、図
29に示した手順に従って、後部セルのピクチャタイプ
変更に伴うバッファ占有量の増加量αを予測する。ステ
ップS131では、図30に示した手順に従って、前部
セルのピクチャタイプ変更に伴うバッファ占有量の増加
量βを予測する。ステップS132において増加量α、
βを前部セル、後部セルのバッファ占有量に上乗せす
る。
In step S130, the control unit 1 predicts the increase amount α of the buffer occupancy 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 due to the change of the picture type 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.

【0201】ステップS105において制御部1は、後
部セルのFIRST_SCR+STC_offsetから前部セルのLAST_DTS
までのビデオバッファ占有量の変化を解析する。第1実
施形態の図10(c)に示したように、前部セル−後部
セルの双方のビデオデータがビデオバッファ4bに蓄積
された状態におけるビデオバッファ4bの最大蓄積量Bv1
+Bv2を得る。
In step S105, the control unit 1 calculates the LAST_DTS of the front cell from the FIRST_SCR + STC_offset of the rear 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 a state where the video data of both the front cell and the rear cell are stored in the video buffer 4b.
Get + Bv2.

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

【0203】図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 a read range to be read from the front cell in step S106. In FIG. 27A, it is assumed that VOBs include VOBUs # 98 to # 107, and VOBUs # 99 to # 105 are designated as front cells. If the last picture data to be displayed in the preceding cell is picture data Bend, this picture data Bend is VOBU # according to the one second rule.
Since the VOBUs are included in 103 to # 105, VOBUs # 103 to # 105 are read out as VOBU columns including the picture data to be displayed last.

【0204】図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, VOBs are VOBU # 498 to VOBU # 50.
7, and VOBU # 500 to # 506 are designated as rear cells. Picture data to be displayed first in the succeeding 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 VOBU columns including picture data to be displayed first. These VOBUs contain picture data Pt
The picture data necessary to change the picture type because it contains all the picture data that has a dependency relationship with the picture data Ptop and the picture data Bend, in addition to the audio data to be reproduced simultaneously with the op and the picture data Bend Are all read.

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

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

【0207】ステップ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 picture data of the first picture in the encoding order has been changed to larger picture data, it goes without saying that STC_offset + FIRST_SCR is located further in the past direction in FIG. .

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

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

【0210】後部ビデオデータのSTC_offset+新FIRST_
SCRはより過去方向に位置するため、より過去方向のオ
ーディオフレームがオーディオフレームxに該当する。
過去方向のオーディオフレームがオーディオフレームx
に該当したため、後部セルのビデオデータの読み出し開
始時に、ビデオデータとともに読み出されるべき前部オ
ーディオデータは第1実施形態のそれと比較してより大
きくなる。
STC_offset of rear video data + new FIRST_
Since the SCR is located in the past direction, the audio frame in the past direction corresponds to the audio frame x.
Audio frame in the past direction is audio frame 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 is larger than that of the first embodiment.

【0211】以降、ステップ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 No. 9, the multiplexing as shown in FIG. 25 is performed by the system encoder 2e. Subsequently, step S12
0, FIRST_SCR, LAST_SCR, seamless flag, VOB_V_E_PTM, VOB_V_S_PTM of the front cell and the rear cell are written in the seamless connection information of the front cell, and then step S121 is performed.
To Step S122. Of the 6 VOBUs obtained by the re-encoding, the 3 VOBUs (preceding VOBUs) arranged earlier are originally for the preceding section, and are added to the rear of the preceding section. Since the 3 VOBUs (subsequent VOBUs) arranged after the re-encoded data are originally for the rear section, they are added before the rear section. One of the front section and the rear section to which the re-encoded data is added is assigned and managed with the same identifier as the source VOB, while the other is assigned an identifier different from the source VOB. Managed. That is, after the division, the front section and the rear section are managed as separate VOBs. This is because there is a high possibility that the boundary between the front section and the rear section is a discontinuous boundary of the time stamp.

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

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

【0214】『ビデオストリーム属性情報』は、圧縮モ
ード情報、TVシステム情報、アスペクト比情報、解像度
情報を含んでいるが、これらは部分区間の切り出し元の
VOBについて設定されている情報をそのまま用いればよ
い。『オーディオストリーム属性情報』は、符号化モー
ド、ダイナミックレンジコントロールの有無、サンプリ
ング周波数やチャネル数等を含んでいるが、これらも部
分区間の切り出し元のVOBについて設定されている情報
をそのまま用いればよい。
[0214] "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 an encoding mode, presence / absence of dynamic range control, a sampling frequency, the number of channels, and the like. These information may be directly used as information set for a VOB from which a partial section is cut out. .

【0215】『タイムマップテーブル』は、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』からなるので、これらの情報を個別に記述し
てゆく。
[0215] The "time map table" is composed of the size of each VOBU constituting a VOB and the display time of the VOBU. The size and display time of only the VOBU that has been cut out and re-encoded are modified. Next, the “seamless connection information” generated in step S133 will be described. The seamless connection information includes “seamless flag”, “video playback start time VOB_V_S_PTM”, and “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 these pieces of information are described individually.

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

【0217】という(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 of the relations (1) and (2) are satisfied, and is set to 00 when at least one of the relations (1) and (2) is not satisfied. "Video playback start time VO
B_V_S_PTM ”is updated to the reproduction start time after the re-encoding. "Video playback end time VOB_V_E_PTM"
Update to the playback end time after re-encoding.

【0218】『FIRST_SCR』は、再エンコードされた後
の先頭パックのSCRに更新する。『LAST_SCR』は、再エ
ンコードされた後の最終パックのSCRに更新する。『オ
ーディオギャップ開始時刻A_STP_PTM』は、図34にお
いて後部セルに移送された複数オーディオデータにより
再生される最後のオーディオフレームyの再生終了時刻
を設定する。
“FIRST_SCR” is updated to the SCR of the first pack after re-encoding. “LAST_SCR” updates the SCR of the final pack after re-encoding. “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.

【0219】『オーディオギャップ長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 sub-sections specified by the cell information are converted into two VOBs that are played back seamlessly on the DVD-R.
It will be recorded in AM.

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

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

【0222】(第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) The third embodiment is an embodiment for managing an AV file on a file system to realize more flexible video editing. (3-1) Directory Configuration on DVD-RAM The RTRW management file and the AV file shown in the first embodiment are arranged on the directory shown in FIG. 35 in the file system defined by ISO / IEC13346. .
FIG. 35 shows the RTRW management file, AV,
FIG. 3 is a diagram illustrating a directory structure in which files are arranged. 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.
It has three files ie1.VOB, Movie2.VOB, and RTRWM.IFO.

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

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

【0225】図36の管理情報は、このディレクトリ構
造に沿って図示してある。但し個々のファイルの記録領
域は、AVファイルであるMovie1.VOBのみを図示してい
る。第2階層におけるファイルセット記述子(LBN8
0)は、ルートディレクトリのファイルエントリが記録
されているセクタのLBN等を示す。終端記述子(LBN8
1)は、ファイルセット記述子の終端を示す。
The management information in FIG. 36 is shown along this directory structure. However, the recording area of each file shows only Movie1.VOB which is an AV file. File set descriptor (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.

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

【0227】ディレクトリ(LBN83、584、358
5など)は、ディレクトリに含まれる各ファイル用及び
各ディレクトリ用のファイルエントリの記録位置を示
す。第3階層は、3つのファイルエントリと、2つのデ
ィレクトリとを図示している。ファイルエントリとディ
レクトリとは、ファイルシステムによって追跡され、デ
ィレクトリ構造がどのように階層化されていても、特定
のファイルを記録位置を特定できるようなデータ構造を
有している。
Directory (LBN83, 584, 358)
5) indicate recording positions of file entries 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 capable of specifying a recording position of a specific file, regardless of how the directory structure is hierarchized.

【0228】各ファイルエントリは、ファイル又はディ
レクトリの記録位置を示すアロケーション記述子を含
む。ファイルに収録されているデータが複数のエクステ
ントに分割されている場合には、ファイルエントリはエ
ストテントデータ毎に複数のアロケーション記述子を有
することになる。ここでエクステントとは、ファイルに
収録されるデータの部分区間であって、連続領域に格納
されるべきものをいう。例えば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. If 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, an extent is a partial section of data recorded in a file, which is to 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 the VOB, the AV file cannot be recorded on the DVD-RAM. However, when a plurality of small continuous areas are scattered in the partition space, if the VOB to be recorded in the AV file is divided into a plurality of parts, each partial section obtained by the division is divided into the scattered continuous areas. Can be recorded. With this split,
Even when the number and length of the continuous areas of the partition space are restricted, the probability that the VOB can be recorded as an AV file increases. In order to improve the recording rate in a DVD-RAM, a VOB to be recorded in an AV file is divided into a plurality of parts, and each extent obtained by the division is recorded in a scattered continuous area.

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

【0230】各ディレクトリは、ディレクトリ内に含ま
れるファイル及びディレクトリ毎に、そのファイルエン
トリの記録位置を示すファイル識別記述子を含む。この
ようなファイルエントリ及びディレクトリに従って、例
えば、同図の矢線に示すように”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 a file entry and directory, for example, as shown by the arrow in the figure, "root / video / Movie1.VO
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) →
→ Files (Movie1.VOB extent # 1, # 2) are tracked in order.

【0231】この経路上のファイルエントリとディレク
トリのリンク関係をディレクトリ構造に沿って書き直し
た図を図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 shows a diagram in which the link relationship between the file entry and the directory on this route is rewritten along the directory structure. In the figure, the root directory includes the file identification descriptors for the parent directory (the parent of the root is the root itself), the RTRW directory, the File1.DAT file, and the File2.DAT file. The RTRW directory is for the directory of the parent directory (root), for the Movie1.VOB file,
2. Includes file identification descriptors for VOB file and RTRWM.IFO file. Also in this figure, the recording position of the Movie1.VOB file is specified by following the above. (3-1-2) Data Structure of File Entry FIG. 38A is a diagram showing a more detailed data structure of a 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 drawing, BP indicates a bit position, and RBP indicates a relative bit position.

【0232】記述子タグは、自身がファイルエントリで
ある旨を示すタグである。DVD-DAMにおけるタグには、
ファイルエントリ記述子、スペースビットマップ記述子
などの種別があるが、ファイルエントリの場合には、記
述子タグとしてファイルエントリを示す261が記述され
る。ICBタグはファイルエントリ自身に関する属性情報
を示す。
[0232] The descriptor tag is a tag indicating that it is a file entry. Tags on DVD-DAM include:
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.

【0233】拡張属性は、ファイルエントリ内の属性情
報フィールドで規定された内容よりも高度な属性を示す
ための情報である。アロケーション記述子フィールドに
は、ファイルを構成するエクステントと同数のアロケー
ション記述子が記録される。アロケーション記述子は、
ファイル又はディレクトリのエクステントの記録位置を
示す論理ブロック番号(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 that is more advanced than the content specified in the attribute information field in the file entry. In the allocation descriptor field, the same number of allocation descriptors as the extents constituting the file are recorded. The allocation descriptor is
Indicates a logical block number (LBN) indicating the recording position of the extent of the file or directory. FIG. 38B shows the data structure of the allocation descriptor. FIG.
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 two bits of the data indicating the extent length indicate the recording status of the extent recording area as shown in FIG. (3-1-3) Data structure of file identification descriptor for directory and file FIG. 39 (a) and FIG. 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 a directory name, and an address indicating in which logical block number a file entry of a directory or a file is recorded. , Extension information and a directory name. Thus, the address of the file entry corresponding to the directory name or the file name is specified.

【0234】(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 the VOB from the DVD-RAM, this is the minimum length that ensures that the track buffer 3a does not underflow.

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

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

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

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

【0239】期間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 head to the end of the AV block #k including the defective sector. The period T4 is a time for skipping the Ecc block in which the defective sector exists and skipping to the next Ecc block. This skip means that if at least one defective sector exists in the Ecc block, the Ecc block (16 sectors) is skipped and the next successive Ecc block is skipped.
Jump to a block. That is, in the Ecc block in which a defective sector exists in the AV block, only the defective sector is not logically replaced by the substitute sector (substitute Ecc block).
(All six sectors) are simply not used (the ECC block skip method described above). This time T4 is
This is a rotation waiting time when the disk makes one rotation at maximum, and is set to about 105 ms in this model. In periods T3 and T5, the amount of data in the buffer increases at the rate of (Vr-Vo), but decreases in the period T4 at the rate of Vo.

【0240】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 an 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 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 during this period, an underflow occurs 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 expression must be satisfied. {Equation 1} (accumulation amount B)> = (consumption amount R) The buffer accumulation amount B is the amount of data accumulated in the buffer at the end of the period T1. The consumption amount R is the total amount of data read during the period T2. > = Means greater than or equal.

【0241】蓄積量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 accumulation amount B can be expressed by the following equation. {Equation 2} (accumulated amount B) = (period T1) * (Vr-Vo) = (reading 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 equation. {Equation 3} (Consumption R) = T2 * Vo If both sides of the above (Equation 1) are replaced by (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 N of Ecc blocks N for guaranteeing continuous reproduction
_ecc must satisfy the following equation. {Equation 5} N_ecc> = Vo * Tj / ((16 * 8 * 2048) * (1−Vo / Vr)) In this equation, Tj is the above-mentioned jump time, and is 1.5 seconds at the maximum. Vr is a fixed value (approximately 11 Mbps in the reproducing apparatus model in the upper part of FIG. 40). 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 by Expression 6 not as the maximum value of the physical transfer rate of the track buffer output but as the substantial input rate of the decoder for the variable bit rate AV data. However, the AV block length is N_
The number of packs in an AV block consisting of ecc Ecc blocks
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 following SCR of the first pack of the AV block, and SCR_first_current is the SCR of the first pack of the AV block. The SCR indicates the time at which the pack should be output from the track buffer to the decoder, and (1/2)
7M) sec.

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

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

【0244】これらを数式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 taken into consideration in Expression 5, in order to guarantee continuous reproduction even when a defective sector exists, a continuous area having the number of ECC blocks N_ecc that satisfies the following equation may be set as the AV block area. {Formula 7} N_ecc> = dN_ecc + Vo * (Tj + Ts) / ((16 * 8 * 2048) * (1-Vo / Vr)) As described above, when there is no defective sector in the AV block area May be set to a size that satisfies Equation 5 when there is a defective sector.

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

【0246】図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ブロックを
記録する。
Referring to FIG. 41, 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, a recording / editing /
It comprises a playback control unit 12, an AV data recording unit 13, an AV data playback unit 14, and an AV data editing unit 15. (3-2-1) Disk Recording Unit 100-Disk Reading Unit 101 The disk recording unit 100
When a logical sector number to start recording and data to be recorded are input from the AV file system unit 11, the optical pickup is moved to the logical sector number, and
Logical data is recorded on the disk in units of ECC blocks (16 sectors) in logical sectors specified by the optical pickup. The data to be recorded in the logical data is 1
If the size of the ECC block is less than six, the size of the ECC block is changed once, the ECC processing is performed, and then the ECC block is recorded.

【0247】ディスク読出部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)等の種別がある。
When a logical sector number and the number of sectors from which data is to be read are input from the common file system unit 10 and the AV file system unit 11, the disk reading unit 101 moves the optical pickup to the logical sector number. From the logical sector indicated by the optical pickup
Reads data in ECC block units. From the read data, only necessary sector data is transferred to the common file system unit 10 through ECC processing. Like the disk recording unit, when reading VOBs, every ECC block
The overhead is reduced by reading data in units of 16 sectors. (3-2-2) Common File System Unit 10 The common file system unit 10 includes a recording / editing / playback control unit 12 and a recording / editing / playback control unit for standard functions for accessing a data format conforming to ISO / IEC13346. 12, AV
The data is provided to the data recording unit 13, the AV data reproducing unit 14, and the AV data editing unit 15. The standard functions provided by the common file system unit 10 include a disc recording unit 1 for reading and writing DVD-RAM in directory units and file units.
00 and controlling the disk reading unit 101.
Typical functions provided by the common file system unit 10 include a function of recording a file entry in the disk recording unit 100 and outputting a file identification descriptor to the recording / editing / playback control unit 12 (1). ), A function of releasing a recording area occupied by one file on the disc to a free area (2), and controlling the disc reading unit 101 to read the file identification descriptor of the specified file from the DVD-RAM. Function (3), function (4) of controlling the disk recording unit 100 to record data existing in the memory as a non-AV file on the disk, and reading of extents constituting a file recorded on the disk. Function (5) for controlling the disk reading unit 101,
There are types such as a function (6) for controlling the disk reading unit 101 so as to move the optical pickup to a desired position on an extent constituting a file.

【0248】これら機能(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 / reproduction control unit 12 to the AV data editing unit 15 determine the file in which data is to be recorded or the file from which data is to be read. A command specified as a parameter (hereinafter, a command for the common file system) may be issued to the common file system unit 10. Commands for the common file system include "(1) CREATE" and "(2) DELETE"
There are types such as "(3) OPEN / CLOSE", "(4) WRITE", "READ", and "SEEK", and these commands are assigned to each of the above functions (1) to (6). The assignment of the standard functions and commands in the present 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 provision of the function (2), the recording / editing / playback control unit 12
The AV data editing unit 15 only needs to issue a DELETE command to the common file system unit 10, and similarly, the functions (3) and (4)
(5) To receive the provision of (6), use the OPEN / CLOSE command, WRI
A TE command, a READ command, and a SEEK command may be issued.

【0249】(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 an AV file and editing an AV file. Record extended functions
The editing / playback control unit 12 to the AV data editing unit 15 are provided. Representative of these extended functions are VOBs encoded by the MPEG encoder 2 as AV files.
A function to write to VD-RAM (7), a function to cut out a pre-specified range of AV data recorded in an AV file to another file (8), a function to pre-specify among AV data recorded in an AV file To release the allocated range to free space
(9) A function of linking two AV files already managed on the DVD-RAM with AV data located on the memory (1
0).

【0250】これら機能(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に行
わせるよう指示する。
To receive the provision of these functions (7) to (10), the recording / editing / reproduction control unit 12 to the AV data editing unit 15 connect or cut out a file or data in which data is to be recorded. A command that specifies a file to be used as a parameter (hereinafter, a command for the AV file system)
It may be issued to the file system unit 11. Commands for the AV file system include (7) AV-WRITE and (8) SP
LIT '', `` (9) SHORTEN '', `` (10) MERGE ''
These commands are assigned to each of the functions (7) to (10). The assignment of the extended function and the command in the present embodiment is set as follows. That is, to receive the provision of the function (7), the recording / editing / playback control unit 12 to the AV data editing unit 15 need only issue an AV-WRITE command.・
The editing / playback control unit 12 to the AV data editing unit 15 may issue a SPLIT command. To receive the functions (9) and (10), a SHORTEN command or a MERGE command may be issued. In function (10), the extent of the file after consolidation is
They are linked so that they are 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 in which each directory name is specified as a parameter to the common file system unit 10 to store the DVD-RAM in the DVD-RAM. The common file system unit 10 reads a plurality of file identification descriptors already recorded, analyzes the directory structure in the DVD-RAM from these file identification descriptors, and determines the directory to be operated in this directory structure. And the specification of the file is received from the operator. When the designation of the operation target is received, the content of the operation by the operator is specified based on the user operation notified from the remote control signal receiving unit 8, and the processing of the operation content is performed on the directory and the file specified as the operation target by AV. It instructs the data recording unit 13, the AV data reproducing unit 14, and the AV data editing unit 15 to perform the operations.

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

【0252】一方、操作内容を特定するにあたって録画
・編集・再生制御部12は、リモコン信号受信部8から通
知されたキーコードにどのような操作内容が割り付けら
れているかを判定する。図41の左側に示すように、リ
モコン71上のキーには『再生』『巻戻し』『停止』
『早送り』『録画』『マーク』『仮編集』『本編集』と
いった文字列が記されている。リモコン信号受信部8か
ら通知されたキーコードに応じて録画・編集・再生制御部
12は操作者が指定した操作内容を特定する。 (3-2-4-1)録画・編集・再生制御部12が受け付ける操作
内容 上記の操作内容は、既存の民生用AV機器が操作者に提供
している操作内容と、映像編集のために特別に設けられ
た操作内容とに分類される。具体的には、上記の操作内
容のうち『再生』『巻戻し』『停止』『早送り』『録
画』は前者に分類されるものであり、また『マーク』
『仮編集』『本編集』は後者に分類されるものである。
On the other hand, when 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 controller 71 are "play", "rewind", and "stop".
Character strings such as "fast forward", "recording", "mark", "temporary editing", and "main editing" are described. The recording / editing / playback control unit 12 specifies the operation content specified by the operator according to the key code notified from the remote control signal receiving unit 8. (3-2-4-1) Operation Contents Accepted by Recording / Editing / Playback Control Unit 12 The above operation contents are the same as the operation contents provided to the operator by the existing consumer AV equipment and the video contents It is classified into specially provided operation contents. Specifically, of the above operation contents, "play", "rewind", "stop", "fast forward" and "record" are classified into the former, and "mark"
"Temporary editing" and "main editing" are classified into the latter.

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

【0254】『録画』とは、操作対象として指定された
ディレクトリに新たなAVファイルを作成して、そこに録
画すべきVOBを書き込めとDVDレコーダ70に命じる操作
である。これらの操作は、既存の民生用AV機器、即ち、
ビデオテープレコーダ、CDプレーヤの機能として多くの
操作者に親しまれているものである。これに対して後者
の操作内容は、映画のフィルムのうち任意の部分を切り
取って、切り取った部分同士を繋ぎ合わせて任意の組み
合わせのフィルムを得るという映像編集操作を操作者に
行わせるものである。
“Recording” is an operation of creating a new AV file in a directory specified as an operation target, writing a VOB to be recorded there, and instructing the DVD recorder 70 to write the VOB. These operations are compatible with existing consumer AV devices,
Video tape recorders and CD players are familiar to many operators. 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. .

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

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

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

【0258】録画・編集・再生制御部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 operation contents each of the AV data recording unit 13 to the AV data editing unit 15 has a processing capability. In addition to specifying the target and the operation content, the components corresponding to the operation content are selected, and the AV data recording units 13 to AV
An 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 / reproduction control unit 12 issues what kind of instruction to the AV data recording unit 13,
An example of whether to issue to the AV data reproducing unit 14 and the AV data editing unit 15 will be described.

【0259】図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. I do. The AV data recording unit 13 is selected as a component having the processing capability of the operation content “recording”, and an instruction is given to create a new AV file in a directory to be operated.

【0260】ファイル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 reproduction key is pressed, the recording / editing / reproduction control unit 12 specifies the file AV_FILE # 1 as an operation target and specifies “play” as the operation content. I do. The AV data reproducing unit 14 is selected as a component having the processing capability of the operation content, and an instruction is given 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 user selects the data editing unit 15 and instructs the AV file to be operated to perform the marking process. (3-2-5) AV Data Recording Unit 13 The AV data recording unit 13 controls the MPEG encoder 2 to perform encoding, and combines a common file system command and an AV file system command in a predetermined order to form a common file. It is issued to the file system unit 10 and the AV file system unit 11 and functions (1) to
By providing (10), the recording operation is realized. (3-2-6) AV Data Reproduction Unit 14 The AV data reproduction unit 14 controls the decoder 4 to perform decoding, and combines a common file system command and an AV file system command in a predetermined order to form a common file. By issuing them to the system unit 10 and the AV file system unit 11 and providing them with the functions (1) to (10), the operation contents such as "play", "rewind", "fast forward", and "stop" are realized. 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 perform common decoding. It is issued to the file system unit 10 and the AV file system unit 11 and functions (1) to (10)
"Mark""Provisionalediting"
The operation contents such as "main editing" are realized.

【0261】具体的に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 in the AV file to be operated, the AV data editing unit 15 operates as the AV file to be operated.
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 playback period, information indicating how many seconds after the start of playback of the AV file the pressed point is written to the non-AV file as information called a mark point.

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

【0263】AVデータ編集部15は、連結後のAVファイ
ルにおいて、ファイル内シームレス再生が実現されるよ
う複数ファイルの連結処理を行う。ここでファイル内シ
ームレスとは、連結後のAVファイルの再生が中断なく行
われることをいい、AVデータ編集部15はAVファイルを
構成するエクステントのうち、最後に再生されるべきエ
クステント以外のエクステントを、全てAVブロック長以
上にするという観点からエクステントの連結処理を行
う。 (3-2-7-1)AVデータ編集部15による仮編集、本編集の
処理手順 図43は、以上説明した仮編集、本編集の処理がどのよ
うな手順を経て行われるかを表したフロ−チャ−トであ
る。図44は、図43のフロ−チャ−トでのAVデータ編
集部15の処理を補足説明するための説明図である。本
フロ−チャ−ト及び図44の説明図を参照しながらAVデ
ータ編集部15による編集処理について説明する。
[0263] The AV data editing unit 15 performs a process of linking a plurality of files so that seamless playback within the file is realized in the linked AV file. Here, “intra-file seamless” means that playback of the linked AV file is performed without interruption, and the AV data editing unit 15 deletes an extent other than the last extent to be played back among the extents constituting the AV file. The extent connection processing is performed from the viewpoint of making all the blocks longer than the AV block length. (3-2-7-1) Temporary Editing and Main Editing Processes Performed by the AV Data Editing Unit 15 FIG. 43 shows the procedure through which the above-described temporary editing and main editing processes are performed. This is a flowchart. 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.

【0264】図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.
It is assumed that the AV file recorded on the RAM is designated as an operation target, and the operator presses the reproduction key on the remote controller 71. When this pressing is detected by the recording / editing / reproduction control unit 12 and a reproduction operation is instructed, the AV data editing unit 15 sends the AV data to the AV data reproduction unit 14 in step S1.
Start playing the file. After the reproduction starts, FIG.
It is assumed that the operator presses the mark key again at the point in time when the reproduction has progressed to time t1 shown in (b). Then,
Mark point # 1 indicating the relative time code of that time t1
Set to AV file. Similarly, it is assumed that the operator has depressed the mark key seven times in total at times t2, t3, t4,... T8. Then, as shown in FIG. 44B, the mark points # 2, # 3, # 4, # 5,. Is set.

【0265】ステップ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 proceeds to step S2, where the AV data editing section 15 allows the operator to designate a set of mark points, and according to the designation of the set, designates a cell in the AV file to be reproduced. Decide multiple. In FIG. 44C, the operator designates a pair (1) of Mark # 1 and Mark # 2, and similarly, a pair (2) of Mark # 3 and Mark # 4, and Mark # 5 and Mark # 6. One set
It is assumed that a set (4) of (3), Mark # 7, and Mark # 8 is specified.

【0266】そうすると、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 a set of these mark points as one cell, and
Set four cells, 1, Cell # 2, Cell # 3, Cell # 4 (Note that one set of Mark # 2-Mark # 3 and one set of Mark # 4-Mark # 5 must be specified as cells. 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 each set as one cell.)

【0267】続いてステップ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 assigning a reproduction order to each cell. The four Cell # 1, Cell # 2, Cell # 3, and C already set in FIG.
Of the ell # 4, it is assumed that the first playback order is assigned to Cell # 1 (1st in the figure) and the second playback order is assigned to Cell # 2 (2nd in the figure). Similarly, the third in Cell # 3 and Cell # 4,
It is assumed that the fourth playback order is given (3rd,
4th). Then, the AV data editing unit 15 interprets a plurality of cells as a program chain according to the playback order set as described above (note that FIG. 44 shows only the simplest example, cell # 3 and cell # 1). , Cell # 2 can also be specified.)

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

【0269】指示された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として指定され
た範囲のみが再生されることになる。
The designated AV data reproducing unit 14 first sets the Mark as a reproduction start point of the cell # 1 as shown in FIG.
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, the "RE" is read so that the range from Mark # 1 to Mark # 2 is read.
An "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, and the read VOBU is sequentially decoded by the decoder 4 to display an image on the television receiver 72. VOBU playback
When the processing is performed up to Mark # 2, the same processing is performed on the remaining cells. Then, only the range specified as cells # 1, # 2, # 3, and # 4 is reproduced.

【0270】ここで図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 broadcast on television. FIG. 44 (f)
As shown in the figure, the video content of each time zone of the AV file is time t0
From time t1 to time t2, the period from time t1 to time t1 is a credit scene V1 displaying the names of characters and directors of the movie.
Until the first show scene V2 of the main movie, time
The period from t2 to time t3 is a commercial scene V3 inserted because it is a television broadcast, the period from time t3 to time t4 is the second showground scene V4 of the main movie, and the period from time t5 to time t6 Is the third show scene of the main movie
V5.

【0271】これらの時刻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の再生
が行われる。
The times t1, t2, t3, t4, t5, and t6 are Mark #
1, Mark # 2, Mark # 3, Mark # 4, Mark # 5, Mark # 6 are set, and one set of mark points is specified 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, and
Reproduction of the showground scene V2 is performed from time t1 to time t2. Subsequently, the commercial scene V3 is skipped without being reproduced, and the showground scene V4 from time t3 to time t4 is reproduced.

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

【0273】先ずステップ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. “Editing source AV file” in FIG.
Mark points # 1, # 2, # 3,..., # 8 are given. Since the cell set for the AV file is specified by a set of Mark # 1, # 2, # 3... # 8, the AV data editing unit 15 starts editing a set of these mark points. Interpreted as a point or an edit end point. That is, a pair of Mark # 1 and # 2 is the editing start point In point
(1), it is interpreted as an edit end point Out point (1), and a pair of Mark # 3, # 4 is interpreted as an edit start point In point (2) and an edit end point Out point (2). One set of Mark # 5, # 6, one set of Mark # 7, # 8 are the edit start point In point (3), edit end point Out point (3), edit start point In point (4), edit Interpreted as Out point (4).

【0274】ここで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 show scene V2 of the main movie from time t1 to time t2 shown in FIG. Mark # 3 to Mark
The period from # 4 to time t3 shown in FIG.
In response to the second show scene V4 of the main movie until t4, Ma
In the period from rk # 5 to Mark # 6, the third main show scene V5 of the main movie from time t5 to time t6 shown in FIG.
Therefore, the operator intends to obtain an AV file including only the show scenes V2, V4, and V5 by the subsequent main editing process.

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

【0276】以降、切り出された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 extracted mx AV files is called an AV file Af1, Af2, Af3, Af4,..., Afm, and in the present flowchart, these are indicated by a variable “Af”. Shall be. In step S10, the variable Af is initialized by setting the variable Af to 1, and in step S1
1, a READ command for the VOBU located at the end of the AV file Af (hereinafter referred to as the end) and the VOBU located at the end of the AV file Af + 1 (hereinafter referred to as the end) in the program chain is issued. AV file system part 11
Issue to After the issuance, in step S12, the read end portion and leading end portion are re-encoded using the procedure described in the second embodiment.

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

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

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

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

【0281】図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. 45D, the AV files Af1, Af2
In the figure, the leading end and the trailing end are deleted as represented by broken lines. At this time, it can be seen that the continuous length of the AV file Af1 is less than the AV block length. Similarly, the data size of the re-encoded data in the memory is smaller than the data size of the AV block. This AV file
If Af1 is left in a short state, an underflow may occur when the AV file Af1 is reproduced 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 FIG. 6A, the AV file Af1 and the re-encoded VOBU are concatenated, and the continuous length of the recording area of all extents constituting the AV file Af is equal to or longer than the AV block length. After the issuance of the "MERGE" command, it is determined in step S15 whether the variable Af matches the number of AV files mx-1. Thus, the procedure of steps S11 to S14 is repeatedly performed.

【0282】変数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 of the linked AV file Af2 and the AV file Af3
Is read out by a “READ” command (see FIG. 4).
6 (b)), when the end portion and the front end portion are re-encoded, a state where 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 less than the AV block length. Since the AV file Af3 may also underflow, the AV data editing unit 15 issues a MERGE command for the AV files Af2 and Af3 to the file system again (FIG. 46D).
(E)). The above processing is repeated until the variable Af becomes mx-1.

【0283】以上の処理より、記録領域上のエクステン
トは全て見せ場シーン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ファイルが得られたの
である。
By the above processing, the extents on the recording area are all only show scenes V2, V4 and V5. In addition, since these extents all 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 showground scene V2. Mark # 3 to Mark # 4
The period up to corresponds to the second showground scene V4, and Mark # 5
Since the period from to # 6 corresponds to the third show scene V5, the operator has obtained an AV file consisting only of the show scenes V2, V4, and V5 by the subsequent main editing process.

【0284】(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 SPLIT Command Is Issued
Processing of AV File System Unit 11 The processing of the AV file system unit 11 when providing an extended function by issuing “SPLIT” will be described in detail. FIG.
7A is a flowchart showing a processing procedure of the AV file system unit 11 when providing a function by issuing a "SPLIT" command. Thereafter, in this flowchart, mx editing start points (In) set in one AV file are set.
Point) and the editing end point (Out point) are designated by a variable h. In step S22, first, the first In
Assign 1 to the variable h to indicate the point and the Out point.

【0285】ステップ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コマンドの発行時の処理内容を示
すフローチャートである。
In step S31, file entry
(h) is generated, and in step S32, the AV file system unit 11 adds a file identification descriptor (h) for the file entry (h) to the directory file of the temporary directory. In step S33, the In point
The start address s and the number r of occupied blocks of u logical block strings 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 head address s and the number r of occupied blocks of the u logical block sequence are registered in each of the u allocation descriptors. In step S35, it is determined whether the variable h has reached mx-1. If not reached, the variable h is incremented, and the routine goes to Step S31. As described above, the procedure from step S31 to step S35 is repeated until the variable h becomes mx-1, and the closed section specified by the pair of mx-1 In points and Out points is mx-1 independent sections each. It is cut out as an AV file. (3-2-7-1-3) Processing of the AV file system unit 11 when the SHORTEN command is issued Next, the AV when the extended function is provided by issuing “SHORTEN”
The processing of the file system unit 11 will be described in detail. FIG.
FIG. 8B is a flowchart showing the processing content when the SHORTEN command is issued.

【0286】ステップ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に更新
する。
[0286] In step S38, the AV file system unit 11 calculates the start address c and the number of occupied blocks 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 from which the leading end or the trailing end is to be deleted is accessed. Step S46
It is determined whether or not the deletion range is the leading end of the extent. If it is the leading end portion, step S46 becomes Yes and the process moves to step S47, and in step S47, the recording start address p of the extent in the allocation descriptor is updated to the recording start address p + c × d. After the update, in step S48, the number of occupied blocks q in the allocation descriptor is changed to the extent data size q.
Is updated to the data size qc × d. If it is the end portion, the process directly proceeds to step S48 in step S46,
The number of occupied blocks q in the allocation descriptor is updated to the extent data size q to the data size qc × d.

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

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

【0289】図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の順に決定されていることがわかる。
FIG. 47A shows the AV file system unit 1 when providing an extended function by issuing the “MERGE” command.
It is a figure showing an example of an object of one processing. FIG. 47 (a)
In AV file Af and AV file Af + 1,
This is the AV file extracted by the "T" command.
Here, the temporary file is edited by AV file Af, data in memory,
It is assumed that a reproduction route is defined so that video and audio data are reproduced in the order of the AV file Af + 1. FIG. 47 (a)
FIG. 4 is a diagram showing an example of a reproduction route set for the audiovisual data recorded in the AV file Af and the AV file Af + 1. In this figure, the horizontal axis represents the time axis, and if the display order is interpreted along this horizontal axis, the playback route in this figure is AV file Af, data in memory, AV file
It can be seen that they are determined in the order of Af + 1.

【0290】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の順に指定されていても、先行エクステ
ント、後続エクステントの間には、当該再生ルートとは
全く無関係な映像音響データが存在している可能性も否
めない。
The range from the beginning to the data size m of the AV file Af is recorded in a continuous area on 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 on the DVD-RAM and corresponds to a subsequent extent. Here, assuming that the AV file Af and the AV file Af + 1 are obtained by cutting out the video and audio data of an arbitrary section by the “SPLIT” command, the file system is managed as an empty area, but the actual logical block Should be left with the contents of the original AV file recorded. Also,
The above setting of the playback route by the operator is based on the premise that it is set without considering at all in which AV block on the DVD-RAM the extracted AV file is recorded. The positional relationship between the extent and the subsequent extent in the DVD-RAM cannot be uniquely specified. The playback route is AV file Af,
Even if they are specified in the order of the AV file Af + 1, it is undeniable that video / audio data completely unrelated to the reproduction route exists between the preceding extent and the subsequent extent.

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

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

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

【0294】また、後続エクステントを含むAVブロック
は「SPLIT」コマンドの遂行により切り出されたもので
あるから、後続エクステントの前方にも空き領域が存在
している(このように後続エクステントの前方に存在す
る空き領域であって、後続エクステントと同一のゾーン
領域内に存在するものをIn領域という。)。In領域にも
実際は物理的には、切り出し前のAVファイルに収録され
た映像音響データが記録されているのであるが、「SPLI
T」コマンドが実行済みなので外部からは空き領域と取
り扱われている。
Also, since the AV block including the subsequent extent has been cut out by executing the “SPLIT” command, there is an empty area in front of the subsequent extent (as described above, there is an empty area 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 clipping is actually recorded.
Since the "T" command has been executed, it is treated as an empty area from the outside.

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

【0296】先ず図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 calculates the data size of the In area. As described above, when the data sizes of the In area and the Out area are obtained, the data size m of the preceding extent is obtained.
And the data size n of the subsequent extent,
It is determined whether an underflow occurs in the preceding extent.

【0297】(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 the preceding extent m is shorter than the AV block length When the preceding extent m is shorter than the AV block length and the succeeding extent n is longer than the AV block length Since there is a risk of underflow in the preceding extent m, the flow shifts to step S70 in FIG. FIG. 50 is a flowchart when the preceding extent is shorter than the AV block length and the subsequent extent is longer than the AV block length. FIGS. 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 the data size m, n of the extent, the In area, the data size i, j of the Out area, the data size k of the data in the memory, and the data size B of the AV block. Is established, which area is a recording destination and a movement destination of each data.

【0298】先行エクステントのデータサイズはAVブロ
ック未満なので先行エクステントをこのまま放置してお
けば先行エクステントにおいてアンダーフローが生じて
しまう。先行エクステント、メモリ内データの双方の記
録位置を何処に定めるかが図50のフロ−チャ−トにお
いて行うべき処理である。ステップS70で、まず先行
エクステントとメモリ内データの合計サイズがAVブロッ
ク長以上かどうか判定する。もしAVブロック長以上なら
ば、ステップS71に移行し、先ずOut領域がメモリ内
データより大きいかを判定する。もし大きければOut領
域にメモリ内データを書き込んで先行エクステントの連
続長をAVブロック長以上とする。図51(a)は、i≧
k、m+k>Bの関係の成立時におけるDVD-RAM上の先行エク
ステント、後続エクステント、In領域と、Out領域の配
置例を示す図である。この場合、図51(b)に示すよ
うにOut領域にメモリ内データを記録すれば先行エクス
テントの連続長をAVブロック長以上とすることができ
る。
Since the data size of the preceding extent is smaller than the AV block, if the preceding extent is left as it is, an underflow occurs in the preceding extent. Where to determine the recording position of both the preceding extent and the data in the memory is the process to be performed in the flowchart of FIG. In step S70, first, it is determined whether or not the total size of the preceding extent and the data in the memory is equal to or larger than the AV block length. If the length is equal to or longer than the AV block length, the flow shifts to step S71 to determine whether the Out area is larger than the data in the memory. If it is larger, the data in the memory is written in the Out area, and the continuous length of the preceding extent is set to be equal to or longer than the AV block length. FIG. 51 (a) shows that i ≧
FIG. 6 is a diagram illustrating an example of the arrangement of a leading extent, a trailing extent, an In area, and an Out area on a DVD-RAM when a relationship of k, m + k> B is established. 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 longer than the AV block length.

【0299】一方、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 data in the memory, a movement process is performed. FIG. 52 (a) shows that i <k, m +
FIG. 10 is a diagram illustrating an example of arrangement of a leading extent, a succeeding extent, an In area, and an Out area on a DVD-RAM when a relationship of k> B is established. In such a state, FIG.
As shown in (b), the preceding extent is first read into the memory, and is written to a free area existing in the same zone area as the preceding extent, thereby moving the preceding extent to the free area. After the movement, FIG. 52 (c)
As shown in (1), the in-memory data is written to the end of the moved preceding extent.

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

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

【0302】上記メモリ内データと先行エクステント、
後続エクステントとの合計サイズが2AVブロック長以上
である場合、ステップS72からステップS74へと移
行する。上記の合計サイズが2AVブロック以上もあれば
論理ブロックライトにかかる時間が膨大となり、単純に
先行エクステントを移動して移動先にメモリ内データを
書き込むという手法はアクセス速度の観点から容認すべ
きでない。しかし、注意すべきはステップS72からス
テップS74への移行は、メモリ内データと先行エクス
テントとの合計サイズがAVブロック長未満である場合と
いう関係が成立したために行われている点である。この
メモリ内データと先行エクステントとの合計サイズがAV
ブロック長未満である場合という関係が成立しているの
に、メモリ内データと先行エクステント、後続エクステ
ントとの合計サイズが2AVブロック長以上である場合と
いう関係が成立しているのは、後続エクステントのデー
タサイズが大きく、(後続エクステント−AVブロック)
のデータサイズも相当量であるということである。(後
続エクステント−AVブロック)のデータサイズが相当量
であるから、先行エクステントとメモリ内データとを足
し合わせた場合にAVブロックに満たない量を後続エクス
テントにて補っても、後続エクステントのデータサイズ
が不足することは有り得ない。
The data in the memory and the preceding extent,
If the total size with the subsequent extent is equal to or larger than the 2AV block length, the process moves from step S72 to step S74. If the total size is equal to or larger than 2 AV blocks, the time required for logical block writing becomes enormous, and the technique of simply moving the preceding extent and writing the in-memory data to the destination is not acceptable from the viewpoint of access speed. However, it should be noted that the transition from step S72 to step S74 is performed because the relationship that the total size of the data in the memory and the preceding extent is smaller 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 holds, the relationship that the total size of the data in the memory, the leading extent, and the trailing extent is equal to or more than 2 AV block lengths holds only for the trailing extent. Large data size (subsequent extent-AV block)
Is a considerable amount of data. Since the data size of (subsequent extent-AV block) is a considerable amount, even if the amount of less than the AV block is supplemented by the subsequent extent when the preceding extent and the data in the memory are added, the data size of the subsequent extent Is not possible.

【0303】従って、メモリ内データと先行エクステン
ト、後続エクステントとの合計サイズが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, if the total size of the data in the memory, the preceding extent, and the subsequent extent is equal to or longer than the 2AV block length, steps S72 to S74 are performed.
Then, the connection processing is performed according to the procedure shown in FIGS. FIG. 54 (a) shows that m + k <B, m + n + k ≧ 2B
FIG. 4 is a diagram showing an example of the arrangement of a leading extent, a trailing 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-subsequent extent is obtained by the search. When a free area is obtained, as shown in FIG. 54 (b), the preceding extent is first read into the memory, and is written into the free area again to move the preceding extent to the free area. After the movement, the data in the memory is written to the end of the moved preceding extent as shown in FIG. When the data in the memory is written, FIG.
As shown in (d), the extent having the data size of (subsequent extent-AV block) is moved to the recording destination of the data in the memory.

【0304】以上の処理を経て先行エクステント、メモ
リ内データ、後続エクステントを連結した後、先行エク
ステントを含む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 data in the memory, 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 subsequent extent are integrated. Then, one file entry after the connection is obtained, and the processing is completed. (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. extent
It is determined whether m is equal to or longer than the AV block length and the subsequent extent n is shorter than the AV block length. In this step, it is determined whether there is a risk of underflow in the subsequent extent n.

【0305】図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 shorter than the AV block length and the preceding extent is longer than the AV block length. AV in the flowchart of FIG.
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 the extent data size m, n and In area, and O
What relationship is established between the data size i, j of the ut area, the data size k of the data in the memory, and the data size B of the AV block, which area is the recording destination of each data, It specifies whether it will be the first.

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

【0307】一方、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 the Out area are smaller than the data in the memory, the moving process is performed. FIG. 57 (a) shows j
FIG. 11 is a diagram illustrating an example of the arrangement of a leading extent, a trailing extent, an In area, and an Out area on a DVD-RAM when a relationship of <k, n + k ≧ B is established. In this case, an empty area existing in the same zone area as the preceding-subsequent extent is searched. When the free area is obtained, the data in the memory is written in the free area as shown in FIG. Subsequently, FIG.
As shown in (c), the subsequent extent is first read into the memory and written immediately after the data recording area in the memory.

【0308】後続エクステントとメモリ内データの合計
サイズが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 data in the memory is less than 1 AV block length, the process proceeds from step S75 to step S77. It is determined whether or not this is the case. If it is less than 2 AV block length, step S78
Move to FIG. 58 (a) shows j <k, n + k <B, m + n + k
FIG. 11 is a diagram illustrating an example of the arrangement of a leading extent, a trailing extent, an In area, and an Out area on a DVD-RAM when the relationship of <2B is established. In step S78, the AV file system unit 11 searches for a free area existing in the same zone area as the preceding-subsequent extent. In such a state, as shown in FIG. 58 (b), the preceding extent is first read into the memory, and is written into the free area again to move the preceding extent to the free area. After the movement, the data in the memory is written to the end of the moved preceding extent as shown in FIG. When the data in the memory is written, the subsequent extent is first read into the memory as shown in FIG.
By writing this immediately after the area occupied by the data in the moved memory, the subsequent extent is moved to a free area existing in the same zone area as the preceding-subsequent extent.

【0309】一方、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 the length is equal to or longer than the 2 AV block length, the flow shifts from step S77 to step S79 to execute FIG. 59 (a).
The connection processing is performed according to the procedure shown in FIG. Figure 59
(A) shows the leading extent, the following extent, and I on the DVD-RAM when the relationship of n + k <B and m + n + k ≧ 2B holds.
FIG. 3 is a diagram illustrating an example of an arrangement of an n region and an Out region. in this case,
Search for a free area existing in the same zone area as the preceding-subsequent extent. When free space is obtained, FIG.
As shown in (b), the end part mend of the extent having the data size of (AV block- (n + k)) is moved to the recording destination of the data in the memory. As shown in FIG. 59 (c), the in-memory data is written to the end of the moved preceding extent. When the data in the memory is written, FIG.
As shown in (d), the subsequent extent is moved immediately after the recording area of the data in the memory.

【0310】図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 of FIG. 49 is No,
Proceeding to step S65, it is determined whether the preceding extent m is shorter than the AV block length and the subsequent extent n is shorter than the AV block length. judge. FIG. 60 is a flowchart showing the processing content when both the leading extent and the trailing extent are shorter than the AV block length. In the flowchart of FIG.
FIGS. 61, 62, 63, and 64 are explanatory diagrams for supplementarily explaining the processing of the AV file system unit 11. FIG. These figures show the relationship between the data size m, n of the extent, the In area, the data size i, j of the Out area, the data size k of the data in the memory, and the data size B of the AV block. Is established, which area is a recording destination and a movement destination of each data.

【0311】本フロ−チャ−トにおいて、先ずステップ
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 or not the total size of the data in the memory, the preceding extent, and the subsequent extent is not less than the AV block length. Here, if the total size is smaller than the AV block length, the process proceeds to step S81. In this case, since the AV block cannot be filled even if the preceding extent, the data in the memory, and the subsequent extent are added, it is determined whether the subsequent extent is followed by the extent. If it does not follow, the subsequent extent is effectively the last extent of the AV file generated after the concatenation, so it is sufficient to leave it as it is. An underflow occurs because the data-subsequent extent pair cannot fill the AV block. In order to avoid this, if there is a subsequent extent in the subsequent extent, the concatenation process is performed according to the procedure shown in FIG. FIG. 61A shows a DVD-ROM when the relationship of m + n + k <B holds.
FIG. 3 is a diagram illustrating an example of arrangement of a leading extent, a trailing extent, an In area, and an Out area on a RAM. Step S81
, The AV file system unit 11 writes the data in the memory into 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 into the memory, and this is written immediately after the area occupied by the moved data in the memory, so that the subsequent extent becomes a free area. Go to

【0312】最後に図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)に示すように、後続エ
クステントを先ずメモリ内に読み出し、これを移動後の
メモリ内データが占めている領域の直後に書き込むこと
により先行エクステントを空き領域に移動する。
[0312] Finally, as shown in Fig. 61 (d), from the extent following the subsequent extent, the (AV block-
Data is fetched by the data size ((previous extent + data in memory + subsequent extent)), and the fetched data is linked to the preceding extent, data in memory, and subsequent extent. If the total size of the preceding extent, the subsequent extent, and the data in the memory is equal to or longer 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 following the preceding extent is smaller than the total size of the subsequent extent and the data in the memory. If it exceeds, the process moves to step S83. FIG. 62 (a)
Is the DVD-RAM when the relationship i ≧ n + k, m + n + k ≧ B holds
On the leading extent, trailing extent, and In area,
FIG. 4 is a diagram illustrating an example of an arrangement of an Out area. In step S83, the AV file system unit 11 writes the data in the memory into 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 into the memory, and this is written immediately after the area occupied by the moved data in the memory, so that the preceding extent becomes a free area. Go to

【0313】もし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 flow shifts from step S82 to step S84 to execute step S84.
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 data in the memory. If it exceeds, step S85
Move to FIG. 63A is a diagram showing an example of the arrangement of the preceding extent, the succeeding extent, the In area, and the Out area on the DVD-RAM when the relationship i <n + k, m + n + k ≧ B holds. In step S85, the AV file system unit 11 writes the data in the memory to the Out area as shown in FIG. When the data in the memory is written,
As shown in FIG. 3 (c), the preceding extent is first read into the memory, and is written immediately before the area occupied by the moved data in the memory, thereby moving the preceding extent to the In area.

【0314】ステップ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)に示すように、後続エクステントを先ずメモリ
内に読み出し、これを移動後のメモリ内データが占めて
いる領域の直後に書き込むことにより後続エクステント
を空き領域に移動する。
If step S84 is No, the process moves to step S86. FIG. 64A shows i <n + k, j <m + k,
FIG. 8 is a diagram illustrating an example of arrangement of a leading extent, a trailing extent, an In area, and an Out area on a DVD-RAM when a relationship of m + n + k ≧ B is established. In step S86, it is determined whether or not the total size of the preceding extent, the subsequent extent, and the data in the memory exceeds the 2AV block length. If not, the AV file system unit 11 searches for a free area existing in the same zone area as the preceding extent. When a free area is obtained, as shown in FIG. 64 (b), the preceding extent is first read into the memory, and is written into the free area again to move the preceding extent to the free area. After the movement, the in-memory data is written to the end of the moved preceding extent as shown in FIG. When the data in the memory is written,
As shown in FIG. 4 (d), the subsequent extent is first read into the memory, and is written immediately after the area occupied by the moved data in the memory, thereby moving the subsequent extent to the free area.

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

【0316】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 moves the destination from the beginning of the data in the memory to the destination (in-memory data-In area). ) Is recorded in the destination of the preceding extent. After that, the remaining part of the data in the memory is recorded in the In area. After the above-described movement processing, the total movement amount is set to 2 in step S86.
It can be suppressed to the AV block length or less.

【0317】以上の処理を経て先行エクステント、メモ
リ内データ、後続エクステントを連結した後、先行エク
ステントを含む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 data in the memory, 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 subsequent extent are integrated. Then, one file entry after the concatenation is obtained, and the process ends. (3-2-7-1-4-3) Processing when both the preceding and subsequent extents are longer than the AV block length If step S65 in FIG. 49 is determined as No, the AV file system unit 11 It is determined whether the internal data is less than the AV block length. If the length is equal to or longer than the AV block length in step S67, the data in the memory is recorded in a free area, and the process is terminated.

【0318】ステップ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 equal to or longer than the AV block length, the subsequent extent n is equal to or longer than the AV block length, and the data size of the in-memory data k is equal to the In area. i and Ou
It is determined whether it is smaller than the total length with the t region j. FIG.
This is a flowchart when the leading extent and the trailing extent have a length equal to or longer than the AV block length.

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

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

【0321】図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 exceeds the data size of the data in the memory.
If so, in step S88, FIG.
The data in the memory is recorded in the Out area as shown in FIG. If it is lower 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.
The data in the memory is recorded in the In area as shown in FIG. If the data in the memory cannot be recorded by only one of the In area and the Out area, the process shifts from step S89 to step S91.
As shown in (d), the data in the memory is divided into two free areas, and each of the divided areas is recorded in each of the In area and the Out area.

【0322】以上の処理を経て先行エクステント、メモ
リ内データ、後続エクステントを連結した後、先行エク
ステントを含む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 data in the memory, 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 subsequent extent are integrated. Then, one file entry after the connection is obtained, and the processing is completed. (3-2-7-1-4-4) Processing when both preceding and succeeding extents are longer than the AV block length In step S69 of FIG.
It is determined whether the length is equal to or longer than the block length, the subsequent extent n is equal to or longer than the AV block length, and the data size of the data k in the memory is larger than the total length of the In area i and the Out area j.

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

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

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

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

【0327】このような観点から、合計サイズが2AVブ
ロック長以上であればステップS95に移行し、後続エ
クステントの先端から、サイズ(AVブロック長−メモリ
内データのデータサイズk)のデータを読み出し、これ
を先行−後続エクステントと同一のゾーン領域内に存在
する空き領域に移動すると共に、その移動先にメモリ内
データを記録する。この記録により空き領域は図68
(c)に示すように、メモリ内データ及びエクステント
で満たされる。
From such a viewpoint, if the total size is equal to or larger than 2 AV block lengths, the flow shifts to step S95, where data of the 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-subsequent extent, and the data in the memory is recorded at the destination. By this recording, an empty area is obtained as shown in FIG.
As shown in (c), it is filled with data and extents in the memory.

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

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

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

【0331】なお、ここまで二つのAVファイルとメモリ
内データとの連結処理に関してのみ説明を行ってきた
が、MERGEコマンドの遂行時においては1つのAVファイ
ルとメモリ内のデータとを連結することも出来る。この
場合はAVファイルの末尾エクステントにデータを追加す
るのと等価な処理なので、連結後のエクステントがAVブ
ロック長以上という条件を満足する必要はない。それゆ
え、処理としては末尾のエクステントに後続するOut領
域にメモり内データを記録していき、もしメモリ内の全
てのデータがOut領域に記録できない場合は、空AVブロ
ックを割り当て、そこに残ったメモリ内データを記録す
ればよい。
[0331] Although only the connection process between the two AV files and the data in the memory has been described above, it is also possible to connect one AV file with the data in the memory when executing the MERGE command. I can do it. In this case, since the processing is equivalent to adding data to the last extent of the AV file, it is not necessary to satisfy the condition that the extent after connection is equal to or longer than the AV block length. 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 remaining What is necessary is just to record the data in the memory.

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

【0333】先ずSPLITコマンド遂行処理に伴なう上記
情報の更新について説明する。SPLITコマンド遂行処理
により得られる複数のAVファイルのうち、一つのAVファ
イルについては、切出元のVOBを収録していたAVファイ
ルと同一のAV_File_IDを付与する。それ以外のAVファイ
ルのAV_File_IDには、それぞれ新たな識別子を付与せね
ばならない。
First, 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 assigned the same AV_File_ID as the AV file containing the extraction source VOB. New identifiers must be assigned to AV_File_IDs of other AV files, respectively.

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

【0335】シームレス接続情報、タイムマップテーブ
ルを含む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 according to the division of the VOB. That is, if mx VOBs are obtained by the above division, m
Divide into x time map tables and seamless connection information. VOB video display start time VOB_V_S_PTM and video display end time V generated by SPLIT command execution processing
OB_V_E_PTM is updated based on C_V_S_PTM and C_V_E_PTM indicating the start point and end point of the cell information, and LAST_SCR and FIRST_SCR in the seamless connection information are also updated.

【0336】MERGEコマンド遂行処理時において、上記
情報をどう更新するかについて説明する。ここでMERGE
コマンドの遂行により、複数のAVファイルが1つのAVフ
ァイルになるといっても、それら複数のAVファイルに含
まれているそれぞれのVOBは、互い相関性を有さないフ
レームデータから構成されているので、2つのAVファイ
ル間でタイムスタンプの不連続が生じる。元々別々のAV
ファイルに収録されていた複数のVOBを異なるVOBとして
管理するため、これら複数のVOBに別々のVOB IDを割り
当てる。
The following describes how the above information is updated during the MERGE command execution processing. Here MERGE
Even though the execution of the command may cause a plurality of AV files to become one AV file, each VOB included in the plurality of AV files is composed of frame data having no correlation with each other. , A time stamp discontinuity occurs between two AV files. Originally separate AV
In order to manage a plurality of VOBs recorded in the file as different VOBs, different VOB IDs are assigned to the plurality of VOBs.

【0337】これらの処理以外は、第2実施形態と同様
である。一方、切り出し範囲を特定したセル情報におけ
るC_V_E_PTMには、再エンコードされた先行VOBUに含ま
れているフレーム数が追加される。後続のAVファイルの
切り出し範囲を特定したセル情報におけるC_V_S_PTM
は、再エンコードされた後続VOBUに含まれているフレー
ム数だけ削除される。
[0337] 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 clipping range of the subsequent AV file
Is deleted by the number of frames included in the re-encoded subsequent VOBU.

【0338】(3-2-3)断片化解消部16 断片化解消部16は、固定磁気ディスク装置と接続され
ており、既にDVD-RAMに記録されて連結処理等がなされ
たエクステントのうち、その記録領域の前後に空き領域
を有するものを読み出して本固定磁気ディスク装置に書
き込み、ディスク装置内にバックアップデータを作成す
る。全てのエクステントを固定磁気ディスク装置に書き
込んだ後、バックアップデータを再度読み出して、記録
済みエクステントの前後に存在する空き領域を詰めるよ
うに、エクステントを書き込んでゆく。ここで、その記
録領域の前後に空き領域を有するエクステントは、「SP
LIT」コマンド及び「SHORTEN」コマンドがAVファイルシ
ステム部11により順次遂行されたために生成されたも
のであり、「MERGE」コマンドの遂行時においてメモリ
内データの記録先にも、他のエクステントの移動先にも
ならなかったために放置されているものと想定してい
る。
(3-2-3) Defragmentation Unit 16 The defragmentation unit 16 is connected to the fixed magnetic disk device, and among the extents already recorded on the DVD-RAM and subjected to the connection processing, etc. Data having an empty area before and after the recording area is read and written to the fixed magnetic disk device, and backup data is created in the disk device. After all the extents have been written to the fixed magnetic disk device, the backup data is read again, and the extents are written so as to fill the free space existing before and after the recorded extent. 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 storage destination of the data in the memory and the transfer destination of another extent are It is assumed that it has been abandoned because it did not.

【0339】図69は、断片化解消部16による処理内
容を補足説明するための説明図である。本図において、
その記録領域の前後に空き領域i,jを有するエクステン
トとしてエクステント#xを図中に示している。断片化解
消部16は図69(a)に示すようにこのようなエクス
テントを検出して、DVDレコーダ70に読み出すと共
に、固定磁気ディスク装置に書き込む。
FIG. 69 is an explanatory diagram 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 defragmentation unit 16 detects such an extent as shown in FIG. 69 (a), reads out the extent to the DVD recorder 70, and writes it to the fixed magnetic disk device.

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

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

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

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

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

【0345】尚、データの移動を所定の一定量未満の連
続データが発生した場合にとどめず、2つの映像音響デ
ータを繋いだ場合に、2つの映像音響データがディスク
上であまりにも離れすぎている場合に、データの移動を
行う様にしてもよい。というのは、物理的に離れた映像
音響データを繋いで出来たデータは、普通に再生する場
合は連続再生を保証できる様にデータ配置はされてい
る。しかし、特別再生の早送りなどを行った場合、再生
するデータが離れすぎているとそこで、再生がギクシャ
クしてしまう。
Note that data movement is not limited to the case where continuous data of less than a predetermined amount occurs, and when two pieces of video and audio data are connected, the two pieces of video and audio data are too far apart on the disk. In such a case, the data may be moved. This is because data arranged by connecting physically separated audiovisual data is arranged so that continuous reproduction can be guaranteed in normal reproduction. However, when performing fast forward for special playback, if the data to be played is too far away, the playback will be jerky.

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

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

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

【0349】(第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, hierarchical video editing consisting of temporary editing and main editing is performed by a user-defined PG.
This is an embodiment implemented using two types of program chains, 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 structure of the RTRW management file in the fourth embodiment will be described. . In the fourth embodiment, the RTRW management file is
It is recorded on the same directory (RTRW directory) as the AV file, and contains the contents shown in FIG.

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

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

【0352】オリジナルPGC情報は、RTRWディレクトリ
内に存在するAVファイルに収録されている複数VOBのそ
れぞれ、又は、各VOB内の部分区間をその配列順序に従
って指定している情報である。オリジナルPGC情報は、R
TRWディレクトリ内に存在するAVファイルに収録されて
いるVOBのそれぞれに対応づけられており、RTRWディレ
クトリィにおいてAVファイルが記録されると、その時点
においてオリジナルPGC情報は、ビデオデータ編集装置
により生成されてRTRW管理ファイルに記録される。
The original PGC information is information specifying each of a plurality of VOBs contained in an 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 at that time is generated by the video data editing device. Recorded in the RTRW management file.

【0353】オリジナル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ファイルの識別子
を記入する欄である。
FIG. 70B shows the data format of the original PGC information. The original PGC information is composed of a plurality of cell information, and the cell information is a cell ID (CELL # 1,
# 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 column for entering an identifier of the AV file corresponding to the cell information.

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

【0355】『セル終了時刻C_V_E_PTM(図中では、C_V_
E_PTMと略記している)』は、セル情報により指定される
部分区間の終了点を示す情報であり、その終了点に位置
するビデオフィールドの終了時刻をPTM記述フォーマッ
トにて記入するための記入欄を有する。『セル開始時刻
C_V_S_PTM』及び『セル終了時刻C_V_E_PTM』における時
刻情報は、ビデオエンコーダによるエンコード動作の開
始点、エンコード動作の終了点、操作者が挿入したマー
ク点等を意味している。
[Cell End Time C_V_E_PTM (C_V_E_PTM in the figure)
(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 a PTM description format. Having. "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.

【0356】またオリジナルPGC情報の各セル情報の
『セル終了時刻C_V_E_PTM』は、オリジナルPGC情報にお
いて次順位に配置されているセル情報の『セル開始時刻
C_V_S_PTM』と一致している。各セル情報の『セル終了
時刻C_V_E_PTM』と『セル開始時刻C_V_S_PTM』とは、こ
のような一致関係を有しているので、オリジナルPGCで
は、一部の部分区間も脱落することなく、VOBにおける
全ての部分区間が指定されている。またオリジナルPGC
は、VOBにおける順序と前後が入れ代わるような順序で
部分区間を指定することはできない。
[0356] The "cell end time C_V_E_PTM" of each cell information of the original PGC information is the "cell start time" of the cell information arranged next in the original PGC information.
C_V_S_PTM ". Since the `` 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, all of the VOBs do not drop even in some partial sections. Is specified. Also original PGC
Cannot specify subsections in an order that replaces the order in the VOB.

【0357】(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” contains a plurality of user-defined PGCs.
Consists of information. FIG. 70C shows the data format of the user-defined PGC information. Like the original PGC information,
The user-defined PGC information is composed of a plurality of cell information, and the cell information includes an AV file ID, VOB_ID, C_V_S_PTM, and C
_V_E_PTM.

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

【0359】ここでユーザ定義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 (all sections) specified by the cell information in the original PGC information or by the cell information in the original PGC information. It is further inside (partial section) than the partial section to be performed. In addition, the partial section specified by one cell information may be specified by another cell information overlapping. That is, there may be overlap between cells. Further, a partial section specified by certain cell information may be separated from a partial section specified by another cell information. That is, there may be a gap between cells. In the user-defined PGC information, not all the partial sections in the VOB need be specified, and some of the partial sections in the VOB may not be specified.

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

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

【0362】更にオリジナル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 as long as the time is after the recording of the AV file. (4-1-4) Integration of PGC Information-VOB Information-AV File The following describes how the above-described AV file, VOB, time map table, and PGC information have a mutual relationship. FIG. 71 shows the interrelationship between AV files, VOBs, VOB information, original PGC information, and user-defined PGC information,
FIG. 71 is a diagram in which the ones having unity are arranged in a bold frame (in FIG. 71, PGC information is abbreviated as PGC information).

【0363】図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 #
The original PGC information # 1 consisting of 3 is arranged in the same thick line frame, and the AV file # 2 including VOB # 2, VOB information # 2, cell information # 1-cell information # 2-cell information # 3 Naru original PG
It can be seen that C information # 2 is arranged in the same thick line frame.

【0364】これら太線枠で囲んだ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と命名している。
The AV file (VOB) -V surrounded by the thick line frame
A set of OB information-original PGC information is called an original PGC in the DVD-RAM standard. The video data editing apparatus conforming to the DVD-RAM standard recognizes the unit of the original PGC as a management unit of a video title. In one example of FIG. 71,
AV file # 1 and VOB information # placed in the same thick line frame
1, One set of original PGC information # 1 is named as original PGC # 1, and the AV file # arranged in the same thick line frame
2, a set of VOB information # 2 and original PGC information # 2 is named original PGC # 2.

【0365】オリジナル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 on the DVD-RAM, generate VOB information, and generate original PGC information for the VOB. Recording of the original PGC is considered to have been completed only when all of the AV file, VOB information table, and original PGC information are recorded on the DVD-RAM. Conversely, simply recording the encoded VOB as an AV file on the DVD-RAM will result in the original P
The GC recording is not considered complete.

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

【0367】尚、オリジナル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 designating a cell included in the original PGC by the operator, and there is no possibility that partial reproduction is commanded by directly designating, for example, a VOBU smaller than the cell. The integration in the original PGC information is as described above. Next, a description will be given of the unit in which the user-defined PGC information is managed as a video title. In FIG. 71, the original PGC has the original PGC information-VOB information table-AV file arranged in the same bold frame, whereas cell information # 1, cell information # 2, cell information # 3, and cell information
It can be seen that the user-defined PGC information # 3 in the figure consisting of # 4 is individually surrounded by a thick line frame. This is because in the DVD-RAM standard, user-defined PGC information is not actual AV data,
This indicates that the title is managed independently.

【0368】このため、ビデオデータ編集装置がRTRW管
理ファイル内にユーザ定義PGC情報を定義することのみ
で、ユーザ定義PGCの生成は完了したといえるのであ
る。即ち、ユーザ定義PGCにおいては、『ユーザ定義PGC
の制作 イコール ユーザ定義PGC情報の定義』という
関係が成立するのである。消去時においても同様であ
り、RTRW管理ファイルからユーザ定義PGC情報が消去し
さえすれば、それにより構成されるユーザ定義PGCは存
在しないものとみなされる。
[0368] Therefore, it can be said that the generation of the user-defined PGC is completed only by the video data editing apparatus defining the user-defined PGC information in the RTRW management file. That is, in the user-defined PGC, "user-defined PGC
Production Equals Definition of User-Defined PGC Information ”is established. The same applies to erasing, as long as the user-defined PGC information is erased from the RTRW management file, it is assumed that the user-defined PGC constituted thereby does not exist.

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

【0370】オリジナル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 viewpoint of the operator, the original PGC-user-defined PGC is
Since the entire reproduction and the partial reproduction are performed by designating the C information and the cell information, it is not necessary to be conscious 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.

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

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

【0373】特定されたタイムマップテーブル#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列の読み出しを開始する。
[0373] The specified time map table # 1 contains:
The size of each VOBU that composes the VOB and the playback time of those VOBUs are described.In order to further improve the access performance, a representative VOBU is selected at regular intervals, for example, every several tens of seconds, and the address and the progress from the beginning of the VOB are selected. Because we have time, arrow y1
By referring to the time map table 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 is determined by which V in the AV file.
Specify whether it corresponds to OBU and specify the start address. As a result, the VOBU corresponding to the cell start time C_V_S_PTM
Since the start address is found, the playback device accesses VOB # 1 as indicated by arrow y2, and starts reading the VOBU sequence from VOBU # 1 indicated by the start address.

【0374】一方、セル情報#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 included in cell information # 1.
Since the cell end time C_V_E_PTM is included together with the PTM, the cell end time C_V_E_PTM included in the cell information # 1 is included in the AV file by referring to the time map table using the cell end time C_V_E_PTM as shown by an arrow y3. Specify which VOBU is to be supported. As a result, the start address of the VOBU corresponding to the cell end time C_V_E_PTM is determined. Assuming that the specified VOBU is VOBU # 10, as shown by arrow y4, when VOBU # 10 is reached,
The reading of the column ends.

【0375】以上のようにセル情報#1−VOB情報#1を介
したアクセスをAVファイルに対して行えば、AVファイル
#1に収録されているVOB#1のうち、セル情報#1により指
定された部分区間のみを読み出すことができる。このよ
うな部分区間の読み出しをセル情報#2、セル情報#3、セ
ル情報#4に対して行えばVOB#1に含まれている全てのVOB
Uが読み出され、再生される。
As described above, if access is made to the AV file via the cell information # 1-VOB information # 1, the AV file
Only the partial section specified by cell information # 1 can be read out of VOB # 1 recorded in # 1. 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.

【0376】以上のようにしてオリジナル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 using the original PGC information, the partial sections in the VOB can be reproduced according to the arrangement order. On the other hand, it is assumed that the operator has designated one of the user-defined PGCs and instructed to reproduce the video title. The specified PGC is a user-defined PGC
In the case of # 1, cell information # 1 located at the head of the user-defined PGC information # 1 is taken out by the playback device.
Subsequently, 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 an arrow y5, the cell start time C_V_S_PTM included in the cell information # 1 is set to the VOB. Specify which VOBU in # 1 corresponds. As a result, it is determined that the VOBU corresponding to the cell start time C_V_S_PTM is VOBU # 11. Therefore, the playback device accesses VOB # 11 as indicated by arrow y6,
The reading of the VOBU column is started from VOBU # 11 indicated by the head address.

【0377】一方、ユーザ定義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, since the cell information # 1 of the user-defined PGC # 1 includes the cell end time C_V_E_PTM together with the cell start time C_V_S_PTM, the cell end time C_
By referring to the time map table using V_E_PTM, the cell end time C_V_E_
Specify which VOBU in VOB # 1 the PTM corresponds to. Assuming that the VOBU identified here is VOBU # 21, the arrow y
As shown in FIG. 8, the reading of the VOBU column ends when VOBU # 21 is reached.

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

【0379】特定されたタイムマップテーブルには、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列の読み出しを開始する。
In the specified time map table, VO
The size of each VOBU that constitutes B and the playback time of those VOBUs are described, and a representative VOBU is selected at regular intervals, for example, several tens of seconds, in order to further improve access performance. Since the cell has time, the cell start time C_V_S_PTM included in the cell information # 2 is determined by referring to the time map table using the cell start time C_V_S_PTM as shown by an arrow y9.
Specify whether it corresponds to U. As a result, the cell start time C_V
Since the starting address of the VOBU corresponding to _S_PTM is known,
The video data editing device accesses VOB # 2 as indicated by arrow y10, and outputs VOB # 1 indicated by the head address.
From the VOBU column.

【0380】一方、セル情報#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 included in cell information # 2.
Since the cell end time C_V_E_PTM is included together 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
The cell end time C_V_E_PTM included in # 2 is
Specify whether to support VOBU. This gives the cell end time
The start address of the VOBU corresponding to C_V_E_PTM is determined.
Assuming that the VOBU identified here is VOBU # 11,
As indicated by an arrow y12, the reading of the VOBU column ends when VOBU # 11 is reached.

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

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

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

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

【0385】以降、第4実施形態における本編集の手順
と、その本編集の前後においてユーザ定義PGC情報がど
のようにオリジナルPGC情報に更新されるかを説明す
る。図72は、ユーザ定義PGC−オリジナルPGCの一例を
示す図である。本図においてオリジナルPGC情報#1は、
セル#1のみを含んでおり、VOB#1と、VOB情報と、一体と
なってオリジナルPGCを形成している。これに対してユ
ーザ定義PGC情報#2はセル#1、セル#2、セル#3のみでユ
ーザ定義PGCを形成している。
Hereinafter, the procedure of the 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 illustrating an example of a user-defined PGC-original PGC. In this figure, the original PGC information # 1 is
It contains only cell # 1, and forms an original PGC together with VOB # 1 and VOB information. On the other hand, in the user-defined PGC information # 2, only the cell # 1, the cell # 2, and the cell # 3 form a user-defined PGC.

【0386】セル#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, y52, and cell # 2 designates a partial section as indicated by dashed arrows y53, y54. , VOBU # i +
A partial section from 1 to VOBU # j is specified. Cell # 3 has VOBU # j + 1 to VOBU # k +, as indicated by dashed arrows y55 and y56.
Subsections up to 2 are specified. Among them, only the cell # 2 in the user-defined PGC information is deleted, and the main editing using the user-defined PGC information after deletion, that is, the user-defined PGC information # 2 including the cell # 1 and the cell # 3 is instructed. It shall be assumed. FIG. 73 is a diagram in which a portion corresponding to a cell in a deletion range is hatched.

【0387】ここで削除されたセル#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 a plurality of picture data included in VOBU # i + 1 as C_V_S_PTM, as shown inside the frame w11. is there. In addition, as shown inside the frame w12, one of a plurality of picture data included in VOBU # j + 1 is designated as C_V_E_PTM. When the main editing is performed using this user-defined PGC information # 2, the VOBU located at the end in cell # 1
#i, VOBU # i + 1, VOBU # i + 2, and VOBU # j, VOBU # j + 1, and VOBU # j + 2 located at the tip of cell # 2, are re-encoded. The first embodiment is performed in accordance with the procedure described in the second embodiment.
This is performed according to the procedure described in the embodiment.

【0388】図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 editing using the user-defined PGC information # 2. Referring to the second row in FIG. 74A, VOBU # i, VOBU # i + 1, and VOBU # i + 2 are recorded on the AV block #m, and VOBU # j, VOBU # j + 1, and VOBU # j + 1. It can be seen that # j + 2 is recorded in AV block #n. As shown in FIG. 73, cell # 2 specifies the picture data included in VOBU # i + 1 as C_V_S_PTM, and specifies the picture data included in VOBU # j + 1 as C_V_E_PTM. VOBU # i + 2, as shown inside the frames w13 and w14.
E occupied by VOBU # j from ECC block occupied by
Up to the CC block is released to a free area by issuing the SPLIT command and the 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 empty area.

【0389】図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 the VOB and 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 on VOB # 1 is divided into VOB information # 1 and VOB information # 2.
The time map tables included in these VOB information are also time map table # 1 and time map table
# 2 and split. Although not shown, the seamless connection information is similarly divided.

【0390】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に示したハードウェアを制御するこ
とにより実現される。
[0390] The VOBUs in VOB # 1-VOB # 2 are respectively referenced through the divided time map tables. The user-defined PGC information and the original PGC information have the same data structure except for the value of the title type, and the VOB partial section obtained after the main editing is the same as the user-defined PGC information # 2 before the main 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 for which the partial section was specified before the main editing, there is no need to define the original PGC information again after the main editing. (4-2) Functional Blocks of DVD Recorder 70 FIG. 75 is a functional block diagram showing a 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 in the ROM 1e and controlling the hardware shown in FIG.

【0391】図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 disk recording unit 100, a disk reading unit 101, a common file system unit 10, an AV file system unit 11, and a recording / editing / playback control unit 12. And is common to the video data editing apparatus shown in the third embodiment,
The third embodiment differs in that the AV data recording unit 13 is replaced by a title recording control unit 22, the AV data playback unit 14 is replaced by a title playback control unit 23, and the AV data editing unit 15 is replaced by an editing hierarchy control unit 26. And different. In addition, 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.

【0392】(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
The designation of the directory to be operated in the directory structure on the D-RAM is received from the operator. When the designation of the operation target is received, the operation content by the operator is specified based on the user operation notified from the remote control signal receiving unit 8, and the processing of the operation content is performed on the directory specified as the operation target by the title recording control. Part 22,
It instructs the title reproduction control unit 23 and the like to perform the operation.

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

【0394】(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
, The internal area is managed in a matrix. PGC
In the information table work area 24, a plurality of pieces of PGC information are arranged in a row direction, and a plurality of pieces of cell information are arranged in a column direction. Arbitrary cell information among the PGC information stored in the PGC information table work area 24 includes a row number,
It is accessed using a pair with the column number.

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

【0396】(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, like the AV data recording unit 13 in the third embodiment. RTRW management file work area 24
First, a time map table and VOB information are generated, and original PGC information is generated and stored in the PGCI table work area 24.

【0397】オリジナルPGC情報の生成は、タイトル録
画制御部22が以下に示す手順を経ることにより実現さ
れる。先ず第1に、タイトル録画制御部22は、録画キ
ーの押下が録画・編集・再生制御部12から通知される
と、PGC情報テーブルワークエリア14に行領域を確保
する。次に新規に生成されるべきVOBに対してAVファイ
ル録画制御部13がAVファイル識別子、VOB識別子を割
り当てると、タイトル録画制御部22は、それらを取得
して新規に割り当てたPGC番号と対応づけて新規に確保
した行領域に格納する。
[0397] The 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 secures a line area in the PGC information table work area 14. Next, when the AV file recording control unit 13 assigns the AV file identifier and the VOB identifier to the 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.

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

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

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

【0401】以上の生成が済むと、このオリジナルPGC
情報に割り当てたPGC番号に対応づけて、このPGC情報が
オリジナルPGC情報であることを示すタイプ情報と、オ
リジナルPGC情報の記録が済んだ記録日時を示す記録履
歴情報とを示すタイトルサーチポインタをPGC情報テー
ブルワークエリア21上に生成する。尚、タイトル再生
制御部23がシーンの内容が大きく変化した時点を検出
できる場合、ユーザ定義PGC情報ゼネレータ25はシー
ンチェンジがなされた時点のPTSを自動的に取得するこ
とによりセル情報を自動的に設定しても良い。
When the above generation is completed, the original PGC
In association with the PGC number assigned to the information, 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 original PGC information has been recorded are set to the PGC. It is generated on the information table work area 21. If the title playback control unit 23 can detect the point at which the content of the scene has changed significantly, the user-defined PGC information generator 25 automatically acquires the PTS at the time of the scene change, thereby automatically acquiring the cell information. May be set.

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

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

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

【0405】図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 flowchart showing the processing contents at the time of partial reproduction of cell information. First, in step S271, C_V_S_PTM, C_V_E are obtained from original PGC information and cell information to be reproduced in user-defined PGC information.
Read _PTM. Subsequently, in step S272, C_V_S_
The VOBU (START) address including the picture data to which the PTM is added is specified. In step S273, C_V_E_PTM
The address of the VOBU (END) including the picture data to which the VOBU (START) is added is specified in step S274.
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 transmits the cell reproduction start time information (C_V_S_PTM) and the cell reproduction end time information (C_V_E_PTM) as valid reproduction section information together with the decoding processing request to the decoder control unit 4k in the MPEG decoder 4. Is output.

【0406】このように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)までの区間のみが再生出力されている様子を示す図
である。
[0406] The reason why the valid playback section is output to the MPEG decoder 4 is that the decoder control section 4k in the MPEG decoder 4 attempts to decode even picture data outside the partial section specified by the cell. It is. That is, MP
The unit in which the EG decoder 4 can perform the decoding process is a VOBU unit. In this case, the entire range from VOBU (START) to VOBU (END) is decoded, and even the 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, picture data outside the partial section must be prohibited by some method. The title reproduction control unit 23 outputs valid section information to the MPEG decoder 4 in order to prohibit reproduction outside the section. FIG. 78 (b) shows, from the range from VOBU (START) to VOBU (END), cell reproduction start time information (C_V_S_PTM) to cell reproduction end time information (C_V_E_P).
FIG. 11 is a diagram showing a state in which only a section up to TM) is reproduced and output.

【0407】有効再生区間の出力により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以降の区間については再生出力が禁止
される。これによりセル情報により指定された部分区間
のみが再生される。
[0407] The MPEG decoder 4
Stops display output of a plurality of video fields from the head of the VOBU to C_V_S_PTM among all VOBUs instructed to decode, and then stops display output of a plurality of video fields from C_V_E_PTM to the end of the VOBU. FIG. 1
Logical connection lines in the hardware configuration diagram shown in FIG.
The VOBU sequence read from the disk access unit 3 via (1) is subjected to decoding processing by the MPEG decoder 4, and of 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 specified by the cell information is reproduced.

【0408】オリジナル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, since one PGC information includes a plurality of cell information, the procedure shown in FIG. 78A is performed for all the PGC information included in one PGC information. What is necessary is just to repeat about cell information. (4-2-5) RTRW management file work area 24 The RTRW management file work area 24 includes a plurality of original PGCs generated on the PGC information table work area 24.
A work area for arranging an original PGC information table including information, a user-defined PGC information table including a plurality of user-defined PGC information, a title search pointer, and VOB information according to the logical format shown in FIG. Yes, if the common file system unit 10 writes the data located here as a non-AV file in the RTRW directory, it means that the RTRW management file has been recorded in the RTRW directory.

【0409】(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. The user-defined PGC information generator 25 generates user-defined PGC information based on any of the PGC information recorded in the RTRW management file in the current directory. The cell information (user-defined cell information) in the user-defined PGC information further specifies the interior of the partial section specified by the cell information of the existing PGC information.
There are two types, (1) and (2), which directly specify a partial section specified by existing cell information. The user-defined PGC information generator 25 generates these cell information by different methods.

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

【0411】図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 illustrating how data input / output between the components illustrated in FIG. 75 is performed when a marking operation is performed. As shown in FIG. 79 (a), while watching the video displayed on the television receiver 72, it is assumed that the video becomes a favorite scene and the operator presses the mark key. Thereafter, as shown in FIG. 79 (b), it is assumed that the scene in which the user likes the video ends, and the scene in which the user is not very interested starts. Therefore, it is assumed that the operator has pressed the mark key.

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

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

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

【0415】(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に転
送させる。
[0415] (4-2-7-1) Hierarchical editing processing procedure by the edit hierarchical control unit 26 The following describes a specific processing procedure of hierarchical control by the edit hierarchical control unit 26. When provisional editing is ordered by pressing the interactive screen remote controller 71 in FIG. 77A, the editing hierarchy control unit 26 accesses the RTRW directory, and the editing hierarchy control unit 26 RT
It instructs that the RW management file be read from the RTRW directory and stored in the RTRW management file work area 24. Then, the RTRW management file work area 24
Of the RTRW management file read to the original PG
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.

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

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

【0418】変数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にそれぞれ代入す
る。
[0418] The variable m is the P to be added to the user-defined PGC information to be defined in the RTRW management file.
The variable n is a cell number to be assigned to cell information to be defined in the RTRW management file.
In step S201, a value obtained by adding 1 to the last number of the original PGC information in the RTRW management file is assigned to a variable m and 1 is assigned to a variable n. Step S
At step 202, a column for the m-th user-defined PGC information is added to the user-defined PGC information table, and step S2 is performed.
At 03, the operation waits for a key operation. When the key operation is performed, in step S204, among the flags assigned to each key, the flag corresponding to the pressed 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, it is determined whether the flag indicating that the end key has been pressed, End_Flag, is 1. If any of these flags is "0", the process proceeds to step S20.
7, Right_Flag and Left_Fla which are a group of flags indicating that the up key, the left key, the right key, and the down key have been pressed
Using g, Down_Flag, and Upper_Flag, the calculation shown in the following equation is performed, and the calculation results are substituted into variables k and j, respectively.

【0419】 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. Also, the up key is pressed 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. Also, the down key is pressed and Down_F
When lag becomes “1”, the variable j is incremented.
After the variables j and k are updated in this way, the cell graphic in the j-th row and the k-th column is set to the focus display in step S208, and all the flags assigned to the remote controller 71 are cleared to zero in step S209, and then step S2
The process proceeds to 03, and a key operation waiting state is set again. By repeating the processing of steps S203 to S209 described above, the cell graphics corresponding to the front, rear, left, and right cells are brought into the focus state in response to the pressing of the key on the remote controller 71.

【0420】以上の処理が繰り返されている間、何れか
のセルがフォーカス状態に設定された状態で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 of the cells is set to the focus state while the above processing is repeated, the flow shifts to step S251 in FIG.
In step S251 of FIG. 82, the operator is presented with whether to use the cell information in the j-th row and the k-th column as it is, or to use the inside of the partial section specified by the cell information, and let the operator specify either of them. When the cell information is used as it is, in step S252, the cell graphic in the j-th row and the k-th column is
It is copied to m rows and n columns, and Original_P
GC # j.CELL # k is defined as User_Defined_PGC # m.CELL # n. After the definition, the variable n is incremented in step S254, and the flow shifts to step S209 in FIG. 81.

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

【0422】一方、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 head of the cell information in the j-th row and the k-th column, and thereafter, the process proceeds to step S256, where a loop state including steps S256 to S257 is established. 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 pressing of the marking key. Step S25
If the answer is No in step S258, the time information at the time when the button is pressed in step S258 is obtained, and then the process proceeds to step S25.
Move to 9.

【0423】ステップS259では、取得した時刻情報
が2つであるかを判定し、そうでなければセル情報を生
成せずにステップS256に戻り、そうあればステップ
S260において取得した2つの時刻情報を開始点、終
了点とする。ここで取得した一方の時刻情報は、テレビ
受像機72に表示される映像が自分が気に入ったシーン
になった時点であり、他方の時刻情報は、自分が気に入
ったシーンが終わった時点であるものとする。これらの
時刻情報は、オリジナルPGC情報により提供されるオリ
ジナルPGC内部において映像編集素材として特に抜擢さ
れるべき部分区間と考えられる。これらの部分区間を指
定するためのユーザ定義PGC情報を生成すべく、PGC情報
テーブルワークエリア24にセル情報を生成し、ステップ
S261に移行する。
In step S259, it is determined whether the acquired time information is two. If not, the process returns to step S256 without generating cell information. If so, the two time information acquired in step S260 is determined. Start and end points. The one time information acquired here is the time when the video displayed on the television receiver 72 becomes a scene that you like, and the other time information is the time when the scene you like ends. And These pieces of time information are considered to be partial sections to be particularly selected as video editing materials 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.

【0424】ステップ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に移行す
る。
In step S261, user-defined PGC
The information generator 25 is V in Original_PGC # j.CELL # k.
Obtain 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 stop time t, and then in step S254, the variable n is incremented, and the process proceeds to step S209.

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

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

【0427】(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 dialogue screen shown in FIG.
The operation of defining user-defined PGC information from PGC information will be described below. FIG. 86 is a diagram showing the relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation. The drawings from FIG. 87 to FIG. 90 are drawn for the same purpose, and the operation will be described with reference to these drawings.

【0428】図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 first column is set to the focus state as shown in FIG. 85, when the operator presses the ENTER key as shown in FIG. 86 (b), step S205 is performed. Is Yes, and the flow shifts to the flowchart of FIG. In steps S251 to S266 of this flowchart, as shown in FIG.
Based on al_PGC # 1.CELL # 1, first cell information CELL # 1A of UserDefined_PGC # 1 is generated. After generation, step S
At 254, the variable n is incremented, and the variable n is
The process proceeds to step S203 via step S209. Here, 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 flag corresponding to the pressed key is set to “1” among the flags that have been pressed.

【0429】一回目の下キーの押下により、 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 lower key for the first time, k = 1 (= 1 + 1 * 0-1 * 0) j = 2 (= 1 + 1 * 1-1 * 0), and the first right key By pressing, k = 2 (= 1 + 1 * 1-1 * 0) j = 2 (= 2 + 1 * 0-1 * 0) By pressing the right key a second time, k = 3 (= 2 + 1 * 1-1 * 0) j = 2 (2 + 1 * 0-1 * 0), and as shown in FIG.
Cell # 7 located in the third row and column is in focus.

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

【0431】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 generating the second cell information, the above processing is repeated. As shown in FIG. 89 (b), when the operator presses the ENTER key, the UserDefined_PG
Third cell information CELL # 11A of C # 1, fourth cell information CEL
L # 3A is generated. Thereafter, it is assumed that the operator has pressed the stop key at the time when the process proceeds to step S203. Then, the End_Flag indicating that the stop key has been pressed becomes "1", and the routine goes to Step S213. By pressing the above stop key, the editing hierarchy control unit 26 is user-defined.
It is considered that the definition of PGC information # 1 has been completed. Step S
At 213, the operator is asked whether to define 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.

【0432】このような処理が繰り返し行われて、図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情報テーブ
ル、タイトルサーチポインタの内容を示す図である。
[0432] Such a process is repeatedly performed, and FIG.
As shown in FIG. 1, user-defined PGC information # 2 including CELL # 2B, CELL # 4B, CELL # 10B, and CELL # 5B is defined, and CELL # 3C, CELL # 6.
It is assumed that 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 the temporary editing.

【0433】この状態で終了キーが押下されると、図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ディレクトリィに書き込ませるよう、ファイルシステ
ムコマンドを発行する。
When the end key is pressed in this state, the state shown in FIG.
In step S215 shown in FIG. 1, the interactive screen shown in FIG. 90 is displayed, and the user-defined PG is displayed by pressing the up key and the down key.
The user waits for selection of C information, waits for designation of a preview by pressing a play key, waits for designation of a main edit by pressing a main edit key, and waits for recording of a user-defined PGC information table. When the operation for recording the user-defined PGC is performed, the user-defined PGC information table including the new user-defined PGC information generated in the PGC information table work area 24 is stored in the RTR.
The RTRW management file is transferred to the W management file work area 24, and is written to a portion corresponding to the user-defined PGC information table in the RTRW management file read out to 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. When the writing of the user-defined PGC information table and the addition of the title search pointer have been completed, the RTRW management file stored in the RTRW management file work area 24 is deleted.
Issue a file system command to write to the RW directory.

【0434】図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 when previewing the VOB connection work will be described below with reference to this flowchart. FIGS. 92 and 93 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.

【0435】図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にそれぞれ代入する。
Step S22 in the flowchart of FIG.
At 0, the head number in the user-defined PGC information table is substituted for the variable j, and at step S221, key operation wait is started. When a key operation is performed, step S
At 222, the flag corresponding to the pressed key among the flags assigned to each key is set to “1”. In step S223, it is determined whether or not Play_Flag, which is a flag indicating that the play key has been pressed, is 1;
In step 4, it is determined whether the flag indicating that the main edit key has been pressed and the main edit_Flag are “1”. If any of these flags is “0”, in step S225, Down_Fla, which is a flag group indicating that the up / down key has been pressed.
The calculation shown in the following equation is performed using g and Upper_Flag, and the calculation result is substituted for a variable j.

【0436】 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 upper key is pressed and Upper_Flag becomes “1”, the variable j
Is decremented. Also, the down key is pressed and Down_F
When lag becomes “1”, the variable j is incremented.
After the variable j has been updated in this way, step S22
In FIG. 6, the graphic corresponding to the PGC information located on the j-th line is set to the focus display, and in step S227, all the flags assigned to the remote controller 71 are cleared to zero, and the process proceeds to step S221 to wait for a key operation again. . By repeating the processing of steps S221 to S227, the figures corresponding to the preceding and following user-defined PGC information are brought into a focus state in response to pressing of a key on the remote controller 71.

【0437】以上の処理が繰り返されている間、何れか
のユーザ定義PGC情報がフォーカス状態に設定された状
態で再生キーが押下されると、Play_Flagが1となり、ス
テップS223がYesとなってステップS228に移行
する。ステップS228では、タイトル再生制御部23
に、ユーザ定義PGCのうち操作者により指定されたPGCに
従ってVOBを再生するよう指示する。操作者により指定
されたPGCがユーザ定義PGCである場合、ユーザ定義PGC
に含まれているセルは、少なくとも一本のVOBにおける
複数の部分区間から、任意の順序で選ばれたものであ
り、このような再生は、第1実施形態、第2実施形態に
示したシームレス再生に必要な条件を満たしていないの
で、セル間では映像表示や音声出力の途切れが発生す
る。しかし複数シーンの連結をプレビューさせるという
目的は一応は達成されているといえる。
If the playback key is pressed while any of the user-defined PGC information is set to the focus state while the above processing is repeated, Play_Flag becomes 1 and step S223 becomes Yes and step S223 becomes Yes. The process moves to S228. In step S228, the title playback control unit 23
Is instructed to reproduce the VOB according to the PGC specified by the operator among the user-defined PGCs. If the PGC specified by the operator is a user-defined PGC, the user-defined PGC
Are selected in an arbitrary order from a plurality of partial sections in at least one VOB, and such reproduction is performed seamlessly as described in the first embodiment and the second embodiment. Since the conditions necessary 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 a plurality of scenes has been achieved.

【0438】(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 and Main Editing of Hierarchical Editing The operation at the time of VOB connection in the main editing will be described below. FIG. 94 is a diagram showing the relationship between a manual operation on the remote controller 71 and a display process performed in accordance with the manual operation. When the operator presses the up key as shown in FIG. 94 (b), the cell # 1A becomes the focus, and the interactive screen shown in FIG. 94 (a) is displayed on the television receiver 72. In this state, FIG.
When the main edit key is pressed as shown in FIG.
_Flag becomes “1”, and step S224 in FIG.
Thus, the processing from step S8 to step S16 in the flowchart of FIG. 43 shown in the third embodiment is performed.

【0439】第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 the processing of the third embodiment, the flow shifts to step S237 in FIG. After setting the variable n to 1 in step S237, in step S238
Defined_PGC # m.Original_PGC # that was the origin of CELL # n
j.CELL # k is searched, and in step S239 Original
It is determined whether or not _PGC # j exists. If there is, Original_PGC # j is deleted in step S240, and UserDefined_PGC # q that originally generated Original_PGC # j is searched in step S241. In step S242, it is determined whether at least one or more UserDefined_PGC # q exists, and in step S243, UserDefined_PGC # q
Is deleted. In step S244, it is determined whether or not the variable n is the last number of the cell information. If not, the process proceeds to step S245, and step S245 is performed.
, The variable n is updated to the next cell information in the PGC information #m, and the flow shifts to step S238. Step S above
The loop processing consisting of step 238 to step S245
This is repeated until n becomes the last number of the cell information in the PGC information #q.

【0440】ユーザ定義PGC情報#1により部分区間が指
定されたのはVOB#1、VOB#2、VOB#3の全てであり、これ
らが本編集の対象となったことがわかる。ユーザ定義PG
C情報#1に含まれているセル情報の生成元であるオリジ
ナルPGC情報は、指定先となるVOBが本編集の対象となっ
たので、全て削除されることになる。そのオリジナルPG
C情報を生成元としていたユーザ定義PGC情報も、指定先
となるVOBが本編集の対象となったので、全て削除され
ることになる。
[0440] It is found that VOB # 1, VOB # 2, and VOB # 3 are all designated as the partial sections by the user-defined PGC information # 1, and that 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 completely deleted because the VOB that is the designated destination has been subjected to the main editing. The original PG
All the user-defined PGC information from which the C information was generated is also deleted because the VOB as the designated destination has been subjected to the main editing.

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

【0442】図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 an original PGC associated with the main editing.
Information-PGC after deletion process of user-defined PGC information
FIG. 4 is a diagram illustrating an example of an information table and a title search pointer. Since VOB # 1, VOB # 2, and VOB # 3 whose partial sections were specified by the user-defined PGC information # 1 were subject to the main editing, the original PGC information # 1 and the original PGC that specified these partial sections 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 You can see that.

【0443】以上のようにして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.

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

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

【0446】相異なる再生順序を有するユーザ定義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 information from a plurality of candidates. As a result of the narrowing down, the one that has been played particularly satisfactorily is selected as the target of the main editing, and the VOB is processed according to the user-defined PGC information narrowed down from a plurality of candidates, so the VOB already recorded on the optical disk is It is a bold video editing that rewrites directly, and even if the original VOB disappears from the optical disk, this will not be regretted.

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

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

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

【0450】[0450]

【発明の効果】以上説明してきたように本発明によれ
ば、複数のゾーン領域を有し、何れかのゾーン領域に
は、ビデオデータを格納した少なくとも1つのファイル
が複数のセグメントに分割された状態で記録されている
光ディスクを対象としたビデオデータ編集装置であっ
て、分割されたセグメントのうち、その記録領域の連続
長が所定長に満たない第1セグメントを検出する検出手
段と、第1セグメント及び当該セグメントの直前又は直
後に再生されるべき第2セグメントの連結対象部分の一
方又は両方をゾーン領域間の境界を跨がない位置に移動
することにより検出された第1セグメントと、第2セグ
メントの少なくとも一部との連続長が所定長を上回るよ
うに連結する連結手段とを備えるものにより達成され
る。
As described above, according to the present invention, a plurality of zone areas are provided, and at least one file storing video data is divided into a plurality of segments in any one of the zone areas. A video data editing apparatus for an optical disc recorded in a state, wherein a detecting means for detecting a first segment having a continuous length of a recording area less than a predetermined length among divided segments; A first segment detected by moving one or both of a segment and a portion to be connected of a second segment to be reproduced immediately before or immediately after the segment to a position that does not straddle a boundary between zone areas; Connecting means for connecting so that a continuous length with at least a part of the segment exceeds a predetermined length.

【0451】本装置によれば、AVファイルの断片化を解
消でき、そのAVファイルに収録される映像音響データの
連続的な再生を行わせることができる。ここで前記連結
手段は、検出手段により第1セグメントが検出される
と、第1セグメントの記録領域に後続する空き領域又は
先行する空き領域の連続長を測定する第1測定部と、第
2セグメントの記録領域に先行する空き領域又は後続す
る空き領域の連続長を測定する第2測定部と、第1測定
部により測定された空き領域の連続長が第2セグメント
のデータサイズを上回るか否かを判定する第1判定部
と、第1測定部により測定された連続長が第2セグメン
トの連続長を上回ると判定された場合、その連続長の空
き領域に第2セグメントを移動する第1移動部と、第1
測定部により測定された空き領域の連続長が下回ると判
定された場合、第2測定部により測定された空き領域の
連続長が第1セグメントの連続長を上回るか否かを判定
する第2判定部と、第2測定部により測定された連続長
が第1セグメントの連続長を上回ると判定された場合、
その連続長の空き領域に第1セグメントを移動する第2
移動部とを備えていてもよい。
According to this apparatus, fragmentation of an AV file can be resolved, and continuous reproduction of video and audio data recorded in the AV file can be performed. Here, when the first segment is detected by the detecting unit, the connecting unit measures a continuation length of a free area following the recording area of the first segment or a preceding free area; A second measuring unit for measuring the continuous length of the free area preceding or following the recording area of the second area, and whether the continuous length of the free area measured by the first measuring unit exceeds the data size of the second segment And a first movement for moving the second segment to an empty area of the continuous length when it is determined that the continuous length measured by the first measurement unit exceeds the continuous length of the second segment. Part and the first
When it is determined that the continuous length of the empty area measured by the measuring unit is shorter than the second determination, it is determined whether the continuous length of the empty region measured by the second measuring unit is longer than the continuous length of the first segment. Part, when it is determined that the continuous length measured by the second measuring unit exceeds the continuous length of the first segment,
The second to move the first segment to the free space of the continuous length
A moving unit may be provided.

【0452】この構成によれば、第1、第2判定部が第
1、第2エクステントに論理ブロック或は後続する空き
領域の連続長と、第1、第2エクステントとの長短判定
を行い、その判定結果に基づいて、何れか一方側のエク
ステントを他方側に移動するので、連続して再生される
べき映像音響データをなるべく記録可能型光ディスク上
の連続領域に記録してゆくことができ、記録領域の利用
効率を向上することができる。
According to this configuration, the first and second determination units determine the length of the continuous length of the logical block or the subsequent free space in the first and second extents and the length of the first and second extents. Based on the determination result, either one of the extents is moved to the other side, so that it is possible to record video and audio data to be continuously reproduced in a continuous area on a recordable optical disc as much as possible, The use efficiency of the recording area can be improved.

【0453】ここで連結手段は、第1、第2測定部によ
り測定された空き領域の連続長が何れも第1セグメン
ト、第2セグメントのデータサイズを下回ると判定され
た場合、連結手段の連結により得られるべきビデオデー
タの合計長Lより大きい連続長を有する空き領域を探索
する探索部と、そのような空き領域がディスク上に見つ
かった場合には、第1セグメント及び第2セグメントを
探索された空き領域に移動する第3移動部とを備えてい
てもよい。
[0453] If the continuous length of the free area measured by the first and second measuring units is determined to be smaller than the data size of the first segment and the second segment, the connecting means connects the connecting means. And a search unit for searching for an empty area having a continuous length greater than the total length L of video data to be obtained by the first and second segments when such an empty area is found on the disk. And a third moving unit that moves to a vacant area.

【0454】このように構成すれば、第1、第2エクス
テントに論理ブロック或は後続する空き領域が他方のエ
クステントを記録できるだけのデータサイズを有してい
ない場合に、別の空き領域に第1、第2エクステントの
両方を移動することができ、論理ブロック或は後続する
空き領域が不充分な場合でも第1エクステントのアンダ
ーフローの解消を図ることができる。
According to this structure, if a logical block or a subsequent free space in the first and second extents does not have a data size enough to record the other extent, the first free space is stored in another free space. , The second extent can be moved, and the underflow of the first extent can be eliminated even when the logical block or the subsequent free area is insufficient.

【0455】ここで前記ビデオデータ編集装置は、探索
部により前記合計長Lより大きい連続長を有する空きブ
ロックが探索された場合、第1セグメントと第2セグメ
ントとの合計長Lが前記所定長の二倍の値Sを下回るか否
かを判定する第3判定部を備え、前記第3移動部は、二
倍値Sを下回る場合、第1セグメント及び第2セグメン
トを探索された空き領域に移動し、前記連結手段は、二
倍値Sを上回る場合、第1セグメントを探索された空き
領域に移動し、その移動先に第2セグメントの一部分を
移動する第4移動部を備えていてもよい。
[0455] Here, in the video data editing apparatus, when the search unit searches for an empty block having a continuous length larger than the total length L, the total length L of the first segment and the second segment is equal to the predetermined length. A third determining unit that determines whether the value is less than a double value S, wherein the third moving unit moves the first segment and the second segment to the searched empty area when the value is less than the double value S; When the value exceeds the double value S, the connecting unit may include a fourth moving unit that moves the first segment to the searched empty area and moves a part of the second segment to the moving destination. .

【0456】本装置によれば、第3判定部が第1エクス
テントと第2エクステントとの合計長Lが所定長の二倍
値Sを上回るか否かを判定し、書き込みデータサイズの
総量が2AVブロック長以上なら、第4移動部は記録済み
AVファイルの移動量をより少なくするように移動量を制
限するので、書き込みデータサイズの総量が所定長の二
倍値S未満になることが保証され、これにより断片化の
解消を短期間に完遂することができる。
According to the present apparatus, the third determination section determines whether or not the total length L of the first extent and the second extent exceeds a double value S of the predetermined length, and determines that the total amount of the write data size is 2AV. If the length is longer than the block length, the fourth moving part is recorded
Limiting the amount of movement of the AV file to a smaller amount guarantees that the total amount of data to be written will be less than the double value S of the specified length, thereby eliminating fragmentation in a short time. can do.

【0457】ここでビデオデータ編集装置は、編集操作
のためにビデオデータ編集装置へと読み出されたビデオ
データの一区間を再度エンコードして得られた再エンコ
ード済みデータを保持する保持手段を備え、連結手段
は、第1測定部が測定した空き領域の連続長が第2セグ
メントのデータサイズを上回ると判定された場合、前記
第1セグメントは、光ディスクに本来記録されていたビ
デオデータから編集操作のためにビデオデータ編集装置
へと読み出された一区間を差し引いた残りの部分である
か否かを判定する第4判定部と、第1セグメントとが残
りの部分である場合、当該空き領域に保持手段により保
持されている再エンコードデータを記録する第1記録部
とを備え、第1移動部は第2セグメントを再エンコード
データが記録された記録領域の直後に移動してもよい。
Here, the video data editing device is provided with holding means for holding re-encoded data obtained by re-encoding a section of video data read out to the video data editing device for editing operation. The connecting means, if it is determined that the continuous length of the empty area measured by the first measuring section exceeds the data size of the second segment, the first segment is edited from video data originally recorded on the optical disc. A fourth determination unit that determines whether or not the remaining portion is obtained by subtracting one section read out to the video data editing apparatus for the above-mentioned process. And a first recording unit that records the re-encoded data held by the holding unit, and the first moving unit records the re-encoded data on the second segment. It may be moved to immediately after the recording area.

【0458】本装置によれば、複数AVファイルに対して
任意の編集を操作者が行った結果、連続長が短い再エン
コードデータを記録する必要が生じたとしても、そのよ
うな連続長が短い再エンコードデータが、その前後に再
生されるべき映像音響データと連結するような記録位置
を選んで記録するので、再エンコードデータが断片的に
記録されるのを未然に防止でき、そのAVファイルに収録
される映像音響データの連続的な再生を行わせることが
できる。
According to the present apparatus, even if it becomes necessary to record re-encoded data having a short continuous length as a result of the operator performing arbitrary editing on a plurality of AV files, such a continuous length is short. Since the re-encoded data is recorded by selecting a recording position where it is linked to the audiovisual data to be reproduced before and after it, it is possible to prevent the re-encoded data from being fragmentarily recorded beforehand, and Continuous reproduction of recorded audiovisual data can be performed.

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

【図1】 本発明の実施形態における記録可能な光ディ
スクであるDVD-RAMディスクの外観を示す図である。
FIG. 1 is a diagram showing an 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) A diagram showing a cross section and a surface of the DVD-RAM cut out at a sector level.

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

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

【図5】(a) 表示順序に配置された複数のピクチャ
データと、符号化順序に配置された複数のピクチャデー
タを示す図である。 (b) オーディオフレームとオーディオデータとの対
応を示す図である。
FIG. 5A is a diagram showing a plurality of picture data arranged in a display order and a plurality of picture data arranged in an encoding order. (B) is a diagram showing the correspondence between audio frames 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 a logical format of a data structure of a VOB is detailed in a stepwise manner. (B) FIG. 6B is a diagram showing an example of a state in which a VOB is partially deleted. FIG. 4C is a diagram showing a logical format of a video pack arranged at the head of the VOBU. (D) is a diagram illustrating a logical format of a video pack arranged at a position other than the head in the VOBU. (E) is a diagram showing a logical format of an audio pack. (F) A diagram showing the logical format of the pack header. (G) is a diagram showing a logical format of a system header. (H) is a diagram showing a logical format of a packet header.

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

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

【図9】 複数オーディオフレームにて再生されるべき
オーディオデータを格納したオーディオパックと、各ビ
デオフレームにて再生されるべきピクチャデータを格納
したビデオパックとをどのように格納すればよいかを示
す図である。
FIG. 9 shows how 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 should be stored. FIG.

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

【図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. 11A shows a video pack S included in a VOB.
This is a graph in which CRs are plotted and drawn in the video pack arrangement order. FIG. 9B is a diagram illustrating an example in which the initial value of the SCR in the section B matches the final value of the SCR in the section A. (C) An example in which the initial value of the SCR in the section C is higher than the final value of the straight line indicating the SCR in the section D. FIG. 10D is a diagram illustrating an example in which the end value of the SCR in the section E is higher than the initial value of the straight line indicating the SCR in the section F. FIG. 12E is a diagram illustrating a graph indicating the continuity of the time stamp shown in FIG. 11A for two VOBs.

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

【図13】 バッファ占有量を前部VOB−後部VOB毎に表
したグラフである。
FIG. 13 is a graph showing the buffer occupancy for each of the front VOB and the 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 illustrates an example of a video frame and an audio frame. (B) A diagram showing a state in which a time difference g1 appears at the end of the picture data and audio data because the reproduction time of the picture data and the reproduction time of the audio data are aligned at the leading end of the VOB. (C) An audio pack G3 including an audio gap including audio data y-2, y-1, y and a padding-packet located at the end of VOB # 1 shown in FIG. Audio data u, u + located at the tip of VOB # 2
FIG. 9 is a diagram showing an audio pack G4 including 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 an explanatory view showing that it is arranged in any one of.

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

【図16】 本実施形態におけるビデオデータ編集装置
を用いたシステムの構成例を示す図である。
FIG. 16 is a diagram illustrating 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 illustrating a hardware configuration of the DVD recorder 70.

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

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

【図20】 スイッチSW1〜スイッチSW4の切り換えタイ
ミングを示すタイミングチャートである。
FIG. 20 is a timing chart showing switching timing of 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から読み出
されるべき読出範囲を示す図である。
FIGS. 23A and 23B are explanatory diagrams showing a state of analyzing a buffer state based on each audio pack. (C) is a diagram showing a read range to be read from the front VOB in step S106. (D) is a diagram showing a read range to be read from the rear 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のオーディオフレーム境界が一致する場合を示す図で
ある。
24A is a diagram showing which audio frame of the audio stream corresponds to the audio frames x, x + 1, y, u, u + 1, u + 2 used in FIG. 22. FIG. (B) A diagram showing a case where FIRST_SCR + STC_offset matches the audio frame boundary of the front VOB. . (C) A diagram illustrating a case where the video playback start time VOB_V_S_PTM + STC_offset matches the audio frame boundary of the front VOB. (D) The playback end time of the audio frame y and the rear V
FIG. 14 is a diagram illustrating a case where audio frame boundaries of OBs coincide.

【図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 is a diagram illustrating an example of a VOB partial section 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 a front cell in step S106. (B) is a diagram showing a read range to be read from the rear cell in step S107.

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

【図29】(a) 前部セルのピクチャタイプ変更時に
おける処理手順を示す図である。 (b) 前部セルのピクチャタイプ変更に伴うバッファ
占有量の増加量βを予測する手順を示す説明図である。
FIG. 29A is a diagram illustrating a processing procedure when a picture type of a front cell is changed. (B) is an explanatory diagram showing a procedure for estimating an increase amount β of the buffer occupancy due to a change in the picture type of the front cell.

【図30】(a) 後部セルのピクチャタイプ変更時に
おける処理手順を示す図である。 (b) 後部セルのピクチャタイプ変更に伴うバッファ
占有量の増加量αを予測する手順を示す説明図である。
FIG. 30 (a) is a diagram illustrating a processing procedure when a picture type of a rear cell is changed. (B) is an explanatory diagram showing a procedure for estimating an increase amount α of the buffer occupancy due to a change in the picture type of a rear 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 corresponds to the audio frame x, x + 1, y used in the flowchart of FIG. 31.

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

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

【図37】 図6の矢線が示すリンク関係をディレクト
リ構造に沿って示した図である。
FIG. 37 is a diagram showing a link relationship indicated by an arrow 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. FIG. 4B is a diagram illustrating a data structure of an allocation descriptor. (C) is a diagram illustrating a recording state of upper two bits of data indicating an extent length.

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

【図40】 DVD-RAMから読み出されたAVデータがトラ
ックバッファにバッファリングされる様子をモデル化し
た図である。
FIG. 40 is a diagram modeling the manner in which 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 a DVD recorder 70 by function.

【図42】録画・編集・再生制御部12の制御下において
テレビ受像機72に表示される対話画面の一例を示す図
である。
42 is a diagram illustrating 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 a processing 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. 9 is an explanatory diagram for supplementarily explaining a process of the AV data editing unit 15;

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

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

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

【図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 the "SPLIT" command is executed. (B) is a flowchart showing the processing content when a SHORTEN command is issued.

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

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

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

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

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

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

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

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

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

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

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

【図60】先行エクステント、後続エクステントが共に
AVブロック長未満の場合についての処理内容を示すフロ
ーチャートである。
FIG. 60: Both preceding and succeeding extents
It is a flowchart which shows the processing content about the case of less than AV block length.

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

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

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

【図65】先行エクステント,後続エクステントがAVブ
ロック長以上の長さを持つ場合のフロ−チャ−トであ
る。
FIG. 65 is a flowchart in a case where a preceding extent and a 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 flowchart of FIG. 65;
FIG. 4 is an explanatory diagram for supplementarily describing the processing of the AV file system unit 11.

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

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

【図69】(a)〜(d)断片化解消部16による処理
内容を補足説明するための説明図である。
69 (a) to (d) are explanatory diagrams for supplementarily explaining the processing contents 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 recording contents of an RTRW management file in the fourth embodiment are detailed in a stepwise manner. (B) It is a figure showing the logical format of original PGC information in a 4th embodiment. FIG. 14C is a diagram showing a logical format of user-defined PGC information in the fourth embodiment. (D) is a diagram showing a logical format of a title search pointer.

【図71】AVファイル、エクステント、VOB、VOB情報、
オリジナルPGC情報、ユーザ定義PGC情報間の相互関係を
示し、これらのうち一体性があるものを太線の枠内に配
した図である。
[FIG. 71] AV file, extent, VOB, VOB information,
FIG. 4 is a diagram showing a mutual relationship between original PGC information and user-defined PGC information, and those having a unity among them are arranged in a bold 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 in 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 editing 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の構成を機能別に示した機
能ブロック図である。
FIG. 75 is a functional block diagram showing the configuration of a DVD recorder 70 by function.

【図76】AVファイルの記録時点において、オリジナル
PGC情報ゼネレータ25により生成されたオリジナルPGC
情報の一例である。
FIG. 76 shows an original at the time of recording an 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 illustrating an example of graphics data displayed on the television receiver 72 under the control of the recording / editing / playback control unit 12. FIG. (B) is a diagram showing PGC information and cell information listed as operation targets.

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

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

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

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

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

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

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

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

【図86】(a)(b)リモコン71に対しての手操作
と、その手操作に伴って行われる表示処理との関連を示
す図である。
86 (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.

【図87】(a)〜(d)リモコン71に対しての手操
作と、その手操作に伴って行われる表示処理との関連を
示す図である。
FIGS. 87 (a) to 87 (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 (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.

【図89】(a)(b)リモコン71に対しての手操作
と、その手操作に伴って行われる表示処理との関連を示
す図である。
FIGS. 89A and 89B 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 is an example of an interactive screen when waiting for selection of user-defined PGC information, waiting for designation of a preview by pressing a play key, and waiting for designation of main editing by pressing a 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 including CELL # 2B, CELL # 4B, CELL # 10B, and CELL # 5B is defined, and CELL # 3C, CELL # 6C, CEL
FIG. 11 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に対しての手操
作と、その手操作に伴って行われる表示処理との関連を
示す図である。
FIGS. 92A and 92B 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に対しての手操
作と、その手操作に伴って行われる表示処理との関連を
示す図である。
FIGS. 93A to 93C 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の操作とその操
作に行われる表示処理との関連を示す図である。
94 (a) to (c) 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 is a diagram showing an original PGC information table and a user-defined PGC information table after VOB processing in main editing is completed.

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

【符号の説明】 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 編集階層化制御部[Description of Signs] 1 control unit 2 MPEG encoder 3 disk access unit 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 reorder buffer 4g STC 4h Adder 4k Decoder control unit 5 Video signal processing unit 10 Common file system unit 11 AV file system unit 12 Recording / editing / playback control unit 13 AV data recording unit 14 AV data playback unit 15 AV data editing unit 16 Fragmentation removal unit 22 Title Recording Control Unit 23 Title Playback Control Unit 24 RTRW Management File Work Area 25 User Defined PGC Information Generator 26 Editing Hierarchical Control Unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森田 光秋 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 榎 信行 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5C052 AA02 AB03 AB04 AC08 CC11 CC12 CC20 DD04 DD06 EE06 5C053 FA06 FA14 FA25 GA16 GB01 GB06 GB08 GB11 GB12 GB15 GB21 GB37 GB38 GB40 HA29 JA22 JA23 KA01 KA05 KA22 LA11 5D044 AB05 AB07 BC06 CC04 DE03 DE40 HL14  ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Mitsuaki Morita 1006 Kazuma Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Inventor Nobuyuki Eno 1006 Kadoma Kadoma Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd. F-term (Reference) 5C052 AA02 AB03 AB04 AC08 CC11 CC12 CC20 DD04 DD06 EE06 5C053 FA06 FA14 FA25 GA16 GB01 GB06 GB08 GB11 GB12 GB15 GB21 GB37 GB38 GB40 HA29 JA22 JA23 KA01 KA05 KA22 LA11 5D044 AB05 AB07 BC06 CC04 DE03

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 光ディスクを対象としたビデオデータ編
集装置であって、 光ディスクは、複数のゾーン領域を有し、何れかのゾー
ン領域には、ビデオデータを格納した少なくとも1つの
ファイルが複数のセグメントに分割された状態で記録さ
れており、 前記ビデオデータ編集装置は、 分割されたセグメントのうち、その記録領域の連続長が
所定長に満たない第1セグメントを検出する検出手段
と、 第1セグメント及び当該セグメントの直前又は直後に再
生されるべき第2セグメントの連結対象部分の一方又は
両方をゾーン領域間の境界を跨がない位置に移動するこ
とにより、 検出された第1セグメントと、第2セグメントの少なく
とも一部との連続長が所定長を上回るように連結する連
結手段とを備えることを特徴とするビデオデータ編集装
置。
1. A video data editing apparatus for an optical disc, wherein the optical disc has a plurality of zone areas, and at least one file storing video data includes a plurality of segment areas in any one of the zone areas. Wherein the video data editing apparatus comprises: a detecting means for detecting, among the divided segments, a first segment in which the continuous length of the recording area is less than a predetermined length; And moving one or both of the connection target portions of the second segment to be reproduced immediately before or immediately after the segment to a position that does not straddle the boundary between the zone areas. Connecting means for connecting so that the continuous length with at least a part of the segment exceeds a predetermined length. Place.
【請求項2】 前記連結手段は、 検出手段により第1セグメントが検出されると、第1セ
グメントの記録領域に後続する空き領域又は先行する空
き領域の連続長を測定する第1測定部と、 第2セグメントの記録領域に先行する空き領域又は後続
する空き領域の連続長を測定する第2測定部と、 第1測定部により測定された空き領域の連続長が第2セ
グメントのデータサイズを上回るか否かを判定する第1
判定部と、 第1測定部により測定された連続長が第2セグメントの
連続長を上回ると判定された場合、その連続長の空き領
域に第2セグメントを移動する第1移動部と、 第1測定部により測定された空き領域の連続長が下回る
と判定された場合、第2測定部により測定された空き領
域の連続長が第1セグメントの連続長を上回るか否かを
判定する第2判定部と、 第2測定部により測定された連続長が第1セグメントの
連続長を上回ると判定された場合、その連続長の空き領
域に第1セグメントを移動する第2移動部とを備えるこ
とを特徴とする請求項1記載のビデオデータ編集装置。
A first measuring unit for measuring a continuous length of a free area following the recording area of the first segment or a preceding free area when the detecting means detects the first segment; A second measuring unit for measuring a continuous length of a free area preceding or following the recording area of the second segment; and a continuous length of the free area measured by the first measuring unit exceeds a data size of the second segment. The first to determine whether or not
A determining unit, a first moving unit that moves the second segment to an empty area of the continuous length when it is determined that the continuous length measured by the first measuring unit exceeds the continuous length of the second segment; When it is determined that the continuous length of the empty area measured by the measuring unit is shorter than the second determination, it is determined whether the continuous length of the empty region measured by the second measuring unit is longer than the continuous length of the first segment. And a second moving unit that, when it is determined that the continuous length measured by the second measuring unit exceeds the continuous length of the first segment, moves the first segment to an empty area of the continuous length. The video data editing apparatus according to claim 1, wherein
【請求項3】 前記連結手段は、 第1、第2測定部により測定された空き領域の連続長が
何れも第1セグメント、第2セグメントのデータサイズ
を下回ると判定された場合、連結手段の連結により得ら
れるべきビデオデータの合計長Lより大きい連続長を有
する空き領域を探索する探索部と、 そのような空き領域がディスク上に見つかった場合に
は、第1セグメント及び第2セグメントを探索された空
き領域に移動する第3移動部とを備えることを特徴とす
る請求項2記載のビデオデータ編集装置。
3. The connecting means, when it is determined that the continuous length of the empty area measured by the first and second measuring units is smaller than the data size of the first segment and the second segment, respectively. A search section for searching for an empty area having a continuous length greater than the total length L of video data to be obtained by concatenation, and searching for a first segment and a second segment when such an empty area is found on a disk 3. The video data editing apparatus according to claim 2, further comprising: a third moving unit that moves to a designated empty area.
【請求項4】 前記ビデオデータ編集装置は、 探索部により前記合計長Lより大きい連続長を有する空
きブロックが探索された場合、第1セグメントと第2セ
グメントとの合計長Lが前記所定長の二倍の値Sを下回る
か否かを判定する第3判定部を備え、 前記第3移動部は、 二倍値Sを下回る場合、第1セグメント及び第2セグメ
ントを探索された空き領域に移動し、 前記連結手段は、 二倍値Sを上回る場合、第1セグメントを探索された空
き領域に移動し、その移動先に第2セグメントの一部分
を移動する第4移動部とを備えることを特徴とする請求
項3記載のビデオデータ編集装置。
4. The video data editing apparatus according to claim 1, wherein when the search unit searches for an empty block having a continuous length greater than the total length L, the total length L of the first segment and the second segment is equal to the predetermined length. A third determining unit that determines whether the value is less than a double value S, wherein the third moving unit moves the first segment and the second segment to the searched empty area when the value is less than the double value S; And a fourth moving unit that moves the first segment to the searched empty area when the value exceeds the double value S, and moves a part of the second segment to the moving destination. The video data editing apparatus according to claim 3, wherein
【請求項5】 前記ビデオデータ編集装置は、 編集操作のためにビデオデータ編集装置へと読み出され
たビデオデータの一区間を再度エンコードして得られた
再エンコード済みデータを保持する保持手段を備え、 前記連結手段は、 第1測定部が測定した空き領域の連続長が第2セグメン
トのデータサイズを上回ると判定された場合、前記第1
セグメントは、光ディスクに本来記録されていたビデオ
データから編集操作のためにビデオデータ編集装置へと
読み出された一区間を差し引いた残りの部分であるか否
かを判定する第4判定部と、 第1セグメントが残りの部分である場合、当該空き領域
に保持手段により保持されている再エンコードデータを
記録する第1記録部とを備え、 前記第1移動部は第2セグメントを再エンコードデータ
が記録された記録領域の直後に移動することを特徴とす
る請求項2記載のビデオデータ編集装置。
5. A video data editing apparatus, comprising: holding means for holding re-encoded data obtained by re-encoding a section of video data read out to the video data editing apparatus for an editing operation. The connection means, when it is determined that the continuous length of the free space measured by the first measurement unit exceeds the data size of the second segment,
A fourth determination unit that determines whether the segment is a remaining portion obtained by subtracting one section read from the video data originally recorded on the optical disc to the video data editing device for the editing operation, A first recording unit for recording the re-encoded data held by the holding unit in the empty area when the first segment is the remaining portion, wherein the first moving unit stores the re-encoded data in the second segment; 3. The video data editing apparatus according to claim 2, wherein the video data editing apparatus moves immediately after a recorded area.
【請求項6】 前記ビデオデータ編集装置は、 第2測定部が測定した空き領域の連続長が第1セグメン
トのデータサイズを上回ると判定され、第1セグメント
が残りの部分である場合、第2移動部により移動された
第1セグメントの記録領域の直後に保持手段により保持
されている再エンコードデータを記録する第2記録部を
備えることを特徴とする請求項5記載のビデオデータ編
集装置。
6. The video data editing apparatus according to claim 1, wherein the continuous length of the free space measured by the second measuring unit is determined to be larger than the data size of the first segment, and the second segment is determined if the first segment is the remaining portion. 6. The video data editing apparatus according to claim 5, further comprising a second recording unit that records the re-encoded data held by the holding unit immediately after the recording area of the first segment moved by the moving unit.
【請求項7】 光ディスクについてのビデオデータ編集
装置であって、 光ディスクは、複数のゾーン領域を有し、何れかのゾー
ン領域には、ビデオデータを格納した少なくとも1つの
ファイルが複数のセグメントに分割された状態で記録さ
れており、 前記ビデオデータ編集装置は複数のセグメントのうち、
何れか一つのものの直後に再生されるべきビデオデータ
であり、且つ別の一つのものの直前に再生されるべきビ
デオデータである記録対象データを保持する保持手段
と、 記録対象データの書込指示を受け付ける受付手段と、 書込指示を受け付けると、当該記録対象データの直前に
再生されるべきセグメントの占有領域に後続する後続空
き領域であって、同一ゾーン領域に存在するものの連続
長を測定する第1測定手段と、 当該記録対象データの直後に再生されるべきセグメント
の占有領域に先行する先行空き領域であって、同一ゾー
ン領域内に存在するものの連続長を測定する第2測定手
段と、 第1、第2測定手段により測定された連続長に基づい
て、光ディスクにおいて記録対象データを記録する記録
手段とを備えることを特徴とするビデオデータ編集装
置。
7. A video data editing apparatus for an optical disk, wherein the optical disk has a plurality of zone areas, and at least one file storing video data is divided into a plurality of segments in any one of the zone areas. The video data editing device is recorded in a state in which
Holding means for holding recording target data which is video data to be reproduced immediately after any one of the video data and video data to be reproduced immediately before another one; Receiving means for receiving, and upon receiving a write instruction, measuring a continuous length of a succeeding free area following the occupied area of the segment to be reproduced immediately before the recording target data and existing in the same zone area. (I) a second measuring means for measuring a continuous length of a preceding empty area which precedes an occupied area of a segment to be reproduced immediately after the recording target data and which is present in the same zone area; Recording means for recording data to be recorded on an optical disk based on the continuous length measured by the first and second measuring means; Video data editing device.
【請求項8】 前記記録手段は、 後続空き領域及び先行空き領域のうち、第1、第2測定
手段により測定された連続長が記録対象データのデータ
サイズを上回るものを判定する第1判定部と、 判定された先行空き領域及び後続空き領域の一方側に、
記録対象データを記録する第1記録部とを備えることを
特徴とする請求項7記載のビデオデータ編集装置。
8. A first judging unit for judging, of the succeeding free area and the preceding free area, a continuous length measured by the first and second measuring means exceeds a data size of data to be recorded. And on one side of the determined preceding free area and the succeeding free area,
The video data editing apparatus according to claim 7, further comprising a first recording unit that records data to be recorded.
【請求項9】 前記記録手段は、 後続空き領域と、及び、先行空き領域の何れの連続長も
記録対象データのデータサイズを下回る場合、前記2つ
の空き領域の合計長L1が記録対象データを上回るか否か
を判定する第2判定部と、 上回る場合、記録対象データを分割して、分割されたそ
れぞれを後続空き領域と、先行空き領域とに記録する第
2記録部とを備えることを特徴とする請求項8記載のビ
デオデータ編集装置。
9. When the continuous length of the succeeding free area and the preceding free area is smaller than the data size of the data to be recorded, the total length L1 of the two free areas is determined by the recording means. A second determination unit that determines whether the data is larger than the data; and, if the data is larger, a second recording unit that divides the data to be recorded and records each of the divided data in a succeeding free space and a preceding free space. 9. The video data editing device according to claim 8, wherein:
【請求項10】 前記記録手段は、 前記先行空き領域と、後続空き領域の合計長L1が記録対
象データを下回る場合、所定の上限値の連続長を有する
空き領域を探索する探索部と、 空き領域が探索されると、当該記録対象データの直前に
再生されるべきセグメント、及び、当該記録対象データ
の直後に再生されるべきセグメントのうち、記録対象デ
ータとの合計長L2が所定の上限値を下回るものを判定す
る第3判定部と、 第3判定部が下回ると判定したセグメントを探索された
空き領域に移動する第1移動部と、 セグメントの移動先に、記録対象データを記録する第3
記録部とを備えることを特徴とする請求項9記載のビデ
オデータ編集装置。
10. A search unit for searching for a free area having a continuous length of a predetermined upper limit when the total length L1 of the preceding free area and the subsequent free area is smaller than the data to be recorded. When the area is searched, the total length L2 of the segment to be reproduced immediately before the recording target data and the segment to be reproduced immediately after the recording target data and the recording target data is a predetermined upper limit value. A third determining unit for determining a value below the predetermined value, a first moving unit for moving a segment determined to be lower than the third determining unit to the searched empty area, and a third determining unit for recording recording target data at a destination of the segment. 3
The video data editing device according to claim 9, further comprising a recording unit.
【請求項11】 前記記録手段は、 先行空き領域と、後続空き領域の合計長L1が記録対象デ
ータを下回り、尚且つ記録対象データの直前、及び、直
後に再生されるべきセグメントと記録対象データとの合
計長L2が上限値を上回る場合、 所定長から記録対象データのデータサイズを差し引いた
差分量を当該記録対象データの直前、直後に再生される
べきセグメントから取得して、探索された空き領域に移
動する第2移動部と、 その移動先に、記録対象データを記録する第4記録部と
を備えることを特徴とする請求項10記載のビデオデー
タ編集装置。
11. The recording device according to claim 1, wherein the total length L1 of the preceding free area and the subsequent free area is smaller than the data to be recorded, and the segments to be reproduced immediately before and immediately after the data to be recorded are If the total length L2 exceeds the upper limit, the difference obtained by subtracting the data size of the recording target data from the predetermined length is obtained from the segment to be reproduced immediately before and immediately after the recording target data, and the searched empty space is obtained. The video data editing apparatus according to claim 10, further comprising: a second moving unit that moves to the area; and a fourth recording unit that records recording target data at the moving destination.
【請求項12】 光ディスクについてのビデオデータ編
集装置であって、 光ディスクには、ビデオデータを格納した少なくとも1
つのファイルが複数のセグメントに分割された状態で記
録されており、 前記ビデオデータ編集装置は分割されたセグメントのう
ち、その記録領域の前後に空き領域を有するものを検出
する検出手段と、 固定ディスク装置と接続され、検出されたセグメントを
読み出して当該ディスクに書き込んで、当該セグメント
のバックアップデータを得るバックアップデータ生成手
段と、 固定ディスク装置上に得られたバックアップデータを、
前記セグメントの記録領域の前後に位置する空き領域に
記録する記録手段とを備えることを特徴とするビデオデ
ータ編集装置。
12. A video data editing apparatus for an optical disc, wherein the optical disc has at least one video data stored therein.
One file is recorded in a state of being divided into a plurality of segments, wherein the video data editing apparatus detects, among the divided segments, one having an empty area before and after the recording area, and a fixed disk A backup data generating unit connected to the device and reading the detected segment and writing the detected segment to the disk to obtain backup data of the segment; and a backup data obtained on the fixed disk device.
A video data editing apparatus, comprising: recording means for recording in an empty area located before and after the recording area of the segment.
【請求項13】 コンピュータが読み取り可能な編集プ
ログラムを記録した記録媒体であって、 前記編集プログラムは、光ディスクを編集対象としてお
り、光ディスクは、複数のゾーン領域を有し、何れかの
ゾーン領域には、ビデオデータを格納した少なくとも1
つのファイルが複数のセグメントに分割された状態で記
録されており、 前記編集プログラムは、 分割されたセグメントのうち、その記録領域の連続長が
所定長に満たない第1セグメントを検出する検出ステッ
プと、 第1セグメント及び当該セグメントの直前又は直後に再
生されるべき第2セグメントの連結対象部分の一方又は
両方をゾーン領域間の境界を跨がない位置に移動するこ
とにより、検出された第1セグメントと、第2セグメン
トの少なくとも一部とを連結して、その連続長が所定長
とする連結ステップとを有することを特徴とする記録媒
体。
13. A recording medium recording an editing program readable by a computer, wherein the editing program is for editing an optical disc, the optical disc has a plurality of zone areas, and any one of the zone areas Has at least one stored video data
One file is recorded in a state of being divided into a plurality of segments, and the editing program detects a first segment in which the continuous length of the recording area is less than a predetermined length among the divided segments; The first segment detected by moving one or both of the first segment and the connection target portion of the second segment to be reproduced immediately before or immediately after the segment to a position not straddling the boundary between the zone areas. And a linking step of linking at least a part of the second segment so that the continuous length is a predetermined length.
【請求項14】 前記連結ステップは、 検出ステップにより第1セグメントが検出されると、第
1セグメントの記録領域に後続する空き領域又は先行す
る空き領域の連続長を測定する第1測定サブステップ
と、 第2セグメントの記録領域に先行する空き領域又は後続
する空き領域の連続長を測定する第2測定サブステップ
と、 第1測定サブステップにより測定された空き領域の連続
長が第2セグメントのデータサイズを上回るか否かを判
定する第1判定サブステップと、 第1測定サブステップにより測定された連続長が第2セ
グメントの連続長を上回ると判定された場合、その連続
長の空き領域に第2セグメントを移動する第1移動サブ
ステップと、 第1測定サブステップにより測定された空き領域の連続
長が下回ると判定された場合、第2測定サブステップに
より測定された空き領域の連続長が第1セグメントの連
続長を上回るか否かを判定する第2判定サブステップ
と、 第2測定サブステップにより測定された連続長が第1セ
グメントの連続長を上回ると判定された場合、その連続
長の空き領域に第1セグメントを移動する第2移動サブ
ステップとを有することを特徴とする請求項13記載の
記録媒体。
14. The connecting step includes: when a first segment is detected by the detecting step, a first measuring sub-step of measuring a continuous length of a free area following a recording area of the first segment or a preceding free area. A second measurement sub-step for measuring the continuous length of a free area preceding or succeeding the recording area of the second segment; and the continuous length of the free area measured by the first measurement sub-step is the data of the second segment. A first determination sub-step for determining whether or not the size exceeds the size; and when it is determined that the continuous length measured by the first measurement sub-step is greater than the continuous length of the second segment, a first area is set in an empty area of the continuous length. A first movement sub-step of moving two segments, and if it is determined that the continuous length of the empty area measured by the first measurement sub-step is shorter, A second determining sub-step for determining whether or not the continuous length of the empty area measured by the measuring sub-step is greater than the continuous length of the first segment; 14. The recording medium according to claim 13, further comprising: a second movement sub-step of moving the first segment to an empty area of the continuous length when it is determined that the continuous length is exceeded.
【請求項15】 前記コンピュータは、 編集操作のために読み出されたビデオデータの一区間を
再度エンコードして得られた再エンコード済みデータを
保持しており、 連結ステップは、 第1測定サブステップが測定した空き領域の連続長が第
2セグメントのデータサイズを上回ると判定された場
合、前記第1セグメントは、光ディスクに本来記録され
ていたビデオデータから編集操作のためにコンピュータ
へと読み出された一区間を差し引いた残りの部分である
か否かを判定する第4判定サブステップと、 第1セグメントが残りの部分である場合、当該空き領域
にコンピュータにより保持されている再エンコードデー
タを記録する第1記録サブステップとを備え、 第1移動サブステップは第2セグメントを再エンコード
データが記録された記録領域の直後に移動することを特
徴とする請求項14記載の記録媒体。
15. The computer according to claim 1, wherein the computer holds re-encoded data obtained by re-encoding a section of the video data read for an editing operation. Is determined to be larger than the data size of the second segment, the first segment is read out from the video data originally recorded on the optical disc to the computer for an editing operation. A fourth determination sub-step of determining whether or not the remaining segment is obtained by subtracting one section; and recording the re-encoded data held by the computer in the empty area when the first segment is the remaining portion. A first recording sub-step of re-encoding the second segment. Recording medium according to claim 14, wherein the moving immediately after the recording region.
JP10263744A 1997-09-17 1998-09-17 Video data editing device and computer readable recording medium for recording editing program Pending JP2000078519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10263744A JP2000078519A (en) 1997-09-17 1998-09-17 Video data editing device and computer readable recording medium for recording editing program

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP25199097 1997-09-17
JP9-251990 1997-09-17
JP10-169616 1998-06-17
JP16961698 1998-06-17
JP10263744A JP2000078519A (en) 1997-09-17 1998-09-17 Video data editing device and computer readable recording medium for recording editing program

Publications (1)

Publication Number Publication Date
JP2000078519A true JP2000078519A (en) 2000-03-14

Family

ID=27323203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10263744A Pending JP2000078519A (en) 1997-09-17 1998-09-17 Video data editing device and computer readable recording medium for recording editing program

Country Status (1)

Country Link
JP (1) JP2000078519A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6839502B2 (en) 2000-06-26 2005-01-04 Matsushita Electric Industrial Co., Ltd. Reproduction apparatus and computer-readable recording medium
US6839504B1 (en) 1999-09-30 2005-01-04 Matsushita Electric Industrial Co., Ltd. Information recording medium and system controller
US7027711B2 (en) 2000-06-26 2006-04-11 Matsushita Electric Industrial Co., Ltd. Editing apparatus for an optical disk, computer-readable storage medium, and computer program
US7062156B2 (en) 2000-06-26 2006-06-13 Matsushita Electric Industrial Co., Ltd. Digital video recording apparatus
US7123818B2 (en) 2000-06-26 2006-10-17 Matsushita Electric Industrial Co., Ltd. Digital video recording apparatus and method
US7649819B2 (en) 2003-02-27 2010-01-19 Lg Electronics Inc. High-density recording medium and method and apparatus for controlling data playback thereof
US7688697B2 (en) 2002-08-22 2010-03-30 Lg Electronics, Inc. High-density optical disc and recording/reproducing method thereof
JP2013051723A (en) * 2012-10-31 2013-03-14 Sony Corp Data storage method
JP2013066194A (en) * 2012-10-31 2013-04-11 Sony Corp Data storage method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7024103B2 (en) 1999-09-30 2006-04-04 Matsushita Electric Industrial Co., Ltd. Information recording medium and system controller
US6839504B1 (en) 1999-09-30 2005-01-04 Matsushita Electric Industrial Co., Ltd. Information recording medium and system controller
US7016597B2 (en) 1999-09-30 2006-03-21 Matsushita Electric Industrial Co., Ltd. Information recording medium and system controller
US7123818B2 (en) 2000-06-26 2006-10-17 Matsushita Electric Industrial Co., Ltd. Digital video recording apparatus and method
US7027711B2 (en) 2000-06-26 2006-04-11 Matsushita Electric Industrial Co., Ltd. Editing apparatus for an optical disk, computer-readable storage medium, and computer program
US7062156B2 (en) 2000-06-26 2006-06-13 Matsushita Electric Industrial Co., Ltd. Digital video recording apparatus
US6839502B2 (en) 2000-06-26 2005-01-04 Matsushita Electric Industrial Co., Ltd. Reproduction apparatus and computer-readable recording medium
US8050540B2 (en) 2000-06-26 2011-11-01 Panasonic Corporation Reproduction apparatus and computer reproduction method
US7688697B2 (en) 2002-08-22 2010-03-30 Lg Electronics, Inc. High-density optical disc and recording/reproducing method thereof
US8331209B2 (en) 2002-08-22 2012-12-11 Lg Electronics Inc. High-density optical disc and recording/reproducing method thereof
US7649819B2 (en) 2003-02-27 2010-01-19 Lg Electronics Inc. High-density recording medium and method and apparatus for controlling data playback thereof
US7978582B2 (en) 2003-02-27 2011-07-12 Lg Electronics Inc. High-density recording medium and method and apparatus for controlling data playback thereof
JP2013051723A (en) * 2012-10-31 2013-03-14 Sony Corp Data storage method
JP2013066194A (en) * 2012-10-31 2013-04-11 Sony Corp Data storage method

Similar Documents

Publication Publication Date Title
JP3050318B2 (en) Optical disk reproducing apparatus and method
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
JPH11176137A (en) Optical disk medium and its recording method and device
JP2000078519A (en) Video data editing device and computer readable recording medium for recording editing program
JP3410695B2 (en) Playback apparatus, playback method, and computer-readable recording medium
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