JP2002112182A - Recorder and recording medium for mpeg image data - Google Patents

Recorder and recording medium for mpeg image data

Info

Publication number
JP2002112182A
JP2002112182A JP2000293737A JP2000293737A JP2002112182A JP 2002112182 A JP2002112182 A JP 2002112182A JP 2000293737 A JP2000293737 A JP 2000293737A JP 2000293737 A JP2000293737 A JP 2000293737A JP 2002112182 A JP2002112182 A JP 2002112182A
Authority
JP
Japan
Prior art keywords
image data
mpeg
recording
vbv buffer
mpeg image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000293737A
Other languages
Japanese (ja)
Other versions
JP3721971B2 (en
Inventor
Takayuki Sugawara
隆幸 菅原
Seiji Higure
誠司 日暮
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2000293737A priority Critical patent/JP3721971B2/en
Priority to US09/961,298 priority patent/US7292782B2/en
Priority to EP01122623A priority patent/EP1193983A3/en
Publication of JP2002112182A publication Critical patent/JP2002112182A/en
Application granted granted Critical
Publication of JP3721971B2 publication Critical patent/JP3721971B2/en
Priority to US11/898,253 priority patent/US8260122B2/en
Priority to US11/898,251 priority patent/US8131135B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain seamless reproduction without causing contradiction in overflow and underflow at connection of a VBV buffer in the case of reproduction, even when new MPEG image data are appended to the midway or at the end of MPEG image data having already been recorded. SOLUTION: In addition to a bit stream of the MPEG image data, a VBV buffer value at a point of time of end of picture coding of one preceding frame to an I picture of the bit stream, a VBV buffer value at a point of time of end of picture coding of one preceding frame to a P picture, a VBV buffer value at a point of time of recording end, and address information denoting, to which point of time of the MPEG image data each VBV buffer value above corresponds are recorded.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、MPEG符号化方式で
圧縮された画像データであるMPEG画像データを記録媒体
に記録するMPEG画像データ記録装置、及び記録媒体に関
するものである。そして、この発明は特に、追加記録し
たMPEG画像データを再生した場合にシームレスな再生を
実現可能とするMPEG画像データ記録装置、及び記録媒体
を提供することを目的としている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an MPEG image data recording apparatus for recording MPEG image data, which is image data compressed by the MPEG encoding method, on a recording medium, and a recording medium. It is another object of the present invention to provide an MPEG image data recording apparatus and a recording medium capable of realizing seamless reproduction when reproducing additionally recorded MPEG image data.

【0002】[0002]

【従来の技術】まず、従来技術であるMPEGについて簡単
に説明する。MPEGについてはISO-IEC11172-2、ITU-T H.
262 / ISO-IEC13818-2に詳細な説明がなされているの
で、ここでは概略のみ説明する。MPEGは1988年、ISO/IE
C JTC1/SC2(国際標準化機構/国際電気標準化会合同技
術委員会1/専門部会2、現在のSC29)に設立された動画
像符号化標準を検討する組織の名称(Moving Pictures
Expert Group)の略称である。MPEG1(MPEGフェーズ1)
は1.5Mbps程度の蓄積メディアを対象とした標準で、静
止画符号化を目的としたJPEGと、ISDNのテレビ会議やテ
レビ電話の低転送レート用の動画像圧縮を目的としたH.
261(CCITT SGXV、現在のITU-T SG15で標準化)の基本
的な技術を受け継ぎ、蓄積メディア用に新しい技術を導
入したものである。これらは1993年8月、ISO/IEC 11172
として成立している。
2. Description of the Related Art First, a conventional MPEG will be briefly described. For MPEG, see ISO-IEC11172-2, ITU-T H.
262 / ISO-IEC13818-2 provides a detailed explanation, so only an outline is given here. MPEG in 1988, ISO / IE
C Name of the organization (Moving Pictures) that considers moving picture coding standards established in JTC1 / SC2 (International Organization for Standardization / Technical Committee of the International Electrotechnical Commission / Technical Committee 2, current SC29)
Expert Group). MPEG1 (MPEG phase 1)
Is a standard for storage media of about 1.5 Mbps, JPEG for the purpose of still image encoding, and H.264 for the purpose of moving image compression for low transfer rates of ISDN video conferences and videophones.
It inherits the basic technology of 261 (CCITT SGXV, standardized by the current ITU-T SG15) and introduces new technology for storage media. These are August 1993, ISO / IEC 11172
It is established as.

【0003】MPEGは幾つかの技術を組み合わせて作成さ
れている。図5に従来のMPEG符号化器を示し、以下に簡
単に説明する。入力画像は動き補償予測器1で復号化し
た画像と、入力画像の差分とを差分器2で取ることで時
間冗長部分を削減する。
[0003] MPEG is created by combining several techniques. FIG. 5 shows a conventional MPEG encoder, which will be briefly described below. For the input image, a difference between the image decoded by the motion compensation predictor 1 and the input image is obtained by a differentiator 2 to reduce a time redundant part.

【0004】予測の方向は、過去、未来、両方からの3
モード存在する。また、これらは16画素×16画素のMB
(マクロブロック)ごとに切り替えて使用できる。予測
方向は入力画像に与えられたピクチャタイプによって決
定される。過去からの予測により符号化するモードと、
予測をしないでそのMBを独立で符号化するモードとの2
つのモードが存在するのがPピクチャーである。また、
未来からの予測、過去からの予測、両方からの予測、独
立で符号化する4つのモードが存在するのがBピクチャ
ーである。そして、全てのMBを独立で符号化するのがI
ピクチャーである。
[0004] The direction of prediction is three from the past and the future.
Mode exists. These are 16 pixels x 16 pixels MB
(Macro block) can be switched and used. The prediction direction is determined by the picture type given to the input image. A mode of encoding by prediction from the past,
Mode 2 in which the MB is coded independently without prediction
There are two modes for P-pictures. Also,
The B picture has four modes for prediction from the future, prediction from the past, prediction from both, and independent encoding. And it is I to encode all MBs independently.
It is a picture.

【0005】動き補償は、動き領域をMBごとにパターン
マッチングを行ってハーフペル精度で動きベクトルを検
出し、動き分だけシフトしてから予測する。動きベクト
ルは水平方向と垂直方向が存在し、何処からの予測かを
示すMC(Motion Compensation)モードとともにMBの付加
情報として伝送される。
In the motion compensation, a motion vector is detected with half-pel accuracy by performing pattern matching for each MB, and is predicted after shifting by the amount of motion. The motion vector has a horizontal direction and a vertical direction, and is transmitted as MB additional information together with an MC (Motion Compensation) mode indicating where to predict the motion vector.

【0006】Iピクチャから次のIピクチャの前のピクチ
ャまでをGOP(Group Of Picture)といい、蓄積メディア
などで使用される場合には、一般に約15ピクチャ程度
が一つのGOPとして使用される。
[0006] A GOP (Group Of Picture) refers to a GOP (Group Of Picture) from an I picture to a picture preceding the next I picture. In general, about 15 pictures are used as one GOP.

【0007】差分画像はDCT器3において直交変換が行
われる。DCT(Discrete Cosine Transform)とは、余弦
関数を積分核とした積分変換を有限空間への離散変換す
る直交変換である。MPEGではMBを4分割し8×8のDCTブ
ロックに対して、2次元DCTを行う。一般にビデオ信号
は低域成分が多く高域成分が少ないため、DCTを行うと
係数が低域に集中する。
[0007] The DCT unit 3 performs orthogonal transformation on the difference image. The DCT (Discrete Cosine Transform) is an orthogonal transform that discretely transforms an integral transform using a cosine function as an integral kernel into a finite space. In MPEG, MB is divided into four and two-dimensional DCT is performed on an 8 × 8 DCT block. Generally, since a video signal has many low-frequency components and few high-frequency components, when DCT is performed, coefficients concentrate on low frequencies.

【0008】DCTされた画像データ(DCT係数)は量子化
器4で量子化が行われる。量子化は量子化マトリックス
という8×8の2次元周波数を視覚特性で重み付けした値
と、その全体をスカラー倍する量子化スケールという値
で乗算した値を量子化値として、DCT係数をその量子化
値で叙算する。MPEG復号化器(デコーダー)で逆量子化
するときは量子化値で乗算することにより、元のDCT係
数に近似している値を得ることになる。
The quantized image data (DCT coefficients) are quantized by the quantizer 4. The quantization is performed by quantizing the DCT coefficients by multiplying a value obtained by weighting the 8x8 two-dimensional frequency called a quantization matrix by visual characteristics and a value called a quantization scale that multiplies the whole by a scalar as a quantization value. Calculate by value. When inverse quantization is performed by the MPEG decoder (decoder), a value close to the original DCT coefficient is obtained by multiplying by the quantization value.

【0009】量子化されたデータはVLC器5で可変長符
号化される。量子化された値のうち直流(DC)成分は
予測符号化のひとつであるDPCM(differential pul
se code modulation )を使用する。また交流(AC)成
分は 低域から高域にzigzagscanを行い、ゼロのラン長
および有効係数値を1つの事象とし、出現確率の高いも
のから符号長の短い符号を割り当てていくハフマン符号
化が行われる。
[0009] The quantized data is subjected to variable length coding by a VLC unit 5. A direct current (DC) component of the quantized value is a DPCM (differential pul
Use se code modulation). For the AC component, Huffman coding is performed by performing a zigzag scan from the low band to the high band, assigning a run length of zero and an effective coefficient value to one event, and assigning a code with a short code length from the one with the highest occurrence probability. Done.

【0010】可変長符号化されたデータは一時バッファ
6に蓄えられ、所定の転送レートで符号化データとして
出力される。また、その出力されるデータのマクロブロ
ック毎の発生符号量は、符号量制御器21に送信され、
目標符号量に対する発生符号量との誤差符号量を量子化
器4にフィードバックして量子化スケールを調整するこ
とで符号量制御される。
The variable-length coded data is stored in a temporary buffer 6 and output as coded data at a predetermined transfer rate. The generated code amount of the output data for each macro block is transmitted to the code amount controller 21.
The code amount is controlled by feeding back the error code amount between the target code amount and the generated code amount to the quantizer 4 and adjusting the quantization scale.

【0011】量子化された画像データは逆量子化器7に
て逆量子化、逆DCT器8にて逆DCTされ、加算器9を介し
て一時、画像メモリー10に蓄えられたのち、動き補償
予測器1において、差分画像を計算するためのリファレ
ンスの復号化画像として使用される。
The quantized image data is inversely quantized by an inverse quantizer 7, inverse DCT by an inverse DCT unit 8, temporarily stored in an image memory 10 via an adder 9, and then subjected to motion compensation. In the predictor 1, the difference image is used as a reference decoded image for calculating a difference image.

【0012】このようにしてMPEG符号化された符号化デ
ータを復号化するMPEG復号化器(デコーダー)を図6に
示す。
FIG. 6 shows an MPEG decoder (decoder) for decoding the coded data thus MPEG-coded.

【0013】入来する符号化データ(ストリーム)はバ
ッファ11でバッファリングされ、バッファ11からの
データはVLD器12に入力される。VLD器12では可変長
復号化を行い、直流(DC)成分および交流(AC)成
分を得る。交流(AC)成分データは低域から高域にzi
gzag scanの順で8x8のマトリックスに配置される。
このデータは逆量子化器13に入力され、量子化マトリ
ックスにて逆量子化される。逆量子化されたデータは逆
DCT器14に入力されて逆DCTされ、画像データ(復号化
データ)として出力される。また、復号化データは一
時、画像メモリー16に蓄えられたのち、動き補償予測
器17において、差分画像を計算するためのリファレン
スの復号化画像として使用される。
Incoming encoded data (stream) is buffered in a buffer 11, and data from the buffer 11 is input to a VLD unit 12. The VLD unit 12 performs variable length decoding to obtain a direct current (DC) component and an alternating current (AC) component. Alternating current (AC) component data from low to high
They are arranged in an 8 × 8 matrix in the order of gzag scan.
This data is input to the inverse quantizer 13 and inversely quantized by the quantization matrix. Inverse quantized data is inverse
The data is input to the DCT unit 14, subjected to inverse DCT, and output as image data (decoded data). The decoded data is temporarily stored in the image memory 16 and then used as a reference decoded image for calculating a difference image in the motion compensation predictor 17.

【0014】また、符号化ビットストリームはビデオの
場合1ピクチャーごとに可変長の符号量をもっている。
これはMPEGがDCT、量子化、ハフマン符号化という情報
変換を用いている理由と同時に、画質向上のためにピク
チャーごとに配分する符号量は適応的に変更する必要性
があり、動き補償予測を行っているので、あるときは入
力画像そのままを符号化し、あるときは予測画像の差分
である差分画像を符号化するなど符号化画像自体のエン
トロピーも大きく変化するためである。
In the case of video, the coded bit stream has a variable length code amount for each picture.
This is because MPEG uses information transforms such as DCT, quantization and Huffman coding.At the same time, it is necessary to adaptively change the amount of code allocated to each picture in order to improve image quality. This is because the entropy of the encoded image itself greatly changes, for example, in some cases, the input image is encoded as it is, and in some cases, the difference image, which is the difference between the predicted images, is encoded.

【0015】この場合、多くはその画像のエントロピー
比率に配分しつつ、バッファの制限を守りながら符号量
制御される。バッファ管理器は発生した符号量と符号化
レートの関係を監視し、所定のバッファ内に収まるよう
に目標符号量を設定する。この値は可変長符号化器にフ
ィードバックされ、符号量制御器に入り、そこで量子化
器にセットする量子化値を大きくして発生符号量を抑え
たり、量子化値を小さくして発生符号量を小さくしたり
する。
In this case, in most cases, the code amount is controlled while allocating to the entropy ratio of the image and keeping the buffer limit. The buffer manager monitors the relationship between the generated code amount and the coding rate, and sets a target code amount so as to be contained in a predetermined buffer. This value is fed back to the variable-length encoder and enters the code amount controller, where the quantized value set in the quantizer is increased to suppress the generated code amount, or the quantized value is reduced to reduce the generated code amount. Or make it smaller.

【0016】このような可変長データを固定の転送レー
ト(符号化レート)で符号化する場合、復号器の最大バ
ッファ量を上限値とすると、一定速度でデータが入力さ
れて、所定の値だけ溜まったとことから、所定の時刻
(NTSCのビデオ信号なら1/29.97 sec単位)で復号化を
一瞬で行うモデルを使用し、そのバッファがオーバーフ
ローもアンダーフローも発生しないように符号化するこ
とがMPEGで規定されている。この規定(VBVバッファ
規定)を守っていればVBVバッファ内でのレートは局部
的に変化しているものの、観測時間を長く取れば固定の
転送レートとなり、MPEGではこのことを固定レートであ
ると定義している。
When such variable length data is encoded at a fixed transfer rate (encoding rate), if the maximum buffer amount of the decoder is set as an upper limit, data is input at a constant speed and only a predetermined value is input. Because it has accumulated, MPEG is used to decode the video instantaneously at a predetermined time (1 / 29.97 sec for NTSC video signals), and to encode the buffer so that neither overflow nor underflow occurs. Stipulated in If this rule (VBV buffer rule) is adhered to, the rate in the VBV buffer is locally changed, but if the observation time is long, the transfer rate becomes fixed. In MPEG, this is a fixed rate. Has defined.

【0017】固定転送レートの場合、発生符号量の少な
い場合にはバッファ占有量は、上限値に張り付いた状態
になる。この場合、無効ビットを追加してオーバーフロ
ーしないように符号量を増やさなければならない。
In the case of a fixed transfer rate, if the generated code amount is small, the buffer occupancy is stuck at the upper limit. In this case, the code amount must be increased by adding an invalid bit so as not to overflow.

【0018】可変転送レートの場合にはこの固定転送レ
ートの定義を拡張して、バッファー占有率が上限値にな
った場合、復号器の読み出しを中止することにより、原
理的にオーバーフローが起きないように定義されてい
る。こうしたバッファ推移を図7に示す。仮に非常に発
生符号量が少なくても、復号器の読み出しが中止される
ので、固定転送レートの時のように無効ビットをいれる
必要はない。従って、アンダーフローだけが発生しない
ように符号化する。
In the case of the variable transfer rate, the definition of the fixed transfer rate is extended, and when the buffer occupancy reaches the upper limit, the reading of the decoder is stopped so that overflow does not occur in principle. Is defined in FIG. 7 shows such a buffer transition. Even if the generated code amount is very small, the reading of the decoder is stopped, so that there is no need to insert an invalid bit as in the case of the fixed transfer rate. Therefore, encoding is performed so that only underflow does not occur.

【0019】また、従来、特開平11−74799の発
明によれば、記録媒体に記録されたMPEGデータなどの圧
縮データを編集する場合、MPEGデータの連続性を保つた
め、その編集点ではVBVバッファをつねに固定になるよ
う発生符号量を制御したり、GOPをクローズドGOPとして
符号化するなど、連続性を考慮した符号化をおこなう方
法が記載されている。
Further, according to the invention disclosed in Japanese Patent Application Laid-Open No. H11-74799, when editing compressed data such as MPEG data recorded on a recording medium, a VBV buffer is used at the editing point to maintain the continuity of the MPEG data. There is described a method of performing encoding in consideration of continuity, such as controlling the generated code amount so that is always fixed, encoding the GOP as a closed GOP, and the like.

【0020】また、特開平11−187354の発明の
よれば、符号化データにはなんの制約も施さずに、その
データの部分区間のうち、編集素材として抜粋されたデ
ータを指示する情報とその再生順番に関する情報を記述
し、記録されたデータは変更せずに、単一記録媒体に映
像編集を実現できる方法が記載されている。
Further, according to the invention of Japanese Patent Application Laid-Open No. 11-187354, the information indicating the data extracted as the editing material in the partial section of the encoded data without any restrictions on the encoded data and the information A method is described in which information about the reproduction order is described, and video editing can be realized on a single recording medium without changing recorded data.

【0021】[0021]

【発明が解決しようとする課題】しかしながら上記の従
来の方式では、MPEG画像データは単純につなぐとVBVバ
ッファの接続に矛盾が生じ、オーバーフローやアンダー
フローがおきてしまった。また、固定長符号化の場合に
はVBVの値がピクチャー単位に記述されており、画像ビ
ットストリームを観測することで、追加記録する場合の
開始点におけるVBVの開始値を計算で算出することがで
きたが、それもMPEG圧縮データに一部を復号しなければ
ならなかった。さらに、可変長符号化の場合には、VBV
の値がシンタックスにまったく記述されないので、その
圧縮データの先頭から、各ピクチャーの発生符号量を観
測して計算しなければならなかった。これによって、よ
り多くの回路と計算時間を要してしまっていた。
However, in the above-mentioned conventional method, when MPEG image data is simply connected, inconsistency occurs in the connection of the VBV buffer, and overflow or underflow occurs. Also, in the case of fixed-length coding, the value of VBV is described in picture units, and by observing the image bit stream, the start value of VBV at the start point for additional recording can be calculated. Yes, but it also had to decode some to MPEG compressed data. Furthermore, in the case of variable length coding, VBV
Is not described in the syntax at all, so it was necessary to observe and calculate the generated code amount of each picture from the beginning of the compressed data. This required more circuitry and computation time.

【0022】特開平11−74799の発明において
は、どこで編集されても良いように、各GOPに対してVBV
バッファが常に固定になるよう発生符号量を制御した
り、GOPをクローズドGOPとして符号化するなど、連続性
を考慮した符号化制約を施すことになり、符号化効率の
面では不利な要因になっていた。
In the invention of Japanese Patent Laid-Open No. 11-74799, a VBV
Controlling the amount of generated code so that the buffer is always fixed, or coding the GOP as a closed GOP, imposes coding restrictions that take into account continuity, which is a disadvantageous factor in terms of coding efficiency. I was

【0023】また、特開平11−187354の発明に
おいては、あたかも編集したように再生表示はされる
が、その編集点での連続性は不完全で、MPEGデータのデ
コーダーバッファの初期化などの一時的な静止現象がお
こる可能性があった。
Further, in the invention of Japanese Patent Application Laid-Open No. H11-187354, reproduction and display are performed as if edited, but the continuity at the editing point is incomplete, and temporary processing such as initialization of a decoder buffer for MPEG data is performed. Static phenomena could occur.

【0024】本発明は、既に記録されているMPEG画像デ
ータの途中から、もしくは末尾から新たなMPEG画像デー
タを追加記録した場合でも、再生時にVBVバッファの接
続にオーバーフローやアンダーフローの矛盾が生じるこ
となく、シームレスな再生を可能とするMPEG画像データ
記録装置、及び記録媒体を提供することを目的としてい
る。さらに、本発明は、既に記録されているMPEG画像デ
ータを復号しなくとも追加記録する場合の開始点におけ
るVBVの開始値がわかり、回路規模の小型化と計算時間
の短縮化が図れるMPEG画像データ記録装置、及び記録媒
体を提供することを目的としている。
According to the present invention, even when new MPEG image data is additionally recorded from the middle or from the end of already recorded MPEG image data, inconsistency such as overflow or underflow occurs in connection of the VBV buffer during reproduction. It is an object of the present invention to provide an MPEG image data recording device and a recording medium which enable seamless reproduction without any problem. Furthermore, the present invention provides a method of determining the start value of VBV at the start point when additional recording is performed without decoding already recorded MPEG image data, thereby enabling MPEG image data to be reduced in circuit size and calculation time. It is an object to provide a recording device and a recording medium.

【0025】[0025]

【課題を解決するための手段】そこで、上記課題を解決
するために本発明は、以下の記録装置及び記録媒体を提
供するものである。 (1) MPEG符号化方式で圧縮された画像データである
MPEG画像データを記録するMPEG画像データ記録装置にお
いて、前記MPEG画像データのビットストリームにおける
Iピクチャーの1フレーム前のピクチャー符号化終了時
点でのVBVバッファ占有値を示す情報と、Pピクチャーの
1フレーム前のピクチャー符号化終了時点でのVBVバッ
ファ占有値を示す情報と、記録終了時点でのVBVバッフ
ァ占有値を示す情報と、前記各VBVバッファ占有値が前
記MPEG画像データのどの時点におけるVBVバッファ占有
値であるかを示すアドレス情報とを前記MPEG画像データ
と共に記録媒体に記録する記録手段を設けたことを特徴
とするMPEG画像データ記録装置。 (2) MPEG符号化方式で圧縮された画像データである
MPEG画像データを記録するMPEG画像データ記録装置にお
いて、既に記録されている第1のMPEG画像データが、前
記第1のMPEG画像データのビットストリームにおけるI
ピクチャーの1フレーム前のピクチャー符号化終了時点
でのVBVバッファ占有値に関する情報と、Pピクチャーの
1フレーム前のピクチャー符号化終了時点でのVBVバッ
ファ占有値に関する情報と、記録終了時点でのVBVバッ
ファ占有値に関する情報と、前記各VBVバッファ占有値
が前記第1のMPEG画像データのどの時点におけるVBVバ
ッファ占有値であるかを示すアドレス情報と共に記録さ
れているものであって、前記第1のMPEG画像データの終
了位置、または前記第1のMPEG画像データの途中位置か
ら第2のMPEG画像データを追加記録する場合に、前記第
1のMPEG画像データにおける前記第2のMPEG画像データ
の追加記録開始位置に一番近い位置に対応する前記VBV
バッファ占有値を示す情報を、前記アドレス情報に基づ
き検出する検出手段と、その検出したVBVバッファ占有
値を示す情報に基づきVBVバッファ制御を開始して、第
2の画像データのMPEG符号化を行い前記第2のMPEG画像
データを得る符号化手段と、前記第2のMPEG画像データ
を記録媒体に記録する記録手段と、を設けたことを特徴
とするMPEG画像データ記録装置。 (3) MPEG符号化方式で圧縮された画像データである
MPEG画像データと共に、前記MPEG画像データのビットス
トリームにおけるIピクチャーの1フレーム前のピクチ
ャー符号化終了時点でのVBVバッファ占有値を示す情報
と、Pピクチャーの1フレーム前のピクチャー符号化終
了時点でのVBVバッファ占有値を示す情報と、記録終了
時点でのVBVバッファ占有値を示す情報と、前記各VBVバ
ッファ占有値が前記MPEG画像データのどの時点における
VBVバッファ占有値であるかを示すアドレス情報とが記
録されていることを特徴とする記録媒体。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention provides the following recording apparatus and recording medium. (1) Image data compressed by the MPEG encoding method
In an MPEG image data recording device that records MPEG image data, a bit stream of the MPEG image data
The information indicating the VBV buffer occupancy value at the end of picture coding one frame before the I picture, the information indicating the VBV buffer occupancy value at the end of picture coding one frame before the P picture, Recording means for recording, on the recording medium, information indicating the VBV buffer occupancy value and address information indicating at which point in time the VBV buffer occupancy value is the VBV buffer occupancy value of the MPEG image data. An MPEG image data recording device, comprising: (2) Image data compressed by the MPEG encoding method
In an MPEG image data recording apparatus for recording MPEG image data, the already recorded first MPEG image data is the I MPEG in the bit stream of the first MPEG image data.
Information about the VBV buffer occupancy value at the end of picture encoding one frame before the picture, information about the VBV buffer occupancy value at the end of picture encoding one frame before the P picture, and the VBV buffer at the end of recording Occupancy value and address information indicating at which point in time the VBV buffer occupancy value of the first MPEG image data is the VBV buffer occupancy value, wherein the first MPEG When additionally recording the second MPEG image data from the end position of the image data or the middle position of the first MPEG image data, additional recording of the second MPEG image data in the first MPEG image data is started. The VBV corresponding to the position closest to the position
Detecting means for detecting information indicating the buffer occupancy value based on the address information, and starting VBV buffer control based on the detected information indicating the VBV buffer occupancy value to perform MPEG encoding of the second image data An MPEG image data recording apparatus, comprising: encoding means for obtaining the second MPEG image data; and recording means for recording the second MPEG image data on a recording medium. (3) Image data compressed by the MPEG encoding method
Along with the MPEG image data, information indicating the VBV buffer occupancy value at the end of picture encoding one frame before the I picture in the bit stream of the MPEG image data, and the information at the end of picture encoding one frame before the P picture. Information indicating the VBV buffer occupancy value, information indicating the VBV buffer occupancy value at the end of recording, and the time at which the VBV buffer occupancy value of the MPEG image data
A recording medium in which address information indicating whether the value is a VBV buffer occupancy value is recorded.

【0026】[0026]

【発明の実施の形態】本発明を用いれば、既に記録され
ているMPEG画像データの途中から、もしくは末尾から新
たなMPEG画像データを追加記録した場合でも、再生時に
VBVバッファの接続にオーバーフローやアンダーフロー
の矛盾が生じることなく、シームレスな再生を可能とす
る。さらに、本発明を用いれば、既に記録されているMP
EG画像データを復号しなくとも追加記録する場合の開始
点におけるVBVの開始値がわかり、回路規模の小型化と
計算時間の短縮化が図れる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the present invention, even when new MPEG image data is additionally recorded from the middle or from the end of already recorded MPEG image data, it is possible to perform reproduction at the time of reproduction.
Seamless playback is possible without causing inconsistency of overflow or underflow in the connection of the VBV buffer. Further, according to the present invention, the already recorded MP
The start value of VBV at the start point when additional recording is performed without decoding the EG image data can be known, so that the circuit size can be reduced and the calculation time can be reduced.

【0027】図1を用いて本発明の概念を説明する。記
録媒体には、MPEG符号化方式で圧縮された画像データで
あるMPEG画像データが記録される。このMPEG画像データ
は、一回の記録単位で符号化生成された連続再生可能な
データが複数連続して連なったビットストリームとして
記録される。
The concept of the present invention will be described with reference to FIG. MPEG image data, which is image data compressed by the MPEG encoding method, is recorded on the recording medium. The MPEG image data is recorded as a bit stream in which a plurality of continuously reproducible data encoded and generated in one recording unit are continuously connected.

【0028】これらの符号化されたMPEG画像データのビ
ットストリームとは別に、MPEG画像データのビットスト
リームにおけるIピクチャーの1フレーム前のピクチャ
ー符号化終了時点でのVBVバッファ値(占有値)と、Pピ
クチャーの1フレーム前のピクチャー符号化終了時点で
のVBVバッファ値(占有値)と、記録終了時点でのVBVバ
ッファ値(占有値)と、前記各VBVバッファ値がMPEG画
像データのどの時点におけるVBVバッファ占有値である
かを示すアドレス情報(この例では、MPEG画像データの
ファイルのはじめからの相対アドレス)が記録される。
これらのデータを含むVBVバッファ情報のデータ構造を
図1に示す。
Apart from these coded MPEG image data bit streams, the VBV buffer value (occupation value) at the end of picture coding one frame before the I picture in the MPEG image data bit stream, and P The VBV buffer value (occupancy value) at the end of picture encoding one frame before the picture, the VBV buffer value (occupancy value) at the end of recording, and the VBV buffer value at each point in the MPEG image data at each of the VBV buffer values Address information (in this example, a relative address from the beginning of the file of the MPEG image data) indicating whether the value is a buffer occupancy value is recorded.
FIG. 1 shows a data structure of VBV buffer information including these data.

【0029】VBVバッファ情報は階層構造をもってい
る。始めにエントリーポイント情報構造体があり、その
後にVBV情報構造体がある。エントリーポイント情報構
造体は、始めにエントリーポイント(EP)のアドレスの
個数を32ビット、その後にEPn(nは1以上の自然
数)アドレスを32ビットで順に記述する。EPnアドレ
スはVBV情報構造体のEPn情報(nは1以上の自然数)
の記述されている位置を示し、このVBVバッファ情報の
先頭からの相対アドレスを記述する。一方VBV情報構造
体は、EP1情報から順に記述されており、EP1情報の中身
は相対アドレス、PTM値、VBV値を順に記述する。
The VBV buffer information has a hierarchical structure. First there is an entry point information structure, followed by a VBV information structure. In the entry point information structure, the number of entry point (EP) addresses is first described in 32 bits, and the EPn (n is a natural number of 1 or more) address is described in 32 bits in order. EPn address is EPn information of the VBV information structure (n is a natural number of 1 or more)
Is described, and a relative address from the head of this VBV buffer information is described. On the other hand, the VBV information structure is described in order from the EP1 information, and the content of the EP1 information describes a relative address, a PTM value, and a VBV value in order.

【0030】VBV情報構造体のEPn情報における相対ア
ドレスとは、図2のように、MPEG画像データのビットス
トリームにおけるIピクチャーの1フレーム前のピクチ
ャー符号化終了時点、Pピクチャーの1フレーム前のピ
クチャー符号化終了時点、及び記録終了時点での、その
MPEG画像データの先頭からの相対アドレスであり、例え
ば単位はバイトが用いられる。ディスクメディアに記録
されている場合には、相対アドレスとしてセクターなど
が用いられる。
The relative address in the EPn information of the VBV information structure is, as shown in FIG. 2, the end point of the encoding of the picture one frame before the I picture and the picture one frame before the P picture in the bit stream of the MPEG image data. At the end of encoding and at the end of recording,
This is a relative address from the beginning of the MPEG image data. For example, the unit is a byte. When recorded on a disk medium, a sector or the like is used as a relative address.

【0031】VBV情報構造体のEPn情報におけるPTM値と
は、MPEGのシステム規格(多重化規格)において、90
kHzもしくは27MHzのクロックで記録されているタイ
ムスタンプである。MPEG規格ではPTS(Presentation Ti
me Stamp)やDTS(Decoding Time Stamp)と呼ばれてい
る。ここでは、MPEG画像データのビットストリームのI
ピクチャーの1フレーム前のピクチャー符号化終了時
点、Pピクチャーの1フレーム前のピクチャー符号化終
了時点、及び記録終了時点での、時間情報としてDTSを
記録する。DTSは1ピクチャーに1つ記録されており、N
TSCのビデオ信号であれば90KHzクロックで1ピクチ
ャにつき3003クロックの間隔で、記録されている。
従って、本発明のように3ピクチャーごとにIピクチャ
かPピクチャが存在している場合で一番初めが0からス
タートする場合には、9009、18018....という
間隔でPTM情報がEPn情報に記述されることになる。
The PTM value in the EPn information of the VBV information structure refers to a value of 90 in the MPEG system standard (multiplexing standard).
This is a time stamp recorded with a clock of kHz or 27 MHz. In the MPEG standard, PTS (Presentation Ti
me Stamp) and DTS (Decoding Time Stamp). Here, I of the bit stream of the MPEG image data
The DTS is recorded as time information at the end of picture encoding one frame before the picture, at the end of picture encoding one frame before the P picture, and at the end of recording. One DTS is recorded in one picture, and N
In the case of a TSC video signal, it is recorded at an interval of 3003 clocks per picture at 90 KHz clocks.
Therefore, in the case where an I picture or a P picture exists for every three pictures as in the present invention and the beginning starts from 0, the PTM information is provided at intervals of 9009, 18018. Will be described.

【0032】VBV情報構造体のEPn情報におけるVBV値
は、MPEGで規定されているデコーダーの仮想バッファ占
有値である。MPEG画像データの1ピクチャごとの発生符
号量と、転送レートの値から計算で導けるもので、図3
のように、圧縮されているビットストリーム情報のIピ
クチャーの1フレーム前のピクチャー符号化終了時点、
Pピクチャーの1フレーム前のピクチャー符号化終了時
点、及び記録終了時点での(図3に示す各○印の位置で
の)、各VBV占有値を記述する。もしくは、前記各時点
でのMPEGで規定されているVBVdelay値を記述する。この
値はVBV占有値まで、そのときの転送レートでどれだけ
の時間がかかるかという時間に換算した値である。本発
明ではVBV値はVBVバッファ占有値に関する情報であれば
何であっても良い。
The VBV value in the EPn information of the VBV information structure is a virtual buffer occupancy value of a decoder specified by MPEG. It can be derived by calculation from the generated code amount for each picture of MPEG image data and the value of the transfer rate.
At the end of picture coding one frame before the I picture of the compressed bit stream information,
Each VBV occupancy value is described at the time of the end of the picture encoding one frame before the P picture and at the end of the recording (at the position of each O mark shown in FIG. 3). Alternatively, the VBVdelay value specified by the MPEG at each time is described. This value is a value converted to a time that indicates how long it takes at the transfer rate at that time up to the VBV occupation value. In the present invention, the VBV value may be any information as long as it is information on the VBV buffer occupancy value.

【0033】MPEG圧縮では基本的にIBB、PBB、というよ
うに3フレーム単位でIかPのピクチャータイプを用いて
符号化する。MPEG圧縮はBピクチャーは両方向から予測
されている可能性があるので、符号化ビットストリーム
順番において、ビットストリームのIピクチャー、Pピク
チャーの1フレーム前のピクチャー符号化終了時点でし
か、データのつなぎ追加は簡単にはできない。そのため
本発明では、VBVの情報をビットストリームのIピクチャ
ー、Pピクチャーの1フレーム前のピクチャー符号化終
了時点で記述する形態をもつことに特徴がある。
In MPEG compression, encoding is basically performed using an I or P picture type in units of three frames, such as IBB and PBB. In MPEG compression, a B picture may be predicted from both directions, so in the order of the encoded bit stream, data connection is added only at the end of the picture encoding of the I-picture of the bit stream and one frame before the P picture. Is not easy. Therefore, the present invention is characterized in that VBV information is described at the end of picture coding one frame before the I picture and P picture of the bit stream.

【0034】次に、本発明に基づく記録装置の一実施例
の構成を図4に示し、MPEG符号化方式で画像データを符
号化しながらVBVバッファ情報を作成する動作を説明を
する。
Next, the configuration of an embodiment of the recording apparatus according to the present invention is shown in FIG. 4, and the operation of creating VBV buffer information while encoding image data by the MPEG encoding method will be described.

【0035】記録媒体31に符号化データがまったく無
い状態、すなわち、初めて符号化する場合には、記録媒
体31からのデータ読み取り部32では、データが存在
していないので、データがないという情報をVBVバッフ
ァ情報検出器33に送信する。VBVバッファ情報検出器
33でもデータが存在していないので、パラメータ設定
器34にはあらかじめ設定した初期値、すなわちVBV値
は、たとえばMPEGで規定されるVBVの最大値の80%の
値とし、PTMタイムスタンプ情報は0とする。これらの
初期設定値を画像符号化器35に送信する。
When there is no encoded data on the recording medium 31, that is, when encoding is performed for the first time, the data reading unit 32 from the recording medium 31 does not have any data. This is transmitted to the VBV buffer information detector 33. Since no data exists in the VBV buffer information detector 33, the initial value set in advance in the parameter setting unit 34, that is, the VBV value is, for example, a value of 80% of the maximum value of VBV specified by MPEG, and the PTM Time stamp information is set to 0. These initial setting values are transmitted to the image encoder 35.

【0036】画像符号化器35では、符号化を初期設定
値から開始する。画像符号化器35では符号化を行いな
がら、ビットストリームのIピクチャーの1フレーム
前、及びPピクチャーの1フレーム前のピクチャー符号
化終了時点での発生符号量とPTM値、VBV値を、毎回、VB
Vバッファ情報作成器36へ送信する。それとともに符
号化データをデータ書き込み部37へ送信する。さら
に、画像符号化器35は、ユーザーが画像圧縮記録を一
時停止、もしくは終了した時点での発生符号量とPTM
値、VBV値を、VBVバッファ情報作成器36へ送信する。
In the image encoder 35, encoding is started from an initial set value. The image encoder 35 encodes the generated code amount, the PTM value, and the VBV value at the end of the picture encoding one frame before the I picture and one frame before the P picture of the bit stream each time while performing the encoding. VB
It is transmitted to the V buffer information generator 36. At the same time, the encoded data is transmitted to the data writing unit 37. Further, the image encoder 35 outputs the generated code amount and the PTM when the user temporarily stops or ends the image compression recording.
The value and the VBV value are transmitted to the VBV buffer information generator 36.

【0037】VBVバッファ情報作成器36では、入力さ
れた発生符号量値とPTM値とVBV値から図1に示す構造の
VBVバッファ情報のデータを作成する。もしくはそのデ
ータ構造を作成するのに必要なデータをメモリーして所
定のフォーマットで記録保持する。VBVバッファ情報作
成器36で作成された情報は、データ書き込み部37に
より符号化データ(MPEG画像データ)が記録媒体31に
書き込まれているときに、同時にバースト的に書き込み
を行っても良い。また、VBVバッファ情報作成器36で
作成された情報は、符号化データ(MPEG画像データ)が
書き込み終わったとき、すなわち、ユーザーが画像圧縮
記録を一時停止、もしくは終了した後に所定のフォーマ
ットで記録保持されていたデータから、図1の構造に変
換してデータ書き込み部37により書き込みを行っても
良い。
The VBV buffer information generator 36 converts the generated code amount value, the PTM value and the VBV value into the structure shown in FIG.
Create VBV buffer information data. Alternatively, data necessary for creating the data structure is stored in a memory and recorded and held in a predetermined format. The information created by the VBV buffer information creating unit 36 may be written in a burst at the same time that the encoded data (MPEG image data) is written to the recording medium 31 by the data writing unit 37. The information created by the VBV buffer information creating unit 36 is recorded and held in a predetermined format when the encoded data (MPEG image data) has been written, that is, after the user has temporarily stopped or ended the image compression recording. The written data may be converted into the structure of FIG. 1 and written by the data writing unit 37.

【0038】次に、記録媒体31に前記したVBVバッフ
ァ情報と共に既に記録されている符号化データ(MPEG画
像データ)に対して、その符号化データ(MPEG画像デー
タ)における所定の位置から追加して新たな画像データ
を記録する場合の動作について説明する。
Next, the encoded data (MPEG image data) already recorded together with the VBV buffer information on the recording medium 31 is added from a predetermined position in the encoded data (MPEG image data). An operation for recording new image data will be described.

【0039】記録媒体31には既に符号化ストリーム
(MPEG画像データのビットストリーム)が記録されてい
る。従って、データ読み取り部32ではVBVバッファ情
報を記録媒体31から読み取り、VBV値、PTM値、相対ア
ドレスを得る。追加記録が既に記録されている符号化ス
トリームの一番最後から行われる場合には、存在してい
るVBVバッファ情報の一番最後の値(相対アドレスが符
号化ストリームの先頭から一番遠いVBVバッファ情報)
を参照する。記録媒体31上において、新たなMPEG画像
データが追加記録される位置は、既に記録されているMP
EG画像データの記録部分に続く位置でもよいし、全く別
の位置でもよい。
An encoded stream (a bit stream of MPEG image data) is already recorded on the recording medium 31. Therefore, the data reading unit 32 reads the VBV buffer information from the recording medium 31, and obtains a VBV value, a PTM value, and a relative address. When additional recording is performed from the end of the already recorded encoded stream, the last value of the existing VBV buffer information (the VBV buffer whose relative address is the furthest from the beginning of the encoded stream) information)
See On the recording medium 31, the position where the new MPEG image data is additionally recorded depends on the already recorded MP.
The position may be a position following the recording portion of the EG image data, or may be a completely different position.

【0040】既に記録されている符号化ストリームの途
中からの追加書き込みを行う場合には、図示せぬ、ユー
ザーインターフェースから、既に記録されている画像デ
ータのどこのポイントから途中追加記録するかを指定し
てもらう。例えば、その指定の仕方が、データの相対ア
ドレスの位置情報の場合には、VBVバッファ情報の構造
のEPn情報内の相対アドレス情報にもっとも近い値のデ
ータにリンクされているVBV値、PTM値を用いる。また、
もし、その指定の仕方が、データの開始時刻からの時間
や、追加記録されるポイントのタイムスタンプ情報であ
れば、同様にVBVバッファ情報の構造のEPn情報内のPTM
値を用いて、この値が90KHzのクロックで記録されて
いる場合にはその値に 1/90000秒の値を乗じることで秒
の時間を得ることができ、その途中追加記録する位置
(相対アドレス)とVBV値、PTM値を得ることができる。
When additional writing is to be performed from the middle of an already recorded coded stream, a user interface (not shown) is used to specify a point in the already recorded image data from which point to additionally record. do that for me. For example, when the designation method is the position information of the relative address of the data, the VBV value and the PTM value linked to the data closest to the relative address information in the EPn information of the structure of the VBV buffer information are calculated. Used. Also,
If the designation method is the time from the start time of the data or the time stamp information of the point to be additionally recorded, similarly, the PTM in the EPn information of the VBV buffer information structure
If this value is recorded with a clock of 90 KHz using the value, the time can be obtained by multiplying that value by a value of 1 / 90,000 second, and the additional recording position (relative address) in the middle can be obtained. ), VBV value and PTM value can be obtained.

【0041】これらの値はパラメータ設定器34に入力
され、画像符号化器35においてその設定値から符号化
が開始される。(その検出したVBV値に基づきVBVバッフ
ァ制御を開始して符号化を行う。)一方、符号化データ
サーチ器38では途中追加記録を開始する位置を、既に
記録してあるビットストリームに対してサーチする。サ
ーチはデータの相対アドレスを用いて、そのビットスト
リームファイルの頭からの位置にポインタを設定する。
These values are input to the parameter setting unit 34, and the image coding unit 35 starts coding from the set values. (VBV buffer control is started based on the detected VBV value and coding is performed.) On the other hand, the coded data searcher 38 searches the bit stream that has already been recorded for the position at which additional recording is to start. I do. The search uses a relative address of data to set a pointer to a position from the head of the bit stream file.

【0042】画像符号化器35では符号化を行いなが
ら、ビットストリームのIピクチャー、Pピクチャーの1
フレーム前のピクチャー符号化終了時点での発生符号量
とPTM値、VBV値を、毎回、VBVバッファ情報作成器36
へ送信する。それとともに符号化データをデータ書き込
み部37へ送信する。さらに、画像符号化器35は、ユ
ーザーが画像圧縮記録を一時停止、もしくは終了した時
点での発生符号量とPTM値、VBV値を、VBVバッファ情報
作成器36へ送信する。
The image encoder 35 encodes the I-picture and the P-picture of the bit stream while encoding.
The generated code amount, the PTM value, and the VBV value at the time of the end of the picture encoding before the frame are always updated by the VBV buffer information generator 36.
Send to At the same time, the encoded data is transmitted to the data writing unit 37. Further, the image encoder 35 transmits the generated code amount, the PTM value, and the VBV value when the user temporarily stops or ends the image compression recording to the VBV buffer information generator 36.

【0043】VBVバッファ情報作成器36では、入力さ
れた発生符号量値とPTM値とVBV値から図1に示す構造の
VBVバッファ情報のデータを作成する。もしくはそのデ
ータ構造を作成するのに必要なデータをメモリーして所
定のフォーマットで記録保持する。VBVバッファ情報作
成器36で作成された情報は、データ書き込み部37に
より符号化データ(MPEG画像データ)が記録媒体31に
書き込まれているときに、同時にバースト的に書き込み
を行っても良い。また、VBVバッファ情報作成器36で
作成された情報は、符号化データ(MPEG画像データ)が
書き込み終わったとき、すなわち、ユーザーが画像圧縮
記録を一時停止、もしくは終了した後に所定のフォーマ
ットで記録保持されていたデータから、図1の構造に変
換してデータ書き込み部37により書き込みを行っても
良い。
The VBV buffer information creator 36 converts the generated code amount value, the PTM value and the VBV value into the structure shown in FIG.
Create VBV buffer information data. Alternatively, data necessary for creating the data structure is stored in a memory and recorded and held in a predetermined format. The information created by the VBV buffer information creating unit 36 may be written in a burst at the same time that the encoded data (MPEG image data) is written to the recording medium 31 by the data writing unit 37. The information created by the VBV buffer information creating unit 36 is recorded and held in a predetermined format when the encoded data (MPEG image data) has been written, that is, after the user has temporarily stopped or ended the image compression recording. The written data may be converted into the structure of FIG. 1 and written by the data writing unit 37.

【0044】新たなMPEG画像データは既に記録されてい
るMPEG画像データの途中追加記録するポイントから、追
加記録される。
[0044] New MPEG image data is additionally recorded from the point of additional recording in the middle of the already recorded MPEG image data.

【0045】なお、既に記録されているMPEG画像データ
の途中部分に追加記録される新たなMPEG画像データは、
記録媒体31上の既にMPEG画像データが記録されている
部分に上書きされるように記録されてもよい。また、既
にMPEG画像データが記録されている記録媒体31上の部
分とは全く別の記録媒体31上の部分に記録されてもよ
い。(この場合、既に記録されているMPEG画像データ上
の追加記録ポイントと新たなMPEG画像データとをリンク
させる必要がある。)上記説明では、追加記録される新
たなMPEG画像データは、既にMPEG画像データ記録されて
いる記録媒体に記録されるものとして説明したが、記録
媒体31から読み出したMPEG画像データと共に、上記の
方法で別の記録媒体に記録してもよい。
The new MPEG image data additionally recorded in the middle of the already recorded MPEG image data is as follows:
The recording may be performed so as to overwrite the portion of the recording medium 31 on which the MPEG image data has already been recorded. Further, the image data may be recorded on a part on the recording medium 31 completely different from the part on the recording medium 31 on which the MPEG image data is already recorded. (In this case, it is necessary to link the additional recording point on the already recorded MPEG image data with the new MPEG image data.) In the above description, the newly recorded new MPEG image data is the MPEG image data Although described as being recorded on the recording medium on which data is recorded, it may be recorded on another recording medium by the above-described method together with the MPEG image data read from the recording medium 31.

【0046】また、上記実施例では記録装置単体でのシ
ステムとして説明したが、記録媒体は、ネットワークを
介したデータベースであってもかまわない。
In the above embodiment, the system is described as a single recording apparatus. However, the recording medium may be a database via a network.

【0047】[0047]

【発明の効果】以上の通り、本発明を用いれば、既に記
録されているMPEG画像データの途中から、もしくは末尾
から新たなMPEG画像データを追加記録した場合でも、再
生時にVBVバッファの接続にオーバーフローやアンダー
フローの矛盾が生じることなく、シームレスで高品位な
再生を可能とする。さらに、本発明を用いれば、既に記
録されているMPEG画像データを復号しなくとも追加記録
する場合の開始点におけるVBVバッファ占有値の開始値
がわかり、回路規模の小型化と追加記録のための処理時
間の短縮化が図れる。
As described above, according to the present invention, even if new MPEG image data is additionally recorded from the middle of the already recorded MPEG image data or from the end, overflow occurs at the connection of the VBV buffer during reproduction. This enables seamless and high-quality reproduction without causing inconsistency in image and underflow. Furthermore, according to the present invention, the start value of the VBV buffer occupancy value at the start point when additional recording is performed without decoding already recorded MPEG image data can be known, so that the circuit scale can be reduced and additional recording can be performed. Processing time can be reduced.

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

【図1】本発明に基づくVBVバッファ情報構造の一実施
例を示す図である。
FIG. 1 is a diagram showing one embodiment of a VBV buffer information structure according to the present invention.

【図2】本発明におけるMPEG画像データと相対アドレス
との関係を示す図である。
FIG. 2 is a diagram illustrating a relationship between MPEG image data and relative addresses according to the present invention.

【図3】VBV値を説明する説明図である。FIG. 3 is an explanatory diagram illustrating a VBV value.

【図4】本発明に基づくMPEG画像データ記録装置の一実
施例を示すブロック図である。
FIG. 4 is a block diagram showing an embodiment of an MPEG image data recording device according to the present invention.

【図5】従来のMPEG符号化器の一例を示す図である。FIG. 5 is a diagram illustrating an example of a conventional MPEG encoder.

【図6】従来のMPEG復号化器の一例を示す図である。FIG. 6 is a diagram illustrating an example of a conventional MPEG decoder.

【図7】MPEGにおけるVBVバッファ概念を説明するため
の図である。
FIG. 7 is a diagram for explaining the concept of a VBV buffer in MPEG.

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

31 記録媒体 32 データ読み取り部 33 VBVバッファ情報検出器 34 パラメータ設定器 35 画像符号化器 36 VBVバッファ情報作成器 37 データ書き込み部 38 符号化データサーチ器 REFERENCE SIGNS LIST 31 recording medium 32 data reading unit 33 VBV buffer information detector 34 parameter setting unit 35 image encoder 36 VBV buffer information generator 37 data writing unit 38 encoded data searcher

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA27 GB22 GB29 GB32 GB37 JA24 KA01 5C059 KK35 MA00 PP05 PP06 PP07 RC04 SS11 UA32 UA37 5D044 AB07 DE38 EF03 EF05 JJ01 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C053 FA27 GB22 GB29 GB32 GB37 JA24 KA01 5C059 KK35 MA00 PP05 PP06 PP07 RC04 SS11 UA32 UA37 5D044 AB07 DE38 EF03 EF05 JJ01

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】MPEG符号化方式で圧縮された画像データで
あるMPEG画像データを記録するMPEG画像データ記録装置
において、 前記MPEG画像データのビットストリームにおけるIピク
チャーの1フレーム前のピクチャー符号化終了時点での
VBVバッファ占有値を示す情報と、Pピクチャーの1フレ
ーム前のピクチャー符号化終了時点でのVBVバッファ占
有値を示す情報と、記録終了時点でのVBVバッファ占有
値を示す情報と、前記各VBVバッファ占有値が前記MPEG
画像データのどの時点におけるVBVバッファ占有値であ
るかを示すアドレス情報とを前記MPEG画像データと共に
記録媒体に記録する記録手段を設けたことを特徴とする
MPEG画像データ記録装置。
1. An MPEG image data recording apparatus for recording MPEG image data, which is image data compressed by an MPEG encoding method, comprising: a picture encoding end point one frame before an I picture in a bit stream of the MPEG image data; At
Information indicating a VBV buffer occupancy value, information indicating a VBV buffer occupancy value at the end of picture coding one frame before the P picture, information indicating a VBV buffer occupancy value at the end of recording, Occupancy value is the MPEG
Recording means for recording address information indicating at which point of the image data the VBV buffer occupancy value is recorded on a recording medium together with the MPEG image data.
MPEG image data recording device.
【請求項2】MPEG符号化方式で圧縮された画像データで
あるMPEG画像データを記録するMPEG画像データ記録装置
において、 既に記録されている第1のMPEG画像データが、前記第1
のMPEG画像データのビットストリームにおけるIピクチ
ャーの1フレーム前のピクチャー符号化終了時点でのVB
Vバッファ占有値に関する情報と、Pピクチャーの1フレ
ーム前のピクチャー符号化終了時点でのVBVバッファ占
有値に関する情報と、記録終了時点でのVBVバッファ占
有値に関する情報と、前記各VBVバッファ占有値が前記
第1のMPEG画像データのどの時点におけるVBVバッファ
占有値であるかを示すアドレス情報と共に記録されてい
るものであって、 前記第1のMPEG画像データの終了位置、または前記第1
のMPEG画像データの途中位置から第2のMPEG画像データ
を追加記録する場合に、 前記第1のMPEG画像データにおける前記第2のMPEG画像
データの追加記録開始位置に一番近い位置に対応する前
記VBVバッファ占有値を示す情報を、前記アドレス情報
に基づき検出する検出手段と、 その検出したVBVバッファ占有値を示す情報に基づきVBV
バッファ制御を開始して、第2の画像データのMPEG符号
化を行い前記第2のMPEG画像データを得る符号化手段
と、 前記第2のMPEG画像データを記録媒体に記録する記録手
段と、を設けたことを特徴とするMPEG画像データ記録装
置。
2. An MPEG image data recording apparatus for recording MPEG image data which is image data compressed by the MPEG encoding method, wherein the first MPEG image data already recorded is the first MPEG image data.
VB at the end of picture coding one frame before the I picture in the MPEG image data bit stream
The information relating to the V buffer occupancy value, the information relating to the VBV buffer occupancy value at the end of picture coding one frame before the P picture, the information relating to the VBV buffer occupancy value at the end of recording, and the respective VBV buffer occupancy values are: The first MPEG image data is recorded together with address information indicating at what point in time the VBV buffer occupancy value is, and the end position of the first MPEG image data, or the first MPEG image data,
When additionally recording the second MPEG image data from the middle position of the MPEG image data, the first MPEG image data corresponds to the position closest to the additional recording start position of the second MPEG image data. Detecting means for detecting information indicating the VBV buffer occupancy value based on the address information; and
Encoding means for starting buffer control, performing MPEG encoding of second image data to obtain the second MPEG image data, and recording means for recording the second MPEG image data on a recording medium. An MPEG image data recording device, comprising:
【請求項3】MPEG符号化方式で圧縮された画像データで
あるMPEG画像データと共に、 前記MPEG画像データのビットストリームにおけるIピク
チャーの1フレーム前のピクチャー符号化終了時点での
VBVバッファ占有値を示す情報と、Pピクチャーの1フレ
ーム前のピクチャー符号化終了時点でのVBVバッファ占
有値を示す情報と、記録終了時点でのVBVバッファ占有
値を示す情報と、前記各VBVバッファ占有値が前記MPEG
画像データのどの時点におけるVBVバッファ占有値であ
るかを示すアドレス情報とが記録されていることを特徴
とする記録媒体。
3. An MPEG encoding system according to claim 1, further comprising: MPEG image data which is image data compressed by the MPEG encoding method;
Information indicating a VBV buffer occupancy value, information indicating a VBV buffer occupancy value at the end of picture coding one frame before the P picture, information indicating a VBV buffer occupancy value at the end of recording, Occupancy value is the MPEG
A recording medium in which address information indicating at which point of the image data the VBV buffer occupancy value is recorded is recorded.
JP2000293737A 2000-09-27 2000-09-27 MPEG image data recording apparatus and recording medium Expired - Lifetime JP3721971B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2000293737A JP3721971B2 (en) 2000-09-27 2000-09-27 MPEG image data recording apparatus and recording medium
US09/961,298 US7292782B2 (en) 2000-09-27 2001-09-25 MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
EP01122623A EP1193983A3 (en) 2000-09-27 2001-09-27 MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
US11/898,253 US8260122B2 (en) 2000-09-27 2007-09-11 MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
US11/898,251 US8131135B2 (en) 2000-09-27 2007-09-11 MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000293737A JP3721971B2 (en) 2000-09-27 2000-09-27 MPEG image data recording apparatus and recording medium

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2004099758A Division JP2004266847A (en) 2004-03-30 2004-03-30 Recording medium
JP2004099759A Division JP2004229323A (en) 2004-03-30 2004-03-30 Mpeg image data recorder

Publications (2)

Publication Number Publication Date
JP2002112182A true JP2002112182A (en) 2002-04-12
JP3721971B2 JP3721971B2 (en) 2005-11-30

Family

ID=18776478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000293737A Expired - Lifetime JP3721971B2 (en) 2000-09-27 2000-09-27 MPEG image data recording apparatus and recording medium

Country Status (1)

Country Link
JP (1) JP3721971B2 (en)

Also Published As

Publication number Publication date
JP3721971B2 (en) 2005-11-30

Similar Documents

Publication Publication Date Title
JP2000278692A (en) Compressed data processing method, processor and recording and reproducing system
US8260122B2 (en) MPEG picture data recording apparatus, MPEG picture data recording method, MPEG picture data recording medium, MPEG picture data generating apparatus, MPEG picture data reproducing apparatus, and MPEG picture data reproducing method
JPH09200695A (en) Method and device for decoding video data for high-speed reproduction
JP3748234B2 (en) MPEG data recording method
JP3721972B2 (en) MPEG image data recording method
JP2003052040A (en) Mpeg data reproduction equipment
JPH0795536A (en) Device and method for reversely reproducing moving image
JP3721971B2 (en) MPEG image data recording apparatus and recording medium
JP2004179683A (en) Picture recording system
JP2004229323A (en) Mpeg image data recorder
JP2004266847A (en) Recording medium
JP2004266846A (en) Mpeg image data recording method
JP3748243B2 (en) MPEG data recording device
JP4380068B2 (en) Data reproduction device and editing device
JP2000023096A (en) Data encoding method, decoding method and device
JP3748245B2 (en) MPEG data recording device
JP3748244B2 (en) MPEG data recording device
JP3748240B2 (en) MPEG data recording method
JP3748241B2 (en) MPEG data recording method
JP3748242B2 (en) MPEG data recording method
JP3381727B2 (en) Data playback device
JP2004297829A (en) Mpeg data reproduction equipment
JP2002305726A (en) Recording medium
JP2002305723A (en) Data recorder
JP2002305722A (en) Data generating device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050804

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050905

R151 Written notification of patent or utility model registration

Ref document number: 3721971

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20080922

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090922

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090922

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130922

Year of fee payment: 8