JPH0877708A - Recording device and reproducing device - Google Patents

Recording device and reproducing device

Info

Publication number
JPH0877708A
JPH0877708A JP6209700A JP20970094A JPH0877708A JP H0877708 A JPH0877708 A JP H0877708A JP 6209700 A JP6209700 A JP 6209700A JP 20970094 A JP20970094 A JP 20970094A JP H0877708 A JPH0877708 A JP H0877708A
Authority
JP
Japan
Prior art keywords
recording
carrier clock
data
carrier
reference signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6209700A
Other languages
Japanese (ja)
Inventor
Yuzo Murakami
祐三 村上
Yasunori Kawakami
靖程 川上
Masazumi Yamada
山田  正純
Hidetoshi Takeda
英俊 武田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6209700A priority Critical patent/JPH0877708A/en
Publication of JPH0877708A publication Critical patent/JPH0877708A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To enable a decoder to accurately restore data by causing a data packet string obtained from a signal source in a recording device equal to the output timing of a data packet string obtained from a reproducing block in a reproducing device. CONSTITUTION: Variety data 123 representing the frequency of a carrier clock 121 output from a tuner 101, information 126 on the number of carrier clocks within the one cycle period of a reference signal 122 and time information 128 obtained by the carrier clock in a position between the packets are recorded in a recording block 102. Data from the tuner 101 is recorded in this block 102 at the same time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、圧縮された映像や音声
データを記録再生する記録装置と再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording device and a reproducing device for recording and reproducing compressed video and audio data.

【0002】[0002]

【従来の技術】現在、映像や音声をディジタル信号とし
て磁気テープ上に記録するディジタルVTRの開発が進
められている。映像信号の持っている情報量は非常に大
きいため、そのままテープ上に記録するとテープの使用
量が大変大きくなり、民生用には不向きである。従っ
て、テープ消費量が民生用として使用できる程度まで減
少させるデータ圧縮を行う。現在開発されているディジ
タルVTRでは、データ圧縮の回路規模が小さくなるよ
うに1フレーム内で完結する方法で行っている。この方
法でデータ圧縮を行うと、映像信号の1フレーム内のデ
ータ量は一定となる。また、音声信号においてもダミー
データを付加するなどして1フレーム内のデータ量を一
定としている。つまり現在開発中のディジタルVTRで
は、ディジタルVTRに入力される映像信号の1フレー
ム期間内にテープ上に記録されるデータ量は常に一定で
ある。言い換えると、ディジタルVTRは入力される映
像信号のフレーム信号に同期して、一定の記録レートで
テープ上に映像音声データを記録する。
2. Description of the Related Art Currently, a digital VTR for recording video and audio as digital signals on a magnetic tape is under development. Since the video signal has a very large amount of information, if it is recorded on the tape as it is, the amount of the tape used becomes very large, which is not suitable for consumer use. Therefore, data compression is performed to reduce the tape consumption to the extent that it can be used for consumer use. In the currently developed digital VTR, the data compression circuit is completed within one frame so as to reduce the circuit scale. When data compression is performed by this method, the amount of data in one frame of the video signal becomes constant. Further, also in the audio signal, the data amount in one frame is made constant by adding dummy data. That is, in the digital VTR currently under development, the amount of data recorded on the tape within one frame period of the video signal input to the digital VTR is always constant. In other words, the digital VTR records the audiovisual data on the tape at a constant recording rate in synchronization with the frame signal of the input video signal.

【0003】再生時は、映像信号のフレーム信号に相当
するフレーム基準信号をディジタルVTR内部で発生
し、VTRの回転ヘッドや、テープ送り速度を基準信号
に同期させる。テープ上に記録されたデータは、この基
準信号に同期してテープ上から再生される。このとき基
準信号で区切られた1フレーム期間内で再生されるデー
タ量は一定である。再生された音声データは、付加され
たダミーデータ等を取り除く等の所定の処理が施された
後、アナログ音声信号に変換された後ディジタルVTR
外部へ出力される。また映像データは、1フレーム間で
完結するデータ圧縮が施されているため、データ伸張が
行われアナログ映像信号に変換され外部へ出力される。
At the time of reproduction, a frame reference signal corresponding to the frame signal of the video signal is generated inside the digital VTR to synchronize the rotary head of the VTR and the tape feed speed with the reference signal. The data recorded on the tape is reproduced from the tape in synchronization with this reference signal. At this time, the amount of data reproduced within one frame period divided by the reference signal is constant. The reproduced audio data is subjected to a predetermined process such as removal of added dummy data, etc., and then converted into an analog audio signal, and then a digital VTR.
It is output to the outside. Further, since the video data is subjected to data compression which is completed within one frame, the data is decompressed, converted into an analog video signal and output to the outside.

【0004】ところが、映像や音声の圧縮後のデータ量
をさらに小さくするために、MPEG2と称する国際標
準規格のデータ圧縮方式の開発が進められている。この
方式では特に、映像信号は複数フレームの映像データを
使用して圧縮され、入力される映像信号のデータ量はフ
レーム毎に異なっている。この方式では圧縮された映像
信号の各フレームは、Iフレームと称する1フレーム内
で完結する圧縮が施されたフレームと、BフレームとP
フレームと称するフレーム間の差分データのみからなる
フレームより構成されている。Iフレームは1フレーム
内で完結するように圧縮されているため、圧縮率を大き
くすることができず圧縮後のデータ量は、他のBフレー
ムやPフレームと比べると大変大きくなっている。ま
た、BフレームやPフレームは隣接フレームやIフレー
ムからの差分値のみで構成されるために、これらのフレ
ームの圧縮後のデータ量は大変小さい。このようにMP
EG2という方式で圧縮された映像データは、各フレー
ム毎にデータ量が異なっている。
However, in order to further reduce the amount of data after compression of video and audio, development of a data compression system of an international standard called MPEG2 is in progress. In this method, in particular, the video signal is compressed using video data of a plurality of frames, and the data amount of the input video signal is different for each frame. In this system, each frame of the compressed video signal is a frame that is compressed to complete within one frame called an I frame, a B frame and a P frame.
Each frame is composed of a frame that is composed of only difference data between frames. Since the I frame is compressed so that it is completed within one frame, the compression rate cannot be increased, and the amount of data after compression is very large as compared with other B frames and P frames. Further, since the B frame and the P frame are composed only of the difference values from the adjacent frame and the I frame, the data amount of these frames after compression is very small. MP like this
The video data compressed by the method of EG2 has a different data amount for each frame.

【0005】また、MPEG2という方式では、圧縮さ
れたデータを他の機器へ伝送したり、記録メディアに記
録できるようにトランスポートストリームパケット(以
下TSパケット)というパケットが定義されている。圧
縮された映像データと音声データは複数個のTSパケッ
トに分割され、パケット化されて伝送または記録され
る。また、音声データと映像データは別のTSパケット
を使用している。
In the MPEG2 system, a packet called a transport stream packet (hereinafter referred to as TS packet) is defined so that compressed data can be transmitted to another device or recorded on a recording medium. The compressed video data and audio data are divided into a plurality of TS packets, packetized and transmitted or recorded. Also, different TS packets are used for audio data and video data.

【0006】さらに、MPEG2では一つの番組のみを
伝送及び記録するのではなく、複数の番組や、文字情報
なども伝送または記録できるように規定されている。各
番組の映像データ及び音声データはTSパケットにパケ
ット化され、同様に文字情報もパケット化されている。
これらの複数番組や文字情報の各TSパケットは多重さ
れて伝送及び記録される。
[0006] Furthermore, MPEG2 is specified so that not only one program can be transmitted and recorded but also a plurality of programs and character information can be transmitted or recorded. The video data and audio data of each program are packetized into TS packets, and similarly, the character information is also packetized.
Each TS packet of these plural programs and character information is multiplexed and transmitted and recorded.

【0007】現在米国においてATVと称する、「地上
波を用い現行放送方式と同じ帯域幅で、映像や音声をデ
ィジタル信号として伝送する放送方式」が開発されてい
る。この方式ではMPEG2方式に従ってTSパケット
にパケット化し、一つの番組または複数個の番組の映像
データ及び音声データの各TSパケットを多重化してい
る。多重後のTSパケットのデータレートが所定のデー
タレート(例えば約19.3Mbps)となっている。
ATVではこのTSパケットに所定のエラー訂正パリテ
ィを付加し、所定の方式で変調して地上波を用いて放送
する。この方式は現在は地上波を用いて実現しようとし
ているが、衛星放送やケーブルテレビ等にも応用するこ
とができる。また、現在のTSパケットのデータレート
は約19.3Mbpsであるが、さらに高画質の番組を
放送したり、さらにたくさんの番組を同時に放送するた
めに、さらに大きな伝送レート(例えば2倍の約38.
6Mbps)で放送されることも考えられている。
At present, in the United States, a "broadcast system which uses terrestrial waves to transmit video and audio as digital signals with the same bandwidth as the current broadcast system" has been developed. In this system, TS packets are packetized according to the MPEG2 system, and each TS packet of video data and audio data of one program or a plurality of programs is multiplexed. The data rate of TS packets after multiplexing is a predetermined data rate (for example, about 19.3 Mbps).
In the ATV, a predetermined error correction parity is added to this TS packet, and the TS packet is modulated by a predetermined method and broadcast using terrestrial waves. This system is currently being implemented using terrestrial waves, but it can also be applied to satellite broadcasting, cable television, and the like. Further, the current data rate of TS packets is about 19.3 Mbps, but a higher transmission rate (for example, about 38 times as high as about 38 times) is used in order to broadcast a program with higher image quality or to broadcast more programs at the same time. .
It is also considered to be broadcast at 6 Mbps).

【0008】また、欧州でもDVBと称するディジタル
放送の開発が進められている。DVBもATVと同様に
MPEG2方式を採用しているが、DVBでは複数の番
組を多重して放送するようになっている。また多重する
番組数は可変であるため、データレートも複数存在す
る。
In Europe, digital broadcasting called DVB is also under development. DVB also adopts the MPEG2 system like ATV, but DVB is designed to multiplex and broadcast a plurality of programs. Since the number of programs to be multiplexed is variable, there are multiple data rates.

【0009】現在開発されているディジタルVTRは、
前述したとおり映像信号のフレームに同期して記録され
る。このVTRの記録レートは現行放送方式用のVTR
では約25Mbpsであり、高品位放送用のVTRでは
約50Mbpsとなっている。従って、ATVのデータ
レート(約19.3Mbps)であれば現行放送方式用
のVTRで記録可能である。
The digital VTR currently being developed is
As described above, it is recorded in synchronization with the frame of the video signal. The recording rate of this VTR is the VTR for the current broadcasting system.
Is about 25 Mbps, and the VTR for high-definition broadcasting is about 50 Mbps. Therefore, if the data rate of ATV (about 19.3 Mbps), it is possible to record with the VTR for the current broadcasting system.

【0010】前記のディジタルVTRに、MPEG2の
TSパケットのビット列を記録するために考えられる方
法を説明する。この説明はVTRの記録レートが約25
Mbpsである現行放送用のVTRを例にとっている。
記録時、VTRはVTR内部で独自にフレーム基準信号
を発生する。このフレーム基準信号は入力されるMPE
G2のTSパケットのデータレートとは無関係の信号で
ある。従って前記のフレーム基準信号で決められた各フ
レーム期間内にテープ上に記録されるMPEG2のTS
パケットのデータ量は、各フレーム毎に異なっている。
また、19.3MbpsのMPEG2のTSパケットの
データレートを記録レート25MbpsのVTRに記録
する場合、その差分に相当するデータレートの分を補完
するためにダミーデータを記録する。VTRが各フレー
ム毎に記録するデータ量は一定であるため、VTRの1
フレーム期間内に記録されるMPEG2のTSパケット
列のデータ量はフレーム毎に異なっている。
A possible method for recording a bit string of an MPEG2 TS packet in the above digital VTR will be described. In this explanation, the recording rate of VTR is about 25.
An example is a VTR for current broadcasting, which is Mbps.
During recording, the VTR independently generates a frame reference signal inside the VTR. This frame reference signal is the input MPE
This signal is independent of the data rate of the G2 TS packet. Therefore, the MPEG2 TS recorded on the tape within each frame period determined by the frame reference signal described above.
The data amount of the packet differs for each frame.
When recording the data rate of a TS packet of MPEG2 of 19.3 Mbps in a VTR having a recording rate of 25 Mbps, dummy data is recorded to complement the data rate corresponding to the difference. Since the amount of data recorded by the VTR for each frame is constant, the VTR is set to 1
The data amount of the TS packet sequence of MPEG2 recorded within the frame period differs for each frame.

【0011】次に、このような方法で記録されたテープ
を再生する方法を示す。VTRは内部のフレーム基準信
号に同期して再生する。テープから再生されるデータは
約25Mbpsの再生レートで再生される。VTRの再
生装置からデータを出力する際は記録する際に付加した
ダミーデータを除去して、MPEG2のTSパケットの
データだけを出力する。
Next, a method of reproducing a tape recorded by such a method will be described. The VTR reproduces in synchronization with the internal frame reference signal. The data reproduced from the tape is reproduced at a reproduction rate of about 25 Mbps. When outputting data from the VTR playback device, the dummy data added during recording is removed, and only the MPEG2 TS packet data is output.

【0012】図7(A)は、記録時にVTRの記録装置
へ入力されるMPEG2のTSパケットのパケット列で
ある。TSパケット701は19.3Mbpsのデータ
レートで入力される。図7(B)に示すように記録レー
トが約25Mbpsとなるようにダミーデータ702が
付加されて記録される。再生時、テープ上からは図7
(B)に示すように約25Mbpsの再生レートで再生
される。VTRの再生装置からデータを取り出す際は、
図7(C)に示すように、ダミーデータ702を除去し
た状態で取り出すことになる。また、図7(C)のデー
タ列はVTR内部のフレーム基準信号に同期している。
FIG. 7A shows a packet sequence of MPEG2 TS packets input to the recording device of the VTR during recording. The TS packet 701 is input at a data rate of 19.3 Mbps. As shown in FIG. 7B, the dummy data 702 is added and recorded so that the recording rate becomes about 25 Mbps. Figure 7 from the top of the tape during playback
As shown in (B), it is reproduced at a reproduction rate of about 25 Mbps. When extracting data from the VTR playback device,
As shown in FIG. 7C, the dummy data 702 is taken out in the removed state. The data string in FIG. 7C is synchronized with the frame reference signal inside the VTR.

【0013】VTRの記録装置に入力されるデータレー
トがVTRの記録レートより大きい場合、例えばMPE
G2のTSパケット列のデータレートが38.6Mbp
sで、VTRの記録レートが25Mbpsの場合、この
入力データをすべて記録することはできない。このよう
な高いデータレートのデータを記録するためにはより大
きい記録レートのVTRが必要になる。本従来例の場合
は、高品位放送に対応した記録レートが約50Mbps
のVTRを使用することになる。
When the data rate input to the VTR recording device is higher than the VTR recording rate, for example, MPE
The data rate of the G2 TS packet sequence is 38.6 Mbp
If the recording rate of the VTR is 25 Mbps in s, it is not possible to record all the input data. In order to record such high data rate data, a VTR having a higher recording rate is required. In the case of this conventional example, the recording rate corresponding to high-definition broadcasting is about 50 Mbps.
VTR will be used.

【0014】[0014]

【発明が解決しようとする課題】本発明が解決しようと
する課題について説明する。DVBのように複数の番組
が多重されたMPEG2のTSパケットを入力し記録し
ようとした場合、MPEG2のTSパケット列のデータ
レートがVTRの記録データレート以下ならばそのまま
すべての番組を記録することが可能である。ところが、
VTRの記録データレートを越える場合は、多重された
番組の中からVTRの記録データレート以内に収まるよ
うに番組を選択し、その番組を示す識別子を持つMPE
G2のTSパケットを抽出して記録する。再生時には、
入力した時と同じデータレートでMPEG2のTSパケ
ット列をデコーダに出力するために、ダミーデータを付
加する。この時記録したMPEG2のTSパケットは、
デコーダに出力する時にはダミーデータによって、離散
的に伝送されることになる。このMPEG2のTSパケ
ット列はできる限り同じタイミングでなければならない
が、従来の技術でこれらを実現するには誤差が生じ、デ
コーダの許容誤差を越えてしまい、正確に映像データお
よび音声データを再生することはできない。
The problems to be solved by the present invention will be described. When an MPEG2 TS packet in which a plurality of programs are multiplexed like DVB is input and recorded, if the data rate of the MPEG2 TS packet sequence is less than the recording data rate of the VTR, all the programs can be recorded as they are. It is possible. However,
When the recording data rate of the VTR is exceeded, a program is selected from the multiplexed programs so as to be within the recording data rate of the VTR, and MPE having an identifier indicating the program is selected.
The G2 TS packet is extracted and recorded. During playback,
Dummy data is added in order to output the MPEG2 TS packet sequence to the decoder at the same data rate as when it was input. The MPEG2 TS packet recorded at this time is
When it is output to the decoder, it is discretely transmitted by the dummy data. This MPEG2 TS packet sequence must have the same timing as much as possible, but an error occurs in realizing these with the conventional technology, which exceeds the allowable error of the decoder, and the video data and audio data are reproduced accurately. It is not possible.

【0015】[0015]

【課題を解決するための手段】本発明に係わる請求項1
記載の記録装置は、パケット化したデータを搬送するキ
ャリアクロックの周波数の種別を検出するキャリアクロ
ック検出手段と、所定の周期内の前記キャリアクロック
数を計数する第1のキャリアクロック計数手段と、前記
パケットの区切り位置におけるキャリアクロックによっ
て得られる時刻情報を計数する第2のキャリアクロック
計数手段と、前記パケット化したデータと、前記周波数
の種別を示す情報と、前記キャリアクロック数と、前記
時刻情報とを記録媒体上に記録する記録手段を備えるこ
とを特徴とする。
Claim 1 according to the present invention
The recording device described above includes a carrier clock detecting means for detecting a frequency type of a carrier clock carrying packetized data, a first carrier clock counting means for counting the number of carrier clocks within a predetermined period, and Second carrier clock counting means for counting time information obtained by a carrier clock at a packet delimiter position, the packetized data, information indicating the type of frequency, the number of carrier clocks, and the time information. Is provided on the recording medium.

【0016】本発明に係わる請求項2記載の再生装置
は、記録媒体上に記録されたデータと、キャリアクロッ
クの周波数の種別を示す情報と、所定の周期内の前記キ
ャリアクロック数と、時刻情報とを再生する再生手段
と、前記キャリアクロックの周波数の種別によってキャ
リアクロックを発生するキャリアクロック発生手段と、
前記キャリアクロック数によって前記所定の周期と等し
い基準信号を発生する基準信号発生手段と、前記時刻情
報によって前記データの出力を制御する出力制御手段を
備えることを特徴とする。
According to another aspect of the present invention, there is provided a reproducing apparatus, wherein data recorded on a recording medium, information indicating a frequency type of a carrier clock, the number of carrier clocks within a predetermined period, and time information. And a carrier clock generating means for generating a carrier clock according to the frequency type of the carrier clock,
It is characterized by further comprising a reference signal generating means for generating a reference signal equal to the predetermined period according to the number of carrier clocks, and an output control means for controlling output of the data according to the time information.

【0017】本発明に係わる請求項3記載の記録装置
は、パケット化したデータを搬送するキャリアクロック
の周波数の種別を検出するキャリアクロック検出手段
と、所定の周期内の前記キャリアクロック数を計数する
第1のキャリアクロック計数手段と、前記パケットの区
切り位置におけるキャリアクロックによって得られる時
刻情報を計数する第2のキャリアクロック計数手段と、
前記パケット化したデータの記録開始位置を検出する記
録開始位置検出手段と、前記パケット化したデータと、
前記周波数の種別を示す情報と、前記キャリアクロック
数と、前記時刻情報と、前記記録開始位置を示すフラグ
とを記録媒体上に記録する記録手段を備えることを特徴
とする。
A recording apparatus according to a third aspect of the present invention counts a carrier clock detecting means for detecting a frequency type of a carrier clock carrying packetized data, and the number of carrier clocks within a predetermined period. First carrier clock counting means, and second carrier clock counting means for counting time information obtained by the carrier clock at the packet delimiter position,
Recording start position detecting means for detecting a recording start position of the packetized data; and the packetized data,
Recording means for recording the information indicating the frequency type, the carrier clock number, the time information, and a flag indicating the recording start position on a recording medium is provided.

【0018】本発明に係わる請求項4記載の再生装置
は、記録媒体上に記録されたデータと、キャリアクロッ
クの周波数の種別を示す情報と、所定の周期内の前記キ
ャリアクロック数と、時刻情報と、記録開始位置を示す
フラグとを再生する再生手段と、前記キャリアクロック
の周波数の種別によってキャリアクロックを発生するキ
ャリアクロック発生手段と、前記キャリアクロック数に
よって前記所定の周期と等しい基準信号を発生する基準
信号発生手段と、前記時刻情報によって前記データの出
力を制御する出力制御手段と、前記フラグによって記録
開始位置における前記データの出力時刻を補正する出力
時刻補正手段を備えたことを特徴とする再生装置。
According to a fourth aspect of the present invention, there is provided a reproducing apparatus in which data recorded on a recording medium, information indicating a carrier clock frequency type, the number of carrier clocks within a predetermined period, and time information. Reproducing means for reproducing a recording start position flag, carrier clock generating means for generating a carrier clock according to the type of frequency of the carrier clock, and a reference signal equal to the predetermined cycle according to the number of carrier clocks. A reference signal generating means, an output control means for controlling the output of the data according to the time information, and an output time correcting means for correcting the output time of the data at the recording start position by the flag. Playback device.

【0019】[0019]

【作用】請求項1記載の記録装置は、パケット単位で伝
送される映像データおよび音声データのキャリアクロッ
クの周波数の種別を検出し、また所定の周期ごとに発生
する内部の基準信号期間内のキャリアクロックの数を計
数し、さらに伝送されるパケットの区切り位置を検出
し、その区切り位置におけるキャリアクロックによって
得られる時刻情報を計数し、それぞれのデータを記録媒
体上に映像データおよび音声データと共に記録する。
According to another aspect of the present invention, there is provided a recording device for detecting a carrier clock frequency type of video data and audio data transmitted in packet units, and for generating a carrier within an internal reference signal period generated every predetermined period. The number of clocks is counted, the delimiter position of the transmitted packet is detected, the time information obtained by the carrier clock at the delimiter position is counted, and each data is recorded on the recording medium together with the video data and the audio data. .

【0020】このようにして記録した記録媒体を請求項
2記載の再生装置で再生することができる。再生装置は
内部の基準信号に同期してデータを再生する。キャリア
クロック発生手段でキャリアクロックの周波数の種別に
応じたキャリアクロックを発生させ、所定の周期ごとに
発生する基準信号期間内のキャリアクロックの数を計数
し、計数結果が所定の値に達したとき第2基準信号を発
生する。そして基準信号と第2基準信号の位相差を検出
し、その位相差を小さくするように基準信号発生手段に
よって発生される基準信号の周波数を変化させる。また
再生手段で再生された映像データおよび音声データは記
憶手段に記憶させる。そして、キャリアクロック発生回
路から発生したキャリアクロックの数を計数し、パケッ
ト区切り位置におけるキャリアクロックによって得られ
る時刻情報の値に達したとき、制御信号を記憶制御手段
より発生する。記憶手段に記憶された映像および音声デ
ータは制御信号によって読み出しされ、入力手段へ入力
される。
The recording medium thus recorded can be reproduced by the reproducing apparatus according to the second aspect. The reproducing device reproduces the data in synchronization with the internal reference signal. When the carrier clock generating means generates a carrier clock according to the frequency type of the carrier clock, counts the number of carrier clocks in the reference signal period generated in each predetermined cycle, and when the count result reaches a predetermined value. A second reference signal is generated. Then, the phase difference between the reference signal and the second reference signal is detected, and the frequency of the reference signal generated by the reference signal generating means is changed so as to reduce the phase difference. Further, the video data and audio data reproduced by the reproducing means are stored in the storage means. Then, the number of carrier clocks generated from the carrier clock generation circuit is counted, and when the value of the time information obtained by the carrier clock at the packet break position is reached, a control signal is generated from the storage control means. The video and audio data stored in the storage means is read by the control signal and input to the input means.

【0021】請求項3記載の記録装置は映像データおよ
び音声データの記録開始位置を示すフラグを、請求項1
記載の記録装置と同様に記録媒体へ記録する。
According to a third aspect of the present invention, there is provided a recording apparatus, wherein a flag indicating a recording start position of video data and audio data is set.
It records on a recording medium similarly to the described recording device.

【0022】このようにして記録した記録媒体を請求項
4記載の再生装置で再生することができる。再生装置は
内部の基準信号に同期してデータを再生する。キャリア
クロック発生手段でキャリアクロックの周波数の種別に
応じたキャリアクロックを発生させ、所定の周期ごとに
発生する基準信号期間内のキャリアクロックの数を計数
し、計数結果が所定の値に達したとき第2基準信号を発
生する。そして基準信号と第2基準信号の位相差を検出
し、その位相差を小さくするように基準信号発生手段に
よって発生される基準信号の周波数を変化させる。また
再生手段で再生された映像データおよび音声データは記
憶手段に記憶させる。そして、キャリアクロック発生回
路から発生したキャリアクロックの数を計数し、パケッ
ト区切り位置におけるキャリアクロックによって得られ
る時刻情報の値に達したとき制御信号を記憶制御手段よ
り発生する。この時記録開始位置を示すフラグを入力す
るとキャリアクロック数のカウント値を所定の値に補正
する。そして記憶手段に記憶された映像および音声デー
タは制御信号によって読み出しされ、入力手段へ入力さ
れる。
The recording medium thus recorded can be reproduced by the reproducing apparatus according to the fourth aspect. The reproducing device reproduces the data in synchronization with the internal reference signal. When the carrier clock generating means generates a carrier clock according to the frequency type of the carrier clock, counts the number of carrier clocks in the reference signal period generated in each predetermined cycle, and when the count result reaches a predetermined value. A second reference signal is generated. Then, the phase difference between the reference signal and the second reference signal is detected, and the frequency of the reference signal generated by the reference signal generating means is changed so as to reduce the phase difference. Further, the video data and audio data reproduced by the reproducing means are stored in the storage means. Then, the number of carrier clocks generated from the carrier clock generating circuit is counted, and when the value of the time information obtained by the carrier clock at the packet delimiter position is reached, the control signal is generated from the storage control means. At this time, if the flag indicating the recording start position is input, the count value of the carrier clock number is corrected to a predetermined value. The video and audio data stored in the storage means is read by the control signal and input to the input means.

【0023】[0023]

【実施例】以下、図面を用いて本発明の実施例を説明す
る。本実施例はATV、DVB等のディジタル放送を磁
気テープ上にディジタル信号として記録し再生するディ
ジタルVTRを例にとって説明する。
Embodiments of the present invention will be described below with reference to the drawings. This embodiment will be described by taking a digital VTR which records and reproduces digital broadcasting such as ATV and DVB as a digital signal on a magnetic tape.

【0024】図1に本発明の記録装置に関する第1の実
施例のブロック図を示す。本実施例の記録装置は、チュ
ーナ101、記録ブロック102(記録手段)、基準信
号発生回路103、キャリアクロック検出回路(キャリ
アクロック検出手段)104、パケット区切り検出回路
105、キャリアクロック計数ブロック(キャリアクロ
ック計数手段)106、第2キャリアクロック計数ブロ
ック(第2のキャリアクロック計数手段)107より構
成される。
FIG. 1 shows a block diagram of a first embodiment of the recording apparatus of the present invention. The recording apparatus of this embodiment includes a tuner 101, a recording block 102 (recording means), a reference signal generation circuit 103, a carrier clock detection circuit (carrier clock detection means) 104, a packet delimiter detection circuit 105, a carrier clock counting block (carrier clock). Counting means) 106 and a second carrier clock counting block (second carrier clock counting means) 107.

【0025】チューナ101はディジタル放送の放送波
を受信し、復調処理、エラー訂正処理等の所定の処理を
行い、MPEG2のTSパケット列120を記録ブロッ
ク102へ出力する。MPEG2のTSパケット列12
0は、前述した通り圧縮された映像データや音声データ
である。MPEG2のTSパケット列120はキャリア
クロック121に同期して隙間無く記録ブロック102
へ出力される。基準信号発生回路103は、記録ブロッ
ク102の記録動作の基準となる基準信号122を発生
し、記録ブロック102とキャリアクロック計数ブロッ
ク106へ出力する。本実施例において、基準信号12
2は1.001/300秒毎の周期で立ち上がる信号で
ある。1.001/300秒という時間は、記録ブロッ
ク102がテープ上に1本のトラックを形成する時間で
ある。つまり、記録ブロック102は基準信号122に
同期してテープ上に映像データ及び音声データを記録す
る。キャリアクロック121は、キャリアクロック計数
ブロック106と第2キャリアクロック計数ブロック1
07とキャリアクロック検出回路104と記録ブロック
102へ入力される。キャリアクロック検出回路104
はチューナ101から出力されるキャリアクロック12
1を入力し、その周波数の種別を検出し、その種別デー
タ123を記録ブロック102に出力する。パケット区
切り検出回路105は、チューナ101から出力される
MPEG2のTSパケット単位で伝送される映像データ
および音声データ120を入力し、各パケットの区切り
を検出し、区切りを検出するごとにタイミングパルス1
24を第2キャリアクロック計数ブロック107に出力
する。
The tuner 101 receives a broadcast wave of digital broadcasting, performs a predetermined process such as a demodulation process and an error correction process, and outputs an MPEG2 TS packet sequence 120 to the recording block 102. MPEG2 TS packet sequence 12
0 is video data or audio data compressed as described above. The MPEG2 TS packet sequence 120 is synchronized with the carrier clock 121 and is recorded in the recording block 102 without gaps.
Is output to. The reference signal generation circuit 103 generates a reference signal 122 that serves as a reference for the recording operation of the recording block 102 and outputs it to the recording block 102 and the carrier clock counting block 106. In this embodiment, the reference signal 12
Reference numeral 2 is a signal that rises at a cycle of 1.001 / 300 seconds. The time of 1.001 / 300 seconds is the time for the recording block 102 to form one track on the tape. That is, the recording block 102 records video data and audio data on the tape in synchronization with the reference signal 122. The carrier clock 121 includes a carrier clock counting block 106 and a second carrier clock counting block 1
07, the carrier clock detection circuit 104, and the recording block 102. Carrier clock detection circuit 104
Is the carrier clock 12 output from the tuner 101.
1 is input, the type of the frequency is detected, and the type data 123 is output to the recording block 102. The packet delimiter detection circuit 105 inputs the video data and audio data 120 transmitted from the tuner 101 in units of TS packets of MPEG2, detects the delimiter of each packet, and outputs the timing pulse 1 every time the delimiter is detected.
24 is output to the second carrier clock counting block 107.

【0026】キャリアクロック計数ブロック106はカ
ウンタ110とレジスタ111より構成されている。図
2を用いて、キャリアクロック計数ブロックの動作を説
明する。基準信号122はカウンタ110とレジスタ1
11へ入力されている。カウンタ110はキャリアクロ
ック121をカウントし、カウント値125をレジスタ
111へ出力する。図2のように、カウンタ110は基
準信号122が立ち上がると0にリセットされ、キャリ
アクロック121に同期して1ずつ増加する。図2で
は、基準信号122が最初に立ち上がるとカウント値1
25はnから1へリセットされ1ずつ増加し、次に立ち
上がった時にmから1へリセットされている。レジスタ
111は、カウンタ110より入力されるカウント値1
25を基準信号122が立ち上がると保持する。レジス
タ111は基準信号122が次回立ち上がるまで値を保
持する。図2ではレジスタ111は基準信号122が最
初に立ち上がるとカウント値nを保持し、次に立ち上が
るとカウント値mを保持している。レジスタ111が保
持したカウント値126は記録ブロック102へ出力さ
れる。
The carrier clock counting block 106 is composed of a counter 110 and a register 111. The operation of the carrier clock counting block will be described with reference to FIG. The reference signal 122 is the counter 110 and the register 1
11 has been entered. The counter 110 counts the carrier clock 121 and outputs a count value 125 to the register 111. As shown in FIG. 2, the counter 110 is reset to 0 when the reference signal 122 rises and is incremented by 1 in synchronization with the carrier clock 121. In FIG. 2, when the reference signal 122 first rises, the count value 1
25 is reset from n to 1 and incremented by 1, and when it next rises, it is reset from m to 1. The register 111 has a count value 1 input from the counter 110.
25 is held when the reference signal 122 rises. The register 111 holds the value until the reference signal 122 rises next time. In FIG. 2, the register 111 holds the count value n when the reference signal 122 first rises, and holds the count value m when the reference signal 122 next rises. The count value 126 held by the register 111 is output to the recording block 102.

【0027】第2キャリアクロック計数ブロック107
はカウンタ112とレジスタ113より構成されてい
る。図3を用いて、第2キャリアクロック計数ブロック
の動作を説明する。パケット区切り検出回路105より
出力されるタイミングパルス124はレジスタ113へ
入力されている。カウンタ112はキャリアクロック1
21をカウントし、カウント値127をレジスタ113
へ出力する。図3のように、カウンタ113はキャリア
クロック121に同期して1ずつ増加する。レジスタ1
13は、カウンタ112より入力されるカウント値12
7を、タイミングパルス124が立ち上がるとカウント
値127を保持する。レジスタ113はタイミングパル
ス124が次回立ち上がるまで値を保持する。図3では
レジスタ113はタイミングパルス124が最初に立ち
上がるとカウント値qを保持し、次に立ち上がるとカウ
ント値pを保持している。レジスタ113が保持したカ
ウント値128は記録ブロック102へ出力される。
Second carrier clock counting block 107
Is composed of a counter 112 and a register 113. The operation of the second carrier clock counting block will be described with reference to FIG. The timing pulse 124 output from the packet delimiter detection circuit 105 is input to the register 113. Counter 112 is carrier clock 1
21 is counted, and the count value 127 is stored in the register 113.
Output to. As shown in FIG. 3, the counter 113 increments by 1 in synchronization with the carrier clock 121. Register 1
13 is the count value 12 input from the counter 112
7 and holds the count value 127 when the timing pulse 124 rises. The register 113 holds the value until the timing pulse 124 rises next time. In FIG. 3, the register 113 holds the count value q when the timing pulse 124 first rises, and holds the count value p when the timing pulse 124 next rises. The count value 128 held by the register 113 is output to the recording block 102.

【0028】記録ブロック102は、MPEG2のTS
パケット列120とキャリアクロックの周波数の種別デ
ータ123と、基準信号期間内のキャリアクロックのカ
ウント値126と、パケット区切り位置におけるキャリ
アクロックによって得られる時刻情報128を多重し、
基準信号発生回路103からの基準信号122に同期し
てテープ上に記録する。図4に記録ブロック102の構
成例を示す。記録ブロック102は、メモリ401、E
CC回路402、変調回路403、制御回路404より
構成されている。メモリ回路401はキャリアクロック
121に同期して入力されるMPEG2のTSパケット
列120を基準信号122に同期して記録するためのデ
ータレートを変更する。制御回路404は、基準信号1
22に同期してメモリ401からMPEG2のTSパケ
ット列を読み出すための制御信号を発生し、メモリ40
1へ出力する。ECC回路402へメモリ401から基
準信号122に同期してTSパケット列が入力され、キ
ャリアクロックの周波数の種別データ123と、基準信
号期間内のキャリアクロックのカウント値126と、パ
ケットの区切り位置におけるキャリアクロックによって
得られる時刻情報128も入力される。前述したように
MPEG2のTSパケットのデータレートはi(i≦2
5)Mbpsであり、このVTRの記録レートが25M
bpsである。ECC回路402はデータレートの差を
補完するためにダミーデータを発生する。また、ECC
回路402はダミーデータと入力されるMPEG2のT
Sパケット列、カウント値、時刻情報にたいしてエラー
訂正用のパリティ符号を付加して変調回路403へ入力
する。変調回路403は入力されるデータ列に対して所
定の変調を施しテープ上に記録する。また、基準信号1
22に同期してECC回路402と変調回路403が所
定の処理を行うために、それらが必要な制御信号を発生
している。また、制御回路404は、回転ヘッドの回転
制御やテープ送り速度制御も行っている。
The recording block 102 is a TS of MPEG2.
The packet string 120, the carrier clock frequency type data 123, the carrier clock count value 126 within the reference signal period, and the time information 128 obtained by the carrier clock at the packet separation position are multiplexed.
Recording is performed on the tape in synchronization with the reference signal 122 from the reference signal generation circuit 103. FIG. 4 shows a configuration example of the recording block 102. The recording block 102 includes the memories 401 and E.
It is composed of a CC circuit 402, a modulation circuit 403, and a control circuit 404. The memory circuit 401 changes the data rate for recording the MPEG2 TS packet sequence 120 input in synchronization with the carrier clock 121 in synchronization with the reference signal 122. The control circuit 404 uses the reference signal 1
A control signal for reading the MPEG2 TS packet sequence from the memory 401 is generated in synchronization with the memory 40.
Output to 1. A TS packet sequence is input from the memory 401 to the ECC circuit 402 in synchronization with the reference signal 122, the carrier clock frequency type data 123, the carrier clock count value 126 within the reference signal period, and the carrier at the packet delimiter position. The time information 128 obtained by the clock is also input. As described above, the data rate of the TS packet of MPEG2 is i (i ≦ 2
5) Mbps and the recording rate of this VTR is 25M
bps. The ECC circuit 402 generates dummy data to complement the difference in data rate. Also, ECC
The circuit 402 is a T of MPEG2 which is inputted with dummy data.
A parity code for error correction is added to the S packet sequence, the count value, and the time information and input to the modulation circuit 403. The modulation circuit 403 performs a predetermined modulation on the input data string and records it on the tape. Also, the reference signal 1
In order for the ECC circuit 402 and the modulation circuit 403 to perform predetermined processing in synchronism with 22, the control signals are generated by them. The control circuit 404 also controls the rotation of the rotary head and the tape feed speed.

【0029】本実施例の記録装置ではキャリアクロック
121の周波数の種別を検出し、その種別データ123
と、基準信号122の1周期期間内のキャリアクロック
121の数をカウントし、1周期期間内のキャリアクロ
ック121のクロック数126と、パケットの区切り位
置におけるキャリアクロックによって得られる時刻情報
128をMPEG2のTSパケット列と共にテープ上に
記録している。
In the recording apparatus of this embodiment, the type of frequency of the carrier clock 121 is detected and its type data 123 is detected.
Then, the number of carrier clocks 121 in one cycle period of the reference signal 122 is counted, and the number of clocks 126 of the carrier clock 121 in one cycle period and the time information 128 obtained by the carrier clock at the packet delimiter position are recorded in MPEG2. It is recorded on the tape together with the TS packet sequence.

【0030】本発明の記録装置に関する第1の実施例の
VTRで記録したテープを再生する再生装置に関する実
施例を説明する。図5にその実施例のブロック図を示
す。本実施例の再生装置は、再生ブロック501(再生
手段)、デコーダ502、基準信号発生回路503(基
準信号発生手段)、キャリアクロック発生回路(キャリ
アクロック発生手段)504、カウンタ505、比較回
路506、位相誤差検出回路507、メモリ508、カ
ウンタ509、メモリ制御回路(出力制御手段)510
より構成されている。
An embodiment of a reproducing apparatus for reproducing the tape recorded by the VTR of the first embodiment of the recording apparatus of the present invention will be described. FIG. 5 shows a block diagram of the embodiment. The reproducing apparatus of this embodiment includes a reproducing block 501 (reproducing means), a decoder 502, a reference signal generating circuit 503 (reference signal generating means), a carrier clock generating circuit (carrier clock generating means) 504, a counter 505, a comparing circuit 506, Phase error detection circuit 507, memory 508, counter 509, memory control circuit (output control means) 510
It is composed of

【0031】再生ブロック501は再生ディジタル信号
を入力し、所定の復調処理を行い、エラーを訂正し、記
録時に付加したダミーデータを除去する。基準信号発生
回路503は記録時と同じ周期の基準信号522を発生
し、再生ブロック501は基準信号522に同期して再
生ディジタル信号をテープより再生する。基準信号52
2の周期は記録時の基準信号122の周期と同じ1.0
01/300秒である。再生ブロック501で再生され
たキャリアクロックの周波数の種別データ523は、キ
ャリアクロック発生回路504に入力され、種別データ
523に応じた周波数のキャリアクロック521を発生
する。再生ブロック501より、キャリアクロック発生
回路504によって発生されるキャリアクロック521
に同期して、MPEG2のTSパケット列520が出力
される。
The reproduction block 501 receives the reproduced digital signal, performs a predetermined demodulation process, corrects the error, and removes the dummy data added at the time of recording. The reference signal generation circuit 503 generates the reference signal 522 having the same cycle as that at the time of recording, and the reproduction block 501 reproduces the reproduced digital signal from the tape in synchronization with the reference signal 522. Reference signal 52
The period of 2 is 1.0, which is the same as the period of the reference signal 122 at the time of recording.
It is 01/300 seconds. The carrier clock frequency type data 523 reproduced by the reproduction block 501 is input to the carrier clock generation circuit 504, and the carrier clock 521 having a frequency corresponding to the type data 523 is generated. The carrier clock 521 generated by the carrier clock generation circuit 504 from the reproduction block 501.
In synchronization with, the MPEG2 TS packet sequence 520 is output.

【0032】再生ブロックに入力される再生ディジタル
信号の中のMPEG2のTSパケット列だけの平均的な
データレートは、キャリアクロック521の周波数と等
しくなければならない。そこで本実施例では次に示す方
法でそれらを等しくしている。
The average data rate of only the MPEG2 TS packet sequence in the reproduced digital signal input to the reproduction block must be equal to the frequency of the carrier clock 521. Therefore, in the present embodiment, they are made equal by the following method.

【0033】キャリアクロック発生回路504より得ら
れるキャリアクロック521をカウンタ505へ入力す
る。カウンタ505へはテープより再生された基準信号
の周期期間内のキャリアクロック数524も入力されて
いる。カウンタ505はキャリアクロック521に同期
して1ずつ増加させる。カウント値が再生カウント値5
24の値と等しくなると1へリセットされる。カウンタ
505のカウント値526は比較回路506へ入力され
る。比較回路506はカウント値526が例えば1にな
ると第2基準信号527を発生する。位相誤差検出回路
507は基準信号522と第2基準信号527の位相誤
差を検出し、位相誤差528を基準信号発生回路503
へ出力する。基準信号発生回路503は、位相誤差52
8に基づき位相誤差が小さくなるように基準信号522
の周波数を増減させる。このようなフィードバック制御
を行うことにより、基準信号522と第2基準信号52
7の位相誤差は常に小さい値を保つことができる。この
ような方法によってテープから再生されるTSパケット
を、記録時に信号源から入力したTSパケットと同じデ
ータレートで出力することができる。
The carrier clock 521 obtained from the carrier clock generation circuit 504 is input to the counter 505. The counter 505 also receives the carrier clock number 524 within the period of the reference signal reproduced from the tape. The counter 505 increments by 1 in synchronization with the carrier clock 521. Count value is playback count value 5
When it is equal to the value of 24, it is reset to 1. The count value 526 of the counter 505 is input to the comparison circuit 506. The comparison circuit 506 generates the second reference signal 527 when the count value 526 becomes 1, for example. The phase error detection circuit 507 detects the phase error between the reference signal 522 and the second reference signal 527, and detects the phase error 528 as the reference signal generation circuit 503.
Output to. The reference signal generation circuit 503 detects the phase error 52.
8 based on the reference signal 522 to reduce the phase error.
Increase or decrease the frequency of. By performing such feedback control, the reference signal 522 and the second reference signal 52
The phase error of 7 can always keep a small value. By such a method, the TS packet reproduced from the tape can be output at the same data rate as the TS packet input from the signal source at the time of recording.

【0034】図6に再生ブロック601の構成例を示
す。再生ブロック501は復調回路601、ECC回路
602、制御回路603より構成されている。制御回路
603は基準信号522に同期して、回転ヘッドのの回
転速度を制御し、また、復調回路601、ECC回路6
02の動作のための所定の制御信号を発生する。回転ヘ
ッドの回転速度が制御回路603の制御によって基準信
号522に同期しているために、テープより再生される
再生ディジタル信号は基準信号522に同期している。
復調回路601は再生ディジタル信号に対し、所定の復
調処理を施しECC回路602へ出力する。ECC回路
602へ入力されるデータは図7(B)に示すような形
式で入力される。図7(B)におけるデータの伝送レー
トはVTRの記録レートである約25Mbpsである。
FIG. 6 shows an example of the structure of the reproduction block 601. The reproduction block 501 includes a demodulation circuit 601, an ECC circuit 602, and a control circuit 603. The control circuit 603 controls the rotation speed of the rotary head in synchronization with the reference signal 522, and also controls the demodulation circuit 601 and the ECC circuit 6.
Generate a predetermined control signal for operation 02. Since the rotation speed of the rotary head is synchronized with the reference signal 522 under the control of the control circuit 603, the reproduced digital signal reproduced from the tape is synchronized with the reference signal 522.
The demodulation circuit 601 performs a predetermined demodulation process on the reproduced digital signal and outputs it to the ECC circuit 602. The data input to the ECC circuit 602 is input in the format as shown in FIG. The data transmission rate in FIG. 7B is about 25 Mbps which is the recording rate of the VTR.

【0035】このデータ列はMPEG2のTSパケット
701に、記録時に付加されていたダミーデータ702
も付加されている。ECC回路602は再生エラーを訂
正し、付加されたダミーデータ702を除去し、MPE
G2のTSパケット701をメモリ508へ出力する。
This data string is a dummy data 702 added to the TS packet 701 of MPEG2 at the time of recording.
Is also added. The ECC circuit 602 corrects the reproduction error, removes the added dummy data 702, and
The G2 TS packet 701 is output to the memory 508.

【0036】次に、メモリ508からのMPEG2のT
Sパケットの読み出しタイミングについて説明する。キ
ャリアクロック発生回路504より発生するキャリアク
ロック521をカウンタ509に入力する。カウンタ5
09へは、テープより再生されたパケットの区切り位置
におけるキャリアクロックによって得られる時刻情報5
25も入力されている。カウンタ509はキャリアクロ
ック521に同期して1ずつ増加させる。この時刻情報
525は絶対時刻を表しているため、カウンタ509で
は一つ前に送られてきた時刻情報525と現在の時刻情
報525との差分をカウントするようにする。カウント
値が現在と一つ前の時刻情報525の差分の値に達する
と1へリセットされる。カウンタ509のカウント値5
29はメモリ制御回路510へ入力される。メモリ制御
回路510ではカウンタ値529が例えば1になると、
メモリ508からのMPEG2のTSパケットの読み出
しを制御する制御信号530をメモリ508へ出力す
る。
Next, the MPEG2 T from the memory 508 is recorded.
The read timing of the S packet will be described. The carrier clock 521 generated by the carrier clock generation circuit 504 is input to the counter 509. Counter 5
To 09, time information 5 obtained by the carrier clock at the delimiter position of the packet reproduced from the tape
25 has also been entered. The counter 509 increments by 1 in synchronization with the carrier clock 521. Since the time information 525 represents an absolute time, the counter 509 counts the difference between the time information 525 sent immediately before and the current time information 525. When the count value reaches the difference value between the current time information 525 and the previous time information 525, the count value is reset to 1. Count value 5 of the counter 509
29 is input to the memory control circuit 510. In the memory control circuit 510, when the counter value 529 becomes 1, for example,
A control signal 530 for controlling the reading of the MPEG2 TS packet from the memory 508 is output to the memory 508.

【0037】メモリ508は、キャリアクロック発生回
路504から発生するキャリアクロック521と、メモ
リ制御回路から出力される制御信号とによって、MPE
G2のTSパケット531をキャリアクロック521と
同期させてデコーダ502へ出力する。デコーダ502
は映像および音声のTSパケットをデコードし、映像信
号および音声信号に復元している。
The memory 508 uses the carrier clock 521 generated by the carrier clock generation circuit 504 and the control signal output from the memory control circuit to cause MPE.
The TS packet 531 of G2 is output to the decoder 502 in synchronization with the carrier clock 521. Decoder 502
Decodes video and audio TS packets to restore video and audio signals.

【0038】次に、記録装置に関する第2の実施例につ
いて説明する。図8に本発明の記録装置に関する第2の
実施例のブロック図を示す。本実施例の記録装置は、チ
ューナ101、記録ブロック102(記録手段)、基準
信号発生回路103、キャリアクロック検出回路(キャ
リアクロック検出手段)104、パケット区切り検出回
路105、キャリアクロック計数ブロック(キャリアク
ロック計数手段)106、第2キャリアクロック計数ブ
ロック(第2のキャリアクロック計数手段)107につ
いては第1の実施例と同じであり、記録開始位置検出回
路(記録開始位置検出手段)801を設けた点が異な
る。
Next, a second embodiment of the recording apparatus will be described. FIG. 8 shows a block diagram of a second embodiment of the recording apparatus of the present invention. The recording apparatus of this embodiment includes a tuner 101, a recording block 102 (recording means), a reference signal generation circuit 103, a carrier clock detection circuit (carrier clock detection means) 104, a packet delimiter detection circuit 105, a carrier clock counting block (carrier clock). The counting means) 106 and the second carrier clock counting block (second carrier clock counting means) 107 are the same as in the first embodiment, and a recording start position detection circuit (recording start position detection means) 801 is provided. Is different.

【0039】記録装置に関する第1の実施例では、放送
番組を連続して記録しているため、記録開始後はチュー
ナ101よりMPEG2のTSパケット列120は常に
所定の間隔内に出力されるデータを記録し、パケット区
切り位置におけるキャリアクロックによって得られる時
刻情報128の値もほぼ一定の割合で増加している。と
ころが、つなぎ取り等で時刻情報128が大きく変化し
た場合、第1の実施例のVTRで記録したテープを再生
する再生装置では、第2キャリアクロック計数ブロック
107でキャリアクロック数をカウントしている間に、
メモリ508がオーバーフローを起こしてしまう。
In the first embodiment of the recording apparatus, since the broadcast program is continuously recorded, the tuner 101 stores the data output from the tuner 101 in the MPEG2 TS packet sequence 120 at all times within a predetermined interval. The value of the time information 128 recorded and obtained by the carrier clock at the packet delimitation position also increases at a substantially constant rate. However, when the time information 128 changes greatly due to connection and the like, in the reproducing apparatus for reproducing the tape recorded by the VTR of the first embodiment, while the second carrier clock counting block 107 is counting the number of carrier clocks. To
The memory 508 overflows.

【0040】従って、本実施例では、記録装置に関する
上記第1の実施例の構成に、記録開始位置検出回路80
1を付加して構成している。記録開始位置検出回路80
1では、記録開始を示す信号820をシステムマイコン
から入力し、記録開始フラグ821を記録ブロック10
2へ出力する。
Therefore, in this embodiment, the recording start position detection circuit 80 is added to the configuration of the first embodiment relating to the recording apparatus.
It is configured by adding 1. Recording start position detection circuit 80
In No. 1, the signal 820 indicating the recording start is input from the system microcomputer, and the recording start flag 821 is set to the recording block 10.
Output to 2.

【0041】記録ブロック102では、MPEG2のT
Sパケット列120と、キャリアクロックの周波数の種
別データ123と、基準信号期間内のキャリアクロック
のカウント値126と、パケット区切り位置におけるキ
ャリアクロックによって得られる時刻情報128と、記
録開始フラグ821を多重し、基準信号発生回路103
からの基準信号122に同期してテープ上に記録する。
In the recording block 102, the MPEG2 T
The S packet sequence 120, the carrier clock frequency type data 123, the carrier clock count value 126 within the reference signal period, the time information 128 obtained by the carrier clock at the packet break position, and the recording start flag 821 are multiplexed. , Reference signal generation circuit 103
It is recorded on the tape in synchronization with the reference signal 122 from.

【0042】次に、記録装置に関する第2の実施例のV
TRで記録したテープを再生する再生装置に関する第2
の実施例を説明する。図9にその実施例のブロック図を
示す。本実施例の再生装置は、再生ブロック501、デ
コーダ502、基準信号発生回路503(基準信号発生
手段)、キャリアクロック発生回路(キャリアクロック
発生手段)504、カウンタ505、比較回路506、
位相誤差検出回路507、メモリ508、カウンタ50
9、メモリ制御回路(出力制御手段)510は第1の実
施例と同じであり、カウント値補正回路(出力時刻補正
手段)901より構成されている。
Next, the V of the second embodiment relating to the recording apparatus will be described.
The second regarding the reproducing device for reproducing the tape recorded in TR
An example will be described. FIG. 9 shows a block diagram of the embodiment. The reproducing apparatus of this embodiment includes a reproducing block 501, a decoder 502, a reference signal generating circuit 503 (reference signal generating means), a carrier clock generating circuit (carrier clock generating means) 504, a counter 505, a comparing circuit 506,
Phase error detection circuit 507, memory 508, counter 50
9. The memory control circuit (output control means) 510 is the same as that of the first embodiment, and is composed of a count value correction circuit (output time correction means) 901.

【0043】本実施例では、図5の構成にカウント値補
正回路901を付加した構成となっている。つなぎ取り
等のデータの不連続が存在するテープを再生し、その位
置にテープがさしかかった場合、つなぎ取り位置を示す
記録開始フラグ920が再生ブロック501で再生さ
れ、カウント値補正回路901に入力される。同時に再
生ブロックで時刻情報525も再生されるのだが、その
値はつなぎ取り以前のテープ上の位置の値から一転して
大きく変化してしまっている。その変化が大きいため
に、前述したように、カウンタ509がキャリアクロッ
ク521を時刻情報525の値に達するまでカウントす
る間に、メモリ508がオーバーフローを起こしてしま
う。これを防ぐために、カウント値補正回路は、カウン
タ509におけるつなぎ取り後の最初のキャリアクロッ
ク521のカウント数を補正するように、その補正値を
カウンタ509に出力する。それ以降は第1の実施例と
同様に時刻情報525は絶対時刻を表すため、一つ前に
送られてきた時刻情報525と現在の時刻情報525と
の差分だけをカウンタ509はカウントすればよい。
In this embodiment, a count value correction circuit 901 is added to the structure of FIG. When a tape having data discontinuity such as connection removal is reproduced and the tape approaches the position, a recording start flag 920 indicating the connection removal position is reproduced by the reproduction block 501 and input to the count value correction circuit 901. It At the same time, the time information 525 is also reproduced in the reproduction block, but its value has changed greatly from the value of the position on the tape before connection and greatly changed. Since the change is large, as described above, the memory 508 overflows while the counter 509 counts the carrier clock 521 until the value of the time information 525 is reached. To prevent this, the count value correction circuit outputs the correction value to the counter 509 so as to correct the count number of the first carrier clock 521 after connection in the counter 509. Since the time information 525 represents the absolute time after that, as in the first embodiment, the counter 509 only needs to count the difference between the time information 525 sent immediately before and the current time information 525. .

【0044】上述してきた本発明の実施例に関する説明
では、記録装置内部のチューナにより放送波を受信し、
MPEG2のTSパケットを記録する機器を例にとって
説明したが、出力手段として、チューナからではなく、
他の機器からディジタル信号としてMPEG2のTSパ
ケットを入力し、内部へ出力する回路を装備した場合
も、本発明の記録装置を用いることで同様の効果を得る
ことができる。また、本発明の実施例に関する説明で
は、再生装置内部のデコーダによりMPEG2のTSパ
ケットをデコードし、映像信号や音声信号を復元する機
器を例にとって説明したが、入力手段としてデコーダで
はなく、他の機器へディジタル信号としてMPEG2の
TSパケットを出力する回路を装備した場合も、本発明
の再生装置を用いることで同様の効果を得ることができ
る。
In the above description of the embodiment of the present invention, the tuner inside the recording apparatus receives the broadcast wave,
Although the apparatus for recording the TS packet of MPEG2 has been described as an example, the output means is not from the tuner, but rather from the tuner.
Even when a circuit for inputting an MPEG2 TS packet as a digital signal from another device and outputting the signal to the inside is equipped, the same effect can be obtained by using the recording device of the present invention. Further, in the description of the embodiments of the present invention, a device that decodes MPEG2 TS packets by a decoder inside the playback device and restores a video signal and an audio signal has been described as an example. Even when the apparatus is equipped with a circuit for outputting MPEG2 TS packets as a digital signal, the same effect can be obtained by using the reproducing apparatus of the present invention.

【0045】また、本実施例の説明ではMPEG2のT
Sパケット列を例にとって説明したが、他の方式で圧縮
されたデータ列も本発明の記録装置及び再生装置を用い
て記録再生することができることは言うまでもない。
In the description of this embodiment, the T of MPEG2 is used.
Although the S packet sequence has been described as an example, it goes without saying that a data sequence compressed by another method can also be recorded and reproduced by using the recording device and the reproducing device of the present invention.

【0046】また、本実施例の記録装置及び再生装置に
おける基準信号の周期は1.001/300秒である場
合を例にとったが、この周期はあくまでVTRの同期を
とるための周期である。従って、基準信号の周期はVT
Rの同期がとれる周期であれば他の周期であってもよ
い。例えば1/25秒、約1/30秒等が考えられる。
The cycle of the reference signal in the recording apparatus and the reproducing apparatus of this embodiment is 1.001 / 300 seconds, but this cycle is just a cycle for synchronizing the VTR. . Therefore, the cycle of the reference signal is VT
Other cycles may be used as long as R can be synchronized. For example, 1/25 seconds, about 1/30 seconds, etc. can be considered.

【0047】また、本実施例におけるクロック計数手段
は、チューナからクロック数として基準信号の1周期期
間内のMPEG2のTSパケットのビット数を計数する
ものとしたが、バイト数もしくはTSパケット数を計数
し、テープ上に記録する方法も考えられる。
Further, although the clock counting means in this embodiment counts the number of bits of the TS packet of MPEG2 within one cycle period of the reference signal as the number of clocks from the tuner, it counts the number of bytes or the number of TS packets. However, a method of recording on tape is also conceivable.

【0048】[0048]

【発明の効果】以上説明したように、請求項1記載の発
明の記録装置で記録し、そのテープを請求項2記載の発
明の再生装置で再生すれば、記録装置のチューナより出
力されるデータのパケット形式と、再生時に再生ブロッ
クより再生されるデータのパケット形式の出力タイミン
グを同じにすることができるため、再生装置のデコーダ
は正確に映像データおよび音声データを復元することが
できる。
As described above, when data is recorded by the recording device of the invention described in claim 1 and the tape is reproduced by the reproducing device of the invention described in claim 2, the data output from the tuner of the recording device is recorded. Since the packet format and the output timing of the packet format of the data reproduced from the reproduction block at the time of reproduction can be made the same, the decoder of the reproducing apparatus can accurately restore the video data and the audio data.

【0049】また、請求項3記載の発明の記録装置で記
録し、そのテープを請求項4記載の発明の再生装置で再
生すれば、つなぎ取り等によるデータの不連続が存在し
ても、メモリのオーバーフローは生じず、記録開始位置
でも正確にデータを出力することができ、メモリの容量
も小さくすることができる。
Further, if data is recorded by the recording apparatus of the third aspect of the invention and the tape is reproduced by the reproducing apparatus of the fourth aspect of the invention, even if there is a discontinuity in the data due to joining or the like, the memory No overflow occurs, data can be accurately output even at the recording start position, and the memory capacity can be reduced.

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

【図1】本発明の記録装置に関する第1の実施例のブロ
ック図
FIG. 1 is a block diagram of a first embodiment of a recording apparatus of the present invention.

【図2】本発明の記録装置に係る第1のカウントブロッ
クの動作の説明図
FIG. 2 is an explanatory diagram of an operation of a first count block according to the recording apparatus of the present invention.

【図3】本発明の記録装置に係る第2のカウントブロッ
クの動作の説明図
FIG. 3 is an explanatory diagram of an operation of a second count block according to the recording apparatus of the present invention.

【図4】本発明の記録装置に係る記録ブロックの構成例
を示すブロック図
FIG. 4 is a block diagram showing a configuration example of a recording block according to a recording apparatus of the present invention.

【図5】本発明の記録装置に関する第1の実施例に対応
した、本発明の再生装置の一実施例のブロック図
FIG. 5 is a block diagram of an embodiment of the reproducing apparatus of the present invention corresponding to the first embodiment of the recording apparatus of the present invention.

【図6】本発明の再生装置に係る再生ブロックの構成例
を示すブロック図
FIG. 6 is a block diagram showing a configuration example of a playback block according to the playback device of the present invention.

【図7】実施例の記録装置及び再生装置の内部のデータ
形式の説明図
FIG. 7 is an explanatory diagram of a data format inside the recording apparatus and the reproducing apparatus of the embodiment.

【図8】本発明の記録装置に関する第2の実施例のブロ
ック図
FIG. 8 is a block diagram of a second embodiment relating to the recording apparatus of the present invention.

【図9】本発明の記録装置に関する第2の実施例に対応
した、本発明の再生装置の一実施例のブロック図
FIG. 9 is a block diagram of an embodiment of the reproducing apparatus of the present invention corresponding to the second embodiment of the recording apparatus of the present invention.

【符号の説明】 101 チューナ 102 記録ブロック 103 基準信号発生回路 104 キャリアクロック検出回路 105 パケット区切り検出回路 106 キャリアクロック計数ブロック 107 第2キャリアクロック計数ブロック 110 カウンタ 111 レジスタ 112 カウンタ 113 レジスタ 120 MPEG2のTSパケット列 121 キャリアクロック 122 基準信号 123 キャリアクロックの周波数の種別データ 124 タイミングパルス 125 カウント値 126 基準信号期間内のキャリアクロックの数 127 カウント値 128 時刻情報 401 メモリ 402 ECC回路 403 変調回路 404 制御回路 501 再生ブロック 502 デコーダ 503 基準信号発生回路 504 キャリアクロック発生回路 505 カウンタ 506 比較回路 507 位相誤差検出回路 508 メモリ 509 カウンタ 510 メモリ制御回路 520 MPEG2のTSパケット列 521 キャリアクロック 522 基準信号 523 キャリアクロックの周波数の種別データ 524 基準信号期間内のキャリアクロックの数 525 時刻情報 526 カウント値 527 第2基準信号 528 位相誤差 529 カウント値 530 制御信号 531 MPEG2のTSパケット列 601 復調回路 602 ECC回路 603 制御回路 701 MPEG2のTSパケット 702 ダミーデータ 801 記録開始位置検出回路 820 記録開始を示す信号 821 記録開始フラグ 901 カウント値補正回路 920 記録開始フラグ 921 補正値[Explanation of Codes] 101 Tuner 102 Recording Block 103 Reference Signal Generation Circuit 104 Carrier Clock Detection Circuit 105 Packet Separation Detection Circuit 106 Carrier Clock Counting Block 107 Second Carrier Clock Counting Block 110 Counter 111 Register 112 Counter 113 Register 120 MPEG2 TS Packet Column 121 Carrier clock 122 Reference signal 123 Carrier clock frequency type data 124 Timing pulse 125 Count value 126 Number of carrier clocks in reference signal period 127 Count value 128 Time information 401 Memory 402 ECC circuit 403 Modulation circuit 404 Control circuit 501 Playback Block 502 Decoder 503 Reference signal generation circuit 504 Carrier clock generation circuit 505 Counter 506 Comparison circuit 507 Phase error detection circuit 508 Memory 509 Counter 510 Memory control circuit 520 MPEG2 TS packet sequence 521 Carrier clock 522 Reference signal 523 Carrier clock frequency type data 524 Number of carrier clocks in reference signal period 525 Time information 526 Count value 527 Second reference signal 528 Phase error 529 Count value 530 Control signal 531 MPEG2 TS packet sequence 601 Demodulation circuit 602 ECC circuit 603 Control circuit 701 MPEG2 TS packet 702 Dummy data 801 Recording start position detection circuit 820 Indicates recording start Signal 821 Recording start flag 901 Count value correction circuit 920 Recording start flag 921 Correction value

───────────────────────────────────────────────────── フロントページの続き (72)発明者 武田 英俊 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hidetoshi Takeda 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】パケット化したデータを搬送するキャリア
クロックの周波数の種別を検出するキャリアクロック検
出手段と、所定の周期内の前記キャリアクロック数を計
数する第1のキャリアクロック計数手段と、前記パケッ
トの区切り位置におけるキャリアクロックによって得ら
れる時刻情報を計数する第2のキャリアクロック計数手
段と、前記パケット化したデータと、前記周波数の種別
を示す情報と、前記キャリアクロック数と、前記時刻情
報とを記録媒体上に記録する記録手段を備えることを特
徴とする記録装置。
1. A carrier clock detecting means for detecting a frequency type of a carrier clock for carrying packetized data, a first carrier clock counting means for counting the number of carrier clocks within a predetermined period, and the packet. Second carrier clock counting means for counting time information obtained by the carrier clock at the delimiter position, the packetized data, information indicating the type of the frequency, the number of carrier clocks, and the time information. A recording apparatus comprising recording means for recording on a recording medium.
【請求項2】記録媒体上に記録されたデータと、キャリ
アクロックの周波数の種別を示す情報と、所定の周期内
の前記キャリアクロック数と、時刻情報とを再生する再
生手段と、前記キャリアクロックの周波数の種別によっ
てキャリアクロックを発生するキャリアクロック発生手
段と、前記キャリアクロック数によって前記所定の周期
と等しい基準信号を発生する基準信号発生手段と、前記
時刻情報によって前記データの出力を制御する出力制御
手段を備えることを特徴とする再生装置。
2. Reproducing means for reproducing data recorded on a recording medium, information indicating the type of carrier clock frequency, the number of carrier clocks within a predetermined period, and time information, and the carrier clock. Carrier clock generation means for generating a carrier clock according to the frequency type, reference signal generation means for generating a reference signal equal to the predetermined period according to the number of carrier clocks, and an output for controlling the output of the data according to the time information. A reproducing apparatus comprising control means.
【請求項3】パケット化したデータを搬送するキャリア
クロックの周波数の種別を検出するキャリアクロック検
出手段と、所定の周期内の前記キャリアクロック数を計
数する第1のキャリアクロック計数手段と、前記パケッ
トの区切り位置におけるキャリアクロックによって得ら
れる時刻情報を計数する第2のキャリアクロック計数手
段と、前記パケット化したデータの記録開始位置を検出
する記録開始位置検出手段と、前記パケット化したデー
タと、前記周波数の種別を示す情報と、前記キャリアク
ロック数と、前記時刻情報と、前記記録開始位置を示す
フラグとを記録媒体上に記録する記録手段を備えること
を特徴とする記録装置。
3. A carrier clock detecting means for detecting a frequency type of a carrier clock for carrying packetized data, a first carrier clock counting means for counting the number of carrier clocks within a predetermined cycle, and the packet. Second carrier clock counting means for counting time information obtained by the carrier clock at the delimiter position, recording start position detecting means for detecting a recording start position of the packetized data, the packetized data, and A recording device comprising: recording means for recording information indicating a frequency type, the number of carrier clocks, the time information, and a flag indicating the recording start position on a recording medium.
【請求項4】記録媒体上に記録されたデータと、キャリ
アクロックの周波数の種別を示す情報と、所定の周期内
の前記キャリアクロック数と、時刻情報と、記録開始位
置を示すフラグとを再生する再生手段と、前記キャリア
クロックの周波数の種別によってキャリアクロックを発
生するキャリアクロック発生手段と、前記キャリアクロ
ック数によって前記所定の周期と等しい基準信号を発生
する基準信号発生手段と、前記時刻情報によって前記デ
ータの出力を制御する出力制御手段と、前記フラグによ
って記録開始位置における前記データの出力時刻を補正
する出力時刻補正手段を備えたことを特徴とする再生装
置。
4. Reproduction of data recorded on a recording medium, information indicating a frequency type of a carrier clock, the number of carrier clocks within a predetermined period, time information, and a flag indicating a recording start position. Reproducing means, a carrier clock generating means for generating a carrier clock according to the type of the frequency of the carrier clock, a reference signal generating means for generating a reference signal equal to the predetermined period according to the number of carrier clocks, and the time information. A reproducing apparatus comprising: output control means for controlling the output of the data; and output time correction means for correcting the output time of the data at the recording start position by the flag.
JP6209700A 1994-09-02 1994-09-02 Recording device and reproducing device Pending JPH0877708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6209700A JPH0877708A (en) 1994-09-02 1994-09-02 Recording device and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6209700A JPH0877708A (en) 1994-09-02 1994-09-02 Recording device and reproducing device

Publications (1)

Publication Number Publication Date
JPH0877708A true JPH0877708A (en) 1996-03-22

Family

ID=16577192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6209700A Pending JPH0877708A (en) 1994-09-02 1994-09-02 Recording device and reproducing device

Country Status (1)

Country Link
JP (1) JPH0877708A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001045439A (en) * 1999-05-27 2001-02-16 Sony Corp Recorder and method, reproducing device and method and recording medium
JP2001078158A (en) * 1999-09-02 2001-03-23 Hitachi Ltd Transmitting device, multiplexing device and receiving device for cable television
KR100657237B1 (en) * 1998-12-16 2006-12-18 삼성전자주식회사 Method for generating additional information so as to guarantee seamless playback between data stream

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100657237B1 (en) * 1998-12-16 2006-12-18 삼성전자주식회사 Method for generating additional information so as to guarantee seamless playback between data stream
JP2001045439A (en) * 1999-05-27 2001-02-16 Sony Corp Recorder and method, reproducing device and method and recording medium
JP2001078158A (en) * 1999-09-02 2001-03-23 Hitachi Ltd Transmitting device, multiplexing device and receiving device for cable television

Similar Documents

Publication Publication Date Title
US6081650A (en) Transport processor interface and video recorder/playback apparatus in a field structured datastream suitable for conveying television information
US5903324A (en) Transport processor interface for a digital television system
US6466733B1 (en) Digital recording/playback apparatus with improved error correction capability of outer error correction coding and method therefor
JP3149328B2 (en) Transmitter and receiver
JPH1188835A (en) Digital signal recorder, recording and reproducing device and reception recording and reproducing device
JPH09297965A (en) Magnetic recording/reproducing device
MXPA04000871A (en) Device and process for the read-synchronization of video data and of ancillary data and associated products.
JPH10334615A (en) Reference clock reproducing apparatus and recording apparatus
EP0768010B1 (en) Transport processor interface and video recorder/playback apparatus for a digital television system
US5970204A (en) Method and apparatus for recording time code data
JPH0877708A (en) Recording device and reproducing device
KR100539731B1 (en) Transport stream storage device and method
JPH0822673A (en) Recording device and reproducing device
JP3351217B2 (en) Digital signal processing device and digital signal processing method
JP3258911B2 (en) Digital video recorder
KR100235614B1 (en) Digital- vhs codec
JP2002281498A (en) Reception reproducing device
JP3632352B2 (en) Digital signal recording apparatus and reproducing apparatus
JP3944255B2 (en) Digital signal recording / reproducing method and recording / reproducing apparatus
JP3982457B2 (en) Digital signal recording apparatus, recording method and recording medium
EP1148723B1 (en) Special reproduction data generating device, medium, and information aggregate
KR100271058B1 (en) Method for detecting damaged time stamp in a d-vhs
JP2001119668A (en) Recorder
JPH10320916A (en) Reference clock regenerating apparatus and recording apparatus
JPH10269697A (en) Digital signal recording device and reproducing device and recording and reproducing device