JP3721972B2 - MPEG image data recording method - Google Patents

MPEG image data recording method Download PDF

Info

Publication number
JP3721972B2
JP3721972B2 JP2000293738A JP2000293738A JP3721972B2 JP 3721972 B2 JP3721972 B2 JP 3721972B2 JP 2000293738 A JP2000293738 A JP 2000293738A JP 2000293738 A JP2000293738 A JP 2000293738A JP 3721972 B2 JP3721972 B2 JP 3721972B2
Authority
JP
Japan
Prior art keywords
image data
mpeg
mpeg image
value
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2000293738A
Other languages
Japanese (ja)
Other versions
JP2002112183A (en
Inventor
隆幸 菅原
誠司 日暮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2000293738A priority Critical patent/JP3721972B2/en
Priority to US09/961,298 priority patent/US7292782B2/en
Priority to EP01122623A priority patent/EP1193983A3/en
Publication of JP2002112183A publication Critical patent/JP2002112183A/en
Application granted granted Critical
Publication of JP3721972B2 publication Critical patent/JP3721972B2/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

Images

Description

【0001】
【発明の属する技術分野】
本発明は、MPEG符号化方式で圧縮された画像データであるMPEG画像データを記録媒体に記録するMPEG画像データ記録方法に関するものである。そして、この発明は特に、追加記録したMPEG画像データを再生した場合にシームレスな再生を実現可能とするMPEG画像データ記録方法を提供することを目的としている。
【0002】
【従来の技術】
まず、従来技術であるMPEGについて簡単に説明する。MPEGについてはISO-IEC11172-2、ITU-T H.262 / ISO-IEC13818-2に詳細な説明がなされているので、ここでは概略のみ説明する。MPEGは1988年、ISO/IEC 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 として成立している。
【0003】
MPEGは幾つかの技術を組み合わせて作成されている。図5に従来のMPEG符号化器を示し、以下に簡単に説明する。入力画像は動き補償予測器1で復号化した画像と、入力画像の差分とを差分器2で取ることで時間冗長部分を削減する。
【0004】
予測の方向は、過去、未来、両方からの3モード存在する。また、これらは16画素×16画素のMB(マクロブロック)ごとに切り替えて使用できる。予測方向は入力画像に与えられたピクチャタイプによって決定される。過去からの予測により符号化するモードと、予測をしないでそのMBを独立で符号化するモードとの2つのモードが存在するのがPピクチャーである。また、未来からの予測、過去からの予測、両方からの予測、独立で符号化する4つのモードが存在するのがBピクチャーである。そして、全てのMBを独立で符号化するのがIピクチャーである。
【0005】
動き補償は、動き領域をMBごとにパターンマッチングを行ってハーフペル精度で動きベクトルを検出し、動き分だけシフトしてから予測する。動きベクトルは水平方向と垂直方向が存在し、何処からの予測かを示すMC(Motion Compensation)モードとともにMBの付加情報として伝送される。
【0006】
Iピクチャから次のIピクチャの前のピクチャまでをGOP(Group Of Picture)といい、蓄積メディアなどで使用される場合には、一般に約15ピクチャ程度が一つのGOPとして使用される。
【0007】
差分画像はDCT器3において直交変換が行われる。DCT(Discrete Cosine Transform)とは、余弦関数を積分核とした積分変換を有限空間への離散変換する直交変換である。MPEGではMBを4分割し8×8のDCTブロックに対して、2次元DCTを行う。一般にビデオ信号は低域成分が多く高域成分が少ないため、DCTを行うと係数が低域に集中する。
【0008】
DCTされた画像データ(DCT係数)は量子化器4で量子化が行われる。量子化は量子化マトリックスという8×8の2次元周波数を視覚特性で重み付けした値と、その全体をスカラー倍する量子化スケールという値で乗算した値を量子化値として、DCT係数をその量子化値で叙算する。MPEG復号化器(デコーダー)で逆量子化するときは量子化値で乗算することにより、元のDCT係数に近似している値を得ることになる。
【0009】
量子化されたデータはVLC器5で可変長符号化される。量子化された値のうち直流(DC)成分は予測符号化のひとつであるDPCM(differential pulse code modulation )を使用する。また交流(AC)成分は 低域から高域にzigzag scanを行い、ゼロのラン長および有効係数値を1つの事象とし、出現確率の高いものから符号長の短い符号を割り当てていくハフマン符号化が行われる。
【0010】
可変長符号化されたデータは一時バッファ6に蓄えられ、所定の転送レートで符号化データとして出力される。また、その出力されるデータのマクロブロック毎の発生符号量は、符号量制御器21に送信され、目標符号量に対する発生符号量との誤差符号量を量子化器4にフィードバックして量子化スケールを調整することで符号量制御される。
【0011】
量子化された画像データは逆量子化器7にて逆量子化、逆DCT器8にて逆DCTされ、加算器9を介して一時、画像メモリー10に蓄えられたのち、動き補償予測器1において、差分画像を計算するためのリファレンスの復号化画像として使用される。
【0012】
このようにしてMPEG符号化された符号化データを復号化するMPEG復号化器(デコーダー)を図6に示す。
【0013】
入来する符号化データ(ストリーム)はバッファ11でバッファリングされ、バッファ11からのデータはVLD器12に入力される。VLD器12では可変長復号化を行い、直流(DC)成分および交流(AC)成分を得る。交流(AC)成分データは低域から高域にzigzag scanの順で8x8のマトリックスに配置される。このデータは逆量子化器13に入力され、量子化マトリックスにて逆量子化される。逆量子化されたデータは逆DCT器14に入力されて逆DCTされ、画像データ(復号化データ)として出力される。また、復号化データは一時、画像メモリー16に蓄えられたのち、動き補償予測器17において、差分画像を計算するためのリファレンスの復号化画像として使用される。
【0014】
また、符号化ビットストリームはビデオの場合1ピクチャーごとに可変長の符号量をもっている。これはMPEGがDCT、量子化、ハフマン符号化という情報変換を用いている理由と同時に、画質向上のためにピクチャーごとに配分する符号量は適応的に変更する必要性があり、動き補償予測を行っているので、あるときは入力画像そのままを符号化し、あるときは予測画像の差分である差分画像を符号化するなど符号化画像自体のエントロピーも大きく変化するためである。
【0015】
この場合、多くはその画像のエントロピー比率に配分しつつ、バッファの制限を守りながら符号量制御される。バッファ管理器は発生した符号量と符号化レートの関係を監視し、所定のバッファ内に収まるように目標符号量を設定する。この値は可変長符号化器にフィードバックされ、符号量制御器に入り、そこで量子化器にセットする量子化値を大きくして発生符号量を抑えたり、量子化値を小さくして発生符号量を小さくしたりする。
【0016】
このような可変長データを固定の転送レート(符号化レート)で符号化する場合、復号器の最大バッファ量を上限値とすると、一定速度でデータが入力されて、所定の値だけ溜まったとことから、所定の時刻(NTSCのビデオ信号なら1/29.97 sec単位)で復号化を一瞬で行うモデルを使用し、そのバッファがオーバーフローもアンダーフローも発生しないように符号化することがMPEGで規定されている。この規定(VBVバッファ規定)を守っていればVBVバッファ内でのレートは局部的に変化しているものの、観測時間を長く取れば固定の転送レートとなり、MPEGではこのことを固定レートであると定義している。
【0017】
固定転送レートの場合、発生符号量の少ない場合にはバッファ占有量は、上限値に張り付いた状態になる。この場合、無効ビットを追加してオーバーフローしないように符号量を増やさなければならない。
【0018】
可変転送レートの場合にはこの固定転送レートの定義を拡張して、バッファー占有率が上限値になった場合、復号器の読み出しを中止することにより、原理的にオーバーフローが起きないように定義されている。こうしたバッファ推移を図7に示す。仮に非常に発生符号量が少なくても、復号器の読み出しが中止されるので、固定転送レートの時のように無効ビットをいれる必要はない。従って、アンダーフローだけが発生しないように符号化する。
【0019】
また、従来、特開平11−74799の発明によれば、記録媒体に記録されたMPEGデータなどの圧縮データを編集する場合、MPEGデータの連続性を保つため、その編集点ではVBVバッファをつねに固定になるよう発生符号量を制御したり、GOPをクローズドGOPとして符号化するなど、連続性を考慮した符号化をおこなう方法が記載されている。
【0020】
また、特開平11−187354の発明のよれば、符号化データにはなんの制約も施さずに、そのデータの部分区間のうち、編集素材として抜粋されたデータを指示する情報とその再生順番に関する情報を記述し、記録されたデータは変更せずに、単一記録媒体に映像編集を実現できる方法が記載されている。
【0021】
【発明が解決しようとする課題】
しかしながら上記の従来の方式では、MPEG画像データは単純につなぐとVBVバッファの接続に矛盾が生じ、オーバーフローやアンダーフローがおきてしまった。また、固定長符号化の場合にはVBVの値がピクチャー単位に記述されており、画像ビットストリームを観測することで、追加記録する場合の開始点におけるVBVの開始値を計算で算出することができたが、それもMPEG圧縮データに一部を復号しなければならなかった。さらに、可変長符号化の場合には、VBVの値がシンタックスにまったく記述されないので、その圧縮データの先頭から、各ピクチャーの発生符号量を観測して計算しなければならなかった。これによって、より多くの回路と計算時間を要してしまっていた。
【0022】
特開平11−74799の発明においては、どこで編集されても良いように、各GOPに対してVBVバッファが常に固定になるよう発生符号量を制御したり、GOPをクローズドGOPとして符号化するなど、連続性を考慮した符号化制約を施すことになり、符号化効率の面では不利な要因になっていた。
【0023】
また、特開平11−187354の発明においては、あたかも編集したように再生表示はされるが、その編集点での連続性は不完全で、MPEGデータのデコーダーバッファの初期化などの一時的な静止現象がおこる可能性があった。
【0024】
本発明は、既に記録されているMPEG画像データの途中から、もしくは末尾から新たなMPEG画像データを追加記録した場合でも、再生時にVBVバッファの接続にオーバーフローやアンダーフローの矛盾が生じることなく、シームレスな再生を可能とするMPEG画像データ記録方法を提供することを目的としている。さらに、本発明は、既に記録されているMPEG画像データを復号しなくとも追加記録する場合の開始点におけるVBVの開始値がわかり、回路規模の小型化と計算時間の短縮化が図れるMPEG画像データ記録方法を提供することを目的としている。
【0025】
【課題を解決するための手段】
そこで、上記課題を解決するために本発明は、以下の記録方法を提供するものである。
(1) MPEG符号化方式で圧縮された画像データであるMPEG画像データを記録するMPEG画像データ記録方法において、
前記MPEG画像データのビットストリームにおけるIピクチャーの1フレーム前のピクチャー符号化終了時点でのVBVバッファ占有値を示す情報と、Pピクチャーの1フレーム前のピクチャー符号化終了時点でのVBVバッファ占有値を示す情報と、記録終了時点でのVBVバッファ占有値を示す情報とを生成し、
前記各VBVバッファ占有値が前記MPEG画像データのどの時点におけるVBVバッファ占有値であるかを示すアドレス情報を生成し、
前記各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画像データ記録方法。
【0026】
【発明の実施の形態】
本発明を用いれば、既に記録されているMPEG画像データの途中から、もしくは末尾から新たなMPEG画像データを追加記録した場合でも、再生時にVBVバッファの接続にオーバーフローやアンダーフローの矛盾が生じることなく、シームレスな再生を可能とする。さらに、本発明を用いれば、既に記録されているMPEG画像データを復号しなくとも追加記録する場合の開始点におけるVBVの開始値がわかり、回路規模の小型化と計算時間の短縮化が図れる。
【0027】
図1を用いて本発明の概念を説明する。記録媒体には、MPEG符号化方式で圧縮された画像データであるMPEG画像データが記録される。このMPEG画像データは、一回の記録単位で符号化生成された連続再生可能なデータが複数連続して連なったビットストリームとして記録される。
【0028】
これらの符号化されたMPEG画像データのビットストリームとは別に、MPEG画像データのビットストリームにおけるIピクチャーの1フレーム前のピクチャー符号化終了時点でのVBVバッファ値(占有値)と、Pピクチャーの1フレーム前のピクチャー符号化終了時点でのVBVバッファ値(占有値)と、記録終了時点でのVBVバッファ値(占有値)と、前記各VBVバッファ値がMPEG画像データのどの時点におけるVBVバッファ占有値であるかを示すアドレス情報(この例では、MPEG画像データのファイルのはじめからの相対アドレス)が記録される。これらのデータを含むVBVバッファ情報のデータ構造を図1に示す。
【0029】
VBVバッファ情報は階層構造をもっている。始めにエントリーポイント情報構造体があり、その後にVBV情報構造体がある。エントリーポイント情報構造体は、始めにエントリーポイント(EP)のアドレスの個数を32ビット、その後にEPn(nは1以上の自然数)アドレスを32ビットで順に記述する。EPnアドレスはVBV情報構造体のEPn情報(nは1以上の自然数)の記述されている位置を示し、このVBVバッファ情報の先頭からの相対アドレスを記述する。一方VBV情報構造体は、EP1情報から順に記述されており、EP1情報の中身は相対アドレス、PTM値、VBV値を順に記述する。
【0030】
VBV情報構造体のEPn情報における相対アドレスとは、図2のように、MPEG画像データのビットストリームにおけるIピクチャーの1フレーム前のピクチャー符号化終了時点、Pピクチャーの1フレーム前のピクチャー符号化終了時点、及び記録終了時点での、そのMPEG画像データの先頭からの相対アドレスであり、例えば単位はバイトが用いられる。ディスクメディアに記録されている場合には、相対アドレスとしてセクターなどが用いられる。
【0031】
VBV情報構造体のEPn情報におけるPTM値とは、MPEGのシステム規格(多重化規格)において、90kHzもしくは27MHzのクロックで記録されているタイムスタンプである。MPEG規格ではPTS(Presentation Time Stamp)やDTS(Decoding Time Stamp)と呼ばれている。ここでは、MPEG画像データのビットストリームのIピクチャーの1フレーム前のピクチャー符号化終了時点、Pピクチャーの1フレーム前のピクチャー符号化終了時点、及び記録終了時点での、時間情報としてDTSを記録する。DTSは1ピクチャーに1つ記録されており、NTSCのビデオ信号であれば90KHzクロックで1ピクチャにつき3003クロックの間隔で、記録されている。従って、本発明のように3ピクチャーごとにIピクチャかPピクチャが存在している場合で一番初めが0からスタートする場合には、9009、18018....という間隔でPTM情報がEPn情報に記述されることになる。
【0032】
VBV情報構造体のEPn情報におけるVBV値は、MPEGで規定されているデコーダーの仮想バッファ占有値である。MPEG画像データの1ピクチャごとの発生符号量と、転送レートの値から計算で導けるもので、図3のように、圧縮されているビットストリーム情報のIピクチャーの1フレーム前のピクチャー符号化終了時点、Pピクチャーの1フレーム前のピクチャー符号化終了時点、及び記録終了時点での(図3に示す各○印の位置での)、各VBV占有値を記述する。もしくは、前記各時点でのMPEGで規定されているVBVdelay値を記述する。この値はVBV占有値まで、そのときの転送レートでどれだけの時間がかかるかという時間に換算した値である。本発明ではVBV値はVBVバッファ占有値に関する情報であれば何であっても良い。
【0033】
MPEG圧縮では基本的にIBB、PBB、というように3フレーム単位でIかPのピクチャータイプを用いて符号化する。MPEG圧縮はBピクチャーは両方向から予測されている可能性があるので、符号化ビットストリーム順番において、ビットストリームのIピクチャー、Pピクチャーの1フレーム前のピクチャー符号化終了時点でしか、データのつなぎ追加は簡単にはできない。そのため本発明では、VBVの情報をビットストリームのIピクチャー、Pピクチャーの1フレーム前のピクチャー符号化終了時点で記述する形態をもつことに特徴がある。
【0034】
次に、本発明に基づく記録装置の一実施例の構成を図4に示し、MPEG符号化方式で画像データを符号化しながらVBVバッファ情報を作成する動作を説明をする。
【0035】
記録媒体31に符号化データがまったく無い状態、すなわち、初めて符号化する場合には、記録媒体31からのデータ読み取り部32では、データが存在していないので、データがないという情報をVBVバッファ情報検出器33に送信する。VBVバッファ情報検出器33でもデータが存在していないので、パラメータ設定器34にはあらかじめ設定した初期値、すなわちVBV値は、たとえばMPEGで規定されるVBVの最大値の80%の値とし、PTMタイムスタンプ情報は0とする。これらの初期設定値を画像符号化器35に送信する。
【0036】
画像符号化器35では、符号化を初期設定値から開始する。画像符号化器35では符号化を行いながら、ビットストリームのIピクチャーの1フレーム前、及びPピクチャーの1フレーム前のピクチャー符号化終了時点での発生符号量とPTM値、VBV値を、毎回、VBVバッファ情報作成器36へ送信する。それとともに符号化データをデータ書き込み部37へ送信する。さらに、画像符号化器35は、ユーザーが画像圧縮記録を一時停止、もしくは終了した時点での発生符号量とPTM値、VBV値を、VBVバッファ情報作成器36へ送信する。
【0037】
VBVバッファ情報作成器36では、入力された発生符号量値とPTM値とVBV値から図1に示す構造のVBVバッファ情報のデータを作成する。もしくはそのデータ構造を作成するのに必要なデータをメモリーして所定のフォーマットで記録保持する。VBVバッファ情報作成器36で作成された情報は、データ書き込み部37により符号化データ(MPEG画像データ)が記録媒体31に書き込まれているときに、同時にバースト的に書き込みを行っても良い。また、VBVバッファ情報作成器36で作成された情報は、符号化データ(MPEG画像データ)が書き込み終わったとき、すなわち、ユーザーが画像圧縮記録を一時停止、もしくは終了した後に所定のフォーマットで記録保持されていたデータから、図1の構造に変換してデータ書き込み部37により書き込みを行っても良い。
【0038】
次に、記録媒体31に前記したVBVバッファ情報と共に既に記録されている符号化データ(MPEG画像データ)に対して、その符号化データ(MPEG画像データ)における所定の位置から追加して新たな画像データを記録する場合の動作について説明する。
【0039】
記録媒体31には既に符号化ストリーム(MPEG画像データのビットストリーム)が記録されている。従って、データ読み取り部32ではVBVバッファ情報を記録媒体31から読み取り、VBV値、PTM値、相対アドレスを得る。追加記録が既に記録されている符号化ストリームの一番最後から行われる場合には、存在しているVBVバッファ情報の一番最後の値(相対アドレスが符号化ストリームの先頭から一番遠いVBVバッファ情報)を参照する。記録媒体31上において、新たなMPEG画像データが追加記録される位置は、既に記録されているMPEG画像データの記録部分に続く位置でもよいし、全く別の位置でもよい。
【0040】
既に記録されている符号化ストリームの途中からの追加書き込みを行う場合には、図示せぬ、ユーザーインターフェースから、既に記録されている画像データのどこのポイントから途中追加記録するかを指定してもらう。例えば、その指定の仕方が、データの相対アドレスの位置情報の場合には、VBVバッファ情報の構造のEPn情報内の相対アドレス情報にもっとも近い値のデータにリンクされているVBV値、PTM値を用いる。また、もし、その指定の仕方が、データの開始時刻からの時間や、追加記録されるポイントのタイムスタンプ情報であれば、同様にVBVバッファ情報の構造のEPn情報内のPTM値を用いて、この値が90KHzのクロックで記録されている場合にはその値に 1/90000秒の値を乗じることで秒の時間を得ることができ、その途中追加記録する位置(相対アドレス)とVBV値、PTM値を得ることができる。
【0041】
これらの値はパラメータ設定器34に入力され、画像符号化器35においてその設定値から符号化が開始される。(その検出したVBV値に基づきVBVバッファ制御を開始して符号化を行う。)
一方、符号化データサーチ器38では途中追加記録を開始する位置を、既に記録してあるビットストリームに対してサーチする。サーチはデータの相対アドレスを用いて、そのビットストリームファイルの頭からの位置にポインタを設定する。
【0042】
画像符号化器35では符号化を行いながら、ビットストリームのIピクチャー、Pピクチャーの1フレーム前のピクチャー符号化終了時点での発生符号量とPTM値、VBV値を、毎回、VBVバッファ情報作成器36へ送信する。それとともに符号化データをデータ書き込み部37へ送信する。さらに、画像符号化器35は、ユーザーが画像圧縮記録を一時停止、もしくは終了した時点での発生符号量とPTM値、VBV値を、VBVバッファ情報作成器36へ送信する。
【0043】
VBVバッファ情報作成器36では、入力された発生符号量値とPTM値とVBV値から図1に示す構造のVBVバッファ情報のデータを作成する。もしくはそのデータ構造を作成するのに必要なデータをメモリーして所定のフォーマットで記録保持する。VBVバッファ情報作成器36で作成された情報は、データ書き込み部37により符号化データ(MPEG画像データ)が記録媒体31に書き込まれているときに、同時にバースト的に書き込みを行っても良い。また、VBVバッファ情報作成器36で作成された情報は、符号化データ(MPEG画像データ)が書き込み終わったとき、すなわち、ユーザーが画像圧縮記録を一時停止、もしくは終了した後に所定のフォーマットで記録保持されていたデータから、図1の構造に変換してデータ書き込み部37により書き込みを行っても良い。
【0044】
新たなMPEG画像データは既に記録されているMPEG画像データの途中追加記録するポイントから、追加記録される。
【0045】
なお、既に記録されているMPEG画像データの途中部分に追加記録される新たなMPEG画像データは、記録媒体31上の既にMPEG画像データが記録されている部分に上書きされるように記録されてもよい。また、既にMPEG画像データが記録されている記録媒体31上の部分とは全く別の記録媒体31上の部分に記録されてもよい。(この場合、既に記録されているMPEG画像データ上の追加記録ポイントと新たなMPEG画像データとをリンクさせる必要がある。)
上記説明では、追加記録される新たなMPEG画像データは、既にMPEG画像データ記録されている記録媒体に記録されるものとして説明したが、記録媒体31から読み出したMPEG画像データと共に、上記の方法で別の記録媒体に記録してもよい。
【0046】
また、上記実施例では記録装置単体でのシステムとして説明したが、記録媒体は、ネットワークを介したデータベースであってもかまわない。
【0047】
【発明の効果】
以上の通り、本発明を用いれば、既に記録されているMPEG画像データの途中から、もしくは末尾から新たなMPEG画像データを追加記録した場合でも、再生時にVBVバッファの接続にオーバーフローやアンダーフローの矛盾が生じることなく、シームレスで高品位な再生を可能とする。さらに、本発明を用いれば、既に記録されているMPEG画像データを復号しなくとも追加記録する場合の開始点におけるVBVバッファ占有値の開始値がわかり、回路規模の小型化と追加記録のための処理時間の短縮化が図れる。
【図面の簡単な説明】
【図1】本発明に基づくVBVバッファ情報構造の一実施例を示す図である。
【図2】本発明におけるMPEG画像データと相対アドレスとの関係を示す図である。
【図3】 VBV値を説明する説明図である。
【図4】本発明に基づくMPEG画像データ記録装置の一実施例を示すブロック図である。
【図5】従来のMPEG符号化器の一例を示す図である。
【図6】従来のMPEG復号化器の一例を示す図である。
【図7】 MPEGにおけるVBVバッファ概念を説明するための図である。
【符号の説明】
31 記録媒体
32 データ読み取り部
33 VBVバッファ情報検出器
34 パラメータ設定器
35 画像符号化器
36 VBVバッファ情報作成器
37 データ書き込み部
38 符号化データサーチ器
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an MPEG image data recording method for recording MPEG image data, which is image data compressed by an MPEG encoding method, on a recording medium. In particular, an object of the present invention is to provide an MPEG image data recording method capable of realizing seamless reproduction when additionally recorded MPEG image data is reproduced.
[0002]
[Prior art]
First, the conventional MPEG will be briefly described. Since MPEG is described in detail in ISO-IEC11172-2 and ITU-T H.262 / ISO-IEC13818-2, only the outline will be described here. MPEG is the name of the organization that examines video coding standards established in 1988 in ISO / IEC JTC1 / SC2 (International Organization for Standardization / International Electrotechnical Standards Meeting Technical Committee 1 / Technical Committee 2, now SC29) ( Abbreviation for Moving Pictures Expert Group. MPEG1 (MPEG Phase 1) is a standard for storage media of about 1.5 Mbps, and is intended for video compression for low transfer rates of JPEG and ISDN video conferences and videophones for the purpose of still image coding. H.261 (CCITT SGXV, standardized by the current ITU-T SG15), the new technology was introduced for storage media. These were established in August 1993 as ISO / IEC 11172.
[0003]
MPEG is created by combining several technologies. FIG. 5 shows a conventional MPEG encoder, which will be briefly described below. For the input image, the difference between the image decoded by the motion compensation predictor 1 and the input image is taken by the differencer 2 to reduce the time redundant portion.
[0004]
There are three modes of prediction from the past and the future. These can be switched and used for each 16 pixels × 16 pixels MB (macroblock). The prediction direction is determined by the picture type given to the input image. A P picture has two modes: a mode in which encoding is performed by prediction from the past and a mode in which the MB is independently encoded without prediction. In the B picture, there are four modes of prediction from the future, prediction from the past, prediction from both, and independent encoding. An I picture encodes all MBs independently.
[0005]
In motion compensation, the motion region is subjected to pattern matching for each MB, a motion vector is detected with half-pel accuracy, and prediction is performed after shifting by the motion amount. The motion vector has a horizontal direction and a vertical direction, and is transmitted as additional information of the MB together with an MC (Motion Compensation) mode indicating where the motion vector is predicted.
[0006]
A group from an I picture to a picture before the next I picture is called a GOP (Group Of Picture), and when it is used in a storage medium or the like, generally about 15 pictures are used as one GOP.
[0007]
The difference image is subjected to orthogonal transformation in the DCT unit 3. DCT (Discrete Cosine Transform) is an orthogonal transformation that discretely transforms an integral transformation with 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. In general, video signals have many low-frequency components and few high-frequency components. Therefore, when DCT is performed, coefficients are concentrated in the low frequency range.
[0008]
The image data (DCT coefficient) subjected to DCT is quantized by the quantizer 4. Quantization is a quantized value obtained by multiplying the 8 × 8 two-dimensional frequency called the quantization matrix by the visual characteristic weighted by the value of the quantization scale that multiplies the whole by a scalar, and the DCT coefficient is quantized. Calculate by value. When inverse quantization is performed by the MPEG decoder (decoder), a value approximating the original DCT coefficient is obtained by multiplying by the quantized value.
[0009]
The quantized data is variable length encoded by the VLC unit 5. Among the quantized values, the direct current (DC) component uses DPCM (differential pulse code modulation) which is one of predictive coding. Also, AC (AC) components are zigzag scanned from low to high, with zero run length and effective coefficient value as one event, and Huffman coding assigning codes with short code lengths from those with high appearance probability. Is done.
[0010]
The variable-length encoded data is stored in the temporary buffer 6 and output as encoded data at a predetermined transfer rate. The generated code amount for each macroblock of the output data is transmitted to the code amount controller 21, and the error code amount with respect to the generated code amount with respect to the target code amount is fed back to the quantizer 4 to quantize the scale. The amount of code is controlled by adjusting.
[0011]
The quantized image data is inversely quantized by the inverse quantizer 7, inversely DCTed by the inverse DCT unit 8, temporarily stored in the image memory 10 via the adder 9, and then the motion compensated predictor 1. Are used as reference decoded images for calculating difference images.
[0012]
FIG. 6 shows an MPEG decoder (decoder) for decoding the encoded data encoded in this way.
[0013]
Incoming encoded data (stream) is buffered by the buffer 11, and the data from the buffer 11 is input to the VLD unit 12. The VLD unit 12 performs variable length decoding to obtain a direct current (DC) component and an alternating current (AC) component. The alternating current (AC) component data is arranged in an 8 × 8 matrix in the order of zigzag scan from low to high. This data is input to the inverse quantizer 13 and is inversely quantized by the quantization matrix. The inversely quantized data is input to the inverse DCT unit 14 and 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]
In the case of video, the encoded bit stream has a variable amount of code for each picture. This is because MPEG uses information conversion such as DCT, quantization, and Huffman coding, and at the same time, it is necessary to adaptively change the amount of code allocated to each picture to improve image quality. This is because the entropy of the encoded image itself changes greatly, such as encoding the input image as it is in some cases and encoding a difference image that is the difference between the predicted images in some cases.
[0015]
In this case, in many cases, the code amount is controlled while allocating the entropy ratio of the image and keeping the limitation of the buffer. The buffer manager monitors the relationship between the generated code amount and the encoding rate, and sets the target code amount so as to be within a predetermined buffer. This value is fed back to the variable length encoder and enters the code amount controller, where the generated code amount is suppressed by increasing the quantized value set in the quantizer or by reducing the quantized value. Or make it smaller.
[0016]
When encoding such variable-length data at a fixed transfer rate (encoding rate), if the maximum buffer amount of the decoder is the upper limit value, the data is input at a constant speed and only a predetermined value is accumulated. Therefore, MPEG is specified to use a model that performs decoding instantaneously at a predetermined time (1 / 29.97 sec unit for NTSC video signals) and encodes the buffer so that neither overflow nor underflow occurs. ing. If this rule (VBV buffer rule) is observed, the rate in the VBV buffer changes locally, but if the observation time is long, it becomes a fixed transfer rate. In MPEG, this is a fixed rate. Defined.
[0017]
In the case of a fixed transfer rate, when the amount of generated code is small, the buffer occupation amount is stuck to the upper limit value. In this case, it is necessary to increase the code amount so as not to overflow by adding an invalid bit.
[0018]
In the case of variable transfer rate, the definition of this fixed transfer rate is expanded so that when the buffer occupancy reaches the upper limit value, it is defined so that overflow will not occur in principle by stopping reading of the decoder. ing. Such a buffer transition is shown in FIG. Even if the amount of generated code is very small, reading of the decoder is stopped, so there is no need to insert invalid bits as in the case of a fixed transfer rate. Therefore, encoding is performed so that only underflow does not occur.
[0019]
Conventionally, according to the invention of Japanese Patent Laid-Open No. 11-74799, when editing compressed data such as MPEG data recorded on a recording medium, the VBV buffer is always fixed at the editing point in order to maintain the continuity of the MPEG data. There are described methods for performing coding in consideration of continuity, such as controlling the amount of generated code so that the GOP becomes equal, or coding the GOP as a closed GOP.
[0020]
Further, according to the invention of Japanese Patent Laid-Open No. 11-187354, there is no restriction on the encoded data, and the information indicating the data extracted as the editing material in the partial section of the data and the reproduction order thereof. A method is described in which information can be described and video editing can be realized on a single recording medium without changing the recorded data.
[0021]
[Problems to be solved by the invention]
However, in the conventional method described above, when MPEG image data is simply connected, a contradiction occurs in the connection of the VBV buffer, and overflow and underflow occur. In the case of fixed-length coding, the value of VBV is described in units of pictures, and by observing the image bitstream, the start value of VBV at the start point for additional recording can be calculated. It was possible, but it also had to be partially decoded into MPEG compressed data. Further, in the case of variable length coding, the value of VBV is not described in the syntax at all, so that the amount of generated code of each picture must be observed and calculated from the beginning of the compressed data. This required more circuitry and computation time.
[0022]
In the invention of Japanese Patent Laid-Open No. 11-74799, the generated code amount is controlled so that the VBV buffer is always fixed for each GOP so that it can be edited anywhere, the GOP is encoded as a closed GOP, etc. Encoding restrictions considering continuity are imposed, which is a disadvantageous factor in encoding efficiency.
[0023]
In the invention disclosed in Japanese Patent Laid-Open No. 11-187354, playback is displayed as if it had been edited, but the continuity at the editing point is incomplete, and temporary rest such as initialization of the decoder buffer of MPEG data is performed. There was a possibility that the phenomenon occurred.
[0024]
Even when new MPEG image data is additionally recorded from the middle or the end of the already recorded MPEG image data, the present invention does not cause an inconsistency in overflow or underflow in the connection of the VBV buffer during playback. It is an object of the present invention to provide an MPEG image data recording method that enables easy reproduction. Furthermore, the present invention provides MPEG image data that can be used to determine the VBV start value at the start point when additional recording is performed without decoding the already recorded MPEG image data, thereby reducing the circuit scale and the calculation time. It aims to provide a recording method.
[0025]
[Means for Solving the Problems]
In order to solve the above problems, the present invention provides the following recording method.
(1) In an MPEG image data recording method for recording MPEG image data, which is image data compressed by the MPEG encoding method,
Information indicating the VBV buffer occupancy value at the end of picture encoding one frame before the I picture in the bit stream of MPEG image data, and the VBV buffer occupancy value at the end of picture encoding one frame before the P picture And information indicating the VBV buffer occupation value at the end of recording,
Generating each address information indicating the VBV buffer occupancy value at which point of the MPEG image data each VBV buffer occupancy value;
Recording the information indicating each VBV buffer occupation value and the address information together with the MPEG image data on a recording medium,
A method for recording MPEG image data.
(2) In an MPEG image data recording method for recording MPEG image data, which is image data compressed by the MPEG encoding method,
The first MPEG image data already recorded includes information on the VBV buffer occupancy value at the end of picture encoding one frame before the I picture in the bit stream of the first MPEG image data, and 1 of the P picture. Information about the VBV buffer occupancy value at the end of picture encoding before the frame, information about the VBV buffer occupancy value at the end of recording, and each VBV buffer occupancy value at which point in time of the first MPEG image data It is recorded with address information indicating whether it is a buffer occupancy value,
When the second MPEG image data is additionally recorded from the end position of the first MPEG image data or the middle position of the first MPEG image data,
Detecting information indicating the VBV buffer occupation value corresponding to a position closest to an additional recording start position of the second MPEG image data in the first MPEG image data based on the address information;
Based on the information indicating the detected VBV buffer occupation value, VBV buffer control is started, MPEG encoding of the second image data is performed to obtain the second MPEG image data,
Recording the second MPEG image data on a recording medium;
A method for recording MPEG image data.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
Using the present invention, even when new MPEG image data is additionally recorded from the middle of the already recorded MPEG image data or from the end, there is no inconsistency in overflow or underflow in the connection of the VBV buffer during playback. , Enabling seamless playback. Furthermore, if the present invention is used, the start value of VBV at the start point when additional recording is performed without decoding the already recorded MPEG image data can be known, so that the circuit scale and the calculation time can be reduced.
[0027]
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 is continuously connected.
[0028]
In addition to the encoded MPEG image data bit stream, the VBV buffer value (occupancy value) at the end of picture encoding one frame before the I picture in the MPEG image data bit stream, and 1 P picture VBV buffer value (occupancy value) at the end of picture encoding before the frame, VBV buffer value (occupancy value) at the end of recording, and the VBV buffer occupancy value at which point in the MPEG image data each VBV buffer value Address information (in this example, a relative address from the beginning of the MPEG image data file) is recorded. A data structure of VBV buffer information including these data is shown in FIG.
[0029]
VBV buffer information has a hierarchical structure. There is an entry point information structure first, followed by a VBV information structure. In the entry point information structure, first, the number of addresses of entry points (EP) is described in 32 bits, and then an EPn (n is a natural number of 1 or more) address is described in 32 bits in order. The EPn address indicates a position where EPn information (n is a natural number of 1 or more) of the VBV information structure is described, and describes a relative address from the top of the VBV buffer information. On the other hand, the VBV information structure is described in order from the EP1 information, and the contents of the EP1 information describe the relative address, the PTM value, and the VBV value in order.
[0030]
As shown in FIG. 2, the relative address in the EPn information of the VBV information structure means the end of picture encoding one frame before the I picture in the bit stream of MPEG image data, and the end of picture encoding one frame before the P picture. This is a relative address from the beginning of the MPEG image data at the time point and at the end of recording. 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]
The PTM value in the EPn information of the VBV information structure is a time stamp recorded with a clock of 90 kHz or 27 MHz in the MPEG system standard (multiplexing standard). In the MPEG standard, it is called PTS (Presentation Time Stamp) or DTS (Decoding Time Stamp). Here, the DTS is recorded as time information at the end of picture encoding one frame before the I picture of the bit stream of the MPEG image data, 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 an NTSC video signal is recorded at an interval of 3003 clocks per picture with a 90 kHz clock. Therefore, when there is an I picture or a P picture every three pictures as in the present invention, and the first starts from 0, the PTM information is EPn information at intervals of 9009, 18018. Will be described.
[0032]
The VBV value in the EPn information of the VBV information structure is a virtual buffer occupation value of the decoder defined by MPEG. Completion of picture coding one frame before the I picture of the compressed bitstream information as shown in FIG. 3, which can be derived from the amount of generated code for each picture of MPEG image data and the transfer rate value. Each VBV occupancy value is described at the end of picture encoding one frame before the P picture and at the end of recording (at the position of each circle shown in FIG. 3). Alternatively, the VBVdelay value defined by MPEG at each time point is described. This value is a value converted to the time required for the transfer rate at that time to the VBV occupation value. In the present invention, the VBV value may be anything as long as it is information related to the VBV buffer occupation value.
[0033]
In MPEG compression, encoding is basically performed using I or P picture types in units of 3 frames such as IBB and PBB. In MPEG compression, B picture may be predicted from both directions, so in the encoded bit stream order, data linkage is added only at the end of picture encoding one frame before the I picture and P picture of the bit stream. Is not easy. Therefore, the present invention is characterized in that the VBV information is described at the end of picture encoding one frame before the I picture and P picture of the bit stream.
[0034]
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]
When there is no encoded data in the recording medium 31, that is, when encoding is performed for the first time, the data reading unit 32 from the recording medium 31 indicates that no data exists, so that information indicating that there is no data is indicated as VBV buffer information. Transmit to 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 set to, for example, 80% of the maximum value of VBV defined by MPEG. The time stamp information is 0. These initial set values are transmitted to the image encoder 35.
[0036]
The image encoder 35 starts encoding from an initial set value. In the image encoder 35, while encoding, the generated code amount, PTM value, and VBV value at the end of picture encoding one frame before the I picture of the bit stream and one frame before the P picture are Transmit to the VBV buffer information creator 36. 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 creator 36.
[0037]
The VBV buffer information creator 36 creates VBV buffer information data having the structure shown in FIG. 1 from the generated generated code amount value, PTM value, and VBV value. Alternatively, data necessary for creating the data structure is stored in memory and recorded and held in a predetermined format. The information created by the VBV buffer information creator 36 may be written in bursts simultaneously when encoded data (MPEG image data) is written on the recording medium 31 by the data writing unit 37. The information generated by the VBV buffer information generator 36 is recorded and held in a predetermined format after the encoded data (MPEG image data) has been written, that is, after the user has paused or ended the image compression recording. The written data may be converted into the structure shown in FIG.
[0038]
Next, a new image is added to the encoded data (MPEG image data) already recorded on the recording medium 31 together with the VBV buffer information from a predetermined position in the encoded data (MPEG image data). An operation for recording data will be described.
[0039]
An encoded stream (MPEG image data bit stream) 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 the VBV value, the PTM value, and the relative address. If additional recording is performed from the very end of the encoded stream already recorded, the last value of the existing VBV buffer information (the relative address is the VBV buffer farthest from the beginning of the encoded stream) Information). The position where new MPEG image data is additionally recorded on the recording medium 31 may be a position subsequent to the recording portion of the already recorded MPEG image data, or may be a completely different position.
[0040]
When performing additional writing from the middle of an encoded stream that has already been recorded, the user interface (not shown) specifies from which point of the already recorded image data the additional recording is to be performed. . For example, when the specification method is the positional 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 set. Use. Further, if the designation method is the time from the start time of the data or the time stamp information of the additionally recorded point, the PTM value in the EPn information of the structure of the VBV buffer information is similarly used, When this value is recorded with a 90 kHz clock, the value can be obtained by multiplying the value by 1/90000 second to obtain the time in seconds. The additional recording position (relative address) and VBV value, PTM value can be obtained.
[0041]
These values are input to the parameter setter 34, and the image encoder 35 starts encoding from the set values. (Based on the detected VBV value, VBV buffer control is started and encoding is performed.)
On the other hand, the encoded data search unit 38 searches the already recorded bit stream for a position where additional recording is to be started. In the search, a pointer is set at a position from the head of the bit stream file using the relative address of the data.
[0042]
In the image encoder 35, a VBV buffer information generator is generated each time the generated code amount, PTM value, and VBV value at the end of picture encoding one frame before the I picture and P picture of the bit stream while performing the encoding. 36. 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 creator 36.
[0043]
The VBV buffer information creator 36 creates VBV buffer information data having the structure shown in FIG. 1 from the generated generated code amount value, PTM value, and VBV value. Alternatively, data necessary for creating the data structure is stored in memory and recorded and held in a predetermined format. The information created by the VBV buffer information creator 36 may be written in bursts simultaneously when encoded data (MPEG image data) is written on the recording medium 31 by the data writing unit 37. The information generated by the VBV buffer information generator 36 is recorded and held in a predetermined format after the encoded data (MPEG image data) has been written, that is, after the user has paused or ended the image compression recording. The written data may be converted into the structure shown in FIG.
[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]
Note that new MPEG image data that is additionally recorded in the middle part of the already recorded MPEG image data may be recorded so as to be overwritten on the part on which the MPEG image data is already recorded on the recording medium 31. Good. Further, it may be recorded on a part on the recording medium 31 that is completely different from the part on the recording medium 31 on which 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 and the new MPEG image data.)
In the above description, the new MPEG image data to be additionally recorded has been described as being recorded on a recording medium on which MPEG image data has already been recorded. However, together with the MPEG image data read from the recording medium 31, the above method is used. You may record on another recording medium.
[0046]
In the above-described embodiment, the system is described as a single recording apparatus. However, the recording medium may be a database via a network.
[0047]
【The invention's effect】
As described above, if the present invention is used, even when new MPEG image data is additionally recorded from the middle of the already recorded MPEG image data or from the end, contradiction of overflow or underflow in the connection of the VBV buffer during playback. This makes it possible to perform seamless and high quality playback. Furthermore, if the present invention is used, the start value of the VBV buffer occupancy value at the starting point in the case of additional recording without decoding the already recorded MPEG image data can be known, and the circuit scale can be reduced and additional recording can be performed. Processing time can be shortened.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an embodiment of a VBV buffer information structure according to the present invention.
FIG. 2 is a diagram showing the relationship between MPEG image data and relative addresses in the present invention.
FIG. 3 is an explanatory diagram illustrating a VBV value.
FIG. 4 is a block diagram showing an embodiment of an MPEG image data recording apparatus according to the present invention.
FIG. 5 is a diagram illustrating an example of a conventional MPEG encoder.
FIG. 6 is a diagram illustrating an example of a conventional MPEG decoder.
FIG. 7 is a diagram for explaining the concept of a VBV buffer in MPEG.
[Explanation of symbols]
31 Recording medium 32 Data reading unit 33 VBV buffer information detector 34 Parameter setting unit 35 Image encoder 36 VBV buffer information creation unit 37 Data writing unit 38 Encoded data search unit

Claims (2)

MPEG符号化方式で圧縮された画像データであるMPEG画像データを記録するMPEG画像データ記録方法において、
前記MPEG画像データのビットストリームにおけるIピクチャーの1フレーム前のピクチャー符号化終了時点でのVBVバッファ占有値を示す情報と、Pピクチャーの1フレーム前のピクチャー符号化終了時点でのVBVバッファ占有値を示す情報と、記録終了時点でのVBVバッファ占有値を示す情報とを生成し、
前記各VBVバッファ占有値が前記MPEG画像データのどの時点におけるVBVバッファ占有値であるかを示すアドレス情報を生成し、
前記各VBVバッファ占有値を示す情報と前記アドレス情報とを前記MPEG画像データと共に記録媒体に記録する、
ことを特徴とするMPEG画像データ記録方法。
In an MPEG image data recording method for recording MPEG image data which is image data compressed by the MPEG encoding method,
Information indicating the VBV buffer occupancy value at the end of picture encoding one frame before the I picture in the bit stream of MPEG image data, and the VBV buffer occupancy value at the end of picture encoding one frame before the P picture And information indicating the VBV buffer occupation value at the end of recording,
Generating each address information indicating the VBV buffer occupancy value at which point of the MPEG image data each VBV buffer occupancy value;
Recording the information indicating each VBV buffer occupation value and the address information together with the MPEG image data on a recording medium,
A method for recording MPEG image data.
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画像データ記録方法。
In an MPEG image data recording method for recording MPEG image data which is image data compressed by the MPEG encoding method,
The first MPEG image data already recorded includes information on the VBV buffer occupancy value at the end of picture encoding one frame before the I picture in the bit stream of the first MPEG image data, and 1 of the P picture. Information about the VBV buffer occupancy value at the end of picture encoding before the frame, information about the VBV buffer occupancy value at the end of recording, and each VBV buffer occupancy value at which point in time of the first MPEG image data It is recorded with address information indicating whether it is a buffer occupancy value,
When the second MPEG image data is additionally recorded from the end position of the first MPEG image data or the middle position of the first MPEG image data,
Detecting information indicating the VBV buffer occupation value corresponding to a position closest to an additional recording start position of the second MPEG image data in the first MPEG image data based on the address information;
Based on the information indicating the detected VBV buffer occupation value, VBV buffer control is started, MPEG encoding of the second image data is performed to obtain the second MPEG image data,
Recording the second MPEG image data on a recording medium;
A method for recording MPEG image data.
JP2000293738A 2000-09-27 2000-09-27 MPEG image data recording method Expired - Lifetime JP3721972B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2000293738A JP3721972B2 (en) 2000-09-27 2000-09-27 MPEG image data recording method
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
JP2000293738A JP3721972B2 (en) 2000-09-27 2000-09-27 MPEG image data recording method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004099757A Division JP2004266846A (en) 2004-03-30 2004-03-30 Mpeg image data recording method

Publications (2)

Publication Number Publication Date
JP2002112183A JP2002112183A (en) 2002-04-12
JP3721972B2 true JP3721972B2 (en) 2005-11-30

Family

ID=18776479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000293738A Expired - Lifetime JP3721972B2 (en) 2000-09-27 2000-09-27 MPEG image data recording method

Country Status (1)

Country Link
JP (1) JP3721972B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266147B2 (en) * 2003-03-31 2007-09-04 Sharp Laboratories Of America, Inc. Hypothetical reference decoder
JP4857895B2 (en) * 2006-05-10 2012-01-18 ソニー株式会社 Information processing apparatus, information processing method, and computer program
US20100074340A1 (en) * 2007-01-08 2010-03-25 Thomson Licensing Methods and apparatus for video stream splicing

Also Published As

Publication number Publication date
JP2002112183A (en) 2002-04-12

Similar Documents

Publication Publication Date Title
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
JP2000278692A (en) Compressed data processing method, processor and recording and reproducing system
JP3147792B2 (en) Video data decoding method and apparatus for high-speed playback
JP3748234B2 (en) MPEG data recording method
JP3721972B2 (en) MPEG image data recording method
JP3721971B2 (en) MPEG image data recording apparatus and recording medium
JP2003052040A (en) Mpeg data reproduction equipment
JP3381630B2 (en) Data generation method
JP2004179683A (en) Picture recording system
JP3748243B2 (en) MPEG data recording device
JP4380068B2 (en) Data reproduction device and editing device
JP2004266847A (en) Recording medium
JP2004266846A (en) Mpeg image data recording method
JP2004229323A (en) Mpeg image data recorder
JP3748245B2 (en) MPEG data recording device
JP3748244B2 (en) MPEG data recording device
JP3748242B2 (en) MPEG data recording method
JP3748241B2 (en) MPEG data recording method
JP3748240B2 (en) MPEG data recording method
JP3381727B2 (en) Data playback device
JP3381725B2 (en) Data recording device
JP3381723B2 (en) Data generator
JP3381724B2 (en) Data recording method
JP2001195840A (en) Method for recording data, edition method, edition device and recording medium
JP3381728B2 (en) recoding media

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

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