JP3568227B2 - Compressed moving image data recording medium and reproducing apparatus therefor - Google Patents

Compressed moving image data recording medium and reproducing apparatus therefor Download PDF

Info

Publication number
JP3568227B2
JP3568227B2 JP1728694A JP1728694A JP3568227B2 JP 3568227 B2 JP3568227 B2 JP 3568227B2 JP 1728694 A JP1728694 A JP 1728694A JP 1728694 A JP1728694 A JP 1728694A JP 3568227 B2 JP3568227 B2 JP 3568227B2
Authority
JP
Japan
Prior art keywords
image
data
compressed
image data
reproduction
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 - Fee Related
Application number
JP1728694A
Other languages
Japanese (ja)
Other versions
JPH07226918A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP1728694A priority Critical patent/JP3568227B2/en
Publication of JPH07226918A publication Critical patent/JPH07226918A/en
Application granted granted Critical
Publication of JP3568227B2 publication Critical patent/JP3568227B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【0001】
【産業上の利用分野】
この発明は、単一画像データの圧縮をその画像データのみで行った画像単位内圧縮データと、他の画像データを参照することにより圧縮を行った画像単位間圧縮データとを折り混ぜて用いた圧縮画像データを記録した記録媒体、及びこれらの記録媒体に記録されたデータの早送りや巻戻し再生等の高速再生を行う圧縮動画像データ再生装置に関するものである。
【0002】
【従来の技術】
MPEG(Motion Picture Coding Expert Group;ISO 11172(MPEG1)、ISO 13818(MPEG2))方式に代表される画像単位内圧縮と他の画像データを参照することによる画像単位間圧縮を用いて圧縮を行なった画像圧縮データの再生装置における早送りや巻戻しの高速再生を行なう方法としては、種々の方法が提案されている。
【0003】
その代表的なものとしては、特開昭63−310293号公報で開示された画像単位内圧縮された圧縮画像データのみを復号、再生する技術がある。これは、画像単位内圧縮データは、その圧縮データのみで画像の再生が可能なため、この画像データのみを再生し、画像単位間圧縮された画像データを間引くことにより、結果的に早送再生や巻戻再生を行なうものである。この様子を図4に示す。
【0004】
図4は画像単位内圧縮と画像単位間圧縮を用いて圧縮を行う圧縮方式を用いた画像データの説明図である。
【0005】
図4において、201,204,207は画像単位内圧縮された画像データ、即ち、画像単位内圧縮データである。それ以外の202,203、205,206、208,209は画像単位間圧縮された画像データ、即ち、画像単位間圧縮データを示している。この画像データのうち、各画像データのみで再生が可能なデータは画像単位内圧縮データ201,204,207だけである。それ以外の画像は、他の画像を参照することにより圧縮が行われており、まず、画像単位内圧縮データ201,204,207を復号し、この画像データ201,204,207を基に画像の復号を行うことになる。
【0006】
したがって、MPEG方式に代表される画像単位内圧縮と他の画像データを参照することによる画像単位間圧縮を用いて圧縮を行なった画像圧縮データの再生装置においては、画像単位内圧縮データ201,204,207を復号する必要がある。図4に示す実施例においては、これらの画像データ201,204,207のみを再生すれば、3画像に1回の再生が行なわれることになり、これを通常の出力速度(例えば、NTSC方式では1/30秒)で画像を出力すれば、3倍速で再生が行なわれることになる。
【0007】
早送りや巻戻しの特殊再生を行う従来の再生装置の例を図5に示す。
【0008】
図5は従来の画像単位内圧縮と画像単位間圧縮を用いて圧縮を行った圧縮画像データの高速再生装置の全体ブロック構成図である。
【0009】
図5において、601は画像単位内圧縮と他の画像からの参照を用いて画像単位間圧縮を行うことによって圧縮した画像データを記録した光磁気ディスク、光ディスク、磁気ディスク、磁気テープ等からなる記録媒体であり、602はその記録媒体601から画像データを読出す記録媒体読出手段である。603はこの読出された画像データから画像単位内圧縮データのみを検出する画像単位内圧縮データ検出手段である。ここで、記録媒体読出手段602が読出した画像データaは画像単位間圧縮データも含んだもので、高速再生を行う場合には、画像単位内圧縮データ検出手段603の出力bは画像単位内圧縮データのみとなる。これを、バッファメモリ604を介して、605の画像単位内圧縮データの復号手段、即ち、圧縮画像データ復号手段に送り、その画像単位内圧縮データが復号される。復号された画像データcは、画像出力手段606に送られ、画像として出力される。
【0010】
これらの高速再生指示は、607の特殊再生指示手段から出されることになり、これに従って記録媒体読出手段602による記録媒体601からの画像データの高速の読出し、逆方向への高速読出しや、画像単位内圧縮データ検出手段603により画像データ抽出が行われることになる。
【0011】
早送再生や巻戻再生といった特殊再生を行う際には、再生出力する画像の出力回数が問題となる。MPEG方式に代表される画像単位内圧縮と他の画像データを参照することによる画像単位間圧縮とを折り混ぜて用いることにより圧縮を行った方式によって、得られた画像データを高速再生する場合には、画像単位内圧縮画像データだけを再生したり、或いは、その他の復号が容易な画像だけを再生するといった手法が用いられることになる。しかし、これらの圧縮画像データはその記録媒体上の存在位置や、時間軸上の存在位置が一定していないため、画像単位内圧縮データと画像単位間圧縮データの再生は必ずしも均一回数づつ再生を行うとは限らず、またこれらを均一に再生しなくてもよい場合も存在する。このため、効率的な高速再生を行うには、現在再生しようとしている画像が何回再生出力されるべきであるのかを知る必要がある。これを図6を用いて説明する。
【0012】
図6は画像単位内圧縮データと画像単位間圧縮データの3倍速再生の場合の説明図である。
【0013】
図6において、記録媒体の記録データの画像単位内圧縮データ302と画像単位内圧縮データ303の間は、画像単位間圧縮データの5画像分の時間的な空きが存在し、また、画像単位内圧縮データ301と画像単位内圧縮データ302の間は、1画像分の時間的な空きが存在している。このため、画像単位内圧縮データ301の再生から次に復号再生可能な画像303が復号されるまでは7画像分の時間的な空きが存在し、3倍速再生では画像単位内圧縮データ302の画像を2回出力することが必要になる。従来の方法では、その画像出力回数は、次に復号が可能な画像データを検索するまで、継続してその画像データの画像出力が行われ、次に復号可能な画像データを検索すると、同時にそれまでの画像出力をやめるという制御が必要であった。
【0014】
このように、従来の方法では、その画像出力回数が不定のため、次の再生可能な画像が復号されるまで繰返し特定の画像データの再生を続け、特に、再生が不要になるまで復号、再生を行うものであるから、必要な画像データの再生ができない事態も発生する可能性があった。この様子を図7を用いて更に詳述する。
【0015】
図7は画像単位内圧縮データと画像単位間圧縮データの10倍速再生の場合の説明図である。
【0016】
図7において、401乃至406は、早送りや巻戻しの特殊再生が可能な画像単位内圧縮データである。この例では、10倍速で早送再生を行う場合を示している。この場合、画像単位内圧縮データ401の復号再生を行った後、10倍速のためにその10画像先である画像データ403を、復号から2画像分の時間遅れで再生することが望ましい。これによって、10画像先の位置において、画像データ403が時間的過去に位置する画像データのうちで、最も近い位置にあるため、この画像を再生することにより、最もこの条件の早送再生に適した画像が出力されることになる。このため、この画像データ402は無視され、復号、再生が行われない。また、同様にして、画像データ404も再生が行われず、これらの画像データは復号、再生が不要であることが分かる。
【0017】
しかし、従来の画像単位内圧縮データだけを再生する方法では、画像単位内圧縮データ402,404も同様に復号され、画像として出力されることになる。このため、特に、高速の特殊再生の場合には、その次に本来復号するべきである画像単位内圧縮データ403,405の復号が遅れる場合には、その復号が間に合わず、復号できない場合も生じてしまう可能性があった。
【0018】
【発明が解決しようとする課題】
前述で説明した従来の方法では、MPEG方式に代表される画像単位内圧縮と他の画像データを参照することによる圧縮を行った画像単位間圧縮データを記録した記録媒体を再生する画像データ再生装置において、その画像出力回数は、次の復号可能な画像データが検索されるまで継続して同一画像データを繰返し、それを再生出力することにより与えられるから、画像単位内圧縮データ検出手段603と特殊再生指示手段607で複雑なデータのやりとりを必要としていた。また、高速再生においても、再生可能な全ての画像単位間圧縮データを復号してしまうため、復号不要な画像データまでも復号し、その信号処理速度の遅れからその他の必要な画像の復号ができなくなるという可能性があった。
【0019】
そこで、本発明は、特殊再生を行っているときに、その画像の復号の要、不要及び必要な画像データのみの再生を可能にする圧縮画像データ記録媒体とその再生装置の提供を課題とするものである。
【0020】
【課題を解決するための手段】
請求項1にかかる圧縮動画像データ再生装置は、画像データの圧縮をその画像データのみで行った画像単位内圧縮データと、画像データの圧縮を他の画像データを参照することにより行った画像単位間圧縮データとを、画像単位で配列して記録し、前記画像単位内圧縮データに、次に配列された画像単位内圧縮データまでの画像数に関する情報を付加して記録した圧縮動画像データ記録媒体から、圧縮画像データの高速読出しが可能な読出手段と、正方向または逆方向に高速再生を行う場合に画像単位内圧縮データのみを復号手段に入力する復号可能データ検出手段と、前記復号手段からの画像データを出力する画像出力手段を有する圧縮動画像データ再生装置において、前記圧縮動画像データ記録媒体に記録された画像の高速再生を行う場合、所定画像の再生に際して、次に配列された画像単位内圧縮データまでの画像数[n d ]を検出する画像数データ検出手段と、直前に再生した画像データの出力回数演算時に生じた切上げに要した加算値[F n-1 ]を記憶する切上数記憶手段と、前記切上数記憶手段から読出された加算値[F n-1 ]と、再生の倍速度[S]を用いて、次式を演算し、
n =R ound {(n d −F n-1 )/S}
n =S−S urplus {(F n-1 +n d )/S}
(但し、R ound は切上げを意味し、S urplus は剰余を意味する。)
それによって得た整数値[I n ]及び切上値[F n ]の値を求め、前記切上値を前記切上値記憶手段に記憶する演算手段と、前記演算手段の整数部[I n ]出力を画像出力手段の出力回数として与える制御手段とを具備するものである。
【0022】
請求項にかかる圧縮動画像データ再生装置は、請求項に記載の圧縮動画像データ再生装置において、整数値[In ]が零のとき、復号の停止を復号手段に指示する判別手段を具備するものである。
【0023】
【作用】
請求項1においては、MPEG方式に代表される画像単位内圧縮と他の画像データを参照することによる画像単位間圧縮を用いて圧縮された画像データを記録し、前記画像単位内圧縮データ内に、次に配列された画像単位内圧縮データまでの画像数に関する情報を付加して記録した圧縮動画像データ記録媒体を再生する圧縮動画像データ再生装置において、早送りや巻戻しの高速再生を行う場合、その画像の画像出力回数が確定され、その回数分だけの画像が出力される。
【0025】
請求項においては、請求項1に記載の圧縮動画像データ再生装置において、早送りや巻戻しの高速再生を行う場合、復号再生の要不要が確定され、必要な画像のみ復号される。
【0026】
【実施例】
以下、本発明の実施例について説明する。
【0027】
図1は本発明の一実施例の圧縮動画像データ再生装置の全体構成図である。
【0028】
図1において、101はMPEG方式に代表される画像単位内圧縮と他の画像データを参照することによる画像単位間圧縮を用いて圧縮を行った圧縮画像データを記録した記録媒体であり、102はその読出手段である。これらの記録媒体101としては、光磁気ディスク、光ディスク、磁気ディスク、磁気テープからなり、また、ネットワーク上に存在するこれらの記録媒体101を用いて読出手段102を用いて画像データを読出す手段も含まれる。なお、本実施例のような圧縮方法を用いるものとしては、MPEG方式の他に、CCITT勧告H.261 と呼ばれるテレビ電話の規格が用いられるものがある。
【0029】
ここで、特に、MPEG方式における画像単位内圧縮データの検索方法について説明する。
【0030】
これは画像データ中における画像単位内圧縮データから次の画像単位内圧縮データまで画像データ列を、画像データ内で単独で再生が可能な単位として、MPEG方式ではGOP(Group of Picture)と呼んでいる。その先頭には、GOP header というデータ列が付加されており、GOPの先頭は前述の通り画像単位内圧縮データとなっているため、このヘッダ(GOP header )を検出することにより、次に読出される画像圧縮データが画像単位内圧縮データであるか判別できる。また、このヘッダが検出されない場合、例えば、このGOP header の途中からデータの読出しが始まった場合においても、画像圧縮データのヘッダを検出することにより画像単位内圧縮データを判別できる。即ち、MPEG方式では、それぞれの画像圧縮データのヘッダ中には、Picture coding type と呼ばれる画像の符号化種別を示す符号が付加されている。この中に画像単位内圧縮データ(I Picture)であるデータも含まれているため、これを検出することにより、画像単位内圧縮データを検出することが可能になる。
【0031】
特に、本実施例の圧縮動画像データ記録媒体は、画像データの圧縮をその画像データのみで行った画像単位内圧縮データと、画像データの圧縮を他の画像データを参照することにより行った画像単位間圧縮データとを、画像単位で配列して記録した記録媒体101において、画像単位内圧縮データを記録した領域中に、次に配列された画像単位内圧縮データを記録した領域までに画像数が何枚あるかに関する情報が含められ、当該画像単位内圧縮データの画像記録領域に対応するトラックに記録されている。
【0032】
当然ながら、これらの圧縮画像データ間の画像数は、これらの復号可能な圧縮画像データの間に記録された圧縮画像データの数を、その高速再生において再生可能な圧縮画像データの所定の領域、例えば、そのユーザ領域等に記録しておいてもよい。
【0033】
特に、MPEG方式では、前述のGOPヘッダの内部にユーザデータ領域(User data )が設けられており、このユーザデータ領域は自由に設定してよい領域であるから、ここに複製開始位置のデータを付加することが可能である。また、各画像のヘッダにもGOPと同様にユーザデータ領域が設けられており、ここにも複製開始位置のデータを付加することが可能である。
【0034】
103は読出手段102を用いて読出した特定の画像単位内圧縮データから次の画像単位内圧縮データまでの画像枚数を判断する画像数データ検出手段、104は圧縮画像データを復号する復号手段、105は画像データを画像として出力する画像出力手段、108は早送りであれば正方向または巻戻しであれば逆方向等の特殊再生の指示を行う特殊再生指示手段、111は読出手段102を用いて読出した圧縮画像データのうち、そのまま復号可能な圧縮データを検出する復号可能データ検出手段、112はバッファメモリである。
【0035】
103は画像数データ検出手段で、現在の所定画像の再生に際して、次に配列された画像単位内圧縮データを記録した領域までの画像数[nd ]を検出するもので、通常、記録媒体101の画像単位内圧縮データの画像記録領域に対応するトラックに書込まれている画像数[nd ]を読込む。106は直前に再生した画像データの出力回数演算時に生じた切上げに要した加算値[Fn−1 ]を記憶する切上数記憶手段、110は画像数データ検出手段103の出力、切上数記憶手段106の加算値[Fn−1 ]出力と、特殊再生指示手段108で指示する再生の倍速度[S]を用いて、
In =Round{(nd −Fn−1 )/S} ・・・・・(1)
(但し、Roundは切上げを意味する。)
の式で演算し、整数値[In ]を求める切上演算手段である。また、113は切上演算手段110の演算結果により、
Fn =S−Surplus{(Fn−1 +nd )/S} ・・・・・(2)
(但し、Surplusは剰余を意味する。)
の式で演算し、切上値[Fn ]を得る余剰演算手段である。
【0036】
そして、107は判別手段で、整数値[In ]が零のとき、復号の停止を復号手段に指示するものである。また、114は切上演算手段110からの整数部[In ]出力を画像出力手段105の出力回数として与える制御手段である。
【0037】
まず、一般の再生の場合の圧縮画像データの流れを説明する。
【0038】
通常、再生の場合には、読出手段102を用いて読出した圧縮画像データは、画像数データ検出手段103を通過し、そのまま復号可能データ検出手段111を通り、また、バッファメモリ112を介して全ての圧縮画像データが復号手段104に入力される。そして、全ての圧縮画像データが復号され、画像出力手段105から全ての画像が出力されることになる。
【0039】
次に、特殊再生の場合の圧縮画像データの流れを説明する。
【0040】
特殊再生の場合には、特殊再生指示手段108で指示し、この指示は読出手段102、画像数データ検出手段103、復号可能データ検出手段111に対して行われる。また、切上演算手段110に対し、その再生速度の通常再生との比S、即ち、倍速度(S)が指示される。読出手段102は早送りであれば正方向、巻戻しであれば逆方向の圧縮画像データを高速で復号手段104に出力する必要があるから、高速読出しを行う。
【0041】
ここで、本実施例で使用する高速読出しの技術について説明する。
【0042】
まず、読出手段102自体の読出しを高速にする方法を採用することができる。例えば、記録媒体101がディスク媒体等であった場合、その高速回転によって高速読出しを行う方法である。これはピックアップ等の読出しの機器の性能にその速度が依存することになり、これにより高速再生の速度が制限されることになる。
【0043】
また、ピックアップ等をディスク上でトラックジャンプをさせることにより、そのデータ内の復号が容易な圧縮画像データのみを出力する方法を採用してもよい。この場合には、復号可能データ検出手段111から読出しの指示(a)が出力されることになる。これは、ディスクの読出手段102を、例えば、早送りの場合にはディスクの外周に向けて通常再生よりも速い速度で移動させ、データの中から、画像単位内圧縮データのみを読出すまでピックアップサーボのトラッキングを続け、その場合に読出された画像単位内圧縮データを再生するという方法である。更に、読出しのアドレスを予め与える方法もある。この方法は、それぞれの早送りや巻戻しに適した圧縮画像データのアドレスが与えられるから、その位置への高速の読出手段102の移動が可能であれば非常に高速の再生が可能になる。この方法としては、特開平4−328375号公報において、画像単位内圧縮データの記録番地データやフレーム番号、フィールド番号をディスクの所定の領域に記録するという手段を用いることが可能である。また、特開平5−30454号公報に記載されているように、記録媒体101上に画像単位内圧縮データの番地データ及び前後に位置するグループオブピクチャヘッダの番地データ及び前後に位置するシーケンスヘッダの番地データを記録するという手段を用いてもよい。これらの値を用いることにより、その読出手段102が高速の読出位置移動が可能であれば、高速再生の圧縮画像データを得ることができる。
【0044】
このようにして、記録媒体101から読出手段102によって読出された圧縮画像データは、画像数データ検出手段103を用いて高速再生において復号可能な画像単位内圧縮データを検出する復号可能データ検出手段111により、例えば、画像単位内圧縮データのみを検出する。そして、この圧縮画像データのみを出力し、その圧縮画像データが復号手段104に入って復号される。この画像単位内圧縮データを画像出力手段105に入力し、画像が出力される。
【0045】
次に、画像出力手段105を制御する画像出力回数の設定方法について説明する。
【0046】
まず、高速再生を行う際の一枚目の画像の出力回数について説明する。
【0047】
この場合、その圧縮画像データの出力回数は、次の高速再生において再生可能な圧縮画像データまでの画像数[nd ]によって決まる。この値を記録媒体101内の高速再生で復号、出力が可能な圧縮画像データを記録したデータ中に記録しておけば、その数値を読込むことにより、出力回数が容易に決定できることになる。
【0048】
一枚目の画像では、この値を倍速度で除算した値がそのまま出力回数となる。ただし、この場合には除算結果は必ずしも整数になるとは限らず、剰余値が残る場合もありうる。この場合には、その数値を切上げ、この値を画像の出力回数とする。そして、切上げるために加算した数を、次の再生可能な画像の出力回数を求める場合に用いることになる。2枚目以降の画像では、この値を記録媒体101から読出された次の高速再生において再生可能な画像までの画像数[nd ]から減算し、それを倍速度で除算する。そして得られた値を切上げ、この値を画像の出力回数とする。そして、切上げるために加算した数を、次の再生可能な画像の出力回数を求める場合に用いることになる。この様子を図2を用いて説明する。
【0049】
図2は本発明の実施例の圧縮動画像データ再生装置による画像単位内圧縮データと画像単位間圧縮データの2倍速再生の場合の説明図である。
【0050】
図2において、501,502,503は画像単位内圧縮データであり、それ以外の圧縮画像データは画像単位間圧縮データである。図2では復号から再生までの時間は無視して考えるものとする。即ち、図2の下部に示した画像データ列内の圧縮画像データは、丁度、図2の上部に示した時間で出力可能とする。ここで、2倍速再生を行い、画像単位内圧縮データのみを復号、再生することにする。圧縮画像データ501を例にとると、次の画像単位内圧縮データ502までの画像数[nd ]は「3」となる。2倍速再生(「S=2」)であるから演算結果は「1.5」となり、この圧縮画像データの出力回数「In =2」となる。図2では2回の圧縮画像データ501の出力が行われている。次に、圧縮画像データ502では圧縮画像データ502の丁度上にあたる出力時間に圧縮画像データの出力が可能であるが、直前に再生を行った圧縮画像データ501が丁度1画像分前で再生が行われているため、2倍速では1圧縮画像データ後から再生することとなる。これは、図2に示す期間[Fn−1 ]に、直前の圧縮画像データ再生の時間が重なっていることになる。そして、重なっている期間とは、切上げで用いた加算画像数分の期間であり、この場合は1画像分ということになる。このため、期間[Fn−1 ]の領域を画像単位内圧縮データ502から次に配列された画像単位内圧縮データ503を記録した領域までの画像数[nd ]から減算した値、この間に画像単位内圧縮データ502の圧縮画像データの出力が求められるため、これを2倍速度で除算し、得られた結果を切上げることにより画像単位内圧縮データ502の画像出力回数が決定される。ここで画像数[nd ]は「6」であり、倍速度[S]は「2」、画像単位内圧縮データ501の切上げに要した画像数が「1」であるため、「5」を「2」で除算し、切上げた結果は「3」となる。このため、画像単位内圧縮データ502は3回出力されることになり、切上げに要した画像数[nd ]が「1」となる。そして、前に再生した圧縮画像データと同様に、切上げに要した数を記憶し、次の再生可能な圧縮画像データの出力回数の決定に用いることになる。
【0051】
また、この出力回数の値が零であった場合には、その圧縮画像データの復号が必要なくなることになる。特に、画像単位内圧縮データのみを復号再生することにより、その圧縮画像データを得ている場合には、各圧縮画像データはそれぞれその圧縮画像データのみで復号が可能であるため、この場合に前述した値が零であれば、その圧縮画像データは復号の必要がなくなることになる。これらの判断を利用することにより、高速再生時の復号手段104の効率的な動作が可能になる。
【0052】
この方法における各手段への指示の流れを図1を用いて説明する。
【0053】
まず、各圧縮画像データの流れは前述した復号の流れで述べた。ここで、圧縮画像データ以外に、記録媒体101から得られる圧縮画像データとして、次に復号可能な圧縮画像データまでの画像数[nd ]を得ることになる。この値は切上演算手段110に入力される。そして、直前に再生した圧縮画像データの切上げ数が切上数記憶手段106に記憶されているため、これらの値[Fn−1 ]、[nd ]、そして特殊再生指示手段108から得られた高速再生の倍速度[S]を用いて、切上演算手段110により出力回数の演算が前述の(1)及び(2)式で行われる。この計算結果が[In ]となり、この回数分だけ圧縮画像データの出力が行われればよいことになる。これが、制御手段114に入力され、制御手段114は画像出力手段105の出力回数を制御し、この回数分だけの圧縮画像データ出力が行われる。そして、圧縮画像データの復号は、圧縮画像データを複数回出力する場合においても、1回のみ行えばよい。また、ここでは、画像出力回数[In ]が零であるかどうかを判定し、その復号の要・不要の判断を与えることが可能である。この場合、例えば、画像単位内圧縮データのみを再生することにより高速再生を実現しているとすれば、画像出力回数[In ]が零であれば復号を行う必要がない。そして、その剰余数が演算されるために、この値を倍速度から減算することにより、切上げに要した値を求めることができる。この値を、次の再生が可能な圧縮画像データを再生する際に用いることにより、次の再生が可能な圧縮画像データの出力回数を決定することができる。この画像出力回数は、復号の要・不要の判断及び画像出力回数[In ]を簡単に与えることが可能になる。
【0054】
図3は本発明の他の実施例の圧縮動画像データ再生装置の動作を示すフローチャートである。特に、本実施例においては、画像数データ検出手段103、切上数記憶手段106、判別手段107、特殊再生指示手段108、切上演算手段110、復号可能データ検出手段111、余剰演算手段113、制御手段114をマイクロコンピュータに置換した場合等に適用される。
【0055】
まず、ステップS1で高速再生を指示する。このとき、特定の画像[Hn]、高速再生の倍速度[S]を設定する。ステップS2で該当画像[Hn]の画像単位内圧縮データを検索し、ステップS3で該当画像[Hn]の画像単位内圧縮データから次の画像[Hn+1]までの画像数[nd ]を読込み、ステップS4でメモリMの値に画像数[nd ]を加算し、それをメモリMの値とする。即ち、このルーチンに入った所期にはメモリMの値がゼロであり、その後は余剰数となる。ステップS5でメモリMの値が高速再生の倍速度[S]以上か判定し、大きいとき、ステップS6でその画像[Hn]を出力し、ステップS7でメモリMの値から高速再生の倍速度[S]を減算し、その値を再度、メモリMの値に設定する。そして、ステップS5乃至ステップS7のルーチンを繰返し実行する。ステップS5でメモリMの値が高速再生の倍速度[S]以上でなくなったとき、ステップS8で画像を次の画像に変更すべくnをn+1とし、画像単位内圧縮データから次の画像[Hn+1]から次の画像[Hn+2]までの画像数[nd ]を読込む、ステップS2からのルーチンを繰返し実行する。
【0056】
なお、本実施例ではメモリMの値から高速再生の倍速度[S]の値を減算しているが、メモリMの値を倍速度[S]で除して、計算の結果得られた値を切り上げた回数分、同一画面の繰返し出力を行うことによっても実現可能である。
【0057】
このように、本実施例の圧縮動画像データ再生装置は、画像データの圧縮をその画像データのみで行った画像単位内圧縮データと、画像データの圧縮を他の画像データを参照することにより行った画像単位間圧縮データとを、画像単位で配列して記録し、また、画像単位内圧縮データを記録した領域中に、次に配列された画像単位内圧縮データを記録した領域までの画像数[nd ]を付加して記録した圧縮動画像データ記録媒体101から圧縮画像データの高速読出しが可能な読出手段102と、正方向または逆方向に高速再生を行う場合に画像単位内圧縮データのみを復号手段104に入力する復号可能データ検出手段111と、前記復号手段104からの画像データを出力する画像出力手段105を有する圧縮動画像データ再生装置において、記録媒体101に記録された画像の高速再生を行う場合、所定画像の再生に際して、次に配列された画像単位内圧縮データを記録した領域までの画像数[nd ]を検出する画像数データ検出手段103と、直前に再生した画像データの出力回数演算時に生じた切上げに要した加算値[Fn-1 ]を記憶する切上数記憶手段106と、切上数記憶手段106から読出された加算値[Fn-1 ]と、再生の倍速度[S]を用いて、前記(1)式及び(2)式での整数値[In ]を求める切上演算手段110と、切上値[Fn ]の値を求める剰余演算手段113と、前記切上演算手段110の整数部[In ]出力を画像出力手段105の出力回数として与える制御手段114とを具備するもので、これを請求項の実施例とすることができる。
【0058】
したがって、圧縮画像データを記録した記録媒体101を再生する圧縮動画像データの特殊再生において、正方向または逆方向の高速再生を行うときに、所定の再生しようとする圧縮画像データの復号の有無、画像出力回数を瞬時に判定することができ、これにより、不要な画像データの復号の必要がなくなり、また、画像出力回数が簡単な計算で与えられることにより、簡素化が可能になり、的確な高速再生画像を得ることができる。
【0059】
ところで、上記実施例の切上演算手段110と剰余演算手段113は、別な構成によって処理しているが、本発明を実施する場合には、両者の演算をマイクロコンピュータ等からなる1つの演算手段に置換することができる。当然、加算値[Fn−1 ]を記憶する切上数記憶手段106は、そのマイクロコンピュータ等のメモリとすることができる。
【0060】
【発明の効果】
以上のように、請求項1の圧縮動画像データ再生装置においては、MPEG方式に代表される画像単位内圧縮と他の画像データを参照することによる画像単位間圧縮を用いて圧縮された画像データを記録し、前記画像単位内圧縮データ内に、次に配列された画像単位内圧縮データまでの画像数に関する情報を付加して記録した圧縮動画像データ記録媒体を再生する圧縮動画像データ再生装置において、早送りや巻戻しの高速再生を行う場合、その画像の画像出力回数が確定され、その回数分だけの画像が出力される。したがって、特殊再生を行う場合に、この画像数を倍速度で除算した値から、前回再生した画像に関する演算時の切上に要した数を減算し、その演算結果の切上後整数部を必要再生出力回数とし、その回数分を再生出力とするものであるから、正方向または逆方向の高速再生を行うときに、所定の再生しようとする圧縮画像データの復号の有無、画像出力回数を瞬時に判定することができ、これにより、不要な画像データの復号の必要がなくなり、また、画像出力回数が簡単な計算で与えられることにより、簡素化が可能になり、的確な高速再生画像を得ることができる。
【0062】
請求項の圧縮動画像データ再生装置においては、請求項の圧縮動画像データ再生装置において、早送りや巻戻しの高速再生を行う場合、復号再生の要不要が確定され、必要な画像のみ復号される。特に、画像出力回数が零であった場合に、その圧縮画像データの復号の停止を復号器に指示することができ、他の制御を行なう必要性がなくなり、高速化に対応できる。
【図面の簡単な説明】
【図1】図1は本発明の一実施例の圧縮動画像データ再生装置の全体構成図である。
【図2】図2は本発明の実施例の圧縮動画像データ再生装置による画像単位内圧縮デーやと画像単位間圧縮データの2倍速再生の場合の説明図である。
【図3】図3は本発明の他の実施例の圧縮動画像データ再生装置の動作を示すフローチャートである。
【図4】図4は画像単位内圧縮と画像単位間圧縮を用いて圧縮を行う圧縮方式を用いた画像データの説明図である。
【図5】図5は従来の画像単位内圧縮と画像単位間圧縮を用いて圧縮を行った圧縮画像データの高速再生装置の全体ブロック構成図である。
【図6】図6は画像単位内圧縮データと画像単位間圧縮データの3倍速再生の場合の説明図である。
【図7】図7は画像単位内圧縮データと画像単位間圧縮データの10倍速再生の場合の説明図である。
【符号の説明】
101 記録媒体
102 読出手段
103 画像数データ検出手段
104 復号手段
105 画像出力手段
106 切上数記憶手段
107 判別手段
108 特殊再生指示手段
110 切上演算手段
111 復号可能データ検出手段
113 余剰演算手段
114 制御手段
[0001]
[Industrial applications]
The present invention uses a mixture of compressed data within an image unit in which single image data is compressed using only the image data and compressed data between image units which is compressed by referring to other image data. The present invention relates to a recording medium on which compressed image data is recorded, and a compressed moving image data reproducing apparatus for performing high-speed reproduction such as fast-forward or rewind reproduction of data recorded on these recording media.
[0002]
[Prior art]
Compression was performed by using compression within an image unit represented by the MPEG (Motion Picture Coding Expert Group; ISO 11172 (MPEG1), ISO 13818 (MPEG2)) system and compression between image units by referring to other image data. Various methods have been proposed as a method of performing high-speed reproduction such as fast-forward or rewind in a reproduction apparatus of image compression data.
[0003]
As a typical example, there is a technique disclosed in JP-A-63-310293, which decodes and reproduces only compressed image data compressed within an image unit. This is because the compressed data in the image unit can reproduce the image only with the compressed data. Therefore, only the image data is reproduced, and the image data compressed between the image units is thinned out. And rewind playback. This is shown in FIG.
[0004]
FIG. 4 is an explanatory diagram of image data using a compression method for performing compression using intra-image unit compression and inter-image unit compression.
[0005]
In FIG. 4, reference numerals 201, 204, and 207 denote image data compressed in an image unit, that is, compressed data in an image unit. Others 202, 203, 205, 206, 208, and 209 indicate image data compressed between image units, that is, compressed data between image units. Among the image data, the only data that can be reproduced with each image data is the in-image compressed data 201, 204, and 207. The other images are compressed by referring to other images. First, the in-image compressed data 201, 204, and 207 are decoded, and the image data is decoded based on the image data 201, 204, and 207. Decryption will be performed.
[0006]
Therefore, in a playback apparatus for compressed image data which has been compressed using intra-image compression typified by the MPEG system and inter-image compression by referring to other image data, the intra-image compressed data 201, 204 , 207 need to be decrypted. In the embodiment shown in FIG. 4, if only the image data 201, 204, and 207 are reproduced, one reproduction is performed for three images, and this is performed at a normal output speed (for example, in the NTSC system). If the image is output at 1/30 second), the reproduction is performed at triple speed.
[0007]
FIG. 5 shows an example of a conventional reproducing apparatus for performing special reproduction such as fast forward and rewind.
[0008]
FIG. 5 is an overall block diagram of a conventional high-speed playback apparatus for compressed image data that has been compressed using intra-image unit compression and inter-image unit compression.
[0009]
In FIG. 5, reference numeral 601 denotes a recording made of a magneto-optical disk, an optical disk, a magnetic disk, a magnetic tape, or the like on which image data compressed by performing inter-image unit compression using intra-image compression and reference from another image is recorded. Reference numeral 602 denotes a recording medium reading unit that reads image data from the recording medium 601. Reference numeral 603 denotes an in-image compressed data detecting means for detecting only the in-image compressed data from the read image data. Here, the image data a read out by the recording medium reading means 602 also includes compressed data between image units, and in the case of performing high-speed reproduction, the output b of the compressed data within image unit detecting means 603 is used to output compressed data within image unit. Only data. This is sent via the buffer memory 604 to the decoding unit 605 for compressed data in an image unit, that is, the compressed image data decoding unit, and the compressed data in the image unit is decoded. The decoded image data c is sent to the image output means 606 and output as an image.
[0010]
These high-speed reproduction instructions are issued from the special reproduction instructing means 607, and the high-speed reading of image data from the recording medium 601 by the recording medium reading means 602, the high-speed reading in the reverse direction, and the image unit Image data extraction is performed by the internal compressed data detection means 603.
[0011]
When performing special reproduction such as fast-forward reproduction or rewind reproduction, the number of times of output of an image to be reproduced and output becomes a problem. When the obtained image data is reproduced at a high speed by a method of performing compression by mixing and using intra-image compression represented by the MPEG method and inter-image compression by referring to other image data, For example, a method of reproducing only the compressed image data in the image unit or reproducing only an image which is easily decoded is used. However, since these compressed image data have a fixed position on the recording medium and a fixed position on the time axis, the compressed data within the image unit and the compressed data between the image units are not necessarily reproduced at a uniform number of times. This is not always done, and there are cases where it is not necessary to reproduce them uniformly. Therefore, in order to perform efficient high-speed reproduction, it is necessary to know how many times the image to be reproduced should be reproduced and output. This will be described with reference to FIG.
[0012]
FIG. 6 is an explanatory diagram in the case of triple speed reproduction of compressed data within an image unit and compressed data between image units.
[0013]
In FIG. 6, between the compressed data 302 in the image unit of the recording data of the recording medium and the compressed data 303 in the image unit, there is a temporal space of 5 images of the compressed data between the image units. Between the compressed data 301 and the in-image compressed data 302, there is a temporal space for one image. For this reason, there is a time gap of seven images from the reproduction of the compressed data 301 within the image unit to the decoding of the image 303 that can be decoded and reproduced next, and the image of the compressed data 302 within the image unit at the triple speed reproduction. Must be output twice. In the conventional method, the image output count is continuously increased until the next decodable image data is searched, and when the next decodable image data is searched, the image output is simultaneously performed. It was necessary to control the image output up to that point.
[0014]
As described above, in the conventional method, since the number of image outputs is indefinite, the specific image data is repeatedly reproduced until the next reproducible image is decoded. In particular, decoding and reproduction are performed until the reproduction becomes unnecessary. Therefore, there is a possibility that necessary image data cannot be reproduced. This will be described in more detail with reference to FIG.
[0015]
FIG. 7 is an explanatory diagram in the case of 10 × speed reproduction of compressed data within an image unit and compressed data between image units.
[0016]
In FIG. 7, reference numerals 401 to 406 denote compressed data in an image unit which can be specially reproduced in fast-forward or rewind. In this example, a case where fast-forward playback is performed at 10 × speed is shown. In this case, after decoding and reproducing the compressed data 401 within the image unit, it is preferable to reproduce the image data 403 which is 10 images ahead of the compressed data 401 with a time delay of two images after decoding. As a result, at the position 10 images ahead, the image data 403 is closest to the image data located in the past in time, so by reproducing this image, it is most suitable for fast-forward reproduction under this condition. The output image is output. Therefore, the image data 402 is ignored, and decoding and reproduction are not performed. Similarly, reproduction of the image data 404 is not performed, and it is understood that decoding and reproduction of these image data are unnecessary.
[0017]
However, in the conventional method of reproducing only the intra-image compressed data, the intra-image compressed data 402 and 404 are similarly decoded and output as an image. Therefore, especially in the case of high-speed special reproduction, if the decoding of the compressed data 403 and 405 in the image unit, which should be decoded next, is delayed, the decoding may not be performed in time and the decoding may not be performed. There was a possibility.
[0018]
[Problems to be solved by the invention]
In the above-described conventional method, an image data reproducing apparatus for reproducing a recording medium that records inter-image compressed data that has been subjected to intra-image compression represented by the MPEG system and compression by referring to other image data The number of times of image output is given by continuously repeating the same image data until the next decodable image data is searched, and reproducing and outputting the same image data. Reproduction instruction means 607 required complicated exchange of data. In addition, even in high-speed reproduction, since all the reproducible compressed image data between the image units are decoded, even image data that does not need to be decoded can be decoded, and other necessary images can be decoded due to a delay in the signal processing speed. There was a possibility that it would disappear.
[0019]
SUMMARY OF THE INVENTION It is an object of the present invention to provide a compressed image data recording medium and a reproduction apparatus which enable reproduction of only necessary / unnecessary / required image data when performing special reproduction. Things.
[0020]
[Means for Solving the Problems]
According to claim 1The compressed moving image data reproducing apparatus is configured to combine compressed data in an image unit in which image data is compressed only with the image data, and compressed data between image units in which image data is compressed by referring to other image data. Compressed image data is recorded from a compressed moving image data recording medium, which is recorded in an array in image units, and in which the information on the number of images up to the next arrayed compressed data in image units is added to the compressed data in the image unit and recorded. Reading means capable of high-speed reading of data, decodable data detecting means for inputting only compressed data within an image unit to the decoding means when performing high-speed reproduction in the forward or reverse direction, and image data from the decoding means. In a compressed moving image data reproducing apparatus having an image output means for outputting, when performing high-speed reproduction of an image recorded on the compressed moving image data recording medium, a predetermined image is reproduced. In the next image number of up sequence image unit in the compressed data is [n d ], And an addition value [F required for rounding up which occurred when calculating the number of outputs of the image data reproduced immediately before. n-1 ], And an addition value [F] read out from the above-mentioned number-of-rounds storage means. n-1 ] And the double speed [S] of the reproduction, the following expression is calculated,
I n = R sound {(N d -F n-1 ) / S}
F n = S-S urplus {(F n-1 + N d ) / S}
(However, R sound Means round up, S urplus Means the remainder. )
The integer value [I n ] And the round-up value [F n ], And calculates the round-up value in the round-up value storage means; and an integer part [I n Control means for giving an output as the number of outputs of the image output means.
[0022]
Claim2Compressed moving image data reproducing apparatus according to claim1In the compressed moving picture data reproducing apparatus described in (1), a discriminating means for instructing the decoding means to stop decoding when the integer value [In] is zero is provided.
[0023]
[Action]
In claim 1,The image data compressed using the intra-image compression typified by the MPEG system and the inter-image compression by referring to other image data is recorded, and is arranged next in the intra-image compression data. In a compressed moving image data reproducing apparatus that reproduces a compressed moving image data recording medium recorded with information on the number of images up to the compressed data in the image unit, when performing high-speed reproduction such as fast forward or rewind, image output of the image is performed. The number of times is determined, and an image corresponding to the number of times is output.
[0025]
Claim2InClaim 1When performing high-speed playback such as fast-forwarding or rewinding in the compressed moving image data playback device, it is determined whether decoding and playback are necessary or not, and only necessary images are decoded.
[0026]
【Example】
Hereinafter, examples of the present invention will be described.
[0027]
FIG. 1 is an overall configuration diagram of a compressed moving image data reproducing apparatus according to one embodiment of the present invention.
[0028]
In FIG. 1, reference numeral 101 denotes a recording medium that records compressed image data that has been compressed using intra-image compression represented by the MPEG system and inter-image compression by referring to other image data. The reading means. These recording media 101 include a magneto-optical disk, an optical disk, a magnetic disk, and a magnetic tape, and a unit that reads image data using a reading unit 102 using these recording media 101 existing on a network. included. As a method using the compression method as in the present embodiment, in addition to the MPEG method, CCITT Recommendation H.264 is used. 261 is used for a videophone standard.
[0029]
Here, a method of searching for compressed data in an image unit in the MPEG system will be particularly described.
[0030]
This is called a GOP (Group of Picture) in the MPEG system, as an image data sequence from the compressed data in an image unit in the image data to the compressed data in the next image unit as a unit that can be independently reproduced in the image data. I have. A data string GOP header is added to the head of the data. Since the head of the GOP is compressed data within an image unit as described above, the header is read next by detecting the header (GOP header). It can be determined whether the compressed image data is compressed data within an image unit. Also, when this header is not detected, for example, even when the data reading starts in the middle of the GOP header, the compressed data within the image unit can be determined by detecting the header of the compressed image data. That is, in the MPEG system, a code indicating a picture coding type called Picture coding type is added to the header of each piece of compressed image data. Since data that is compressed data (I Picture) in an image unit is also included in the data, by detecting this, it is possible to detect the compressed data in an image unit.
[0031]
In particular, the compressed moving image data recording medium according to the present embodiment includes compressed data in an image unit in which image data is compressed only by the image data, and image data in which image data is compressed by referring to other image data. In the recording medium 101 in which inter-unit compressed data is arranged and recorded in image units, the number of images in the area where the intra-unit compressed data is recorded and the area where the next arranged intra-unit compressed data is recorded are recorded. Is stored in the track corresponding to the image recording area of the compressed data in the image unit.
[0032]
Naturally, the number of images between these pieces of compressed image data is determined by dividing the number of pieces of compressed image data recorded between these pieces of decodable compressed image data by a predetermined area of the compressed image data that can be reproduced in high-speed reproduction. For example, it may be recorded in the user area or the like.
[0033]
In particular, in the MPEG system, a user data area (User data) is provided inside the above-described GOP header, and this user data area is an area that can be freely set. It is possible to add. A user data area is also provided in the header of each image, similarly to the GOP, and data at the duplication start position can be added here.
[0034]
Numeral 103 denotes an image number data detecting means for judging the number of images from the specific intra-unit compressed data read out by the reading means 102 to the next intra-unit compressed data, 104 a decoding means for decoding the compressed image data, 105 Is an image output means for outputting image data as an image; 108, a special reproduction instructing means for instructing a special reproduction such as a forward direction for fast forward or a reverse direction for rewinding; A decodable data detection means 112 for detecting the decompressed compressed data which can be directly decoded from the compressed image data, is a buffer memory.
[0035]
Reference numeral 103 denotes an image number data detection unit which is used to reproduce the current predetermined image.Next arrangedIt detects the number of images [nd] up to the area where the compressed data in the image unit is recorded, and usually, the number of images written in the track of the recording medium 101 corresponding to the image recording area of the compressed data in the image unit [ nd]. Reference numeral 106 denotes a round-up number storage unit for storing an addition value [Fn-1] required for round-up generated during calculation of the number of outputs of image data reproduced immediately before. Reference numeral 110 denotes an output of the image number data detection unit 103 and a round-up number storage. Using the addition value [Fn-1] output of the means 106 and the double speed [S] of the reproduction instructed by the special reproduction instructing means 108,
In = Round {(nd-Fn-1) / S} (1)
(However, Round means rounding up.)
Is a round-up operation means for calculating an integer value [In] by the following equation. Reference numeral 113 denotes a calculation result of the round-up calculation means 110.
Fn = S-Surplus {(Fn-1 + nd) / S} (2)
(However, Surplus means a remainder.)
Is a surplus operation means for obtaining the round-up value [Fn].
[0036]
Reference numeral 107 denotes a discriminating means for instructing the decoding means to stop decoding when the integer value [In 2] is zero. Reference numeral 114 denotes control means for giving an integer part [In 2] output from the round-up operation means 110 as the number of outputs of the image output means 105.
[0037]
First, the flow of compressed image data in the case of general reproduction will be described.
[0038]
Normally, in the case of reproduction, the compressed image data read out using the reading means 102 passes through the image number data detecting means 103, passes through the decodable data detecting means 111 as it is, and Is input to the decoding means 104. Then, all the compressed image data is decoded, and all the images are output from the image output means 105.
[0039]
Next, the flow of compressed image data in the case of special reproduction will be described.
[0040]
In the case of special reproduction, an instruction is made by the special reproduction instructing means 108, and this instruction is given to the reading means 102, the image number data detecting means 103, and the decodable data detecting means 111. Also, the ratio S of the reproduction speed to the normal reproduction, that is, the double speed (S) is instructed to the round-up calculation means 110. The reading unit 102 needs to output the compressed image data in the forward direction for fast-forwarding and the reverse direction for rewinding to the decoding unit 104 at high speed.
[0041]
Here, a high-speed reading technique used in the present embodiment will be described.
[0042]
First, a method of increasing the speed of reading by the reading means 102 itself can be adopted. For example, when the recording medium 101 is a disk medium or the like, high-speed reading is performed by high-speed rotation. This means that the speed depends on the performance of a reading device such as a pickup, and this limits the speed of high-speed reproduction.
[0043]
Alternatively, a method may be adopted in which a pickup or the like is caused to make a track jump on a disk to output only compressed image data which is easily decoded in the data. In this case, a read instruction (a) is output from the decryptable data detection means 111. This means that, for example, in the case of fast-forwarding, the disk reading means 102 is moved toward the outer periphery of the disk at a speed higher than that of normal reproduction, and the pickup servo is read until only compressed data within an image unit is read out of data. Is continued, and in this case, the read-out compressed data in the image unit is reproduced. Further, there is a method of giving a read address in advance. In this method, since the address of the compressed image data suitable for each fast-forward or rewind is given, very high-speed reproduction is possible if the high-speed reading means 102 can move to that position. As this method, in JP-A-4-328375, it is possible to use means for recording the recording address data, frame number, and field number of the compressed data in the image unit in a predetermined area of the disk. Further, as described in JP-A-5-30454, the address data of the compressed data in the image unit, the address data of the group of picture headers located before and after, and the sequence headers located before and after on the recording medium 101 are described. Means of recording address data may be used. By using these values, if the reading means 102 can move the reading position at high speed, it is possible to obtain high-speed reproduced compressed image data.
[0044]
In this manner, the compressed image data read by the reading means 102 from the recording medium 101 is converted into a decodable data detecting means 111 for detecting compressed data in an image unit which can be decoded in high-speed reproduction using the image number data detecting means 103. Thus, for example, only the compressed data within the image unit is detected. Then, only this compressed image data is output, and the compressed image data enters the decoding means 104 and is decoded. The compressed data in the image unit is input to the image output means 105, and an image is output.
[0045]
Next, a method of setting the number of times of image output for controlling the image output unit 105 will be described.
[0046]
First, the number of times the first image is output when performing high-speed reproduction will be described.
[0047]
In this case, the number of times of outputting the compressed image data is determined by the number of images [nd] up to the compressed image data that can be reproduced in the next high-speed reproduction. If this value is recorded in the recorded data of the compressed image data which can be decoded and output at high speed in the recording medium 101, the number of outputs can be easily determined by reading the value.
[0048]
In the first image, the value obtained by dividing this value by the double speed is the output count as it is. However, in this case, the division result is not always an integer, and a remainder value may remain. In this case, the numerical value is rounded up, and this value is set as the number of times of output of the image. Then, the number added for rounding up is used to determine the number of output times of the next reproducible image. For the second and subsequent images, this value is subtracted from the number of images [nd] up to the image that can be reproduced in the next high-speed reproduction read from the recording medium 101, and is divided by the double speed. Then, the obtained value is rounded up, and this value is set as the number of output times of the image. Then, the number added for rounding up is used to determine the number of output times of the next reproducible image. This will be described with reference to FIG.
[0049]
FIG. 2 is an explanatory diagram in the case of the double speed reproduction of the compressed data in the image unit and the compressed data between the image units by the compressed moving image data reproducing apparatus according to the embodiment of the present invention.
[0050]
In FIG. 2, reference numerals 501, 502, and 503 denote compressed data within an image unit, and the other compressed image data is compressed data between image units. In FIG. 2, the time from decoding to reproduction is ignored. That is, the compressed image data in the image data sequence shown in the lower part of FIG. 2 can be output just in the time shown in the upper part of FIG. Here, double speed reproduction is performed, and only the compressed data within the image unit is decoded and reproduced. Taking the compressed image data 501 as an example, the number of images [nd] up to the next compressed data 502 within an image unit is “3”. Since the reproduction is at double speed (“S = 2”), the calculation result is “1.5”, and the number of times of output of the compressed image data is “In = 2”. In FIG. 2, the output of the compressed image data 501 is performed twice. Next, with the compressed image data 502, it is possible to output the compressed image data at an output time just above the compressed image data 502, but the compressed image data 501 reproduced immediately before is reproduced just one image before. Therefore, at the double speed, reproduction is performed after one compressed image data. This means that the reproduction time of the immediately preceding compressed image data overlaps with the period [Fn-1] shown in FIG. The overlapping period is a period corresponding to the number of added images used for rounding up, and in this case, corresponds to one image. For this reason, the area of the period [Fn-1] is determined from the compressed data 502 within the image unit.Next arrangedA value obtained by subtracting from the number of images [nd] up to the area in which the compressed data 503 within the image unit is recorded. During this time, the output of the compressed image data of the compressed data 502 within the image unit is obtained. By rounding up the obtained result, the number of times of outputting the compressed data 502 within the image unit is determined. Here, the number of images [nd] is “6”, the double speed [S] is “2”, and the number of images required to round up the compressed data 501 within the image unit is “1”. The result of dividing by "2" and rounding up is "3". Therefore, the intra-image compressed data 502 is output three times, and the number of images [nd] required for rounding up becomes “1”. Then, like the previously reproduced compressed image data, the number required for rounding up is stored and used to determine the number of times of output of the next reproducible compressed image data.
[0051]
If the value of the number of outputs is zero, decoding of the compressed image data becomes unnecessary. In particular, when the compressed image data is obtained by decoding and reproducing only the compressed data within the image unit, each compressed image data can be decoded only with the compressed image data. If the calculated value is zero, the compressed image data does not need to be decoded. By utilizing these determinations, efficient operation of the decoding means 104 at the time of high-speed reproduction is possible.
[0052]
The flow of instructions to each means in this method will be described with reference to FIG.
[0053]
First, the flow of each compressed image data has been described in the above-described decoding flow. Here, in addition to the compressed image data, as the compressed image data obtained from the recording medium 101, the number of images [nd] up to the next decodable compressed image data is obtained. This value is input to the round-up operation means 110. Since the rounding-up number of the compressed image data reproduced immediately before is stored in the rounding-up number storage means 106, these values [Fn-1] and [nd] and the high speed obtained from the special reproduction instructing means 108 are obtained. Using the reproduction speed [S], the rounding-up calculation means 110 calculates the number of outputs using the above-described equations (1) and (2). This calculation result is [In], and the compressed image data need only be output for this number of times. This is input to the control means 114, and the control means 114 controls the number of outputs of the image output means 105, and the compressed image data is output for the number of times. The decoding of the compressed image data may be performed only once even when the compressed image data is output a plurality of times. Here, it is possible to determine whether or not the number of times of image output [In 2] is zero, and to determine whether decoding is necessary or not. In this case, for example, if high-speed reproduction is realized by reproducing only the compressed data in the image unit, if the number of times of image output [In 2] is zero, there is no need to perform decoding. Then, since the remainder number is calculated, the value required for rounding up can be obtained by subtracting this value from the double speed. By using this value when reproducing the next reproducible compressed image data, the number of times of outputting the next reproducible compressed image data can be determined. The number of times of image output makes it possible to easily determine whether decoding is necessary or not and to easily give the number of times of image output [In].
[0054]
FIG. 3 is a flowchart showing the operation of the compressed moving picture data reproducing apparatus according to another embodiment of the present invention. In particular, in the present embodiment, the number-of-images data detecting means 103, the round-up number storing means 106, the determining means 107, the special reproduction instructing means 108, the round-up calculating means 110, the decodable data detecting means 111, the surplus calculating means 113, This is applied when the control means 114 is replaced with a microcomputer.
[0055]
First, high-speed reproduction is instructed in step S1. At this time, a specific image [Hn] and a double speed [S] of high-speed reproduction are set. In step S2, the in-image compressed data of the corresponding image [Hn] is searched, and in step S3, the number of images [nd] from the in-image compressed data of the corresponding image [Hn] to the next image [Hn + 1] is read. In S4, the number of images [nd] is added to the value of the memory M, and the result is set as the value of the memory M. That is, the value of the memory M is zero when the routine is entered, and thereafter becomes a surplus number. In step S5, it is determined whether the value of the memory M is equal to or higher than the double speed [S] of the high-speed reproduction. If the value is large, the image [Hn] is output in step S6. S] is subtracted, and the value is set again to the value of the memory M. Then, the routine of steps S5 to S7 is repeatedly executed. When the value of the memory M is no more than the double speed [S] of the high-speed reproduction in step S5, n is set to n + 1 in order to change the image to the next image in step S8, and the next image [Hn + 1] ] To the next image [Hn + 2] are read, and the routine from step S2 is repeatedly executed.
[0056]
In this embodiment, the value of the double speed [S] of the high-speed reproduction is subtracted from the value of the memory M, but the value of the memory M is divided by the double speed [S] to obtain a value obtained as a result of the calculation. It can also be realized by repeatedly outputting the same screen for the number of times that is rounded up.
[0057]
As described above, the compressed moving image data reproducing apparatus according to the present embodiment performs compression of image data by using only the image data, and compression of image data by referring to other image data. The compressed data between image units are recorded and arranged in image units, and the number of images up to the area where the next arranged compressed data within image units is recorded in the area where the compressed data within image unit is recorded Reading means 102 capable of high-speed reading of compressed image data from a compressed moving image data recording medium 101 recorded with [nd] added thereto; and only compressed data within an image unit when performing high-speed reproduction in the forward or reverse direction. A compressed moving image data reproducing apparatus having a decodable data detecting unit 111 input to the decoding unit 104 and an image output unit 105 for outputting image data from the decoding unit 104 is provided. When high-speed reproduction of an image recorded on the recording medium 101 is performed, at the time of reproduction of a predetermined image, image number data for detecting the number of images [nd] up to an area where compressed data in the next arranged image unit is recorded. Detecting means 103, round-up number storage means 106 for storing an additional value [Fn-1] required for rounding up which occurred during the calculation of the number of times of output of the image data reproduced immediately before, and read-out number from round-up number storing means 106. Using the addition value [Fn-1] and the double speed of reproduction [S], the round-up operation means 110 for obtaining the integer value [In] in the above equations (1) and (2), and the round-up value [Fn] ], And a control means 114 for giving the output of the integer part [In] of the round-up operation means 110 as the number of outputs of the image output means 105.1Of the present invention.
[0058]
Therefore, in the special reproduction of the compressed moving image data for reproducing the recording medium 101 on which the compressed image data is recorded, when performing the high-speed reproduction in the forward direction or the reverse direction, the presence or absence of decoding of the predetermined compressed image data to be reproduced, The number of times of image output can be determined instantaneously, which eliminates the need for decoding unnecessary image data. In addition, the number of times of image output is given by a simple calculation, thereby enabling simplification and accurate High-speed playback images can be obtained.
[0059]
By the way, the round-up operation means 110 and the remainder operation means 113 of the above embodiment are processed by different configurations. However, in the case of implementing the present invention, both operations are performed by one operation means such as a microcomputer. Can be replaced by Naturally, the round-up number storage means 106 for storing the added value [Fn-1] can be a memory such as a microcomputer thereof.
[0060]
【The invention's effect】
As mentioned above,The compressed moving image data reproducing apparatus according to claim 1, wherein the image data compressed by using intra-image compression represented by the MPEG system and inter-image compression by referring to other image data is recorded, In a compressed moving image data reproducing apparatus for reproducing a compressed moving image data recording medium in which information on the number of images up to the next arranged compressed image data in the image unit is added to the compressed data within the image unit, fast-forwarding or winding is performed. In the case of performing high-speed rewind reproduction, the number of times of image output of the image is determined, and an image corresponding to that number of times is output. Therefore, when performing special playback, subtract the number required for rounding up the previously played back image from the value obtained by dividing the number of images by double speed, and then calculate the integer part after rounding up the calculation result. Since the number of times of reproduction output is set as the number of times of reproduction and the number of times of reproduction is set as the reproduction output, the presence or absence of decoding of the predetermined compressed image data to be reproduced and the number of times of image output are instantaneous when performing forward or reverse high-speed reproduction. This eliminates the need for decoding unnecessary image data, and simplifies the process by providing the number of image outputs by a simple calculation to obtain an accurate high-speed reproduced image. be able to.
[0062]
Claim2Claims:1In the compressed moving image data reproducing apparatus, when performing high-speed reproduction such as fast-forwarding and rewinding, it is determined whether or not decoding is necessary, and only necessary images are decoded. In particular, when the number of times of image output is zero, it is possible to instruct the decoder to stop decoding of the compressed image data, and it is not necessary to perform another control, and it is possible to cope with high speed.
[Brief description of the drawings]
FIG. 1 is an overall configuration diagram of a compressed moving image data reproducing apparatus according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram of double-speed playback of compressed data within an image unit and compressed data between image units by a compressed moving image data playback apparatus according to an embodiment of the present invention.
FIG. 3 is a flowchart showing an operation of a compressed moving image data reproducing apparatus according to another embodiment of the present invention.
FIG. 4 is an explanatory diagram of image data using a compression method of performing compression using intra-image compression and inter-image compression.
FIG. 5 is an overall block configuration diagram of a conventional high-speed playback apparatus for compressed image data that has been compressed using intra-image compression and inter-image compression.
FIG. 6 is an explanatory diagram in the case of triple-speed reproduction of compressed data within an image unit and compressed data between image units.
FIG. 7 is an explanatory diagram in the case of 10 × speed reproduction of compressed data within an image unit and compressed data between image units.
[Explanation of symbols]
101 Recording medium
102 Reading means
103 Image Number Data Detecting Means
104 decoding means
105 Image output means
106 Round-up number storage means
107 determination means
108 trick play instruction means
110 Round-up calculation means
111 Decryptable Data Detecting Means
113 Surplus calculation means
114 control means

Claims (2)

画像データの圧縮をその画像データのみで行った画像単位内圧縮データと、画像データの圧縮を他の画像データを参照することにより行った画像単位間圧縮データとを、画像単位で配列して記録し、前記画像単位内圧縮データに、次に配列された画像単位内圧縮データまでの画像数に関する情報を付加して記録した圧縮動画像データ記録媒体から、圧縮画像データの高速読出しが可能な読出手段と、正方向または逆方向に高速再生を行う場合に画像単位内圧縮データのみを復号手段に入力する復号可能データ検出手段と、前記復号手段からの画像データを出力する画像出力手段を有する圧縮動画像データ再生装置において、
前記圧縮画像データ記録媒体に記録された画像の高速再生を行う場合、所定画像の再生に際して、次に配列された画像単位内圧縮データまでの画像数[nd ]を検出する画像数データ検出手段と、
直前に再生した画像データの出力回数演算時に生じた切上げに要した加算値[Fn-1 ]を記憶する切上数記憶手段と、
前記切上数記憶手段から読出された加算値[Fn-1 ]と、再生の倍速度[S]を用いて、次式を演算し、
In =Round{(nd −Fn-1 )/S}
Fn =S−Surplus{(Fn-1 +nd )/S}
(但し、Roundは切上げを意味し、Surplusは剰余を意味する。)
それによって得た整数値[In ]及び切上値[Fn ]の値を求め、前記切上値を前記切上値記憶手段に記憶する演算手段と、
前記演算手段の整数部[In ]出力を画像出力手段の出力回数として与える制御手段とを具備することを特徴とする圧縮動画像データ再生装置。
Compressed data within an image unit, which is obtained by compressing image data only with the image data, and compressed data between image units, obtained by compressing image data by referring to other image data, are recorded and arranged in image units Reading from the compressed moving image data recording medium in which information on the number of images up to the next arranged image unit compressed data is added to the image unit compressed data and recorded; Compression means comprising: decoding means for inputting only compressed data within an image unit to the decoding means when performing high-speed reproduction in the forward or reverse direction; and image output means for outputting image data from the decoding means. In the moving image data reproducing device,
The case of the compressed moving image data recording medium fast playback of the image recorded on, upon reproduction of the predetermined image, then the number of images to sequence the image units in the compressed data is [nd] image number data detection means for detecting the When,
A rounding-up number storage means for storing an addition value [Fn-1] required for rounding-up generated at the time of calculating the number of outputs of image data reproduced immediately before;
Using the addition value [Fn-1] read from the round-up number storage means and the double speed of reproduction [S], the following equation is calculated.
In = Round {(nd-Fn-1) / S}
Fn = S-Surplus {(Fn-1 + nd) / S}
(However, Round means rounding up and Surplus means remainder.)
Calculating means for obtaining the values of the integer value [In] and the round-up value [Fn] thus obtained, and storing the round-up value in the round-up value storage means;
Control means for giving the output of the integer part [In] of the arithmetic means as the number of outputs of the image output means.
請求項に記載の圧縮動画像データ再生装置において、整数値[In ]が零のとき、復号の停止を復号手段に指示する判別手段を具備することを特徴とする圧縮動画像データ再生装置。2. The compressed moving picture data reproducing apparatus according to claim 1 , further comprising a discriminating means for instructing the decoding means to stop decoding when the integer value [In] is zero.
JP1728694A 1994-02-14 1994-02-14 Compressed moving image data recording medium and reproducing apparatus therefor Expired - Fee Related JP3568227B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1728694A JP3568227B2 (en) 1994-02-14 1994-02-14 Compressed moving image data recording medium and reproducing apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1728694A JP3568227B2 (en) 1994-02-14 1994-02-14 Compressed moving image data recording medium and reproducing apparatus therefor

Publications (2)

Publication Number Publication Date
JPH07226918A JPH07226918A (en) 1995-08-22
JP3568227B2 true JP3568227B2 (en) 2004-09-22

Family

ID=11939748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1728694A Expired - Fee Related JP3568227B2 (en) 1994-02-14 1994-02-14 Compressed moving image data recording medium and reproducing apparatus therefor

Country Status (1)

Country Link
JP (1) JP3568227B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3337066B2 (en) 1999-04-13 2002-10-21 日本電気株式会社 MPEG data processing device

Also Published As

Publication number Publication date
JPH07226918A (en) 1995-08-22

Similar Documents

Publication Publication Date Title
JP3491366B2 (en) Special reproduction method and special reproduction apparatus for encoded data
JP2985703B2 (en) Image compression recording medium playback device
WO2001035651A1 (en) Eliminating picture format artifacts in mpeg trick modes
JPH09322174A (en) Reproducing method for moving image data
MXPA02004689A (en) Method for editing source video to slow motion or fast motion on the recordable media.
KR100282316B1 (en) Method of reproducing pictures by fast forward and fast backward reproduction from moving picture data coded at high efficiency
US6453114B2 (en) Random picture decoding
JP3156597B2 (en) Image information decoding and reproducing apparatus and image information decoding and reproducing method
JP3510784B2 (en) Video recording and playback methods
JP3568227B2 (en) Compressed moving image data recording medium and reproducing apparatus therefor
JP2773594B2 (en) Playback method for playing back fast-forward and fast-rewind images from highly efficient encoded video information
JP3070422B2 (en) Image compression recording medium and image compression recording medium reproducing apparatus
JP3590275B2 (en) Recording / reproducing apparatus, recording / reproducing method, and recording medium recording recording / reproducing program
KR20040042821A (en) Recording device and recording method, recording medium and program
JP2993876B2 (en) Selection screen playback method and apparatus in video compact disc playback system
KR19980055531A (en) Variable transfer rate buffer management device and control method for optical disc player
JP3344607B2 (en) Optical disc, reproducing apparatus and reproducing method
JP2003324690A (en) Video record playback device
JP3523493B2 (en) Method and apparatus for multiplexing highly efficient encoded data
JP2002044611A (en) Disk reproducing apparatus
JPH08221950A (en) Method for recording and reproducing and device therefor
JP3187649B2 (en) Playback method of storage type recording media
JP2004048206A (en) Video reproducing method and video reproducing apparatus
JPH11177934A (en) Reproduction method, reproduction device, recording and reproducing method and recording and reproducing device
KR100280788B1 (en) Stream control method when optical disk is damaged

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040310

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040507

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040615

LAPS Cancellation because of no payment of annual fees