JP2001076428A - Data recording/reproducing device and data recording/ reproducing method - Google Patents

Data recording/reproducing device and data recording/ reproducing method

Info

Publication number
JP2001076428A
JP2001076428A JP25329899A JP25329899A JP2001076428A JP 2001076428 A JP2001076428 A JP 2001076428A JP 25329899 A JP25329899 A JP 25329899A JP 25329899 A JP25329899 A JP 25329899A JP 2001076428 A JP2001076428 A JP 2001076428A
Authority
JP
Japan
Prior art keywords
data
header
recording
audio
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP25329899A
Other languages
Japanese (ja)
Other versions
JP4062832B2 (en
JP2001076428A5 (en
Inventor
Yoshihiro Chiba
宣裕 千葉
Mitsugi Kobayashi
貢 小林
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP25329899A priority Critical patent/JP4062832B2/en
Publication of JP2001076428A publication Critical patent/JP2001076428A/en
Publication of JP2001076428A5 publication Critical patent/JP2001076428A5/ja
Application granted granted Critical
Publication of JP4062832B2 publication Critical patent/JP4062832B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain the high speed processing time by reducing the process in the data decoding means at the time of reproduction. SOLUTION: The data recording/reproducing device 1 is provided with a recording part 2, reproducing part 3, HD 4, and controller 6. The recording part 2 is furnished with video/audio/auxiliary data encoders 14-16 for encoding by an MPEG-2 system and a header data memory 20. The reproducing part 3 is furnished with video/audio/auxiliary data decoders 36-38 and a header data memory 35. The controller 6 acquires the header information included in the MPEG data encoded by the encoders to record the acquired header information to the recording medium together with the MPEG data. Then, the reproduction control of the MPEG data is carried out based on the header information separately recorded with respect to the MPEG data at the time of reproduction.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ランダムアクセス
可能な記録媒体に対して、オーディオデータやビデオデ
ータを記録再生するデータ記録再生装置及びデータ記録
再生方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording / reproducing apparatus and a data recording / reproducing method for recording and reproducing audio data and video data on a recording medium which can be accessed randomly.

【0002】[0002]

【従来の技術】近年、ハードディスク等の高容量化や低
価格化にともない、従来のVTR(ビデオテープレコー
ダ)に代わって、ビデオデータやオーディオデータ等を
ランダムアクセスが可能なハードディスク等の記録媒体
に記録するシステムが広く用いられるようになってきて
いる。このようなランダムアクセスが可能な記録媒体に
ビデオデータやオーディオデータを記録することによっ
て、例えば、複数のビデオデータ等の同時記録、同時再
生、及び、同時記録再生等も可能となる。
2. Description of the Related Art In recent years, with the increase in capacity and cost of hard disks and the like, video data and audio data have been replaced with recording media such as hard disks capable of random access in place of conventional VTRs (video tape recorders). Recording systems are becoming widely used. By recording video data and audio data on such a randomly accessible recording medium, for example, simultaneous recording, simultaneous reproduction, simultaneous recording and reproduction of a plurality of video data and the like are also possible.

【0003】図9に、ハードディスクを用いた従来のデ
ータ記録再生装置を示す。
FIG. 9 shows a conventional data recording / reproducing apparatus using a hard disk.

【0004】図9に示すデータ記録再生装置100は、
ビデオデータ及びオーディオデータを圧縮してハードデ
ィスクに格納するいわゆるAVサーバと呼ばれる装置で
ある。
[0004] A data recording / reproducing apparatus 100 shown in FIG.
This is a device called a so-called AV server which compresses video data and audio data and stores them on a hard disk.

【0005】データ記録再生装置100は、記録部10
1と、再生部102と、ビデオデータ等を格納するハー
ドディスクドライブ103と、記録部101及び再生部
102とハードディスクドライブ103との間のデータ
伝送をするバス104と、記録部101及び再生部10
2及びハードディスクドライブ103を制御するコント
ローラ105とを備えている。
[0005] The data recording / reproducing apparatus 100 includes a recording unit 10
1, a reproducing unit 102, a hard disk drive 103 for storing video data and the like, a recording unit 101, a bus 104 for data transmission between the reproducing unit 102 and the hard disk drive 103, a recording unit 101 and a reproducing unit 10
2 and a controller 105 for controlling the hard disk drive 103.

【0006】このデータ記録再生装置100には、バー
スバンドのビデオデータ、ベースバンドのオーディオデ
ータ、及び、入力されるビデオデータ及びオーディオデ
ータの補助情報が記述された補助データが入力される。
入力されたビデオデータ等は、記録部101により符号
化処理及び記録処理がされ、ハードディスクドライブ1
03に格納される。また、このデータ記録再生装置10
0は、ハードディスクドライブ103に記録されている
圧縮されたビデオデータ等を読み出し、再生部102が
ビデオデータ等の復号及び再生処理を行って、ベースバ
ンドのビデオデータ等を出力する。コントローラ105
は、動作コマンド等を発行して、記録部101及び再生
部102の処理タイミング、バス104のデータ転送タ
イミング、ハードディスクドライブ103の記録再生タ
イミング等の管理、並びに、各部の動作制御を行う。
[0006] The data recording / reproducing apparatus 100 is supplied with auxiliary data in which auxiliary data of video data and audio data, and auxiliary information of input video data and audio data are described.
The input video data and the like are subjected to encoding processing and recording processing by the recording unit 101, and the hard disk drive 1
03 is stored. The data recording / reproducing device 10
0 reads out compressed video data and the like recorded on the hard disk drive 103, and the playback unit 102 performs decoding and playback processing of the video data and the like, and outputs baseband video data and the like. Controller 105
Issues operation commands and the like, manages the processing timing of the recording unit 101 and the reproducing unit 102, the data transfer timing of the bus 104, the recording and reproducing timing of the hard disk drive 103, and controls the operation of each unit.

【0007】記録部101は、ビデオデータ入力端子1
11と、オーディオデータ入力端子112と、補助デー
タ入力端子113と、ビデオエンコーダ114と、オー
ディオエンコーダ115と、補助データ入力処理部11
6と、ビデオデータメモリ117と、オーディオデータ
メモリ118と、補助データメモリ119と、記録側イ
ンターフェース120とを有している。
The recording section 101 has a video data input terminal 1
11, an audio data input terminal 112, an auxiliary data input terminal 113, a video encoder 114, an audio encoder 115, and an auxiliary data input processing unit 11
6, a video data memory 117, an audio data memory 118, an auxiliary data memory 119, and a recording interface 120.

【0008】ビデオデータ入力端子111には、ベース
バンドのビデオデータが入力される。このベースバンド
のビデオデータは、ビデオエンコーダ114に供給され
る。
The video data input terminal 111 receives baseband video data. The baseband video data is supplied to the video encoder 114.

【0009】オーディオデータ入力端子112には、ベ
ースバンドのオーディオデータが入力される。このベー
スバンドのオーディオデータは、オーディオエンコーダ
115に供給される。
An audio data input terminal 112 receives baseband audio data. The baseband audio data is supplied to the audio encoder 115.

【0010】補助データ入力端子113には、補助デー
タが入力される。この補助データは、補助データ入力処
理部116に供給される。
Auxiliary data is input to auxiliary data input terminal 113. This auxiliary data is supplied to the auxiliary data input processing unit 116.

【0011】ビデオエンコーダ114は、供給されたベ
ースバンドのビデオデータを、MPEG−2方式で画像
圧縮する。画像圧縮されたビデオエレメンタリデータ
は、コントローラ105からのメモリ書き込みコマンド
に従い、1GOP単位でビデオデータメモリ117に供
給される。ここで、1GOPとは、MPEG−2で規定
された画像処理単位で、NTSCでは一般に15フレー
ムで構成される。
The video encoder 114 compresses the supplied baseband video data in accordance with the MPEG-2 system. The image-compressed video elementary data is supplied to the video data memory 117 in GOP units in accordance with a memory write command from the controller 105. Here, one GOP is a unit of image processing defined by MPEG-2, and generally consists of 15 frames in NTSC.

【0012】オーディオエンコーダ115は、供給され
たベースバンドのオーディオデータを、MPEG−2方
式で音声圧縮する。音声圧縮されたオーディオエレメン
タリデータは、コントローラ105からのメモリ書き込
みコマンドに従い、上記ビデオデータの処理単位の1G
OPに対応するデータ単位で、オーディオデータメモリ
118に供給される。
The audio encoder 115 compresses the supplied baseband audio data according to the MPEG-2 system. In accordance with a memory write command from the controller 105, the audio-compressed audio elementary data is stored in a processing unit of 1G of the video data.
The data is supplied to the audio data memory 118 in a data unit corresponding to the OP.

【0013】補助データ入力処理部116は、供給され
た補助データをMPEGデータストリームに合致した形
式のデータに変換する変換処理等を行う。データ変換が
された補助データは、コントローラ105からのメモリ
書き込みコマンドに従い、上記ビデオデータの処理単位
の1GOPに対応するデータ単位で、補助データメモリ
119に供給される。
The auxiliary data input processing unit 116 performs a conversion process for converting the supplied auxiliary data into data of a format matching the MPEG data stream. The converted auxiliary data is supplied to the auxiliary data memory 119 in a data unit corresponding to one GOP as a processing unit of the video data in accordance with a memory write command from the controller 105.

【0014】ビデオデータメモリ117は、供給された
ビデオエレメンタリデータを1GOP単位で格納する。
ビデオデータメモリ117は、コントローラ105から
のメモリ読み出しコマンドに従い、格納しているビデオ
エレメンタリデータを1GOP単位で記録側インターフ
ェース120に供給する。
The video data memory 117 stores the supplied video elementary data in units of 1 GOP.
The video data memory 117 supplies the stored video elementary data to the recording-side interface 120 in GOP units according to a memory read command from the controller 105.

【0015】オーディオデータメモリ118は、供給さ
れたオーディオエレメンタリデータを1GOP単位で格
納する。オーディオデータメモリ118は、コントロー
ラ105からのメモリ読み出しコマンドに従い、格納し
ているオーディオエレメンタリデータを1GOP単位で
記録側インターフェース120に供給する。
The audio data memory 118 stores the supplied audio elementary data in units of one GOP. The audio data memory 118 supplies the stored audio elementary data to the recording interface 120 in GOP units according to a memory read command from the controller 105.

【0016】補助データメモリ119は、供給された補
助データを1GOP単位で格納する。補助データメモリ
119は、コントローラ105からのメモリ読み出しコ
マンドに従い、格納している補助データを1GOP単位
で記録側インターフェース120に供給する。
The auxiliary data memory 119 stores the supplied auxiliary data in units of one GOP. The auxiliary data memory 119 supplies the stored auxiliary data to the recording-side interface 120 in GOP units according to a memory read command from the controller 105.

【0017】記録側インターフェース120は、ビデオ
データメモリ117、オーディオデータメモリ118及
び補助データメモリ119から供給された1GOP分の
ビデオエレメンタリデータ、オーディオエレメンタリデ
ータ及び補助データを、例えばPCI形式等のバス10
4の転送プロトコルに従ってデータ形式に変換し、この
バス104を介して、ハードディスクドライブ103に
転送する。
The recording-side interface 120 transfers the video elementary data, audio elementary data and auxiliary data for one GOP supplied from the video data memory 117, the audio data memory 118 and the auxiliary data memory 119 to a bus such as a PCI format. 10
The data is converted into a data format according to the transfer protocol 4 and transferred to the hard disk drive 103 via the bus 104.

【0018】ハードディスクドライブ103は、転送さ
れたビデオエレメンタリデータ、オーディオエレメンタ
リデータ及び補助データを、コントローラ105からの
記録コマンドに従い、1GOP単位で記録する。
The hard disk drive 103 records the transferred video elementary data, audio elementary data, and auxiliary data in units of 1 GOP according to a recording command from the controller 105.

【0019】再生部102は、再生側インターフェース
121と、ビデオデータメモリ122と、オーディオデ
ータメモリ123と、補助データメモリ124と、ビデ
オデコーダ125と、オーディオデコーダ126と、補
助データ出力処理部127と、ビデオ出力端子128
と、オーディオ出力端子129と、補助データ出力端子
130とを有している。
The reproducing unit 102 includes a reproducing interface 121, a video data memory 122, an audio data memory 123, an auxiliary data memory 124, a video decoder 125, an audio decoder 126, an auxiliary data output processing unit 127, Video output terminal 128
, An audio output terminal 129, and an auxiliary data output terminal 130.

【0020】再生側インターフェース121には、コン
トローラ105からの再生コマンドに従い再生されたハ
ードディスクドライブ103からのビデオエレメンタリ
データ等が、バス104を介して、転送される。転送さ
れるデータは、例えばPCI形式等のバス104の転送
プロトコルに従ったデータ形式のビデオエレメンタリデ
ータ、オーディオエレメンタリデータ及び補助データで
あって、1GOP単位で転送されてくる。再生側インタ
ーフェース121は、転送されたこれらのデータのデー
タ形式を変換した後、ビデオエレメンタリデータ、オー
ディオエレメンタリデータ及び補助データの3つのスト
リームに分離する。分離されたビデオエレメンタリデー
タは、コントローラ105からのメモリ書き込みコマン
ドに従い、1GOP単位でビデオデータメモリ122に
供給される。分離されたオーディオエレメンタリデータ
は、コントローラ105からのメモリ書き込みコマンド
に従い、1GOP単位でオーディオデータメモリ123
に供給される。分離された補助データは、コントローラ
105からのメモリ書き込みコマンドに従い、1GOP
単位で補助データメモリ124に供給される。
Video elementary data and the like from the hard disk drive 103 reproduced according to a reproduction command from the controller 105 are transferred to the reproduction side interface 121 via the bus 104. The data to be transferred are video elementary data, audio elementary data, and auxiliary data in a data format according to a transfer protocol of the bus 104 such as a PCI format, and are transferred in units of 1 GOP. After converting the data format of the transferred data, the reproduction-side interface 121 separates the data into three streams of video elementary data, audio elementary data, and auxiliary data. The separated video elementary data is supplied to the video data memory 122 in GOP units according to a memory write command from the controller 105. The separated audio elementary data is stored in the audio data memory 123 in GOP units according to a memory write command from the controller 105.
Supplied to The separated auxiliary data is stored in one GOP according to a memory write command from the controller 105.
The data is supplied to the auxiliary data memory 124 in units.

【0021】ビデオデータメモリ122は、供給された
ビデオエレメンタリデータを1GOP単位で格納する。
ビデオデータメモリ122は、コントローラ105から
のメモリ読み出しコマンドに従い、格納しているビデオ
エレメンタリデータを1GOP単位でビデオデコーダ1
25に格納する。
The video data memory 122 stores the supplied video elementary data in GOP units.
The video data memory 122 stores the stored video elementary data in units of 1 GOP according to a memory read command from the controller 105.
25.

【0022】オーディオデータメモリ123は、供給さ
れたオーディオエレメンタリデータを1GOP単位で格
納する。オーディオデータメモリ123は、コントロー
ラ105からのメモリ読み出しコマンドに従い、格納し
ているオーディオエレメンタリデータを1GOP単位で
オーディオエンコーダ126に供給する。
The audio data memory 123 stores the supplied audio elementary data in units of 1 GOP. The audio data memory 123 supplies the stored audio elementary data to the audio encoder 126 in GOP units according to a memory read command from the controller 105.

【0023】補助データメモリ124は、供給された補
助データを1GOP単位で格納する。補助データメモリ
124は、コントローラ105からのメモリ読み出しコ
マンドに従い、格納している補助データを1GOP単位
で補助データ出力処理部127に供給する。
The auxiliary data memory 124 stores the supplied auxiliary data in units of one GOP. The auxiliary data memory 124 supplies the stored auxiliary data to the auxiliary data output processing unit 127 in GOP units according to a memory read command from the controller 105.

【0024】ビデオデコーダ125は、供給されたビデ
オエレメンタリデータをMPEG−2方式で1GOP単
位で画像伸張する。ビデオデコーダ125は、画像伸張
して生成されたベースバンドのビデオデータを、1フレ
ーム単位で、ビデオ出力端子128から外部へ出力す
る。
The video decoder 125 decompresses the supplied video elementary data in units of one GOP according to the MPEG-2 system. The video decoder 125 outputs the baseband video data generated by expanding the image from the video output terminal 128 to the outside in frame units.

【0025】オーディオデコーダ126は、供給された
オーディオエレメンタリデータをMPEG−2方式で1
GOP単位で音声伸張する。オーディオデコーダ126
は、音声伸張して生成されたベースバンドのオーディオ
データを、ビデオ出力端子128から出力するベースバ
ンドのビデオデータに同期させて、オーディオ出力端子
129から出力する。
The audio decoder 126 converts the supplied audio elementary data into one in MPEG-2 format.
Voice expansion is performed in GOP units. Audio decoder 126
Synchronizes the baseband audio data generated by the audio expansion with the baseband video data output from the video output terminal 128, and outputs the data from the audio output terminal 129.

【0026】補助データ出力処理部127は、MPEG
−2方式のデータ形式とされた補助データを、出力可能
なデータ形式に変換する。補助データ出力処理部127
は、データ形式を変換した補助データを、ビデオ出力端
子128から出力するベースバンドのビデオデータに同
期させて、補助データ出力端子130から出力する。
The auxiliary data output processing unit 127 is an MPEG
The auxiliary data in the -2 format is converted to a data format that can be output. Auxiliary data output processing unit 127
Outputs the auxiliary data whose data format has been converted from the auxiliary data output terminal 130 in synchronization with the baseband video data output from the video output terminal 128.

【0027】このようなデータ記録再生装置100は、
図10及び図11に示すような処理タイミングで各部の
データ処理が行われる。図10は、データ記録時の各処
理のタイミングチャートを示し、図11は、データ再生
時の各処理のタイミングチャートを示す。
Such a data recording / reproducing apparatus 100
Data processing of each unit is performed at processing timings as shown in FIGS. FIG. 10 shows a timing chart of each processing at the time of data recording, and FIG. 11 shows a timing chart of each processing at the time of data reproduction.

【0028】記録処理は、図10に示すように、ビデオ
データが入力されて符号化を完了するまでの処理、符号
化がされたビデオデータがビデオデータメモリ117に
書き込まれて読み出されるまでの処理、バスの転送処
理、ハードディスクドライブ103への書き込み処理
が、それぞれ1GOP単位で行われ、1GOP毎にデー
タの転送が行われて、次の処理へ移っていく。オーディ
オデータ、補助データに関してもそれぞれこのビデオデ
ータと同様に1GOPに対応する単位で各処理が行われ
る。
As shown in FIG. 10, the recording process is a process from the input of video data to the completion of encoding, and the process from writing of encoded video data to the video data memory 117 until reading. , A bus transfer process, and a write process to the hard disk drive 103 are performed in units of one GOP. Data is transferred in each GOP, and the process proceeds to the next process. As with the video data, the audio data and the auxiliary data are processed in units corresponding to one GOP.

【0029】従って、入力された所定のGOP(例え
ば、図10に示す#1のGOP)は、3GOP後の処理
タイミングでハードディスクドライブ103に記録され
る。
Therefore, the inputted predetermined GOP (for example, the GOP of # 1 shown in FIG. 10) is recorded on the hard disk drive 103 at the processing timing after 3 GOPs.

【0030】再生処理は、図11に示すように、ハード
ディスクドライブ103からの読み出し処理、バスの転
送処理、バスから転送されたデータがビデオデータメモ
リ122に書き込まれて読み出される間での処理、ビデ
オデータメモリ122から読み出されたビデオデータが
デコードされ出力されるまでの処理が、それぞれ1GO
P単位で行われ、1GOP毎にデータの転送が行われて
次の処理へ移っていく。オーディオデータ、補助データ
に関してもそれぞれビデオデータと同様に1GOPに対
応する単位で各処理が行われる。
As shown in FIG. 11, the reproduction process includes a read process from the hard disk drive 103, a bus transfer process, a process during which data transferred from the bus is written to and read from the video data memory 122, and a video process. Processing until video data read from the data memory 122 is decoded and output is 1 GO
The transfer is performed in P units, data is transferred in each GOP, and the process proceeds to the next processing. For audio data and auxiliary data, each process is performed in units corresponding to one GOP, similarly to video data.

【0031】従って、ハードディスクドライブ103か
ら読み出された所定のGOP(例えば、図11に示す#
11のGOP)は、3GOP後の処理タイミングで出力
される。
Therefore, a predetermined GOP read from the hard disk drive 103 (for example, #GOP shown in FIG. 11)
11 GOPs) are output at the processing timing after 3 GOPs.

【0032】[0032]

【発明が解決しようとする課題】ところで、このような
従来のデータ記録再生装置100では、図11に示すよ
うに、ビデオデコーダ125及びオーディオデコーダ1
26が復号処理をする前に、予め、これらのデータに含
まれているPictureSize情報、Pictur
eの符号化パターン情報、Audio Frame S
ize情報等のヘッダデータを、各ストリームから検出
しなければならなかった。そのため、ビデオデコーダ1
25及びオーディオデーコーダ126は、1GOPの処
理時間の中で、1GOP分のデータの復号処理及びこの
ヘッダ情報の検出処理の両者を行わなければならなかっ
た。従って、従来のデータ記録再生装置100では、ビ
デオデコーダ125及びオーディオデコーダ126の処
理負担が大きく、そのため、装置全体の処理時間を高速
にすることができなかった。また、補助データ入力処理
部127も、予め、どのようなデータ内容の情報が補助
データに含まれているか、この補助データのヘッダ情報
に基づき解析した後処理を行わなければならなく、1G
OPの処理時間の中で、補助情報の変換処理及びヘッダ
情報の検出処理の両者を行わなければなかなかった。
In such a conventional data recording / reproducing apparatus 100, as shown in FIG. 11, a video decoder 125 and an audio decoder 1 are used.
Before performing decoding processing, the PictureSize information and Pictur included in these data are
e, encoding pattern information, Audio Frame S
Header data such as size information has to be detected from each stream. Therefore, the video decoder 1
25 and the audio decoder 126 have to perform both the decoding processing of the data for one GOP and the detection processing of the header information in the processing time of one GOP. Therefore, in the conventional data recording / reproducing apparatus 100, the processing load on the video decoder 125 and the audio decoder 126 is large, and therefore, the processing time of the entire apparatus cannot be shortened. In addition, the auxiliary data input processing unit 127 must also perform post-processing by analyzing in advance what kind of data content is included in the auxiliary data based on the header information of the auxiliary data.
In the processing time of the OP, both the conversion processing of the auxiliary information and the detection processing of the header information have to be performed.

【0033】本発明は、このような実情を鑑みてなされ
たものであり、再生時におけるデータ復号手段の処理を
軽減し、処理時間を高速化するデータ記録再生装置及び
データ記録再生方法を提供することを目的とする。
The present invention has been made in view of such circumstances, and provides a data recording / reproducing apparatus and a data recording / reproducing method which reduce the processing of the data decoding means during reproduction and shorten the processing time. The purpose is to:

【0034】[0034]

【課題を解決するための手段】上述の課題を解決するた
めに、本発明にかかるデータ記録再生装置は、記録媒体
と、オーディオデータ及び/又はビデオデータが含まれ
たデータが入力され、上記データを符号化する符号化手
段と、上記符号化手段により符号化された上記データを
上記記録媒体に記録する記録手段と、上記記録媒体に記
録された上記データを再生する再生手段と、上記再生手
段により再生された上記データを復号して、復号した上
記データを出力する復号手段と、上記符号化手段、上記
記録手段、上記再生手段及び上記復号手段を制御する制
御手段とを備え、上記制御手段は、上記符号化手段によ
り符号化された上記データに含まれているヘッダ情報を
取得して、上記ヘッダ情報が含まれている上記データと
ともに取得した上記ヘッダ情報を上記記録媒体に記録す
ることを特徴とする。
In order to solve the above-mentioned problems, a data recording / reproducing apparatus according to the present invention is provided with a recording medium and data including audio data and / or video data, and Encoding means for encoding the data, recording means for recording the data encoded by the encoding means on the recording medium, reproduction means for reproducing the data recorded on the recording medium, and reproduction means Decoding means for decoding the data reproduced by the above, and outputting the decoded data; and control means for controlling the encoding means, the recording means, the reproduction means and the decoding means, wherein the control means Obtains the header information included in the data encoded by the encoding unit, and acquires the header information together with the data including the header information. The header information and recording on the recording medium.

【0035】このデータ記録再生装置では、上記データ
とともに、このデータのヘッダ情報を記録媒体に記録し
ておき、上記記録媒体に記録した上記データを再生する
際に、上記データのヘッダ情報を記録媒体から直接検出
する。すなわち、このデータ記録再生装置は、上記デー
タに含まれているヘッダ情報を、上記データから取り出
す。そして、このデータ記録再生装置は、ヘッダ情報が
含まれている上記データのデータストリームと、データ
のストリームとは独立に生成したヘッダ情報のストリー
ムとを、記録媒体に記録する。
In this data recording / reproducing apparatus, the data and the header information of the data are recorded on a recording medium, and when reproducing the data recorded on the recording medium, the header information of the data is recorded on the recording medium. Detect directly from. That is, the data recording / reproducing device extracts the header information included in the data from the data. Then, the data recording / reproducing apparatus records the data stream of the data including the header information and the stream of the header information generated independently of the data stream on a recording medium.

【0036】本発明にかかるデータ記録再生装置は、制
御手段が、上記データとともに上記記録媒体に記録され
ている上記ヘッダ情報を検出して、検出した上記ヘッダ
情報に基づき上記記録媒体に記録された上記データの再
生制御を行うことを特徴とする。
In the data recording / reproducing apparatus according to the present invention, the control means detects the header information recorded on the recording medium together with the data, and records the header information recorded on the recording medium based on the detected header information. The reproduction control of the data is performed.

【0037】このデータ記録再生装置では、記録媒体に
記録した上記データのヘッダ情報を、復号手段により復
号する前に上記記録媒体から直接検出して、上記データ
の再生制御を行う。
In this data recording / reproducing apparatus, the header information of the data recorded on the recording medium is directly detected from the recording medium before decoding by the decoding means, and the reproduction control of the data is performed.

【0038】本発明にかかるデータ記録再生方法は、オ
ーディオデータ及び/又はビデオデータが含まれたデー
タを入力し、上記データを符号化し、符号化した上記デ
ータを記録媒体に記録する記録処理と、上記記録媒体に
記録された上記データを再生し、再生した上記データを
復号して、復号した上記データを出力する再生処理とを
行うデータ記録再生方法であって、符号化された上記デ
ータに含まれるヘッダ情報を検出し、ヘッダ情報が含ま
れている上記データとともに上記ヘッダ情報を上記記録
媒体に記録することを特徴とする。
A data recording / reproducing method according to the present invention includes a recording process of inputting data including audio data and / or video data, encoding the data, and recording the encoded data on a recording medium; A data recording / reproducing method for reproducing the data recorded on the recording medium, decoding the reproduced data, and outputting the decoded data. And detecting the header information together with the data including the header information on the recording medium.

【0039】このデータ記録再生方法では、上記データ
とともに、このデータのヘッダ情報を記録媒体に記録し
ておき、上記記録媒体に記録した上記データを再生する
際に、上記データのヘッダ情報を記録媒体から直接検出
する。すなわち、このデータ記録再生装置は、上記デー
タに含まれているヘッダ情報を、上記データから取り出
す。そして、このデータ記録再生装置は、ヘッダ情報が
含まれている上記データのデータストリームと、データ
のストリームとは独立に生成したヘッダ情報のストリー
ムとを、記録媒体に記録する。
In this data recording / reproducing method, the data and the header information of the data are recorded on a recording medium, and when reproducing the data recorded on the recording medium, the header information of the data is recorded on the recording medium. Detect directly from. That is, the data recording / reproducing device extracts the header information included in the data from the data. Then, the data recording / reproducing apparatus records the data stream of the data including the header information and the stream of the header information generated independently of the data stream on a recording medium.

【0040】本発明にかかるデータ記録再生方法は、上
記データとともに上記記録媒体に記録されている上記ヘ
ッダ情報を検出し、上記記録媒体に記録された上記デー
タの再生制御を行うことを特徴とする。
The data recording / reproducing method according to the present invention is characterized in that the header information recorded on the recording medium is detected together with the data, and reproduction control of the data recorded on the recording medium is performed. .

【0041】このデータ記録再生方法では、記録媒体に
記録した上記データのヘッダ情報を、復号手段により復
号する前に上記記録媒体から直接検出して、上記データ
の再生制御を行う。
In this data recording / reproducing method, the header information of the data recorded on the recording medium is directly detected from the recording medium before decoding by the decoding means, and the reproduction control of the data is performed.

【0042】[0042]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0043】図1に、本発明を適用したデータ記録再生
装置を示す。
FIG. 1 shows a data recording / reproducing apparatus to which the present invention is applied.

【0044】図1に示すデータ記録再生装置1は、ビデ
オデータ及びオーディオデータを圧縮してハードディス
クに格納するいわゆるAVサーバと呼ばれる装置であ
る。
The data recording / reproducing apparatus 1 shown in FIG. 1 is a so-called AV server which compresses video data and audio data and stores them on a hard disk.

【0045】データ記録再生装置1は、入力されたビデ
オデータ等の符号化処理及び記録処理を行う記録部2
と、出力するビデオデータ等の復号及び再生処理を行う
再生部3と、ビデオデータ等を格納するハードディスク
ドライブ4と、記録部2及び再生部3とハードディスク
ドライブ4との間のデータ伝送をするバス5と、記録部
2及び再生部3及びハードディスクドライブ4を制御す
るコントローラ6とを備えている。
The data recording / reproducing apparatus 1 includes a recording unit 2 for encoding and recording input video data and the like.
A reproducing unit 3 for decoding and reproducing video data and the like to be output, a hard disk drive 4 for storing video data and the like, and a bus for transmitting data between the recording unit 2 and the reproducing unit 3 and the hard disk drive 4 5 and a controller 6 for controlling the recording unit 2, the reproducing unit 3, and the hard disk drive 4.

【0046】このデータ記録再生装置1には、バースバ
ンドのビデオデータ、ベースバンドのオーディオデー
タ、及び、入力されるビデオデータ及びオーディオデー
タの補助情報が記述された補助データが入力される。入
力されたビデオデータ等は、記録部2により符号化処理
及び記録処理がされ、ハードディスクドライブ4に格納
される。また、このデータ記録再生装置1は、ハードデ
ィスクドライブ4に記録されている圧縮されたビデオデ
ータ等を読み出し、再生部3がビデオデータ等の復号及
び再生処理を行って、ベースバンドのビデオデータ等を
出力する。コントローラ6は、動作コマンド等を発行し
て、記録部2及び再生部3の処理タイミング、バス5の
データ転送タイミング、ハードディスクドライブ4の記
録再生タイミング等の管理、並びに、各部の動作制御を
行う。
The data recording / reproducing apparatus 1 receives input of auxiliary data in which auxiliary data of video data and audio data, and auxiliary information of input video data and audio data are described. The input video data and the like are encoded and recorded by the recording unit 2 and stored in the hard disk drive 4. The data recording / reproducing apparatus 1 reads out compressed video data and the like recorded on the hard disk drive 4, and the reproducing unit 3 decodes and reproduces the video data and the like to convert the baseband video data and the like. Output. The controller 6 issues operation commands and the like, manages the processing timing of the recording unit 2 and the reproduction unit 3, the data transfer timing of the bus 5, the recording and reproduction timing of the hard disk drive 4, and the like, and controls the operation of each unit.

【0047】記録部2は、ビデオデータ入力端子11
と、オーディオデータ入力端子12と、補助データ入力
端子13と、ビデオエンコーダ14と、オーディオエン
コーダ15と、補助データ入力処理部16と、ビデオデ
ータメモリ17と、オーディオデータメモリ18と、補
助データメモリ19と、ヘッダデータメモリ20と、記
録側インターフェース21とを有している。
The recording section 2 has a video data input terminal 11
, Audio data input terminal 12, auxiliary data input terminal 13, video encoder 14, audio encoder 15, auxiliary data input processing unit 16, video data memory 17, audio data memory 18, auxiliary data memory 19 , A header data memory 20, and a recording-side interface 21.

【0048】ビデオデータ入力端子11には、ベースバ
ンドのビデオデータが入力される。このベースバンドの
ビデオデータは、ビデオエンコーダ14に供給される。
The video data input terminal 11 receives baseband video data. The baseband video data is supplied to the video encoder 14.

【0049】オーディオデータ入力端子12には、ベー
スバンドのオーディオデータが入力される。このベース
バンドのオーディオデータは、オーディオエンコーダ1
5に供給される。
The audio data input terminal 12 receives baseband audio data. This baseband audio data is stored in the audio encoder 1
5 is supplied.

【0050】補助データ入力端子13には、入力される
ビデオデータ及びオーディオデータの補助情報が示され
た補助データが入力される。この補助データは、補助デ
ータ入力処理部16に供給される。
The auxiliary data input terminal 13 receives auxiliary data indicating auxiliary information of input video data and audio data. This auxiliary data is supplied to the auxiliary data input processing unit 16.

【0051】ビデオエンコーダ14は、供給されたベー
スバンドのビデオデータを、MPEG−2方式で画像圧
縮する。ビデオエンコーダ14は、圧縮したビデオエレ
メンタリデータを1GOP分転送しないで蓄積してお
き、蓄積したビデオエレメンタリデータを、コントロー
ラ6からのメモリ書き込みコマンドに従い、1GOP単
位でビデオデータメモリ17に供給する。なお、1GO
Pとは、MPEG−2で規定された画像処理単位で、一
般に15フレームで構成される。
The video encoder 14 compresses the supplied baseband video data according to the MPEG-2 system. The video encoder 14 accumulates the compressed video elementary data without transferring it for one GOP, and supplies the accumulated video elementary data to the video data memory 17 in GOP units in accordance with a memory write command from the controller 6. In addition, 1GO
P is an image processing unit defined by MPEG-2, and generally includes 15 frames.

【0052】ここで、このビデオデータメモリ17に供
給されるビデオエレメンタリデータには、ヘッダデータ
が含まれている。ビデオエンコーダ14は、画像圧縮し
たビデオエレメンタリデータを生成する際に、ビデオエ
レメンタリデータのデータストリームとは別の、このビ
デオエレメンタリデータのヘッダデータが記述されたス
トリームを生成する。ビデオエンコーダ14は、このヘ
ッダデータを、ヘッダデータメモリ20に供給する。な
お、ヘッダデータメモリ20に供給するヘッダデータ
は、ビデオエレメンタリデータに含まれている全てのヘ
ッダデータでなく、少なくとも再生時において必要とな
る情報が含まれていればよい。
Here, the video elementary data supplied to the video data memory 17 includes header data. When generating video elementary data that has undergone image compression, the video encoder 14 generates a stream in which header data of the video elementary data is described, which is different from the data stream of the video elementary data. The video encoder 14 supplies the header data to the header data memory 20. Note that the header data supplied to the header data memory 20 need not include all the header data included in the video elementary data but at least information necessary for reproduction.

【0053】オーディオエンコーダ15は、供給された
ベースバンドのオーディオデータを、MPEG−2方式
で音声圧縮する。オーディオエンコーダ15は、音声圧
縮したオーディオエレメンタリデータを、コントローラ
6からのメモリ書き込みコマンドに従い、上記ビデオデ
ータの処理単位の1GOPに対応するデータ単位で、オ
ーディオデータメモリ18に供給する。
The audio encoder 15 compresses the supplied baseband audio data according to the MPEG-2 system. The audio encoder 15 supplies the audio-compressed audio elementary data to the audio data memory 18 in a data unit corresponding to one GOP as a processing unit of the video data according to a memory write command from the controller 6.

【0054】ここで、オーディオデータメモリ18に供
給されるオーディオエレメンタリデータには、ヘッダデ
ータが含まれている。オーディオエンコーダ15は、音
声圧縮したオーディオエレメンタリデータを生成する際
に、オーディオエレメンタリデータのデータストリーム
とは別の、このオーディオエレメンタリデータのヘッダ
データが記述されたストリームを生成する。オーディオ
エンコーダ15は、このヘッダデータを、ヘッダデータ
メモリ20に供給する。なお、ヘッダデータメモリ20
に供給するオーディオエレメンタリデータのヘッダデー
タは、オーディオエレメンタリデータに含まれている全
てのヘッダデータでなく、少なくとも再生時において必
要となる情報が含まれていればよい。
Here, the audio elementary data supplied to the audio data memory 18 includes header data. The audio encoder 15 generates a stream in which the header data of the audio elementary data is described, which is different from the data stream of the audio elementary data when generating the audio elementary data after the audio compression. The audio encoder 15 supplies the header data to the header data memory 20. The header data memory 20
The header data of the audio elementary data supplied to the audio elementary data is not limited to all the header data included in the audio elementary data, but may include at least information necessary for reproduction.

【0055】補助データ入力処理部16は、供給された
補助データをMPEGデータストリームに合致した形式
のデータに変換する変換処理等を行う。補助データ入力
処理部16は、データ変換した補助データを、コントロ
ーラ6からのメモリ書き込みコマンドに従い、上記ビデ
オデータの処理単位の1GOPに対応するデータ単位
で、補助データメモリ19に供給する。
The auxiliary data input processing unit 16 performs a conversion process for converting the supplied auxiliary data into data of a format conforming to the MPEG data stream. The auxiliary data input processing unit 16 supplies the converted auxiliary data to the auxiliary data memory 19 in a data unit corresponding to one GOP as a processing unit of the video data in accordance with a memory write command from the controller 6.

【0056】ここで、この補助データメモリ19に供給
される補助データには、ヘッダデータが含まれている。
補助データ入力処理部16は、補助データのデータ形式
をMPEG−2方式に変換する際に、補助データのデー
タストリームとは別の、この補助データのヘッダ情報が
記述されたストリームを生成する。補助データ入力処理
部16は、このヘッダデータを、ヘッダデータメモリ2
0に供給する。なお、ヘッダデータメモリ20に供給す
る補助データのヘッダデータは、補助データに含まれて
いる全てのヘッダデータでなく、少なくとも再生時にお
いて必要となる情報が含まれていればよい。
Here, the auxiliary data supplied to the auxiliary data memory 19 includes header data.
When converting the data format of the auxiliary data into the MPEG-2 format, the auxiliary data input processing unit 16 generates a stream in which header information of the auxiliary data is described, which is different from the data stream of the auxiliary data. The auxiliary data input processing unit 16 stores the header data in the header data memory 2
Supply 0. Note that the header data of the auxiliary data supplied to the header data memory 20 is not limited to all the header data included in the auxiliary data, but may include at least information necessary for reproduction.

【0057】ビデオデータメモリ17は、供給されたビ
デオエレメンタリデータを1GOP単位で格納する。ビ
デオデータメモリ17は、コントローラ6からのメモリ
読み出しコマンドに従い、格納しているビデオエレメン
タリデータを1GOP単位で記録側インターフェース2
1に供給する。
The video data memory 17 stores the supplied video elementary data in units of one GOP. The video data memory 17 stores the stored video elementary data in units of 1 GOP according to a memory read command from the controller 6.
Feed to 1.

【0058】オーディオデータメモリ18は、供給され
たオーディオエレメンタリデータを1GOP単位で格納
する。オーディオデータメモリ18は、コントローラ6
からのメモリ読み出しコマンドに従い、格納しているオ
ーディオエレメンタリデータを1GOP単位で記録側イ
ンターフェース21に供給する。
The audio data memory 18 stores the supplied audio elementary data in units of 1 GOP. The audio data memory 18 stores the controller 6
The stored audio elementary data is supplied to the recording-side interface 21 in GOP units in accordance with a memory read command from.

【0059】補助データメモリ19は、供給された補助
データを1GOP単位で格納する。補助データメモリ1
9は、コントローラ6からのメモリ読み出しコマンドに
従い、格納している補助データを1GOP単位で記録側
インターフェース21に供給する。
The auxiliary data memory 19 stores the supplied auxiliary data in units of 1 GOP. Auxiliary data memory 1
9 supplies the stored auxiliary data to the recording side interface 21 in GOP units according to a memory read command from the controller 6.

【0060】ヘッダデータメモリ20は、供給された各
ヘッダデータを1GOP単位で格納する。ヘッダデータ
メモリ20は、コントローラ6からのメモリ読み出しコ
マンドに従い、格納しているヘッダデータを1GOP単
位で記録側インターフェース21に供給する。ヘッダデ
ータメモリ20が格納するヘッダデータとしては、再生
に必要な、例えば、各ピクチャのPicture Si
ze、PictureCoding Type、Pro
file、Level等の情報や、各オーディオフレー
ムのfreme Size、サンプリング周波数、エン
ファシス等の情報や、補助データのData Siz
e、ID等の情報がある。
The header data memory 20 stores the supplied header data in units of one GOP. The header data memory 20 supplies the stored header data to the recording side interface 21 in GOP units according to a memory read command from the controller 6. The header data stored in the header data memory 20 includes, for example, Picture Sis of each picture necessary for reproduction.
ze, PictureCoding Type, Pro
information such as file and Level, information such as frame size, sampling frequency and emphasis of each audio frame, and data size of auxiliary data.
e, information such as ID.

【0061】記録側インターフェース21は、ビデオデ
ータメモリ17、オーディオデータメモリ18、補助デ
ータメモリ19及びヘッダデータメモリ20から供給さ
れた1GOP分のビデオエレメンタリデータ、オーディ
オエレメンタリデータ、補助データ及びヘッダデータ
を、例えばPCI形式等のバス5の転送プロトコルに従
ってデータ形式に変換し、このバス5を介して、ハード
ディスクドライブ4に転送する。
The recording-side interface 21 is provided with one GOP worth of video elementary data, audio elementary data, auxiliary data and header data supplied from the video data memory 17, the audio data memory 18, the auxiliary data memory 19 and the header data memory 20. Is converted into a data format according to a transfer protocol of the bus 5 such as a PCI format, and is transferred to the hard disk drive 4 via the bus 5.

【0062】ハードディスクドライブ4は、転送された
ビデオエレメンタリデータ、オーディオエレメンタリデ
ータ、補助データ及びヘッダデータを、コントローラ6
からの記録コマンドに従い、1GOP単位で記録する。
The hard disk drive 4 transfers the transferred video elementary data, audio elementary data, auxiliary data and header data to the controller 6.
Is recorded in units of 1 GOP in accordance with the recording command from.

【0063】再生部3は、再生側インターフェース31
と、ビデオデータメモリ32と、オーディオデータメモ
リ33と、補助データメモリ34と、ヘッダデータメモ
リ35と、ビデオデコーダ36と、オーディオデコーダ
37と、補助データ出力処理部38と、ビデオ出力端子
39と、オーディオ出力端子40と、補助データ出力端
子41とを有している。
The reproducing unit 3 includes a reproducing interface 31
A video data memory 32, an audio data memory 33, an auxiliary data memory 34, a header data memory 35, a video decoder 36, an audio decoder 37, an auxiliary data output processing unit 38, a video output terminal 39, It has an audio output terminal 40 and an auxiliary data output terminal 41.

【0064】再生側インターフェース31には、コント
ローラ6からの再生コマンドに従い再生されたハードデ
ィスクドライブ4からのビデオエレメンタリデータ等
が、バス5を介して、転送される。転送されるデータ
は、例えばPCI形式等のバス5の転送プロトコルに従
ったデータ形式のビデオエレメンタリデータ、オーディ
オエレメンタリデータ、補助データ及びヘッダデータと
であって、1GOP単位で、転送されてくる。再生側イ
ンターフェース31は、転送されたこれらのデータのデ
ータ形式を変換した後、ビデオエレメンタリデータ、オ
ーディオエレメンタリデータ、補助データ及びヘッダデ
ータの3つのデータストリームに分離する。
To the reproducing interface 31, video elementary data and the like from the hard disk drive 4 reproduced according to the reproducing command from the controller 6 are transferred via the bus 5. The data to be transferred are video elementary data, audio elementary data, auxiliary data, and header data in a data format according to a transfer protocol of the bus 5 such as a PCI format, and are transferred in units of 1 GOP. . After converting the data format of the transferred data, the reproduction-side interface 31 separates the data into three data streams of video elementary data, audio elementary data, auxiliary data, and header data.

【0065】分離されたデータのうちまず、ヘッダデー
タが再生側インターフェース31からヘッダメモリ35
に供給される。ここで、コントローラ6は、ヘッダメモ
リ35に格納されたヘッダデータから、ビデオエレメン
タリデータ、オーディオエレメンタリデータ及び補助デ
ータのデータサイズ情報を読み出す。コントローラ6
は、各データのデータサイズの情報に基づき、1GOP
分のデータ量のデータを、再生側インタフェース31か
ら各メモリ32〜34へ書き込む処理命令であるメモリ
書き込みコマンドを発行する。再生側インターフェース
31は、コントローラ6からのメモリ書き込みコマンド
に従い、分離したビデオエレメンタリデータを、1GO
P単位でビデオデータメモリ32に供給する。また、再
生側インターフェース31は、コントローラ6からのメ
モリ書き込みコマンドに従い、分離したオーディオエレ
メンタリデータを、1GOP単位でオーディオデータメ
モリ33に供給する。また、再生側インターフェース3
1は、コントローラ6からのメモリ書き込みコマンドに
従い、分離した補助データを、1GOP単位で補助デー
タメモリ34に供給する。
First, of the separated data, the header data is transferred from the reproducing interface 31 to the header memory 35.
Supplied to Here, the controller 6 reads the data size information of the video elementary data, the audio elementary data, and the auxiliary data from the header data stored in the header memory 35. Controller 6
Is 1 GOP based on data size information of each data.
A memory write command, which is a processing command for writing the data of the minute data amount to each of the memories 32 to 34 from the reproduction side interface 31, is issued. The playback-side interface 31 converts the separated video elementary data into 1 GO according to a memory write command from the controller 6.
The data is supplied to the video data memory 32 in P units. In addition, the reproduction side interface 31 supplies the separated audio elementary data to the audio data memory 33 in GOP units according to a memory write command from the controller 6. Also, the playback side interface 3
1 supplies the separated auxiliary data to the auxiliary data memory 34 in units of 1 GOP in accordance with a memory write command from the controller 6.

【0066】また、ヘッダデータメモリ35にヘッダデ
ータが格納されると、コントローラ6は、ヘッダメモリ
35に格納された全てのヘッダデータを読み出し、その
ヘッダデータの解析を行う。そして、コントローラ6
は、そのヘッダデータを解析した結果得られるビデオデ
ータの復号及び再生に必要となる情報、例えば、各ピク
チャのPicture Size、Picture C
oding Type、Profile、Level等
の情報を、ビデオデコーダ36に供給する。また、コン
トローラ6は、そのヘッダデータを解析した結果得られ
るオーディオデータの復号に必要となる情報、例えば、
各オーディオフレームのfreme Size、サンプ
リング周波数、エンファシス等の情報を、オーディオデ
コーダ37に供給する。また、コントローラ6は、その
ヘッダ情報を解析した結果得られる補助データの変化に
必要となる情報、例えば、補助データのData Si
ze、ID等の情報を、補助データ出力処理部38に供
給する。
When the header data is stored in the header data memory 35, the controller 6 reads out all the header data stored in the header memory 35 and analyzes the header data. And the controller 6
Is information necessary for decoding and reproducing video data obtained as a result of analyzing the header data, for example, Picture Size, Picture C of each picture.
The information such as the coding Type, Profile, and Level is supplied to the video decoder 36. The controller 6 also provides information necessary for decoding audio data obtained as a result of analyzing the header data, for example,
Information such as the frame size, sampling frequency, and emphasis of each audio frame is supplied to the audio decoder 37. Further, the controller 6 provides information necessary for changing the auxiliary data obtained as a result of analyzing the header information, for example, Data Si of the auxiliary data.
Information such as ze and ID is supplied to the auxiliary data output processing unit 38.

【0067】ビデオデータメモリ32は、供給されたビ
デオエレメンタリデータを1GOP単位で格納する。ビ
デオデータメモリ32は、コントローラ6からのメモリ
読み出しコマンドに従い、格納しているビデオエレメン
タリデータを1GOP単位でビデオデコーダ36に格納
する。
The video data memory 32 stores the supplied video elementary data in GOP units. The video data memory 32 stores the stored video elementary data in the video decoder 36 in GOP units according to a memory read command from the controller 6.

【0068】オーディオデータメモリ33は、供給され
たオーディオエレメンタリデータを1GOP単位で格納
する。オーディオデータメモリ33は、コントローラ6
からのメモリ読み出しコマンドに従い、格納しているオ
ーディオエレメンタリデータを1GOP単位でオーディ
オエンコーダ37に供給する。
The audio data memory 33 stores the supplied audio elementary data in units of one GOP. The audio data memory 33 includes the controller 6
Supplies the stored audio elementary data to the audio encoder 37 in GOP units in accordance with the memory read command from.

【0069】補助データメモリ34は、供給された補助
データを1GOP単位で格納する。補助データメモリ3
4は、コントローラ6からのメモリ読み出しコマンドに
従い、格納している補助データを1GOP単位で補助デ
ータ出力処理部38に供給する。
The auxiliary data memory 34 stores the supplied auxiliary data in units of 1 GOP. Auxiliary data memory 3
4 supplies the stored auxiliary data to the auxiliary data output processing unit 38 in 1 GOP units according to a memory read command from the controller 6.

【0070】ヘッダデータメモリ35は、供給されたヘ
ッダデータを格納する。ヘッダデータメモリ34は、こ
のヘッダデータをコントローラ6に供給する。また、ヘ
ッダデータメモリ34は、コントローラ6からのメモリ
読み出しコマンドに従い、各ヘッダデータを、ビデオデ
コーダ36、オーディオデコーダ37又は補助データ出
力処理部38に供給する。
The header data memory 35 stores the supplied header data. The header data memory 34 supplies the header data to the controller 6. The header data memory 34 supplies each header data to the video decoder 36, the audio decoder 37, or the auxiliary data output processing unit 38 according to a memory read command from the controller 6.

【0071】ビデオデコーダ36は、供給されたビデオ
エレメンタリデータをMPEG−2方式で1GOP単位
で画像伸張する。ビデオデコーダ36は、画像伸張して
生成されたベースバンドのビデオデータを、1フレーム
単位で、ビデオ出力端子39から外部へ出力する。この
とき、ビデオデコーダ36は、ビデオデータメモリ32
から供給されたビデオエレメンタリデータに含まれてい
るヘッダデータの解析をせず、コントローラ6から供給
された情報に基づき復号処理を行う。そのため、ビデオ
デコーダ36では、ヘッダデータの解析処理を行わなく
てよく、復号処理が軽減され、また、復号処理の高速化
を図ることができる。
The video decoder 36 decompresses the supplied video elementary data in units of 1 GOP according to the MPEG-2 system. The video decoder 36 outputs the baseband video data generated by expanding the image from the video output terminal 39 to the outside in frame units. At this time, the video decoder 36
The decoding processing is performed based on the information supplied from the controller 6 without analyzing the header data included in the video elementary data supplied from the controller 6. Therefore, the video decoder 36 does not need to perform the analysis processing of the header data, the decoding processing is reduced, and the decoding processing can be speeded up.

【0072】オーディオデコーダ37は、供給されたオ
ーディオエレメンタリデータをMPEG−2方式で1G
OP単位で音声伸張する。オーディオデコーダ37は、
音声伸張して生成されたベースバンドのオーディオデー
タを、ビデオ出力端子39から出力するベースバンドの
ビデオデータに同期させて、オーディオ出力端子40か
ら出力する。このとき、オーディオデコーダ37は、オ
ーディオデータメモリ33から供給されたオーディオエ
レメンタリデータに含まれているヘッダデータの解析を
せず、コントローラ6から供給された情報に基づき復号
処理を行う。そのため、オーディオデコーダ37では、
ヘッダデータの解析処理を行わなくてよく、復号処理が
軽減され、また、復号処理の高速化を図ることができ
る。
The audio decoder 37 converts the supplied audio elementary data into an MPEG-2
Voice expansion is performed in OP units. The audio decoder 37
The baseband audio data generated by expanding the audio is output from the audio output terminal 40 in synchronization with the baseband video data output from the video output terminal 39. At this time, the audio decoder 37 does not analyze the header data included in the audio elementary data supplied from the audio data memory 33, but performs a decoding process based on the information supplied from the controller 6. Therefore, in the audio decoder 37,
It is not necessary to perform the analysis processing of the header data, the decoding processing is reduced, and the decoding processing can be speeded up.

【0073】補助データ出力処理部38は、MPEG−
2方式のデータ形式とされた補助データを、出力可能な
データ形式に変換する。補助データ出力処理部38は、
データ形式を変換した補助データを、ビデオ出力端子3
9から出力するベースバンドのビデオデータに同期させ
て、補助データ出力端子41から出力する。このとき、
補助データ出力処理部38は、補助データメモリ34か
ら供給された補助データに含まれているヘッダデータの
解析をせず、コントローラ6から供給された情報に基づ
き変換処理を行う。そのため、補助データ出力処理部3
8では、ヘッダデータの解析処理を行わなくてよく、変
換処理が軽減され、また、変換処理の高速化を図ること
ができる。
The auxiliary data output processing section 38 is an MPEG-
The auxiliary data in the two-system data format is converted into an output-capable data format. The auxiliary data output processing unit 38
The auxiliary data whose data format has been converted is supplied to the video output terminal 3
9 is output from the auxiliary data output terminal 41 in synchronization with the baseband video data output from the auxiliary data output terminal 9. At this time,
The auxiliary data output processing section 38 does not analyze the header data included in the auxiliary data supplied from the auxiliary data memory 34, but performs a conversion process based on the information supplied from the controller 6. Therefore, the auxiliary data output processing unit 3
In No. 8, the header data analysis process does not need to be performed, the conversion process is reduced, and the speed of the conversion process can be increased.

【0074】このようなデータ記録再生装置1は、図2
及び図3に示すような処理タイミングで各部のデータ処
理が行われる。図2は、データ記録時の各処理のタイミ
ングチャートを示し、図3は、データ再生時の各処理の
タイミングチャートを示す。
The data recording / reproducing apparatus 1 has the structure shown in FIG.
The data processing of each unit is performed at the processing timing shown in FIG. FIG. 2 shows a timing chart of each processing at the time of data recording, and FIG. 3 shows a timing chart of each processing at the time of data reproduction.

【0075】記録処理は、図2に示すように、ビデオデ
ータが入力されて符号化を完了するまでの処理、符号化
がされたビデオデータがビデオデータメモリ17に書き
込まれて読み出されるまでの処理、バスの転送処理、ハ
ードディスクドライブ4への書き込み処理が、それぞれ
1GOP単位で行われ、1GOP毎にデータ転送が行わ
れて、次の処理へ移っていく。オーディオデータ、補助
データに関してもそれぞれこのビデオデータと同様に1
GOPに対応する単位で各処理が行われる。
As shown in FIG. 2, the recording process is a process from the input of video data to the completion of encoding, and the process of writing encoded video data to the video data memory 17 and reading it out. , A bus transfer process, and a write process to the hard disk drive 4 are performed in units of one GOP, and data transfer is performed for each GOP, and the process proceeds to the next process. The audio data and auxiliary data are also 1 in the same manner as the video data.
Each process is performed in a unit corresponding to the GOP.

【0076】従って、入力された所定のGOP(例え
ば、図2に示す#1のGOP)は、3GOP後の処理タ
イミングでハードディスクドライブ4に記録される。
Therefore, the inputted predetermined GOP (for example, the GOP of # 1 shown in FIG. 2) is recorded on the hard disk drive 4 at the processing timing after 3 GOPs.

【0077】ここで記録処理においては、符号化時に生
成されるビデオエレメンタリデータ等に含まれているヘ
ッダデータを、ヘッダデータメモリ20に転送する。そ
して、ヘッダデータメモリ20に転送されたヘッダデー
タは、バス転送時に、ビデオエレメンタリデータ、オー
ディオエレメンタリデータ及び補助データとともに、バ
ス5を介してハードディスクドライブ4に転送される。
ハードディスクドライブ4は、転送されたヘッダデータ
を、上記ビデオエレメンタリデータ等とともに記録す
る。
Here, in the recording process, the header data included in the video elementary data and the like generated at the time of encoding is transferred to the header data memory 20. The header data transferred to the header data memory 20 is transferred to the hard disk drive 4 via the bus 5 together with the video elementary data, the audio elementary data, and the auxiliary data at the time of the bus transfer.
The hard disk drive 4 records the transferred header data together with the video elementary data and the like.

【0078】再生処理は、図3に示すように、ハードデ
ィスクドライブ4からの読み出し処理、バスの転送処
理、バスから転送されたデータがビデオデータメモリ3
2に書き込まれて読み出される間での処理、ビデオデー
タメモリ32から読み出されたビデオデータがデコード
され出力されるまでの処理が、それぞれ1GOP単位で
行われ、1GOP毎にデータの転送が行われて次の処理
へ移っていく。オーディオデータ、補助データに関して
もそれぞれビデオデータと同様に1GOPに対応する単
位で各処理が行われる。
As shown in FIG. 3, the reproducing process includes a reading process from the hard disk drive 4, a bus transfer process, and a process for transferring data transferred from the bus to the video data memory 3.
2 and processing until the video data read from the video data memory 32 is decoded and output is performed in units of 1 GOP, and data is transferred in units of 1 GOP. To the next process. For audio data and auxiliary data, each process is performed in units corresponding to one GOP, similarly to video data.

【0079】従って、ハードディスクドライブ4から読
み出された所定のGOP(例えば、図3に示す#11の
GOP)は、3GOP後の処理タイミングで出力され
る。
Accordingly, a predetermined GOP (for example, GOP # 11 shown in FIG. 3) read from the hard disk drive 4 is output at a processing timing after three GOPs.

【0080】ここで再生処理においては、メモリ書き込
み時において、ビデオエレメンタリデータ等の書き込み
に先だって、ヘッダデータのヘッダデータメモリ35へ
の書き込みが行われる。そして、このヘッダデータがヘ
ッダデータメモリ35に書き込まれると、コントローラ
6がこのヘッダデータの解析を開始する。従って、従来
のようにビデオデコーダ36にデータが供給されてから
解析がされるのではなく、少なくともその1GOP以上
前から、コントローラ6がヘッダデータの解析を行う。
従って、再生時において、デコード時の処理負担が軽減
するとともに、デコード時の処理の高速化を図ることが
できる。
In the reproduction process, the header data is written to the header data memory 35 prior to writing the video elementary data or the like at the time of writing to the memory. When the header data is written into the header data memory 35, the controller 6 starts analyzing the header data. Therefore, the controller 6 analyzes the header data at least one GOP or more before the data is supplied, instead of being analyzed after the data is supplied to the video decoder 36 as in the related art.
Therefore, at the time of reproduction, the processing load at the time of decoding can be reduced, and the speed of the processing at the time of decoding can be increased.

【0081】以上のように本発明を適用したデータ記録
再生装置1では、圧縮符号化したビデオエレメンタリデ
ータ等をハードディスクドライブ4に記録する際に、こ
のビデオエレメンタリデータ等に含まれているヘッダ情
報をハードディスクドライブ4に記録しておく。そし
て、再生時において、ハードディスクドライブ4に記録
したビデオエレメンタリデータ等のヘッダデータを、上
記ハードディスクドライブ4から直接検出して、上記ビ
デオエレメンタリデータ等の再生制御を行う。このた
め、データ記録再生装置1では、復号処理の負担を軽減
させることができるともに再生処理を高速化することが
できる。
As described above, in the data recording / reproducing device 1 to which the present invention is applied, when recording the compression-encoded video elementary data or the like on the hard disk drive 4, the header included in the video elementary data or the like is used. The information is recorded on the hard disk drive 4. At the time of reproduction, header data such as video elementary data recorded on the hard disk drive 4 is directly detected from the hard disk drive 4 and reproduction control of the video elementary data and the like is performed. For this reason, in the data recording / reproducing apparatus 1, the load of the decoding process can be reduced and the speed of the reproducing process can be increased.

【0082】つぎに、ハードディスクドライブ4に記録
されるヘッダデータの具体的なデータ内容について説明
する。なお、以下示すデータ例は、Number_of_GOP =1,
Number_of_Picture =15, Number_of_AFRAME =21, Numbe
r_of_Audio_Stereo_Channel=2, Number_of_AUX_Data =4
の場合である。
Next, the specific data contents of the header data recorded on the hard disk drive 4 will be described. The data example shown below is Number_of_GOP = 1,
Number_of_Picture = 15, Number_of_AFRAME = 21, Numbe
r_of_Audio_Stereo_Channel = 2, Number_of_AUX_Data = 4
Is the case.

【0083】図4に、MPEG−2データの1GOP分
のデータ構造を示す。
FIG. 4 shows the data structure of one GOP of MPEG-2 data.

【0084】MPEG−2データの1GOP分のデータ
は、図4に示すように、System_Layer_Headerと、Video
_Layer_Headerと、Video_Stream_byteと、Audio_1/2ch_
Layer_Headerと、Audio_1/2ch_Layer_byteと、Audio_3/
4ch_Layer_Headerと、Audio_3/4ch_Layer_byteと、AUX_
Layer_Headerと、AUX_Date_byteとから構成される。
As shown in FIG. 4, one GOP of MPEG-2 data includes System_Layer_Header and Video
_Layer_Header, Video_Stream_byte, Audio_1 / 2ch_
Layer_Header, Audio_1 / 2ch_Layer_byte, Audio_3 /
4ch_Layer_Header, Audio_3 / 4ch_Layer_byte, AUX_
It is composed of Layer_Header and AUX_Date_byte.

【0085】System_Layer_Headerは、128バイトの
情報で、1GOP内の全てのデータを統括するヘッダ情
報である。Video_Layer_Headerは、376バイトの情報
で、ビデオデータのヘッダ情報である。Video_Stream_b
yteは、1GOP分のビデオエレメンタリデータであ
る。Audio_1/2ch_Layer_Headerは、104バイトの情報
で、2つのオーディオデータのうち、一方のオーディオ
データのヘッダ情報である。Audio_1/2ch_Layer_byte
は、2つのオーディオデータのうち、一方のオーディオ
エレメンタリデータである。Audio_3/4ch_Layer_Header
は、104バイトの情報で、2つのオーディオデータの
うち、他方のオーディオデータのヘッダ情報である。Au
dio_3/4ch_Layer_byteは、2つのオーディオデータのう
ち、他方のオーディオエレメンタリデータである。AUX_
Layer_Headerは、76バイトの情報で、補助データのヘ
ッダ情報である。AUX_Date_byteは、補助データであ
る。
System_Layer_Header is 128 bytes of information and is header information for controlling all data in one GOP. Video_Layer_Header is 376 bytes of information, and is header information of video data. Video_Stream_b
yte is one GOP worth of video elementary data. Audio_1 / 2ch_Layer_Header is information of 104 bytes and is header information of one of the two audio data. Audio_1 / 2ch_Layer_byte
Is audio elementary data of one of the two audio data. Audio_3 / 4ch_Layer_Header
Is information of 104 bytes and is header information of the other audio data of the two audio data. Au
dio_3 / 4ch_Layer_byte is the other audio elementary data of the two audio data. AUX_
Layer_Header is 76-byte information and is header information of auxiliary data. AUX_Date_byte is auxiliary data.

【0086】ハードディスクドライブ4には、以上のよ
うなデータ構造のデータストリームとともに、このデー
タストリームとは別のSystem_Layer_Header、Video_Lay
er_Header、Audio_1/2ch_Layer_Header、Audio_3/4ch_L
ayer_Header、AUX_Layer_Headerが記述されたヘッダデ
ータのストリームが記録される。
The hard disk drive 4 includes a data stream having the above-described data structure and a System_Layer_Header and a Video_Layer different from the data stream.
er_Header, Audio_1 / 2ch_Layer_Header, Audio_3 / 4ch_L
A stream of header data in which ayer_Header and AUX_Layer_Header are described is recorded.

【0087】以下、つぎに、上記MPEG−2データス
トリームとは別のストリームとして記録されるヘッダデ
ータのデータ構造を説明する。
Next, the data structure of header data recorded as a stream different from the MPEG-2 data stream will be described.

【0088】まず、System_Layer_Headerの内容につい
て説明する。図5に、System_Layer_Headerのデータ構
造を示す。
First, the contents of System_Layer_Header will be described. FIG. 5 shows a data structure of System_Layer_Header.

【0089】Wing_Header_IDは、Wing Dataであること
を表す56ビットのIDデータである。アスキーコード
で、“Wing_ID”と記述される。Header_Version_IDは、
ヘッダデータのバージョンを表す8ビットのIDデータ
である。System_Layer_Header_byte_Lengthは、System_
Layer_Headerのバイト数を示す32ビットの情報であ
る。Video_Layer_Header_Positionは、このレコーディ
ングユニット内のどの位置から、Video_Layer_Headerが
始まっているかを示す32ビットの情報であり、このレ
コーディングユニットの先頭からのバイト数が示されて
いる。
Wing_Header_ID is 56-bit ID data representing Wing Data. In the ASCII code, "Wing_ID" is described. Header_Version_ID is
This is 8-bit ID data representing the version of the header data. System_Layer_Header_byte_Length is
This is 32-bit information indicating the number of bytes of Layer_Header. Video_Layer_Header_Position is 32-bit information indicating from which position in the recording unit the Video_Layer_Header starts, and indicates the number of bytes from the head of the recording unit.

【0090】Audio_1/2ch_Layer_Header_Positionは、
このレコーディングユニット内のどの位置から、Audio_
1/2ch_Layer_Headerが始まっているかを示す32ビット
の情報であり、このレコーディングユニットの先頭から
のバイト数が示されている。なお、データが0の場合に
はそのチャンネルは記録をしない。Audio_3/4ch_Layer_
Header_Positionは、このレコーディングユニット内の
どの位置から、Audio_3/4ch_Layer_Headerが始まってい
るかを示す32ビットの情報であり、このレコーディン
グユニットの先頭からのバイト数が示されている。な
お、データが0の場合にはそのチャンネルは記録をしな
い。Audio_5/6ch_Layer_Header_Positionは、このレコ
ーディングユニット内のどの位置から、Audio_5/6ch_La
yer_Headerが始まっているかを示す32ビットの情報で
あり、このレコーディングユニットの先頭からのバイト
数が示されている。なお、データが0の場合にはそのチ
ャンネルは記録をしない。Audio_7/8ch_Layer_Header_P
ositionは、このレコーディングユニット内のどの位置
から、Audio_7/8ch_Layer_Headerが始まっているかを示
す32ビットの情報であり、このレコーディングユニッ
トの先頭からのバイト数が示されている。なお、データ
が0の場合にはそのチャンネルは記録をしない。
Audio_1 / 2ch_Layer_Header_Position is
From any location within this recording unit,
This is 32-bit information indicating whether 1 / 2ch_Layer_Header has started, and indicates the number of bytes from the head of this recording unit. If the data is 0, the channel is not recorded. Audio_3 / 4ch_Layer_
Header_Position is 32-bit information indicating from which position in the recording unit the Audio_3 / 4ch_Layer_Header has started, and indicates the number of bytes from the head of the recording unit. If the data is 0, the channel is not recorded. Audio_5 / 6ch_Layer_Header_Position is the audio_5 / 6ch_Layer from any position in this recording unit.
This is 32-bit information indicating whether or not yer_Header has started, and indicates the number of bytes from the head of this recording unit. If the data is 0, the channel is not recorded. Audio_7 / 8ch_Layer_Header_P
The osition is 32-bit information indicating from which position in the recording unit the Audio_7 / 8ch_Layer_Header starts, and indicates the number of bytes from the head of the recording unit. If the data is 0, the channel is not recorded.

【0091】なお、以上のAudio_n/mch_Layer_Header_P
ositionは、このMPEG−2データストリームとは別
のストリームとして記録されるヘッダデータにのみ記録
される。
Note that the above Audio_n / mch_Layer_Header_P
The osition is recorded only in header data recorded as a stream different from the MPEG-2 data stream.

【0092】AUX_Layer_Header_Positionは、このレコ
ーディングユニット内のどの位置から、AUX_Layer_Head
erが始まっているかを示す32ビットの情報であり、こ
のレコーディングユニットの先頭からのバイト数が示さ
れている。Recording_Unit_byte_Lengthは、このレコー
ディングユニットのバイト数を表す32ビットの情報で
ある。Number_of_Recording_Unit_Fieldは、このレコー
ディングユニットの再生に必要な時間をフィールド単位
で表した8ビットの情報である。例えば、2−3プルダ
ウンがあった場合など、1GOPが15フレームであっ
ても再生時間が異なるために設けられる。Recording_Un
it_Closed_Flagは、このレコーディングユニットの先頭
のGOPがクローズドGOPであるかを表す情報であ
る。もし、クローズドGOPであれば、このレコーディ
ングユニットの先頭から再生が可能となる。クローズド
GOPでなければ、1つ手前のレコーディングユニット
から再生しなければならない。Error_Flagは、このレコ
ーディングユニット内にエラーが存在するかを示す情報
である。エラーが無い場合には“0”とし、エラーがあ
る場合には“1”をとする。このError_Flagは、このM
PEG−2データストリームとは別のストリームとして
記録されるヘッダデータにのみ記録される。Crash_Flag
は、このレコーディングユニット内が完全な形で取り出
せたかどうかを示す情報である。完全な形で取り出せた
場合には“0”とし、完全な形で取り出せない場合に
は、“1”とする。Recording_Unit_Closed_FlagとError
_FlagとCrash_Flagとで、トータル8ビットのデータと
なる。Crcc_Flag_Modeは、Crccを付けるモードを示す3
ビットの情報である。3ビットのMSBをb2、LSBを
b0としたとき、b0=1のとき各Picture_Streamの最後にCr
ccを付け、b1=のとき各Audio_Frame_Streamの最後にCrc
cを付け、b2=1のとき各AUX_Data_byteの最後にCrccを付
ける。System_Layer_Header_Crcc_Flagは、System_Laye
r_HeaderのCrccが有効であるかを示す1ビットの情報で
ある。Crccが無効である場合には“0”とし、Crccが有
効である場合には“1”とする。GOP_IDは、このGOP
が、記録開始から何番目のGOPであるかを示す32ビ
ットの情報である。記録開始GOPである場合には、
“0001h”とする。Scanning_System_Flagは、ライン
数、フィールド周波数、アスペクト比を示す8ビットの
情報である。このScanning_System_Flagの8ビットのデ
ータが示す内容は、以下のとおりである。 “00000000”No information“00000001”525/59.94/4x
3 “00000010”626/50/4x3“00000011”Reserved“0000
0100”Reserved“00000101”525/59.94/16x9“0000011
0”625/50/16x9“00000111”〜“11111111”Reserved mark_bitは、予備のビットである。System_Layer_Heade
r_Crccは、8ビットのSystem_Layer_Header_のCrccコー
ドである。Crccは、System_Layer_Headerの先頭から1b
yte毎にSystem_Layer_header_byte_Length-1までを計算
し、最後に1バイトのCrccコードを付加する。Crccが無
効の場合は、“00h”とする。
[0092] AUX_Layer_Header_Position is the AUX_Layer_Head from any position in this recording unit.
This is 32-bit information indicating whether or not er has started, and indicates the number of bytes from the head of this recording unit. Recording_Unit_byte_Length is 32-bit information indicating the number of bytes of this recording unit. Number_of_Recording_Unit_Field is 8-bit information representing the time required for reproducing this recording unit in field units. For example, when there are 2-3 pull-downs, even if one GOP is 15 frames, it is provided because the reproduction time is different. Recording_Un
it_Closed_Flag is information indicating whether the first GOP of this recording unit is a closed GOP. If the GOP is a closed GOP, it can be reproduced from the beginning of the recording unit. If it is not a closed GOP, it must be reproduced from the previous recording unit. Error_Flag is information indicating whether an error exists in this recording unit. If there is no error, it is set to “0”. If there is an error, it is set to “1”. This Error_Flag is
It is recorded only in the header data recorded as a stream different from the PEG-2 data stream. Crash_Flag
Is information indicating whether or not the recording unit has been completely extracted. Set to "0" if the data can be completely extracted, and set to "1" if it cannot be completely extracted. Recording_Unit_Closed_Flag and Error
_Flag and Crash_Flag form a total of 8 bits of data. Crcc_Flag_Mode is 3 indicating the mode to attach Crcc
Bit information. B2 for 3 bit MSB and LSB for 3 bit
When b0, when b0 = 1 Cr at the end of each Picture_Stream
Add cc, and when b1 = Crc at the end of each Audio_Frame_Stream
Add c and add Crcc at the end of each AUX_Data_byte when b2 = 1. System_Layer_Header_Crcc_Flag is System_Laye
This is 1-bit information indicating whether Crcc of r_Header is valid. It is set to “0” when Crcc is invalid, and is set to “1” when Crcc is valid. GOP_ID is this GOP
Is 32-bit information indicating the order of the GOP from the start of recording. If it is a recording start GOP,
Set to “0001h”. Scanning_System_Flag is 8-bit information indicating the number of lines, field frequency, and aspect ratio. The contents indicated by the 8-bit Scanning_System_Flag data are as follows. “00000000” No information “00000001” 525 / 59.94 / 4x
3 “00000010” 626/50 / 4x3 “00000011” Reserved “0000
0100 ”Reserved“ 00000101 ”525 / 59.94 / 16x9“ 0000011
“0” 625/50 / 16x9 “00000111” to “11111111” Reserved mark_bit is a reserved bit.
r_Crcc is an 8-bit System_Layer_Header_ Crcc code. Crcc is 1b from the beginning of System_Layer_Header
Calculate up to System_Layer_header_byte_Length-1 for each yte, and add a 1-byte Crcc code at the end. If Crcc is invalid, set to “00h”.

【0093】つぎに、Video_Layer_Headerの内容につい
て説明する。図6にVideo_Layer_Headerのデータ構造を
示す。
Next, the contents of Video_Layer_Header will be described. FIG. 6 shows the data structure of Video_Layer_Header.

【0094】Video_Layer_Header_byte_Lengthは、Vide
o_Layer_Headerのバイト数を示す16ビットの情報であ
る。Video_Layer_Header_Crcc_Flagは、Video_Layer_He
aderのCrccコードが有効であるかを示す1ビットの情報
である。Crccが無効である場合には“0”とし、Crccが
有効である場合には“1”とする。Video_Vertical_Size
_Flagは、画像の縦方向の画素数を示す2ビットの情報
である。“00”は画素数が480個、“01”は画素数が
512個、“10”は画素数が240個をそれぞれ示し、
また、“11”はリザーブである。Video_Horizontal_Siz
e_Flagは、画像の横方向の画素数を示す2ビットの情報
である。“00”は画素数が720個、“01”は画素数が
544個、“10”は画素数が480個、“11”は画素数
が352個を示している。Video_Profile_Level_Flag
は、ProfileとLevelを示す4ビットの情報である。“00
00”はMP@MLを示し、“0001”は422@MLを示
す。Video_Source_Composite_Flagは、ビデオデータの
ソースがコンポジット信号であるかどうかを示す1ビッ
トの情報である。“1”はソースがコンポジット信号で
あることを示し、“0”はソースがコンポーネント信号
であることを示す。Video_Source_Analog_Flagは、ビデ
オデータのソースがアナログ信号であるかどうかを示す
1ビットの情報である。“1”はソースがアナログ信号
であることを示し、“0”はソースがデジタル信号であ
ることを示す。Number_of_GOPは、このレコーディング
ユニット内に含まれているGOPの数を示す4ビットの
情報である。Video_Coding_Rateは、ビデオエレメンタ
リデータストリームのビットレートを示す32ビットの
情報である。
Video_Layer_Header_byte_Length is Vide
This is 16-bit information indicating the number of bytes of o_Layer_Header. Video_Layer_Header_Crcc_Flag is Video_Layer_He
This is 1-bit information indicating whether the Crcc code of ader is valid. It is set to “0” when Crcc is invalid, and is set to “1” when Crcc is valid. Video_Vertical_Size
_Flag is 2-bit information indicating the number of pixels in the vertical direction of the image. “00” indicates 480 pixels, “01” indicates 512 pixels, and “10” indicates 240 pixels.
“11” is a reserve. Video_Horizontal_Siz
e_Flag is 2-bit information indicating the number of pixels in the horizontal direction of the image. “00” indicates 720 pixels, “01” indicates 544 pixels, “10” indicates 480 pixels, and “11” indicates 352 pixels. Video_Profile_Level_Flag
Is 4-bit information indicating Profile and Level. “00
"00" indicates MP @ ML, "0001" indicates 422 @ ML, Video_Source_Composite_Flag is 1-bit information indicating whether or not the source of the video data is a composite signal, and "1" indicates that the source is a composite signal. “0” indicates that the source is a component signal, “Video_Source_Analog_Flag” is 1-bit information indicating whether the source of the video data is an analog signal, and “1” indicates that the source is an analog signal. Signal_0 indicates that the source is a digital signal, Number_of_GOP is 4-bit information indicating the number of GOPs included in this recording unit, and Video_Coding_Rate is a video element. This is 32-bit information indicating the bit rate of the mental data stream.

【0095】Sequence_Header_Flagは、GOPの先頭に
シーケンスヘッダが存在するかどうかを示す1ビットの
情報である。GOPの先頭にシーケンスヘッダが存在し
ない場合には、ビデオデコーダは、ビデオデータのデコ
ードを正確にすることができない。Sequence_End_Flag
は、GOPの中にシーケンスエンドコードが存在するど
うかを示す1ビットの情報である。Number_of_picture
は、GOPに含まれるピクチャの数を示す4ビットの情
報である。なお、以上のSequence_Header_Flagと、Sequ
ence_End_Flagと、Number_of_pictureとは、GOP単位
で付加される情報である。
[0095] Sequence_Header_Flag is 1-bit information indicating whether or not a sequence header exists at the head of the GOP. If there is no sequence header at the beginning of the GOP, the video decoder cannot accurately decode the video data. Sequence_End_Flag
Is 1-bit information indicating whether a sequence end code exists in the GOP. Number_of_picture
Is 4-bit information indicating the number of pictures included in the GOP. Note that the above Sequence_Header_Flag and Sequence
ence_End_Flag and Number_of_picture are information added in GOP units.

【0096】Picture_Stream_byte_Lengthは、ピクチャ
データのバイト数を示す情報である。具体的には、Sequ
ence_start_code、group_start_code又はpicture_start
_codeから、次のSequence_start_code、group_start_co
de又はpicture_start_codeまでの長さを示す32ビット
の情報である。Picture_Crcc_Flagは、ピクチャ単位にC
rccコードが付けられているかを示す1ビットの情報で
ある。Crccは、ピクチャの先頭から1byte毎にPicture_
Stream_byte_Lengthまでを計算し、最後に1バイトのCr
ccコードを付加する。Crccが無効の場合は、“00h”と
する。Picture_32bitAlign_byte_Lengthは、ピクチャデ
ータのバイト数を4の倍数にするために付加する2ビッ
トの追加バイトである。Picture_Coding_Typeは、ピク
チャの符号化構造を示す情報である。Picture_Coding_T
ypeの3ビットのデータは、以下のような内容を示す。 “000”forbidden“001”intra-coded(I)“010”predic
tive-coded(P)“011”bidirectionally-predictive-cod
ed(B)“100”shall not be used(dc intra-coded(D))
“101”reserved“110”reserved“111”reserved PTS_Fieldは、ピクチャの出力タイミングを、レコーデ
ィングユニットの先頭ピクチャからのフィールド数とし
て表す8ビットの情報である。PTS_Fieldは、このMP
EG−2データストリームとは別のストリームとして記
録されるヘッダデータにのみ記録される。PTSは、各ピ
クチャのPTS(Presentation Time Stamp)を示す3
3ビットの情報である。PTSは、90kHz精度でピ
クチャの出力時間を表すものである。Color_Frameは、
カラーフレームを表す3ビットの情報である。ピクチャ
ーがフレームの場合には、最初のフィールドのカラーフ
レームを記録する。3ビットのMSBをb2、LSBをb0
としたとき、b0はカラーフレーム0を示し、b1はカラー
フレーム1を示し、b2は、カラーフレーム2を示す。DT
S_Fieldは、ピクチャのデコーディングタイミングを、
レコーディングユニットの先頭ピクチャからのフィール
ド数として表す8ビットの情報である。DTS_Fieldは、
このMPEG−2データストリームとは別のストリーム
として記録されるヘッダデータにのみ記録される。DTS
は、各ピクチャのDTS(Decoding Time Stamp)を示
す33ビットの情報である。DTSは、90kHz精度
でピクチャのデコーディング時間を表すものである。VB
V_Occupancyは、仮想デコーダのデータ引き抜き直前に
おけるVBVバッファのバイト数を示す32ビットの情
報である。以上のPicture_Stream_byte_LengthからVBV_
Occupancyまでの情報は、ピクチャ毎に繰り返し付加さ
れる情報である。
[0096] Picture_Stream_byte_Length is information indicating the number of bytes of picture data. Specifically, Sequ
ence_start_code, group_start_code or picture_start
_code, the next Sequence_start_code, group_start_co
This is 32-bit information indicating the length up to de or picture_start_code. Picture_Crcc_Flag is C for each picture
This is 1-bit information indicating whether an rcc code is attached. Crcc uses Picture_for every 1 byte from the beginning of the picture.
Calculate up to Stream_byte_Length, and finally 1 byte of Cr
Add cc code. If Crcc is invalid, set to “00h”. Picture_32bitAlign_byte_Length is a 2-bit additional byte added to make the number of bytes of picture data a multiple of four. Picture_Coding_Type is information indicating the coding structure of a picture. Picture_Coding_T
The 3-bit data of ype indicates the following contents. “000” forbidden “001” intra-coded (I) “010” predic
tive-coded (P) “011” bidirectionally-predictive-cod
ed (B) “100” shall not be used (dc intra-coded (D))
“101” reserved “110” reserved “111” reserved PTS_Field is 8-bit information indicating the picture output timing as the number of fields from the first picture of the recording unit. PTS_Field is this MP
Only the header data recorded as a stream different from the EG-2 data stream is recorded. PTS indicates a PTS (Presentation Time Stamp) of each picture.
This is 3-bit information. PTS represents the output time of a picture with 90 kHz accuracy. Color_Frame is
This is 3-bit information representing a color frame. If the picture is a frame, the color frame of the first field is recorded. B2 for the 3-bit MSB and b0 for the LSB
B0 indicates the color frame 0, b1 indicates the color frame 1, and b2 indicates the color frame 2. DT
S_Field indicates the decoding timing of the picture,
This is 8-bit information expressed as the number of fields from the first picture of the recording unit. DTS_Field is
It is recorded only in header data recorded as a stream different from this MPEG-2 data stream. DTS
Is 33-bit information indicating the DTS (Decoding Time Stamp) of each picture. DTS represents the decoding time of a picture with 90 kHz accuracy. VB
V_Occupancy is 32-bit information indicating the number of bytes of the VBV buffer immediately before data extraction of the virtual decoder. From above Picture_Stream_byte_Length to VBV_
Information up to Occupancy is information repeatedly added for each picture.

【0097】Video_Layer_Header_Crccは、Video_Layer
_Header_の8ビットのCrccコードである。Crccは、Vide
o_Layer_Headerの先頭から1byte毎にVideo_Layer_head
er_byte_Length-1までを計算し、最後の1バイトのCrcc
コードを付加する。Crccが無効の場合は、“00h”とす
る。
Video_Layer_Header_Crcc is Video_Layer
_Header_ is an 8-bit Crcc code. Crcc, Vide
Video_Layer_head for every 1 byte from the beginning of o_Layer_Header
Calculate up to er_byte_Length-1 and Crcc of last one byte
Add code. If Crcc is invalid, set to “00h”.

【0098】つぎに、Audio_Layer_Headerの内容につい
て説明する。図7にAudio_Layer_Headerのデータ構造を
示す。なお、オーディオデータが複数ある場合には、こ
のAudio_Layer_Headerがチャンネル数だけ設けられる。
Next, the contents of Audio_Layer_Header will be described. FIG. 7 shows a data structure of Audio_Layer_Header. When there are a plurality of audio data, Audio_Layer_Header is provided by the number of channels.

【0099】Audio_Layer_Header_byte_Lengthは、Audi
o_Layer_Headerのバイト数を示す16ビットの情報であ
る。Audio_Layer_Header_Crcc_Flagは、Audio_Layer_He
aderのCrccコードが有効であるかを示す1ビットの情報
である。Crccが無効である場合には“0”とし、Crccが
有効である場合には“1”とする。FSは、オーディオデ
ータのサンプリング周波数を示す2ビットの情報であ
る。サンプリング周波数が44.1kHzのときは“0
0”とし、48kHzのときは“01”とし、32kHz
のときは“10”とする。“11”は、リザーブである。Au
dio_Emphasis_Flagは、オーディオエンファシスを示す
1ビットの情報である。“0”のときはOFFを示し、
“1”のときはONを示す。Audio_Coding_Rateは、圧縮
したオーディオデータのビットレートを示すの4ビット
の情報である。このAudio_Coding_Rateの4ビットの情
報は、具体的には、以下のようなビットレートを表す。
Audio_Layer_Header_byte_Length is Audi
This is 16-bit information indicating the number of bytes of o_Layer_Header. Audio_Layer_Header_Crcc_Flag is Audio_Layer_He
This is 1-bit information indicating whether the Crcc code of ader is valid. It is set to “0” when Crcc is invalid, and is set to “1” when Crcc is valid. FS is 2-bit information indicating the sampling frequency of audio data. When the sampling frequency is 44.1 kHz, "0
0 "and" 01 "at 48 kHz and 32 kHz
In this case, it is set to “10”. “11” is a reserve. Au
dio_Emphasis_Flag is 1-bit information indicating audio emphasis. “0” indicates OFF,
"1" indicates ON. Audio_Coding_Rate is 4-bit information indicating the bit rate of the compressed audio data. The 4-bit information of Audio_Coding_Rate specifically indicates the following bit rate.

【0100】[0100]

【表1】 [Table 1]

【0101】Audio_Validity_Flagは、オーディオデー
タが有効のとき“0”を示し、無効のときの“1”を示す
1ビットの情報である。Audio_Source_Analog_Flagは、
オーディオデータのソースがアナログ信号であるかどう
かを示す1ビットの情報である。ソースがアナログ信号
の場合は“1”とし、デジタル信号の場合は、“0”とす
る。Duplicate_Flagは、このレコーディングユニットの
始めの部分又は終わりの部分に、他のレコーディングユ
ニットと重複するデータ(のりしろデータ)が含まれて
いるかどうかを示す2ビットの情報である。のりしろデ
ータが無い場合には“00”とし、始めの部分にのりしろ
データが含まれている場合には“01”とし、終わりの部
分にのりしろデータが含まれている場合には“10”と
し、始め及び終わりの部分にのりしろデータが含まれて
いる場合には“11”とする。Number_of_GOPは、このレ
コーディングユニットに含まれているGOPの数を示す
4ビットの情報である。Number_of_Audio_Quantization
_Bitは、オーディオデータの量子化ビットを示す4ビッ
トの情報である。Number_of_Audio_Quantization_Bitで
は、具体的には以下のような情報を示す。“0000”は量
子化ビットが16ビットであるを示し、“0001”は17
ビット、“0010”は18ビット、“0011”は19ビッ
ト、“0100”は20ビット、“0101”は21ビット、
“0110”は22ビット、“0111”は23ビット、“100
0”は24ビット、その他はリザーブを示す。Audio_Cod
ing_Flagは、オーディオデータの符号化情報を示す2ビ
ットの情報である。MPEG Audio Layer IIの場合は“0
0”とし、Linear PCMの場合は“01”とする。mark_bit
は、予備のビットである。
Audio_Validity_Flag is 1-bit information indicating "0" when audio data is valid and "1" when audio data is invalid. Audio_Source_Analog_Flag is
This is 1-bit information indicating whether the source of the audio data is an analog signal. Set to “1” when the source is an analog signal, and set to “0” when the source is a digital signal. Duplicate_Flag is 2-bit information indicating whether the beginning or end of this recording unit contains data (extra data) that overlaps with other recording units. Set to “00” when there is no extra data, set to “01” when extra data is included at the beginning, and set to “10” when extra data is included at the end, If marginal data is included at the beginning and end, it is set to “11”. Number_of_GOP is 4-bit information indicating the number of GOPs included in this recording unit. Number_of_Audio_Quantization
_Bit is 4-bit information indicating quantization bits of audio data. Specifically, Number_of_Audio_Quantization_Bit indicates the following information. “0000” indicates that the quantization bit is 16 bits, and “0001” indicates 17 bits.
Bits, “0010” is 18 bits, “0011” is 19 bits, “0100” is 20 bits, “0101” is 21 bits,
“0110” is 22 bits, “0111” is 23 bits, “100”
"0" indicates 24 bits, and the others indicate reserve. Audio_Cod
ing_Flag is 2-bit information indicating encoding information of audio data. “0” for MPEG Audio Layer II
0 ”and“ 01 ”for Linear PCM.
Is a spare bit.

【0102】Number_of_Audio_Frameは、GOPに含ま
れるオーディオフレームの数を示す5ビットの情報であ
る。のりしろデータが含まれたオーディオフレーム分も
含む。PTS_FSは、オーディオフレームの出力タイミング
を、ビデオリファレンスフレームとの相対位相で表す1
1ビットの情報である。PTS_FSは、このMPEG−2デ
ータストリームとは別のストリームとして記録されるヘ
ッダデータにのみ記録される。Audio_PTSは、各オーデ
ィオフレームのPTS(Presentation Time Stamp)を
示す33ビットの情報である。PTSは、90kHz精
度でオーディオフレームの出力時間を表すものである。
なお、以上のNumber_of_Audio_FrameとPTS_FSとAudio_P
TSとは、GOP単位で付加される情報である。
[0102] Number_of_Audio_Frame is 5-bit information indicating the number of audio frames included in the GOP. It also includes the audio frames containing the extra data. PTS_FS indicates the output timing of an audio frame as 1 relative to the video reference frame.
This is 1-bit information. PTS_FS is recorded only in header data recorded as a stream different from this MPEG-2 data stream. Audio_PTS is 33-bit information indicating a PTS (Presentation Time Stamp) of each audio frame. PTS represents the output time of an audio frame with 90 kHz accuracy.
Note that the above Number_of_Audio_Frame, PTS_FS, and Audio_P
TS is information added in GOP units.

【0103】Audio_Frame_Stream_byte_Lengthは、オー
ディオデータのバイト数を示す16ビットの情報であ
る。
Audio_Frame_Stream_byte_Length is 16-bit information indicating the number of bytes of audio data.

【0104】Audio_Frame_Crcc_Flagは、オーディオフ
レーム単位でCrccコードが有効であるかを示す1ビット
の情報である。
Audio_Frame_Crcc_Flag is 1-bit information indicating whether the Crcc code is valid in audio frame units.

【0105】Audio_32bitAlign_byte_Lengthは、オーデ
ィオデータのバイト数を4の倍数にするために付加する
2ビットの追加バイトである。Edit_Flagは、このオー
ディオフレームでエディットされたことを示す情報であ
る。“00”はエディットされていなことを示し、“01”
はin点であることを示し、“10”はアウト点であるこ
とを示し、“11”はリザーブである。
[0105] Audio_32bitAlign_byte_Length is a 2-bit additional byte added to make the number of bytes of audio data a multiple of four. Edit_Flag is information indicating that the audio frame has been edited. “00” indicates that it has not been edited, and “01”
Indicates an in point, “10” indicates an out point, and “11” indicates a reserve.

【0106】以上のAudio_Frame_Stream_byte_Lengthか
らEdit_Flagまでの情報は、オーディオフレーム毎に付
加される情報である。
The information from Audio_Frame_Stream_byte_Length to Edit_Flag is information added for each audio frame.

【0107】Audio_Layer_Header_Crccは、8ビットのA
udio_Layer_Header_のCrccコードである。Crccは、Audi
o_Layer_Headerの先頭から1byte毎にAudio_Layer_head
er_byte_Length-1までを計算し、最後に1バイトのCrcc
コードを付加する。Crccが無効の場合は、“00h”とす
る。
Audio_Layer_Header_Crcc is 8-bit A
This is the Crcc code of udio_Layer_Header_. Crcc, Audi
Audio_Layer_head for every 1 byte from the beginning of o_Layer_Header
Calculate up to er_byte_Length-1 and finally 1 byte Crcc
Add code. If Crcc is invalid, set to “00h”.

【0108】つぎに、AUX_Layer_Headerの内容について
説明する。図8にAudio_Layer_Headerのデータ構造を示
す。
Next, the contents of AUX_Layer_Header will be described. FIG. 8 shows a data structure of Audio_Layer_Header.

【0109】AUX_Layer_Header_byte_Lengthは、AUX_La
yer_Headerのバイト数を示す16ビットの情報である。
AUX_Layer_Header_Crcc_Flagは、AUX_Layer_HeaderのCr
ccコードが有効であるかを示す1ビットの情報である。
Number_of_GOPは、このレコーディングユニットに含ま
れるGOPの数を示す4ビットの情報である。
[0109] AUX_Layer_Header_byte_Length is AUX_Layer.
This is 16-bit information indicating the number of bytes of yer_Header.
AUX_Layer_Header_Crcc_Flag is the Cr of AUX_Layer_Header
This is 1-bit information indicating whether the cc code is valid.
Number_of_GOP is 4-bit information indicating the number of GOPs included in this recording unit.

【0110】Number_of_AUX_Data は、このレコーディ
ングユニット内に含まれているAUX_Dataの数を示す8ビ
ットの情報である。このNumber_of_AUX_Data は、GO
P毎に付加される。
[0110] Number_of_AUX_Data is 8-bit information indicating the number of AUX_Data included in this recording unit. This Number_of_AUX_Data is GO
It is added for each P.

【0111】AUX_Data_Positionは、AUX_Layer内のどの
位置からAUX_Dataの記録が開始されているかを示す32
ビットの情報である。AUX_Data_byte_Lengthは、AUX_Da
taのバイト数を示す32ビットの情報である。
AUX_Data_Position indicates from which position in the AUX_Layer the recording of AUX_Data has started 32.
Bit information. AUX_Data_byte_Length is AUX_Da
This is 32-bit information indicating the number of bytes of ta.

【0112】AUX_Data_IDは、AUX_Dataの種類を示す8
ビットのIDである。このAUX_Data_IDでは、VIT
C、Video Index、Non Compres
sedLine Data、Audio Channe
l Status ch1/2、Audio Chan
nel Status ch1/2を識別している。AU
X_Data_PTS_Fieldは、AUX_Dataの出力タイミングを、レ
コーディングユニットの先頭からのフィールド数で示し
た8ビットの情報である。AUX_Data_PTS_Fieldは、この
MPEG−2データストリームとは別のストリームとし
て記録されるヘッダデータにのみ記録される。AUX_Data
_Crcc_Flagは、AUX_Layer_HeaderのCrccコードが有効で
あるかを示す1ビットの情報である。Crccが無効である
場合には“0”とし、Crccが有効である場合には“1”と
する。AUX_32bitAlign_byte_Lengthは、補助データのバ
イト数を4の倍数にするために付加する2ビットの追加
バイトである。AUX_Data_PTSは、補助データのPTSを
示す33ビットの情報である。
AUX_Data_ID indicates the type of AUX_Data.
This is the bit ID. In this AUX_Data_ID, VIT
C, Video Index, Non Compresss
sedLine Data, Audio Channel
l Status ch1 / 2, Audio Chan
nel Status ch1 / 2 is identified. AU
X_Data_PTS_Field is 8-bit information indicating the output timing of AUX_Data by the number of fields from the head of the recording unit. AUX_Data_PTS_Field is recorded only in header data recorded as a stream different from the MPEG-2 data stream. AUX_Data
_Crcc_Flag is 1-bit information indicating whether the Crcc code of AUX_Layer_Header is valid. It is set to “0” when Crcc is invalid, and is set to “1” when Crcc is valid. AUX_32bitAlign_byte_Length is a 2-bit additional byte added to make the number of bytes of auxiliary data a multiple of four. AUX_Data_PTS is 33-bit information indicating the PTS of the auxiliary data.

【0113】以上のAUX_Data_PositionからAUX_Data_PT
Sの情報は、補助データ単位で付加される。
The above AUX_Data_Position to AUX_Data_PT
The information of S is added in units of auxiliary data.

【0114】AUX_Layer_Header_Crccは、AUX_Layer_Hea
der_の8ビットのCrccコードである。Crccは、AUX_Laye
r_Headerの先頭から1byte毎にAUX_Layer_header_byte_
Length-1までを計算し、最後の1バイトのCrccコードを
付加する。Crccが無効の場合は、“00h”とする。
AUX_Layer_Header_Crcc is AUX_Layer_Hea
der_ is an 8-bit Crcc code. Crcc is AUX_Laye
AUX_Layer_header_byte_ for each 1 byte from the beginning of r_Header
Calculate up to Length-1 and add the last 1 byte Crcc code. If Crcc is invalid, set to “00h”.

【0115】なお、AUX_VBI_Line_Flagは、AUX_Data_ID
がVideo Index又はNon Compres
sed Line Dataを示すとき、AUX_Data_PTS
と入れ換える。32ビットのデータのうちLSB側16
ビットで1stフィールドのVideo Index
Line又はNon Compressed Line
を指定する。また、32ビットのデータのうちMSB側
16ビットで2ndフィールドのVideo Inde
x Line又はNon CompressedLin
eを指定する。ライン指定は、VDの立ち上がりから、
16ラインの中から任意のラインを2バイトのデータで
指定する。各ビットに1ラインを割り当てており、対応
するビットに1を立てることにより、そのラインでVi
deo Index Line又はNon Compr
essed Lineデータが挿入される。Video
Index Lineは、1Line/Fieldで指定可能で
あり、Non Compressed Lineは、3Li
ne/Fieldで指定可能である。
Note that AUX_VBI_Line_Flag is AUX_Data_ID
Is Video Index or Non Compresses
AUX_Data_PTS when indicating sed line data
Replace with LSB side 16 of 32-bit data
Video Index of 1st field with bit
Line or Non Compressed Line
Is specified. In addition, of 32 bits of data, 16 bits of the MSB side and a video index of 2nd field
x Line or Non Compressed Lin
Specify e. The line is specified from the rising edge of VD.
An arbitrary line is designated from the 16 lines by 2-byte data. One line is assigned to each bit, and by setting 1 to the corresponding bit, Vi
deo Index Line or Non Compr
Essed Line data is inserted. Video
The Index Line can be specified by 1 Line / Field, and the Non Compressed Line is 3Li
It can be specified by ne / Field.

【0116】各ビットとラインの関係は、以下の表に示
すようになっている。
The relationship between each bit and the line is as shown in the following table.

【0117】[0117]

【表2】 [Table 2]

【0118】[0118]

【発明の効果】本発明にかかるデータ記録再生装置及び
データ記録再生方法では、上記データとともに、このデ
ータのヘッダ情報を記録媒体に記録しておき、上記記録
媒体に記録した上記データを再生する際に、上記データ
のヘッダ情報を記録媒体から直接検出する。そして、本
発明では、記録媒体に記録した上記データのヘッダ情報
を、復号手段により復号する前に上記記録媒体から直接
検出して、上記データの再生制御を行う。このため、本
発明では、復号処理の負担を軽減させることができると
もに再生処理を高速化することができる。
According to the data recording / reproducing apparatus and the data recording / reproducing method of the present invention, header information of the data is recorded on a recording medium together with the data, and the data recorded on the recording medium is reproduced. Then, the header information of the data is directly detected from the recording medium. In the present invention, the header information of the data recorded on the recording medium is directly detected from the recording medium before being decoded by the decoding means, and the reproduction control of the data is performed. For this reason, according to the present invention, it is possible to reduce the load of the decoding process and to speed up the reproduction process.

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

【図1】本発明を適用したデータ記録再生装置のブロッ
ク図である。
FIG. 1 is a block diagram of a data recording / reproducing apparatus to which the present invention is applied.

【図2】上記データ記録再生装置の記録時のデータ処理
を説明するためのタイミングチャートである。
FIG. 2 is a timing chart for explaining data processing at the time of recording by the data recording / reproducing apparatus.

【図3】上記データ記録再生装置の再生時のデータ処理
を説明するためのタイミングチャートである。
FIG. 3 is a timing chart for explaining data processing during reproduction of the data recording / reproducing apparatus.

【図4】MPEG−2データの1GOP分のデータ構造
を説明するための図である。
FIG. 4 is a diagram illustrating a data structure of one GOP of MPEG-2 data.

【図5】System_Layer_Headerのデータ構造を説明する
ための図である。
FIG. 5 is a diagram illustrating a data structure of System_Layer_Header.

【図6】Video_Layer_Headerのデータ構造を説明するた
めの図である。
FIG. 6 is a diagram illustrating a data structure of Video_Layer_Header.

【図7】Audio_Layer_Headerのデータ構造を説明するた
めの図である。
FIG. 7 is a diagram illustrating a data structure of Audio_Layer_Header.

【図8】Audio_Layer_Headerのデータ構造を説明するた
めの図である。
FIG. 8 is a diagram illustrating a data structure of Audio_Layer_Header.

【図9】従来のデータ記録再生装置のブロック図であ
る。
FIG. 9 is a block diagram of a conventional data recording / reproducing device.

【図10】上記従来のデータ記録再生装置の記録時のデ
ータ処理を説明するためのタイミングチャートである。
FIG. 10 is a timing chart for explaining data processing during recording by the conventional data recording / reproducing apparatus.

【図11】上記従来のデータ記録再生装置の再生時のデ
ータ処理を説明するためのタイミングチャートである。
FIG. 11 is a timing chart for explaining data processing at the time of reproduction by the conventional data recording / reproducing apparatus.

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

1 データ記録再生装置、2 記録部、3 再生部、4
ハードディスクドライブ、5 バス、6 コントロー
1 data recording / reproducing device, 2 recording unit, 3 reproducing unit, 4
Hard disk drive, 5 buses, 6 controllers

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11B 27/10 A Fターム(参考) 5C053 FA23 GA10 GA13 GB06 GB11 GB38 HA32 JA03 5C059 KK15 MA00 PP04 RB09 RC24 RC32 SS11 SS13 UA02 UA05 UA31 UA39 5D044 AB05 AB07 BC01 CC04 DE17 DE52 GK08 GK12 5D066 DA02 DA11 5D077 AA22 DC21 DE01 DF01 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G11B 27/10 A F-term (Reference) 5C053 FA23 GA10 GA13 GB06 GB11 GB38 HA32 JA03 5C059 KK15 MA00 PP04 RB09 RC24 RC32 SS11 SS13 UA02 UA05 UA31 UA39 5D044 AB05 AB07 BC01 CC04 DE17 DE52 GK08 GK12 5D066 DA02 DA11 5D077 AA22 DC21 DE01 DF01

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体と、 オーディオデータ及び/又はビデオデータが含まれたデ
ータが入力され、上記データを符号化する符号化手段
と、 上記符号化手段により符号化された上記データを上記記
録媒体に記録する記録手段と、 上記記録媒体に記録された上記データを再生する再生手
段と、 上記再生手段により再生された上記データを復号して、
復号した上記データを出力する復号手段と、 上記符号化手段、上記記録手段、上記再生手段及び上記
復号手段を制御する制御手段とを備え、 上記制御手段は、上記符号化手段により符号化された上
記データに含まれているヘッダ情報を取得して、上記ヘ
ッダ情報が含まれている上記データとともに取得した上
記ヘッダ情報を上記記録媒体に記録することを特徴とす
るデータ記録再生装置。
1. A recording medium, data including audio data and / or video data is input, and encoding means for encoding the data, and the data encoded by the encoding means are recorded on the recording medium. Recording means for recording on a medium, reproducing means for reproducing the data recorded on the recording medium, decoding the data reproduced by the reproducing means,
A decoding unit for outputting the decoded data; and a control unit for controlling the encoding unit, the recording unit, the reproduction unit, and the decoding unit. The control unit is coded by the encoding unit. A data recording / reproducing apparatus, wherein header information included in the data is obtained, and the header information obtained together with the data including the header information is recorded on the recording medium.
【請求項2】 上記制御手段は、上記データとともに上
記記録媒体に記録されている上記ヘッダ情報を検出し
て、検出した上記ヘッダ情報に基づき上記記録媒体に記
録された上記データの再生制御を行うことを特徴とする
請求項1記載のデータ記録再生装置。
2. The control means detects the header information recorded on the recording medium together with the data, and controls reproduction of the data recorded on the recording medium based on the detected header information. 2. The data recording / reproducing apparatus according to claim 1, wherein:
【請求項3】 上記符号化手段は、MPEG−2方式に
基づき符号化を行い、 上記復号手段は、MPEG−2方式に基づき復号を行
い、 上記制御手段は、システムヘッダ、ビデオデータヘッ
ダ、オーディオデータヘッダ及び補助データヘッダから
なるMPEG−2方式のヘッダ情報を検出して、この検
出したヘッダ情報に対して、オーディオデータヘッダ、
ビデオデータヘッダ及び補助データヘッダの格納位置を
示す情報を含めて、上記記録媒体に記録すること特徴と
する請求項1記載のデータ記録再生装置。
3. The encoding unit performs encoding based on the MPEG-2 standard, the decoding unit performs decoding based on the MPEG-2 standard, and the control unit includes a system header, a video data header, and an audio data. MPEG-2 header information including a data header and an auxiliary data header is detected, and an audio data header,
2. The data recording / reproducing apparatus according to claim 1, wherein information including information indicating a storage position of a video data header and an auxiliary data header is recorded on the recording medium.
【請求項4】 上記符号化手段は、MPEG−2方式に
基づき符号化を行い、 上記復号手段は、MPEG−2方式に基づき復号を行
い、 上記制御手段は、システムヘッダ、ビデオデータヘッ
ダ、オーディオデータヘッダ及び補助データヘッダから
なるMPEG−2方式のヘッダ情報を検出して、この検
出したヘッダ情報に対して、オーディオデータ、ビデオ
データ及び補助データの出力タイミングを、フィールド
単位で表した情報を含めて、上記記録媒体に記録するこ
と特徴とする請求項1記載のデータ記録再生装置。
4. The encoding unit performs encoding based on the MPEG-2 standard, the decoding unit performs decoding based on the MPEG-2 standard, and the control unit includes a system header, a video data header, and an audio header. MPEG-2 header information consisting of a data header and an auxiliary data header is detected, and the detected header information includes the output timing of audio data, video data and auxiliary data in a field unit. 2. The data recording / reproducing apparatus according to claim 1, wherein the data is recorded on the recording medium.
【請求項5】 オーディオデータ及び/又はビデオデー
タが含まれたデータを入力し、上記データを符号化し、
符号化した上記データを記録媒体に記録する記録処理
と、上記記録媒体に記録された上記データを再生し、再
生した上記データを復号して、復号した上記データを出
力する再生処理とを行うデータ記録再生方法であって、 符号化された上記データに含まれるヘッダ情報を検出
し、 ヘッダ情報が含まれている上記データとともに上記ヘッ
ダ情報を上記記録媒体に記録することを特徴とするデー
タ記録再生方法。
5. Inputting data including audio data and / or video data, encoding the data,
Data for performing a recording process of recording the encoded data on a recording medium, and a reproducing process of reproducing the data recorded on the recording medium, decoding the reproduced data, and outputting the decoded data. A data recording / reproducing method, comprising detecting header information included in encoded data, and recording the header information together with the data including header information on the recording medium. Method.
【請求項6】 上記データとともに上記記録媒体に記録
されている上記ヘッダ情報を検出し、 上記記録媒体に記録された上記データの再生制御を行う
ことを特徴とする請求項5記載のデータ記録再生方法。
6. The data recording / reproduction according to claim 5, wherein the header information recorded on the recording medium together with the data is detected, and reproduction control of the data recorded on the recording medium is performed. Method.
【請求項7】 MPEG−2方式に基づき符号化及び復
号を行い、 システムヘッダ、ビデオデータヘッダ、オーディオデー
タヘッダ及び補助データヘッダからなるMPEG−2方
式のヘッダ情報を検出して、この検出したヘッダ情報に
対して、オーディオデータヘッダ、ビデオデータヘッダ
及び補助データヘッダの格納位置を示す情報を含めて、
上記記録媒体に記録すること特徴とする請求項5記載の
データ記録再生方法。
7. Encoding and decoding are performed based on the MPEG-2 system, and MPEG-2 system header information including a system header, a video data header, an audio data header and an auxiliary data header is detected, and the detected header is detected. For information, including information indicating the storage position of audio data header, video data header and auxiliary data header,
6. The data recording / reproducing method according to claim 5, wherein the data is recorded on the recording medium.
【請求項8】 MPEG−2方式に基づき符号化及び復
号を行い、 システムヘッダ、ビデオデータヘッダ、オーディオデー
タヘッダ及び補助データヘッダからなるMPEG−2方
式のヘッダ情報を検出して、この検出したヘッダ情報に
対して、オーディオデータ、ビデオデータ及び補助デー
タの出力タイミングを、フィールド単位で表した情報を
含めて、上記記録媒体に記録すること特徴とする請求項
5記載のデータ記録再生方法。
8. Encoding and decoding are performed based on the MPEG-2 system, and MPEG-2 system header information including a system header, a video data header, an audio data header, and an auxiliary data header is detected, and the detected header is detected. 6. The data recording / reproducing method according to claim 5, wherein output timings of audio data, video data, and auxiliary data are recorded on the recording medium, including information expressed in field units.
JP25329899A 1999-09-07 1999-09-07 Data recording / reproducing apparatus and data recording / reproducing method Expired - Fee Related JP4062832B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25329899A JP4062832B2 (en) 1999-09-07 1999-09-07 Data recording / reproducing apparatus and data recording / reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25329899A JP4062832B2 (en) 1999-09-07 1999-09-07 Data recording / reproducing apparatus and data recording / reproducing method

Publications (3)

Publication Number Publication Date
JP2001076428A true JP2001076428A (en) 2001-03-23
JP2001076428A5 JP2001076428A5 (en) 2006-04-27
JP4062832B2 JP4062832B2 (en) 2008-03-19

Family

ID=17249353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25329899A Expired - Fee Related JP4062832B2 (en) 1999-09-07 1999-09-07 Data recording / reproducing apparatus and data recording / reproducing method

Country Status (1)

Country Link
JP (1) JP4062832B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003059176A (en) * 2001-08-09 2003-02-28 Sony Corp Information recorder, information reproducer, information recording method, information reproducing method, and computer program
JP2007195208A (en) * 2001-09-27 2007-08-02 Sony Corp Information processing apparatus and method, recording medium, and program
CN108174283A (en) * 2017-12-27 2018-06-15 威创集团股份有限公司 A kind of vision signal source generating method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003059176A (en) * 2001-08-09 2003-02-28 Sony Corp Information recorder, information reproducer, information recording method, information reproducing method, and computer program
JP2007195208A (en) * 2001-09-27 2007-08-02 Sony Corp Information processing apparatus and method, recording medium, and program
JP4534168B2 (en) * 2001-09-27 2010-09-01 ソニー株式会社 Information processing apparatus and method, recording medium, and program
CN108174283A (en) * 2017-12-27 2018-06-15 威创集团股份有限公司 A kind of vision signal source generating method and device

Also Published As

Publication number Publication date
JP4062832B2 (en) 2008-03-19

Similar Documents

Publication Publication Date Title
US8891937B2 (en) Encoded stream generating apparatus and method, data transmission system and method, and editing system and method
EP0644692B2 (en) Video signal compression/decompression device for video disk recording/reproducing apparatus
US20020197062A1 (en) Data recording method and apparatus, data recording medium, and data reproducing method and apparatus
JP2001084706A (en) APPARATUS AND METHOD FOR MOVING-IMAGE RECORDING/ REPRODUClNG AS WELL AS RECORDING MEDIUM
EP0777229A2 (en) Recording and/or reproducing apparatus and methods
US6438172B1 (en) Transmitting and recording method, reproducing method, and reproducing apparatus of information and its recording medium
US7835618B2 (en) Recording apparatus, recording method, program of recording method, and recording medium having program of recording method recorded thereon
JP2868981B2 (en) Apparatus and method for generating compressed signal and apparatus and method for reproducing
KR100777856B1 (en) Image recording apparatus and method, image reproducing apparatus and method, and recording medium
JP2002077803A (en) Video information recorder and image pickup device
JP4062832B2 (en) Data recording / reproducing apparatus and data recording / reproducing method
JP2001043616A (en) Recording method, recording medium and recorder
JPH06268954A (en) Digital video disk and device
US6560401B1 (en) Method and apparatus for recording and reproducing information
JP4356046B2 (en) Encoded data recording / reproducing apparatus and encoded data reproducing apparatus
KR0144784B1 (en) Method and apparatus for recording/reproducing audio dubbing data
JP3052911B2 (en) Image decoding method
JP3607312B2 (en) Image reproducing apparatus and method
JP2830792B2 (en) Image playback device
JP3277757B2 (en) Video data playback device
JP2002209186A (en) Video and sound data recording system in mpeg system and its editing system
JPH09293361A (en) Recording and reproducing apparatus
JP3363145B2 (en) Recording and playback device
JP3363146B2 (en) Recording and playback device
JP2004080164A (en) Video recording apparatus, reproducing apparatus, video recording method, reproducing method, and recording medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060308

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070925

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: 20071211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071224

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

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees