JPH08280012A - Method and device for data recording and data reproducing, recording medium and method and device for data transmission - Google Patents

Method and device for data recording and data reproducing, recording medium and method and device for data transmission

Info

Publication number
JPH08280012A
JPH08280012A JP10797795A JP10797795A JPH08280012A JP H08280012 A JPH08280012 A JP H08280012A JP 10797795 A JP10797795 A JP 10797795A JP 10797795 A JP10797795 A JP 10797795A JP H08280012 A JPH08280012 A JP H08280012A
Authority
JP
Japan
Prior art keywords
data
encoding
buffer memory
amount
capacity
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
JP10797795A
Other languages
Japanese (ja)
Inventor
Kouichi Uchide
浩一 打出
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 JP10797795A priority Critical patent/JPH08280012A/en
Publication of JPH08280012A publication Critical patent/JPH08280012A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To continuously reproduce independently encoded moving image infor mation without interrupting it by controlling a quantizing size by regarding remaining buffer capacity less than real capacity. CONSTITUTION: A controller 1A12 controls the amount of data to be generated concerning encoded data inputted to an encode buffer memory 1B but in this case, the controller 1A12 adjusts the amount of data to be generated by controlling the quantizing size based on a prescribed encoding method. Namely, the controller 1A12 samples the remaining buffer capacity and judges whether the lapse of time reaches switching time to apparently reduce the upper limit of the buffer memory 1B or not and in that case, prescribed capacity is subtracted from the real remaining buffer capacity so that virtual remaining buffer capacity can be found. Then, the quantizing size is decided on the virtually found remaining buffer capacity or the really sampled remaining buffer capacity. Thus, since the quantizing size is controlled by regarding the remaining buffer capacity less than real capacity, the amount of data to be generated can be reduced.

Description

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

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 (1)データ符号化方法の原理 (2)基本システム構成 (2−1)全体構成 (2−2)符号化装置 (2−3)復号化装置 (3)応用システム (3−1)一体型システム (3−2)分離型システム (4)他の実施例 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems Action Example (1) Principle of data encoding method (2) Basic system configuration (2-1) Overall configuration (2-) 2) Encoding device (2-3) Decoding device (3) Application system (3-1) Integrated system (3-2) Separation type system (4) Other embodiments Effects of the invention

【0002】[0002]

【産業上の利用分野】本発明は動画像信号を圧縮符号化
して記録し又は再生するデータ記録装置、データ再生装
置等に関する。また本発明は動画像信号を圧縮符号化し
て遠隔地に伝送するデータ伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recording device, a data reproducing device, etc. for compressing and coding a moving image signal for recording or reproducing. The present invention also relates to a data transmission device for compressing and encoding a moving image signal and transmitting it to a remote place.

【0003】[0003]

【従来の技術】一般にデイジタル動画像信号を記録再生
するシステムや遠隔地に伝送するシステムにおいては、
記録媒体の容量や伝送路を効率良く利用するため、画像
信号を圧縮符号化する方法が採用されている。この際、
フレーム内相関を利用したり、フレーム間相関を利用し
て動画像信号を圧縮符号化するのが一般的である。因に
これら圧縮符号化フオーマツトにはMPEG1、MPE
G2の他、H.261等がある。さてこれら符号化フオ
ーマツトに基づいて動作する圧縮符号化装置等において
は、ある時間内に発生される動画像信号のデータ量が一
定となるように符号化している。
2. Description of the Related Art Generally, in a system for recording / reproducing a digital moving image signal or a system for transmitting to a remote place,
In order to efficiently use the capacity of the recording medium and the transmission path, a method of compressing and coding an image signal is adopted. On this occasion,
It is general to compress and code a moving image signal by utilizing intra-frame correlation or inter-frame correlation. For these compression encoding formats, MPEG1, MPE
G2, H. 261 etc. Now, in a compression coding apparatus or the like which operates based on these coding formats, coding is performed so that the data amount of a moving image signal generated within a certain time becomes constant.

【0004】[0004]

【発明が解決しようとする課題】ところが圧縮符号化に
よつて発生されるデータ量は通常一定になることはな
く、しかもフレームごとに発生されるデータ量が異な
る。しかし時間当たりに発生するデータ量が一定しない
と、発生されたデータを記録媒体に直接記録したり、直
接伝送することはきわめて困難である。これは一般にデ
ータの記録レート又はデータの伝送レートが一定である
ことによる。
However, the amount of data generated by compression coding is not usually constant, and the amount of data generated differs for each frame. However, if the amount of data generated per hour is not constant, it is extremely difficult to directly record or directly transmit the generated data to a recording medium. This is because the data recording rate or the data transmission rate is generally constant.

【0005】そこで通常は、動画像圧縮符号化処理部と
媒体記録部との間又は動画像圧縮符号化処理部と伝送部
との間にバツフアメモリを設置し、記録装置や伝送路等
に出力される可変量の符号化データのデータレートが一
定になるようになされている。このとき動画像圧縮符号
化処理部ではバツフアメモリが破錠しないように符号化
データの発生量を調整する。
Therefore, usually, a buffer memory is installed between the moving image compression encoding processing unit and the medium recording unit or between the moving image compression encoding processing unit and the transmission unit, and is output to a recording device, a transmission line or the like. The data rate of the variable amount of encoded data is constant. At this time, the moving image compression encoding processing unit adjusts the amount of encoded data generated so that the buffer memory will not be unlocked.

【0006】従つて動画像圧縮符号化時に動画像圧縮符
号化処理部で単位時間に発生されるデータ量の平均レー
トは、バツフアメモリから出力される符号化データのデ
ータレートと同じである。一般にこれらの動作を行う装
置は、バツフアメモリを含めてエンコーダと呼ばれてい
る。
Therefore, the average rate of the amount of data generated in a unit time in the moving picture compression coding processing unit at the time of moving picture compression coding is the same as the data rate of the coded data output from the buffer memory. In general, a device that performs these operations is called an encoder including a buffer memory.

【0007】一方、圧縮符号化されたデータを元の動画
像信号に復号する装置側では、記録装置や伝送路の出力
端と伸長復号化処理部との間に、上述と同様のバツフア
メモリが置かれるようになされている。一般に、これら
の動作を行う装置は、バツフアメモリを含めてデコーダ
と呼ばれている。このように従来のエンコーダやデコー
ダでは用途に応じて、動画像信号のデータ量がある時間
単位で一定量に近づくよう、又は目標となる符号化デー
タ発生量に近づくよう圧縮符号化処理がなされている。
On the other hand, on the side of the device that decodes the compression-coded data into the original moving image signal, the buffer memory similar to the above is placed between the output end of the recording device or the transmission path and the decompression decoding processing section. It is designed to be done. In general, a device that performs these operations is called a decoder including a buffer memory. As described above, in the conventional encoder or decoder, the compression encoding processing is performed so that the data amount of the moving image signal approaches a certain amount in a certain time unit or approaches the target encoded data generation amount according to the application. There is.

【0008】ここでは時間長Tの動画像信号を圧縮符号
化した符号化データを書き込みレートRで記録媒体に記
録し、その後、読み出しレートRでこの記録データを読
み出して復号することにより動画像信号を再生する場合
を考える。この場合、目標となる符号化データ発生量E
i は、次式
[0008] Here, the moving image signal is obtained by recording the encoded data obtained by compressing and encoding the moving image signal of the time length T on the recording medium at the write rate R, and then reading and decoding this recording data at the read rate R. Consider the case of playing. In this case, the target encoded data generation amount E
i is

【数1】 となる。[Equation 1] Becomes

【0009】ところが実際のデータ発生量Er は、次式However, the actual data generation amount Er is

【数2】 に示すように、一定値R×Tにはならない。ここでBは
エンコーダ内に設けられているバツフアメモリの容量で
ある。
[Equation 2] As shown in, the constant value R × T is not obtained. Here, B is the capacity of the buffer memory provided in the encoder.

【0010】このデータをそのまま記録媒体に記録し、
その後読み出した場合を考えると、読み出し時間tは、
次式
This data is recorded on a recording medium as it is,
Considering the case of subsequent reading, the reading time t is
The following formula

【数3】 となる。読み出されたデータはデコーダによつて動画像
信号へ復号されるが、復号後の動画像信号の再生時間は
やはりTとなる。このことから画像の再生時間と、それ
に必要なデータの読み出し時間は異なることが分かる。
(Equation 3) Becomes The read data is decoded into a moving image signal by a decoder, and the reproduction time of the decoded moving image signal is T as well. From this, it is understood that the image reproduction time and the data read time required for the image reproduction are different.

【0011】ところでAVサーバのように、ある一定時
間分の動画像信号を圧縮符号化したデータ(以後これを
クリツプと呼ぶ)を任意の個数だけ媒体に書き込み、そ
の媒体から任意の個数のクリツプを読み出し、その画像
信号を連続再生する場合、以下のような問題点がある。
By the way, like an AV server, an arbitrary number of data (hereinafter referred to as a clip) obtained by compression-encoding a moving image signal for a certain fixed time is written in a medium, and an arbitrary number of clips are recorded from the medium. The following problems occur when reading out and continuously reproducing the image signal.

【0012】ある一定時間分の動画像信号を圧縮符号化
したクリツプを任意の個数だけ媒体に書き込み、その媒
体から任意の個数のクリツプ画像信号を連続再生する場
合、必要なデータを読み出す時間がそれぞれ異なるた
め、データの読み出し時間が再生時間より長くなると、
実際のクリツプ画像信号を途切れなく連続再生すること
ができないという問題があつた。
When an arbitrary number of clips obtained by compression-encoding a moving image signal for a certain fixed time are written on a medium and an arbitrary number of clip image signals are continuously reproduced from the medium, it takes time to read out necessary data. Because it is different, if the data read time becomes longer than the playback time,
There is a problem that the actual clipped image signal cannot be continuously reproduced without interruption.

【0013】本発明は以上の点を考慮してなされたもの
で、任意の時間長でなるクリツプ画像を途切れなく再生
することができるデータ記録方法及び装置、データ再生
方法及び装置、データ記録再生装置、記録媒体、データ
伝送方法及び装置を提案しようとするものである。
The present invention has been made in consideration of the above points, and a data recording method and device, a data reproducing method and device, and a data recording and reproducing device capable of reproducing a clip image having an arbitrary time length without interruption. , A recording medium, a data transmission method and a device.

【0014】[0014]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、バツフア残量を実際よりも少ない
ものとみなして量子化サイズを制御し、このようにして
求めた量子化サイズに基づいて動画像信号を符号化する
ようにする。
In order to solve such a problem, in the present invention, the quantization size is controlled assuming that the buffer remaining amount is smaller than the actual amount, and based on the quantization size thus obtained. To encode the moving image signal.

【0015】また本発明においては、それぞれ記録に要
する時間が符号化に要する時間以下になるように符号化
された独立の符号化データを記録媒体又は伝送路から連
続して読み出し、これをデコードバツフアメモリに書き
込む。その後、符号化データを一定レートで読み出して
復号化し、独立した動画像信号の復号結果に途切れが生
じないようにする。
Further, in the present invention, independent coded data coded so that the time required for recording is equal to or less than the time required for encoding are continuously read from the recording medium or the transmission path, and the decoded data is decoded. Write to the far memory. After that, the encoded data is read at a constant rate and decoded so that no interruption occurs in the decoding result of the independent moving image signal.

【0016】[0016]

【作用】バツフア残量を実際よりも少ないものとみなし
て量子化サイズを制御することにより、動画像信号につ
いての発生データ量を実際のバツフア残量に基づいて符
号化する場合に比して低下させることができる。
By controlling the quantization size by regarding the remaining buffer amount as being smaller than the actual amount, the amount of data generated for the moving image signal is reduced as compared with the case where encoding is performed based on the actual remaining buffer amount. Can be made.

【0017】[0017]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0018】(1)データ符号化方法の原理 本実施例のエンコーダは、エンコードバツフア残量を実
際より少ないものとみなして動画像信号を量子化し、エ
ンコードバツフアメモリ内に発生するデータ量を目標と
する所定量に抑制する機能を備えたものである。図1の
方法によつてにエンコードバツフア内に発生するデータ
量の推移を示す。図中、縦軸は発生データ量を表し、ま
た横軸は経過時間を表すものとする。
(1) Principle of Data Encoding Method The encoder of this embodiment regards the remaining amount of the encoding buffer as less than the actual amount and quantizes the moving image signal to determine the amount of data generated in the encoding buffer memory. It has a function of suppressing the amount to a target predetermined amount. The transition of the amount of data generated in the encode buffer by the method of FIG. 1 is shown. In the figure, the vertical axis represents the amount of generated data, and the horizontal axis represents the elapsed time.

【0019】因に直線EBeは符号化データをレートR
で送信した場合に発生するデータ量を表しており、この
直線EBeと折れ線EBfとの縦軸方向の距離がエンコ
ードバツフアメモリの容量EBcに相当する。またエン
コードの開始点Oを始点とする曲線De1 はエンコード
バツフアメモリ内に発生するデータ量の推移を示してお
り、この曲線De1 と直線EBfとの縦軸方向の距離は
バツフア残量EBrを示している。
Incidentally, the straight line EBe transmits the encoded data at the rate R.
Represents the amount of data generated in the case of transmission by the above method, and the distance between the straight line EBe and the polygonal line EBf in the vertical direction corresponds to the capacity EBc of the encode buffer memory. A curve De1 with the start point O of the encoding as a starting point shows the transition of the amount of data generated in the encode buffer memory, and the distance between the curve De1 and the straight line EBf in the vertical direction shows the buffer remaining amount EBr. ing.

【0020】通常、エンコーダは1フレームごと符号化
データをバツフアメモリに書き込み、書き込み開始から
時間Teが経過されるまで保持し、その後、時間Teが
経過した時点で符号化データを一定レートRで読み出す
ようになされている。以後、この時間Teをスタートア
ツプデイレイ時間と呼ぶ。さて現在のエンコーダでは時
間Tの動画像信号についてエンコードが終了したとき、
その総データ量は点P1のようになるのが一般的であ
る。
Normally, the encoder writes the coded data for each frame in the buffer memory, holds it until the time Te has elapsed from the start of writing, and thereafter reads the coded data at a constant rate R when the time Te elapses. Has been done. Hereinafter, this time Te will be referred to as a start-up delay time. Now, with the current encoder, when the encoding of the moving image signal of time T is completed,
Generally, the total amount of data is like point P1.

【0021】しかしながら独立した複数の符号化信号を
再生側で途切れなく連続再生できるようにするにはエン
コーダ内で発生する総データ量を伝送レートと動画像の
表示時間によつて定まる一定量、すなわちR×Tにしな
ければならない。これは点P1のように総データ量が伝
送レートと動画像の表示時間によつて定まる一定量を越
えると、その分データを伝送するのに時間がかかり、表
示時間より転送時間が長くなるからである。
However, in order to allow the reproducing side to continuously reproduce a plurality of independent coded signals without interruption, the total amount of data generated in the encoder is a fixed amount determined by the transmission rate and the display time of the moving image, that is, Must be RxT. This is because if the total amount of data exceeds a certain amount determined by the transmission rate and the display time of the moving image as at point P1, it takes time to transmit the data, and the transfer time becomes longer than the display time. Is.

【0022】従つて独立した複数の符号化信号を再生側
で途切れなく連続再生できるようにするにはエンコード
が終了した時点におけるデータ発生量の推移曲線が常に
点P3で終わる必要がある。そこでこの実施例のエンコ
ーダでは、エンコードの途中のある時刻Tf′以降、バ
ツフアの上限を示す直線Bfを直線Bf′であるとみな
してその上限を超えないようにデータ発生量を抑制する
ことによりデータ発生量が点P3に収束するようにして
いる。
Therefore, in order to allow the reproducing side to continuously reproduce a plurality of independent coded signals without interruption, the transition curve of the data generation amount at the time when the encoding is completed must always end at the point P3. Therefore, in the encoder of this embodiment, after a certain time Tf 'in the middle of encoding, the straight line Bf indicating the upper limit of the buffer is regarded as the straight line Bf' and the data generation amount is suppressed so as not to exceed the upper limit. The amount of generation is set to converge on the point P3.

【0023】因に符号化データのデータ発生量を完全に
点P3に一致させることは難しいが、通常は点P2のよ
うに目標値より少な目にデータが発生するため、足りな
い分をデータとして意味をもたないダミーデータ(以
下、スタフイングデータという)で補充するようにす
る。因にダミーデータは復号時に破棄される。このよう
な制御の結果、発生データ量の推移はDe2のようにな
り、発生データ量はR×Tに等しくなる。
Incidentally, it is difficult to completely match the data generation amount of the encoded data with the point P3, but normally, the data is generated less than the target value like the point P2. Refill with dummy data that does not have (hereinafter referred to as stuffing data). Incidentally, the dummy data is discarded at the time of decoding. As a result of such control, the transition of the generated data amount becomes like De2, and the generated data amount becomes equal to R × T.

【0024】(2)基本システム構成 (2−1)全体構成 図2に、前項の符号化方法を用いた符号化/復号化装置
の基本システム構成を示す。このシステムは記録装置
1、再生装置2及び記録媒体3によつて構成されてい
る。各部の概略構成は次の通りである。
(2) Basic system configuration (2-1) Overall configuration FIG. 2 shows a basic system configuration of an encoding / decoding device using the encoding method of the previous section. This system comprises a recording device 1, a reproducing device 2 and a recording medium 3. The schematic configuration of each part is as follows.

【0025】記録装置1は圧縮符号化処理部1Aとエン
コードバツフアメモリ1Bとによつてなる。このうち圧
縮符号化処理部1Aは前項の符号化方法を用いて動画像
信号S1を可変量圧縮符号化する回路部分である。圧縮
符号化処理部1Aは動画像信号S1の発生データ量が常
に伝送レートと動画像の表示時間によつて定まる所定量
(R×T)に一致するよう符号化し、これを符号化デー
タS2としてエンコードバツフア1Bに与えるようにな
されている。
The recording apparatus 1 comprises a compression / encoding processing section 1A and an encode buffer memory 1B. Of these, the compression encoding processing unit 1A is a circuit portion that performs variable amount compression encoding of the moving image signal S1 by using the encoding method of the previous section. The compression encoding processing unit 1A performs encoding so that the amount of generated data of the moving image signal S1 always coincides with a predetermined amount (R × T) determined by the transmission rate and the display time of the moving image, and sets this as encoded data S2. It is designed to be given to the encoding buffer 1B.

【0026】エンコードバツフアメモリ1Bは符号化さ
れた符号化データS2を順次書き込み、スタートアツプ
デイレイ時間Teの経過後、一定レートで出力する。こ
のとき記録装置1において発生される動画像信号の発生
データ量は常に動画像の表示時間Tに対応する所定量
(R×T)に一致しているため符号化データS3の記録
媒体2への書き込みに要する時間は表示時間Tと同じに
なる。なお記録装置1の詳細構成は次項にて説明する。
The encode buffer memory 1B sequentially writes the encoded data S2 which has been encoded, and outputs it at a constant rate after the start-up delay time Te has elapsed. At this time, the amount of generated data of the moving image signal generated in the recording device 1 always matches the predetermined amount (R × T) corresponding to the display time T of the moving image, so that the encoded data S3 is stored in the recording medium 2. The time required for writing is the same as the display time T. The detailed structure of the recording apparatus 1 will be described in the next section.

【0027】一方、再生装置2はデコードバツフアメモ
リ2Aと伸張復号化処理部2Bとによつてなる。デコー
ドバツフアメモリ2Aは記録媒体3から再生データS4
を一定レートRで読み出して蓄積する回路であり、伸張
復号化処理部2Bにおける復号動作の破綻を防止するよ
うになされている。因にデコードバツフアメモリ2Aに
はその容量DBcがエンコードバツフアメモリ1Bの容
量EBcに対して2倍のものを用いる。このように容量
DBcをエンコードバツフアメモリ1Bの容量EBcに
対して2倍とする理由及び復号動作中のデータ発生量に
ついては次項以降において説明する。
On the other hand, the reproducing apparatus 2 comprises a decoding buffer memory 2A and a decompression decoding processing section 2B. The decoding buffer memory 2A stores the reproduction data S4 from the recording medium 3.
Is a circuit for reading out and accumulating at a constant rate R, and is adapted to prevent the failure of the decoding operation in the decompression decoding processing unit 2B. For this reason, the decode buffer memory 2A has a capacity DBc twice as large as the capacity EBc of the encode buffer memory 1B. The reason why the capacity DBc is doubled with respect to the capacity EBc of the encode buffer memory 1B and the amount of data generated during the decoding operation will be described in the following sections.

【0028】(2−2)符号化装置 次に図3を用いて圧縮符号化処理部1Aの内部構成を説
明する。圧縮符号化処理部1Aに入力された動画像信号
S1はまずフレームメモリ1A1に書き込まれ記憶され
る。動画像信号S1は動き推定器1A2に順に読み込ま
れ、符号化に先だつて動き量が推定される。この動き推
定器1A2で検出された動き量とピクチヤタイプはそれ
ぞれ動きベクトル信号Sv及びピクチヤタイプ信号Sp
として出力される。
(2-2) Encoding Device Next, the internal configuration of the compression encoding processing unit 1A will be described with reference to FIG. The moving image signal S1 input to the compression encoding processing unit 1A is first written and stored in the frame memory 1A1. The moving image signal S1 is sequentially read by the motion estimator 1A2, and the amount of motion is estimated prior to encoding. The motion amount and the picture type detected by the motion estimator 1A2 are the motion vector signal Sv and the picture type signal Sp, respectively.
Is output as

【0029】動き推定器1A2から出力された動画像信
号は減算器1A3に入力され、動き補償された前フレー
ム画像信号との差分が求められる。減算器1A3によつ
て求められた差分信号はデイスクリートコサイン変換回
路(以下、DCT回路という)1A4によつて直交符号
化され、直交符号化データとして量子化器1A5に出力
される。量子化器1A5は直交符号化データを量子化
し、量子化データとして可変長符号化器1A6及び逆量
子化器1A7に与える。
The moving image signal output from the motion estimator 1A2 is input to the subtractor 1A3 and the difference from the motion compensated previous frame image signal is obtained. The differential signal obtained by the subtractor 1A3 is orthogonally coded by a discrete cosine transform circuit (hereinafter referred to as DCT circuit) 1A4 and output to the quantizer 1A5 as orthogonal coded data. The quantizer 1A5 quantizes the orthogonal coded data and supplies it to the variable length encoder 1A6 and the inverse quantizer 1A7 as quantized data.

【0030】ここで可変長符号化器1A6はデータ出力
用の回路であり、逆量子化器1A7は局部復号用の回路
である。すなわち逆量子化器1A7は量子化データを直
交符号化データに戻すのに用いられる。この直交符号化
データはさらに逆デイスクリートコサイン変換回路(以
下、IDCT回路という)1A8によつて差分データに
復号され、加算器1A9に与えられる。さらにこの差分
データは加算器1A9においてフレームメモリ予測器1
A10から読み出した前フレーム画像信号と加算され、
現フレーム画像に復号される。この現フレーム画像はフ
レームメモリ予測器1A10に記憶され、次フレームの
予測及び現フレームの復号に使用される。
The variable length encoder 1A6 is a circuit for outputting data, and the inverse quantizer 1A7 is a circuit for local decoding. That is, the inverse quantizer 1A7 is used to return the quantized data to the orthogonal coded data. This orthogonally coded data is further decoded into differential data by an inverse discrete cosine transform circuit (hereinafter referred to as IDCT circuit) 1A8 and given to the adder 1A9. Further, this difference data is added to the frame memory predictor 1 in the adder 1A9.
It is added with the previous frame image signal read from A10,
It is decoded into the current frame image. This current frame image is stored in the frame memory predictor 1A10 and used for prediction of the next frame and decoding of the current frame.

【0031】さて可変長符号化器1A6で可変長符号化
された符号化データは多重化器1A11において先に求
められている動きベクトル信号Sv及びピクチヤタイプ
信号Spと多重化される。このデータが符号化データS
2である。多重化器1A11から出力された符号化デー
タS2は上述したようにエンコードバツフアメモリ1B
に一時格納され、一定時間後順に読み出されて記録媒体
3に書き込まれる。
The encoded data variable-length coded by the variable-length encoder 1A6 is then multiplexed by the multiplexer 1A11 with the motion vector signal Sv and the picture type signal Sp previously obtained. This data is the encoded data S
It is 2. The encoded data S2 output from the multiplexer 1A11 is the encoded buffer memory 1B as described above.
Are temporarily stored in the recording medium 3, are sequentially read out after a predetermined time, and are written in the recording medium 3.

【0032】このエンコードバツフアメモリ1Bに入力
される符号化データの発生データ量を制御するのが制御
器1A12である。この制御器1A12は上述の符号化
方法に基づいて量子化サイズを制御し、発生データ量を
調整するようになされている。またスタツフイング処理
部1A13は発生情報量が目標値に足りなかつた場合の
データ補充用である。
The controller 1A12 controls the generated data amount of the encoded data input to the encode buffer memory 1B. The controller 1A12 controls the quantization size based on the above-mentioned encoding method and adjusts the generated data amount. The stuffing processing unit 1A13 is for supplementing data when the amount of generated information is short of the target value.

【0033】続いて制御器1A12の制御手順を含む一
連の符号化動作を図4及び図5に示す。記録装置1はス
テツプSP1から当該符号化処理を開始すると、ステツ
プSP2において動画像信号のエンコーダへの入力、す
なわち圧縮符号化処理部1Aへの入力を開始する。量子
化後、可変長符号化された符号化データは順次多重化さ
れ、ステツプSP4に示すようにエンコードバツフアメ
モリ1Bに書き込まれる。
Subsequently, a series of encoding operations including the control procedure of the controller 1A12 are shown in FIGS. When the recording apparatus 1 starts the encoding process from step SP1, it inputs the moving image signal to the encoder, that is, the input to the compression encoding processing unit 1A in step SP2. After the quantization, the variable-length coded coded data are sequentially multiplexed and written in the encode buffer memory 1B as shown in step SP4.

【0034】これら一連の符号化処理はステツプSP5
で肯定結果が得られるまで継続される。すなわち肯定結
果が得られて、エンコードの開始からスタートアツプデ
イレイ時間Teが経過したことが検出されると、記録装
置1はステツプSP6に移つてエンコードバツフアメモ
リ1Bから符号化データの送信を開始する。この符号化
データの送信開始と共に制御器1A12による発生デー
タ量の制御が開始される。このステツプSP7の処理を
図5に示す。
These series of encoding processes are performed in step SP5.
It continues until a positive result is obtained in. That is, when a positive result is obtained and it is detected that the start-up delay time Te has elapsed from the start of encoding, the recording device 1 moves to step SP6 and starts transmitting encoded data from the encode buffer memory 1B. . When the transmission of the encoded data is started, the controller 1A12 starts controlling the amount of generated data. The processing of this step SP7 is shown in FIG.

【0035】制御器1A12はまずステツプSP22に
おいて、バツフア残量EBr(=EBf−EDe)をサ
ンプリングし、次のステツプSP23において、経過時
間がバツフアメモリの上限を小さくみせかける切り換え
時間Tf’になつたか否か判断する。肯定結果が得られ
た場合には、ステツプSP24において所定量(現実の
バツフアメモリ上限EBf−仮想のバツフアメモリ上限
EBf’)を実際のバツフア残量EBrから減算し、仮
想バツフア残量EBr’(=EBf’−EDe)を求め
る。その後、ステツプSP25に移る。これに対して否
定結果が得られた場合には、ステツプSP23から直接
ステツプSP25に移る。
The controller 1A12 first samples the remaining amount of buffer EBr (= EBf-EDe) in step SP22, and in the next step SP23, determines whether the elapsed time reaches the switching time Tf 'at which the upper limit of the buffer memory appears to be small. To determine. When a positive result is obtained, in step SP24, a predetermined amount (actual buffer memory upper limit EBf-virtual buffer memory upper limit EBf ') is subtracted from the actual buffer remaining amount EBr to obtain the virtual buffer remaining amount EBr' (= EBf '. -EDe). Then, the process proceeds to step SP25. On the other hand, when a negative result is obtained, the process directly moves from step SP23 to step SP25.

【0036】ステツプSP25では仮想的に求めたバツ
フア残量EBr’又は実際にサンプリングされたバツフ
ア残量EBrに基づいて量子化サイズが決定され、この
値がステツプSP26において量子化器1A5にフイー
ドバツクされるようになされている。これら制御器1A
12における一連の量子化サイズ決定の動作は図4のス
テツプSP8で肯定結果が得られるまで繰り返される。
因にステツプSP8の判定処理は、経過時間が符号化対
象である動画像信号の表示時間Tを越えるか否かの判定
処理である。
At step SP25, the quantization size is determined based on the virtually obtained buffer remaining amount EBr 'or the actually sampled buffer remaining amount EBr', and this value is fed back to the quantizer 1A5 at step SP26. It is done like this. These controllers 1A
The sequence of operations for determining the quantization size in 12 is repeated until a positive result is obtained in step SP8 in FIG.
Incidentally, the determination process of step SP8 is a determination process of whether or not the elapsed time exceeds the display time T of the moving image signal to be encoded.

【0037】肯定結果が得られると、記録装置1はステ
ツプSP9の処理に移り、エンコードの開始から現時点
までに発生した総データ量が目標とするデータ量、すな
わちR×Tより小さいか否かの判定処理に移る。このと
き肯定結果が得られた場合には、ステツプSP10にお
いて、目標値(=R×T)と発生データ量との差分に相
当するスタフイングデータをスタツフイング処理部1A
13から出力させステツプSP11で1つの動画像信号
に対する符号化動作を完了する。因にステツプSP9で
否定結果が得られた場合には、発生データ量が目標値
(=R×T)と一致しており、補充の必要がないためそ
のままステツプSP11に移り符号化動作を完了する。
When a positive result is obtained, the recording apparatus 1 moves to the processing of step SP9 and determines whether the total amount of data generated from the start of encoding to the present time is smaller than the target amount of data, that is, R × T. Move to judgment processing. If an affirmative result is obtained at this time, in step SP10, the stuffing data corresponding to the difference between the target value (= R × T) and the generated data amount is added to the stuffing processing unit 1A.
It is output from 13, and the encoding operation for one moving image signal is completed in step SP11. If a negative result is obtained in step SP9, the amount of generated data matches the target value (= R × T), and there is no need for supplementation, and therefore the process directly moves to step SP11 to complete the encoding operation. .

【0038】これらの手順を経て動画像信号を符号化す
ることにより、常に動画像信号の符号化データ量を動画
像の表示時間Tに応じた一定量に制限することができ
る。かくして記録媒体3へのデータ書き込みも符号化に
要する時間Tと同じ時間内に完了することができる。こ
れは厳しい時間管理が要求される動画像信号を画面を途
切れずに複数連続して再生させたい場合には特に有効で
ある。
By encoding the moving image signal through these procedures, the encoded data amount of the moving image signal can be always limited to a fixed amount according to the display time T of the moving image. Thus, the writing of data to the recording medium 3 can be completed within the same time as the time T required for encoding. This is particularly effective when it is desired to reproduce a plurality of moving image signals that require strict time management without interruption on the screen.

【0039】(2−3)復号化装置 次に前項の記録装置1によつて記録された記録媒体3か
ら符号化データを読み出して再生する再生装置2の復号
動作を説明する。因に記録媒体3上には時間Tnの動画
像が任意の個数n個分、それぞれ独立にエンコードされ
て記録されているものとし、再生装置1は記録媒体3か
らこれら独立した動画像のデータ(以下、クリツプとい
う)を任意に選び出し、連続してデコード処理すること
を想定する。
(2-3) Decoding Device Next, the decoding operation of the reproducing device 2 for reading and reproducing the encoded data from the recording medium 3 recorded by the recording device 1 in the preceding paragraph will be described. Incidentally, it is assumed that an arbitrary number n of moving images at time Tn are independently encoded and recorded on the recording medium 3, and the reproducing apparatus 1 uses the independent moving image data ( Hereinafter, it is assumed that a clip) is arbitrarily selected and the decoding process is continuously performed.

【0040】まず連続して読み出すクリツプをC1、C
2、C3とし、これらクリツプC1、C2、C3のデー
タを順にデコードバツフアメモリ2Aに読み込んだ場合
のデコードバツフアメモリ内の推移を図6に示す。因に
図中の直線DBeはデコードバツフアメモリ2Aがレー
トRで受信したデータ量を表し、直線DBeと直線DB
fとの間が、デコードバツフアメモリ2Aの容量DBc
に相当する。
First, the clips to be continuously read are C1 and C.
2 and C3, the transition in the decode buffer memory when the data of these clips C1, C2, and C3 are sequentially read into the decode buffer memory 2A is shown in FIG. Incidentally, the straight line DBe in the figure represents the amount of data received by the decode buffer memory 2A at the rate R.
Between f and the capacity DBc of the decode buffer memory 2A
Equivalent to.

【0041】また各クリツプC1、C2、C3は、独立
にエンコードされているため、エンコードバツフアメモ
リ2AにおけるスタートアツプデイレイTeやエンコー
ドバツフアメモリ2A内でのデータ発生の推移はすべて
異なるが、総データ発生量はそれぞれR×Tnとなつて
いる。これら各クリツプの推移をDd1、Dd2、Dd
3とすると、この曲線とDBfの縦軸方向の距離がバツ
フア残量DBrを示すことになる。またエンコードした
際のエンコードバツフアの容量を重ねて表すと、それぞ
れEBf1 −EBe1 、EBf2 −EBe2 、EBf3
−EBe3 となる。
Since each clip C1, C2, C3 is encoded independently, the start-up delay Te in the encode buffer memory 2A and the transition of data generation in the encode buffer memory 2A are all different, but The amount of data generated is R × Tn. The changes of these clips are shown as Dd1, Dd2, Dd.
When it is set to 3, the distance between this curve and DBf in the vertical direction indicates the buffer remaining amount DBr. Further, when the capacities of the encoding buffers at the time of encoding are overlapped and expressed, they are EBf1-EBe1, EBf2-EBe2 and EBf3, respectively.
-It becomes EBe3.

【0042】さてデコードバツフアメモリ2A内におけ
る各クリツプC1、C2、C3のデータ発生量の推移
は、それぞれのスタートアツプデイレイTeによつて異
なる。例えばクリツプC1のように、スタートアツプデ
イレイTeが非常に短い場合、デコードバツフアメモリ
2Aのバツフア残量DBrは多めに推移し、その振れ幅
は最大の場合、エンコード時のバツフア容量分となる。
図では、EBf1 −EBe1 に収まる。
Now, the transition of the amount of data generated in each clip C1, C2, C3 in the decode buffer memory 2A differs depending on each start-up delay Te. For example, when the start-up delay Te is very short as in the clip C1, the buffer remaining amount DBr of the decode buffer memory 2A changes to a large amount, and when the fluctuation width is the maximum, it is the buffer capacity at the time of encoding.
In the figure, it falls within EBf1 -EBe1.

【0043】逆にクリツプC2のように、スタートアツ
プデイレイTeが非常に長い場合、デコードバツフアメ
モリ2Aのバツフア残量DBrは少な目に推移し、その
振れ幅は最大の場合、エンコード時のバツフア容量分と
なる。図ではEBf2 −EBe2 に収まる。デコードバ
ツフアメモリ2Aにおいては、いかなるクリツプに対し
てもこの推移と振れ幅がバツフア容量DBc内に収まる
必要がある。
On the contrary, when the start-up delay Te is very long as in the clip C2, the buffer remaining amount DBr of the decode buffer memory 2A shifts to a small value, and when the fluctuation width is maximum, the buffer capacity at the time of encoding is large. It will be a minute. In the figure, it falls within EBf2 -EBe2. In the decode buffer memory 2A, it is necessary for the transition and the fluctuation width to fall within the buffer capacity DBc for any clip.

【0044】ここでデータを受信してから送信を開始す
るまでの時間Tdを、データ受信開始から、バツフア残
量DBrがちようどエンコーダバツフア容量EBcと等
しく時間とすると、Tdは、次式
Assuming that the time Td from the reception of data to the start of transmission is the time from the start of data reception to the same as the encoder buffer capacity EBc where the remaining buffer capacity DBr is, Td is given by the following equation.

【数4】 となる。[Equation 4] Becomes

【0045】このとき、以下の2つのことが言える。1
つは、それぞれのクリツプデータがデコードバツフアメ
モリ2Aで受信され始めた時点と受信が終了した時点で
のバツフア残量DBrを考えると、クリツプの総データ
量はそれぞれ等しく、かつバツフアが受信する受信レー
トが等しいため、開始時点と終了時点のバツフア残量は
等しくなり、任意の個数のクリツプを連続再生した場合
でも、それらの点は、直線DBh上にあることである。
At this time, the following two things can be said. 1
Considering the buffer remaining amount DBr at the time when each clip data is received by the decode buffer memory 2A and at the time when the reception is finished, the total data amount of the clip is equal and the reception amount received by the buffer. Since the rates are equal, the buffer remaining amounts at the start point and the end point are equal, and even if an arbitrary number of clips are continuously reproduced, those points are on the straight line DBh.

【0046】もう1つは、発生データの推移を考える
と、デコードバツフアメモリ2Aのバツフア残量DBr
が最も多く推移した場合、図7に示すように、エミツタ
バツフアメモリ1Bの発生データ量の上限EBf1 がデ
コードバツフアメモリ2Aの受信データ量を表す直線D
Beと重なり、逆に、デコードバツフアメモリ2Aのバ
ツフア残量DBrが最も少なく推移した場合、図8に示
すように、エミツタバツフアメモリ1Bの発生データ量
の下限EBe1 がデコードバツフアメモリ2Aの容量の
上限を表す直線DBfと重なることである。
The other is, considering the transition of generated data, the buffer remaining amount DBr of the decode buffer memory 2A.
In the case where the maximum amount of data has changed, as shown in FIG.
When the buffer remaining amount DBr of the decode buffer memory 2A has changed to the minimum, the lower limit EBe1 of the generated data amount of the emitter buffer memory 1B is the decode buffer memory 2A as shown in FIG. That is, it overlaps with the straight line DBf that represents the upper limit of the capacity.

【0047】以上、2つの理由より、直線DBhから縦
軸方向に上下それぞれEBf1 、EBe2 の振れ幅以上
の容量をデコードバツフアメモリ2Aに持たせれば、い
かなるクリツプであつても途切れなく連続再生すること
ができることが分かる。すなわちその容量DBcは、直
線DBhから縦軸方向に対して上下それぞれエンコード
バツフア容量BEc分もてば良いことになる。このこと
から、次式
For the above two reasons, if the decode buffer memory 2A is provided with a capacity larger than the swing width of EBf1 and EBe2 in the vertical direction from the straight line DBh, continuous reproduction is possible regardless of any clip. You can see that you can. That is, the capacity DBc should be the encode buffer capacity BEc above and below the straight line DBh in the vertical axis direction. From this, the following equation

【数5】 であれば良いことになる。(Equation 5) That would be good.

【0048】このようにデコードバツフアメモリ2Aは
エンコードバツフアメモリ1Bの2倍の容量をもつこと
で、本実施例にて説明した符号化方法でエンコードされ
た任意のクリツプを途切れなく連続再生することが可能
となる。ただし図7及び図8のようにスタートアツプデ
イレイTeが各クリツプについて同じである場合には、
デコードバツフアメモリ2Aの容量はエンコードバツフ
アメモリ1Bの容量と同じで良い。
As described above, the decode buffer memory 2A has twice the capacity of the encode buffer memory 1B, so that any clip encoded by the encoding method described in this embodiment can be continuously reproduced without interruption. It becomes possible. However, when the start-up delay Te is the same for each clip as shown in FIGS. 7 and 8,
The capacity of the decode buffer memory 2A may be the same as the capacity of the encode buffer memory 1B.

【0049】(3)応用システム 次にこの基本システムを応用したシステム構成例を示
す。ここでは記録装置1、記録媒体3及び再生装置2間
がそれぞれ通信回線で接続された一体型のシステムと、
記録装置1と記録媒体3との間又は記録媒体3と再生装
置2との間が有線路で接続されていな分離型のシステム
とについて説明する。
(3) Application system Next, an example of system configuration to which this basic system is applied will be shown. Here, an integrated system in which the recording device 1, the recording medium 3, and the reproducing device 2 are connected by communication lines, respectively,
A separation type system in which the recording device 1 and the recording medium 3 or the recording medium 3 and the reproducing device 2 are not connected by a wired path will be described.

【0050】(3−1)一体型システム ここでは一体型システムの例として、AV信号(オーデ
イオ信号及びビデオ信号)を通信回線を介して多数の端
末装置に分配するサーバシステム(以下AVサーバシス
テムという)について説明する。図9にAVサーバシス
テム11の全体構成を示す。このAVサーバシステム1
1はデータ供給源12、エンコード部13及びサーバ部
14の3つの部分によつて構成されており、サーバ部1
4から多数の端末15A1 〜15AN にAV信号を分配
するのに用いられる。各部は次のように構成されてい
る。
(3-1) Integrated System As an example of the integrated system, a server system (hereinafter referred to as an AV server system) that distributes AV signals (audio signals and video signals) to a large number of terminal devices via a communication line. ) Will be described. FIG. 9 shows the overall configuration of the AV server system 11. This AV server system 1
1 comprises a data supply source 12, an encoding unit 13, and a server unit 14.
It is used to distribute AV signals from four to a large number of terminals 15A1 to 15AN. Each part is configured as follows.

【0051】データ供給源12はビデオテープレコーダ
(VTR)や光磁気デイスク装置等の再生装置12Aで
構成されている。各再生装置12AはAVデータ信号S
D1、SD2……を伝送路や信号線を通じてエンコード
部13に供給する。因にこの例ではデータ供給源12を
複数台設けるものとする。エンコード部13は基本シス
テムの記録装置1に対応する部分であり、エンコーダ1
3A、FIFOバツフア/パケツト処理部13B及びコ
ントロール部13Cで構成されている。
The data supply source 12 is composed of a reproducing device 12A such as a video tape recorder (VTR) or a magneto-optical disk device. Each playback device 12A has an AV data signal S
D1, SD2 ... Are supplied to the encoding unit 13 through a transmission line and a signal line. Incidentally, in this example, a plurality of data supply sources 12 are provided. The encoding unit 13 is a unit corresponding to the recording device 1 of the basic system, and includes an encoder 1
3A, a FIFO buffer / packet processing unit 13B and a control unit 13C.

【0052】このうちエンコーダ13Aは各データ供給
源12から入力されるAVデータ信号SD1、SD2…
…をそれぞれMPEG2の規格に従うデータフオーマツ
トの信号に符号化し、データストリームD1、D2……
に変換するようになされている。FIFOバツフア/パ
ケツト処理部13BはこれらデータストリームD1、D
2……をそれぞれFIFOバツフアメモリに一旦記憶し
てレート変換し、レート変換された符号化データをパケ
ツト処理部でパケツトデータに変換する。
Of these, the encoder 13A is provided with AV data signals SD1, SD2 ...
Are encoded into data format signals conforming to the MPEG2 standard, and data streams D1 and D2 ...
It is designed to be converted into. The FIFO buffer / packet processing unit 13B receives these data streams D1, D
.. are each temporarily stored in the FIFO buffer memory and subjected to rate conversion, and the rate-converted coded data is converted into packet data by the packet processing unit.

【0053】コントロール部13Cはコントロール信号
CTL によつてデータ供給源12、エンコーダ13A及
びサーバ部14を制御すると共に各部の動作状態を管理
するようになされている。
The control section 13C controls the data supply source 12, the encoder 13A and the server section 14 according to the control signal S CTL and manages the operation state of each section.

【0054】サーバ14は記録再生部14A及びデコー
ド部14Bにより構成されている。ここで記録再生部1
4Aは圧縮符号化された符号化データをさらに時間軸方
向に圧縮した符号化データを記録媒体に記録するように
なされ、ユーザから指示があつたとき対応するAVデー
タを読み出してデコード部14Bに出力するのに用いら
れる。因にユーザからの指示は要求信号Srequest とし
て入力される
The server 14 is composed of a recording / reproducing section 14A and a decoding section 14B. Recording / playback unit 1
4A is adapted to record the encoded data, which is obtained by further compressing the encoded data which has been compressed and encoded in the time axis direction, on a recording medium. When the user gives an instruction, the corresponding AV data is read and output to the decoding unit 14B. Used to do. Incidentally, the instruction from the user is input as the request signal S request.

【0055】さて記録再生部14Aはメデイア制御部1
4A1と複数のメデイアユニツト14A2〜14A8と
によつて構成されている。ここでメデイア制御部14A
1は複数のメデイアユニツト14A2〜14A8の記録
再生動作を制御するユニツトである。またメデイアユニ
ツト14A2〜14A8はそれぞれ複数のハードデイス
ク装置を内蔵しており、複数の信号を同時並列的に記録
再生できるようになされている。これにより多数の端末
15A1〜15ANからのマルチアクセスが実現でき
る。またこれらハードデイスクには連続再生が要求され
るクリツプの動画像信号が記録されている。
The recording / reproducing section 14A is the media control section 1
4A1 and a plurality of media units 14A2 to 14A8. Here, the media control unit 14A
Reference numeral 1 is a unit for controlling the recording / reproducing operation of the plurality of media units 14A2-14A8. Further, each of the media units 14A2 to 14A8 has a plurality of built-in hard disk devices, and can record and reproduce a plurality of signals simultaneously in parallel. Thereby, multi-access from a large number of terminals 15A1 to 15AN can be realized. Further, a clip moving image signal which requires continuous reproduction is recorded on these hard disks.

【0056】またデコード部14Bはデータ抽出処理部
/FIFOバツフアメモリ14B0と複数台のデコーダ
14B1〜14BMとによつて構成されている。ここで
デコード部14Bに用意されるデコーダ14B1〜14
BMの数は最終的に接続される端末15A1〜15AN
の数と、記録再生部14Aが同時に再生できる符号化デ
ータの数とに応じて定まる。
The decoding section 14B is composed of a data extraction processing section / FIFO buffer memory 14B0 and a plurality of decoders 14B1 to 14BM. Here, the decoders 14B1 to 14B provided in the decoding unit 14B
The number of BMs is the number of terminals 15A1 to 15AN finally connected.
And the number of encoded data that can be simultaneously reproduced by the recording / reproducing unit 14A.

【0057】デコード部14Bは各デコーダ14B1〜
14BMによつて各メデイアユニツト14A2〜14A
8を介して読み出された符号化データを復号し、各端末
15A1〜15ANに出力する。因にこのAVサーバシ
ステム11は1つの部屋の中に必ずしも設けられている
必要はなく、LAN(Local Area Network)等によつて
互いに接続されていても良い。
The decoding section 14B includes decoders 14B1 to 14B1.
14BM for each media unit 14A2-14A
The encoded data read via 8 is decoded and output to each of the terminals 15A1 to 15AN. Incidentally, the AV server system 11 does not necessarily have to be provided in one room, and may be connected to each other by a LAN (Local Area Network) or the like.

【0058】(3−2)分離型システム 次に分離型システムの例として、AV信号(オーデイオ
信号及びビデオ信号)を記録媒体の物理的な配送を介し
て多数の端末装置に分配するAVサーバシステムについ
て説明する。図10にAVサーバシステム21の全体構
成を示す。このAVサーバシステム21はそれぞれ地理
的に離れた位置にある制作局22、キー局23、人工衛
星24、ケーブル局25、支局26、家庭27等によつ
て構成されるシステムである。
(3-2) Separation-Type System Next, as an example of the separation-type system, an AV server system that distributes AV signals (audio signals and video signals) to a large number of terminal devices via physical delivery of a recording medium. Will be described. FIG. 10 shows the overall configuration of the AV server system 21. The AV server system 21 is a system including a production station 22, a key station 23, an artificial satellite 24, a cable station 25, a branch office 26, a home 27, etc., which are geographically distant from each other.

【0059】この例の場合、基本システムにて説明した
記録装置1は制作局22のエンコーダ22Aに相当し、
再生装置2は支局26のデコーダ26Aに相当する。制
作局22は映像ソースを編集してコマーシヤル(CM)
やプログラム(番組)を制作する制作会社や制作室であ
り、番組やCMの動画像がここで圧縮符号化され記録媒
体3に記録されるようになされている。記録媒体3はキ
ー局23やケーブル局25に物理的に配送される。
In the case of this example, the recording apparatus 1 described in the basic system corresponds to the encoder 22A of the production station 22,
The playback device 2 corresponds to the decoder 26A of the branch office 26. The production station 22 edits the video source to edit the commercial (CM).
A production company or a production room that produces a program (program), and a moving image of a program or a CM is compression-coded here and recorded on the recording medium 3. The recording medium 3 is physically delivered to the key station 23 and the cable station 25.

【0060】キー局23は記録媒体3から再生した画像
データを圧縮符号化データのまま人工衛星24に送出
し、これを遠隔地の支局26に伝送する際に使用され
る。このデータ伝送は基本システムにおける記録媒体3
と再生装置2間が無線伝送になつたものである。一方、
ケーブル局25は記録媒体3から再生した画像データを
圧縮符号化データのままケーブルを介して遠隔地の支局
26に伝送する際に使用される。この他、ケーブル局2
5と支局26との間のデータ伝達には記録媒体3による
ものもある。
The key station 23 is used when the image data reproduced from the recording medium 3 is sent as compressed encoded data to the artificial satellite 24 and is transmitted to the remote branch office 26. This data transmission is performed by the recording medium 3 in the basic system.
And the playback device 2 is wirelessly transmitted. on the other hand,
The cable station 25 is used when transmitting the image data reproduced from the recording medium 3 as compression encoded data to the branch office 26 at a remote place via a cable. Other than this, cable station 2
The data transmission between the 5 and the branch office 26 may be performed by the recording medium 3.

【0061】支局26にはデコーダ26A及びフアイル
サーバ26Bが設けられており、受信された符号化デー
タを元のデータレートで復号し、動画像信号として各家
庭27に配信するのに使用される。基本システムはこの
ような応用も可能である。またこの例ではエンコーダ2
2が制作局22に設けられている例を表したが、キー局
23内にあつても良い。またデコーダ26Aを支局26
内に設ける例について表したが、各家庭27内に設けら
れている例についても実現できる。
The branch office 26 is provided with a decoder 26A and a file server 26B, which is used to decode the received encoded data at the original data rate and deliver it as a moving image signal to each home 27. The basic system can also be applied in this way. Also in this example, encoder 2
Although the number 2 is provided in the production station 22, it may be provided in the key station 23. In addition, the decoder 26A is connected to the branch 26
Although the example provided inside is shown, the example provided inside each home 27 can also be realized.

【0062】(4)他の実施例 なお上述の実施例においては、動画像信号をDCT符号
化する場合について述べたが、本発明はこれに限らず、
他の直交変換符号化方法やその他の符号化方法を用いる
場合に広く適用し得る。また上述の実施例においては、
記録媒体3の例としてハードデイスクやビデオテープを
用いる場合について述べたが、本発明はこれに限らず、
他の記録媒体にも適用し得る。例えばビデオデイスクや
光磁気デイスク、また相変化型デイスクのような光デイ
スクやいわゆる光カードにも適用し得る。またフロツピ
ーデイスク等の磁気記録媒体にも適用し得る。
(4) Other Embodiments In the above embodiments, the case where the moving image signal is DCT-encoded has been described, but the present invention is not limited to this.
It can be widely applied when other orthogonal transform coding method or other coding method is used. In the above embodiment,
The case where a hard disk or a video tape is used as an example of the recording medium 3 has been described, but the present invention is not limited to this.
It can also be applied to other recording media. For example, it can be applied to a video disk, a magneto-optical disk, an optical disk such as a phase change disk, or a so-called optical card. It can also be applied to a magnetic recording medium such as a floppy disk.

【0063】[0063]

【発明の効果】上述のように本発明によれば、バツフア
残量を実際よりも少ないものとみなして量子化サイズを
制御するようにしたことにより、これら量子化サイズに
基づいて可変量符号化される動画像信号の発生データ量
を抑制できる。
As described above, according to the present invention, the variable size encoding is performed based on these quantization sizes by controlling the quantization size by regarding the buffer remaining amount as being smaller than the actual amount. It is possible to suppress the amount of generated data of the generated moving image signal.

【0064】また本発明によれば、それぞれ記録に要す
る時間が符号化に要する時間以下になるように符号化さ
れた独立の符号化データを記録媒体又は伝送路から連続
して読み出し、これをデコードバツフアメモリを介して
一定レートで読み出して復号化することにより、独立し
た動画像信号の復号結果に途切れが生じないようにでき
る。
Further, according to the present invention, independent coded data coded so that the time required for recording is equal to or less than the time required for encoding are continuously read from the recording medium or the transmission path, and are decoded. By reading out at a constant rate through the buffer memory and decoding, it is possible to prevent interruption in the decoding result of independent moving image signals.

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

【図1】エンコードバツフアメモリ内におけるデータ発
生状態の説明に供する略線図である。
FIG. 1 is a schematic diagram for explaining a data generation state in an encode buffer memory.

【図2】本発明による符号化方法を用いた基本システム
例を示すブロツク図である。
FIG. 2 is a block diagram showing an example of a basic system using the encoding method according to the present invention.

【図3】圧縮符号化処理部内の構成を示すブロツク図で
ある。
FIG. 3 is a block diagram showing a configuration inside a compression encoding processing unit.

【図4】符号化時における動作手順を示すフローチヤー
トである。
FIG. 4 is a flow chart showing an operation procedure at the time of encoding.

【図5】符号化時における動作手順を示すフローチヤー
トである。
FIG. 5 is a flow chart showing an operation procedure at the time of encoding.

【図6】連続再生時のデータ発生状態の説明に供する略
線図である。
FIG. 6 is a schematic diagram for explaining a data generation state during continuous reproduction.

【図7】スタートアツプデイレイを固定として符号化し
た符号化データを連続再生する場合のデータ発生状態を
示す略線図である。
FIG. 7 is a schematic diagram showing a data generation state in the case of continuously reproducing coded data that is coded with a fixed start-up delay.

【図8】スタートアツプデイレイを固定として符号化し
た符号化データを連続再生する場合のデータ発生状態を
示す略線図である。
FIG. 8 is a schematic diagram showing a data generation state in the case of continuously reproducing coded data that is coded with a fixed start-up delay.

【図9】AVサーバシステムの構成例を示すブロツク図
である。
FIG. 9 is a block diagram showing a configuration example of an AV server system.

【図10】AVサーバシステムの構成例を示すブロツク
図である。
FIG. 10 is a block diagram showing a configuration example of an AV server system.

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

1……記録装置、1A……圧縮符号化処理部、1A1…
…フレームメモリ、1A2……動き推定器、1A4……
DCT回路、1A5……量子化器、1A6……可変長符
号化器、1A7……逆量子化器、1A8……IDCT回
路、1A10……フレームメモリ予測器、1A11……
多重化器、1A12……制御器、1A13……スタツフ
イング処理部、1B……エンコードバツフアメモリ、2
……再生装置、2A……デコードバツフアメモリ、2B
……伸張復号化処理部、3……記録媒体、11、21…
…AVサーバシステム、12……データ供給源、13…
…エンコーダ部、14……サーバ部、14A……記録再
生部、14B……デコーダ部、15A1〜15AN……
端末、22……制作局、23……キー局、24……人工
衛星、25……ケーブル局、26……支局、27……家
庭。
1 ... Recording device, 1A ... Compression encoding processing unit, 1A1 ...
... Frame memory, 1A2 ... Motion estimator, 1A4 ...
DCT circuit, 1A5 ... Quantizer, 1A6 ... Variable length encoder, 1A7 ... Inverse quantizer, 1A8 ... IDCT circuit, 1A10 ... Frame memory predictor, 1A11.
Multiplexer, 1A12 ... Controller, 1A13 ... Stuffing processing section, 1B ... Encode buffer memory, 2
...... Playback device, 2A …… Decode buffer memory, 2B
... Decompression / decoding processing unit, 3 ... Recording medium, 11, 21 ...
... AV server system, 12 ... data supply source, 13 ...
... encoder section, 14 ... server section, 14A ... recording / reproducing section, 14B ... decoder section, 15A1-15AN ...
Terminal, 22 ... Production station, 23 ... Key station, 24 ... Artificial satellite, 25 ... Cable station, 26 ... Branch office, 27 ... Home.

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】量子化サイズの可変制御により可変量符号
化された動画像信号をエンコードバツフアメモリを介し
て一定レートで読み出し、記録媒体を記録するデータ記
録方法において、 上記量子化サイズを上記エンコードバツフアメモリのバ
ツフア残量に基づいて制御する際、上記バツフア残量を
実際よりも少ないものとみなして上記量子化サイズを制
御することを特徴とするデータ記録方法。
1. A data recording method for reading a moving image signal coded in a variable amount by variable control of quantization size at a constant rate through an encoding buffer memory and recording a recording medium, wherein the quantization size is A data recording method, characterized in that, when performing control based on the buffer remaining capacity of the encoding buffer memory, the quantization remaining size is controlled by regarding the buffer remaining capacity as less than the actual value.
【請求項2】上記バツフア残量を実際よりも少ないもの
とみなして上記量子化サイズを制御する処理は、上記動
画像信号の符号化開始から一定時間の経過後に開始さ
れ、それまでは実際のバツフア残量に基づいて制御する
ことを特徴とする請求項1に記載のデータ記録方法。
2. The process of controlling the quantization size by regarding the remaining buffer amount as being smaller than the actual amount is started after a lapse of a certain time from the start of encoding the moving image signal, and until then, the actual process is performed. The data recording method according to claim 1, wherein the control is performed based on the remaining buffer capacity.
【請求項3】量子化サイズの可変制御により動画像信号
を可変量符号化し、量子化データとして出力する量子化
器と、 上記量子化データを入力して記憶し、順次、一定レート
で出力するエンコードバツフアメモリと、 上記エンコードバツフアメモリのバツフア残量を実際よ
り小さいものとみなして上記量子化サイズを可変制御す
る制御器とを具えることを特徴とするデータ記録装置。
3. A quantizer which encodes a moving image signal by a variable amount by variable control of a quantization size and outputs it as quantized data, and a quantizer which inputs and stores the quantized data and outputs them sequentially at a constant rate. A data recording device comprising: an encoding buffer memory; and a controller for variably controlling the quantization size by regarding the remaining buffer capacity of the encoding buffer memory as being actually smaller.
【請求項4】上記制御器による上記量子化サイズの可変
制御によつて発生される量子化データの発生量が目標値
を下回るとき、ダミーデータを挿入して発生量を目標値
に一致させるダミーデータ処理部を具えることを特徴と
する請求項3に記載のデータ記録装置。
4. A dummy that inserts dummy data to match the generated amount with the target value when the generated amount of the quantized data generated by the variable control of the quantization size by the controller falls below a target value. The data recording device according to claim 3, further comprising a data processing unit.
【請求項5】それぞれ記録に要する時間が符号化に要す
る時間以下になるように符号化された独立の符号化デー
タを記録媒体から連続して読み出してデコードバツフア
メモリに書き込み、その後、上記符号化データを一定レ
ートで読み出して復号化することにより、上記独立した
動画像信号の復号結果に途切れが生じないようにするこ
とを特徴とするデータ再生方法。
5. Independently coded data coded such that the time required for recording is equal to or less than the time required for encoding are continuously read from a recording medium and written in a decode buffer memory, and then the code is written. A data reproducing method, characterized in that, by reading out the encoded data at a constant rate and decoding it, no interruption occurs in the decoding result of the independent moving image signal.
【請求項6】記録装置側に設けられているエンコードバ
ツフアメモリと同じ大きさの容量を有してなり、それぞ
れ記録に要する時間が符号化に要する時間以下になるよ
うに符号化された独立の符号化データを記録媒体から連
続して読み込むデコードバツフアメモリと、 上記デコードバツフアメモリから一定レートで読み出し
た符号化データを復号する復号化処理部とを具えること
を特徴とするデータ再生装置。
6. An independent coder having the same capacity as the encode buffer memory provided on the recording device side, each coded so that the time required for recording is less than the time required for encoding. And a decoding processing unit for decoding the coded data read out from the decoding buffer memory at a constant rate. apparatus.
【請求項7】記録装置側に設けられているエンコードバ
ツフアメモリの容量に対して2倍の容量を有してなり、
それぞれ記録に要する時間が符号化に要する時間以下に
なるように符号化された独立の符号化データを記録媒体
から連続して読み込むデコードバツフアメモリと、 上記デコードバツフアメモリから一定レートで読み出し
た符号化データを復号する復号化処理部とを具えること
を特徴とするデータ再生装置。
7. The capacity of the encoding buffer memory provided on the recording device side is twice as large as that of the encoding buffer memory,
Decode buffer memory that continuously reads independent coded data encoded so that the time required for recording is less than or equal to the time required for encoding, and read at a constant rate from the above-mentioned decode buffer memory A data reproducing apparatus, comprising: a decoding processing unit that decodes encoded data.
【請求項8】記録に要する時間が符号化に要する時間以
下になるように符号化された符号化データが1又は複数
記録されていることを特徴とする記録媒体。
8. A recording medium, wherein one or a plurality of pieces of coded data encoded so that the time required for recording is equal to or less than the time required for encoding are recorded.
【請求項9】量子化サイズの可変制御により可変量符号
化された動画像信号をエンコードバツフアメモリを介し
て一定レートで読み出し、伝送路に出力するデータ伝送
方法において、 上記量子化サイズを上記エンコードバツフアメモリのバ
ツフア残量に基づいて制御する際、上記バツフア残量を
実際よりも少ないものとみなして上記量子化サイズを制
御することを特徴とするデータ伝送方法。
9. A data transmission method for reading a moving image signal, which is encoded in a variable amount by variable control of a quantization size, at a constant rate via an encoding buffer memory and outputs it to a transmission line, wherein the quantization size is the above-mentioned. A data transmission method characterized in that, when performing control based on the remaining buffer capacity of an encoding buffer memory, the quantization size is controlled by regarding the remaining buffer capacity as being less than the actual value.
【請求項10】上記バツフア残量を実際よりも少ないも
のとみなして上記量子化サイズを制御する処理は、上記
動画像信号の符号化開始から一定時間の経過後に開始さ
れ、それまでは実際のバツフア残量に基づいて制御す
る。ことを特徴とする請求項9に記載のデータ伝送方
法。
10. The process of controlling the quantization size by regarding the remaining buffer amount as being smaller than the actual amount is started after a lapse of a certain time from the start of encoding the moving image signal, and until then, the actual process is performed. Control based on the remaining buffer capacity. 10. The data transmission method according to claim 9, wherein:
【請求項11】量子化サイズの可変制御により動画像信
号を可変量符号化し、量子化データとして出力する量子
化器と、 上記量子化データを入力して記憶した後、当該量子化デ
ータを符号化データとして一定レートで伝送路に出力す
るエンコードバツフアメモリと、 上記エンコードバツフアメモリのバツフア残量を実際よ
り小さいものとみなして上記量子化サイズを可変制御す
る制御器とを具えることを特徴とするデータ伝送装置。
11. A quantizer which encodes a moving image signal by a variable amount by variable control of a quantization size and outputs it as quantized data, and a quantizer which inputs and stores the quantized data and then encodes the quantized data. And a controller for variably controlling the quantization size by regarding the remaining amount of the buffer in the encoding buffer memory as being smaller than the actual value. Characteristic data transmission device.
【請求項12】上記制御器による上記量子化サイズの可
変制御によつて発生される量子化データの発生量が目標
値を下回るとき、ダミーデータを挿入して発生量を目標
値に一致させるダミーデータ処理部を具えることを特徴
とする請求項11に記載のデータ伝送装置。
12. A dummy for inserting dummy data to match the generated amount with the target value when the generated amount of the quantized data generated by the variable control of the quantization size by the controller is below a target value. The data transmission device according to claim 11, further comprising a data processing unit.
【請求項13】それぞれ記録に要する時間が符号化に要
する時間以下になるように符号化された独立の符号化デ
ータを伝送路より連続して読み出してデコードバツフア
メモリに書き込み、その後、上記符号化データを一定レ
ートで読み出して復号化し、上記独立した動画像信号の
復号結果に途切れが生じないようにすることを特徴とす
るデータ伝送方法。
13. Independently coded data encoded so that the time required for recording is equal to or less than the time required for encoding are continuously read from a transmission line and written in a decode buffer memory, and then the above-mentioned code is used. A data transmission method, characterized in that the encoded data is read at a constant rate and decoded so that no interruption occurs in the decoding result of the independent moving image signal.
【請求項14】送信装置側に設けられているエンコード
バツフアメモリと同じ大きさの容量を有してなり、それ
ぞれ伝送するのに要する時間が符号化に要する時間以下
になるように符号化された独立の符号化データを伝送路
から連続して読み込むデコードバツフアメモリと、 上記デコードバツフアメモリから一定レートで読み出し
た符号化データを復号する復号化処理部とを具えること
を特徴とするデータ伝送装置。
14. An encoding buffer memory provided on the transmitting device side, having the same capacity as each other, and encoded so that the time required for transmission is less than the time required for encoding. And a decoding processing unit for decoding the coded data read out from the decode buffer memory at a constant rate. Data transmission equipment.
【請求項15】送信装置側に設けられているエンコード
バツフアメモリの容量に対して2倍の容量を有してな
り、それぞれ伝送に要する時間が符号化に要する時間以
下になるように符号化された独立の符号化データを伝送
路から連続して読み込むデコードバツフアメモリと、 上記デコードバツフアメモリから一定レートで読み出し
た符号化データを復号する復号化処理部とを具えること
を特徴とするデータ伝送装置。
15. An encoding buffer having a capacity twice as large as the capacity of an encoding buffer memory provided on the side of the transmitting device, and encoding is performed such that the time required for transmission is less than the time required for encoding. And a decoding processing unit for decoding the coded data read out from the decoding buffer memory at a constant rate. Data transmission device.
JP10797795A 1995-04-08 1995-04-08 Method and device for data recording and data reproducing, recording medium and method and device for data transmission Pending JPH08280012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10797795A JPH08280012A (en) 1995-04-08 1995-04-08 Method and device for data recording and data reproducing, recording medium and method and device for data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10797795A JPH08280012A (en) 1995-04-08 1995-04-08 Method and device for data recording and data reproducing, recording medium and method and device for data transmission

Publications (1)

Publication Number Publication Date
JPH08280012A true JPH08280012A (en) 1996-10-22

Family

ID=14472863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10797795A Pending JPH08280012A (en) 1995-04-08 1995-04-08 Method and device for data recording and data reproducing, recording medium and method and device for data transmission

Country Status (1)

Country Link
JP (1) JPH08280012A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002159004A (en) * 2000-04-21 2002-05-31 Sony Corp Device and method for encoding, recording medium, and program
JP2012191658A (en) * 2000-04-21 2012-10-04 Sony Corp Information processing unit, information processing method, recording medium and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002159004A (en) * 2000-04-21 2002-05-31 Sony Corp Device and method for encoding, recording medium, and program
JP2012191658A (en) * 2000-04-21 2012-10-04 Sony Corp Information processing unit, information processing method, recording medium and program
US8634700B2 (en) 2000-04-21 2014-01-21 Sony Corporation Information processing apparatus and method, program and recorded medium with improved retrieval

Similar Documents

Publication Publication Date Title
JPH05153577A (en) Moving picture decoder
JPH0898166A (en) Effective support for interactive refreshing of video
JPH08336111A (en) Video reproducing position calculating system in video-on-demand system
US6064795A (en) Method of and apparatus for data recording, method of and apparatus for data reproduction, recording medium, and method of and apparatus for data transmission
KR100772343B1 (en) Data reproduction transmission apparatus and data reproduction transmission method
JPH10191259A (en) Inversion reproduction method for mpeg video
US5864646A (en) Video signal coding of plural related frame sequences for selective replay
JP3668556B2 (en) Digital signal encoding method
JPH0946691A (en) Information storage output method and information storage output device
JP2002320228A (en) Signal processor
JP3462267B2 (en) Information communication terminal equipment
JP3072971B2 (en) Video-on-demand system, video server device and terminal device constituting the system
JP4902854B2 (en) Moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, moving picture encoding apparatus, moving picture encoding method, moving picture encoding program, and moving picture encoding / decoding apparatus
JPH08280012A (en) Method and device for data recording and data reproducing, recording medium and method and device for data transmission
JPH11168729A (en) Image decoder and image decoding method
JPH0983948A (en) Information transmission system
JP2001359071A (en) Data distributor and method, and data distribution system
US6298091B1 (en) Method to play audio and video clips through MPEG decoders
JP2001169285A (en) Mpeg video decoder
JP3630248B2 (en) Data recording method and apparatus, data reproduction method and apparatus, data transmission method and apparatus
JPH09163308A (en) Video server
JP3674717B2 (en) Data recording method and apparatus, data reproduction method and apparatus, data transmission method and apparatus
KR100337724B1 (en) Video signal coding
JPH08265693A (en) Video signal encoding method and video signal recording medium
JPH08274902A (en) Data server system, terminal equipment and data transmission method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041126