JP4312783B2 - AV data reproducing method, AV data reproducing apparatus, program, and recording medium - Google Patents

AV data reproducing method, AV data reproducing apparatus, program, and recording medium Download PDF

Info

Publication number
JP4312783B2
JP4312783B2 JP2006277005A JP2006277005A JP4312783B2 JP 4312783 B2 JP4312783 B2 JP 4312783B2 JP 2006277005 A JP2006277005 A JP 2006277005A JP 2006277005 A JP2006277005 A JP 2006277005A JP 4312783 B2 JP4312783 B2 JP 4312783B2
Authority
JP
Japan
Prior art keywords
data
recording
file
partial
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2006277005A
Other languages
Japanese (ja)
Other versions
JP2007066512A (en
Inventor
次郎 木山
裕利 岩野
孝好 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2006277005A priority Critical patent/JP4312783B2/en
Publication of JP2007066512A publication Critical patent/JP2007066512A/en
Application granted granted Critical
Publication of JP4312783B2 publication Critical patent/JP4312783B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、ハードディスク、光ディスク、半導体メモリ等のランダムアクセス可能な記録媒体に対して、映像データ、音声データを記録する記録方法、記録装置、並びに記録媒体に関するものである。   The present invention relates to a recording method, a recording apparatus, and a recording medium for recording video data and audio data on a randomly accessible recording medium such as a hard disk, an optical disk, and a semiconductor memory.

ディスクメディアを用いたビデオのディジタル記録再生装置(以下、ビデオディスクレコーダと呼ぶ)が普及しつつある。それらにおいて、テープメディアと同様にアフターレコーディング(アフレコ)機能を安価に実現する技術が求められている。アフレコ機能は、既に記録したオーディオやビデオに対し、後から情報、特にオーディオを追記する機能である。   Video digital recording / playback apparatuses (hereinafter referred to as video disk recorders) using disk media are becoming widespread. In these cases, a technique for realizing an after recording (after-recording) function at a low cost as in the case of tape media is required. The post-recording function is a function for adding information, particularly audio, to an already recorded audio or video.

ディスクメディアを用いてアフレコ機能を実現している従来技術として、当出願人による特許文献1がある。以下、図20を用いてその概要を説明する。   As a conventional technique for realizing a post-recording function using a disk medium, there is Patent Document 1 by the present applicant. Hereinafter, the outline will be described with reference to FIG.

特許文献1では、ストリームファイル3000は独自のストリームフォーマットであり、所定の再生時間ごとに分割したオリジナルストリームデータ(初期録画したビデオ・オーディオデータ)の間に同期再生するアフレコデータ用領域を挿入して構成する。図20(a)を例に取ると、部分オリジナルストリームデータ3021の直前には、同期再生するアフレコオーディオデータを格納するためのアフレコデータ用領域3011を挿入する。3012と3022および3013と3023の間の関係も同様である。   In Patent Document 1, the stream file 3000 has a unique stream format, and an after-recording data area for synchronous playback is inserted between original stream data (initially recorded video / audio data) divided every predetermined playback time. Constitute. Taking FIG. 20A as an example, an after-recording data area 3011 for storing after-recording audio data to be synchronously reproduced is inserted immediately before the partial original stream data 3021. The relationship between 3012 and 3022 and 3013 and 3023 is the same.

ストリームファイル3000を光ディスク3001に記録する際、図20(b)に示すように、同期再生する部分オリジナルストリームデータとアフレコデータ用領域とを物理的な近傍に配置することで、アフレコデータを含めた再生時にシークを最小限にすることができ、シークによる再生の途切れを抑えている。また、部分オリジナルストリームデータの再生時間を、シーク時間等を考慮しリアルタイムアフレコが可能な値に設定(数秒程度)することで、リアルタイムアフレコを保証している。   When the stream file 3000 is recorded on the optical disc 3001, as shown in FIG. 20B, the partial original stream data to be synchronously reproduced and the post-record data area are arranged in the physical vicinity to include the post-record data. The seek can be minimized at the time of reproduction, and the interruption of reproduction due to the seek is suppressed. Also, by setting the reproduction time of the partial original stream data to a value that allows real-time after-recording in consideration of seek time and the like (about several seconds), real-time after-recording is guaranteed.

また、世の中で広く用いられているデータ記録方法として、上記特許文献1に記載のストリーム構成とは異なる構成を持ったISO/IEC 13818−1に定義されるTransport Stream(以下MPEG-2 TS)や、Program Stream(以下MPEG-2 PS)がある。例えば、DVD-VideoはMPEG-2 PSであり、ディジタル放送やIEEE-1394による機器間のデータ転送形式はMPEG-2 TSである。MPEG-2 PS/TSを考慮したアフレコに関する従来技術については、特許文献2や特許文献3がある。
特開2001−43616号公報 特開2000−306327号公報 特開平11−298845号公報
Further, as a data recording method widely used in the world, Transport Stream (hereinafter referred to as MPEG-2 TS) defined in ISO / IEC 13818-1 having a configuration different from the stream configuration described in Patent Document 1 above , Program Stream (MPEG-2 PS). For example, DVD-Video is MPEG-2 PS, and the data transfer format between devices by digital broadcasting or IEEE-1394 is MPEG-2 TS. Patent Document 2 and Patent Document 3 are related to the conventional art relating to post-recording in consideration of MPEG-2 PS / TS.
JP 2001-43616 A JP 2000-306327 A Japanese Patent Laid-Open No. 11-298845

しかしながら、MPEG-2 PS/TSに対して、上記特許文献1に記載のストリーム構成を適用した場合、一般的に用いられているデコーダで再生しようとしても、デコードが正しくできない可能性がある。その理由を以下に説明する。   However, when the stream configuration described in Patent Document 1 is applied to MPEG-2 PS / TS, there is a possibility that decoding cannot be performed correctly even if playback is attempted with a commonly used decoder. The reason will be described below.

MPEG-2 TS/PSにおいては、基準となるデコーダモデルを設定し、そのデコーダモデル中のオーディオ・ビデオのデコーダのバッファメモリがアンダーフローしたりオーバーフローしたりしないように、ビデオデータとオーディオデータとを多重化することが定められている。しかし、上記特許文献1のストリーム構成の場合、各アフレコデータ用領域には1秒以上のオーディオデータを格納することになる。このストリームファイルを一般的なMPEG-2 TS/PSデコーダで再生した場合、1秒分以上のオーディオデータがまとめて送られることになり、オーディオデコーダのバッファメモリがオーバーフローすることになる。   In MPEG-2 TS / PS, a standard decoder model is set, and video data and audio data are set so that the audio / video decoder buffer memory in the decoder model does not underflow or overflow. Multiplexing is stipulated. However, in the case of the stream configuration described in Patent Document 1, audio data of 1 second or longer is stored in each after-recording data area. When this stream file is reproduced by a general MPEG-2 TS / PS decoder, audio data for one second or more is sent together, and the buffer memory of the audio decoder overflows.

また、特許文献2に記載のアフレコ機能は、前述のMPEG-2 PS多重化規定に従ってアフレコデータ用領域をストリーム中に多重化するというものであるが、ディスクの転送レートが低い場合にはリアルタイムアフレコが困難であるという課題がある。   The after-recording function described in Patent Document 2 multiplexes the after-recording data area in the stream in accordance with the above-mentioned MPEG-2 PS multiplexing specification. When the disc transfer rate is low, real-time after-recording is performed. There is a problem that is difficult.

他方、特許文献3は、アフレコデータを別ファイルに記録することで、個々のファイルではMPEG-2 PS多重化規定を満たすというものである。この場合、アフレコ結果を再生する場合にアフレコデータを記録するファイルとオリジナルストリームファイルを交互に読み出すためシークを繰り返す必要がある。そのため、アフレコした結果に対し非破壊編集(ディスク上のストリームデータは動かさず、再生経路情報によって見た目上の編集を行うこと)を行った場合に、シークにより特にシーン間において再生が途切れる可能性が高まる。また、消費電力の面でも不利である。   On the other hand, Patent Document 3 records the post-recording data in a separate file so that each file satisfies the MPEG-2 PS multiplexing specification. In this case, when the after-recording result is reproduced, it is necessary to repeat the seek in order to alternately read the file for recording the after-recording data and the original stream file. Therefore, when non-destructive editing is performed on the post-recording result (stream data on the disc is not moved and visual editing is performed based on the playback path information), playback may be interrupted especially between scenes. Rise. It is also disadvantageous in terms of power consumption.

本発明は、上記課題を鑑みてなされたものであり、一般的なMPEG-2 PS/TSデコーダ上での再生やリアルタイムアフレコが可能であり、かつ、アフレコ結果を非破壊編集した場合の再生の途切れが少ないデータ記録方法を提供することを目的とする。   The present invention has been made in view of the above problems, and is capable of reproduction on a general MPEG-2 PS / TS decoder and real-time after-recording, and reproduction when the after-recording result is non-destructively edited. It is an object to provide a data recording method with few interruptions.

本発明のAVデータ記録方法は、上記の課題を解決するために、記録媒体上に、複数のストリームデータが所定の多重化規則に従って多重化されたAVデータを、前記AVデータと同期する関連データと共に記録するAVデータ記録方法であって、前記AVデータおよび前記関連データを所定の間隔毎に部分AVデータおよび部分関連データに分割する第1のステップと、前記記録媒体上において、一続きの前記部分AVデータと前記部分関連データとを記録するための連続領域である第1の連続領域を確保する第2のステップと、前記第1の連続領域に前記部分AVデータと前記部分関連データとを連続的に記録する第3のステップと、前記部分AVデータおよび前記部分関連データとをそれぞれ別のファイルとして管理すると共に、前記部分AVデータおよび前記部分関連データとを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第4のステップとを備えることを特徴としている。   In order to solve the above-described problems, the AV data recording method of the present invention relates to AV data in which a plurality of stream data is multiplexed on a recording medium in accordance with a predetermined multiplexing rule, and is associated with the AV data. A first step of dividing the AV data and the related data into partial AV data and partial related data at predetermined intervals; A second step of securing a first continuous area, which is a continuous area for recording partial AV data and the partial related data, and the partial AV data and the partial related data in the first continuous area. The third step of continuously recording, managing the partial AV data and the partial related data as separate files, respectively, The file system management information for managing the information for handling the minute AV data and the partial associated data as a separate file is characterized by comprising a fourth step of recording on the recording medium.

上記の構成によれば、上記記録媒体上に記録されるAVデータ(例えば、オリジナルストリーム)および関連データ(例えばアフレコデータ)は、第1のステップによって部分AVデータおよび部分関連データに分割され、シームレス再生やリアルタイムアフレコが保証される記録単位に設定される。   According to the above configuration, AV data (for example, original stream) and related data (for example, post-record data) recorded on the recording medium are divided into partial AV data and partial related data by the first step, and seamlessly It is set to a recording unit that guarantees playback and real-time dubbing.

分割された部分AVデータおよび部分関連データは同期するデータ同士を一続きとして、第2,第3のステップの処理によって上記記録媒体上で互いに物理的に近傍した位置に記録される。   The divided partial AV data and partial related data are recorded at positions that are physically close to each other on the recording medium by the processing of the second and third steps, with the data to be synchronized in a row.

さらに、第4のステップにおいて記録されるファイルシステム管理情報では、部分AVデータおよび部分関連データが別のファイルとして管理されることによって、リアルタイムアフレコを保証し非破壊編集性能の高く、なおかつ一般的なMPEG-2 PSのデコーダでの再生が可能になる。また、AVデータの再生と関連データの再生とを同期させて行った場合に、部分AVデータおよび部分関連データが近傍して記録されていることから、シークの頻度が低くなり、その他のデータとさらに同期再生させる余地が大きい。例えば、アフレコオーディオ以外にさらにグラフィックスデータ等を非破壊編集で付加しても再生が途切れる可能性が低い。   Furthermore, in the file system management information recorded in the fourth step, the partial AV data and the partial related data are managed as separate files, so that real-time post-recording is ensured and non-destructive editing performance is high. Playback with MPEG-2 PS decoder is possible. Further, when the reproduction of AV data and the reproduction of related data are performed in synchronization, the partial AV data and the partial related data are recorded close to each other, so the frequency of seek is reduced, and other data and In addition, there is much room for synchronous playback. For example, even if graphics data or the like other than after-recording audio is added by nondestructive editing, there is a low possibility that the reproduction is interrupted.

また、別ファイルであるファイルシステム管理情報において、記録媒体上の近傍に配置されている部分AVデータおよび部分関連データの対応関係を示す情報を記録媒体に記録することによって、ファイルシステム管理情報を参照することなく容易に連続記録されている部分AVデータおよび部分関連データを知り、最適なデータ読み込みが可能になる。   Further, in the file system management information which is a separate file, the file system management information is referred to by recording information indicating the correspondence relationship between the partial AV data and the partial related data arranged in the vicinity on the recording medium on the recording medium. Thus, it is possible to know partial AV data and partial related data that are continuously recorded without any trouble, and to perform optimum data reading.

また、本発明のAVデータ記録方法において、前記部分AVデータの再生開始時刻と、前記第1の連続領域の位置情報の対応情報とを前記記録媒体に記録する第5のステップを備える構成としてもよい。   The AV data recording method of the present invention may further include a fifth step of recording the reproduction start time of the partial AV data and the correspondence information of the position information of the first continuous area on the recording medium. Good.

上記の構成よれば、アフレコの対象となる部分AVデータに対応する部分関連データ(アフレコ用領域)の位置を容易に特定することが可能となる。   According to the above configuration, it is possible to easily specify the position of the partial related data (post-recording area) corresponding to the partial AV data to be post-recorded.

また、本発明のAVデータ記録方法において、前記部分関連データが、対応する前記部分AVデータの近傍に記録されているか否かを管理する情報を前記記録媒体に記録する第6のステップを備える構成としてもよい。   The AV data recording method according to the present invention further comprises a sixth step of recording, on the recording medium, information for managing whether or not the partial related data is recorded in the vicinity of the corresponding partial AV data. It is good.

上記部分AVデータおよび部分関連データの記録時にディフェクトに遭遇した場合、記録中の部分関連データは破棄し、別の領域に新規にCAを記録することがある。   If a defect is encountered when recording the partial AV data and the partial related data, the partial related data being recorded may be discarded and a new CA may be recorded in another area.

上記の構成によれば、その際に、その部分関連データを管理する情報において対応する部分AVデータの近傍に部分関連データが存在しないことがわかるようにしておくことで、非破壊編集時や非破壊編集結果の再生時に、部分AVデータおよび部分関連データが連続して記録されていない区間が容易に判断可能であり、その区間は再生が途切れる可能性が高いことを事前にユーザに伝えることが可能となる。   According to the above configuration, at that time, in the information for managing the partial related data, it is made clear that there is no partial related data in the vicinity of the corresponding partial AV data. When reproducing the destructive editing result, it is possible to easily determine a section where the partial AV data and the partial related data are not continuously recorded, and to inform the user in advance that the reproduction is likely to be interrupted in the section. It becomes possible.

また、発明の他のAVデータ記録方法は、記録媒体上に、複数のストリームデータが所定の多重化規則に従って多重化されたAVデータを、前記AVデータと同期する関連データと共に記録可能とするAVデータ記録方法であって、前記AVデータを所定の間隔毎に部分AVデータに分割する第7のステップと、前記記録媒体上において、一続きの前記部分AVデータと、前記関連データの記録時に前記部分AVデータに対応して分割される部分関連データの記録領域を確保する部分予約データとを記録するための連続領域である第1の連続領域を確保する第8のステップと、前記部分予約データを作成しながら、前記第1の連続領域に前記部分AVデータと前記部分予約データとを連続的に記録する第9のステップと、前記部分AVデータおよび前記部分予約データとをそれぞれ別のファイルとして管理すると共に、前記部分AVデータおよび前記部分予約データを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第10のステップとを備えることを特徴としている。   According to another AV data recording method of the present invention, AV data in which a plurality of stream data is multiplexed on a recording medium according to a predetermined multiplexing rule can be recorded together with related data synchronized with the AV data. A data recording method, comprising: a seventh step of dividing the AV data into partial AV data at predetermined intervals; and the continuous AV data and the related data are recorded on the recording medium. An eighth step of securing a first continuous area which is a continuous area for recording partial reserved data for securing a recording area of partial related data divided corresponding to the partial AV data; and the partial reserved data A ninth step of continuously recording the partial AV data and the partial reserved data in the first continuous area, and generating the partial AV data And the partial reservation data are managed as separate files, and file system management information for managing information for handling the partial AV data and the partial reservation data as separate files is recorded on the recording medium. It comprises 10 steps.

上記の構成によれば、上記記録媒体上に記録されるAVデータ(例えば、オリジナルストリーム)は、第7のステップによって部分AVデータに分割され、シームレス再生やリアルタイムアフレコが保証される記録単位に設定される。   According to the above configuration, AV data (for example, an original stream) recorded on the recording medium is divided into partial AV data by the seventh step, and set to a recording unit that guarantees seamless playback and real-time after-recording. Is done.

分割された部分AVデータは、これと同期する部分関連データの記録領域を確保するための部分予約データと一続きとして、第8,第9のステップの処理によって上記記録媒体上で互いに物理的に近傍した位置に記録される。   The divided partial AV data are physically connected to each other on the recording medium by the processes of the eighth and ninth steps as a part of the partial reservation data for securing the recording area of the partial related data synchronized therewith. Recorded at a nearby position.

さらに、第10のステップにおいて記録されるファイルシステム管理情報では、部分AVデータおよび部分予約データが別のファイルとして管理されることによって、関連データの記録時におけるリアルタイムアフレコを保証し非破壊編集性能の高く、なおかつ一般的なMPEG-2 PSのデコーダでの再生が可能になる。   Furthermore, in the file system management information recorded in the tenth step, the partial AV data and the partial reservation data are managed as separate files, thereby guaranteeing real-time after-recording at the time of recording related data, and non-destructive editing performance. It is expensive and can be played back by a general MPEG-2 PS decoder.

また、上記AVデータ記録方法においては、前記関連データの記録時に、前記関連データを所定の間隔毎に部分関連データに分割する第11のステップと、前記部分関連データを、対応する部分AVデータと連続して記録されている前記部分予約データの確保領域に記録する第12のステップと、前記部分関連データを前記部分AVデータおよび前記部分予約データとは別のファイルとして管理すると共に、前記部分関連データを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第13のステップとを備える構成とすることができる。   In the AV data recording method, an eleventh step of dividing the related data into partial related data at predetermined intervals when recording the related data; and A twelfth step of recording in the reserved area of the partial reservation data recorded continuously; and managing the partial related data as a separate file from the partial AV data and the partial reserved data; And a thirteenth step of recording file system management information for managing information for handling data as a separate file on the recording medium.

上記の構成によれば、AVデータの再生と関連データの再生とを同期させて行った場合に、部分AVデータおよび部分関連データが近傍して記録されていることから、シークの頻度が低くなり、その他のデータとさらに同期再生させる余地が大きい。例えば、アフレコオーディオ以外にさらにグラフィックスデータ等を非破壊編集で付加しても再生が途切れる可能性が低い。   According to the above configuration, when the AV data reproduction and the related data reproduction are performed in synchronization, the partial AV data and the partial related data are recorded close to each other, so the seek frequency is reduced. There is much room for further synchronized playback with other data. For example, even if graphics data or the like other than after-recording audio is added by nondestructive editing, there is a low possibility that the reproduction is interrupted.

また、別ファイルであるファイルシステム管理情報において、記録媒体上の近傍に配置されている部分AVデータおよび部分関連データの対応関係を示す情報を記録媒体に記録することによって、ファイルシステム管理情報を参照することなく容易に連続記録されている部分AVデータおよび部分関連データを知り、最適なデータ読み込みが可能になる。   Further, in the file system management information which is a separate file, the file system management information is referred to by recording information indicating the correspondence relationship between the partial AV data and the partial related data arranged in the vicinity on the recording medium on the recording medium. Thus, it is possible to know partial AV data and partial related data that are continuously recorded without any trouble, and to perform optimum data reading.

本発明のAVデータ記録方法は、以上のように、前記AVデータおよび前記関連データを所定の間隔毎に部分AVデータおよび部分関連データに分割する第1のステップと、前記記録媒体上において、一続きの前記部分AVデータと前記部分関連データとを記録するための連続領域である第1の連続領域を確保する第2のステップと、前記第1の連続領域に前記部分AVデータと前記部分関連データとを連続的に記録する第3のステップと、前記部分AVデータおよび前記部分関連データとをそれぞれ別のファイルとして管理すると共に、前記部分AVデータおよび前記部分関連データを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第4のステップとを備える構成である。   In the AV data recording method of the present invention, as described above, the first step of dividing the AV data and the related data into partial AV data and partial related data at predetermined intervals, and A second step of securing a first continuous area which is a continuous area for recording the subsequent partial AV data and the partial related data; and the partial AV data and the partial related in the first continuous area In order to manage the partial AV data and the partial related data as separate files, and to manage the partial AV data and the partial related data as separate files, respectively, in the third step of continuously recording data And a fourth step of recording file system management information for managing the information on the recording medium.

それゆえ、上記記録媒体上に記録されるAVデータおよび関連データは、第1のステップによって部分AVデータおよび部分関連データに分割され、分割された部分AVデータおよび部分関連データは同期するデータ同士を一続きとして、第2,第3の処理によって上記記録媒体上で互いに物理的に近傍した位置に記録される。さらに、第4のステップにおいて記録されるファイルシステム管理情報では、部分AVデータおよび部分関連データが別のファイルとして管理される。   Therefore, AV data and related data recorded on the recording medium are divided into partial AV data and partial related data by the first step, and the divided partial AV data and partial related data are synchronized with each other. As a continuation, recording is performed at positions physically close to each other on the recording medium by the second and third processes. Furthermore, in the file system management information recorded in the fourth step, the partial AV data and the partial related data are managed as separate files.

これにより、リアルタイムアフレコを保証し非破壊編集性能の高く、なおかつ一般的なMPEG-2 PSのデコーダでの再生が可能になると共に、AVデータの再生と関連データの再生とを同期させて行った場合に、部分AVデータおよび部分関連データが近傍して記録されていることから、シークの頻度が低くなるといった効果を奏する。   As a result, real-time after-recording is guaranteed, non-destructive editing performance is high, and reproduction by a general MPEG-2 PS decoder is possible, and reproduction of AV data and reproduction of related data are performed in synchronization. In this case, since the partial AV data and the partial related data are recorded close to each other, there is an effect that the frequency of seek is reduced.

また、発明の他のAVデータ記録方法は、以上のように、記録媒体上に、複数のストリームデータが所定の多重化規則に従って多重化されたAVデータを、前記AVデータと同期する関連データと共に記録可能とするAVデータ記録方法であって、前記AVデータを所定の間隔毎に部分AVデータに分割する第7のステップと、前記記録媒体上において、一続きの前記部分AVデータと、前記関連データの記録時に前記部分AVデータに対応して分割される部分関連データの記録領域を確保する部分予約データとを記録するための連続領域である第1の連続領域を確保する第8のステップと、前記部分予約データを作成しながら、前記第1の連続領域に前記部分AVデータと前記部分予約データとを連続的に記録する第9のステップと、前記部分AVデータおよび前記部分予約データとをそれぞれ別のファイルとして管理すると共に、前記部分AVデータおよび前記部分予約データを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第10のステップとを備える構成である。   Further, another AV data recording method of the invention, as described above, includes AV data obtained by multiplexing a plurality of stream data on a recording medium according to a predetermined multiplexing rule, together with related data synchronized with the AV data. An AV data recording method that enables recording, a seventh step of dividing the AV data into partial AV data at predetermined intervals, a series of the partial AV data on the recording medium, and the related An eighth step of securing a first continuous area, which is a continuous area for recording partial reserved data that secures a recording area of partial related data divided corresponding to the partial AV data at the time of data recording; A ninth step of continuously recording the partial AV data and the partial reserved data in the first continuous area while creating the partial reserved data; On the recording medium, file system management information for managing the partial AV data and the partial reserved data as separate files and managing information for handling the partial AV data and the partial reserved data as separate files is provided on the recording medium. And a tenth step for recording.

また、上記AVデータ記録方法においては、前記関連データの記録時に、前記関連データを所定の間隔毎に部分関連データに分割する第11のステップと、前記部分関連データを、対応する部分AVデータと連続して記録されている前記部分予約データの確保領域に記録する第12のステップと、前記部分関連データを前記部分AVデータおよび前記部分予約データとは別のファイルとして管理すると共に、前記部分関連データを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第13のステップとを備える構成とすることができる。   In the AV data recording method, an eleventh step of dividing the related data into partial related data at predetermined intervals when recording the related data; and A twelfth step of recording in the reserved area of the partial reservation data recorded continuously; and managing the partial related data as a separate file from the partial AV data and the partial reserved data; And a thirteenth step of recording file system management information for managing information for handling data as a separate file on the recording medium.

それゆえ、上記記録媒体上に記録されるAVデータは、シームレス再生やリアルタイムアフレコが保証される記録単位の部分AVデータに分割され、分割された部分AVデータは部分予約データと一続きとして、上記記録媒体上で互いに物理的に近傍した位置に記録される。また、関連データの記録時は、上記関連データを部分関連データに分割し、それぞれの部分関連データを対応する部分予約データの確保領域に記録することによって行われる。   Therefore, the AV data recorded on the recording medium is divided into partial AV data in a recording unit that guarantees seamless reproduction and real-time after-recording. They are recorded at positions that are physically close to each other on the recording medium. The related data is recorded by dividing the related data into partial related data and recording each partial related data in a corresponding reserved area for partial reserved data.

これにより、AVデータの再生と関連データの再生とを同期させて行った場合に、部分AVデータおよび部分関連データが近傍して記録されていることから、シークの頻度が低くなるといった効果を奏する。   As a result, when the AV data reproduction and the related data reproduction are performed in synchronization, the partial AV data and the partial related data are recorded close to each other, so that the seek frequency is reduced. .

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。ここでの説明は、本発明において共通に用いる構成、個々の実施形態に固有の内容という順に行っていく。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The description here will be made in the order of the configuration commonly used in the present invention and the contents specific to each embodiment.

<システム構成>
図2は、後述する各実施形態において共通のビデオディスクレコーダの基本システム構成図である。
<System configuration>
FIG. 2 is a basic system configuration diagram of a video disk recorder common to the embodiments described later.

このビデオディスクレコーダは、図2に示すように、バス100、ホストCPU101、RAM102、ROM103、ユーザインタフェース104、システムクロック105、光ディスク106、ピックアップ107、ECC(Error Correcting Coding)デコーダ108、ECCエンコーダ109、オーディオ再生用バッファ110、ビデオ再生用バッファ111、デマルチプレクサ112、マルチプレクサ113、記録用バッファ114、オーディオデコーダ115、ビデオデコーダ116、オーディオエンコーダ117、ビデオエンコーダ118、オーディオ記録用バッファ119、ビデオ記録用バッファ120、デマルチプレクサ121、アフレコデータ再生用バッファ122、分割処理部123(AVデータと部分関連データに分割する手段)、空き領域管理部125(連続領域を確保する手段)、管理情報処理部126および図示しないカメラ、マイク、スピーカ、ディスプレイ等で構成される。また、ピックアップ107、ECCデコーダ108、ECCエンコーダ109は、ドライブ127(部分AVデータと部分関連データとを連続的に記録する手段、ファイルシステム管理情報を前記記録媒体上に記録する手段)を構成する。   As shown in FIG. 2, the video disk recorder includes a bus 100, a host CPU 101, a RAM 102, a ROM 103, a user interface 104, a system clock 105, an optical disk 106, a pickup 107, an ECC (Error Correcting Coding) decoder 108, an ECC encoder 109, Audio reproduction buffer 110, video reproduction buffer 111, demultiplexer 112, multiplexer 113, recording buffer 114, audio decoder 115, video decoder 116, audio encoder 117, video encoder 118, audio recording buffer 119, video recording buffer 120, demultiplexer 121, post-record data reproduction buffer 122, division processing unit 123 (divides into AV data and partial related data Stage), means for securing a free area management section 125 (continuous region), the management information processing unit 126 and a camera (not shown), a microphone, a speaker, and a display or the like. The pickup 107, the ECC decoder 108, and the ECC encoder 109 constitute a drive 127 (means for continuously recording partial AV data and partial related data, means for recording file system management information on the recording medium). .

ホストCPU101は、デマルチプレクサ112、マルチプレクサ113、ピックアップ107、オーディオデコーダ115、ビデオデコーダ116、オーディオエンコーダ117、ビデオエンコーダ118の制御をバス100を通じて行う。   The host CPU 101 controls the demultiplexer 112, the multiplexer 113, the pickup 107, the audio decoder 115, the video decoder 116, the audio encoder 117, and the video encoder 118 through the bus 100.

再生時に、光ディスク106からピックアップ107を通じて読み出されたデータは、ECCデコーダ108によって誤り訂正される。誤り訂正されたデータは、管理情報処理部126によってファイルシステム管理情報が処理されて、デマルチプレクサ112あるいはデマルチプレクサ121に送られる。   During reproduction, data read from the optical disk 106 through the pickup 107 is error-corrected by the ECC decoder 108. The error-corrected data is subjected to file system management information processing by the management information processing unit 126 and sent to the demultiplexer 112 or the demultiplexer 121.

デマルチプレクサ112はホストCPU101からの指示に従い、読み出されたデータをオーディオデータかビデオデータかに応じてオーディオ再生用バッファ110およびビデオ再生用バッファ111に振り分ける。同様に、デマルチプレクサ121はホストCPU101からの指示に従い、読み出されたデータをアフレコデータ再生用バッファ122に送る。   In accordance with an instruction from the host CPU 101, the demultiplexer 112 distributes the read data to the audio reproduction buffer 110 and the video reproduction buffer 111 according to whether the data is audio data or video data. Similarly, the demultiplexer 121 sends the read data to the after-recording data reproduction buffer 122 in accordance with an instruction from the host CPU 101.

オーディオデコーダ115は、ホストCPU101からの指示に従って、オーディオ再生用バッファ110およびアフレコデータ再生用バッファ122からデータを読み出し、読み出したデータに対するデコードを行う。同様に、ビデオデコーダ116は、ホストCPU101からの指示に従って、ビデオ再生用バッファ111からデータを読み出し、読み出したデータに対するデコードを行う。   The audio decoder 115 reads data from the audio reproduction buffer 110 and the after-recording data reproduction buffer 122 in accordance with an instruction from the host CPU 101 and decodes the read data. Similarly, the video decoder 116 reads data from the video playback buffer 111 in accordance with an instruction from the host CPU 101 and decodes the read data.

一方、記録時に、オーディオエンコーダ117およびビデオエンコーダ118によって圧縮符号化されたデータは、それぞれオーディオ記録用バッファ119およびビデオ記録用バッファ120に送られる。マルチプレクサ113は、ホストCPU101からの指示に従って、オーディオ記録用バッファ119およびビデオ記録用バッファ120からデータを読み出し、読み出したデータをAV多重化し分割処理部123に送る。分割処理部123はAV多重化されたデータを所定の間隔毎に分割して記録用バッファ114に送る。このとき、空き領域管理部125はデータを記録するための連続領域を確保し、ECCエンコーダ109は、記録用バッファ114から読み出したAV多重化データに対して誤り訂正符号を付加し、ピックアップ107を通じて光ディスク106の確保された連続領域に記録する。   On the other hand, at the time of recording, the data compression-encoded by the audio encoder 117 and the video encoder 118 are sent to the audio recording buffer 119 and the video recording buffer 120, respectively. The multiplexer 113 reads data from the audio recording buffer 119 and the video recording buffer 120 in accordance with an instruction from the host CPU 101, AV-multiplexes the read data, and sends the data to the division processing unit 123. The division processing unit 123 divides the AV multiplexed data at predetermined intervals and sends it to the recording buffer 114. At this time, the free space management unit 125 secures a continuous area for recording data, and the ECC encoder 109 adds an error correction code to the AV multiplexed data read from the recording buffer 114 and passes through the pickup 107. Recording is performed in the secured continuous area of the optical disk 106.

オーディオデータの符号化方式にはISO/IEC 13818-3で規定されるMPEG-1 Layer-IIを、ビデオデータの符号化方式にはISO/IEC 13818-2で規定されるMPEG-2をそれぞれ用いる。光ディスク106は、DVD−RAMのような書き換え可能な光ディスクであり、2048byteを1セクタとし、誤り訂正のため16セクタでECCブロックを構成する。   MPEG-1 Layer-II specified by ISO / IEC 13818-3 is used for the encoding method of audio data, and MPEG-2 specified by ISO / IEC 13818-2 is used for the encoding method of video data. . The optical disk 106 is a rewritable optical disk such as a DVD-RAM, and 2048 bytes is one sector, and an ECC block is composed of 16 sectors for error correction.

<ファイルシステム>
本発明の説明において用いるファイルシステムのフォーマットである、UDF(Universal Disk Format)について図3を用いて説明する。図3(a)に示すディレクトリ/ファイル構成をUDFで記録した例を図3(b)に示す。
<File system>
A UDF (Universal Disk Format), which is a file system format used in the description of the present invention, will be described with reference to FIG. FIG. 3B shows an example in which the directory / file structure shown in FIG. 3A is recorded in UDF.

図中のAVDP(Anchor Volume Descriptor Pointer)602は、UDFの管理情報を探すためのエントリポイントに相当し、通常256セクタ目、Nセクタ目あるいはN−256セクタ目(Nは最大論理セクタ番号)に記録する。VDS(Volume Descriptor Sequence)601は、UDFが管理する領域であるボリュームに関する管理情報を記録する。ボリュームは一般に一枚のディスクに1個存在し、その中にパーティションを一般に1個含む。FSD(File Set Descriptor)603は、パーティションに1個存在する。パーティションの中での位置情報はパーティションの先頭からのセクタ番号に相当する論理ブロック番号で示される。なお、1個の論理ブロックは1セクタに対応する。また、各パーティションには図示しないがSpace Bitmapと呼ばれる各論理ブロックがファイルにすでに割り当てられているかそうでないかを示すテーブルが存在する。   An AVDP (Anchor Volume Descriptor Pointer) 602 in the figure corresponds to an entry point for searching for UDF management information, and is usually in the 256th sector, the Nth sector, or the N-256th sector (N is the maximum logical sector number). Record. A VDS (Volume Descriptor Sequence) 601 records management information related to a volume that is an area managed by the UDF. One volume generally exists on one disk, and generally contains one partition. One FSD (File Set Descriptor) 603 exists in the partition. The position information in the partition is indicated by a logical block number corresponding to the sector number from the head of the partition. One logical block corresponds to one sector. Each partition has a table (not shown) indicating whether each logical block called Space Bitmap has already been assigned to the file or not.

FSD603は、ルートディレクトリのFile Entry(FE)であるFE604の位置情報(論理ブロック番号と論理ブロック数で構成され“extent”と呼ばれる)を含む。FEは、extentの集合を管理しており、extentを書き換えたり、追加したり、削除することで、ファイルを構成する実データの順番を変えたり、データを挿入したり削除したりすることが可能である。   The FSD 603 includes position information of the FE 604 that is a file entry (FE) of the root directory (configured by a logical block number and a logical block number and called “extent”). The FE manages a set of extents. By rewriting, adding, or deleting extents, it is possible to change the order of the actual data that makes up a file, and to insert or delete data. It is.

FE604はルートディレクトリの直下のファイルやディレクトリの名称等を格納するFile Identifier Descriptor(FID)の集合を格納する領域605を管理する。領域605中のFID611、FID612は、それぞれファイル621、ファイル622のファイル名やextentの集合を管理するFE606、FE608の位置情報を含む。FE606はファイル621の実データを構成する領域である領域607、領域610をextentとして管理する。このときファイル621の実データにアクセスするためには、AVDP602、VDS601、FSD603、FE604、FID611、FE606、領域607、領域610の順にリンクを辿っていけばよい。   The FE 604 manages an area 605 that stores a set of file identifier descriptors (FID) that store files directly under the root directory, directory names, and the like. The FID 611 and FID 612 in the area 605 include the position information of the FE 606 and FE 608 that manage the file names of the file 621 and the file 622 and the set of extents. The FE 606 manages the areas 607 and 610 which are areas constituting the actual data of the file 621 as extents. At this time, in order to access the actual data of the file 621, the links may be followed in the order of AVDP 602, VDS 601, FSD 603, FE 604, FID 611, FE 606, area 607, and area 610.

〔実施の形態1〕
本発明の第1の実施形態について、図1および図4〜図18を用いて説明する。
[Embodiment 1]
A first embodiment of the present invention will be described with reference to FIGS. 1 and 4 to 18.

<ファイル・ディレクトリ構成>
本実施の形態1に係るファイル・ディレクトリ構成について、図4を用いて説明する。本実施の形態1に関するデータは、図4に示すように5種類のファイルに格納される。
<File directory structure>
The file / directory structure according to the first embodiment will be described with reference to FIG. Data relating to the first embodiment is stored in five types of files as shown in FIG.

オリジナルストリームファイル(SHRP0001.M2P)は1回の録画によって作成されるファイルであり、MPEG-2 PS(Program Stream)形式である。アフレコデータファイル(SHRP0001.PRE)は、アフレコ用の領域を確保し、アフレコデータを格納するためのファイルである。オリジナルストリーム管理情報ファイル(SHRP0001.OMI)は、オリジナルストリームファイルに関する時間−アドレス対応情報と属性情報およびアフレコデータファイルに関する属性情報やオリジナルストリームファイルとの対応関係情報とを格納するファイルであり、オリジナルストリームファイル1個につき1個ある。プログラム情報ファイル(SHRP0001.PGM)は、上記のストリームやデータのどの区間をどのような順序で再生するかを指定する情報を格納するファイルである。なお、プログラムは1個のコンテンツに相当し、ユーザが再生を指示する対象である。   The original stream file (SHRP0001.M2P) is a file created by one recording and is in the MPEG-2 PS (Program Stream) format. The after-recording data file (SHRP0001.PRE) is a file for securing an after-recording area and storing the after-recording data. The original stream management information file (SHRP0001.OMI) is a file that stores time-address correspondence information about the original stream file, attribute information, attribute information about the after-recording data file, and correspondence information with the original stream file. There is one for each file. The program information file (SHRP0001.PGM) is a file that stores information specifying which section of the stream or data is to be played back in what order. The program corresponds to one piece of content, and is a target for the user to instruct playback.

録画時には、上記4個のファイルを新規に作成する。これらのファイルは、ファイル間の関係を示すため、ファイル名の拡張子以外を共通にする。オーディオアフレコ時には、アフレコオーディオデータをアフレコデータファイル中の所定の位置に上書きし、アフレコデータ管理情報ファイルにおいてもそのことを反映する。さらに、追加したアフレコオーディオデータも再生対象にするようプログラム情報ファイルも変更する。   At the time of recording, the above four files are newly created. These files share a file name extension other than the file name extension in order to show the relationship between the files. At the time of audio after-recording, the after-recording audio data is overwritten at a predetermined position in the after-recording data file, and this is reflected in the after-recording data management information file. Further, the program information file is also changed so that the added after-recording audio data is also subject to playback.

また、非破壊編集時には、プログラム情報ファイルを新規に作成し、再生したい区間に関して、再生したいデータを管理するオリジナルストリーム管理情報ファイルやアフレコデータ管理情報ファイルのファイル名および再生したい区間を順に記録する。なお、各ファイルのデータ構造については後述する。   Further, at the time of nondestructive editing, a new program information file is created, and the file name of the original stream management information file for managing the data to be reproduced and the post-record data management information file and the section to be reproduced are sequentially recorded for the section to be reproduced. The data structure of each file will be described later.

<AVストリームの形態>
本実施の形態1において用いるAVストリームの構成について、図5を用いて説明する。
<AV stream format>
The configuration of the AV stream used in Embodiment 1 will be described with reference to FIG.

まず、オリジナルストリームファイルについて図5を用いて説明する。オリジナルストリームファイルの内容はMPEG-2 PS形式であり、図5(a)に示すように整数個のContinuous Unit(CU)で構成される。CUはディスク上で連続的に記録する単位である。CUの長さは、AVストリームを構成するCUをどのようにディスク上に配置してもシームレス再生(再生中に画像や音声が途切れないで再生できること)やリアルタイムアフレコ(アフレコ対象のビデオをシームレス再生しながらオーディオを記録すること)が保証されるように設定される。この設定方法については後述する。   First, the original stream file will be described with reference to FIG. The contents of the original stream file are in MPEG-2 PS format, and are composed of an integer number of continuous units (CUs) as shown in FIG. A CU is a unit for continuous recording on a disc. The length of the CU is seamless playback (the video and audio can be played back without interruption during playback) and real-time after-recording (smooth playback of the target video) While recording audio). This setting method will be described later.

CUは、図5(b)に示すように整数個のVideo Unit(VU)で構成される。VUは単独再生可能な単位であり、再生の際のエントリポイントとなり得る。VUは、図5(c)に示すように整数個のオーディオパック(A#1〜A#K)、ビデオパック(V#1〜V#L)で構成され、それぞれMPEG-2 PS形式のデコーダモデルが破綻しないようにAV多重される。ディスク読み出しの際に余分なデータを読み出さずに済むように、パックのサイズはセクタサイズに一致させる。なお、パック化されるビデオデータは、1〜2個のGOPで構成されるようにし、オーディオデータは、整数個のAAU(Audio Access Unit)をパック化するようにする。   The CU is composed of an integer number of video units (VU) as shown in FIG. VU is a unit that can be played back independently, and can be an entry point during playback. As shown in FIG. 5C, the VU is composed of an integer number of audio packs (A # 1 to A # K) and video packs (V # 1 to V # L), each of which is an MPEG-2 PS format decoder. AV multiplexed so that the model does not fail. The pack size matches the sector size so that extra data does not have to be read when reading the disk. The video data to be packed is composed of 1 to 2 GOPs, and the audio data is packed to an integer number of AAUs (Audio Access Units).

尚、GOPは、MPEG-2ビデオ規格における画像圧縮の単位であり、複数のビデオフレーム(典型的には15フレーム程度)で構成される。AAUはMPEG-1 Layer-II規格における音声圧縮の単位で、1152点の音波形サンプル点により構成される。サンプリング周波数が48kHzの場合、AAU1個あたりの再生時間は0.024秒となる。また、VU単位で独立再生を可能とするために、VU中のビデオデータの先頭にはSequence Header(SH)を置く。   GOP is a unit of image compression in the MPEG-2 video standard, and is composed of a plurality of video frames (typically about 15 frames). AAU is a unit of audio compression in the MPEG-1 Layer-II standard, and is composed of 1152 sound wave sample points. When the sampling frequency is 48 kHz, the reproduction time per AAU is 0.024 seconds. Further, in order to enable independent reproduction in units of VU, a sequence header (SH) is placed at the head of video data in the VU.

なお、CUは整数個のECCブロックで構成されるように、CUの末尾のVUは、パディングパケットを格納したパックでパディングする。   Note that the VU at the end of the CU is padded with a pack storing padding packets so that the CU is composed of an integer number of ECC blocks.

<アフレコデータファイル>
アフレコデータファイルの構成について図6を用いて説明する。アフレコデータファイルは、図6に示すように整数個のContinuous Area(CA)で構成される。上述したオリジナルストリームファイルにおけるCU1個はCA1個に対応して存在し、CAには対応するCU中の再生データに関するアフレコデータを記録する。たとえば、オリジナルストリームファイル中のCU#nと同期して再生したいアフレコオーディオデータはCA#nに記録する。CAは整数個のECCブロックで構成する。
<Post-recording data file>
The structure of the after-recording data file will be described with reference to FIG. The after-recording data file is composed of an integer number of continuous areas (CA) as shown in FIG. One CU in the original stream file described above exists corresponding to one CA, and post-recording data relating to reproduction data in the corresponding CU is recorded in the CA. For example, post-recording audio data to be reproduced in synchronization with CU # n in the original stream file is recorded in CA # n. CA consists of an integer number of ECC blocks.

アフレコデータファイルは、オリジナルストリームファイルと同様MPEG-2 PS形式であり、初期録画時にはパディングパケットを記録し、アフレコ後にはアフレコデータを格納したパックを上書きする。上書きするパックのパックヘッダ中のSCR(System Clock Reference)およびパケットヘッダ中のPTS(Presentation Time Stamp)は、オリジナルストリームファイル中の対応するオーディオパックのものと合わせる。これにより、CA中のオーディオパックで、CU中の対応するオーディオパックを上書きすることで、容易にオリジナルストリームのオーディオをアフレコデータで差し替えることができる。   The post-record data file is in the MPEG-2 PS format, like the original stream file, and a padding packet is recorded at the time of initial recording, and after the post-recording, the pack storing the post-recording data is overwritten. The SCR (System Clock Reference) in the pack header of the pack to be overwritten and the PTS (Presentation Time Stamp) in the packet header are matched with those of the corresponding audio pack in the original stream file. As a result, by overwriting the corresponding audio pack in the CU with the audio pack in the CA, the audio of the original stream can be easily replaced with the after-recording data.

<ディスクへの配置>
オリジナルストリームファイルおよびアフレコデータファイルのディスクへの配置について図1を用いて説明する。図1(a)に示す互いに対応するオリジナルストリームファイル(SHRP0001.M2P)とアフレコデータファイル(SHRP0001.PRE)とは、光ディスク106でCUの直前に対応するCAが配置されるように記録する(図1(b))。
<Distribution to disk>
The arrangement of the original stream file and the after-recording data file on the disk will be described with reference to FIG. The mutually corresponding original stream file (SHRP0001.M2P) and after-recording data file (SHRP0001.PRE) shown in FIG. 1A are recorded on the optical disk 106 so that the corresponding CA is placed immediately before the CU (FIG. 1). 1 (b)).

これにより、同期再生を行うデータ同士(CAおよびCU)がディスク上の近傍に置かれるため、再生時のピックアップの移動が最小限となり、後述するように非破壊編集結果を再生する際に再生が途切れる可能性が減少する。また、サイズの小さいCAをCUより前に読み出されるよう配置することによって、同期再生のためのバッファメモリ量を抑えることが可能である。   As a result, the data to be synchronously reproduced (CA and CU) are placed in the vicinity of the disc, so that the movement of the pickup during reproduction is minimized, and reproduction is performed when reproducing the nondestructive editing result as described later. The possibility of interruption is reduced. In addition, it is possible to suppress the amount of buffer memory for synchronous reproduction by arranging small CAs to be read before CUs.

<CU単位決定方法>
CU再生時間の決定方法について、図7および図8を用いて説明する。この決定方法では、機器間での互換性確保のため、基準となるデバイス(リファレンス・デバイス・モデル)と基準となるアフレコアルゴリズム(リファレンス・アフレコ・アルゴリズム)とを想定し、次にそれらを用いてアフレコを行った際にシームレス再生が破綻しないようにCU再生時間を決める。
<CU unit determination method>
A method for determining the CU playback time will be described with reference to FIGS. This determination method assumes a standard device (reference device model) and a standard dubbing algorithm (reference dubbing algorithm) to ensure compatibility between devices, and then uses them. The CU playback time is determined so that seamless playback does not fail when post-recording is performed.

まず、リファレンス・デバイス・モデルについて図7を用いて説明する。リファレンス・デバイス・モデルは1個のピックアップ(図示せず)と、それにつながるECCエンコーダ・デコーダ501、トラックバッファ502、デマルチプレクサ503、アフレコ用バッファ504、オーディオエンコーダ509、ビデオバッファ505、オーディオバッファ506、ビデオデコーダ507、オーディオデコーダ508とによって構成される。   First, the reference device model will be described with reference to FIG. The reference device model includes one pickup (not shown), an ECC encoder / decoder 501 connected thereto, a track buffer 502, a demultiplexer 503, an after-recording buffer 504, an audio encoder 509, a video buffer 505, an audio buffer 506, A video decoder 507 and an audio decoder 508 are included.

上記リファレンス・デバイス・モデルでは、ピックアップが1個であるため、再生用データのディスク500からの読み出しと、アフレコ用データのディスク500への記録は時分割で行う。ディスク500から再生用データを読み出す際、CAも含めて読み出す。読み出されたCAを含むECCブロック(CAブロック)は、トラックバッファ502からアフレコ用バッファ504に送られる。   In the reference device model, since there is one pickup, reading of reproduction data from the disk 500 and recording of post-recording data on the disk 500 are performed in a time division manner. When data for reproduction is read from the disk 500, it is read including CA. The ECC block (CA block) including the read CA is sent from the track buffer 502 to the after-recording buffer 504.

オーディオエンコーダ509は、AAU周期でアフレコ用バッファ504にアフレコ用データを出力する。この出力によって、アフレコ用バッファ504中の対応するCAブロックを上書きする。アフレコ用データの記録は、CAブロックを所定のECCブロックに記録することで行う。   The audio encoder 509 outputs after-recording data to the after-recording buffer 504 at an AAU period. With this output, the corresponding CA block in the after-recording buffer 504 is overwritten. After-recording data is recorded by recording the CA block in a predetermined ECC block.

ここで、オーディオフレームデータのECCエンコーダ501へのデータの入力速度およびECCデコーダ501からのデータの出力速度をRsとする。また、アクセスによる読み出し、記録の停止する最大期間をTaとする。尚、この期間にはシーク時間、回転待ち時間、アクセス後に最初にディスクから読み出したデータがECCデコーダ501から出力されるまでの時間が含まれる。本実施の形態1ではRs=20Mbps、Ta=1秒とする。   Here, the data input speed of the audio frame data to the ECC encoder 501 and the data output speed from the ECC decoder 501 are Rs. Further, Ta is the maximum period during which reading and recording are stopped by access. This period includes a seek time, a rotation waiting time, and a time until data read out from the disk first after access is output from the ECC decoder 501. In the first embodiment, Rs = 20 Mbps and Ta = 1 second.

次に、リファレンス・アフレコ・アルゴリズムについて、図8を用いて説明する。尚、図8中の(1)から(6)までの番号は、以下の説明中の(1)から(6)までの番号に対応する。アルゴリズムの概要は次の通りである。
(1)再生用データの読み出しを行う。
(2)N番目のCAであるCA(N)に対応するオーディオデータのエンコードが終了すると同時に、CA(N)へのアクセスを行う。
(3)CA(N)をディスクに記録する。
(4)元の読み出し位置に戻る。
(5)再生用データの読み出しを行う。
(6)N+1番目のCAであるCA(N+1)に対応するオーディオデータのエンコードが終了すると同時に、CA(N+1)へのアクセスを行う。
以降は(3)〜(6)の動作を繰り返す。
Next, the reference after-recording algorithm will be described with reference to FIG. The numbers (1) to (6) in FIG. 8 correspond to the numbers (1) to (6) in the following description. The outline of the algorithm is as follows.
(1) Read playback data.
(2) At the same time as encoding of audio data corresponding to CA (N), which is the Nth CA, is completed, access to CA (N) is performed.
(3) Record CA (N) on the disc.
(4) Return to the original reading position.
(5) Read playback data.
(6) Access to CA (N + 1) is performed at the same time as encoding of audio data corresponding to CA (N + 1), which is the N + 1th CA, is completed.
Thereafter, the operations (3) to (6) are repeated.

前記リファレンス・デバイス・モデルにおいて、前記リファレンス・アフレコ・アルゴリズムを用いてアフレコを行った場合、次のような条件を満たせば、アフレコ用バッファ504のオーバーフローおよびトラックバッファ502のアンダーフローがないことが保証できる。   In the reference device model, when the after-recording is performed using the reference after-recording algorithm, it is guaranteed that there is no overflow of the after-recording buffer 504 and no underflow of the track buffer 502 if the following conditions are satisfied. it can.

すなわち、AVストリーム中の任意のCUであるCU#iについて最大再生時間をTe(i)、分断ジャンプを含めた最大読み出し時間をTr(i)、CU#に対応するCAであるCA#iの最大記録時間をTw(i)としたとき、以下の式(1)が成立すればよい。   That is, for CU # i that is an arbitrary CU in the AV stream, the maximum playback time is Te (i), the maximum read time including a split jump is Tr (i), and the CA # i that is the CA corresponding to CU # When the maximum recording time is Tw (i), the following equation (1) may be satisfied.

Figure 0004312783
Figure 0004312783

なぜなら、上記式(1)は、シームレス再生の十分条件である以下の式(2)を満たすためである。また、以下の式(2)において、TaはCAへの往復のアクセスにかかる最大アクセス時間である。   This is because the above formula (1) satisfies the following formula (2), which is a sufficient condition for seamless reproduction. Further, in the following formula (2), Ta is the maximum access time required for a round-trip access to the CA.

Figure 0004312783
Figure 0004312783

また、CAエンコード完了に同期してアフレコデータのディスクへの記録を行っているため、アフレコ用バッファ504中のデータが累積していくことはなく、アフレコ用バッファ504のオーバーフローもない。   Further, since the after-recording data is recorded on the disk in synchronization with the completion of the CA encoding, the data in the after-recording buffer 504 is not accumulated, and the after-recording buffer 504 does not overflow.

式(1)中のTr(i)は、オリジナルストリームの最大ビットレートとアフレコオーディオストリームの最大ビットレートをそれぞれRo、Raとしたとき、以下の式(3)を満たす。また、Rsはオーディオフレームデータの入力速度および出力速度、すなわちオーディオビットレートを示している。   Tr (i) in equation (1) satisfies the following equation (3) when the maximum bit rate of the original stream and the maximum bit rate of the after-recording audio stream are Ro and Ra, respectively. Rs indicates the input speed and output speed of audio frame data, that is, the audio bit rate.

Figure 0004312783
Figure 0004312783

上記式(3)の右辺第1項、第2項はそれぞれCU中のVU読み出し時間およびCA読み出し時間を表す。右辺第3項は読み出しに伴う分断ジャンプによるアクセス時間を表す。CU読み出し中の分断ジャンプは最大1回であるため、上記式(3)は、すなわちTr(i)は、1回分のアクセス時間を示している。   The first and second terms on the right side of the above equation (3) represent the VU read time and CA read time in the CU, respectively. The third term on the right side represents the access time due to the split jump accompanying reading. Since the divisional jump during the CU reading is a maximum of one time, the above equation (3), that is, Tr (i) indicates the access time for one time.

また、Tw(i)は、以下の式(4)を満たす。   Tw (i) satisfies the following expression (4).

Figure 0004312783
Figure 0004312783

ここで、上記式(4)の右辺第1項はCAへの往復アクセス時間を示す。CAへの往復のアクセス時間に最大アクセス時間Taを用いているのは、CA単位で任意の位置に記録可能にしているため、現在読み出し中のCUがディスクの最内周であり記録対象のCAがディスクの最外周ということも考えられ、最大値で見積もる必要があるためである。   Here, the first term on the right side of the equation (4) indicates the round-trip access time to the CA. The reason why the maximum access time Ta is used for the round-trip access time to the CA is that recording is possible at an arbitrary position in units of CA, so that the CU being read is the innermost circumference of the disc and the CA to be recorded is recorded. Is considered to be the outermost circumference of the disk, and it is necessary to estimate the maximum value.

尚、前述のようにCAをディスク上で連続的に記録するようにしているため、CA記録中のアクセスは発生しない。このことにより、CA記録に伴う時間を短くすることができ、結果としてCU再生時間の下限値を低く抑えることが可能となる。   Since the CA is continuously recorded on the disc as described above, access during CA recording does not occur. As a result, the time required for CA recording can be shortened, and as a result, the lower limit of the CU playback time can be kept low.

式(1)に式(3)および式(4)を代入してTe(i)で解くと、リアルタイムアフレコを保証可能なTe(i)の条件、すなわち以下の式(5)が得られる。また、Rvはビデオフレームデータの入力速度および出力速度、すなわちビデオビットレートを示している。   By substituting Equation (3) and Equation (4) into Equation (1) and solving with Te (i), the condition of Te (i) that can guarantee real-time after-recording, that is, Equation (5) below is obtained. Rv indicates the input speed and output speed of the video frame data, that is, the video bit rate.

Figure 0004312783
Figure 0004312783

つまり、アフレコ保証可能なCU再生時間下限値Teminは、以下の式(6)に示すものとなる。   In other words, the CU playback time lower limit value Temin that can be guaranteed after-recording is expressed by the following equation (6).

Figure 0004312783
Figure 0004312783

このとき、CU再生時間の上限値Temaxは、以下の式(7)のように設定する。ここで、TvmaxはVUの最大再生時間である。   At this time, the upper limit value Temax of the CU playback time is set as in the following equation (7). Here, Tvmax is the maximum playback time of VU.

Figure 0004312783
Figure 0004312783

CU再生時間の上限値を設定するのは、アフレコ用音声と通常音声との同期再生に必要な遅延用メモリの最大量を見積り可能にし、再生互換性を保証するためである。尚、本実施の形態1では、オーディオビットレートRaおよびビデオビットレートRvに応じて多重化間隔下限値Teminを設定しているが、ビットレートに関わらず一定の下限値を設定しても良い。ただし、その値は最大のビットレートに基づいたものでなければならない。   The upper limit of the CU playback time is set in order to make it possible to estimate the maximum amount of delay memory required for synchronized playback of post-recording sound and normal sound, and to guarantee playback compatibility. In Embodiment 1, the multiplexing interval lower limit value Temin is set according to the audio bit rate Ra and the video bit rate Rv. However, a fixed lower limit value may be set regardless of the bit rate. However, the value must be based on the maximum bit rate.

また、CU再生時間が上記の制限を満たせば、ストリーム中のVU再生時間は固定でも可変でも構わない。   Further, the VU playback time in the stream may be fixed or variable as long as the CU playback time satisfies the above restriction.

また、本実施の形態1では、分断ジャンプと過去のCUへのピックアップの移動とを非同期に行うことを想定している。この理由は、非同期に行った方が同期して行った場合に比べ、リアルタイムアフレコを行うための条件として厳しい(再生用データの読み出しが途切れる期間が長い)ため、非同期でリアルタイムアフレコが可能であれば同期でも可能であり、実装の自由度を高めることが可能になるためである。   In the first embodiment, it is assumed that the split jump and the movement of the pickup to the past CU are performed asynchronously. The reason for this is that the condition for performing real-time after-recording is more severe than when performing asynchronously (the read data is interrupted for a longer period of time), so asynchronous real-time after-recording is possible. This is because synchronization is possible and the degree of freedom of implementation can be increased.

従って、分断ジャンプと過去のCUへのピックアップの移動を同期して行うことを前提にTeminを設定しても良い。この場合、式(3)の右辺第2項を取り除いて考えれば良い。   Therefore, Temin may be set on the assumption that the split jump and the movement of the pickup to the past CU are performed in synchronization. In this case, the second term on the right side of Equation (3) may be removed and considered.

<管理情報ファイルフォーマット>
本発明に係る管理情報ファイルフォーマットについて図9ないし図15を用いて説明する。
<Management information file format>
The management information file format according to the present invention will be described with reference to FIGS.

まず、オリジナルストリーム管理情報ファイルについて説明する。オリジナルストリーム管理情報ファイルは、図9に示すように、このファイルが管理するオリジナルストリームファイル全体に関する属性情報を格納するo_attribute()、VUに関する情報を格納するvideo_unit_table()、このファイルが管理するアフレコデータファイル全体に関する属性情報を格納するp_attribute()、およびCAに関する情報を格納するcontinuous_area_table()で構成される。   First, the original stream management information file will be described. As shown in FIG. 9, the original stream management information file has o_attribute () for storing attribute information about the entire original stream file managed by this file, video_unit_table () for storing information about VU, and post-record data managed by this file. It consists of p_attribute () that stores attribute information related to the entire file, and continuous_area_table () that stores information related to CA.

video_unit_table()は、図10(a)に示すように、VUの数を示すnumber_of_video_unitと各VUに関する情報を格納するvideo_unit_info()とで構成される。   As shown in FIG. 10A, video_unit_table () is composed of number_of_video_unit indicating the number of VUs and video_unit_info () storing information on each VU.

video_unit_info()は、図10(b)に示すように、所定のVUに関する各種属性情報を示すVU_flags、所定のVUの先頭表示フレームのPTS(Presentation Time Stamp)を格納するVU_PTS、およびファイルの先頭からの相対パック番号を格納するVU_PNで構成される。VU_PTSおよびVU_PNによって特定のPTSに対応するVUの位置を特定することが可能になる。すなわち、VU_PTSはオリジナルストリーム(AVデータ)の再生開始時刻を示し、VU_PNはCA及びCUを記録する第1の連続領域の位置情報、言い換えるとCAの先頭位置情報を示す。   As shown in FIG. 10B, video_unit_info () is VU_flags indicating various attribute information related to a predetermined VU, VU_PTS storing a PTS (Presentation Time Stamp) of a head display frame of the predetermined VU, and from the head of the file. It is composed of VU_PN that stores the relative pack number. VU_PTS and VU_PN make it possible to specify the position of the VU corresponding to a specific PTS. That is, VU_PTS indicates the reproduction start time of the original stream (AV data), and VU_PN indicates position information of the first continuous area in which CA and CU are recorded, in other words, CA head position information.

VU_flags()は、図11(a)に示すようにフラグfirst_unit_flagを含む。first_unit_flagは1bitの情報であり、図11(b)に示すように、0bの場合には管理するVUがCUの先頭でないことを意味し、1bの場合には管理するVUがCUの先頭であることを意味する。   VU_flags () includes a flag first_unit_flag as shown in FIG. First_unit_flag is 1-bit information. As shown in FIG. 11B, 0b means that the VU to be managed is not the head of the CU, and 1b means that the VU to be managed is the head of the CU. Means that.

continuous_area_table()は、図12(a)に示すように、CAの数を示すnumber_of_continuous_areaと各CAに関する情報を格納するcontinuous_area_info()とで構成される。   As shown in FIG. 12A, continuous_area_table () is composed of number_of_continuous_area indicating the number of CAs and continuous_area_info () for storing information on each CA.

continuous_area_info()は、図12(b)に示すように、所定のCAに関する各種属性情報を示すCA_flags、所定のCAに関して対応するCUの先頭表示フレームのPTS(Presentation Time Stamp)を格納するCA_PTS、およびファイルの先頭からの相対パック番号を格納するCA_PNで構成される。CA_PTSおよびCA_PNによって、オリジナルストリーム中の特定のPTSに対応するCAの位置を特定することが可能になる。   As shown in FIG. 12B, continuous_area_info () is CA_flags indicating various attribute information related to a predetermined CA, CA_PTS storing a PTS (Presentation Time Stamp) of the head display frame of the corresponding CU regarding the predetermined CA, and Consists of CA_PN that stores the relative pack number from the beginning of the file. CA_PTS and CA_PN make it possible to specify the location of the CA corresponding to a specific PTS in the original stream.

CA_flags()は、図13(a)に示すようにフラグplacement_flagを含む。placement_flagは1bitの情報であり、図13(b)に示すように、0bの場合には管理するCAが対応する(同期再生する)CUの直前にないことを意味し、1bの場合には管理するCAが対応する(同期再生する)CUの直前にあることを意味する。   CA_flags () includes a flag placement_flag as shown in FIG. The placement_flag is 1-bit information. As shown in FIG. 13B, in the case of 0b, it means that the managed CA is not immediately before the corresponding (synchronized playback) CU, and in the case of 1b, it is managed. This means that the CA to be executed is immediately before the corresponding (synchronized playback) CU.

このフラグを参照することで、非破壊編集結果を再生する際に再生が途切れる可能性を知ることが可能である。すなわち、このフラグが0bであれば、CAへのシークが発生し、再生が途切れる可能性が高いことがわかる。   By referring to this flag, it is possible to know the possibility that the reproduction is interrupted when the nondestructive editing result is reproduced. That is, if this flag is 0b, it can be seen that there is a high possibility that seek to the CA will occur and playback will be interrupted.

なお、o_attribute()およびp_attribute()については説明を省略する。   A description of o_attribute () and p_attribute () is omitted.

最後にプログラム情報ファイルについて説明する。プログラム情報ファイルは図14に示すように、プログラム情報全般の属性情報を格納するpg_attribute()と、プログラムを構成する各シーンに関する情報を格納するscene_table()とで構成される。   Finally, the program information file will be described. As shown in FIG. 14, the program information file is composed of pg_attribute () for storing attribute information of the entire program information, and scene_table () for storing information regarding each scene constituting the program.

scene_table()は、図15(a)に示すように、シーン数を格納するnumber_of_sceneと各シーンに関する情報を格納するscene_info()とで構成される。scene_info()は図15(b)に示すように、所定のシーンを含むオリジナルストリームファイルを管理するオリジナルストリーム管理情報ファイルのファイル名を格納するsc_filename、所定のシーンをそのオリジナルストリームのどこから再生するかの情報を格納するsc_start_PTS、および所定のシーンの再生時間を格納するsc_durationで構成される。   As shown in FIG. 15A, the scene_table () includes number_of_scene that stores the number of scenes and scene_info () that stores information on each scene. As shown in FIG. 15B, scene_info () stores the file name of the original stream management information file that manages the original stream file including the predetermined scene, and from where in the original stream the predetermined scene is reproduced. Sc_start_PTS for storing the above information and sc_duration for storing the playback time of a predetermined scene.

<記録時の処理>
次に、ユーザから録画が指示された場合の処理を、図16のフローチャートに沿って説明する。このとき記録するAVストリームはビットレートRo=12Mbps、オーディオのビットレートRa=256kbpsで、VU再生時間固定の対応ストリームであるとする。また、すでにファイルシステムの管理情報はRAM上に読み込まれているものとする。
<Processing during recording>
Next, processing when recording is instructed by the user will be described with reference to the flowchart of FIG. The AV stream to be recorded at this time is a corresponding stream with a bit rate Ro = 12 Mbps, an audio bit rate Ra = 256 kbps, and a fixed VU playback time. It is assumed that the file system management information has already been read into the RAM.

まず、ストリームの構成や連続領域の構成を決定する(S701)。1VUを1GOP15フレームで構成するとしたとき、式(6)、式(7)に、Rs=20Mbps、Ta=1秒、Rv=12Mbps、Ra=256kbps、Tvmax=約0.5秒の条件を代入することで、Te(i)の範囲が3秒以上4秒以下として得られる。Tvmax=約0.5秒でこの条件を満たすのはTe(i)=3秒のときとなり、6個のVU毎にCAが挿入されることになる。   First, a stream configuration and a continuous region configuration are determined (S701). When 1VU is composed of 1 GOP15 frame, the conditions of Rs = 20 Mbps, Ta = 1 second, Rv = 12 Mbps, Ra = 256 kbps, and Tvmax = about 0.5 seconds are substituted into Equation (6) and Equation (7). Thus, the range of Te (i) is obtained as 3 seconds or more and 4 seconds or less. This condition is satisfied when Tvmax = about 0.5 seconds when Te (i) = 3 seconds, and a CA is inserted for every six VUs.

このときのCAの領域サイズは、3秒分のオーディオデータにパックヘッダやパケットヘッダがつくことを考慮して決定する。以上より、上記S701の処理は、AVデータであるオリジナルストリーム及びその関連データであるアフレコデータを所定の間隔毎に部分AVデータ(CU:すなわち、6個のVU)および部分関連データ(CA)に分割する第1のステップに相当する。   The CA area size at this time is determined in consideration of the fact that a pack header and a packet header are added to audio data for 3 seconds. As described above, the process of S701 converts the original stream as AV data and the post-record data as the related data into partial AV data (CU: 6 VUs) and partial related data (CA) at predetermined intervals. This corresponds to the first step of dividing.

6個のVUと1個のCAとを連続的に記録可能な空き領域をRAM102上のSpace Bitmapを参照して探す。存在しなければ録画を中止し、録画できないことをユーザに知らせる(S702)。   An empty area capable of continuously recording six VUs and one CA is searched with reference to a space bitmap on the RAM 102. If it does not exist, the recording is stopped and the user is notified that the recording cannot be performed (S702).

次に、オーディオエンコーダ117、ビデオエンコーダ118をそれぞれ起動する(S703)。また、記録用バッファに1ECCブロック分(32KB)以上のデータが蓄積されているかどうかをチェックし(S704)、蓄積されている間、S705からS708の処理を繰り返す。   Next, the audio encoder 117 and the video encoder 118 are activated (S703). Further, it is checked whether or not data for one ECC block (32 KB) or more is stored in the recording buffer (S704), and the processing from S705 to S708 is repeated while the data is stored.

すなわち、記録用バッファに1ECCブロック分以上のデータが蓄積されていれば、次に記録するディスク上のECCブロックの空き状況をRAM上のSpace Bitmapを参照して調べる(S705)。空きがあれば、記録用バッファ111中の1ECCブロック分のデータをディスクに記録する(S706)。空きがなければ、9個のVUとCAを記録可能な連続的な空き領域を探して(S707)、その空き領域の先頭へピックアップを移動し(S708)、記録用バッファ111中の1ECCブロック分のデータをディスクに記録する(S706)。   That is, if data for one ECC block or more is stored in the recording buffer, the vacant status of the ECC block on the disk to be recorded next is checked with reference to the space bitmap on the RAM (S705). If there is a vacancy, data for one ECC block in the recording buffer 111 is recorded on the disk (S706). If there is no free space, a continuous free space in which 9 VUs and CAs can be recorded is searched (S707), the pickup is moved to the head of the free space (S708), and one ECC block in the recording buffer 111 is stored. Are recorded on the disc (S706).

以上より、上記S704の処理は、一続きの部分AVデータと部分関連データとを記録するための連続領域である第1の連続領域を確保する第2のステップに相当する。また、上記S706の処理は、第1の連続領域に前記部分AVデータと前記部分関連データとを連続的に記録する第3のステップに相当する。   As described above, the process of S704 corresponds to a second step of securing a first continuous area that is a continuous area for recording a series of partial AV data and partial related data. The processing of S706 corresponds to a third step of continuously recording the partial AV data and the partial related data in the first continuous area.

一方、記録用バッファ111に1ECCブロック分以上のデータが蓄積されていなければ、記録終了が指示されているかどうかをチェックし(S709)、記録終了でなければS704に移行する。   On the other hand, if data of one ECC block or more is not accumulated in the recording buffer 111, it is checked whether or not the recording end is instructed (S709), and if the recording is not ended, the process proceeds to S704.

S709において記録終了が指示されていた場合は、以下の処理を実行する。まず、記録用バッファ中の32KBに満たないデータに関して、末尾にダミーデータを付加し32KBにする(S710)。次に、そのデータをディスク上に記録する(S711〜S714)。尚、上記711〜S714の処理は、S705〜S708の処理と同様の処理である。   If recording end is instructed in S709, the following processing is executed. First, dummy data is added to the end of the data less than 32 KB in the recording buffer to make it 32 KB (S710). Next, the data is recorded on the disc (S711 to S714). Note that the processing of 711 to S714 is similar to the processing of S705 to S708.

さらに、RAM102上のオリジナルストリームに関する管理情報およびアフレコデータに関する管理情報をそれぞれオリジナルストリーム管理情報ファイルおよびアフレコデータ管理情報ファイルに記録する(S715)。また、ファイルシステム管理情報を光ディスク106に記録する(S716)。なお、その際のファイルシステム管理情報は、CAとCUとが別のファイルとして扱われるように構成する。   Further, the management information about the original stream and the management information about the after-recording data on the RAM 102 are recorded in the original stream management information file and the after-recording data management information file, respectively (S715). Further, file system management information is recorded on the optical disk 106 (S716). Note that the file system management information at that time is configured so that CA and CU are handled as separate files.

以上より、上記S716の処理は、前記部分AVデータおよび前記部分関連データとをそれぞれ別のファイルとして管理すると共に、前記部分AVデータおよび前記部分関連データと前記第1の連続領域とを別のファイルとして扱うための情報を管理するファイルシステム管理情報を前記記録媒体上に記録する第4のステップに相当する。   As described above, the process of S716 manages the partial AV data and the partial related data as separate files, and separates the partial AV data and the partial related data from the first continuous area into separate files. This corresponds to the fourth step of recording file system management information for managing information for handling on the recording medium.

また、上記S715の処理は、前記部分AVデータの再生開始時刻と、前記第1の連続領域の位置情報の対応情報とを前記記録媒体に記録する第5のステップに相当する。   The process of S715 corresponds to a fifth step of recording the reproduction start time of the partial AV data and the correspondence information of the position information of the first continuous area on the recording medium.

以上の処理と並行するオーディオエンコーダ117、ビデオエンコーダ118およびマルチプレクサ113の動作について説明する。それぞれのエンコーダがエンコードした結果は、オーディオ記録用バッファ119およびビデオ記録用バッファ120に送られる。マルチプレクサ113はそれらのデータをMPEG-2 PSに多重化して記録用バッファ114に格納する。   The operations of the audio encoder 117, the video encoder 118, and the multiplexer 113 in parallel with the above processing will be described. The result encoded by each encoder is sent to the audio recording buffer 119 and the video recording buffer 120. The multiplexer 113 multiplexes these data into MPEG-2 PS and stores them in the recording buffer 114.

記録用バッファ114に1VU分のデータが送られ、なおかつ、そのVUが9×i番目(iは0以上の整数)のVUであれば、上述のサイズを持ったCAを先に記録用バッファ111に送る。   If data for 1 VU is sent to the recording buffer 114 and the VU is a 9 × i-th VU (i is an integer equal to or greater than 0), the CA having the above-described size is the recording buffer 111 first. Send to.

さらに、ホストCPU101に1VU分のデータがエンコードできたことを通知し、ホストCPU101はVUの先頭PTS、パック数およびCAを構成するパック数を基にRAM102上のオリジナルストリームに関する管理情報およびアフレコデータに関する管理情報を更新する。   Further, the host CPU 101 is notified that data of 1 VU has been encoded, and the host CPU 101 relates to management information and post-record data relating to the original stream on the RAM 102 based on the top PTS of the VU, the number of packs and the number of packs constituting the CA. Update management information.

<再生時の処理>
すでにアフレコを行ったプログラムに対してユーザから再生が指示された場合の処理を、図17のフローチャートに沿って説明する。ここで、すでに再生の対象となるプログラム情報ファイルはRAM102に読み込まれているものとする。
<Processing during playback>
Processing in the case where reproduction is instructed by the user to a program that has already been dubbed will be described with reference to the flowchart of FIG. Here, it is assumed that the program information file to be reproduced has already been read into the RAM 102.

まず、プログラム情報ファイル中のscene_info()のsc_filenameを参照し、このプログラムが参照しているオリジナルストリームファイルおよびアフレコデータファイルをopenする。同時にそれらを管理するオリジナルストリーム管理情報ファイルを読み込む(S901)。   First, sc_filename of scene_info () in the program information file is referred to, and the original stream file and the after-record data file referred to by this program are opened. At the same time, an original stream management information file for managing them is read (S901).

次にシーン番号に0をセットし(S902)、シーン番号がscene_table()中のnumber_of_sceneより小さい間(S903)、以下のシーン番号に対応するscene_infoの内容を参照して後述するシーンの再生を行い(S904)、終わったらシーン番号をインクリメントする(S905)。   Next, 0 is set to the scene number (S902), and while the scene number is smaller than number_of_scene in the scene_table () (S903), the scene described later is reproduced with reference to the contents of the scene_info corresponding to the following scene numbers. (S904) When finished, the scene number is incremented (S905).

次にシーン再生処理について図18を用いて説明する。まず、scene_info()中のsc_filenameに対応する、すでにRAM102に読み込まれたオリジナル管理情報のvideo_unit_table()を参照し、sc_start_PTS以下でなおかつ最大のVU_PTSを持つ、video_unit_info()を探す(S801)。上記S801の処理は、再生が開始されるシーンのVU番号を求めることとなる。なお、video_unit_table()中でvideo_unit_info()の順番をVU番号と呼ぶ。   Next, scene reproduction processing will be described with reference to FIG. First, the video_unit_table () of the original management information corresponding to the sc_filename in the scene_info () that has already been read into the RAM 102 is referenced to search for the video_unit_info () that is not more than sc_start_PTS and has the maximum VU_PTS (S801). The process of S801 determines the VU number of the scene where playback is started. Note that the order of video_unit_info () in video_unit_table () is called a VU number.

次に、continuous_area_table()を参照し、sc_start_PTS以下でなおかつ最大のCA_PTSを持つcontinuous_area_info()を探す(S802)。上記S802の処理は、再生が開始されるシーンに対応するCAのアドレスを求めることとなる。さらに、その中のCA_PNで指定されるパックから、次のcontinuous_area_info()のCA_PNで指定されるパックの直前のパックまでをアフレコデータファイルから読み出す(S803)。   Next, referring to continuous_area_table (), a search is made for continuous_area_info () having a maximum CA_PTS that is less than or equal to sc_start_PTS (S802). The processing in S802 is to obtain the CA address corresponding to the scene where playback is started. Further, from the pack specified by CA_PN in the pack to the pack immediately before the pack specified by CA_PN of the next continuous_area_info () is read from the after-recording data file (S803).

次に現在のVU番号に対応するvideo_unit_info()のVU_PNを参照しVUのアドレスを求め(S804)、それを基にオリジナルストリームファイルからVUを読み出す(S805)。次に、そのシーンの終わりかどうかを判断する(S806)。具体的には、現在のシーンの既再生時間がscene_info()中のsc_duration以上であればそのシーンの終わりとする。   Next, the VU address is obtained by referring to the VU_PN of the video_unit_info () corresponding to the current VU number (S804), and the VU is read from the original stream file based on this (S805). Next, it is determined whether the end of the scene is reached (S806). Specifically, if the playback time of the current scene is greater than or equal to sc_duration in scene_info (), the end of the scene is set.

シーンの再生が終了していなければ、次にVU番号をインクリメントし(S807)、video_unit_info()中のfirst_unit_flagを参照することで、そのvideo_unit_info()が管理するVUがCUの先頭であるか否かが判断される(S808)。   If the playback of the scene has not ended, next, the VU number is incremented (S807), and by referring to first_unit_flag in video_unit_info (), whether or not the VU managed by the video_unit_info () is the head of the CU Is determined (S808).

このときfirst_unit_flagが1であれば、そのvideo_unit_info()が管理するVUはCUの先頭であると判断し、前述の手順で対応するCAのアドレスを求め(S809)、アフレコデータファイルからCAの読み出しを行う(S810)。一方、first_unit_flagが0であれば、そのvideo_unit_info()が管理するVUはCUの先頭でないと判断し、S804〜S808の処理を繰り返す。   At this time, if first_unit_flag is 1, it is determined that the VU managed by the video_unit_info () is the head of the CU, the address of the corresponding CA is obtained by the above procedure (S809), and the CA is read from the after-recording data file. Perform (S810). On the other hand, if first_unit_flag is 0, it is determined that the VU managed by the video_unit_info () is not the head of the CU, and the processes of S804 to S808 are repeated.

上記のストリームおよびデータの光ディスク106からの読み出しと平行して、デコード処理を以下のように行う。まず読み出されたVUは、デマルチプレクサ112に送られ、ビデオPESパケットおよびオーディオPESパケットが取り出され、ビデオPESパケットはビデオ再生用バッファ111に送られ、オーディオPESパケットはオーディオ再生用バッファ110に送られる。   In parallel with the reading of the stream and data from the optical disk 106, the decoding process is performed as follows. First, the read VU is sent to the demultiplexer 112, the video PES packet and the audio PES packet are taken out, the video PES packet is sent to the video playback buffer 111, and the audio PES packet is sent to the audio playback buffer 110. It is done.

デマルチプレクサ112はパックヘッダからSCRを取り出し、システムクロック105を更新する。ビデオデコーダ116およびオーディオデコーダ115は、システムクロック105が、PESパケットヘッダに付随するタイムスタンプと一致した時点でデコードや出力を行う。   The demultiplexer 112 extracts the SCR from the pack header and updates the system clock 105. The video decoder 116 and the audio decoder 115 perform decoding and output when the system clock 105 matches the time stamp attached to the PES packet header.

本実施の形態1においては、オリジナルストリームを格納するCUと、同期再生を行うアフレコデータを格納するCAがディスク上で物理的な近傍にあるため、シーン開始がCUの終端付近のVUからであったとしても、CAからVUのシークによって生じるデータ読み出しの停止時間はわずかで済む。   In the first embodiment, since the CU storing the original stream and the CA storing the post-recording data for synchronized playback are in the physical vicinity on the disk, the scene start is from the VU near the end of the CU. Even so, the data read stop time caused by the CA to VU seek is very short.

それに対し、アフレコデータを同期再生するオリジナルストリームの近傍に配置しない場合、シーンの先頭部分におけるアフレコデータの読み出しと、オリジナルストリームの読み出しとの間に生じるシーク時間は最悪ディスクの最内周から最外周に至るものになる。したがって本実施形態に比べ、シーン間で再生が途切れる可能性が高くなる。   On the other hand, if the post-record data is not placed near the original stream to be played back synchronously, the seek time between the post-record data read at the beginning of the scene and the original stream read is from the innermost to the outermost of the worst disk. It will lead to. Therefore, there is a higher possibility that the reproduction is interrupted between scenes as compared to the present embodiment.

<アフレコ時の処理>
次に、ユーザからアフレコが指示された場合の処理について説明する。アフレコ時の処理は前述の再生時の処理にいくつかの処理が加わったものであるため、差異部分についてのみ説明する。
<Processing after dubbing>
Next, processing when a user instructs post-recording will be described. Since the post-recording process is obtained by adding several processes to the above-described playback process, only the difference will be described.

まず、アフレコデータの記録のために、シーンの再生開始と同時にオーディオエンコーダ117を起動し、アフレコデータをエンコードした結果はPESパケットの形式でオーディオ記録用バッファ119に送る。マルチプレクサ113はPESパケットをパック化し、記録用バッファ114に送る。その際、パックヘッダのSCRおよびパケットヘッダのPTSはオリジナルストリームに合わせる。   First, in order to record after-recording data, the audio encoder 117 is activated simultaneously with the start of scene reproduction, and the result of encoding the after-recording data is sent to the audio recording buffer 119 in the form of a PES packet. The multiplexer 113 packs the PES packet and sends it to the recording buffer 114. At that time, the SCR of the pack header and the PTS of the packet header are matched with the original stream.

現在デコード中のCUの範囲を超えるPTSを持つパックが記録用バッファ114に到着した時点で、記録用バッファ114に存在するパック列をアフレコデータファイルに記録する。記録対象のCAの位置は現在デコード中のCUのPTSからcontinuous_area_table()を参照することで求める。   When a pack having a PTS exceeding the range of the CU currently being decoded arrives at the recording buffer 114, the pack string existing in the recording buffer 114 is recorded in the after-recording data file. The position of the CA to be recorded is obtained by referring to continuous_area_table () from the PTS of the CU currently being decoded.

CA記録時にディフェクトに遭遇した場合、記録中のCAは破棄し、別の領域に新規にCAを記録する。これは、記録中のCAの記録領域はディフェクトによって減少し、対応するCUの再生時間分のデータをCAに記録できなくなってしまうためである。その際に、そのCAを管理するcontinuous_area_info()中のplacement_flagを0に変更することで、対応するCUの直前にCAが存在しないことがわかるようにしておく。もちろん、ファイルシステム管理情報における破棄したCAのextentは、新規作成したCAのextentに置き換える。   If a defect is encountered during CA recording, the CA being recorded is discarded and a new CA is recorded in another area. This is because the CA recording area being recorded is reduced by the defect, and data corresponding to the reproduction time of the corresponding CU cannot be recorded in the CA. At that time, by changing the placement_flag in continuous_area_info () that manages the CA to 0, it is understood that there is no CA immediately before the corresponding CU. Of course, the discarded CA extent in the file system management information is replaced with the newly created CA extent.

これにより、非破壊編集時や非破壊編集結果の再生時に、CAとCUとが連続して記録されていない区間が前記placement_flagを参照するだけでわかり、その区間は再生が途切れる可能性が高いことを事前にユーザに伝えることが可能である。また、このフラグを頼りに連続して記録されていないCAとCUとを後から連続して記録されるよう再配置することも可能である。   As a result, during non-destructive editing or during playback of non-destructive editing results, sections where CA and CU are not continuously recorded can be found by simply referring to the placement_flag, and there is a high possibility that playback will be interrupted in those sections. Can be communicated to the user in advance. In addition, CA and CU that are not continuously recorded can be rearranged so as to be continuously recorded later, relying on this flag.

<実施の形態1における変形例>
本実施の形態1においては、アフレコデータファイルにオリジナルストリームファイルと同様にMPEG-2 PS形式で記録しているが、Elementary Stream、すなわちパック化やパケット化せずに記録することも考えられる。これにより、CAの一部分のみのアフレコデータを書き換える際に、パックからAAUを抜き出してAAUを置き換えて再度パック化する、という手間が不要になる。
<Modification in Embodiment 1>
In the first embodiment, the post-record data file is recorded in the MPEG-2 PS format in the same way as the original stream file. However, it is also possible to record without the elementary stream, that is, without being packed or packetized. This eliminates the trouble of extracting the AAU from the pack, replacing the AAU, and repacking when rewriting the post-record data of only a part of the CA.

また、本実施の形態1においては、CAにオーディオデータを記録しているが、他の種類のデータを記録してもよい。例えば、オリジナルストリーム中のビデオに重畳して表示するグラフィックスデータを記録してもよい。   In the first embodiment, audio data is recorded in the CA, but other types of data may be recorded. For example, graphics data to be displayed superimposed on the video in the original stream may be recorded.

また、本実施の形態1においては、1個のAAUが複数のパックにまたがるように記録できるが、またがらないように制限してもよい。このことによって、CAの一部のみのアフレコデータを書き換える際に、書き換えたいAAUの含まれるパックを上書きするだけで済む。   In the first embodiment, one AAU can be recorded so as to span a plurality of packs, but may be limited so as not to straddle. Thus, when the after-recording data of only a part of the CA is rewritten, it is only necessary to overwrite the pack including the AAU to be rewritten.

また、本実施の形態1においては、アフレコ時にCA中にディフェクトを検出した場合、そのCAを破棄し別の領域に記録している。しかし、ディフェクトがあることを想定し、初期録画時にディフェクト用にマージンを考慮してCAのサイズを決定し、アフレコ時にディフェクトを検出した場合は、そのCA中の次の位置に記録するようにしてもよい。このことにより、CAとCUとが連続的に記録できる。   In the first embodiment, when a defect is detected during CA after the dubbing, the CA is discarded and recorded in another area. However, assuming that there is a defect, the size of the CA is determined in consideration of a margin for the defect during the initial recording, and if a defect is detected during the post-recording, it is recorded at the next position in the CA. Also good. As a result, CA and CU can be recorded continuously.

また、本実施の形態1においては、別ファイルであるCAとCUとを対応付けるため、CU中のデータの先頭のタイムスタンプからCUおよびCAの先頭アドレスを算出できるようにしているが、対応付けがわかるようになっていればどのような表現形態であってもよいことは言うまでもない。   In the first embodiment, since CA and CU, which are separate files, are associated with each other, the head addresses of CU and CA can be calculated from the time stamp at the beginning of the data in the CU. It goes without saying that any form of expression may be used as long as it is understood.

また、本実施の形態1においては、MPEG-2 PSを用いているが、MPEG-2 TSでも同様に実現できることは言うまでもない。   In Embodiment 1, MPEG-2 PS is used, but it goes without saying that MPEG-2 TS can be similarly realized.

〔実施の形態2〕
本発明の第2の実施形態について、図19を用いて説明する。
[Embodiment 2]
A second embodiment of the present invention will be described with reference to FIG.

本実施の形態2における実施の形態1との違いは、実施の形態1が、同期再生を行う複数のデータを記録媒体上で連続的に配置し、それぞれのデータを別のファイルとして管理するというものであるのに対し、本実施の形態2は、それぞれのデータは同じ再生時間軸上にあるものの同時には再生せず切り替えて再生することを前提にしている点にある。   The difference between the second embodiment and the first embodiment is that the first embodiment continuously arranges a plurality of data to be synchronized and reproduced on a recording medium, and manages each data as a separate file. In contrast, the second embodiment is based on the premise that each piece of data is on the same reproduction time axis but is not reproduced at the same time but is switched and reproduced.

具体的には、DVD-Videoにおけるマルチアングル機能と呼ばれる、同じ時間軸における複数のアングルからの映像を再生中に切り替え可能な機能を想定したものである。   Specifically, a function called a multi-angle function in DVD-Video, which can be switched during playback of videos from a plurality of angles on the same time axis, is assumed.

尚、本実施の形態2に係る記録動作は、上記実施の形態1に係る記録動作において同期再生されるべきオリジナルストリームとアフレコデータとの関係を、同じ再生時間軸上にある2種類のオリジナルストリームの関係に置き換えただけのものであり、実質的な動作は同じである。   In the recording operation according to the second embodiment, the relationship between the original stream to be synchronously reproduced and the after-recording data in the recording operation according to the first embodiment is represented by two kinds of original streams on the same reproduction time axis. The actual operation is the same.

<ファイル構成>
ビデオ・オーディオデータをMPEG-2 PS形式で多重化し、アングル毎に別ファイルに記録する。図19(a)の例では、第1のアングルからのデータをANGL0001.M2P、第2のアングルからのデータをANGL0002.M2Pに記録する。
<File structure>
Video / audio data is multiplexed in MPEG-2 PS format and recorded in a separate file for each angle. In the example of FIG. 19A, data from the first angle is recorded in ANGL0001.M2P, and data from the second angle is recorded in ANGL0002.M2P.

<ディスクへの配置>
図19(b)に示すように第1のアングルからのデータであるANGL0001.M2Pを部分データ2021、2022、2023に分割し、第2のアングルからのデータであるANGL0002.M2Pを部分データ2011、2012、2013に分割し、ディスク2001上で交互に配置する。なお、分割の単位の決定方法は、DVD-Videoにおけるマルチアングルデータの配置と同様であるため、説明を省略する。
<Distribution to disk>
As shown in FIG. 19B, the data from the first angle ANGL0001.M2P is divided into partial data 2021, 2022, and 2023, and the data from the second angle ANGL0002.M2P is divided into partial data 2011, The data is divided into 2012 and 2013 and arranged alternately on the disk 2001. Note that the method for determining the division unit is the same as the arrangement of multi-angle data in DVD-Video, and thus the description thereof is omitted.

このことによって、DVD-Videoにおけるマルチアングル切り替えと同様のアングル切り替えのレスポンスを実現すると同時にそれぞれのデータファイルは一般的なMPEG-2 PS対応デコーダで再生可能とすることができる。   As a result, an angle switching response similar to multi-angle switching in DVD-Video can be realized, and at the same time, each data file can be reproduced by a general MPEG-2 PS compatible decoder.

〔実施の形態3〕
本発明の第3の実施形態について、図21ないし図28を用いて説明する。
[Embodiment 3]
A third embodiment of the present invention will be described with reference to FIGS.

本実施の形態3における実施の形態1との違いは、実施の形態1では、アフレコ用領域を1個のファイル(すなわち、図4におけるアフレコデータファイル(SHRP0001.PRE))で管理しているのに対し、本実施の形態3では、空き領域を確保しておくためのファイルと個々のAVデータを記録するためのファイルを別にしている点にある。なお、本実施の形態3は実施の形態1と類似するため、相違点に絞って説明を行う。   The difference between the third embodiment and the first embodiment is that in the first embodiment, the after-recording area is managed by one file (that is, the after-recording data file (SHRP0001.PRE) in FIG. 4). On the other hand, in the third embodiment, a file for securing a free area and a file for recording individual AV data are separated. Since the third embodiment is similar to the first embodiment, only the differences will be described.

<ファイル・ディレクトリ構成>
本実施の形態3におけるファイル・ディレクトリ構成を図21に示す。このファイル・ディレクトリ構成では、実施の形態1におけるファイル・ディレクトリ構成(図4参照)に対して、アフレコ領域予約ファイル(SHRP0001.RSV)、アフレコデータ管理情報ファイル(SHRP0001.PMI)、およびグラフィックスファイル(SHRP0001.PNG)が追加されている。
<File directory structure>
FIG. 21 shows a file / directory structure according to the third embodiment. In this file / directory structure, an after-recording area reservation file (SHRP0001.RSV), an after-recording data management information file (SHRP0001.PMI), and a graphics file are added to the file / directory structure in the first embodiment (see FIG. 4). (SHRP0001.PNG) has been added.

アフレコ領域予約ファイル(SHRP0001.RSV)は、アフレコ用の領域を予約するためのファイルである。アフレコデータ管理情報ファイル(SHRP0001.PMI)は、アフレコデータファイルに対応する管理情報である。グラフィックスファイル(SHRP0001.PNG)は、ビデオに重畳表示するグラフィックスデータを格納するファイルである。また、プログラム情報ファイル(SHRP0001.PGM)、オリジナルストリーム管理情報ファイル(SHRP0001.OMI)、オリジナルストリームファイル(SHRP0001.M2P)は、実施の形態1における同名称のファイルと同じものである。   The after-recording area reservation file (SHRP0001.RSV) is a file for reserving an after-recording area. The after-recording data management information file (SHRP0001.PMI) is management information corresponding to the after-recording data file. The graphics file (SHRP0001.PNG) is a file that stores graphics data to be superimposed on the video. Further, the program information file (SHRP0001.PGM), the original stream management information file (SHRP0001.OMI), and the original stream file (SHRP0001.M2P) are the same as the files having the same names in the first embodiment.

アフレコ領域予約ファイルは、録画時にオリジナルストリームファイル1個につき1個記録される。アフレコデータ管理情報ファイルは、アフレコデータファイル1個につき1個作成される。グラフィックスファイルは、録画後に非破壊編集によって追加されるファイルであり、ビデオに重畳表示するタイトルや手書き文字の画像を格納する。グラフィックスファイルにおける画像の格納フォーマットにはPNG(Portable Network Graphics)を用いる。   One after-recording area reservation file is recorded for each original stream file at the time of recording. One after-recording data management information file is created for each after-recording data file. The graphics file is a file added by nondestructive editing after recording, and stores titles and handwritten character images to be superimposed on the video. PNG (Portable Network Graphics) is used as an image storage format in the graphics file.

また、アフレコデータファイル(SHRP0001.PRE)については、実施の形態1とは異なり、アフレコを行うことによってはじめて生成される。つまり録画時には、実施の形態1におけるアフレコデータファイルの代わりにアフレコ領域予約ファイルが記録されることになる。   Also, the post-record data file (SHRP0001.PRE) is generated only after performing post-recording, unlike the first embodiment. That is, at the time of recording, an after-recording area reservation file is recorded instead of the after-recording data file in the first embodiment.

<AVストリームの形態>
AVストリームの形態については、図5を参照して説明した実施の形態1の構成と同様である。
<AV stream format>
The form of the AV stream is the same as that of the first embodiment described with reference to FIG.

<アフレコ領域予約ファイル>
アフレコ領域予約ファイルは、実施の形態1において図6で示されるアフレコデータファイルと同様の構成をとる。すなわち、アフレコ領域予約ファイルは、整数個のContinuous Area(CA)で構成され、CA1個はオリジナルストリームファイルにおけるCU1個に対応して存在し、対応するCUのアフレコデータを記録するための領域を確保する。ただし、ここでのCAはあくまでも領域を確保するためのものであり、再生対象のAVデータではないため、中身のデータは何であってもよい。
<Dubbing area reservation file>
The after-recording area reservation file has the same configuration as the after-recording data file shown in FIG. 6 in the first embodiment. That is, the after-recording area reservation file is composed of an integer number of continuous areas (CA), and one CA exists corresponding to one CU in the original stream file, and an area for recording the after-recording data of the corresponding CU is secured. To do. However, the CA here is only for securing an area, and is not AV data to be played back, so the content data may be anything.

<ディスクへの配置>
本実施の形態3における各ファイルのディスクへの配置形態について説明する。図22(a)〜22(b)は、録画後、アフレコが行われていない状態(すなわち、アフレコデータファイルが作成されていない状態)のファイル配置をしめしている。図22(a)に示す互いに対応するオリジナルストリームファイル(SHRP0001.M2P)とアフレコ領域予約ファイル(SHRP0001.RSV)とは、光ディスク106でCUの直前に対応するCAが配置されるように記録する(図22(b))。
<Distribution to disk>
An arrangement form of each file on the disk in the third embodiment will be described. 22A to 22B show the file arrangement in a state where no after-recording has been performed after recording (that is, no after-recording data file has been created). The original stream file (SHRP0001.M2P) and the after-recording area reservation file (SHRP0001.RSV) corresponding to each other shown in FIG. 22A are recorded so that the corresponding CA is arranged immediately before the CU on the optical disc 106 ( FIG. 22 (b)).

次に、オーディオおよびグラフィックスを追加記録した後の、アフレコ領域予約ファイル、アフレコデータファイルおよびグラフィックスファイルのディスクへの配置について図23(a)〜23(b)を用いて説明する。図23(a)に、追加記録されるグラフィックスファイル(SHRP0001.PNG)およびアフレコデータファイル(SHRP0001.PRE)の構成を示す。グラフィックスファイルはグラフィックスデータIMGを格納している。アフレコデータファイルは、図22(a)に示したオリジナルストリームファイルにおけるCU#n−1、CU#n、CU#n+1のそれぞれに対応するアフレコオーディオデータPR#1、PR#2、PR#3を格納している。   Next, the arrangement of the after-recording area reservation file, the after-recording data file, and the graphics file on the disc after additionally recording the audio and graphics will be described with reference to FIGS. 23 (a) to 23 (b). FIG. 23A shows the configuration of a graphics file (SHRP0001.PNG) and an after-recording data file (SHRP0001.PRE) to be additionally recorded. The graphics file stores graphics data IMG. The post-record data file includes post-record audio data PR # 1, PR # 2, and PR # 3 corresponding to each of CU # n-1, CU # n, and CU # n + 1 in the original stream file shown in FIG. Storing.

上述のIMGおよびPRのデータは、図23(b)で示す形態にて光ディスク106に配置される。すなわち、図22(b)において、CA#n−1で確保されていた領域にPR#1、CA#nで確保されていた領域にPR#2、CA#n+1で確保されていた領域にPR#3が配置される。また、グラフィックスデータIMGは、CA#n+1で確保されていた領域に配置されている。   The above-mentioned IMG and PR data are arranged on the optical disc 106 in the form shown in FIG. That is, in FIG. 22B, PR # 1 is assigned to the area reserved for CA # n-1, PR # 2 is assigned to the area reserved for CA # n, and PR is assigned to the area reserved for CA # n + 1. # 3 is arranged. Further, the graphics data IMG is arranged in an area secured by CA # n + 1.

このように、CAによって確保していた領域にIMGおよびPRのデータを配置することによって、アフレコ領域予約ファイル(SHRP0001.RSV)を構成するCA#n−1、CA#n、CA#n+1の領域サイズが縮小される。この縮小は、ファイルシステム管理情報中におけるそれぞれのCAの領域を管理しているextentを変更することで実現される。   Thus, by arranging IMG and PR data in the area reserved by CA, CA # n-1, CA # n, CA # n + 1 areas constituting the after-recording area reservation file (SHRP0001.RSV) The size is reduced. This reduction is realized by changing the extent managing each CA area in the file system management information.

このように、アフレコ領域の空きを管理するファイルであるアフレコ領域予約ファイルを導入することで、複数種類のデータを後から追加していくのが容易になる。また、グラフィックスデータとアフレコオーディオデータを別のファイルに格納することによって、グラフィックスデータだけを別のプログラムから参照したりすることができるようになり、柔軟性が増す。   In this way, by introducing an after-recording area reservation file that is a file for managing the free space in the after-recording area, it becomes easy to add a plurality of types of data later. Further, by storing the graphics data and the after-recording audio data in different files, only the graphics data can be referred to from another program, thereby increasing flexibility.

<管理情報ファイルフォーマット>
オリジナルストリーム管理情報ファイルのフォーマットは実施の形態1と同一であり、ここでは説明を省略する。アフレコデータ管理情報ファイルのフォーマットは、実施の形態1におけるオリジナルストリーム管理情報ファイルとほぼ共通であるが、p_attribute()およびcontinuous_area_table()が存在しない点で異なる。
<Management information file format>
The format of the original stream management information file is the same as that in the first embodiment, and a description thereof is omitted here. The format of the after-recording data management information file is almost the same as the original stream management information file in the first embodiment, but differs in that p_attribute () and continuous_area_table () do not exist.

次に、プログラム情報ファイルの構成を図24に示す。本実施の形態3に係るプログラム情報ファイルは、録画後から追加されたオーディオデータおよびグラフィックスデータをそれぞれ管理するsubaudio_table()およびgraphics_table()が追加された点で実施の形態1(図14参照)とは異なる。   Next, the structure of the program information file is shown in FIG. The program information file according to the third embodiment is different from the first embodiment in that subaudio_table () and graphics_table () for managing audio data and graphics data added after recording are added, respectively (see FIG. 14). Is different.

subaudio_table()は、図25(a)に示すように、オーディオデータの個数を表すnumber_of_subaudioと、各オーディオデータに関する情報を格納するsubaudio_info()とで構成される。subaudio_info()は、図25(b)に示すように、所定のオーディオデータを管理するアフレコデータ管理情報ファイルのファイル名を格納するSA_filenameと、所定のオーディオデータの各種属性を管理するSA_flagsと、プログラム中の再生開始タイミングと再生継続時間とをそれぞれ示すSA_start_timeとSA_durationとで構成される。   As shown in FIG. 25A, the subaudio_table () is composed of number_of_subaudio indicating the number of audio data and subaudio_info () for storing information on each audio data. As shown in FIG. 25 (b), subaudio_info () includes SA_filename for storing a file name of an after-recording data management information file for managing predetermined audio data, SA_flags for managing various attributes of predetermined audio data, and a program. It is composed of SA_start_time and SA_duration respectively indicating the playback start timing and playback duration.

一方、graphics_table()は、図26(a)に示すように、グラフィックスファイルの個数を表すnumber_of_graphicsと各グラフィックスファイルに関する情報を格納するgraphics_info()とで構成される。graphics_info()は、図26(b)に示すように、所定のグラフィックスファイルのファイル名を格納するgr_filenameと、所定のグラフィックスデータの各種属性を管理するgr_flagsと、プログラム中の再生開始タイミングと再生継続時間とをそれぞれ示すgr_start_timeとgr_durationとで構成される。   On the other hand, graphics_table () is composed of number_of_graphics representing the number of graphics files and graphics_info () for storing information on each graphics file, as shown in FIG. As shown in FIG. 26 (b), graphics_info () includes gr_filename for storing a file name of a predetermined graphics file, gr_flags for managing various attributes of predetermined graphics data, reproduction start timing in the program, It consists of gr_start_time and gr_duration indicating the playback duration.

SA_flagsとgr_flagsとは同一の構成を持ち、図27(a)に示すようにフラグinterleave_flagを含む。interleave_flagは、1bitの情報であり、図27(b)に示すように、0bの場合、管理するオーディオデータあるいはグラフィックスファイルが対応する(同期再生する)CUの直前にないことを意味し、1bの場合、対応する(同期再生する)CUの直前にあることをそれぞれ意味する。このフラグを参照することで、非破壊編集結果を再生する際に再生が途切れる可能性を知ることが可能である。すなわち、このフラグが0bであれば、CAへのシークが発生し、再生が途切れる可能性が高いことがわかる。   SA_flags and gr_flags have the same configuration, and include a flag interleave_flag as shown in FIG. interleave_flag is 1-bit information. As shown in FIG. 27B, interleave_flag means that the managed audio data or graphics file is not immediately before the corresponding (synchronized playback) CU in the case of 0b. In the case of, it means that it is immediately before the corresponding (synchronized playback) CU. By referring to this flag, it is possible to know the possibility that the reproduction is interrupted when the nondestructive editing result is reproduced. That is, if this flag is 0b, it can be seen that there is a high possibility that seek to the CA will occur and playback will be interrupted.

<CU単位決定方法>
CU単位決定方法については、図7および図8を参照して説明した実施の形態1の方法と同様である。
<CU unit determination method>
The CU unit determination method is the same as the method of the first embodiment described with reference to FIGS.

<記録時の処理>
記録時の処理については、図16を参照して説明した実施の形態1の処理と同様である。
<Processing during recording>
The processing at the time of recording is the same as the processing in the first embodiment described with reference to FIG.

<再生時の処理>
すでにアフレコを行ったプログラムに対してユーザから再生が指示された場合の処理を以下に説明する。基本的な流れは実施の形態1においてフローチャート図17に沿って説明したとおりであるため同一の処理を行う部分については説明を省略する。ただし、本実施の形態3に係る再生処理では、シーン再生処理が実施の形態1とは異なるため、シーン再生処理のみに絞って図28に沿って説明する。
<Processing during playback>
A process in the case where reproduction is instructed by the user to a program that has already been dubbed will be described below. Since the basic flow is the same as that described with reference to the flowchart of FIG. 17 in the first embodiment, the description of the same processing is omitted. However, in the playback process according to the third embodiment, the scene playback process is different from that of the first embodiment, and therefore only the scene playback process will be described with reference to FIG.

まず、scene_info()中のsc_filenameに対応する、すでにRAM102に読み込まれたオリジナル管理情報のvideo_unit_table()を参照し、sc_start_PTS以下でなおかつ最大のVU_PTSを持つ、video_unit_info()を探す(S801)。なお、video_unit_table()中でvideo_unit_info()の順番をVU番号と呼ぶ。   First, the video_unit_table () of the original management information corresponding to the sc_filename in the scene_info () that has already been read into the RAM 102 is referenced to search for the video_unit_info () that is not more than sc_start_PTS and has the maximum VU_PTS (S801). Note that the order of video_unit_info () in video_unit_table () is called a VU number.

次に、プログラム情報ファイルのgraphics_table()およびsubaudio_table()を参照し、現在のVUを含むCUとの同期再生を行うグラフィックスファイルおよびオーディオデータが存在するかどうかを検索する(S802’)。そのようなグラフィックスファイルおよびオーディオデータが存在した場合、グラフィックスファイルについてはそのファイルの読み出しを行い、オーディオデータについては、そのオーディオデータを管理するオーディオデータ管理情報ファイルを参照し、対応するオーディオデータの読み出しを行う(S803’)。   Next, with reference to graphics_table () and subaudio_table () of the program information file, it is searched whether or not there is a graphics file and audio data to be synchronized with a CU including the current VU (S802 '). When such a graphics file and audio data exist, the file is read for the graphics file, and for the audio data, the audio data management information file that manages the audio data is referred to, and the corresponding audio data Is read (S803 ').

次に現在のVU番号に対応するvideo_unit_info()のVU_PNを参照しVUのアドレスを求め(S804)、それを基にオリジナルストリームファイルからVUを読み出す(S805)。次に、そのシーンの終わりかどうかを判断する(S806)。具体的には、現在のシーンの既再生時間がscene_info()中のsc_duration以上であればそのシーンの終わりとする。   Next, the VU address is obtained by referring to the VU_PN of the video_unit_info () corresponding to the current VU number (S804), and the VU is read from the original stream file based on this (S805). Next, it is determined whether the end of the scene is reached (S806). Specifically, if the playback time of the current scene is greater than or equal to sc_duration in scene_info (), the end of the scene is set.

シーンの再生が終了していなければ、次にVU番号をインクリメントし(S807)、video_unit_info()中のfirst_unit_flagを参照する。このときfirst_unit_flagが1であれば、そのvideo_unit_info()が管理するVUはCUの先頭であると判断し(S808)、同期再生を行うグラフィックスファイルおよびオーディオデータの存在を前述の手順で確認し(S809’)、存在した場合には前述の手順で読み出す(S810’)。   If the playback of the scene has not ended, the VU number is incremented (S807), and first_unit_flag in video_unit_info () is referred to. At this time, if first_unit_flag is 1, it is determined that the VU managed by the video_unit_info () is the head of the CU (S808), and the existence of the graphics file and audio data to be synchronized is confirmed by the above procedure ( S809 '), if it exists, it is read out by the procedure described above (S810').

<アフレコ時の処理>
ユーザからアフレコが指示された場合の処理について説明する。アフレコ時の処理は前述の再生時の処理にいくつかの処理が加わったものであるため、差異部分についてのみ説明する。
<Processing after dubbing>
A process when the user instructs post-recording will be described. Since the post-recording process is obtained by adding several processes to the above-described playback process, only the difference will be described.

まず、記録媒体においてアフレコするための領域が存在するかどうかが確認される。具体的には、アフレコ対象のストリームに関する管理情報ファイル中のcontinuous_area_info()を調べ、アフレコ領域予約ファイルによって確保された各領域のサイズがアフレコデータを記録可能なサイズかどうかを調べる。もし十分なサイズがあればその領域にアフレコデータを記録し、十分なサイズが無ければ、アフレコデータは、アフレコ領域予約ファイルによって確保された領域ではなく、別の領域に記録することになる。   First, it is confirmed whether or not there is an area for post-recording on the recording medium. Specifically, continuous_area_info () in the management information file related to the stream to be dubbed is checked to check whether the size of each area secured by the dubbing area reservation file is a size capable of recording the dubbing data. If there is a sufficient size, the after-recording data is recorded in that area, and if there is not enough size, the after-recording data is recorded in another area instead of the area reserved by the after-recording area reservation file.

次に、再生開始と同時にオーディオエンコーダ117を起動し、エンコードした結果はPESパケットの形式でオーディオ記録用バッファ119に送る。マルチプレクサ113はPESパケットをパック化し、記録用バッファ114に送る。その際、パックヘッダのSCRおよびパケットヘッダのPTSはオリジナルストリームに合わせる。   Next, the audio encoder 117 is activated simultaneously with the start of reproduction, and the encoded result is sent to the audio recording buffer 119 in the form of a PES packet. The multiplexer 113 packs the PES packet and sends it to the recording buffer 114. At that time, the SCR of the pack header and the PTS of the packet header are matched with the original stream.

現在デコード中のCUの範囲を超えるPTSを持つパックが記録用バッファ114に到着した時点で、記録用バッファ114に存在するパック列をアフレコデータファイルに記録する。記録対象のCAの位置は現在デコード中のCUのPTSからcontinuous_area_table()を参照することで求める。CAによって確保されている領域にアフレコデータをアフレコデータファイルに記録する。   When a pack having a PTS exceeding the range of the CU currently being decoded arrives at the recording buffer 114, the pack string existing in the recording buffer 114 is recorded in the after-recording data file. The position of the CA to be recorded is obtained by referring to continuous_area_table () from the PTS of the CU currently being decoded. After-recording data is recorded in an after-recording data file in an area secured by the CA.

アフレコが終わった時点では以下のことを行う。まず、記録したアフレコデータファイルに対応するアフレコデータ管理ファイルを作成する。その際に、1個のCU毎に1個のvideo_unit_info()を作成する。   When the dubbing is over, do the following: First, an after-recording data management file corresponding to the recorded after-recording data file is created. At that time, one video_unit_info () is created for each CU.

次に、プログラム情報ファイル中のsubaudio_tableにエントリを追加する。このとき、アフレコデータをアフレコ領域予約ファイルで確保されていた領域に記録したならば、そのことを示すためSA_flags()のinterleave_flagを1にセットする。そうでなければ0をセットする。   Next, an entry is added to subaudio_table in the program information file. At this time, if after-recording data is recorded in an area reserved in the after-recording area reservation file, interleave_flag of SA_flags () is set to 1 to indicate that fact. Otherwise set 0.

また、アフレコ領域予約ファイルに関して、アフレコデータが記録された領域をファイルの管理対象から外す。すなわちサイズを小さくする。さらに、その分だけcontinuous_area__table()中の各エントリのCA_PNを減ずる。このことによって、continuous_area_info()を参照したとき、各CAに後どれだけデータを記録できるかがわかる。   In addition, regarding the after-recording area reserved file, the area where the after-recording data is recorded is excluded from the management targets of the file. That is, the size is reduced. Further, the CA_PN of each entry in continuous_area__table () is reduced by that amount. As a result, when continuous_area_info () is referred to, it can be seen how much data can be recorded in each CA.

<グラフィックスデータ付加時の処理>
ユーザからビデオに重畳表示するグラフィックスデータの付加が指示された場合の処理について説明する。まず、グラフィックスデータを格納したファイルを記録するための領域が存在するかどうか調べる。具体的にはグラフィックスデータ付加対象のストリームに関する管理情報ファイル中のcontinuous_area_info()を調べ、グラフィックスデータを重畳表示を開始するビデオフレームが含まれるCUに対応するCAにグラフィックスデータを記録可能な領域が存在するかどうかを調べる。
<Process when adding graphics data>
Processing when the user gives an instruction to add graphics data to be superimposed on the video will be described. First, it is checked whether there is an area for recording a file storing graphics data. Specifically, the graphics data can be recorded in the CA corresponding to the CU including the video frame for starting the superimposed display of the graphics data by examining the continuous_area_info () in the management information file regarding the stream to which the graphics data is to be added. Check if a region exists.

上記CAにおいてグラフィックスデータの記録が可能であればその領域に記録し、アフレコ終了時と同様、グラフィックスデータを記録した領域をアフレコ領域予約ファイルから開放する。開放した分だけcontinousou_area_info()中の後続するエントリのCA_PNを減ずる。また、プログラム情報ファイルのgraphics_table()にgraphics_info()のエントリを1個追加し、そのエントリ中のgr_flags()のinterleave_flagを1にセットする。この場合、同時再生するビデオデータとディスク上で近接した位置にグラフィックスデータを記録されていることにより、ビデオ再生時にグラフィックスデータを読み出すためのシークが不要となる。そのため、シークによるビデオ再生の途切れや、電力消費等を抑えることが可能になる。   If the graphics data can be recorded in the CA, the area is recorded in that area, and the area where the graphics data is recorded is released from the after-recording area reservation file in the same manner as at the end of the after-recording. The CA_PN of the subsequent entry in the continousou_area_info () is reduced by the amount released. Also, one entry of graphics_info () is added to graphics_table () of the program information file, and interleave_flag of gr_flags () in that entry is set to 1. In this case, since the graphics data is recorded at a position close to the video data to be reproduced at the same time on the disc, a seek for reading out the graphics data at the time of video reproduction becomes unnecessary. Therefore, it is possible to suppress interruption of video reproduction due to seek, power consumption, and the like.

一方、上記CAにおいてグラフィックスデータの記録が可能でなければ、該グラフィックスデータは別の領域に記録する。また、プログラム情報ファイルのgraphics_table()にgraphics_info()のエントリを1個追加し、そのエントリ中のgr_flags()のinterleave_flagを0にセットする。再生時にはこのフラグを参照することで、ユーザにビデオ再生に途切れが発生するかもしれないことをビデオ再生前に知らせることができる。   On the other hand, if graphics data cannot be recorded in the CA, the graphics data is recorded in another area. Also, one entry of graphics_info () is added to graphics_table () of the program information file, and interleave_flag of gr_flags () in that entry is set to 0. By referring to this flag at the time of reproduction, it is possible to inform the user that the interruption of the video reproduction may occur before the video reproduction.

<実施の形態3における変形例>
本実施の形態3では、グラフィックスファイルやアフレコデータファイルは録画後に追加記録しているが、録画時に記録してもよいことは言うまでもない。その場合でも、グラフィックスファイルやアフレコデータファイルをビデオファイルとは独立したファイルとして扱うことができ、ビデオファイルは一般的なMPEG-2 PSファイルであり、なおかつ同期再生にあたってシークが必要ない。
<Modification in Embodiment 3>
In the third embodiment, the graphics file and the after-recording data file are additionally recorded after recording, but it goes without saying that they may be recorded at the time of recording. Even in such a case, the graphics file and the after-recording data file can be handled as a file independent of the video file, and the video file is a general MPEG-2 PS file, and seek is not required for synchronous playback.

また本実施の形態3では、グラフィックスファイルにPNGファイルフォーマットを用いているが、JPEG等他のファイルフォーマットを用いていもよいことは言うまでもない。   In the third embodiment, the PNG file format is used for the graphics file, but it goes without saying that other file formats such as JPEG may be used.

〔実施の形態4〕
本発明の第4の実施形態について、図29ないし図30を用いて説明する。本実施の形態4の位置付けは、実施の形態1におけるディスクへの配置およびCU単位決定方法のバリエーションである。したがって、それ以外の部分については共通するため、相違点に絞って説明を行う。
[Embodiment 4]
A fourth embodiment of the present invention will be described with reference to FIGS. The positioning of the fourth embodiment is a variation of the disk arrangement and CU unit determination method in the first embodiment. Therefore, since other parts are common, only the differences will be described.

<ファイル・ディレクトリ構成>
実施の形態1と同一であるため説明を省略する。
<File directory structure>
Since it is the same as Embodiment 1, description is abbreviate | omitted.

<AVストリームの形態>
実施の形態1と以下の点を除き同一である。実施の形態1と異なる点は、本実施形態においてはCUが連続的に記録されなくてもよい点である。
<AV stream format>
The first embodiment is the same as the first embodiment except for the following points. The difference from the first embodiment is that the CU does not have to be continuously recorded in the present embodiment.

<アフレコデータファイル>
実施の形態1と同一であるため説明を省略する。
<Post-recording data file>
Since it is the same as Embodiment 1, description is abbreviate | omitted.

<ディスクへの配置>
オリジナルストリームファイルおよびアフレコデータファイルのディスクへの配置について図29を用いて説明する。図29(a)に示す、互いに対応するオリジナルストリームファイル(SHRP0001.M2P)とアフレコデータファイル(SHRP0001.PRE)とは、原則的には実施の形態1のように光ディスク106でCUの直前に対応するCAが配置されるように記録するが、実施の形態1と異なりCUの途中で分断することを許す。図29(b)のCU#n−1とCU#nがその例である。ただしCAに関しては実施の形態1と同様、1個のCA内での分断は許さない。また、1個の連続領域中に含まれるVUの再生時間の合計はCUの再生時間以上でなければならない。
<Distribution to disk>
The arrangement of the original stream file and the after-recording data file on the disk will be described with reference to FIG. The mutually corresponding original stream file (SHRP0001.M2P) and post-recording data file (SHRP0001.PRE) shown in FIG. 29A correspond in principle to the optical disk 106 immediately before the CU as in the first embodiment. However, unlike the first embodiment, it is allowed to divide in the middle of the CU. Examples are CU # n-1 and CU # n in FIG. However, regarding CA, as in the first embodiment, division within one CA is not allowed. Also, the total playback time of VUs included in one continuous area must be equal to or longer than the playback time of the CU.

このように、CUの途中における分断を許すことによって、空き領域を有効活用できる可能性が高まる。例えば、CUが16秒でなおかつ20秒分の連続した空き領域が光ディスク106上にある場合、CUの途中で分断を許さなければ前記空き領域に16秒しか記録できず、残りの4秒は無駄になるが、CUの途中で分断できれば20秒分記録することが可能である。   As described above, by allowing the division in the middle of the CU, the possibility that the free area can be effectively used increases. For example, when the CU is 16 seconds and there is a continuous free area for 20 seconds on the optical disc 106, if the division is not allowed in the middle of the CU, only 16 seconds can be recorded in the free area, and the remaining 4 seconds are wasted. However, if it can be divided in the middle of the CU, it is possible to record for 20 seconds.

<CU単位決定方法>
CU再生時間の決定方法について、図30を用いて説明する。この決定方法では、実施の形態1と同様、機器間での互換性確保のため、基準となるデバイス(リファレンス・デバイス・モデル)と基準となるアフレコアルゴリズム(リファレンス・アフレコ・アルゴリズム)とを想定し、次にそれらを用いてアフレコを行った際にシームレス再生が破綻しないようにCU再生時間を決める。
<CU unit determination method>
A method for determining the CU playback time will be described with reference to FIG. In this determination method, as in the first embodiment, a standard device (reference device model) and a standard dubbing algorithm (reference dubbing algorithm) are assumed to ensure compatibility between devices. Then, the CU playback time is determined so that seamless playback does not fail when the post-recording is performed using them.

リファレンス・デバイス・モデルについては実施の形態1と同様であるため説明を省略する。   Since the reference device model is the same as that of the first embodiment, description thereof is omitted.

リファレンス・アフレコ・アルゴリズムは以下の(a),(b)で表される。(a)原則的には、現在のCUの読み出しが終了したときにCAの記録を実行する。(b)ただし、現在読み出し中のCUの、次のCUの末尾が別の連続領域に含まれていた場合、CAの記録は現在読み出し中のCUの、次のCUの読み出しが終了するときまで延期する。   The reference after-recording algorithm is expressed by the following (a) and (b). (A) In principle, CA recording is performed when reading of the current CU is completed. (B) However, if the end of the next CU of the CU being currently read is included in another continuous area, the CA recording is performed until the reading of the next CU of the CU being currently read is completed. put off.

図30(a),30(b)に例を示す。図30(a)は上記の(a)の一例である。尚、図30中の(1)から(8)までの番号は、以下の説明中の(1)から(8)までの番号に対応する。   An example is shown in FIGS. 30 (a) and 30 (b). FIG. 30A is an example of the above (a). Note that numbers (1) to (8) in FIG. 30 correspond to numbers (1) to (8) in the following description.

(1)N番目のCUであるCU#Nを読み出す。(2)次に記録すべきCAであるCA#Mのアフレコデータのエンコードが終了するのを待ち、終了したらCA#Mへピックアップを移動。(3)CA#Mにアフレコデータを記録。(4)CU#N+1へピックアップを移動。(5)CU#N+1を読み出し。(6)次に記録すべきCAであるCA#M+1のアフレコデータのエンコードが終了するのを待ち、終了したらCA#M+1へピックアップを移動。(7)CA#Mにアフレコデータを記録。(8)CU#N+2へピックアップを移動。   (1) Read CU # N which is the Nth CU. (2) Wait for the end of encoding of the CA # M after-recording data, which is the CA to be recorded next, and move the pickup to CA # M when the encoding is completed. (3) Record dubbing data in CA # M. (4) Move pickup to CU # N + 1. (5) Read CU # N + 1. (6) Wait for the end of the encoding of the post-record data of CA # M + 1, which is the CA to be recorded next, and move the pickup to CA # M + 1 when the encoding is completed. (7) Record dubbing data in CA # M. (8) Move pickup to CU # N + 2.

図30(b)は上記の(b)の一例である。(1)まずCU#Nを読み出す。このとき、次のCUであるCU#N+1の終端が別の連続領域に存在するため、CU#Nの読み出し直後にCAの記録は行わずCU#N+1のうち同じ連続領域に存在するCU#N+1の前半部まで読み出す。(2)CU#N+1を連続領域の終端まで読み出し終わったら、CA#Mへのピックアップの移動を行い、(3)CA#Mにアフレコデータを記録し、(4)CU#N+1の残りの部分へのピックアップの移動を行う。   FIG. 30B is an example of the above (b). (1) First, CU # N is read. At this time, since the end of CU # N + 1, which is the next CU, exists in another continuous area, CA recording is not performed immediately after reading CU # N, and CU # N + 1 exists in the same continuous area among CU # N + 1. Read up to the first half. (2) After reading CU # N + 1 to the end of the continuous area, move the pickup to CA # M, (3) record post-record data in CA # M, and (4) the remaining part of CU # N + 1 Move the pickup to.

このようなアルゴリズムを用いることによって、CUの途中で分断していた場合でも連続領域間のジャンプとCA記録のためのジャンプを共通化でき、ジャンプによるデータ読み出しの途切れを最小化し、その結果、連続領域長およびCU・CAの単位を小さくすることが出来る。このことによってディスク上での空き領域の有効利用が図れる。   By using such an algorithm, even when the CU is divided in the middle, the jump between continuous areas and the jump for CA recording can be made common, and the interruption of data reading due to the jump is minimized. The area length and the unit of CU / CA can be reduced. This makes it possible to effectively use the free space on the disk.

前記リファレンス・デバイス・モデルにおいて、前記リファレンス・アフレコ・アルゴリズムを用いてアフレコを行った場合、次のような条件を満たせば、アフレコ用バッファ504のオーバーフローおよびトラックバッファ502のアンダーフローがないことが保証できる。   In the reference device model, when the after-recording is performed using the reference after-recording algorithm, it is guaranteed that there is no overflow of the after-recording buffer 504 and no underflow of the track buffer 502 if the following conditions are satisfied. it can.

その条件とは、実施の形態1と同様式(1)が成立することである。なお本実施の形態4における記号は、特に説明がない限り実施の形態1と同じ意味を表す。   The condition is that expression (1) is established as in the first embodiment. The symbols in the fourth embodiment have the same meaning as in the first embodiment unless otherwise specified.

式(1)中のTw(i)は実施の形態1の式(4)と同様であるが、Tr(i)については式(8)のように実施の形態1の式(3)からTaを除いた形態、すなわちジャンプを含めない形態となる。   Tw (i) in the formula (1) is the same as that in the formula (4) in the first embodiment, but the Tr (i) is expressed by the formula (3) in the first embodiment as shown in the formula (8). In other words, it is a form that does not include jumps.

Figure 0004312783
Figure 0004312783

ジャンプを含めない理由は以下のとおりである。本実施の形態4においてはCU読み出し途中のジャンプ時にCA記録時を行うため、CU読み出し途中のジャンプはCA記録時のジャンプとして扱うからである。このことにより最終的なCUの単位および連続領域の単位を小さくすることができる。   The reasons for not including jumps are as follows. This is because in the fourth embodiment, since the CA recording is performed at the time of the jump during the CU reading, the jump during the CU reading is handled as a jump during the CA recording. As a result, the final CU unit and continuous region unit can be reduced.

式(1)に式(8)および式(4)を代入してTe(i)で解くと、リアルタイムアフレコを保証可能なTe(i)の条件、すなわち以下の式(9)が得られる。   By substituting Equation (8) and Equation (4) into Equation (1) and solving with Te (i), the condition of Te (i) that can guarantee real-time after-recording, that is, Equation (9) below is obtained.

Figure 0004312783
Figure 0004312783

つまり、アフレコ保証可能なCU再生時間下限値Teminは、以下の式(10)に示すものとなる。   In other words, the CU playback time lower limit value Temin that can be guaranteed after-recording is expressed by the following equation (10).

Figure 0004312783
Figure 0004312783

このとき、CU再生時間の上限値Temaxは、以下の式(11)のように設定する。ここで、TvmaxはVUの最大再生時間である。   At this time, the upper limit value Temax of the CU playback time is set as shown in the following formula (11). Here, Tvmax is the maximum playback time of VU.

Figure 0004312783
Figure 0004312783

CU再生時間の上限値を設定するのは、アフレコ用音声と通常音声との同期再生に必要な遅延用メモリの最大量を見積り可能にし、再生互換性を保証するためである。尚、本実施の形態4では、オーディオビットレートRaおよびビデオビットレートRvに応じて多重化間隔下限値Teminを設定しているが、ビットレートに関わらず一定の下限値を設定しても良い。ただし、その値は最大のビットレートに基づいたものでなければならない。   The upper limit of the CU playback time is set in order to make it possible to estimate the maximum amount of delay memory required for synchronized playback of post-recording sound and normal sound, and to guarantee playback compatibility. In the fourth embodiment, the multiplexing interval lower limit value Temin is set according to the audio bit rate Ra and the video bit rate Rv. However, a fixed lower limit value may be set regardless of the bit rate. However, the value must be based on the maximum bit rate.

また、CU再生時間が上記の制限を満たせば、ストリーム中のVU再生時間は固定でも可変でも構わない。   Further, the VU playback time in the stream may be fixed or variable as long as the CU playback time satisfies the above restriction.

<必要なバッファメモリ量>
本実施形態においてアフレコ時に必要なトラックバッファ502の容量は以下の考えに基づいて算出すればよい。まず、本実施の形態4において最も容量の必要な場合を想定すると、CAへのアフレコデータ記録が続けて発生する場合である。具体的には、CUの末尾の直前で分断している場合である。言い換えると、CUが2個の連続領域に分割して記録されていて、かつ、そのほとんどのデータが先行する連続領域に存在する場合である。
<Required buffer memory size>
In the present embodiment, the capacity of the track buffer 502 required for post-recording may be calculated based on the following idea. First, assuming the case where the capacity is most necessary in the fourth embodiment, it is a case where after-recording data recording to CA occurs continuously. Specifically, this is a case where the division is performed immediately before the end of the CU. In other words, the CU is divided and recorded in two continuous areas, and most of the data exists in the preceding continuous area.

この場合、前述のリファレンス・アフレコ・アルゴリズムに従うと、CUの末尾の直前でCAへのアフレコデータ記録を行い、次にこのCUの末尾のわずかなデータを読んだら直ちに次のCAへのアフレコデータ記録を行い、もどってCAの読み込みを行うことになる。これに対応するためにはCAへのアフレコデータ記録2回分および1個のCA読み込みの期間にわたって再生を継続可能な容量が必要となる。具体的には式(12)にしたがってトラックバッファ502の容量Bpbを確保すればよい。   In this case, according to the above-mentioned reference after-recording algorithm, after-recording data recording to the CA is performed immediately before the end of the CU, and immediately after reading a small amount of data at the end of this CU, the after-recording data recording to the next CA is performed. And return to read CA. In order to cope with this, a capacity capable of continuing reproduction over the period of two after-recording data recordings to the CA and one CA reading period is required. Specifically, the capacity Bpb of the track buffer 502 may be secured according to the equation (12).

Figure 0004312783
Figure 0004312783

<管理情報ファイルフォーマット>
実施の形態1と同一であるため説明を省略する。
<Management information file format>
Since it is the same as Embodiment 1, description is abbreviate | omitted.

<記録時の処理>
実施の形態1とは、CUをディスク上で連続的に記録する制限以外同一であるため説明を省略する。
<Processing during recording>
The first embodiment is the same as the first embodiment except for the limitation of continuously recording CUs on the disc, and thus the description thereof is omitted.

<再生時の処理>
実施の形態1と同一であるため説明を省略する。
<Processing during playback>
Since it is the same as Embodiment 1, description is abbreviate | omitted.

<アフレコ時の処理>
実施の形態1とは、アフレコの際に図30記載のアルゴリズムを用いる点以外同一であるため説明を省略する。
<Processing after dubbing>
The first embodiment is the same as the first embodiment except that the algorithm shown in FIG.

<実施の形態4における変形例>
本実施の形態4は、実施の形態1のバリエーションとして説明したが、第3の実施形態のようにアフレコ領域予約ファイルを用いた場合や従来技術として参照した特開2001−43616号のように同一ファイルを用いた場合にも適用できることは言うまでもない。すなわち、本実施形態で開示した発明の本質は、アフレコ用領域と初期記録したビデオデータの物理的な配置とその配置に関するパラメータを設定するためモデル設定にある。
<Modification in Embodiment 4>
Although the fourth embodiment has been described as a variation of the first embodiment, it is the same as in the case of using an after-recording area reservation file as in the third embodiment or Japanese Patent Laid-Open No. 2001-43616 referred to as a conventional technique. Needless to say, it can also be applied to files. That is, the essence of the invention disclosed in the present embodiment lies in the model setting for setting the physical layout of the after-recording area and the initially recorded video data and the parameters relating to the layout.

本発明の一実施形態を示すものであり、図1(a)は本発明の実施の形態1におけるオリジナルストリームファイルおよびアフレコデータファイルのデータ構成、図1(b)は上記オリジナルストリームファイルおよびアフレコデータファイルのディスク上での配置を示す図である。FIG. 1A shows an embodiment of the present invention, FIG. 1A shows the data structure of an original stream file and post-record data file in Embodiment 1 of the present invention, and FIG. 1B shows the original stream file and post-record data. It is a figure which shows arrangement | positioning on the disk of a file. 本発明の実施の形態に係るビデオディスクレコーダの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the video disc recorder which concerns on embodiment of this invention. 図3(a)はディレクトリ/ファイル構成を示す図であり、図3(b)はそのディレクトリ/ファイル構成のUDFにおける管理情報の関係を示す図である。FIG. 3A is a diagram showing a directory / file configuration, and FIG. 3B is a diagram showing a relationship of management information in the UDF of the directory / file configuration. 本発明の実施の形態1におけるファイル/ディレクトリ構成を示す図である。It is a figure which shows the file / directory structure in Embodiment 1 of this invention. 図5(a)〜図5(c)は、本発明の実施の形態1におけるオリジナルストリームファイルの構成を示す図である。FIG. 5A to FIG. 5C are diagrams showing the configuration of the original stream file in Embodiment 1 of the present invention. 本発明の実施の形態1におけるアフレコデータファイルの構成を示す説明図である。It is explanatory drawing which shows the structure of the after-recording data file in Embodiment 1 of this invention. 本発明の実施の形態1におけるリファレンス・デバイス・モデルを示す図である。It is a figure which shows the reference device model in Embodiment 1 of this invention. 本発明の実施の形態1におけるリファレンス・アフレコ・アルゴリズムを示す図である。It is a figure which shows the reference after-recording algorithm in Embodiment 1 of this invention. 本発明の実施の形態1におけるストリーム管理情報ファイルの構成を示す図である。It is a figure which shows the structure of the stream management information file in Embodiment 1 of this invention. 図10(a)〜図10(b)は、本発明の実施の形態1におけるvideo_unit_tableの構成を示す図である。10 (a) to 10 (b) are diagrams showing the configuration of video_unit_table in Embodiment 1 of the present invention. 図11(a)〜図11(b)は、本発明の実施の形態1におけるVU_flagsの構成を示す図である。FIG. 11A to FIG. 11B are diagrams showing the configuration of VU_flags in Embodiment 1 of the present invention. 図12(a)〜図12(b)は、本発明の実施の形態1におけるcontinuous_area_tableの構成を示す図である。12 (a) to 12 (b) are diagrams showing the structure of continuous_area_table in Embodiment 1 of the present invention. 図13(a)〜図13(b)は、本発明の実施の形態1におけるCA_flagsの構成を示す図である。FIGS. 13A to 13B are diagrams showing the configuration of CA_flags in Embodiment 1 of the present invention. 本発明の実施の形態1におけるプログラム情報ファイルの構成を示す図である。It is a figure which shows the structure of the program information file in Embodiment 1 of this invention. 図15(a)〜図15(b)は、本発明の実施の形態1におけるscene_tableの構成を示す図である。FIG. 15A to FIG. 15B are diagrams showing the structure of the scene_table according to the first embodiment of the present invention. 本発明の実施の形態1における記録処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the recording process in Embodiment 1 of this invention. 本発明の実施の形態1における再生処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the reproduction | regeneration processing in Embodiment 1 of this invention. 本発明の実施の形態1におけるシーン再生処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the scene reproduction | regeneration processing in Embodiment 1 of this invention. 本発明の他の実施形態を示すものであり、図19(a)は実施の形態2における2種類のストリームファイルのデータ構成、図19(b)はこれらのストリームファイルのディスク上での配置を示す図である。FIG. 19A shows another embodiment of the present invention. FIG. 19A shows the data structure of two types of stream files in the second embodiment, and FIG. 19B shows the arrangement of these stream files on the disk. FIG. 従来技術を示すものであり、図20(a)はストリームファイルのデータ構成、図20(b)はこのストリームファイルのディスク上での配置を示す図である。FIG. 20 (a) shows the data structure of the stream file, and FIG. 20 (b) shows the arrangement of the stream file on the disk. 本発明の実施の形態3におけるファイル/ディレクトリ構成を示す図である。It is a figure which shows the file / directory structure in Embodiment 3 of this invention. 本発明の一実施形態を示すものであり、図22(a)は本発明の実施の形態3におけるオリジナルストリームファイルおよびアフレコ領域予約ファイルのデータ構成、図22(b)は録画直後のオリジナルストリームファイルおよびアフレコ領域予約ファイルのディスク上での配置を示す図である。FIG. 22A shows an embodiment of the present invention, FIG. 22A shows the data structure of an original stream file and an after-recording area reservation file according to Embodiment 3 of the present invention, and FIG. 22B shows the original stream file immediately after recording. FIG. 6 is a diagram showing the arrangement of a post-record area reservation file on a disk. 図23(a)は本発明の実施の形態3におけるグラフィックスファイルおよびアフレコデータファイルのデータ構成、図23(b)はアフレコ・非破壊編集後のグラフィックスファイル、アフレコデータファイル、オリジナルストリームファイルおよびアフレコ領域予約ファイルのディスク上での配置を示す図である。FIG. 23A shows the data structure of the graphics file and the after-recording data file according to the third embodiment of the present invention, and FIG. 23B shows the graphics file after-recording / non-destructive editing, the after-recording data file, the original stream file, and It is a figure which shows arrangement | positioning on the disk of an after-recording area reservation file. 本発明の実施の形態3におけるプログラム情報ファイルの構成を示す図である。It is a figure which shows the structure of the program information file in Embodiment 3 of this invention. 図25(a)〜図25(b)は、本発明の実施の形態3におけるsubaudio_tableの構成を示す図である。FIG. 25 (a) to FIG. 25 (b) are diagrams showing the configuration of subaudio_table in Embodiment 3 of the present invention. 図26(a)〜図26(b)は、本発明の実施の形態3におけるgraphics_tableの構成を示す図である。FIG. 26 (a) to FIG. 26 (b) are diagrams illustrating the configuration of graphics_table in Embodiment 3 of the present invention. 図27(a)〜図27(b)は、本発明の実施の形態3におけるSA_flagsおよびgr_flagsの構成を示す図である。FIGS. 27 (a) to 27 (b) are diagrams showing configurations of SA_flags and gr_flags in Embodiment 3 of the present invention. 本発明の実施の形態3におけるシーン再生処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the scene reproduction | regeneration processing in Embodiment 3 of this invention. 本発明の一実施形態を示すものであり、図29(a)は本発明の実施の形態4におけるオリジナルストリームファイルおよびアフレコデータファイルのデータ構成、図29(b)は上記オリジナルストリームファイルおよびアフレコデータファイルのディスク上での配置を示す図である。FIG. 29 (a) shows an embodiment of the present invention, FIG. 29 (a) shows the data structure of the original stream file and post-record data file in Embodiment 4 of the present invention, and FIG. 29 (b) shows the original stream file and post-record data. It is a figure which shows arrangement | positioning on the disk of a file. 図30(a),30(b)は、本発明の実施の形態4におけるリファレンス・アフレコ・アルゴリズムを示す図である。30 (a) and 30 (b) are diagrams showing a reference after-recording algorithm according to Embodiment 4 of the present invention.

符号の説明Explanation of symbols

100 バス
101 ホストCPU
102 RAM
103 ROM
104 ユーザインタフェース
105 システムクロック
106 光ディスク(記録媒体)
107 ピックアップ
108 ECCデコーダ
109 ECCエンコーダ
110 オーディオ再生用バッファ
111 ビデオ再生用バッファ
112 デマルチプレクサ
113 マルチプレクサ
114 記録用バッファ
115 オーディオデコーダ
116 ビデオデコーダ
117 オーディオエンコーダ
118 ビデオエンコーダ
119 オーディオ記録用バッファ
120 ビデオ記録用バッファ
121 デマルチプレクサ
122 アフレコデータ再生用バッファ
100 bus 101 host CPU
102 RAM
103 ROM
104 User interface 105 System clock 106 Optical disc (recording medium)
107 Pickup 108 ECC Decoder 109 ECC Encoder 110 Audio Playback Buffer 111 Video Playback Buffer 112 Demultiplexer 113 Multiplexer 114 Recording Buffer 115 Audio Decoder 116 Video Decoder 117 Audio Encoder 118 Video Encoder 119 Audio Recording Buffer 120 Video Recording Buffer 121 Demultiplexer 122 After-record data playback buffer

Claims (4)

少なくとも、同一の時間軸上で切り替えて再生する1つのシーンを構成する第1のAVデータと第2のAVデータとが記録された記録媒体を再生するAVデータ再生方法であって、
前記第1のAVデータ及び第2のAVデータは、それぞれが所定の分割単位で第1の部分AVデータ及び第2の部分AVデータに分割された状態で、かつ互いに切り替えて再生する、前記第1の部分AVデータと前記第2の部分AVデータとが交互に配置するように前記記録媒体に記録されており、
さらに、前記記録媒体には、前記第1のAVデータと前記第2のAVデータとを個別のファイルとして扱うための情報を管理するファイルシステム管理情報と、前記第1のAVデータと前記第2のAVデータとを関連づけて1個のコンテンツとして扱うためのプログラム情報ファイルとが記録されており、
前記ファイルシステム管理情報は、前記第1の部分AVデータの位置情報が当該第1の部分AVデータの再生順に記録され、また前記第2の部分AVデータの位置情報が当該第2の部分AVデータの再生順に記録されたものであり、
前記プログラム情報ファイルは、前記第1のAVデータ及び第2のAVデータのファイル名を有すると共に、前記第1のAVデータ及び第2のAVデータを再生するための時刻情報を含み、
前記時刻情報は、前記シーンの開始時刻を示すタイムスタンプと、前記シーンを構成し、前記第1のAVデータ及び第2のAVデータのそれぞれを再生する際のエントリポイントとなり得るビデオユニットのそれぞれの開始時刻を示すタイムスタンプとを含み、
前記ファイルシステム管理情報を前記記録媒体から取得する第1のステップと、
前記プログラム情報ファイルを前記記録媒体から取得する第2のステップとを含むことを特徴とするAVデータ再生方法
An AV data reproduction method for reproducing a recording medium on which first AV data and second AV data constituting one scene to be switched and reproduced on the same time axis are recorded ,
The first AV data and the second AV data are reproduced in a state where each is divided into a first partial AV data and a second partial AV data in a predetermined division unit and switched to each other. 1 partial AV data and the second partial AV data are recorded on the recording medium so as to be alternately arranged,
Further, the recording medium includes file system management information for managing information for handling the first AV data and the second AV data as separate files, the first AV data, and the second AV data. And a program information file for handling as a single content in association with the AV data of
In the file system management information, the position information of the first partial AV data is recorded in the order of reproduction of the first partial AV data, and the position information of the second partial AV data is recorded as the second partial AV data. Are recorded in the order of playback,
The program information file has file names of the first AV data and second AV data, and includes time information for reproducing the first AV data and second AV data,
The time information includes a time stamp indicating the start time of the scene, and each video unit that constitutes the scene and can be an entry point when playing back each of the first AV data and the second AV data. Including a time stamp indicating the start time,
A first step of acquiring the file system management information from the recording medium ;
AV data reproduction method characterized by comprising a second step of acquiring the program information file from the recording medium.
少なくとも、同一の時間軸上で切り替えて再生する1つのシーンを構成する第1のAVデータと第2のAVデータとが記録された記録媒体を再生するAVデータ再生装置であって、
前記第1のAVデータ及び第2のAVデータは、それぞれが所定の分割単位で第1の部分AVデータ及び第2の部分AVデータに分割された状態で、かつ互いに切り替えて再生する、前記第1の部分AVデータと前記第2の部分AVデータとが交互に配置するように前記記録媒体に記録されており、
さらに、前記記録媒体には、前記第1のAVデータと前記第2のAVデータとを個別のファイルとして扱うための情報を管理するファイルシステム管理情報と、前記第1のAVデータと前記第2のAVデータとを関連づけて1個のコンテンツとして扱うためのプログラム情報ファイルとが記録されており、
前記ファイルシステム管理情報は、前記第1の部分AVデータの位置情報が当該第1の部分AVデータの再生順に記録され、また前記第2の部分AVデータの位置情報が当該第2の部分AVデータの再生順に記録されたものであり、
前記プログラム情報ファイルは、前記第1のAVデータ及び第2のAVデータのファイル名を有すると共に、前記第1のAVデータ及び第2のAVデータを再生するための時刻情報を含み、
前記時刻情報は、前記シーンの開始時刻を示すタイムスタンプと、前記シーンを構成し、前記第1のAVデータ及び第2のAVデータのそれぞれを再生する際のエントリポイントとなり得るビデオユニットのそれぞれの開始時刻を示すタイムスタンプとを含み、
前記ファイルシステム管理情報を前記記録媒体から取得する手段と、
前記プログラム情報ファイルを前記記録媒体から取得する手段とを備えていることを特徴とするAVデータ再生装置
An AV data reproducing device for reproducing a recording medium on which first AV data and second AV data constituting one scene to be switched and reproduced on the same time axis are recorded,
The first AV data and the second AV data are reproduced in a state where each is divided into a first partial AV data and a second partial AV data in a predetermined division unit and switched to each other. 1 partial AV data and the second partial AV data are recorded on the recording medium so as to be alternately arranged,
Further, the recording medium includes file system management information for managing information for handling the first AV data and the second AV data as individual files, the first AV data, and the second AV data. And a program information file for handling as a single content in association with the AV data of
In the file system management information, the position information of the first partial AV data is recorded in the reproduction order of the first partial AV data, and the position information of the second partial AV data is recorded as the second partial AV data. Are recorded in the order of playback,
The program information file has file names of the first AV data and second AV data, and includes time information for reproducing the first AV data and second AV data,
The time information includes a time stamp indicating the start time of the scene, and each video unit that constitutes the scene and can be an entry point when playing back each of the first AV data and the second AV data. Including a time stamp indicating the start time,
Means for obtaining the file system management information from the recording medium;
An AV data reproducing apparatus comprising: means for acquiring the program information file from the recording medium .
コンピュータに、少なくとも、同一の時間軸上で切り替えて再生する1つのシーンを構成する第1のAVデータと第2のAVデータとが記録された記録媒体を再生させるプログラムであって、
前記第1のAVデータ及び第2のAVデータは、それぞれが所定の分割単位で第1の部分AVデータ及び第2の部分AVデータに分割された状態で、かつ互いに切り替えて再生する、前記第1の部分AVデータと前記第2の部分AVデータとが交互に配置するように前記記録媒体に記録されており、
さらに、前記記録媒体には、前記第1のAVデータと前記第2のAVデータとを個別のファイルとして扱うための情報を管理するファイルシステム管理情報と、前記第1のAVデータと前記第2のAVデータとを関連づけて1個のコンテンツとして扱うためのプログラム情報ファイルとが記録されており、
前記ファイルシステム管理情報は、前記第1の部分AVデータの位置情報が当該第1の部分AVデータの再生順に記録され、また前記第2の部分AVデータの位置情報が当該第2の部分AVデータの再生順に記録されたものであり、
前記プログラム情報ファイルは、前記第1のAVデータ及び第2のAVデータのファイル名を有すると共に、前記第1のAVデータ及び第2のAVデータを再生するための時刻情報を含み、
前記時刻情報は、前記シーンの開始時刻を示すタイムスタンプと、前記シーンを構成し、前記第1のAVデータ及び第2のAVデータのそれぞれを再生する際のエントリポイントとなり得るビデオユニットのそれぞれの開始時刻を示すタイムスタンプとを含み、
前記コンピュータに、
前記ファイルシステム管理情報を前記記録媒体から取得する第1のステップと、
前記プログラム情報ファイルを前記記録媒体から取得する第2のステップとを行わせることを特徴とするプログラム
A program for causing a computer to reproduce a recording medium on which first AV data and second AV data constituting one scene to be switched and reproduced on the same time axis are recorded,
The first AV data and the second AV data are reproduced in a state where each is divided into a first partial AV data and a second partial AV data in a predetermined division unit and switched to each other. 1 partial AV data and the second partial AV data are recorded on the recording medium so as to be alternately arranged,
Further, the recording medium includes file system management information for managing information for handling the first AV data and the second AV data as separate files, the first AV data, and the second AV data. And a program information file for handling as a single content in association with the AV data of
In the file system management information, the position information of the first partial AV data is recorded in the order of reproduction of the first partial AV data, and the position information of the second partial AV data is recorded as the second partial AV data. Are recorded in the order of playback,
The program information file has file names of the first AV data and second AV data, and includes time information for reproducing the first AV data and second AV data,
The time information includes a time stamp indicating the start time of the scene, and each video unit that constitutes the scene and can be an entry point when playing back each of the first AV data and the second AV data. Including a time stamp indicating the start time,
In the computer,
A first step of acquiring the file system management information from the recording medium;
And a second step of acquiring the program information file from the recording medium .
請求項3に記載のプログラムを格納していることを特徴とするコンピュータ読み取り可能な記録媒体。A computer-readable recording medium storing the program according to claim 3.
JP2006277005A 2002-10-17 2006-10-10 AV data reproducing method, AV data reproducing apparatus, program, and recording medium Expired - Lifetime JP4312783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006277005A JP4312783B2 (en) 2002-10-17 2006-10-10 AV data reproducing method, AV data reproducing apparatus, program, and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002303648 2002-10-17
JP2006277005A JP4312783B2 (en) 2002-10-17 2006-10-10 AV data reproducing method, AV data reproducing apparatus, program, and recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003005058A Division JP3986973B2 (en) 2002-10-17 2003-01-10 AV data recording method, AV data recording apparatus, data recording medium, and program

Publications (2)

Publication Number Publication Date
JP2007066512A JP2007066512A (en) 2007-03-15
JP4312783B2 true JP4312783B2 (en) 2009-08-12

Family

ID=37928490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006277005A Expired - Lifetime JP4312783B2 (en) 2002-10-17 2006-10-10 AV data reproducing method, AV data reproducing apparatus, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4312783B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010212948A (en) * 2009-03-10 2010-09-24 Sony Corp Reproducing apparatus and method, recording apparatus and method, program, and data structure

Also Published As

Publication number Publication date
JP2007066512A (en) 2007-03-15

Similar Documents

Publication Publication Date Title
US20040208135A1 (en) Method and an apparatus for stream conversion, a method and an apparatus for data recording, and data recording medium
JP4684319B2 (en) Data recording method, data editing method, data decoding method, apparatus therefor, and recording medium
US20050013583A1 (en) Audio/video information recording/reproducing apparatus and method, and recording medium in which information is recorded by using the audio/video information recording/reproducing apparatus and method
JPWO2005015907A1 (en) Data processing device
US8503868B2 (en) Method for recording AV data and associated data, AV data recording apparatus, AV data reproducing apparatus and method, and recording medium
JP4312783B2 (en) AV data reproducing method, AV data reproducing apparatus, program, and recording medium
KR100625406B1 (en) Data processing device
JP4189304B2 (en) Data processing device
KR100633805B1 (en) Audio/video information recording/reproducing apparatus and method, and recording medium in which information is recorded by using the audio/video information recording/reproducing apparatus and method
CN101587733B (en) AV data recording method, AV data recording device
JP2003168283A (en) Data editing method and data recording medium
JP4322216B2 (en) Data recording method
JP2004528786A (en) Method of editing data stream in DVD recorder and DVD stream recorder

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090323

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090512

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090513

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

Free format text: PAYMENT UNTIL: 20120522

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4312783

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120522

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130522

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140522

Year of fee payment: 5

SG99 Written request for registration of restore

Free format text: JAPANESE INTERMEDIATE CODE: R316G99

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term