JP3507990B2 - Moving image reproducing apparatus and moving image recording / reproducing apparatus - Google Patents
Moving image reproducing apparatus and moving image recording / reproducing apparatusInfo
- Publication number
- JP3507990B2 JP3507990B2 JP31624893A JP31624893A JP3507990B2 JP 3507990 B2 JP3507990 B2 JP 3507990B2 JP 31624893 A JP31624893 A JP 31624893A JP 31624893 A JP31624893 A JP 31624893A JP 3507990 B2 JP3507990 B2 JP 3507990B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- frame
- recording
- moving image
- encoded
- 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
Links
- 230000015654 memory Effects 0.000 claims description 112
- 238000000034 method Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 16
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 230000002457 bidirectional effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 101000969688 Homo sapiens Macrophage-expressed gene 1 protein Proteins 0.000 description 2
- 102100021285 Macrophage-expressed gene 1 protein Human genes 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
【発明の詳細な説明】Detailed Description of the Invention
【0001】[0001]
【産業上の利用分野】本発明は、CD−ROMなどの読
み出し専用ディスクメディアを用いたデジタルビデオデ
ィスク再生装置や光磁器ディスクなどの書き換え可能な
ディスクメディアを用いた用いたデジタルビデオディス
ク記録再生装置などの動画像再生装置及び動画像記録再
生装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital video disk reproducing apparatus using a read-only disk medium such as a CD-ROM and a digital video disk recording / reproducing apparatus using a rewritable disk medium such as a magneto-optical disk. it relates moving image reproduction apparatus and a moving image recording and reproducing apparatus such as a.
【0002】[0002]
【従来の技術】デジタル動画像データを磁気ディスク,
光ディスク,光磁気ディスクといったディスク媒体に記
録する場合、画像データを高能率に符号化することによ
り、視覚的に画質を損なうことなく、記録すべきデータ
量を少なくすることができる。2. Description of the Related Art Digital moving image data is recorded on a magnetic disk,
When recording on a disk medium such as an optical disk or a magneto-optical disk, by encoding image data with high efficiency, the amount of data to be recorded can be reduced without visually impairing the image quality.
【0003】高能率符号化を用いて記録するデータ量を
少なくすれば、高能率符号化を用いない場合に比べて長
時間記録が可能になり、また、データの読み出し速度や
書き込み速度の遅いメディアの利用も可能になる。By reducing the amount of data to be recorded by using the high efficiency encoding, recording can be performed for a long time as compared with the case where the high efficiency encoding is not used, and a medium having a low data reading speed or a low data writing speed can be used. Can also be used.
【0004】画像データを高能率に符号化する方式を大
きく分類すると、1画面のデータ内の空間的な冗長度を
削除するフレーム内符号化あるいはフィールド内符号化
と、時間的に連続する複数の画像データを用い時間的な
冗長度も削除するフレーム間符号化あるいはフィールド
間符号化がある。一般的には、フレーム間符号化やフィ
ールド間符号化の方が時間的な冗長度も利用することか
ら、より高能率な符号化が可能である。ここで、フレー
ムとは1画面を指し、フィールドとはフレームを1ライ
ンおきに選択して2画面に分割した各々を指す。フレー
ム間符号化とフィールド間符号化との違いは、符号化に
用いる単位がフレームであるかフィールドであるかの違
いだけで、符号化に用いる原理は同じである。そこで、
以下ではフレーム間符号化についてのみ記述する。When the methods for encoding image data with high efficiency are roughly classified, intra-frame encoding or intra-field encoding for removing the spatial redundancy in the data of one screen, and a plurality of temporally continuous ones. There is interframe coding or interfield coding that uses image data and also removes temporal redundancy. In general, interframe coding and interfield coding also use temporal redundancy, and thus more efficient coding is possible. Here, a frame refers to one screen, and a field refers to a frame selected every other line and divided into two screens. The difference between the inter-frame coding and the inter-field coding is only the difference in whether the unit used for coding is a frame or a field, and the principle used for coding is the same. Therefore,
Only inter-frame coding will be described below.
【0005】フレーム間符号化方式の従来の技術の例と
しては、『マルチメディア新時代』(PP25〜31の
「マルチメディアとパッケージ」,妹尾,TV学会専門
講習会)に記載のMPEG1方式がある。MPEGは、
ISO/IEC JTC1で規格化が進められている動
画像圧縮方式であり、MPEG1およびMPEG2の2
方式がある。以下ではMPEG1,MPEG2を総称し
てMPEGと呼ぶ。As an example of the conventional technique of the inter-frame coding system, there is the MPEG1 system described in "Multimedia New Era" (PP25-31, "Multimedia and Package", Senoo, TV Society Special Workshop). . MPEG is
It is a moving image compression method that is being standardized by ISO / IEC JTC1, and is a moving image compression method that is 2
There is a method. Hereinafter, MPEG1 and MPEG2 are collectively referred to as MPEG.
【0006】図16にMPEGにおける画像の分類と符
号化データの並びを図示する。この方式では、12フレ
ームや15フレームといったまとまった単位をGOP
(Group Of Pictures )と呼ぶ。FIG. 16 shows the classification of images and the arrangement of encoded data in MPEG. In this method, a unit such as 12 frames or 15 frames is used as a GOP.
(Group Of Pictures).
【0007】GOPのうち1フレームをI−ピクチャ
(Intra Picture )と呼ぶ。I−ピクチャでは、フレー
ム内符号化する。One frame of GOP is called an I-picture (Intra Picture). In the I-picture, intra-frame coding is performed.
【0008】GOP内で3フレームごとといった一定間
隔ごとのフレームをP−ピクチャ(Predictive Pictur
e)と呼ぶ。P−ピクチャでは、マクロブロックごと
に、過去のI−ピクチャやP−ピクチャの復号画像を参
照画像としてフレーム間予測符号化する場合と、フレー
ム内符号化する場合とを適応的に切り換えて用いる。マ
クロブロックとは、フレームを矩形に分割した単位であ
り(例えば16×16の画素単位)、フレーム間予測符
号化とは、参照画像と対象画像の差分を符号化するもの
である。Frames at regular intervals such as every three frames in a GOP are called P-pictures (Predictive Pictur).
e). In the P-picture, a case where inter-frame predictive coding and a case where intra-frame coding is performed are used by adaptively switching, for each macroblock, a decoded image of a past I-picture or P-picture as a reference image. A macroblock is a unit obtained by dividing a frame into rectangles (for example, a 16 × 16 pixel unit), and interframe predictive coding is for coding the difference between a reference image and a target image.
【0009】I−ピクチャやP−ピクチャの間にあるフ
レームはB−ピクチャ(Bidirectional Picture )と呼
び、マクロブロックごとに、フレーム内符号化,前・後
フレーム間予測符号化,両方向フレーム間予測符号化を
適応的に切り換えて用いる。A frame between I-pictures and P-pictures is called a B-picture (Bidirectional Picture), and intra-frame coding, preceding / posterior interframe predictive coding, and bidirectional interframe predictive coding are performed for each macroblock. The conversion is adaptively switched and used.
【0010】前フレーム間予測符号化は参照画像として
過去のI−ピクチャやP−ピクチャの復号画像を用い、
後フレーム間予測符号化は参照画像として未来のI−ピ
クチャやP−ピクチャの復号画像を用い、両方向フレー
ム間予測符号化は参照画像として過去と未来の2つのI
−ピクチャやP−ピクチャの復号画像を用いるものであ
る。さらに、これらのフレーム間予測符号化,前・後フ
レーム間予測符号化,両方向フレーム間予測符号化の場
合は、動き補償を用いることもでき、より高効率な符号
化が可能である。動き補償とは、参照画像と対象画像と
の間の動きベクトルを求め、そのベクトル分だけ参照画
像をずらしてフレーム間差分をとる方式である。In the preceding interframe predictive coding, decoded images of past I-pictures and P-pictures are used as reference images,
The post-interframe predictive coding uses a decoded image of a future I-picture or P-picture as a reference image, and the bidirectional interframe predictive coding uses two past I and a future I as reference images.
-Decoded images of pictures and P-pictures are used. Furthermore, in the case of these inter-frame predictive coding, front / back inter-frame predictive coding, and bidirectional inter-frame predictive coding, motion compensation can be used, and more efficient coding is possible. Motion compensation is a method in which a motion vector between a reference image and a target image is obtained, and the reference image is shifted by that vector to obtain a difference between frames.
【0011】MPEG方式では、両方向予測を用いるた
め、図16に示すように、入力データ順と出力符号化デ
ータ順が異なる。例えば、あるB−ピクチャを符号化す
るには前後2枚のI,P−ピクチャの復号画像が必要に
なる。そのため、まず前後のI,P−ピクチャを符号
化,復号し、そのあとにB−ピクチャを符号化する。ま
た、一般的に符号化データ量は、I−ピクチャ,P−ピ
クチャ,B−ピクチャの順に少なくなる。Since the MPEG system uses bidirectional prediction, the order of input data and the order of output encoded data are different, as shown in FIG. For example, in order to encode a certain B-picture, two decoded images of I and P-pictures before and after are required. Therefore, first, the preceding and following I and P-pictures are encoded and decoded, and then the B-picture is encoded. In addition, the amount of encoded data generally decreases in the order of I-picture, P-picture, and B-picture.
【0012】ここで、高能率符号化したデータを用いて
高速再生を行う場合を考える。Here, consider the case where high-speed reproduction is performed using high-efficiency coded data.
【0013】ディスクメディアにおける高速再生では、
データの読み出しと高速なジャンプを繰り返す。ジャン
プの間はデータの読み出しができないため、単位時間に
得られる平均のデータ量は通常再生時よりは少なく、ま
た、不連続なデータとなる。In high-speed playback on a disc medium,
Data read and high-speed jump are repeated. Since the data cannot be read during the jump, the average amount of data obtained per unit time is smaller than that during normal reproduction, and the data becomes discontinuous.
【0014】高能率符号化方式では、過去のデータとの
差分値を符号化している場合があり、過去のデータが得
られなければ再生画像が得られない。すなわち、不連続
に得られるデータのうちの一部のデータからしか再生画
像が得られない。In the high-efficiency coding method, a difference value from past data may be coded, and a reproduced image cannot be obtained unless the past data is obtained. That is, the reproduced image can be obtained only from a part of the data obtained discontinuously.
【0015】MPEG方式の場合では、GOP単位で符
号化しており、このGOPを再生するためには、まずG
OP内で唯一フレーム内符号化されているフレームであ
るI−ピクチャを再生しなければならない。I−ピクチ
ャ以外のフレームはすべてI−ピクチャの復号画像との
差分値、あるいはI−ピクチャの復号画像を用いて再生
した画像との差分値を符号化しているため、I−ピクチ
ャが再生できないと、そのGOPのデータの復号が困難
になる。そのため、高速再生時には単にジャンプするだ
けでなく、ジャンプにより不連続が生じても、再生画像
が得られるデータにアクセスする必要がある。In the case of the MPEG system, encoding is performed in GOP units, and in order to reproduce this GOP, first the G
The I-picture, which is the only intra-frame encoded frame in the OP, must be reproduced. Since all the frames other than the I-picture are encoded with the difference value with the decoded image of the I-picture or the difference value with the image reproduced using the decoded image of the I-picture, the I-picture cannot be reproduced. , It becomes difficult to decode the GOP data. Therefore, it is necessary not only to simply jump at the time of high-speed reproduction, but also to access data from which a reproduced image can be obtained even when discontinuity occurs due to the jump.
【0016】[0016]
【発明が解決しようとする課題】MPEG方式では、参
照画像を用いることなく再生画像が得られるデータはI
−ピクチャの符号化データである。それはI−ピクチャ
がフレーム内符号化されるためである。また、P−ピク
チャは1枚の参照画像が得られていれば再生できる。一
方、B−ピクチャを再生するためには、前後2枚の参照
画像が必要になり、不連続なデータから再生することは
かなり困難となる。In the MPEG system, data for which a reproduced image can be obtained without using a reference image is I
-It is encoded data of a picture. This is because the I-picture is intra-frame coded. In addition, the P-picture can be played back if one reference image is obtained. On the other hand, in order to reproduce the B-picture, two reference images before and after are required, which makes it considerably difficult to reproduce the discontinuous data.
【0017】したがって、MPEG方式の場合、高速再
生時にはI−ピクチャの符号化データまたはI−ピクチ
ャとそれに続くP−ピクチャの符号化データに順々にラ
ンダムアクセスし、その符号化データを連続して読み出
すとよい。Therefore, in the case of the MPEG system, during high-speed reproduction, coded data of I-pictures or coded data of I-pictures and P-pictures following it are randomly accessed in sequence, and the coded data are consecutively accessed. You should read it.
【0018】しかしながら、MPEG方式の場合、可変
長符号化を用いるため、一般に各ピクチャの符号量が変
化し、I−ピクチャやP−ピクチャが記録されている位
置が等間隔とはなっていない。このため、I−ピクチャ
やP−ピクチャに対して正確にランダムアクセスするの
が困難であり、I−ピクチャやP−ピクチャの符号化デ
ータだけを読み出すことができなくなる。このような理
由から、単位時間に再生されるI−ピクチャやP−ピク
チャの枚数は非常に少なくなってしまう。However, in the case of the MPEG system, since variable length coding is used, the code amount of each picture generally changes, and the positions where I-pictures and P-pictures are recorded are not at equal intervals. Therefore, it is difficult to accurately and randomly access the I-picture or P-picture, and it becomes impossible to read only the encoded data of the I-picture or P-picture. For this reason, the number of I-pictures and P-pictures reproduced per unit time becomes very small.
【0019】本発明は、このような事情に鑑みて創案さ
れたものであって、高能率に符号化されたデータが記録
されている場合に、参照フレームなしであるいは1枚の
参照フレームを用いるだけで再生可能な符号化データに
正確にアクセスすることが可能となる動画像記録再生装
置を提供することを目的とする。The present invention has been devised in view of such circumstances, and when high-efficiency coded data is recorded, no reference frame is used or one reference frame is used. It is an object of the present invention to provide a moving image recording / reproducing apparatus that enables accurate access to encoded data that can be reproduced by itself.
【0020】[0020]
【課題を解決するための手段】本願の第1の発明によれ
ば、符号化された動画像データを記録した記録メディア
から動画像を再生する動画像再生装置であって、フレー
ム内符号化されたフレームまたは前方向予測符号化され
たフレームの記録位置を示し、記録メディアの所定の位
置に記録されている管理データをメモリに書き込む手段
と、 前記メモリ上の管理データを用いてフレーム内符
号化データまたは前方向予測符号化データを含むデータ
群を記録メディアから読み出す手段と、前記読み出され
たデータ群から、フレームの開始を示すヘッダを検出
し、フレーム開始以前に得られえる不要なデータを取り
除き、フレーム内符号化データまたは前方向予測符号化
データのみを選択する手段と、前記選択されたデータを
復号する手段と、前記復号されたデータを出力する手段
を備えることを特徴とするものである。According to a first aspect of the present invention, there is provided a moving image reproducing apparatus for reproducing a moving image from a recording medium in which encoded moving image data is recorded, which is intra-frame encoded. Means for writing the management data recorded in a predetermined position of the recording medium to the memory, which indicates the recording position of the frame or the forward predictive coded frame, and intra-frame coding using the management data on the memory. Means for reading a data group including data or forward predictive encoded data from a recording medium, and detecting a header indicating the start of a frame from the read data group
The unnecessary data that can be obtained before the start of the frame.
Except that it is provided with means for selecting only intra-frame coded data or forward predictive coded data, means for decoding the selected data, and means for outputting the decoded data. is there.
【0021】また、本願の第2の発明によれば、前記符
号化された動画像データの各フレームの先頭にフレーム
ヘッダが付与されており、前記読み出されたデータ群か
ら、フレーム内符号化データまたは前方向予測符号化デ
ータのみを選択する際に、前記フレームヘッダを用いる
ことを特徴としている。 According to the second invention of the present application, the code
Frame at the beginning of each frame of the encoded moving image data
A header is added and it is the read data group.
Intraframe coded data or forward predictive coded data.
Use the frame header when selecting only data
It is characterized by that.
【0022】さらに、本願の第3の発明によれば、前記
管理データはビデオシーケンスを管理する第1のテーブ
ルと、記録メディアの記録領域を管理する第2のテーブ
ルと、フレーム内符号化フレーム及び前方向予測符号化
フレームの符号化データの記録位置を管理する第3のテ
ーブルで構成され、ビデオシーケンスの再生順を示す連
結情報と、不連続に記録された記録領域の再生順を示す
連結情報と、フレーム内符号化フレーム及び前方向予測
符号化フレームのつながりを示す連結情報を含むことを
特徴とするものである。 Further , according to the third invention of the present application,
The management data is the first table that manages the video sequence.
And a second table for managing the recording area of the recording medium.
And intra-frame coding and forward prediction coding
A third table for managing the recording position of the encoded data of the frame
Cable sequence, which indicates the playback order of the video sequence.
Indicates the concatenation information and the playback order of the discontinuously recorded recording areas
Concatenation information, intra-frame coded frames and forward prediction
Including the connection information that indicates the connection of encoded frames
It is a feature.
【0023】また、本願の第4の発明によれば、前記管
理データはビデオシーケンスを管理する第1のテーブル
と、記録メディアの記録領域を管理する第2のテーブル
と、フレーム内符号化フレームの符号化データの記録位
置を管理する第3のテーブルと、前方向予測符号化フレ
ームの符号化データの記録位置を管理する第4のテーブ
ルで構成され、ビデオシーケンスの再生順を示す連結情
報と、不連続に記録された記録領域の再生順を示す連結
情報と、フレーム内符号化フレームのつながりを示す連
結情報と、前方向予測フレームのつながりを示す連結情
報を含むことを特徴とするものである。 According to a fourth invention of the present application, the pipe
Physical data is the first table that manages video sequences
And a second table for managing the recording area of the recording medium
And the recording position of the encoded data of the intra-frame encoded frame
A third table for managing the location and the forward predictive coding frame.
4th table for managing the recording position of encoded data of the system
Connected information indicating the playback order of the video sequence.
Information and concatenation indicating the playback order of the recording areas recorded discontinuously
A sequence showing the connection between the information and the intra-coded frame.
Connection information indicating the connection between the connection information and the forward prediction frame
It is characterized by including information.
【0024】本願の第5の発明によれば、前記各テーブ
ルの各ワードに使用か未使用かを示すフラグを付加する
ことを特徴とするものである。 According to the fifth invention of the present application, each of the above-mentioned tables
Add a flag to each word in
It is characterized by that.
【0025】また、本願の第6の発明によれば、動画像
データを符号化して記録メディアに記録し、符号化され
た動画像データを記録した記録メディアから動画像を再
生する動画像記録再生装置であって、動画像データを入
力する手段と、入力された動画像データを符号化する手
段と、フレーム内符号化されたフレームまたは前方向予
測符号化されたフレームの記録位置を管理データとして
メモリに書き込む手段と、符号化されたデータを前記記
録メディアに記録する手段と、前記メモリ上の前記管理
データを前記記録メディアに記録する手段と、符号化さ
れた動画像データを記録した記録メディアから前記管理
データをメモリに書き込む手段と、前記メモリ上の前記
管理データを用いてフレーム内符号化データまたは前方
向予測符号化データを含むデータ群を記録メディアから
読み出す手段と、前記読み出されたデータ群から、フレ
ームの開始を示すヘッダを検出し、フレーム開始以前に
得られる不要なデータを取り除き、フレーム内符号化デ
ータまたは前方向予測符号化データのみを選択する手段
と、前記選択されたデータを復号する手段と、前記復号
されたデータを出力する手段を備えることを特徴とする
ものである。According to the sixth invention of the present application, moving image recording / reproducing for encoding moving image data and recording it on a recording medium, and reproducing the moving image from the recording medium on which the encoded moving image data is recorded. The device is a device for inputting moving image data, a device for encoding the input moving image data, and a recording position of an intra-frame encoded frame or a forward predictive encoded frame as management data. Means for writing in the memory, means for recording the encoded data in the recording medium, means for recording the management data on the memory in the recording medium, and a recording medium recording the encoded moving image data. Means for writing the management data into a memory, and intraframe coded data or forward prediction coded data using the management data in the memory. Means for reading the data set from the storage media including, from the read out data group, frame
The header that indicates the start of the frame
A means for removing unnecessary unnecessary data and selecting only intraframe coded data or forward predictive coded data, means for decoding the selected data, and means for outputting the decoded data It is characterized by.
【0026】[0026]
【作用】本発明によれば、記録メディアの所定の位置に
記録されている管理データに基づいて、キーフレーム
(フレーム内符号化データまたは前方向予測符号化デー
タ)を含むデータ群を記録メディアから読み出し、その
読み出されたデータ群かキーフレームの部分のデータの
みを復号する。このように作用することによって、キー
フレームのみを順次再生していく高速再生や、記録メデ
ィア上の任意の位置から再生を行うランダムアクセスを
行う場合においても所望のデータに正確にアクセスでき
る。 According to the present invention, the recording medium is placed at a predetermined position.
Keyframes based on recorded management data
(Intra-frame coded data or forward predictive coded data
Data group including
Of the read data group or the data of the key frame part
Decrypt only. By acting in this way, the key
High-speed playback in which only frames are played sequentially, and recording media
Random access to play from any position on the
You can access exactly the data you want, even when you do
It
【0027】[0027]
【0028】[0028]
【実施例】以下、本発明を説明するに当たって、記録と
再生の両方の機能を備える動画像記録再生装置を実施例
とし、図面に基づいて詳細に説明する。EXAMPLES In describing the present invention , a record and
Example of a moving image recording / playback device having both playback functions
And will be described in detail with reference to the drawings.
【0029】以下の実施例では、符号化方式として、従
来技術の項で説明したMPEG方式を用いる。また、I
−ピクチャおよびP−ピクチャの各フレームについて、
1フレームの符号化データが記録されているディスク上
での最初のセクタ番号と最後のセクタ番号を管理するデ
ータを管理データと呼ぶ。また、管理データは、ディス
クのTOC(Table Of Contents )の部分に記録するも
のとする。TOCとは、ディスクに関する情報を格納す
る部分を指す。以下では、TOCに記録されている管理
データをTOCデータと呼ぶことにする。In the following embodiments, the MPEG method described in the section of the prior art is used as the encoding method. Also, I
-For each frame of picture and P-picture,
Data that manages the first sector number and the last sector number on the disc on which encoded data of one frame is recorded is called management data. Also, the management data is recorded in the TOC (Table Of Contents) portion of the disc. The TOC refers to a portion that stores information about the disc. Hereinafter, the management data recorded in the TOC will be referred to as TOC data.
【0030】〔第1実施例〕この第1実施例は本発明に
係る第1の動画像記録再生装置(請求項1)の実施例で
ある。図1は第1の動画像記録再生装置のブロック図で
ある。図1において、1は符号化器、2はデータ処理
部、3はディスクコントローラ、4はメモリ部、5は選
択回路、6は復号器、10はディスクである。第1実施
例の動画像記録再生装置は、デジタル動画像の入力デー
タを高能率に符号化する符号化器1と、データ記録時に
は符号化器1から入力される符号化データをセクタ単位
に分割し、記録データとしてディスク10に出力し、再
生時にはディスク10から出力された符号化データを選
択回路5に出力するデータ処理部2と、ディスク10を
コントロールするディスクコントローラ3と、TOCに
記録されているTOCデータを記録するメモリ部4と、
データ処理部2から入力されるデータより必要なデータ
を選択する選択回路5と、選択回路5から入力される符
号化データを復号し再生画像を出力する復号器6とによ
って構成されている。[First Embodiment] This first embodiment is an embodiment of a first moving image recording / reproducing apparatus (claim 1) according to the present invention. FIG. 1 is a block diagram of a first moving image recording / reproducing apparatus. In FIG. 1, 1 is an encoder, 2 is a data processing unit, 3 is a disk controller, 4 is a memory unit, 5 is a selection circuit, 6 is a decoder, and 10 is a disk. The moving picture recording / reproducing apparatus of the first embodiment has an encoder 1 for highly efficiently encoding input data of a digital moving image, and the encoded data inputted from the encoder 1 at the time of data recording is divided into sector units. Then, the data processing unit 2 outputs the encoded data output from the disc 10 to the selection circuit 5 at the time of reproduction as recording data, and outputs the encoded data to the selection circuit 5, the disc controller 3 controlling the disc 10, and the TOC. A memory unit 4 for recording the TOC data stored therein,
A selection circuit 5 that selects necessary data from the data input from the data processing unit 2 and a decoder 6 that decodes the encoded data input from the selection circuit 5 and outputs a reproduced image.
【0031】まず、動画像記録再生装置にディスク10
が挿入されたときの動作を説明する。ディスクコントロ
ーラ3はディスク10のTOC部分を読み出すようにデ
ィスク10に制御データを出力する。そして、データ処
理部2にはディスク10からそのTOC部分に記録され
ているTOCデータが入力される。データ処理部2は入
力されたTOCデータをメモリ部4に出力する。メモリ
部4は複数のメモリで構成され、入力されるTOCデー
タを所定のメモリ位置に記録する。First, the disk 10 is added to the moving image recording / reproducing apparatus.
The operation when is inserted will be described. The disk controller 3 outputs control data to the disk 10 so as to read the TOC portion of the disk 10. Then, the TOC data recorded in the TOC portion of the disc 10 is input to the data processing unit 2. The data processing unit 2 outputs the input TOC data to the memory unit 4. The memory unit 4 is composed of a plurality of memories and records the input TOC data in a predetermined memory position.
【0032】本実施例では、メモリ部4に記録されるT
OCデータは高速再生時に用いるI−ピクチャとP−ピ
クチャの符号化データが記録されているディスク上での
最初のセクタ番号と最後のセクタ番号に加え、通常再生
に用いるデータがあるが、詳細については後述する。な
お、以下では、I−ピクチャとP−ピクチャとを合わせ
てキーフレームと呼ぶ。In this embodiment, the T recorded in the memory unit 4 is recorded.
The OC data includes not only the first sector number and the last sector number on the disc on which the encoded data of I-picture and P-picture used for high-speed reproduction are recorded, but also the data used for normal reproduction. Will be described later. Note that, below, the I-picture and the P-picture are collectively referred to as a key frame.
【0033】通常、ディスク10のTOC部分にはこれ
らのデータ以外にディスク上の空き領域情報などさまざ
まな情報が記録されることがあるが、ここでは省略す
る。Normally, various information such as free area information on the disc may be recorded in the TOC portion of the disc 10 in addition to these data, but it is omitted here.
【0034】次に、符号化データの記録時の動作を説明
する。Next, the operation at the time of recording the encoded data will be described.
【0035】記録時には、符号化器1にはデジタル動画
像データが入力され、MPEG方式で符号化される。そ
して、符号化データをデータ処理部2に出力する。デー
タ処理部2では、符号化器1から入力される符号化デー
タをセクタ単位に分割する。At the time of recording, digital moving image data is input to the encoder 1 and encoded by the MPEG system. Then, the encoded data is output to the data processing unit 2. The data processing unit 2 divides the encoded data input from the encoder 1 into sectors.
【0036】そして、ディスクコントローラ3から入力
されるセクタ番号に従って、ディスク10上の所定のセ
クタに記録されるように符号化データを出力する。ま
た、データ処理部2は、ビデオシーケンスの符号化デー
タを記録するに際して、記録領域が連続した部分につい
て、最初のセクタ番号と最後のセクタ番号をメモリ部4
に出力する。Then, the encoded data is output so as to be recorded in a predetermined sector on the disk 10 according to the sector number input from the disk controller 3. Further, when recording the encoded data of the video sequence, the data processing unit 2 stores the first sector number and the last sector number of the continuous recording area in the memory unit 4.
Output to.
【0037】さらに、データ処理部2では、キーフレー
ム(I,P−ピクチャ)の符号化データの開始と終了を
示す符号を検出する回路を設けておき、キーフレームの
符号化データが記録される最初のセクタ番号と最後のセ
クタ番号をメモリ部4に出力する。あるいは、キーフレ
ームの符号化データの開始と終了を示す符号を検出する
回路を設けずに、符号化器1からキーフレームの符号化
データの開始と終了を示すフラグを入力するようにして
もよい。Further, the data processing unit 2 is provided with a circuit for detecting a code indicating the start and end of the encoded data of the key frame (I, P-picture), and the encoded data of the key frame is recorded. The first sector number and the last sector number are output to the memory unit 4. Alternatively, a flag indicating the start and end of the encoded data of the key frame may be input from the encoder 1 without providing a circuit for detecting the code indicating the start and the end of the encoded data of the key frame. .
【0038】メモリ部4では、データ処理部2から入力
されるセクタ番号を各テーブルの所定のアドレスに記録
する。テーブルについては後で詳しく説明する。In the memory section 4, the sector number input from the data processing section 2 is recorded in a predetermined address of each table. The table will be described in detail later.
【0039】この動作で、ディスク10に符号化データ
が記録された場合に、メモリ部4には常にディスク10
に記録されている符号化データに対応する最新のTOC
データが記録されていることになる。By this operation, when the encoded data is recorded on the disk 10, the disk 10 is always stored in the memory section 4.
The latest TOC corresponding to the encoded data recorded in
The data is recorded.
【0040】ディスク10に新たな符号化データを記録
した場合、メモリ部4には最新のTOCデータが記録さ
れるが、ディスク10のTOCはまだ更新されていな
い。そこで、例えば、記録が終了した時点や装置からデ
ィスク10を取り出す時点で、メモリ部4に記録されて
いるTOCデータをディスク10のTOCに記録する必
要がある。また、ディスク10に符号化データが記録中
であっても、定期的にTOCを更新すべくディスク10
を制御してもよい。When new encoded data is recorded on the disk 10, the latest TOC data is recorded in the memory section 4, but the TOC of the disk 10 has not been updated yet. Therefore, for example, the TOC data recorded in the memory unit 4 needs to be recorded in the TOC of the disk 10 at the time when the recording is completed or when the disk 10 is taken out from the apparatus. Further, even if the encoded data is being recorded on the disc 10, the disc 10 should be updated periodically to update the TOC.
May be controlled.
【0041】この手順は、ディスクコントローラ3がデ
ィスク10のTOCにデータを書き込むようにディスク
10を制御し、メモリ部4のデータを順次にデータ処理
部2に入力するように制御する。データ処理部2では、
メモリ部4から入力されるデータをディスク10に出力
する。In this procedure, the disk controller 3 controls the disk 10 so as to write data in the TOC of the disk 10, and controls the data in the memory section 4 to be sequentially input to the data processing section 2. In the data processing unit 2,
The data input from the memory unit 4 is output to the disk 10.
【0042】次に、通常再生時の動作を説明する。ここ
で、メモリ部4にはすでにディスク10のTOCデータ
が記録されているものとする。Next, the operation during normal reproduction will be described. Here, it is assumed that the memory unit 4 has already recorded the TOC data of the disc 10.
【0043】まず、メモリ部4からディスクコントロー
ラ3に符号化データが記録されている領域の最初のセク
タ番号と最後のセクタ番号が入力される。符号化データ
はメディア(ディスク)上で複数の領域に分割して記録
されていることもあるが、その場合には、各領域ごとに
領域の最初のセクタ番号と最後のセクタ番号がメモリ部
4からディスクコントローラ3に入力される。First, the first sector number and the last sector number of the area in which the encoded data is recorded are input from the memory section 4 to the disk controller 3. The encoded data may be divided and recorded in a plurality of areas on the medium (disk). In that case, the first sector number and the last sector number of the area are stored in the memory unit 4 for each area. Is input to the disk controller 3.
【0044】図2に符号化データが斜線で示した2つの
領域に分割して記録されている場合の例を示す。実際の
ディスク10の記録領域は複数の同心円状またはスパイ
ラル状であるが、ここでは横軸に時間軸をとって表して
いる。図2で符号化データを1,2の順番で読み出すと
すると、メモリ部4からは最初にaの位置のセクタ番号
が出力され、続いて、b,c,dの順番でセクタ番号が
出力される。FIG. 2 shows an example in which the encoded data is divided and recorded in two areas indicated by diagonal lines. The actual recording area of the disk 10 has a plurality of concentric circles or spirals, but here, the horizontal axis represents the time axis. If the encoded data is read in the order of 1 and 2 in FIG. 2, the sector number at the position a is first output from the memory unit 4, and then the sector numbers are output in the order b, c, d. It
【0045】ディスクコントローラ3はメモリ部4から
入力されるセクタ番号に従って、ディスク10の所定の
位置にアクセスするようにディスク制御データを出力す
る。The disk controller 3 outputs disk control data so as to access a predetermined position of the disk 10 according to the sector number input from the memory section 4.
【0046】データ処理部2にはディスク10から連続
した符号化データが入力され、選択回路5に出力され
る。Continuous encoded data is input to the data processing unit 2 from the disk 10 and output to the selection circuit 5.
【0047】選択回路5は、入力されたデータのうち不
要なデータを取り除く回路である。The selection circuit 5 is a circuit for removing unnecessary data from the input data.
【0048】通常、ディスク10からはセクタ単位でデ
ータが得られるため、例えば記録されたデータの途中か
ら再生する場合で、再生を開始するフレームのデータが
セクタの途中から記録されている場合には、最初に不要
なデータが得られることになる。MPEG方式ではフレ
ームごとに符号化データの先頭にフレームの符号化デー
タの開始を示す固定長のヘッダが付加される。選択回路
5ではこの固定長のヘッダを検出し、フレームの開始以
前に得られる不要なデータを取り除き、必要なデータ、
すなわちフレームの先頭の符号化データから復号器6に
出力する。Since data is normally obtained from the disk 10 in sector units, for example, in the case of reproducing from the middle of the recorded data and when the data of the frame for starting reproduction is recorded from the middle of the sector. , First, unnecessary data will be obtained. In the MPEG system, a fixed-length header indicating the start of encoded data of a frame is added to the beginning of the encoded data for each frame. The selection circuit 5 detects this fixed-length header, removes unnecessary data obtained before the start of the frame,
That is, the encoded data at the head of the frame is output to the decoder 6.
【0049】復号器6は、符号化器1で符号化されたデ
ータを復号する回路で、入力されるデータを復号し、再
生画像(デジタル動画像データ)を出力する。The decoder 6 is a circuit for decoding the data encoded by the encoder 1, and decodes the input data and outputs a reproduced image (digital moving image data).
【0050】なお、選択回路5を設けずに、復号器6の
中に選択回路5の機能をもたせてもよい。The function of the selection circuit 5 may be provided in the decoder 6 without providing the selection circuit 5.
【0051】次に、高速再生時の動作を説明する。Next, the operation during high speed reproduction will be described.
【0052】高速再生時には、ディスクコントローラ3
はキーフレーム(I,P−ピクチャ)の符号化データに
対して連続してアクセスするようにディスク10を制御
する。その際に、メモリ部4に記録されているTOCデ
ータを用いる。During high speed reproduction, the disk controller 3
Controls the disk 10 to continuously access the encoded data of the key frame (I, P-picture). At that time, the TOC data recorded in the memory unit 4 is used.
【0053】まず、高速再生が指定された場合、メモリ
部4から再生すべき符号化データに対応するTOCデー
タ、すなわちキーフレームの符号化データの先頭が記録
されているセクタ番号と後端が記録されているセクタ番
号がディスクコントローラ3に出力される。ディスクコ
ントローラ3では、入力されるセクタ番号を用いて、デ
ィスク10をキーフレーム(I,P−ピクチャ)の符号
化データが記録されているセクタだけにアクセスするよ
うに制御する。First, when high speed reproduction is designated, TOC data corresponding to the encoded data to be reproduced from the memory section 4, that is, the sector number and the trailing end of the beginning of the encoded data of the key frame are recorded. The assigned sector number is output to the disk controller 3. The disk controller 3 uses the input sector number to control the disk 10 to access only the sectors in which the encoded data of the key frame (I, P-picture) is recorded.
【0054】データ処理部2にはキーフレームの符号化
データが得られるので、通常再生と同様に入力される符
号化データを選択回路5に出力する。選択回路5,復号
器6でも通常再生と同様の動作をし、復号器6からは再
生画像が出力される。Since the coded data of the key frame can be obtained in the data processing unit 2, the input coded data is output to the selection circuit 5 as in the normal reproduction. The selection circuit 5 and the decoder 6 also perform the same operation as the normal reproduction, and the reproduced image is output from the decoder 6.
【0055】次に、メモリ部4の構成についてさらに詳
述する。Next, the structure of the memory section 4 will be described in more detail.
【0056】図3はメモリ部4のブロック図であり、前
述した変形態様その1に相当している。メモリ部4は、
3つのメモリ12,13,14と、それらを制御するメ
モリコントローラ11で構成される。FIG. 3 is a block diagram of the memory unit 4 and corresponds to the above-described modified mode 1. The memory unit 4 is
It is composed of three memories 12, 13, 14 and a memory controller 11 for controlling them.
【0057】図4に各メモリ12,13,14に記録さ
れるTOCデータの内容の一例を図示する。FIG. 4 shows an example of the contents of TOC data recorded in each memory 12, 13, 14.
【0058】ここでは、メモリ12にシーケンステーブ
ル、メモリ13にセクタテーブル、メモリ14にキーフ
レームテーブルの各データを記録するものとする。各テ
ーブルの内容を以下に説明する。Here, each data of the sequence table is recorded in the memory 12, the sector table is recorded in the memory 13, and the key frame table is recorded in the memory 14. The contents of each table will be described below.
【0059】メモリ12のシーケンステーブルは1つの
ビデオシーケンスに対して1ワードのデータがある。こ
こでビデオシーケンスとは、例えば記録が開始されてか
ら記録が終了するまでの時間的に連続したデータのこと
を示す。1ワードデータは、次のシーケンステーブルを
示すポインタである次シーケンスおよびセクタテーブル
の位置を示すポインタであるテーブル番号からなる。次
シーケンスはビデオシーケンスの再生順序を示し、テー
ブル番号はビデオシーケンスに対応するセクタ番号を記
録したメモリ13(すなわちセクタテーブル)のアドレ
スを示す。ここで、次シーケンスはメモリ12のアドレ
スを示すが、ポインタとしての次シーケンスでつながれ
た最後のデータは「終了」を示す特別な値をもつ。The sequence table of the memory 12 has one word of data for one video sequence. Here, the video sequence indicates, for example, temporally continuous data from the start of recording to the end of recording. One-word data consists of a next sequence, which is a pointer indicating the next sequence table, and a table number, which is a pointer indicating the position of the sector table. The next sequence shows the reproduction order of the video sequence, and the table number shows the address of the memory 13 (that is, the sector table) in which the sector number corresponding to the video sequence is recorded. Here, the next sequence indicates the address of the memory 12, but the last data connected in the next sequence as a pointer has a special value indicating "end".
【0060】メモリ13のセクタテーブルには、ディス
ク10上の連続した記録領域ごとに1ワードのデータが
ある。1ワードデータは、次のセクタテーブルを示すポ
インタである次領域と、連続領域の開始セクタ番号であ
る開始セクタ番号と、連続領域の終了セクタ番号である
終了セクタ番号と、キーフレームテーブルの開始アドレ
スを示すポインタとしての開始セクタアドレスの4つか
らなる。シーケンステーブルの1ワードデータに対応す
るセクタテーブルは、シーケンステーブルのテーブル番
号で示されたセクタテーブルアドレスからポインタとし
ての次領域でつながった分のセクタテーブルと一連とな
る。次領域はメモリ13のアドレスを示すが、ポインタ
である次領域でつながれた最後のデータは「終了」を示
す特別な値をもつ。また、セクタテーブルの1ワードデ
ータで示された連続領域にキーフレーム(I,P−ピク
チャ)が記録されない場合は、スタートセクタアドレス
は「データなし」を示す特別な値をもつ。The sector table of the memory 13 has 1-word data for each continuous recording area on the disk 10. 1-word data includes a next area that is a pointer indicating the next sector table, a start sector number that is the start sector number of the continuous area, an end sector number that is the end sector number of the continuous area, and a start address of the key frame table. It consists of four start sector addresses as pointers indicating The sector table corresponding to 1-word data of the sequence table is a series of sector tables connected by the next area as a pointer from the sector table address indicated by the table number of the sequence table. The next area indicates the address of the memory 13, but the last data connected in the next area, which is a pointer, has a special value indicating "end". If no key frame (I, P-picture) is recorded in the continuous area indicated by 1-word data of the sector table, the start sector address has a special value indicating "no data".
【0061】メモリ14のキーフレームテーブルにはキ
ーフレーム(I,P−ピクチャ)の1フレームごとに1
ワードのデータがある。1ワードのデータは、次のキー
フレームテーブルを示すポインタである次フレームと、
キーフレームの符号化データの先頭が記録されているセ
クタ番号を示すK−開始セクタ番号と、後端が記録され
ているセクタ番号を示すK−終了セクタ番号からなる。
次フレームはメモリ14のアドレスを示すが、ポインタ
としての次フレームでつながれた最後のデータは「終
了」を示す特別な値をもつ。The key frame table of the memory 14 has one key frame (I, P-picture) for each frame.
There is word data. One word of data is the next frame which is a pointer indicating the next key frame table,
It is composed of a K-start sector number indicating the sector number in which the head of the encoded data of the key frame is recorded and a K-end sector number indicating the sector number in which the rear end is recorded.
The next frame indicates the address of the memory 14, but the last data connected in the next frame as a pointer has a special value indicating "end".
【0062】図4の例では、メモリ14のキーフレーム
テーブルに記録されているデータがI−ピクチャの符号
化データを示すのかP−ピクチャの符号化データを示す
のかを示す情報はない。GOPの構造が変化しない場合
は、I−ピクチャが一定間隔で存在しビデオシーケンス
がI−ピクチャから始まることから、どのデータがI−
ピクチャの符号化データを示すかが判定できる。しか
し、GOPの構造が変化する場合は、後述するようにキ
ーフレームテーブルの1ワードデータごとにI−ピクチ
ャの符号化データを示すのかP−ピクチャの符号化デー
タを示すのかを示すフラグを付加する、あるいは、キー
フレームテーブルをI−ピクチャのテーブルとP−ピク
チャのテーブルに分離するという手法を用いる。In the example of FIG. 4, there is no information indicating whether the data recorded in the key frame table of the memory 14 indicates the I-picture encoded data or the P-picture encoded data. If the structure of the GOP does not change, since I-pictures are present at regular intervals and the video sequence starts from I-picture, which data is I-picture?
It can be determined whether the coded data of the picture is indicated. However, if the structure of the GOP changes, a flag indicating whether the encoded data of the I-picture or the encoded data of the P-picture is shown for each word data of the key frame table, as will be described later. Alternatively, a method of separating the key frame table into an I-picture table and a P-picture table is used.
【0063】図5にメモリ部4の各テーブルに記録され
るTOCデータと記録領域との関係を図示する。FIG. 5 illustrates the relationship between the TOC data recorded in each table of the memory unit 4 and the recording area.
【0064】メディア(ディスク)上には複数のビデオ
シーケンスを記録することができ、1つのビデオシーケ
ンスがディスク上で連続した領域に記録されることもあ
れば、複数の領域に分割して記録されることもある。図
5の例では、3つのビデオシーケンスが記録されてお
り、ビデオシーケンス1は3つの領域に分割して記録さ
れている。再生順序は、ビデオシーケンス1,2,3の
順であるとする。A plurality of video sequences can be recorded on the medium (disc), and one video sequence may be recorded in a continuous area on the disc or divided into a plurality of areas. Sometimes In the example of FIG. 5, three video sequences are recorded, and the video sequence 1 is divided into three areas and recorded. The reproduction order is assumed to be the order of the video sequences 1, 2 and 3.
【0065】図5の例の場合、シーケンステーブルには
ビデオシーケンス1,2,3のそれぞれに対応した3つ
の1ワードデータがあることになる。最初の1ワードデ
ータはビデオシーケンス1に対応するデータであり、ビ
デオシーケンス1の次シーケンスがビデオシーケンス2
に対応する1ワードデータを示し、ビデオシーケンス2
の次シーケンスがビデオシーケンス3に対応する1ワー
ドデータを示すことになる。そして、シーケンステーブ
ルのテーブル番号がビデオシーケンスに対応する最初の
セクタテーブルのアドレスを示す。この管理は、図3の
メモリ12(シーケンステーブル)で行っている。In the case of the example in FIG. 5, the sequence table has three 1-word data corresponding to each of the video sequences 1, 2, and 3. The first 1-word data is the data corresponding to the video sequence 1, and the next sequence of the video sequence 1 is the video sequence 2.
1 word data corresponding to the video sequence 2
The next sequence of 1 indicates 1-word data corresponding to the video sequence 3. Then, the table number of the sequence table indicates the address of the first sector table corresponding to the video sequence. This management is performed by the memory 12 (sequence table) in FIG.
【0066】セクタテーブルはメディア(ディスク)上
で連続した記録領域に1ワードデータが対応する。すな
わち、図5の場合、ビデオシーケンス1に対応するセク
タテーブルの1ワードデータは3つあることになる。こ
のように、複数のセクタテーブルがある場合は、セクタ
テーブルの次領域が順々に次のセクタテーブルを示す。
セクタテーブルの1ワードデータのうち開始セクタ番号
は連続する記録領域の最初のセクタ番号を示し、終了セ
クタ番号は最後のセクタ番号を示す。この連続した記録
領域には複数のキーフレーム(I,P−ピクチャ)の符
号化データが記録される。このうち、最初のキーフレー
ムの符号化データが記録されるセクタ番号は開始セクタ
アドレスによって示されるキーフレームテーブルにより
管理される。In the sector table, one word data corresponds to a continuous recording area on the medium (disk). That is, in the case of FIG. 5, there are three 1-word data in the sector table corresponding to the video sequence 1. As described above, when there are a plurality of sector tables, the area next to the sector table sequentially indicates the next sector table.
Of the 1-word data of the sector table, the start sector number indicates the first sector number of the continuous recording area, and the end sector number indicates the last sector number. Encoded data of a plurality of key frames (I, P-pictures) is recorded in this continuous recording area. Among these, the sector number in which the encoded data of the first key frame is recorded is managed by the key frame table indicated by the start sector address.
【0067】キーフレームテーブルの1ワードデータの
うちK−開始セクタ番号が1つのキーフレームの符号化
データが記録されている最初のセクタ番号を示し、K−
終了セクタ番号が最後のセクタ番号を示す。そして、次
フレームが順々に次のキーフレームテーブルデータを示
す。Among the 1-word data of the key frame table, the K-start sector number indicates the first sector number in which the encoded data of one key frame is recorded, and K-
The ending sector number indicates the last sector number. Then, the next frame sequentially shows the next key frame table data.
【0068】図6にはキーフレームの符号化データが複
数のセクタテーブルで管理された領域にまたがる特別な
場合の例を示す。この例では、キーフレームiの符号化
データが記録領域1,記録領域2,記録領域3の3つの
記録領域にまたがって記録されている。FIG. 6 shows an example of a special case where coded data of a key frame extends over an area managed by a plurality of sector tables. In this example, the coded data of the key frame i is recorded over three recording areas of the recording area 1, the recording area 2, and the recording area 3.
【0069】図6の場合、記録領域1に対応する最後の
キーフレームテーブルのK−開始セクタ番号にはキーフ
レームiの最初の符号化データが記録されているセクタ
番号が記録され、K−終了セクタ番号には最後の符号化
データが記録されているセクタ番号が記憶されており、
K−終了セクタ番号は記録領域3のセクタ番号である。
また、記録領域2に対応するキーフレームテーブルはな
いので、記録領域2の開始セクタアドレスには「データ
なし」を示すデータを記録する。そして、記録領域3の
開始セクタアドレスはキーフレームi+1のキーフレー
ムテーブルを示す。In the case of FIG. 6, the sector number in which the first encoded data of the key frame i is recorded is recorded in the K-start sector number of the last key frame table corresponding to the recording area 1, and K-end. The sector number stores the sector number in which the last encoded data is recorded,
The K-end sector number is the sector number of the recording area 3.
Further, since there is no key frame table corresponding to the recording area 2, data indicating "no data" is recorded at the start sector address of the recording area 2. Then, the start sector address of the recording area 3 indicates the key frame table of the key frame i + 1.
【0070】高速再生時には、メモリ部4のキーフレー
ムテーブルに記録されているセクタ番号がディスクコン
トローラ3に入力され、ディスクコントローラ3はK−
開始セクタ番号からK−終了セクタ番号までのデータを
読み出すようにディスク10を制御する。このとき、図
6で示したキーフレームiを再生する場合は、先に述べ
たようにキーフレームテーブルのキーフレームiに対応
するK−開始セクタ番号とK−終了セクタ番号が異なる
記録領域を示すことになる。しかし、このような場合で
も、セクタテーブルに記録された情報によって記録領域
1,記録領域2,記録領域3の順に再生することは知る
ことができる。そこで、ディスクコントローラ3は、記
録領域1,記録領域2,記録領域3の順にディスク10
にアクセスし、K−終了セクタ番号までのデータを読み
出す。At the time of high speed reproduction, the sector number recorded in the key frame table of the memory section 4 is input to the disk controller 3, and the disk controller 3 outputs K-
The disk 10 is controlled to read data from the start sector number to the K-end sector number. At this time, when the key frame i shown in FIG. 6 is reproduced, a recording area having different K-start sector numbers and K-end sector numbers corresponding to the key frame i of the key frame table is shown as described above. It will be. However, even in such a case, it can be known that the recording area 1, the recording area 2, and the recording area 3 are reproduced in this order by the information recorded in the sector table. Therefore, the disk controller 3 uses the recording area 1, the recording area 2, and the recording area 3 in this order.
To read data up to the K-end sector number.
【0071】以下、図1のメモリ部4の動作をさらに詳
しく説明する。The operation of the memory section 4 of FIG. 1 will be described in more detail below.
【0072】装置にディスク10が挿入された場合は、
ディスク10に記録されているTOCデータが順次、メ
モリ部4に入力され、メモリ部4の所定のメモリに記録
される。When the disk 10 is inserted into the device,
The TOC data recorded on the disk 10 is sequentially input to the memory unit 4 and recorded in a predetermined memory of the memory unit 4.
【0073】図7に、ディスク10に符号化データを記
録する場合のメモリ部4の動作をフローチャートで示
す。これは、記録時のメモリ部4におけるTOCデータ
の更新を示すものである。図3のメモリ12のシーケン
ステーブルではすでに記録されているデータの後端に1
ワードのデータを追加し、追加されたシーケンステーブ
ルのデータに対応するメモリ13のセクタテーブル、メ
モリ14のキーフレームテーブルのデータを追加記録す
る。FIG. 7 is a flow chart showing the operation of the memory section 4 when the encoded data is recorded on the disc 10. This shows updating of the TOC data in the memory unit 4 at the time of recording. In the sequence table of the memory 12 of FIG. 3, 1 is added to the trailing end of the already recorded data.
The word data is added, and the data of the sector table of the memory 13 and the key frame table of the memory 14 corresponding to the data of the added sequence table are additionally recorded.
【0074】以下の説明では、ad12,adl12は
図3のメモリ12のアドレスを、ad13,adn13
はメモリ13のアドレスを、ad14,adn14はメ
モリ14のアドレスをそれぞれ示す。また、各テーブル
は図4の構造に基づくものである。なお、記録に際して
は予め図1のディスクコントローラ3がTOCデータに
基づきディスク10の空き領域を管理し、空き領域の各
セクタにデータを記録する制御を行うものとする。In the following description, ad12 and adl12 are the addresses of the memory 12 shown in FIG.
Indicates the address of the memory 13, and ad14 and adn14 indicate the address of the memory 14, respectively. Each table is based on the structure shown in FIG. When recording, the disk controller 3 of FIG. 1 manages the free area of the disk 10 based on the TOC data in advance, and controls the recording of data in each sector of the free area.
【0075】まず、ステップ101〜ステップ104で
メモリ12のシーケンステーブルを設定する。メモリ1
2の空き領域とメモリ13の空き領域を探索し、それぞ
れをad12,ad13とする(ステップ101)。そ
して、ad12のテーブル番号をad13と設定し、a
d12の次シーケンスを「終了」と設定する(ステップ
102)。次に、メモリ12のシーケンステーブルのポ
インタである次シーケンスでつながったデータのうち最
後のデータアドレスをadl12とする(ステップ10
3)。そして、adl12の次シーケンスをad12と
設定する(ステップ104)。以上の操作で、シーケン
ステーブルの後端に新たな1ワードデータad12が追
加されたことになる。First, in steps 101 to 104, the sequence table of the memory 12 is set. Memory 1
A free area of 2 and a free area of the memory 13 are searched for and designated as ad12 and ad13, respectively (step 101). Then, the table number of ad12 is set to ad13, and a
The sequence next to d12 is set to "end" (step 102). Next, the last data address of the data connected in the next sequence, which is the pointer of the sequence table of the memory 12, is set to adl12 (step 10).
3). Then, the sequence next to adl12 is set to ad12 (step 104). By the above operation, new 1-word data ad12 is added to the rear end of the sequence table.
【0076】次に、メモリ13のセクタテーブルを設定
する。メモリ部4には、メディア(ディスク)上での連
続記録領域の最初のセクタ番号が入力されるので、この
入力データをad13の開始セクタ番号に記録する(ス
テップ105)。そして、メモリ14のキーフレームテ
ーブルの空き領域を探索し、ad14とする(ステップ
106)。さらに、ad13の開始セクタアドレスをa
d14と設定する(ステップ107)。Next, the sector table of the memory 13 is set. Since the first sector number of the continuous recording area on the medium (disk) is input to the memory unit 4, this input data is recorded at the start sector number of ad13 (step 105). Then, a free area of the key frame table of the memory 14 is searched and set as ad14 (step 106). Furthermore, the start sector address of ad13 is set to a
It is set to d14 (step 107).
【0077】次に、キーフレーム(I,P−ピクチャ)
の符号化データの先頭および終了を示す2つのセクタ番
号が入力される。この2つのセクタ番号をad14のK
−開始セクタ番号とK−終了セクタ番号に書き込む(ス
テップ108)。そして、メディア(ディスク)の連続
記録領域が終了したかどうかを判定し(ステップ10
9)、終了でない場合はメモリ14の空き領域を探索
し、adn14とする(ステップ110)。そして、a
d14の次フレームをadn14と設定し、ad14が
adn14を示すように更新する(ステップ111)。
そして、ステップ108に戻る。ステップ108〜ステ
ップ111のループでメディア(ディスク)上で連続し
た記録領域に記録されるキーフレームの符号化データを
示すセクタ番号をキーフレームテーブルに書き込むこと
になる。Next, the key frame (I, P-picture)
Two sector numbers indicating the beginning and end of the encoded data of are input. Set these two sector numbers to K in ad14.
Write to the start sector number and K-end sector number (step 108). Then, it is judged whether or not the continuous recording area of the medium (disk) has ended (step 10
9) If not finished, a free area in the memory 14 is searched for and set to adn14 (step 110). And a
The frame next to d14 is set as adn14, and ad14 is updated to indicate adn14 (step 111).
Then, the process returns to step 108. In the loop of steps 108 to 111, the sector number indicating the encoded data of the key frame recorded in the continuous recording area on the medium (disk) is written in the key frame table.
【0078】ステップ109でメディア(ディスク)の
連続記録領域が終了である場合は、入力セクタ番号であ
る領域の最後のセクタ番号をセクタテーブルのad13
の終了セクタ番号に記録し(ステップ112)、キーフ
レームテーブルのad14の次フレームを「終了」とす
る(ステップ113)。ステップ105〜ステップ11
3で1ワードのセクタテーブルのデータが設定されるこ
とになる。If the continuous recording area of the medium (disk) is finished in step 109, the last sector number of the area which is the input sector number is set to ad13 of the sector table.
Is recorded in the end sector number of (step 112), and the frame next to ad14 in the key frame table is set to "end" (step 113). Step 105 to Step 11
In 3, the 1-word sector table data is set.
【0079】次に、ステップ114で入力データが終了
かどうかを判定し、終了でない場合は、セクタテーブル
の空き領域を探索してadn13とし(ステップ11
5)、ad13の次領域をadn13と設定し、ad1
3がadn13を示すように更新する(ステップ11
6)。そして、ステップ105に戻る。ステップ105
〜ステップ116のループで前のセクタテーブルからポ
インタで接続された新たなセクタテーブルが作成され、
そのセクタテーブルが示す一連のキーフレームテーブル
にセクタ番号が記録されることになる。Next, in step 114, it is judged whether or not the input data is finished. If it is not finished, a free area in the sector table is searched and set to adn13 (step 11
5), the area next to ad13 is set as adn13, and ad1
3 is updated to indicate adn13 (step 11
6). Then, the process returns to step 105. Step 105
~ In the loop of step 116, a new sector table connected by a pointer from the previous sector table is created,
The sector number is recorded in a series of key frame tables indicated by the sector table.
【0080】そして、ステップ114でデータが終了と
判定された場合は、ad13の次領域を「終了」と設定
し(ステップ117)、動作を終了する。If it is determined in step 114 that the data has ended, the area next to ad13 is set to "end" (step 117), and the operation ends.
【0081】次に、通常再生時の動作を説明する。Next, the operation during normal reproduction will be described.
【0082】通常再生時には、メモリ部4からディスク
コントローラ3に、再生するビデオシーケンスに対応す
るセクタテーブルの開始セクタ番号と終了セクタ番号が
出力される。At the time of normal reproduction, the start sector number and end sector number of the sector table corresponding to the video sequence to be reproduced are output from the memory section 4 to the disk controller 3.
【0083】図8に通常再生時のメモリ部4の動作をフ
ローチャートで示す。ここでは、再生中のデータに対応
するシーケンステーブル,セクタテーブルそれぞれのア
ドレスを示す現在のシーケンスアドレス、現在のセクタ
アドレスの2つのポインタを用いる。また、各テーブル
は図4の構造に基づくものである。FIG. 8 is a flowchart showing the operation of the memory section 4 during normal reproduction. Here, two pointers, that is, the current sequence address and the current sector address, which respectively indicate the addresses of the sequence table and the sector table corresponding to the data being reproduced, are used. Each table is based on the structure shown in FIG.
【0084】まず、現在のシーケンスアドレス,現在の
セクタアドレスの設定をする(ステップ121,12
2)。次に、現在のセクタアドレスの開始セクタ番号の
値と終了セクタ番号の値をディスクコントローラ3に出
力する(ステップ123,124)。ディスクコントロ
ーラ3では、メモリ部4から入力される連続記録領域の
最初のセクタ番号と最後のセクタ番号を用いて、連続記
録領域に記録されているデータを読み出すようにディス
ク10を制御する。First, the current sequence address and the current sector address are set (steps 121 and 12).
2). Next, the values of the start sector number and end sector number of the current sector address are output to the disk controller 3 (steps 123 and 124). The disk controller 3 controls the disk 10 to read the data recorded in the continuous recording area by using the first sector number and the last sector number of the continuous recording area input from the memory unit 4.
【0085】そして、現在のセクタアドレスの次領域が
終了かどうかを判定する(ステップ125)。終了でな
いと判定した場合は、現在のシーケンスアドレスに対応
するセクタテーブルが残っているので、現在のセクタア
ドレスを現在のセクタアドレスの次領域としてポインタ
を進め(ステップ126)、ステップ123に戻る。Then, it is determined whether or not the area next to the current sector address is completed (step 125). If it is determined that the processing is not finished, the sector table corresponding to the current sequence address remains, so the pointer is advanced with the current sector address as the area next to the current sector address (step 126), and the process returns to step 123.
【0086】ステップ123〜ステップ126のループ
でシーケンステーブルの1ワードデータに対応する複数
のディスク上での連続記録領域ごとに、領域の最初のセ
クタ番号と最後のセクタ番号が順次出力される。In the loop of steps 123 to 126, the first sector number and the last sector number of the area are sequentially output for each continuous recording area on a plurality of disks corresponding to one word data of the sequence table.
【0087】ステップ125で終了と判定した場合は、
現在のシーケンスアドレスの次シーケンスが終了かどう
かを判定する(ステップ127)。終了でないと判定し
た場合は、ディスクに記録されているビデオシーケンス
が残っているので、現在のシーケンスアドレスを現在の
シーケンスアドレスの次シーケンスとしてポインタを進
め(ステップ128)、ステップ122に戻る。ステッ
プ122〜ステップ128のループでディスクに記録さ
れているビデオシーケンスが終了するまで連続記録領域
ごとに最初のセクタ番号と最後のセクタ番号が順次出力
される。If it is determined in step 125 that the processing has ended,
It is determined whether the next sequence of the current sequence address is finished (step 127). If it is determined that the processing has not ended, there is still a video sequence recorded on the disc, so the pointer is advanced (step 128) with the current sequence address as the next sequence of the current sequence address, and the process returns to step 122. In the loop of steps 122 to 128, the first sector number and the last sector number are sequentially output for each continuous recording area until the video sequence recorded on the disc is completed.
【0088】図9に高速再生の場合のメモリ部4の動作
をフローチャートで示す。高速再生時にはメモリ部4に
記録されているディスク上のキーフレームの符号化デー
タが記録されているセクタ番号を読み出し、ディスクコ
ントローラ3に出力する。ここでは、再生中のデータに
対応するシーケンステーブル,セクタテーブル,キーフ
レームテーブルそれぞれのアドレスを示す現在のシーケ
ンスアドレス,現在のセクタアドレス,現在のフレーム
アドレスという3つのポインタを用いる。FIG. 9 is a flowchart showing the operation of the memory section 4 in the case of high speed reproduction. At the time of high speed reproduction, the sector number in which the encoded data of the key frame on the disc recorded in the memory unit 4 is read out and output to the disc controller 3. Here, three pointers are used, which are the current sequence address, the current sector address, and the current frame address, which indicate the addresses of the sequence table, the sector table, and the key frame table corresponding to the data being reproduced.
【0089】まず、現在のシーケンスアドレス,現在の
セクタアドレス,現在のフレームアドレスの設定をする
(ステップ131〜133)。次に、現在のフレームア
ドレスの開始セクタ番号と終了セクタ番号をディスクコ
ントローラ3に出力する(ステップ134)。ディスク
コントローラ3では、メモリ部4から入力される連続記
録領域の最初のセクタ番号と最後のセクタ番号を用い
て、連続記録領域に記録されているデータを読み出すよ
うにディスク10を制御する。First, the current sequence address, current sector address, and current frame address are set (steps 131-133). Next, the start sector number and end sector number of the current frame address are output to the disk controller 3 (step 134). The disk controller 3 controls the disk 10 to read the data recorded in the continuous recording area by using the first sector number and the last sector number of the continuous recording area input from the memory unit 4.
【0090】そして、現在のフレームアドレスの次フレ
ームが「終了」かどうかを判定する(ステップ13
5)。終了でないと判定した場合は、次のキーフレーム
テーブルに次にアクセスすべきセクタ番号が記録されて
いるので、現在のフレームアドレスを現在のフレームア
ドレスの次フレームとしてポインタを進め(ステップ1
36)、ステップ134に戻る。ステップ134〜ステ
ップ136のループでセクタテーブルの1ワードデータ
に対応するキーフレームテーブルに記録されている複数
のセクタ番号がディスクコントローラ3に出力される。Then, it is judged whether or not the next frame of the current frame address is "end" (step 13).
5). If it is determined that the processing is not finished, the sector number to be accessed next is recorded in the next key frame table, so the current frame address is set as the next frame of the current frame address and the pointer is advanced (step 1
36) and returns to step 134. In the loop of steps 134 to 136, a plurality of sector numbers recorded in the key frame table corresponding to 1-word data of the sector table are output to the disk controller 3.
【0091】ステップ135で終了と判定した場合は、
現在のセクタアドレスの次領域が終了かどうかを判定す
る(ステップ137)。終了でないと判定した場合は、
現在のシーケンスアドレスに対応するセクタテーブルが
残っているので、現在のセクタアドレスを現在のセクタ
アドレスの次領域としてポインタを進め(ステップ13
8)、ステップ133に戻る。ステップ133〜ステッ
プ138のループでシーケンステーブルの1ワードデー
タに対応するキーフレームの符号化データが記録されて
いるセクタ番号が順次出力される。If it is determined in step 135 that the process has ended,
It is determined whether the area next to the current sector address is finished (step 137). If it is determined that it is not finished,
Since the sector table corresponding to the current sequence address remains, the pointer is advanced with the current sector address as the area next to the current sector address (step 13).
8) and returns to step 133. In the loop of steps 133 to 138, the sector numbers in which the encoded data of the key frame corresponding to the 1-word data of the sequence table are recorded are sequentially output.
【0092】ステップ137で終了と判定した場合は、
現在のシーケンスアドレスの次シーケンスが「終了」か
どうかを判定する(ステップ139)。終了でないと判
定した場合は、ディスクに記録されているビデオシーケ
ンスが残っているので、現在のシーケンスアドレスを現
在のシーケンスアドレスの次シーケンスとしてポインタ
を進め(ステップ140)、ステップ132に戻る。ス
テップ132〜ステップ140のループでメディア(デ
ィスク)に記録されているビデオシーケンスが終了する
までキーフレームの符号化データが記録されているセク
タ番号が順次出力される。If it is determined in step 137 that the processing has ended,
It is determined whether the sequence next to the current sequence address is "end" (step 139). If it is determined that the recording has not ended, there is still a video sequence recorded on the disc, so the pointer is advanced (step 140) with the current sequence address as the next sequence of the current sequence address, and the process returns to step 132. In the loop of steps 132 to 140, the sector numbers in which the coded data of the key frames are recorded are sequentially output until the video sequence recorded on the medium (disk) is completed.
【0093】図9の例では、キーフレームテーブルに連
続して記録されているすべてのセクタ番号を出力する、
すなわち、すべてのキーフレーム(I,P−ピクチャ)
を再生することになるが、高速再生の速度が速い場合は
いくつかのフレームを間引いて出力してもよい。In the example of FIG. 9, all the sector numbers continuously recorded in the key frame table are output.
That is, all key frames (I, P-pictures)
However, if the high-speed playback speed is high, some frames may be thinned out and output.
【0094】ここで、P−ピクチャを復号するためには
過去のI−ピクチャまたはP−ピクチャの復号画像が必
要になるため、GOP内のあるI−ピクチャやP−ピク
チャを間引いた場合、そのGOP内では間引いたフレー
ム以降のP−ピクチャは復号できないことになる。例え
ば図10に示すようなGOP構造の場合、フレーム
(c)を間引いたとき、フレーム(d)は参照する
(c)の復号画像が得られないため復号できないことに
なる。同様に、フレーム(b)を間引いた場合は、フレ
ーム(c),(d)は復号できず、フレーム(a)を間
引いた場合は、フレーム(b),(c),(d)は復号
できないことになる。Here, since a decoded image of a past I-picture or P-picture is required to decode a P-picture, when a certain I-picture or P-picture in the GOP is thinned out, In the GOP, P-pictures after the thinned frame cannot be decoded. For example, in the case of the GOP structure as shown in FIG. 10, when the frame (c) is thinned out, the frame (d) cannot be decoded because the decoded image of the reference (c) cannot be obtained. Similarly, when the frame (b) is thinned out, the frames (c) and (d) cannot be decoded, and when the frame (a) is thinned out, the frames (b), (c) and (d) are decoded. It will not be possible.
【0095】このように、間引くフレームによって復号
できなくなるフレーム数が異なるため、高速再生の速度
からどのフレームを間引くかを計算する必要がある。As described above, since the number of frames that cannot be decoded differs depending on the thinned-out frame, it is necessary to calculate which frame is thinned out from the high-speed reproduction speed.
【0096】ここで、GOP構造が不変の場合は、どの
キーフレームがI−ピクチャであるかが分かるが、ビデ
オシーケンスの途中でGOP構造が変化する場合は、ど
のキーフレームがI−ピクチャであるか分からなくな
る。そこで、例えば図11に示すように、キーフレーム
テーブルの1ワードデータごとにI−ピクチャの符号化
データに対応するデータかP−ピクチャに符号化データ
に対応するデータかを示す1ビットのフラグを付加すれ
ば、GOP構造にかかわらず、キーフレームがI−ピク
チャかP−ピクチャかを知ることができる。Here, when the GOP structure is unchanged, it is possible to know which key frame is the I-picture, but when the GOP structure changes in the middle of the video sequence, which key frame is the I-picture. I don't know. Therefore, for example, as shown in FIG. 11, a 1-bit flag indicating whether the data corresponds to the encoded data of the I-picture or the data corresponding to the encoded data of the P-picture for each word data of the key frame table. If added, it is possible to know whether the key frame is an I-picture or a P-picture, regardless of the GOP structure.
【0097】あるいは、メモリ部4を図12に示すよう
な構成としてもよい。図12は前述した変形態様その2
に相当しているメモリ部4の構成であり、メモリ部4を
4つのメモリ12,13,15,16と1つのメモリコ
ントローラ11で構成している。図12で、メモリ1
2,13は図3に示すメモリ12,13と同一であり、
メモリ15はI−ピクチャ用キーフレームテーブル、メ
モリ16はP−ピクチャ用キーフレームテーブルであ
る。Alternatively, the memory section 4 may be constructed as shown in FIG. FIG. 12 is a modification example 2 described above.
The memory unit 4 is composed of four memories 12, 13, 15, 16 and one memory controller 11. In FIG. 12, the memory 1
2 and 13 are the same as the memories 12 and 13 shown in FIG.
The memory 15 is an I-picture key frame table, and the memory 16 is a P-picture key frame table.
【0098】図13にI−ピクチャ用キーフレームテー
ブルとP−ピクチャ用キーフレームテーブルに記録する
データの一例を示す。ここでは、I−ピクチャ用キーフ
レームテーブルは、図4で示したキーフレームテーブル
に加え、1ワードのデータごとにP−ピクチャ用キーフ
レームテーブルのアドレスを示すポインタP−開始アド
レスを備えている。そして、1GOPに対応するキーフ
レームテーブルが、I−ピクチャ用キーフレームテーブ
ルのキーフレームテーブルの1ワードデータとそのデー
タのP−開始アドレスからP−次フレームでつながった
P−ピクチャ用キーフレームテーブルのワードデータと
なっている。FIG. 13 shows an example of data recorded in the I-picture key frame table and the P-picture key frame table. Here, the I-picture key frame table includes, in addition to the key frame table shown in FIG. 4, a pointer P-start address indicating the address of the P-picture key frame table for each 1-word data. The keyframe table corresponding to 1 GOP is the 1-word data of the keyframe table of the I-picture keyframe table and the P-picture keyframe table connected from the P-start address of the data in the P-next frame. It is word data.
【0099】本発明の動画像記録再生装置では、ビデオ
シーケンスやその一部の再生順序を変更する場合や消去
する場合は、メモリ部4のシーケンステーブルやセクタ
テーブルの変更だけですみ、ディスク10に記録されて
いる符号化データを変更する必要はない。例えば、1つ
のビデオシーケンスを消去する場合は、消去するビデオ
シーケンスに対応するシーケンステーブルの1ワードデ
ータを次シーケンスでつながっているポインタから外す
だけでよい。なお、各テーブルに新たなデータを書き込
むためには、各テーブルで未使用のアドレスを管理する
必要がある。In the moving picture recording / reproducing apparatus of the present invention, when changing or erasing the reproduction order of a video sequence or a part thereof, only the sequence table or sector table of the memory unit 4 needs to be changed. There is no need to change the recorded encoded data. For example, when erasing one video sequence, it is only necessary to remove one-word data in the sequence table corresponding to the video sequence to be erased from the pointers connected in the next sequence. In addition, in order to write new data in each table, it is necessary to manage unused addresses in each table.
【0100】図14に前述した変形態様その3に相当す
るメモリ部4を示す。この態様は、各テーブルの1ワー
ドデータごとに使用か未使用かを示す1ビットのフラグ
を付加したものである。FIG. 14 shows a memory section 4 corresponding to the third modification. In this mode, a 1-bit flag indicating whether it is used or not is added to each word data of each table.
【0101】未使用のアドレスを管理する方法は、図1
4の態様以外にテーブルごとに空きアドレスを管理する
テーブルを備える方法とか、各テーブルのポインタをた
どって使用のアドレスを調べることで未使用のアドレス
を知るといった方法が考えられる。また、使用か未使用
かを示すフラグは先に説明した図11や図13のテーブ
ルにも適用できる。The method of managing unused addresses is shown in FIG.
In addition to the mode of 4, the method of providing a table for managing free addresses for each table, or the method of finding an unused address by checking the used address by tracing the pointer of each table can be considered. Further, the flag indicating whether it is used or not can be applied to the tables of FIGS. 11 and 13 described above.
【0102】〔第2実施例〕この第2実施例は本発明に
係る第2の動画像記録再生装置(請求項2)の実施例で
ある。図15は第2の動画像記録再生装置のブロック図
である。図15において、1は符号化器、2はデータ処
理部、4はメモリ部、5は選択回路、7はディスクコン
トローラ、8は復号器、10はディスクである。図15
の構成は、以下の点を除いて図1の構成と同じである。
すなわち、図15においては、復号器8からディスクコ
ントローラ7にキーフレームの符号化データの終了を示
すフラグを入力するように構成してある。また、図1の
場合ではメモリ部4にキーフレームの符号化データが記
録されている最初のセクタ番号と最後のセクタ番号が記
録されているが、図15の場合には最初のセクタ番号だ
けが記録されている。[Second Embodiment] The second embodiment is an embodiment of a second moving image recording / reproducing apparatus (claim 2) according to the present invention. FIG. 15 is a block diagram of the second moving image recording / reproducing apparatus. In FIG. 15, 1 is an encoder, 2 is a data processing unit, 4 is a memory unit, 5 is a selection circuit, 7 is a disk controller, 8 is a decoder, and 10 is a disk. Figure 15
The configuration is the same as that of FIG. 1 except for the following points.
That is, in FIG. 15, the decoder 8 inputs the flag indicating the end of the encoded data of the key frame to the disk controller 7. Further, in the case of FIG. 1, the first sector number and the last sector number in which the encoded data of the key frame is recorded are recorded in the memory unit 4, but in the case of FIG. 15, only the first sector number is recorded. It is recorded.
【0103】高速再生時には、図1の実施例ではメモリ
部4からディスクコントローラ3にキーフレーム(I,
P−ピクチャ)の符号化データが記録されている最初の
セクタ番号と最後のセクタ番号が入力され、ディスクコ
ントローラ3ではそのセクタ番号で指定された間のセク
タを読み出すようにディスク10を制御していたが、図
15の実施例の場合には、メモリ部4からはキーフレー
ムの符号化データが記録されている最初のセクタ番号だ
けが入力される。At the time of high-speed reproduction, in the embodiment of FIG. 1, the key frame (I,
The first sector number and the last sector number in which the encoded data of (P-picture) is recorded are input, and the disc controller 3 controls the disc 10 to read the sectors between the designated sector numbers. However, in the case of the embodiment of FIG. 15, only the first sector number in which the encoded data of the key frame is recorded is input from the memory unit 4.
【0104】そして、図15の実施例では、キーフレー
ムの符号化データの終了は復号器8で検出され、キーフ
レームの符号化データの終了を示すフラグがディスクコ
ントローラ7に入力される。ディスクコントローラ7で
は、復号器8から入力されるフラグを受け取ると、次に
メモリ部4から入力されるセクタ番号にアクセスするよ
うにディスク10を制御する。In the embodiment of FIG. 15, the end of the coded data of the key frame is detected by the decoder 8 and a flag indicating the end of the coded data of the key frame is input to the disk controller 7. Upon receiving the flag input from the decoder 8, the disk controller 7 controls the disk 10 to access the sector number input next from the memory unit 4.
【0105】図15に示した第2の動画像記録再生装置
は、復号器8にキーフレームの符号化データの終了を検
出する機能をもたせたものであるが、選択回路5やデー
タ処理部2にキーフレームの符号化データの終了を検出
する機能を付加するのでもよい。The second moving picture recording / reproducing apparatus shown in FIG. 15 has the decoder 8 having a function of detecting the end of the encoded data of the key frame. A function of detecting the end of the encoded data of the key frame may be added to.
【0106】以上の実施例は、高速再生時に飛び飛びの
フレーム、すなわち飛び飛びに記録されているデータに
アクセスするためのものである。したがって、本発明
は、以下のようなランダムアクセスを伴う特殊再生にも
適用することができる。The above embodiments are for accessing discrete frames, that is, discretely recorded data during high speed reproduction. Therefore, the present invention can also be applied to special reproduction involving random access as described below.
【0107】例えば、一定時間ごとの縮小画像を1画面
に一覧表示し、ディスクの内容を概観する機能は、縮小
画像を作成するために短時間に多くの画像にランダムア
クセスする必要がある。あるいは、動画像のシーンの編
集を、ディスクに記録されている実際のデータをコピー
することなく、必要なカットを論理的なポインタでつな
ぎ合わせて連続再生する機能は、ポインタのつなぎ目で
ランダムアクセスする必要がある。For example, the function of displaying a list of reduced images at regular intervals on a single screen and overviewing the contents of the disc requires random access to many images in a short time in order to create reduced images. Alternatively, for editing a scene of a moving image, the necessary cuts are connected by a logical pointer and continuously played back without copying the actual data recorded on the disc. Random access is made at the joint between the pointers. There is a need.
【0108】本実施例では、ディスク上の位置を示す情
報としてディスク上のセクタ番号を用いているが、本発
明はこれに限定するものではない。ディスクによっては
異なる表現の場合があり、例えばトラック番号とセクタ
番号の組になっていることもある。その場合はディスク
に適応した表現を用いればよい。また、管理データはT
OC領域に書き込まれているが、TOC以外の領域でも
かまわない。また、本実施例では管理データとしてはI
−ピクチャやP−ピクチャが記録されているセクタ番号
を用いているが、I−ピクチャの符号化データが記録さ
れているセクタ番号だけを用いてもよい。すなわち、I
−ピクチャのみを管理してもよい。In this embodiment, the sector number on the disk is used as the information indicating the position on the disk, but the present invention is not limited to this. Depending on the disc, the expression may be different, and for example, it may be a combination of a track number and a sector number. In that case, an expression suitable for the disc may be used. The management data is T
Although it is written in the OC area, it may be an area other than the TOC area. Further, in this embodiment, the management data is I
-The sector number in which the picture or P-picture is recorded is used, but only the sector number in which the encoded data of the I-picture is recorded may be used. That is, I
-Only the picture may be managed.
【0109】[0109]
【発明の効果】以上のように、本発明によれば、フレー
ム内符号化やフレーム間符号化を用いる動画像符号化に
対し、高速再生時には管理データを利用して、例えばセ
クタに対応する単位でデータ群を読出し、その読み出さ
れたデータから必要なフレームを選択し、復号して出力
するため、無駄なアクセスや無駄な復号を行うことがな
い。そのため、単位時間当たりにより多い枚数の再生画
像を出力することができる。また、ランダムアクセスを
行う場合に所望のデータに正確にアクセスでき、無駄な
データにアクセスすることがないので、ランダムアクセ
スを伴う特殊再生を行う場合にも有効である。As described above, according to the present invention, in contrast to moving picture coding using intra-frame coding or inter-frame coding, management data is used during high-speed playback , for example,
The data group is read in units that correspond to the
Since a necessary frame is selected from the stored data, decoded and output , unnecessary access and unnecessary decoding are not performed. Therefore, a larger number of reproduced images can be output per unit time. Further, when random access is performed, desired data can be accurately accessed and useless data is not accessed. Therefore, it is also effective when performing special reproduction involving random access.
【図1】本発明の第1実施例に係る動画像記録再生装置
の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a moving image recording / reproducing apparatus according to a first embodiment of the present invention.
【図2】メモリ部から入力されるセクタ番号のメディア
上での位置を説明する図である。FIG. 2 is a diagram illustrating a position on a medium of a sector number input from a memory unit.
【図3】変形態様その1のメモリ部のブロック図であ
る。FIG. 3 is a block diagram of a memory unit according to a modification 1;
【図4】メモリ部に記録するTOCデータの一例を示す
図である。FIG. 4 is a diagram showing an example of TOC data recorded in a memory unit.
【図5】メモリ部に記録するTOCデータとメディア上
での記録領域との関係を示す図である。FIG. 5 is a diagram showing a relationship between TOC data recorded in a memory unit and a recording area on a medium.
【図6】メモリ部に記録するTOCデータとメディア上
での記録領域との関係を示すその他の図である。FIG. 6 is another diagram showing the relationship between TOC data to be recorded in the memory section and the recording area on the medium.
【図7】符号化データ記録時のメモリ部の動作を示すフ
ローチャートである。FIG. 7 is a flowchart showing the operation of the memory unit when recording encoded data.
【図8】通常再生時のメモリ部の動作を示すフローチャ
ートである。FIG. 8 is a flowchart showing the operation of the memory unit during normal reproduction.
【図9】高速再生時のメモリ部の動作を示すフローチャ
ートである。FIG. 9 is a flowchart showing the operation of the memory unit during high-speed reproduction.
【図10】間引くフレームと復号できなくなるフレーム
を説明する図である。FIG. 10 is a diagram illustrating thinned frames and frames that cannot be decoded.
【図11】メモリ部におけるキーフレームテーブルに記
録するデータのその他の例を示す図である。FIG. 11 is a diagram showing another example of data recorded in a key frame table in the memory unit.
【図12】変形態様その2のメモリ部のブロック図であ
る。FIG. 12 is a block diagram of a memory unit according to a modification 2;
【図13】変形態様その2におけるI−ピクチャ用キー
フレームテーブルとP−ピクチャ用キーフレームテーブ
ルに記録するデータを示す図である。FIG. 13 is a diagram showing data to be recorded in an I-picture key frame table and a P-picture key frame table according to Modification 2;
【図14】変形態様その3のメモリ部のブロック図であ
る。FIG. 14 is a block diagram of a memory unit according to a third modification.
【図15】本発明に係る第2の動画像記録再生装置のブ
ロック図である。FIG. 15 is a block diagram of a second moving image recording / reproducing apparatus according to the present invention.
【図16】フレーム間符号化方式の一例を示す図であ
る。FIG. 16 is a diagram illustrating an example of an interframe coding method.
1……符号化器
2……データ処理部
3……ディスクコントローラ
4……メモリ部
5……選択回路
6……復号器
7……ディスクコントローラ
8……復号器
10……ディスク
11……メモリコントローラ
12……メモリ(シーケンステーブル)
13……メモリ(セクタテーブル)
14……メモリ(キーフレームテーブル)
15……メモリ(I−ピクチャ用キーフレームテーブ
ル)
16……メモリ(P−ピクチャ用キーフレームテーブ
ル)1 Encoder 2 Data processing unit 3 Disk controller 4 Memory unit 5 Selection circuit 6 Decoder 7 Disk controller 8 Decoder 10 Disk 11 Memory Controller 12 ... Memory (sequence table) 13 ... Memory (sector table) 14 ... Memory (keyframe table) 15 ... Memory (I-picture keyframe table) 16 ... Memory (P-picture keyframe) table)
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−72976(JP,A) 特開 平4−318375(JP,A) 特開 平4−38679(JP,A) 特開 平5−30454(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 5/76 - 5/95 ─────────────────────────────────────────────────── --Continued from the front page (56) References JP-A-4-72976 (JP, A) JP-A-4-318375 (JP, A) JP-A-4-38679 (JP, A) JP-A-5- 30454 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 5/76-5/95
Claims (6)
録メディアから動画像を再生する動画像再生装置であっ
て、 フレーム内符号化されたフレームまたは前方向予測符号
化されたフレームの記録位置を示し、記録メディアの所
定の位置に記録されている管理データをメモリに書き込
む手段と、 前記メモリ上の管理データを用いてフレーム内符号化デ
ータまたは前方向予測符号化データを含むデータ群を記
録メディアから読み出す手段と、 前記読み出されたデータ群から、フレームの開始を示す
ヘッダを検出し、フレーム開始以前に得られえる不要な
データを取り除き、フレーム内符号化データまたは前方
向予測符号化データのみを選択する手段と、 前記選択されたデータを復号する手段と、 前記復号されたデータを出力する手段を備えることを特
徴とする動画像再生装置。1. A moving image reproducing apparatus for reproducing a moving image from a recording medium recording encoded moving image data, wherein a recording position of an intra-frame encoded frame or a forward predictive encoded frame. And means for writing management data recorded in a predetermined position of a recording medium to a memory, and recording a data group including intraframe coded data or forward predictive coded data using the management data on the memory. Means for reading from the medium, and indicating the start of a frame from the read data group
Detects headers and can be obtained unnecessarily before frame start
It is characterized by comprising means for removing data and selecting only intra-frame coded data or forward predictive coded data, means for decoding the selected data, and means for outputting the decoded data. Video playback device.
ームの先頭にフレームヘッダが付与されており、 前記読み出されたデータ群から、フレーム内符号化デー
タまたは前方向予測符号化データのみを選択する際に、
前記フレームヘッダを用いることを特徴とする前記請求
項1に記載の動画像再生装置。2. A frame header is added to the beginning of each frame of the encoded moving image data, and only intraframe encoded data or forward predictive encoded data is extracted from the read data group. When choosing
The moving picture reproducing apparatus according to claim 1, wherein the frame header is used.
理する第1のテーブルと、 記録メディアの記録領域を管理する第2のテーブルと、 フレーム内符号化フレーム及び前方向予測符号化フレー
ムの符号化データの記録位置を管理する第3のテーブル
で構成され、 ビデオシーケンスの再生順を示す連結情報と、 不連続に記録された記録領域の再生順を示す連結情報
と、 フレーム内符号化フレーム及び前方向予測符号化フレー
ムのつながりを示す連結情報を含むことを特徴とする前
記請求項1または2に記載の動画像再生装置。3. The management data includes a first table for managing a video sequence, a second table for managing a recording area of a recording medium, and encoded data of an intra-frame encoded frame and a forward predictive encoded frame. Which is composed of a third table for managing the recording position of the video sequence, the concatenation information indicating the reproduction order of the video sequence, the concatenation information indicating the reproduction order of the recording areas recorded discontinuously, the intra-coded frame and the forward direction. 3. The moving image reproducing apparatus according to claim 1 or 2, wherein the moving image reproducing apparatus includes connection information indicating a connection of predictive coded frames.
理する第1のテーブルと、 記録メディアの記録領域を管理する第2のテーブルと、 フレーム内符号化フレームの符号化データの記録位置を
管理する第3のテーブルと、 前方向予測符号化フレームの符号化データの記録位置を
管理する第4のテーブルで構成され、 ビデオシーケンスの再生順を示す連結情報と、 不連続に記録された記録領域の再生順を示す連結情報
と、 フレーム内符号化フレームのつながりを示す連結情報
と、 前方向予測フレームのつながりを示す連結情報を含むこ
とを特徴とする前記請求項1または2に記載の動画像再
生装置。4. The management data includes a first table for managing a video sequence, a second table for managing a recording area of a recording medium, and a first table for managing a recording position of encoded data of an intra-frame encoded frame. 3 table and a fourth table that manages the recording position of the encoded data of the forward predictive encoded frame, the connection information indicating the reproduction order of the video sequence, and the reproduction of the recording area recorded discontinuously. The moving image reproducing apparatus according to claim 1 or 2, further comprising: connection information indicating a sequence, connection information indicating a connection of intra-coded frames, and connection information indicating a connection of a forward prediction frame. .
用かを示すフラグを付加することを特徴とする前記請求
項1乃至4のいずれかに記載の動画像再生装置。5. The moving image reproducing apparatus according to claim 1, wherein a flag indicating whether the word is used or not used is added to each word of each table.
に記録し、符号化された動画像データを記録した記録メ
ディアから動画像を再生する動画像記録再生装置であっ
て、 動画像データを入力する手段と、 入力された動画像データを符号化する手段と、 フレーム内符号化されたフレームまたは前方向予測符号
化されたフレームの記録位置を管理データとしてメモリ
に書き込む手段と、 符号化されたデータを前記記録メディアに記録する手段
と、 前記メモリ上の前記管理データを前記記録メディアに記
録する手段と、 符号化された動画像データを記録した記録メディアから
前記管理データをメモリに書き込む手段と、 前記メモリ上の前記管理データを用いてフレーム内符号
化データまたは前方向予測符号化データを含むデータ群
を記録メディアから読み出す手段と、 前記読み出されたデータ群から、フレームの開始を示す
ヘッダを検出し、フレーム開始以前に得られる不要なデ
ータを取り除き、フレーム内符号化データまたは前方向
予測符号化データのみを選択する手段と、 前記選択されたデータを復号する手段と、 前記復号されたデータを出力する手段を備えることを特
徴とする動画像記録再生装置。6. A moving image recording / reproducing apparatus for encoding moving image data, recording the encoded moving image data on a recording medium, and reproducing the moving image from the recording medium recording the encoded moving image data. Means, a means for encoding the input moving image data, a means for writing the recording position of the intra-coded frame or the forward predictive-coded frame in the memory as management data, and Means for recording data in the recording medium; means for recording the management data in the memory in the recording medium; and means for writing the management data in the memory from a recording medium recording encoded moving image data. , A data group including intraframe coded data or forward predictive coded data is recorded using the management data on the memory. Means for reading from the A, from the read out data group indicating the start of a frame
The header is detected and unnecessary data obtained before the start of the frame is detected.
Data removing means for selecting only intra-frame coded data or forward predictive coded data, means for decoding the selected data, and means for outputting the decoded data. A moving image recording / reproducing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP31624893A JP3507990B2 (en) | 1993-12-16 | 1993-12-16 | Moving image reproducing apparatus and moving image recording / reproducing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP31624893A JP3507990B2 (en) | 1993-12-16 | 1993-12-16 | Moving image reproducing apparatus and moving image recording / reproducing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07170488A JPH07170488A (en) | 1995-07-04 |
JP3507990B2 true JP3507990B2 (en) | 2004-03-15 |
Family
ID=18074980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP31624893A Expired - Fee Related JP3507990B2 (en) | 1993-12-16 | 1993-12-16 | Moving image reproducing apparatus and moving image recording / reproducing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3507990B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU743216B2 (en) * | 1998-08-21 | 2002-01-24 | Canon Kabushiki Kaisha | Apparatus and method for capturing a series of video frames |
ES2372593T3 (en) | 1999-07-29 | 2012-01-24 | Sharp Kabushiki Kaisha | METHOD OF DETERMINING AN ACCESS POSITION ON A RECORDING MEDIA AND METHOD OF RECORDING MANAGEMENT. |
-
1993
- 1993-12-16 JP JP31624893A patent/JP3507990B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH07170488A (en) | 1995-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100219748B1 (en) | Optical disk recording and reproducing device and method | |
US8488941B2 (en) | Coded data control device | |
JP3254924B2 (en) | Data reproducing method and data reproducing apparatus | |
JP4080499B2 (en) | Information playback device for still images | |
JPH1013791A (en) | Video signal decoding method and video signal decoder | |
JPH0923404A (en) | Medium recording method/device and medium reproducing device | |
KR100614507B1 (en) | Formatting Encoded Video Signals | |
JPH10285548A (en) | Encoding device and method, decoding device and method and editing method | |
JP3156597B2 (en) | Image information decoding and reproducing apparatus and image information decoding and reproducing method | |
JP3253530B2 (en) | Video recording device | |
JP3093724B2 (en) | Moving image data reproducing apparatus and reverse reproducing method of moving image data | |
JP3258673B2 (en) | Moving image recording device and moving image reproducing device | |
JP3507990B2 (en) | Moving image reproducing apparatus and moving image recording / reproducing apparatus | |
JPH11261964A (en) | Moving image recording method, reproduction method and device | |
JPH08331509A (en) | Image recording medium, its manufacture and reproducing method | |
JP3070422B2 (en) | Image compression recording medium and image compression recording medium reproducing apparatus | |
JP3248366B2 (en) | Data reproducing method and data reproducing apparatus | |
JP3510782B2 (en) | Moving image recording method, reproducing method, editing method and apparatus | |
JP3344607B2 (en) | Optical disc, reproducing apparatus and reproducing method | |
JPH06339113A (en) | Moving picture recording and reproducing device | |
JP3442369B2 (en) | Data reproduction method and data recording method | |
JP3511312B2 (en) | Optical disc, and optical disc reproducing apparatus and method | |
JP3664678B2 (en) | Video playback device | |
JP2003224827A (en) | Moving picture recording method and reproducing method | |
JP2004127381A (en) | Information reproducing device, information reproducing method, information reproduction program, and information recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20031210 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080109 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090109 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100109 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110109 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120109 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |