[go: up one dir, main page]

JP2000209549A - Image processing apparatus and method, and image recording medium - Google Patents

Image processing apparatus and method, and image recording medium

Info

Publication number
JP2000209549A
JP2000209549A JP255299A JP255299A JP2000209549A JP 2000209549 A JP2000209549 A JP 2000209549A JP 255299 A JP255299 A JP 255299A JP 255299 A JP255299 A JP 255299A JP 2000209549 A JP2000209549 A JP 2000209549A
Authority
JP
Japan
Prior art keywords
data
moving image
image data
index
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP255299A
Other languages
Japanese (ja)
Inventor
O Mori
王 森
Shigeo Ito
重夫 伊藤
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.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP255299A priority Critical patent/JP2000209549A/en
Publication of JP2000209549A publication Critical patent/JP2000209549A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reproduce the moving image data which are compressed by an MPEG2 system at an optional part and also to perform the frame feeding of the image data by producing the data to show the positions of plural unit data on the digital moving image data. SOLUTION: The data are produced to show the positions of plural unit data on the digital moving image data. In this system, a microcomputer system 1 reads the moving images out of a storage medium 2 before its reproducing operation and writes an index in the medium 2 to show the position of a prescribed static image constructing the moving image data based on those read-out images. In a reproducing mode, the system 1 reads out the moving image data based on the stored index and outputs these image data to a decoder 11 of a moving image reproducer 3 as a video stream via a serial bus, etc. The decoder 11 expands and decodes the compressed moving image data and outputs the prescribed moving image data to an image signal generator 12.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置およ
び方法、並びに画像記録媒体において、特に、複数の単
位データを時系列順に並べたデータ列を含むデジタル動
画データを処理する画像処理装置および方法、並びに画
像記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method, and more particularly, to an image processing apparatus and method for processing digital moving image data including a data string in which a plurality of unit data are arranged in chronological order. And an image recording medium.

【0002】[0002]

【従来の技術】動画像データは、時系列上の連続した静
止画像データから構成される。動画像データの圧縮方式
の一つであるMPEG(Moving Picture Experts Group)2
は、この各静止画像データを圧縮し、動画像データを小
さくする。
2. Description of the Related Art Moving image data is composed of time-series continuous still image data. MPEG (Moving Picture Experts Group) 2, one of the compression methods for moving image data
Compresses each still image data to reduce the size of the moving image data.

【0003】従来のMPEG2の方式で圧縮された動画像デ
ータを再生する装置は、動画像データの先頭からの再
生、再生中の停止、および停止箇所から前後方向へのコ
マ送り、等の動作ができる。
A conventional apparatus for reproducing moving image data compressed by the MPEG2 system has operations such as reproduction from the beginning of the moving image data, stop during reproduction, and frame forward and backward from the stop position. it can.

【0004】[0004]

【発明が解決しようとする課題】MPEG2の方式で圧縮さ
れた動画像データを構成する静止画像データは、大きさ
が一様ではない。このため、記憶媒体に記憶されたMPEG
2の方式で圧縮された動画像データの任意の画像にアク
セスしようとしても、再生時間あたりのデータ量が一定
ではなく、目的の画像の位置を計算で求めることはでき
ない。そのため、動画像データを先頭から、順次読み込
んで、各静止画像データに付されたタイムスタンプを読
み込み、任意の画像を探している。このため、圧縮され
た動画像データから任意の画像を探し出すためには、圧
縮されていない動画像データの場合に比較し、長い時間
が必要であり、MPEG2の方式で圧縮された動画像データ
を再生する通常の装置は、任意の箇所からの再生、コマ
送りなどの動作ができない。
The size of still image data constituting moving image data compressed by the MPEG2 system is not uniform. For this reason, the MPEG stored on the storage medium
Even if an attempt is made to access an arbitrary image of the moving image data compressed by the method 2, the data amount per reproduction time is not constant, and the position of the target image cannot be obtained by calculation. Therefore, moving image data is sequentially read from the top, and a time stamp attached to each still image data is read to search for an arbitrary image. For this reason, it takes a longer time to search for an arbitrary image from the compressed moving image data than in the case of uncompressed moving image data, and moving image data compressed by the MPEG2 method is required. A normal device for reproduction cannot perform operations such as reproduction from an arbitrary position and frame advance.

【0005】本発明はこのような状況に鑑みてなされた
ものであり、MPEG2の方式で圧縮された動画像データ
を、任意の箇所からの再生、コマ送りなどの動作をでき
るようにすることを目的とする。
The present invention has been made in view of such a situation, and an object of the present invention is to make it possible to perform operations such as reproduction and frame advance of moving image data compressed by the MPEG2 method from an arbitrary position. Aim.

【0006】[0006]

【課題を解決するための手段】請求項1に記載の画像処
理装置は、デジタル動画像データの複数の単位データの
位置を示すデータを作成する位置データ作成手段を備え
ることを特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus comprising position data creating means for creating data indicating positions of a plurality of unit data of digital moving image data.

【0007】請求項4に記載の画像処理装置は、デジタ
ル動画像データの複数の単位データの位置を示すデータ
を読み出す位置データ読み出し手段と、位置データ読み
出し手段が読み出したデータを基に、デジタル動画デー
タの読み出しを制御する画像読み出し制御手段とを備え
ることを特徴とする。
According to a fourth aspect of the present invention, there is provided an image processing apparatus comprising: a position data reading means for reading data indicating a position of a plurality of unit data of digital moving image data; and a digital moving image based on the data read by the position data reading means. Image reading control means for controlling data reading.

【0008】請求項5に記載の画像処理方法は、デジタ
ル動画像データの複数の単位データの位置を示すデータ
を読み出す位置データ読み出しステップと、位置データ
読み出しステップで読み出したデータを基に、デジタル
動画データの読み出しを制御する画像読み出し制御ステ
ップとを含むことを特徴とする。
According to a fifth aspect of the present invention, there is provided an image processing method, comprising: a position data reading step for reading data indicating a position of a plurality of unit data of digital moving image data; and a digital moving image based on the data read in the position data reading step. And an image reading control step of controlling data reading.

【0009】請求項6に記載の画像記録媒体は、デジタ
ル動画像データの複数の単位データの位置を示すデータ
が記録されていることを特徴とする。
According to a sixth aspect of the present invention, in the image recording medium, data indicating positions of a plurality of unit data of the digital moving image data is recorded.

【0010】請求項1に記載の画像処理装置において
は、デジタル動画像データの複数の単位データの位置を
示すデータを作成する。
In the image processing apparatus according to the first aspect, data indicating positions of a plurality of unit data of digital moving image data is created.

【0011】請求項4に記載の画像処理装置および請求
項5に記載の画像処理方法においては、デジタル動画像
データの複数の単位データの位置を示すデータを読み出
し、読み出したデータを基に、デジタル動画データの読
み出しを制御する。
[0011] In the image processing apparatus according to the fourth aspect and the image processing method according to the fifth aspect, data indicating the positions of a plurality of unit data of the digital moving image data is read, and digital data is read based on the read data. Controls reading of moving image data.

【0012】請求項6に記載の画像記録媒体において
は、デジタル動画像データの複数の単位データの位置を
示すデータが記録されている。
In the image recording medium according to the present invention, data indicating positions of a plurality of unit data of the digital moving image data is recorded.

【0013】[0013]

【発明の実施の形態】以下に本発明の実施の形態を説明
するが、特許請求の範囲に記載の発明の各手段と以下の
実施の形態との対応関係を明らかにするために、各手段
の後の括弧内に、対応する実施の形態(但し一例)を付
加して本発明の特徴を記述すると、次のようになる。但
し勿論この記載は、各手段を記載したものに限定するこ
とを意味するものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below. In order to clarify the correspondence between each means of the invention described in the claims and the following embodiments, each means is described. When the features of the present invention are described by adding the corresponding embodiment (however, an example) in parentheses after the parentheses, the result is as follows. However, of course, this description does not mean that each means is limited to those described.

【0014】すなわち、請求項1に記載の画像処理装置
は、デジタル動画像データの複数の単位データの位置を
示すデータを作成する位置データ作成手段(例えば、図
7のステップS17、ステップS19、またはステップ
S21)を備えることを特徴とする。
That is, the image processing apparatus according to the first aspect of the present invention provides position data creating means for creating data indicating the positions of a plurality of unit data of digital moving image data (for example, step S17, step S19, or step S19 in FIG. 7). Step S21) is provided.

【0015】請求項4に記載の画像処理装置は、デジタ
ル動画像データの複数の単位データの位置を示すデータ
を読み出す位置データ読み出し手段(例えば、図8のス
テップS34またはステップS39)と、位置データ読
み出し手段が読み出したデータを基に、デジタル動画デ
ータの読み出しを制御する画像読み出し制御手段(例え
ば、図8のステップS35またはステップS40)とを
備えることを特徴とする。
According to a fourth aspect of the present invention, there is provided an image processing apparatus comprising: position data reading means for reading data indicating positions of a plurality of unit data of digital moving image data (for example, step S34 or step S39 in FIG. 8); An image reading control unit (for example, step S35 or step S40 in FIG. 8) for controlling reading of digital moving image data based on the data read by the reading unit.

【0016】請求項6に記載の画像記録媒体は、デジタ
ル動画像データの複数の単位データの位置を示すデータ
(図5のインデックス51)が記録されていることを特
徴とする。
An image recording medium according to a sixth aspect is characterized in that data (index 51 in FIG. 5) indicating positions of a plurality of unit data of digital moving image data is recorded.

【0017】図1は、本発明に係る動画再生システムの
一実施の形態の構成を示すブロック図である。マイクロ
コンピュータシステム1は、装着された光ディスクなど
の記憶媒体2に記憶されている、圧縮されている動画像
データおよび圧縮されている音声データが多重化された
データを読み出し、動画像データを基に、図5で後述す
る、動画像データを構成する所定の静止画像の位置を示
すインデックス51を記憶媒体2に書き込む。次に、マ
イクロコンピュータシステム1は、インデックス51を
基に、記憶媒体2から、動画像データと音声データが多
重化されたデータを読み出し、図4で後述する動画像デ
ータからなるビデオストリーム41を、動画像再生装置
3に転送し、音声データからなるオーディオフレーム
を、音声再生装置4に供給する。動画像再生装置3は、
圧縮されている動画像データから構成されるビデオスト
リーム41を基に、映像信号を、再生し、図示せぬモニ
タに出力する。音声再生装置4は、圧縮されている音声
データから構成されるオーディオフレームを基に、音声
信号を再生し、図示せぬスピーカに出力する。
FIG. 1 is a block diagram showing the configuration of an embodiment of a moving picture reproduction system according to the present invention. The microcomputer system 1 reads out the multiplexed data of the compressed moving image data and the compressed audio data stored in the storage medium 2 such as the mounted optical disk, and based on the moving image data. An index 51 indicating a position of a predetermined still image constituting moving image data, which will be described later with reference to FIG. Next, the microcomputer system 1 reads the data in which the moving image data and the audio data are multiplexed from the storage medium 2 based on the index 51, and converts the video stream 41 including the moving image data to be described later with reference to FIG. The data is transferred to the moving image reproducing device 3 and an audio frame including audio data is supplied to the audio reproducing device 4. The moving image reproducing device 3
The video signal is reproduced based on the video stream 41 composed of the compressed moving image data and output to a monitor (not shown). The audio reproduction device 4 reproduces an audio signal based on an audio frame composed of compressed audio data, and outputs the audio signal to a speaker (not shown).

【0018】動画再生システムの動画像データを再生の
動作について、図2を参照して、より詳細に説明する。
再生の動作の前に、マイクロコンピュータシステム1
は、記憶媒体2に記憶されている、動画像データを読み
出し、これを基に、動画像データを構成する所定の静止
画像の位置を示すインデックス51を記憶媒体2に書き
込む。再生のとき、マイクロコンピュータシステム1
は、記憶媒体2に記憶されている、インデックス51を
基に、動画像データを読み出し、シリアルバスなどを介
して、動画像データをビデオストリーム41として、動
画再生装置3の復号器11に出力する。動画再生装置3
の復号器11は、ビデオストリーム41に含まれる圧縮
されている動画像データを、伸張して復号し、所定の動
画像データを画像信号生成器12に出力する。画像信号
生成器12は、入力された動画像データをNTSC(Nationa
l Television Systems Committee)などの所定の方式の
映像信号に変換し、出力する。
The operation of reproducing moving image data of the moving image reproducing system will be described in more detail with reference to FIG.
Before the reproduction operation, the microcomputer system 1
Reads the moving image data stored in the storage medium 2 and writes an index 51 indicating the position of a predetermined still image constituting the moving image data into the storage medium 2 based on the read moving image data. At the time of reproduction, the microcomputer system 1
Reads video data based on the index 51 stored in the storage medium 2 and outputs the video data as a video stream 41 to the decoder 11 of the video playback device 3 via a serial bus or the like. . Video playback device 3
The decoder 11 expands and decodes the compressed moving image data included in the video stream 41 and outputs predetermined moving image data to the image signal generator 12. The image signal generator 12 converts the input moving image data into NTSC (Nationa
l Converts to a video signal of a predetermined system such as Television Systems Committee) and outputs it.

【0019】次に、マイクロコンピュータシステム1の
ハードウェアの構成を図3を参照して説明する。CPU
(central processing unit)21は、各種アプリケー
ションプログラムや、基本的なOS(operating syste
m)を実際に実行する。ROM(read-only memory)22
は、一般的には、CPU21が使用するプログラムや演
算用のパラメータのうちの基本的に固定のデータを格納
する。RAM(random-access memory)23は、CPU
21の実行において使用するプログラムや、その実行に
おいて適宜変化するパラメータを格納する。これらはバ
ス32により相互に接続されている。
Next, the hardware configuration of the microcomputer system 1 will be described with reference to FIG. CPU
(Central processing unit) 21 includes various application programs and a basic operating system (OS).
m) is actually executed. ROM (read-only memory) 22
Generally stores basically fixed data of programs used by the CPU 21 and parameters for calculation. RAM (random-access memory) 23 is a CPU
The program used in the execution of step 21 and parameters that change as appropriate in the execution are stored. These are interconnected by a bus 32.

【0020】キーボード25は、CPU21に各種の指
令を入力するとき、ユーザにより操作される。マウス2
6は、CRT(cathode ray tube)27の画面上のポイ
ントの指示や選択を行うとき、ユーザにより操作され
る。CRT27は、各種情報をテキストやイメージで表
示する。HDD(hard disk drive)28とFDD(flo
ppy disk drive)29は、それぞれハードディスクまた
はフロッピーディスクを駆動し、それらにCPU21に
よって実行するプログラムや情報を記録または再生させ
る。通信ボード30は、動画再生装置3と接続するため
の装置であり、具体的にはSCSI(Small Computer System
Interface)ボードまたはIEEE(Instituteof Electrical
and Electronics Engineers)1394シリアルバスボード
等で構成される。光ディスクドライバ31は、記憶媒体
2の例である光ディスクが装着され、装着された光ディ
スクにインデックス51を記憶させ、あるいは装着され
た光ディスクから動画データまたはインデックス51を
読み出す。これらのキーボード25乃至光ディスクドラ
イバ31は、インターフェース24に接続されており、
インターフェース24はバス32を介してCPU21に
接続されている。
The keyboard 25 is operated by the user when inputting various commands to the CPU 21. Mouse 2
Reference numeral 6 is operated by the user to designate or select a point on the screen of a CRT (cathode ray tube) 27. The CRT 27 displays various information as text or images. HDD (hard disk drive) 28 and FDD (flo
The ppy disk drive 29 drives a hard disk or a floppy disk, and records or reproduces a program or information executed by the CPU 21 on the hard disk or the floppy disk. The communication board 30 is a device for connecting to the moving picture reproducing device 3, and specifically, is a SCSI (Small Computer System).
Interface) board or IEEE (Institute of Electrical
and Electronics Engineers) 1394 serial bus board etc. The optical disk driver 31 has an optical disk as an example of the storage medium 2 mounted thereon, stores the index 51 in the mounted optical disk, or reads out moving image data or the index 51 from the mounted optical disk. The keyboard 25 to the optical disk driver 31 are connected to the interface 24,
The interface 24 is connected to the CPU 21 via the bus 32.

【0021】次に、記憶媒体2に記憶されているMPEG2
の方式による動画像データの構造を図4を参照して説明
する。符号化されたMPEG2の動画像データは、階層構造
を有し、上位層から順に、シーケンス(Sequence)層、G
OP層、ピクチャ(Picture)層、スライス(Slice)層、マ
クロブロック(Macro Block)層、およびブロック(Block)
層から構成される。シーケンス層からスライス層までの
各階層では、32ビットのユニークなスタートコードが
与えられており、これにより各層が区別されるととも
に、エラー回復ポイントにもなっている。
Next, the MPEG2 stored in the storage medium 2
The structure of moving image data according to the above method will be described with reference to FIG. The encoded moving image data of MPEG2 has a hierarchical structure, and a sequence (Sequence) layer, G
OP layer, Picture layer, Slice layer, Macro Block layer, and Block
Consists of layers. Each layer from the sequence layer to the slice layer is provided with a unique 32-bit start code, which distinguishes each layer and serves as an error recovery point.

【0022】一般に、シーケンス層のビデオストリーム
41は、1つのビデオプログラム全体の符号化されたデ
ータであり、ビデオストリーム41は、1個以上のGO
P42から構成される。GOP42は、1以上の画像の
集合を示す。GOP42には、独立して符号化されるI
ピクチャ43が最初の符号化された画像として配置さ
れ、その後、所定の数のBピクチャ44およびPピクチャ
45が配置される。Bピクチャ44またはPピクチャ45
は、Iピクチャ43に対する差分データで構成され、動
画再生装置3は、Bピクチャ44またはPピクチャ45の
みでは、画像を再生することはできない。従って、MPEG
データのランダムアクセスを行うポイントとして、Iピ
クチャ43が、用いられる。例えば、GOP42が10
個のピクチャの構成した場合、30フレーム毎秒のビデ
オでは、0.33秒毎にランダムアクセスポイント(Iピク
チャ)が存在する。
Generally, the video stream 41 of the sequence layer is coded data of one entire video program, and the video stream 41 is composed of one or more GOs.
P42. GOP42 indicates a set of one or more images. The GOP 42 has an independently encoded I
The picture 43 is arranged as the first encoded image, and thereafter, a predetermined number of B pictures 44 and P pictures 45 are arranged. B picture 44 or P picture 45
Is composed of difference data with respect to the I picture 43, and the moving picture reproducing apparatus 3 cannot reproduce an image only with the B picture 44 or the P picture 45. Therefore, MPEG
The I picture 43 is used as a point at which data is randomly accessed. For example, if GOP42 is 10
In the case of a structure of 30 pictures, a random access point (I picture) exists every 0.33 seconds in a video of 30 frames per second.

【0023】ピクチャ46は、各画面に相当し、1個以
上のスライスに分割される。スライス47は、画面内で
横長の帯状の領域に相当する。マクロブロック48は、
所定の数の輝度ブロック、および空間的に輝度ブロック
に対応した所定の数の色差ブロックから構成される。ブ
ロック49は、DCT(Discrete Cosine Transform)符号化
データが格納される。ブロック49は、輝度信号または
色差信号の8画素×8ラインから構成されDCTおよびIDC
T(Inverse Discrete Cosine Transform)はこの単位で行
われる。
The picture 46 corresponds to each screen and is divided into one or more slices. The slice 47 corresponds to a horizontally long band-like area in the screen. The macro block 48 is
It is composed of a predetermined number of luminance blocks and a predetermined number of color difference blocks spatially corresponding to the luminance blocks. Block 49 stores DCT (Discrete Cosine Transform) encoded data. The block 49 is composed of 8 pixels × 8 lines of a luminance signal or a color difference signal, and includes a DCT and an IDC.
T (Inverse Discrete Cosine Transform) is performed in this unit.

【0024】次に、インデックス51と動画像データと
の関係を図5を用いて説明する。インデックス51は、
動画像データがビデオストリームとして出力されるとき
の時系列の順に、ビデオストリーム41の先頭に位置す
るシーケンスヘッダの位置、およびGOP42−1乃至
GOP42−Nの位置、およびGOP42−1乃至GO
P42−Nに含まれるランダムアクセスポイントである
Iピクチャ43の位置を、所定のデータ長(例えば、8
バイトなど)で記憶する。
Next, the relationship between the index 51 and moving image data will be described with reference to FIG. Index 51 is
In the order of time when moving image data is output as a video stream, the position of the sequence header located at the beginning of the video stream 41, the positions of GOP42-1 to GOP42-N, and GOP42-1 to GO
It is a random access point included in P42-N
The position of the I picture 43 is determined by a predetermined data length (for example, 8
(For example, bytes).

【0025】図6は、インデックス51のフォーマット
を示す図である。図6のインデックス上の位置の欄は、
具体的には、インデックス51の先頭から何バイト目で
あるかのアドレスである(データは格納されない)。内
容の欄は、シーケンスヘッダの開始位置およびシーケン
スヘッダの終了位置、並びにGOP42−1乃至GOP
42−Nの開始位置、GOP42−1乃至GOP42−
Nの中のIピクチャ43の開始位置、およびGOP42
−1乃至GOP42−Nの中のIピクチャ43の終了位
置のを示すデータが、格納される。インデックス51
が、シーケンスヘッダの開始位置およびシーケンスヘッ
ダの終了位置を記憶するのは、動画像データの形式など
を迅速に読み出せるようにするためである。GOP42
−1乃至GOP42−Nの開始位置は、GOPに関する
データを含むGOPヘッダを迅速に読み出せるようにす
るため、インデックス51に記憶される。
FIG. 6 is a diagram showing the format of the index 51. The column of the position on the index in FIG.
Specifically, it is an address indicating the number of the byte from the head of the index 51 (data is not stored). The contents column includes the start position of the sequence header, the end position of the sequence header, and GOP42-1 to GOP42-1.
42-N, GOP42-1 to GOP42-
The start position of the I picture 43 in N, and the GOP 42
Data indicating the end position of the I picture 43 in -1 to GOP42-N is stored. Index 51
However, the reason why the start position of the sequence header and the end position of the sequence header are stored is that the format of the moving image data can be quickly read. GOP42
The start positions of -1 to GOP42-N are stored in the index 51 so that a GOP header including data relating to the GOP can be quickly read.

【0026】また、インデックス51は、Iピクチャ4
3が、他の画像を参照することなく、Iピクチャ43が
有するデータのみで画像を再生できることから、Iピク
チャ43の開始位置と終了位置を記憶することにより、
動画再生システムが動画像データを読み出すときに、I
ピクチャ43を迅速に読み出せるように構成される。
The index 51 is the I picture 4
3 can reproduce an image only with the data of the I picture 43 without referring to another image. By storing the start position and the end position of the I picture 43,
When the video playback system reads the moving image data,
The picture 43 is configured to be quickly read.

【0027】例えば、シーケンスヘッダの開始位置およ
びシーケンスヘッダの終了位置、並びにGOP42−1
乃至GOP42−Nの開始位置、GOP42−1乃至G
OP42−Nの中のIピクチャ43の開始位置、および
GOP42−1乃至GOP42−Nの中のIピクチャ4
3の終了位置の1つのデータが、それぞれ8バイトで記
憶されているとき、先頭からの20番目のGOP42の
Iピクチャの開始位置のオフセットは、((GOPの番
号−1)×(1つのGOPが有するデータ)+(シーケ
ンスヘッダのオフセット)+(Iピクチャの開始位置の
オフセット))×(1つのデータのバイト数)より、
((20−1)×3+2+1)×8バイト=480バイ
トと算出できる。これより、インデックス51の先頭か
ら480バイト目に記憶されている、8バイトのデータ
には、記憶媒体2に記憶されている画像データの先頭か
らの20番目のGOP42のIピクチャ43の開始位置
が、格納されていることがわかる。動画再生システム
は、インデックス51の先頭から480バイト目に記憶
されている、8バイトのデータを利用して、記憶媒体2
に記憶されている画像データの先頭からの20番目のG
OP42のIピクチャ43の読み出しを開始することが
できる。
For example, the start position of the sequence header, the end position of the sequence header, and the GOP 42-1
To GOP42-N, GOP42-1 to GOP42-G
Start position of I picture 43 in OP42-N, and I picture 4 in GOP42-1 to GOP42-N
When one piece of data at the end position of No. 3 is stored in 8 bytes, the data of the twentieth GOP 42 from the beginning is stored.
The offset of the start position of the I picture is ((GOP number −1) × (data of one GOP) + (offset of sequence header) + (offset of start position of I picture)) × (of one data Bytes)
It can be calculated as ((20-1) × 3 + 2 + 1) × 8 bytes = 480 bytes. Thus, the 8-byte data stored at the 480th byte from the beginning of the index 51 includes the start position of the I picture 43 of the twentieth GOP 42 from the beginning of the image data stored in the storage medium 2. Is stored. The moving image playback system uses the 8-byte data stored in the 480th byte from the beginning of the index 51 to store the data in the storage medium 2.
20th G from the beginning of the image data stored in
The reading of the I picture 43 of the OP 42 can be started.

【0028】先頭からの20番目のGOP42のIピク
チャの終了位置のオフセットは、((GOPの番号−
1)×(1つのGOPが有するデータ)+(シーケンス
ヘッダのオフセット)+(Iピクチャの終了位置のオフ
セット))×(1つのデータのバイト数)より、((2
0−1)×3+2+2)×8バイト=488バイトと算
出できる。動画再生システムは、インデックス51の先
頭から488バイト目に記憶されている、8バイトのデ
ータを利用して、記憶媒体2に記憶されている画像デー
タの先頭からの20番目のGOP42のIピクチャ43
の読み出しを終了することができる。
The offset of the end position of the I picture of the twentieth GOP 42 from the top is ((GOP number−
From (1) × (data of one GOP) + (offset of sequence header) + (offset of end position of I picture)) × (number of bytes of one data), ((2
0-1) × 3 + 2 + 2) × 8 bytes = 488 bytes. The video playback system uses the 8-byte data stored in the 488th byte from the beginning of the index 51 to store the I picture 43 of the twentieth GOP 42 from the beginning of the image data stored in the storage medium 2.
Can be completed.

【0029】以上のように、動画再生システムは、イン
デックス51を利用することにより、任意のGOPヘッ
ダおよびIピクチャを、瞬時に読み出すことができる。
図4で説明したように、GOP42は、所定枚数の静止
画像データから構成されているので、単位時間当たりに
表示する静止画像の枚数を基に、ビデオストリームの先
頭から任意の時間が経過した位置に最も近いIピクチャ
を瞬時に読み出すこともできる。さらに、任意のIピク
チャの読み出しを繰り返せば、コマ送り、逆転再生など
も可能になる。
As described above, by using the index 51, the moving picture reproducing system can instantly read an arbitrary GOP header and an I picture.
As described with reference to FIG. 4, since the GOP 42 is composed of a predetermined number of still image data, the position at which an arbitrary time has elapsed from the beginning of the video stream is determined based on the number of still images displayed per unit time. Can be instantaneously read out. Further, by repeating reading of an arbitrary I picture, frame advance, reverse reproduction and the like can be performed.

【0030】次に、インデックス51を作成する手順
を、図7のフローチャートを参照して説明する。ステッ
プS11において、マイクロコンピュータシステム1の
光ディスクドライバ31は、記憶媒体2から、ビデオス
トリームとして出力される順に、動画像データの一部
(所定の長さに分割されたデータ)を読み出す。ステッ
プS12において、マイクロコンピュータシステム1の
CPU21は、ステップS11で読み出された動画像デ
ータの一部に、図4で説明したシーケンスエンドが含ま
れているか否かを判定し、動画像データの一部にシーケ
ンスエンドが含まれていないと判定された場合、ステッ
プS13に進み、ステップS11で読み出された動画像
データの一部に、図4で説明したシーケンスヘッダが含
まれているか否かを判定する。
Next, the procedure for creating the index 51 will be described with reference to the flowchart of FIG. In step S11, the optical disk driver 31 of the microcomputer system 1 reads a part of moving image data (data divided into a predetermined length) from the storage medium 2 in the order of output as a video stream. In step S12, the CPU 21 of the microcomputer system 1 determines whether a part of the moving image data read in step S11 includes the sequence end described in FIG. If it is determined that the sequence end is not included in the part, the process proceeds to step S13, and it is determined whether or not a part of the moving image data read in step S11 includes the sequence header described in FIG. judge.

【0031】ステップS13において、動画像データの
一部にシーケンスヘッダが含まれていると判定された場
合、手続きは、ステップS14に進み、CPU21は、
新たにインデックス51が作成されるので、RAM23
に記憶するインデックスカウンタに0を設定する。ステ
ップS15において、CPU21は、インデックス51
の先頭にシーケンスヘッダの開始位置を示すデータを書
き込む。ステップS16において、CPU21は、RA
M23に記憶するインデックスカウンタをインクリメン
トする。ステップS17において、CPU21は、イン
デックス51の先頭にシーケンスヘッダの終了位置を示
すデータを書き込み、ステップS19に進む。
If it is determined in step S13 that a part of the moving image data includes a sequence header, the procedure proceeds to step S14, in which the CPU 21
Since the index 51 is newly created, the RAM 23
Is set to 0 in the index counter stored in. In step S15, the CPU 21 determines that the index 51
Write the data indicating the start position of the sequence header at the head of. In step S16, the CPU 21
The index counter stored in M23 is incremented. In step S17, the CPU 21 writes data indicating the end position of the sequence header at the head of the index 51, and proceeds to step S19.

【0032】ステップS13において、動画像データの
一部にシーケンスヘッダが含まれていないと判定された
場合、手続きは、ステップS18に進み、CPU21
は、既存のインデックス51にデータを記入するので、
RAM23に記憶するインデックスカウンタをインクリ
メントし、ステップS19に進む。
If it is determined in step S13 that a part of the moving image data does not include the sequence header, the procedure proceeds to step S18, where the CPU 21
Writes data into the existing index 51,
The index counter stored in the RAM 23 is incremented, and the process proceeds to Step S19.

【0033】ステップS19において、CPU21は、
ステップS11で読み出された動画像データの一部に、
図4で説明したGOPヘッダが含まれているか否かを判
定し、動画像データの一部にGOPヘッダが含まれてい
ると判定された場合、ステップS20に進み、インデッ
クス51のインデックスカウンタが指定する位置にGO
Pヘッダの開始位置を示すデータを書き込み、ステップ
S11に戻り、処理を繰り返す。
In step S19, the CPU 21
In part of the moving image data read in step S11,
It is determined whether or not the GOP header described in FIG. 4 is included. If it is determined that the GOP header is included in a part of the moving image data, the process proceeds to step S20, where the index counter of the index 51 is designated. GO where
Data indicating the start position of the P header is written, the process returns to step S11, and the process is repeated.

【0034】ステップS19において、動画像データの
一部にGOPヘッダが含まれていないと判定された場
合、手続きは、ステップS21に進み、CPU21は、
ステップS11で読み出された動画像データの一部に、
Iピクチャ43のピクチャヘッダが含まれているか否か
を判定し、動画像データの一部にIピクチャ43のピク
チャヘッダが含まれていると判定された場合、ステップ
S22に進む。ステップS22において、CPU21
は、インデックス51のインデックスカウンタが指定す
る位置にIピクチャ43のピクチャヘッダの開始位置を
示すデータを書き込み、ステップS11に戻り、処理を
繰り返す。
If it is determined in step S19 that a part of the moving image data does not include the GOP header, the procedure proceeds to step S21, in which the CPU 21
In part of the moving image data read in step S11,
It is determined whether or not the picture header of the I picture 43 is included. If it is determined that the picture header of the I picture 43 is included in a part of the moving image data, the process proceeds to step S22. In step S22, the CPU 21
Writes data indicating the start position of the picture header of the I picture 43 at the position specified by the index counter of the index 51, returns to step S11, and repeats the process.

【0035】ステップS21において、動画像データの
一部にIピクチャ43のピクチャヘッダが含まれてない
と判定された場合、手続きは、ステップS23に進み、
CPU21は、ステップS11で読み出された動画像デ
ータの一部に、Iピクチャ43の終了する位置のデータ
が含まれているか否かを判定し、動画像データの一部に
Iピクチャ43の終了する位置のデータが含まれている
と判定された場合、ステップS24に進み、インデック
ス51のインデックスカウンタが指定する位置にIピク
チャ43の終了する位置を示すデータを書き込み、ステ
ップS11に戻り、処理を繰り返す。
If it is determined in step S21 that a part of the moving image data does not include the picture header of the I picture 43, the procedure proceeds to step S23,
The CPU 21 determines whether part of the moving image data read in step S11 includes data at the position where the I picture 43 ends, and determines
If it is determined that the data at the end position of the I picture 43 is included, the process proceeds to step S24, where data indicating the end position of the I picture 43 is written in the position specified by the index counter of the index 51, and the process proceeds to step S11. And repeat the process.

【0036】ステップS23において、動画像データの
一部にIピクチャ43の終了する位置のデータが含まれ
ていないと判定された場合、手続きは、ステップS11
に戻り、処理を繰り返す。
If it is determined in step S23 that part of the moving image data does not include the data at the position where the I picture 43 ends, the procedure proceeds to step S11.
And repeat the process.

【0037】ステップS12において、動画像データの
一部にシーケンスエンドが含まれていると判定された場
合、ビデオストリームが終わるので、処理は終了する。
If it is determined in step S12 that a part of the moving image data includes a sequence end, the video stream ends, and the process ends.

【0038】このように、シーケンスヘッダの位置、G
OPの位置、およびIピクチャ43の位置を示すデータ
から構成されるインデックス51が、記憶媒体2上に作
成される。
Thus, the position of the sequence header, G
An index 51 composed of data indicating the position of the OP and the position of the I picture 43 is created on the storage medium 2.

【0039】最後に、インデックス51を参照して、動
画像データを再生する処理を図8のフローチャートを参
照して説明する。ステップS31において、マイクロコ
ンピュータシステム1のキーボード25またはマウス2
6が操作され、動画像データの再生を開始する位置が設
定される。ステップS32において、キーボード25ま
たはマウス26が操作され、動画像データの再生を終了
する位置が設定される。ステップS33において、キー
ボード25またはマウス26が操作され、通常の再生、
コマ送り、または逆転再生等の動画像データの再生モー
ドが設定される。
Finally, referring to the index 51, a process of reproducing moving image data will be described with reference to the flowchart of FIG. In step S31, the keyboard 25 or the mouse 2 of the microcomputer system 1
6 is operated to set a position where reproduction of the moving image data is started. In step S32, the keyboard 25 or the mouse 26 is operated, and a position at which the reproduction of the moving image data ends is set. In step S33, the keyboard 25 or the mouse 26 is operated to perform normal playback,
A playback mode of moving image data such as frame-by-frame or reverse playback is set.

【0040】ステップS34において、マイクロコンピ
ュータシステム1のCPU21は、図5で説明した計算
を実行し、光ディスクドライバ31を動作させ、記憶媒
体2に記憶されているインデックス51から動画像デー
タの再生を開始する位置が記憶されているデータ(Iピ
クチャ43の開始位置のデータおよびIピクチャ43の
終了する位置のデータ)を読み出す。ステップS35に
おいて、CPU21は、光ディスクドライバ31を動作
させ、ステップS34で読み出したデータに基づき、記
憶媒体2から、再生の開始位置に対応する動画像データ
を読み出し、通信ボード30を介して、動画再生装置3
に出力する。
In step S34, the CPU 21 of the microcomputer system 1 executes the calculation described with reference to FIG. 5, operates the optical disk driver 31, and starts reproducing moving image data from the index 51 stored in the storage medium 2. The data (the data at the start position of the I picture 43 and the data at the end position of the I picture 43) in which the positions to perform are stored are read. In step S35, the CPU 21 operates the optical disk driver 31, reads out the moving image data corresponding to the reproduction start position from the storage medium 2 based on the data read out in step S34, and reproduces the moving image data via the communication board 30. Device 3
Output to

【0041】ステップS36において、CPU21は、
ステップS33で設定されたデータを参照し、動画像デ
ータの再生モードがコマ送り、または逆転再生等のいわ
ゆるトリックモードであるか否かを判定し、動画像デー
タの再生モードがトリックモードでない(通常の再生)
と判定された場合、ステップS37に進み、光ディスク
ドライバ31に記憶媒体2から連続的に所定の大きさの
動画像データを読み出し、動画再生装置3に出力する。
ステップS38において、CPU21は、ステップS3
7で読み出された動画像データが、ステップS32で設
定された動画像データの再生を終了する位置に対応する
動画像データであるか否かを判定し、再生を終了する位
置に対応する動画像データでないと判定された場合、ス
テップS37に戻り、動画像データ の読み出しの処理
を繰り返す。ステップS38において、再生を終了する
位置に対応する動画像データであると判定された場合、
動画像データの再生の処理は終了する。
In step S36, the CPU 21
Referring to the data set in step S33, it is determined whether or not the playback mode of the moving image data is a so-called trick mode such as frame advance or reverse playback, and the playback mode of the moving image data is not the trick mode (normally). Playback)
If it is determined that the moving image data has a predetermined size, the process proceeds to step S37, in which the moving image data having a predetermined size is continuously read from the storage medium 2 to the optical disk driver 31, and is output to the moving image reproducing device 3.
In step S38, the CPU 21 determines in step S3
It is determined whether or not the moving image data read in step 7 is the moving image data corresponding to the position where the reproduction of the moving image data set in step S32 ends, and the moving image corresponding to the position where the reproduction ends. If it is determined that the data is not image data, the process returns to step S37, and the process of reading moving image data is repeated. If it is determined in step S38 that the data is moving image data corresponding to the position where the reproduction ends,
The process of reproducing the moving image data ends.

【0042】ステップS36において、動画像データの
再生モードがトリックモードであると判定された場合、
ステップS39に進み、CPU21は、再生モードの設
定から、次に読み出すIピクチャ43を求め、図5で説
明した計算を実行し、光ディスクドライバ31を動作さ
せ、記憶媒体2に記憶されているインデックス51から
Iピクチャ43が記憶されているデータ(Iピクチャ43
の開始位置のデータおよびIピクチャ43の終了する位
置のデータ)を読み出す。ステップS40において、C
PU21は、光ディスクドライバ31を動作させ、ステ
ップS39で読み出したデータに基づき、記憶媒体2か
ら、再生の開始位置に対応する動画像データを読み出
し、通信ボード30を介して、動画再生装置3に出力す
る。ステップS41において、CPU21は、ステップ
S40で読み出された動画像データが、ステップS32
で設定された動画像データの再生を終了する位置に対応
する動画像データであるか否かを判定し、再生を終了す
る位置に対応する動画像データでないと判定された場
合、ステップS39に戻り、動画像データ の読み出し
の処理を繰り返す。ステップS41において、再生を終
了する位置に対応する動画像データであると判定された
場合、動画像データの再生の処理は終了する。
If it is determined in step S36 that the reproduction mode of the moving image data is the trick mode,
Proceeding to step S39, the CPU 21 obtains the I picture 43 to be read next from the setting of the reproduction mode, executes the calculation described with reference to FIG. 5, operates the optical disk driver 31, and operates the index 51 stored in the storage medium 2. From
Data in which the I picture 43 is stored (I picture 43
At the start position and the data at the end position of the I picture 43). In step S40, C
The PU 21 operates the optical disk driver 31 to read the moving image data corresponding to the reproduction start position from the storage medium 2 based on the data read in step S39, and output the moving image data to the moving image reproduction device 3 via the communication board 30. I do. In step S41, the CPU 21 stores the moving image data read in step S40 in step S32.
It is determined whether or not the moving image data corresponds to the position where the reproduction of the moving image data set in the step is ended. If it is determined that the moving image data is not the moving image data corresponding to the position where the reproduction ends, the process returns to step S39. Then, the process of reading the moving image data is repeated. If it is determined in step S41 that the moving image data corresponds to the position where the reproduction ends, the processing of reproducing the moving image data ends.

【0043】以上のように、マイクロコンピュータシス
テム1は、記憶媒体2に記憶されたインデックス51を
参照して、記憶媒体2から動画像データを読み出し、動
画像再生装置3に出力することができ、迅速に再生の開
始位置に対応する動画像を再生し、または、コマ送り、
または逆転再生等のトリックモードでの再生ができるよ
うになる。
As described above, the microcomputer system 1 can read the moving image data from the storage medium 2 with reference to the index 51 stored in the storage medium 2 and output the data to the moving image reproducing device 3. Quickly play the moving image corresponding to the playback start position, or
Alternatively, reproduction in a trick mode such as reverse reproduction can be performed.

【0044】次に、動画データの圧縮と同時にインデッ
クス51を作成し、記録する動画記録システムについて
説明する。図9は、本発明に係る動画記録システムの一
実施の形態の構成を説明するブロック図である。動画記
録装置61は、図示せぬビデオカメラまたはビデオテー
プレコーダなどから供給された映像信号を基に、動画像
データを生成し、その動画像データをMPEG2などの所定
の方式で圧縮し、図4で説明したビデオストリーム41
の形式に変換し、マイクロコンピュータシステム1に供
給する。音声記録装置62は、図示せぬマイクロフォン
またはビデオテープレコーダなどから供給された音声信
号を基に、音声データを生成し、その音声データをMPEG
2オーディオなどの所定の方式で圧縮し、オーディオフ
レームの形式に変換し、マイクロコンピュータシステム
1に供給する。
Next, a moving picture recording system for creating and recording the index 51 simultaneously with the compression of the moving picture data will be described. FIG. 9 is a block diagram illustrating the configuration of a moving image recording system according to an embodiment of the present invention. The moving image recording device 61 generates moving image data based on a video signal supplied from a video camera or a video tape recorder (not shown), and compresses the moving image data by a predetermined method such as MPEG2. Video stream 41 described in
And supplies it to the microcomputer system 1. The audio recording device 62 generates audio data based on an audio signal supplied from a microphone or a video tape recorder (not shown), and converts the audio data into an MPEG.
The data is compressed by a predetermined method such as 2 audio, converted into an audio frame format, and supplied to the microcomputer system 1.

【0045】マイクロコンピュータシステム1は、動画
記録装置61から供給された動画像データを基に、イン
デックス51を作成し、所定の形式で圧縮されている動
画像データおよび圧縮されている音声データを多重化
し、インデックス51と共に記録媒体2に記録させる。
このとき、インデックス51と動画データとは、1つの
ファイルにまとめて記憶しても、個別に異なるファイル
として記憶してもよい。
The microcomputer system 1 creates an index 51 based on the moving image data supplied from the moving image recording device 61, and multiplexes the moving image data and the compressed audio data which are compressed in a predetermined format. And record it on the recording medium 2 together with the index 51.
At this time, the index 51 and the moving image data may be stored together in one file, or may be stored as individually different files.

【0046】動画記録システムの動画データおよびイン
デックス51を記録する動作について、図10を参照し
て、より詳細に説明する。動画記録装置61の画像デー
タ生成器71は、入力されたNTSCなどの所定の方式の映
像信号から動画データを生成し、符号化器72に供給す
る。符号化器72は、画像データ生成器71から供給さ
れた動画データを、MPEG2などの方式により図4で説明
した動画データに圧縮し、ビデオストリーム41の形式
に変換し、マイクロコンピュータシステム1に出力す
る。マイクロコンピュータシステム1は、図7のフロー
チャートに示す処理と同様の処理で、図6に示す形式を
有するインデックス51を作成し、記録媒体2に記録さ
せる。
The operation of recording moving image data and the index 51 of the moving image recording system will be described in more detail with reference to FIG. The image data generator 71 of the moving image recording device 61 generates moving image data from an input video signal of a predetermined system such as NTSC and supplies the generated moving image data to the encoder 72. The encoder 72 compresses the moving image data supplied from the image data generator 71 into the moving image data described with reference to FIG. 4 by a method such as MPEG2, converts the moving image data into a video stream 41 format, and outputs it to the microcomputer system 1. I do. The microcomputer system 1 creates an index 51 having the format shown in FIG. 6 and records the index 51 on the recording medium 2 by the same processing as the processing shown in the flowchart of FIG.

【0047】以上のように、図9および図10に示す動
画記録システムは、動画データの記録と共に、インデッ
クス51を生成して記録することができる。
As described above, the moving image recording system shown in FIGS. 9 and 10 can generate and record the index 51 together with the recording of the moving image data.

【0048】次に、インデックスと動画像データとを同
一のファイルに記憶させるときの、ファイルの形式につ
いて説明する。図11(A)は、先頭にインデックスを
記憶し、インデックスに続いて動画像データを記憶する
ファイルの形式を説明する図である。図11(B)は、
先頭に動画像データを記憶し、動画像データに続いてイ
ンデックスを記憶するファイルの形式を説明する図であ
る。図11(A)に示す形式のファイルおよび図11
(B)に示す形式のファイルを作成する場合、マイクロ
コンピュータシステム1は、インデックスを単一のファ
イルとして、一旦、記録媒体2に記憶させ(マイクロコ
ンピュータシステム1のRAM23またはHDD28に
記憶してもよい)、インデックスのファイルおよび圧縮
した動画像データのファイルの作成を終了後、インデッ
クスのファイルおよび圧縮した動画像データのファイル
を結合(マージ)して、1つのファイルにする。
Next, the file format when the index and the moving image data are stored in the same file will be described. FIG. 11A is a diagram illustrating a format of a file in which an index is stored at the head and moving image data is stored following the index. FIG. 11 (B)
FIG. 4 is a diagram illustrating a format of a file that stores moving image data at the beginning and stores an index following the moving image data. The file in the format shown in FIG.
In the case of creating a file in the format shown in (B), the microcomputer system 1 temporarily stores the index as a single file in the recording medium 2 (may be stored in the RAM 23 or the HDD 28 of the microcomputer system 1). After the creation of the index file and the compressed moving image data file is completed, the index file and the compressed moving image data file are combined (merged) into one file.

【0049】図11(A)に示す形式のファイルは、図
11(B)に示す形式に比較し、迅速なインデックスの
読み出しが可能で、動画像の再生のとき、特にトリック
モードでの再生のときに、有利である。図11(B)に
示す形式のファイルは、インデックスのファイルおよび
圧縮した動画像データのファイルを結合の処理に必要と
するデータの移動が少なく、データの読み出しまたは書
き込みに比較的時間を必要とする光ディスクなどの記録
媒体2を利用してのファイルの結合の処理が、迅速にで
きる利点がある。
The file of the format shown in FIG. 11A can read out the index more quickly than the format shown in FIG. 11B, and when reproducing a moving image, particularly in the trick mode. Sometimes it is advantageous. In the file of the format shown in FIG. 11B, the movement of the data required for the process of combining the index file and the compressed moving image data file is small, and reading or writing the data requires a relatively long time. There is an advantage that the process of combining files using the recording medium 2 such as an optical disk can be performed quickly.

【0050】図11(C)は、圧縮画像データの合間
に、インデックスを分散させて記憶するファイル形式を
説明する図である。図11(C)に示す形式のファイル
を作成する場合、マイクロコンピュータシステム1は、
所定のデータ量(1MB乃至10MB)の動画像データ
または所定の時間(1分乃至10分)の動画像データを
記録媒体2に記録させたとき、インデックスを動画像デ
ータに続いて書き込ませ、インデックスの位置を記憶す
る。インデックスの書き込み後、動画像データは、イン
デックスに続いて、記録媒体2に記録される。
FIG. 11C is a view for explaining a file format in which indexes are dispersed and stored between compressed image data. When creating a file in the format shown in FIG. 11C, the microcomputer system 1
When moving image data of a predetermined data amount (1 MB to 10 MB) or moving image data of a predetermined time (1 minute to 10 minutes) is recorded on the recording medium 2, an index is written following the moving image data, and the index is written. Is stored. After writing the index, the moving image data is recorded on the recording medium 2 following the index.

【0051】動画像データの作成が終了するまで、マイ
クロコンピュータシステム1は、記録媒体2に、動画像
データの記録とインデックスの記録を繰り返させる。動
画像データの作成が終了したとき、動画像データが所定
のデータ量または所定の時間に達していなくとも、マイ
クロコンピュータシステム1は、その時点までのインデ
ックスを記録媒体2に記録させ、最後に、記録媒体2に
分散して記録されたインデックスの位置を示すデータを
記録させる。
Until the creation of the moving image data is completed, the microcomputer system 1 causes the recording medium 2 to repeat the recording of the moving image data and the recording of the index. When the creation of the moving image data is completed, even if the moving image data has not reached the predetermined data amount or the predetermined time, the microcomputer system 1 causes the index up to that point to be recorded on the recording medium 2 and finally, Data indicating the positions of the indexes dispersedly recorded on the recording medium 2 is recorded.

【0052】図11(C)に示す形式のファイルは、イ
ンデックスの作成に必要とする記録領域が少なくてすむ
利点がある。
The file of the format shown in FIG. 11C has the advantage that the recording area required for creating the index is small.

【0053】マイクロコンピュータシステム1は、図1
1(A)に示す形式のファイルを、図11(B)に示す
形式のファイル若しくは図11(C)に示す形式のファ
イルに変換し、図11(B)に示す形式のファイルを、
図11(A)に示す形式のファイル若しくは図11
(C)に示す形式のファイルに変換し、または図11
(C)に示す形式のファイルを、図11(A)に示す形
式のファイル若しくは図11(B)に示す形式のファイ
ルに変換するようにしてもよい。
The microcomputer system 1 is shown in FIG.
1A is converted to a file having the format shown in FIG. 11B or a file having the format shown in FIG. 11C, and the file having the format shown in FIG.
A file in the format shown in FIG.
Convert to a file in the format shown in FIG.
A file in the format shown in FIG. 11C may be converted into a file in the format shown in FIG. 11A or a file in the format shown in FIG.

【0054】また、インデックスは、MPEG2−プログラ
ムストリームのプライベートパケットに記録させるよう
にしてもよい。図12は、MPEG2−プログラムストリー
ムおよびPES(Packetized Elementary Stream)パケッ
トの構造を説明する図である。MPEG2−プログラムスト
リームは、1または2以上のパックから構成される。最
初のパックは、パックヘッダ、システムヘッダ、および
1若しくは2以上のPESパケットまたは1若しくは2
以上のPSI(Program Specific Information:プログ
ラム仕様情報)パケットから構成され、2番目以降のパ
ックは、パックヘッダ、および1若しくは2以上のPE
Sパケットまたは1若しくは2以上のPSIパケットか
ら構成される。
The index may be recorded in a private packet of the MPEG2-program stream. FIG. 12 is a diagram illustrating the structure of an MPEG2-program stream and a PES (Packetized Elementary Stream) packet. The MPEG2-program stream is composed of one or more packs. The first pack contains a pack header, a system header, and one or more PES packets or one or two PES packets.
The second and subsequent packs are composed of the above PSI (Program Specific Information) packets, and include a pack header and one or more PEs.
It is composed of S packets or one or more PSI packets.

【0055】PESパケットは、ビデオパケット、オー
ディオパケット、プライベート1パケット、プライベー
ト2パケット、または図示せぬパディングパケットのい
ずれかの種類に分類される。パケットスタートコードに
含まれ、8ビットのデータを有するストリームIDは、
パケットの種類毎に、固有の値を有する。すなわち、P
ESパケットは、ストリームIDの値で、その種類が見
分られる。
The PES packet is classified into one of a video packet, an audio packet, a private 1 packet, a private 2 packet, and a padding packet (not shown). The stream ID included in the packet start code and having 8 bits of data is:
Each packet type has a unique value. That is, P
The type of the ES packet is identified by the value of the stream ID.

【0056】マイクロコンピュータシステム1は、プラ
イベート1パケットまたはプライベート2パケットのパ
ケットデータバイトに、インデックスを記憶させる。イ
ンデックスは、1つのプライベート1パケットまたはプ
ライベート2パケットに記憶させてもよく、2以上のプ
ライベート1パケットまたはプライベート2パケットに
分割して記憶させてもよい。
The microcomputer system 1 stores an index in a packet data byte of one private packet or two private packets. The index may be stored in one private one packet or two private packets, or may be divided into two or more private one packets or two private packets and stored.

【0057】このように、マイクロコンピュータシステ
ム1は、MPEG2−プログラムストリームの所定のパケッ
トに、インデックスを記憶させることができる。インデ
ックスを利用できない動画再生装置を用いて、プライベ
ートパケットにインデックスを記憶させている動画像デ
ータを再生するとき、インデックスは無視され、通常の
再生が実行される。
As described above, the microcomputer system 1 can store an index in a predetermined packet of the MPEG2-program stream. When playing back moving image data in which an index is stored in a private packet using a moving image playback apparatus that cannot use an index, the index is ignored and normal playback is performed.

【0058】また、インデックス51は、動画像データ
が記憶されている記憶媒体2に記憶するとして説明した
が、例えば、HDD28など他の媒体に記憶するように
してもよい。
Although the index 51 has been described as being stored in the storage medium 2 in which the moving image data is stored, the index 51 may be stored in another medium such as the HDD 28, for example.

【0059】なお、動画再生装置3および音声再生装置
4を、インターフェース24に直接接続し、データは、
CPU21の制御により、インターフェース24を介し
て、動画再生装置3および音声再生装置4に入力される
ようにしてもよい。
The moving picture reproducing device 3 and the sound reproducing device 4 are directly connected to the interface 24, and the data is
Under the control of the CPU 21, the video data may be input to the video playback device 3 and the audio playback device 4 via the interface 24.

【0060】また、本明細書において、システムとは、
複数の装置により構成される装置全体を表すものとす
る。
In this specification, the system is
It is assumed that the device as a whole is constituted by a plurality of devices.

【0061】[0061]

【発明の効果】請求項1に記載の画像処理装置によれ
ば、デジタル動画像データの複数の単位データの位置を
示すデータを作成するようにしたので、再生のときに、
任意の箇所からの再生、コマ送りなどの動画像の再生の
動作ができるようになる。
According to the image processing apparatus of the first aspect, data indicating the positions of a plurality of unit data of the digital moving image data is created.
Playback of moving images such as playback from an arbitrary position and frame advance can be performed.

【0062】請求項4に記載の画像処理装置および請求
項5に記載の画像処理方法によれば、デジタル動画像デ
ータの複数の単位データの位置を示すデータを読み出
し、読み出したデータを基に、デジタル動画データの読
み出しを制御ようにしたので、任意の箇所からの再生、
コマ送りなどの動作ができるようになる。
According to the image processing apparatus of the fourth aspect and the image processing method of the fifth aspect, data indicating positions of a plurality of unit data of digital moving image data is read, and based on the read data, Digital video data reading is controlled, so playback from any location,
Operations such as frame advance can be performed.

【0063】請求項6に記載の画像記録媒体によれば、
デジタル動画像データの複数の単位データの位置を示す
データが記録されているようにしたので、再生のとき
に、任意の箇所からの再生、コマ送りなどの動画像の再
生の動作ができるようになる。
According to the image recording medium of the sixth aspect,
Since the data indicating the positions of a plurality of unit data of the digital moving image data is recorded, it is possible to perform a moving image reproducing operation such as reproduction from an arbitrary position, frame advance, etc. during reproduction. Become.

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

【図1】本発明に係る動画再生システムの一実施の形態
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a moving image playback system according to the present invention.

【図2】動画再生システムの動画像データを再生の動作
の詳細を説明する図である。
FIG. 2 is a diagram illustrating details of an operation of reproducing moving image data of the moving image reproduction system.

【図3】マイクロコンピュータシステム1のハードウェ
アの構成を説明する図である。
FIG. 3 is a diagram illustrating a hardware configuration of the microcomputer system 1.

【図4】MPEG2の方式による動画像データの構造を説明
する図である。
FIG. 4 is a diagram illustrating the structure of moving image data according to the MPEG2 system.

【図5】インデックス51と動画像データとの関係を説
明する図である。
FIG. 5 is a diagram illustrating a relationship between an index 51 and moving image data.

【図6】インデックス51の構造を説明する図である。FIG. 6 is a diagram illustrating the structure of an index 51.

【図7】インデックス51を作成する手順を説明するフ
ローチャートである。
FIG. 7 is a flowchart illustrating a procedure for creating an index 51;

【図8】インデックス51を参照して、動画像データを
再生する処理を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a process of reproducing moving image data with reference to an index 51;

【図9】本発明に係る動画記録システムの一実施の形態
の構成を説明するブロック図である。
FIG. 9 is a block diagram illustrating a configuration of an embodiment of a moving image recording system according to the present invention.

【図10】動画記録システムの動画データおよびインデ
ックス51を記録する動作の詳細を説明する図である。
FIG. 10 is a diagram illustrating details of an operation of recording moving image data and an index 51 of the moving image recording system.

【図11】インデックスと動画像データとを同一のファ
イルに記憶させるときの、ファイルの形式を説明する図
である。
FIG. 11 is a diagram illustrating a file format when an index and moving image data are stored in the same file.

【図12】MPEG2−プログラムストリームおよびPES
パケットの構造を説明する図である。
FIG. 12: MPEG2-program stream and PES
FIG. 3 is a diagram illustrating the structure of a packet.

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

1 マイクロコンピュータシステム 2 記憶媒体 3 動画再生装置 21 CPU 31 光ディスクドライバ 42 GOP 43 Iピクチャ 51 インデックス 61 動画記録装置 DESCRIPTION OF SYMBOLS 1 Microcomputer system 2 Storage medium 3 Video reproduction device 21 CPU 31 Optical disk driver 42 GOP 43 I picture 51 Index 61 Video recording device

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C053 FA22 FA24 GB06 GB07 GB08 GB11 GB21 GB22 GB38 HA21 HA25 JA12 JA21 JA30 KA01 KA05 KA20 KA24 LA01 LA06 5C059 LB07 MA00 MA23 PP05 PP06 PP07 PP14 RB01 RC04 RC32 SS13 SS16 SS18 SS30 UA05 UA29 UA31 UA39  ──────────────────────────────────────────────────続 き Continued on front page F term (reference) 5C053 FA22 FA24 GB06 GB07 GB08 GB11 GB21 GB22 GB38 HA21 HA25 JA12 JA21 JA30 KA01 KA05 KA20 KA24 LA01 LA06 5C059 LB07 MA00 MA23 PP05 PP06 PP07 PP14 RB01 RC04 RC32 SS13 SS16 SS18 SS30 UA UA31 UA39

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 複数の単位データを時系列順に並べたデ
ータ列を含むデジタル動画データを処理する画像処理装
置において、 前記デジタル動画像データの複数の単位データの位置を
示すデータを作成する位置データ作成手段を備えること
を特徴とする画像処理装置。
1. An image processing apparatus for processing digital moving image data including a data sequence in which a plurality of unit data are arranged in chronological order, wherein position data for creating data indicating positions of the plurality of unit data of the digital moving image data. An image processing apparatus comprising a creation unit.
【請求項2】 前記位置データ作成手段は、前記デジタ
ル動画像データを再生するとき、前記位置を示すデータ
を作成することを特徴とする請求項1に記載の画像処理
装置。
2. The image processing apparatus according to claim 1, wherein the position data creating unit creates data indicating the position when reproducing the digital moving image data.
【請求項3】 前記位置データ作成手段は、前記デジタ
ル動画像データを記録するとき、前記位置を示すデータ
を作成することを特徴とする請求項1または2に記載の
画像処理装置。
3. The image processing apparatus according to claim 1, wherein the position data creating unit creates data indicating the position when recording the digital moving image data.
【請求項4】 複数の単位データを時系列順に並べたデ
ータ列を含むデジタル動画データを処理する画像処理装
置において、 前記デジタル動画像データの複数の単位データの位置を
示すデータを読み出す位置データ読み出し手段と、 前記位置データ読み出し手段が読み出したデータを基
に、デジタル動画データの読み出しを制御する画像読み
出し制御手段とを備えることを特徴とする画像処理装
置。
4. An image processing apparatus for processing digital moving image data including a data sequence in which a plurality of unit data are arranged in chronological order, wherein position data reading for reading data indicating positions of the plurality of unit data of the digital moving image data. An image processing apparatus comprising: means for reading digital moving image data based on data read by the position data reading means.
【請求項5】 複数の単位データを時系列順に並べたデ
ータ列を含むデジタル動画データを処理する画像処理方
法において、 前記デジタル動画像データの複数の単位データの位置を
示すデータを読み出す位置データ読み出しステップと、 前記位置データ読み出しステップで読み出したデータを
基に、デジタル動画データの読み出しを制御する画像読
み出し制御ステップとを含むことを特徴とする画像処理
方法。
5. An image processing method for processing digital moving image data including a data sequence in which a plurality of unit data are arranged in chronological order, wherein position data reading for reading data indicating positions of the plurality of unit data of the digital moving image data. And an image read control step of controlling reading of digital moving image data based on the data read in the position data read step.
【請求項6】 複数の単位データを時系列順に並べたデ
ータ列を含むデジタル動画データが記録されている画像
記録媒体において、 前記デジタル動画像データの複数の単位データの位置を
示すデータが記録されていることを特徴とする画像記録
媒体。
6. An image recording medium on which digital moving image data including a data string in which a plurality of unit data are arranged in chronological order is recorded, wherein data indicating positions of the plurality of unit data of the digital moving image data is recorded. An image recording medium characterized in that:
【請求項7】 前記位置を示すデータは、前記デジタル
動画像データと同一のファイルに記録されていることを
特徴とする請求項6に記載の画像記録媒体。
7. The image recording medium according to claim 6, wherein the data indicating the position is recorded in the same file as the digital moving image data.
JP255299A 1998-11-09 1999-01-08 Image processing apparatus and method, and image recording medium Pending JP2000209549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP255299A JP2000209549A (en) 1998-11-09 1999-01-08 Image processing apparatus and method, and image recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP31733398 1998-11-09
JP10-317333 1998-11-09
JP255299A JP2000209549A (en) 1998-11-09 1999-01-08 Image processing apparatus and method, and image recording medium

Publications (1)

Publication Number Publication Date
JP2000209549A true JP2000209549A (en) 2000-07-28

Family

ID=26335954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP255299A Pending JP2000209549A (en) 1998-11-09 1999-01-08 Image processing apparatus and method, and image recording medium

Country Status (1)

Country Link
JP (1) JP2000209549A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001015163A1 (en) * 1999-08-20 2001-03-01 Sony Corporation Information recording/reproducing device
JP2010250927A (en) * 2009-04-14 2010-11-04 Sony Corp Information processing apparatus, information processing system, information processing method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001015163A1 (en) * 1999-08-20 2001-03-01 Sony Corporation Information recording/reproducing device
US7239702B1 (en) 1999-08-20 2007-07-03 Sony Corporation Information recording/reproducing device
US9495998B2 (en) 1999-08-20 2016-11-15 Sony Corporation Information recording and/or reproducing apparatus
JP2010250927A (en) * 2009-04-14 2010-11-04 Sony Corp Information processing apparatus, information processing system, information processing method, and program

Similar Documents

Publication Publication Date Title
CN100556117C (en) Playback device, playback method, and playback program
US20040047616A1 (en) Recording apparatus and method, recording medium, and program
JP4045651B2 (en) Information processing apparatus, information processing method, and program recording medium
JP4218029B2 (en) Video recording device
JP2005033383A (en) Moving image editing apparatus and control method thereof
WO2003079195A1 (en) Information processing apparatus and method
JPH08203246A (en) Information provision control device and parental control method
JPH06268969A (en) Skipping reproduction method for moving image information highly efficiently encoded by mpeg system
JPH08140043A (en) Image signal recording method, image signal recording apparatus, image signal reproducing method, image signal reproducing apparatus, and image signal recording disk medium
US20050069297A1 (en) Video signal processing apparatus video signal processing method program and recording medium
JP2000209549A (en) Image processing apparatus and method, and image recording medium
JP4772742B2 (en) Image reproducing apparatus, image reproducing method, and program recording medium
JP2002101379A (en) Recording / reproducing apparatus and recording / reproducing method
JP3897783B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP3824622B2 (en) Optical disc playback method and playback apparatus
JP4208022B2 (en) Information editing apparatus, information editing method, and program recording medium
JP4787206B2 (en) Information recording apparatus and information recording method
JP4464344B2 (en) Recording device
JPH11289513A (en) Video recording and reproducing device
JP2785640B2 (en) Image reproducing method from moving image information encoded with high efficiency by the MPEG method
JP3146812B2 (en) Signal processing device
JP4654161B2 (en) Recording apparatus and recording method
JP3681370B2 (en) Optical disc recording method and recording apparatus, and reproducing method and reproducing apparatus
JP5170205B2 (en) Information storage medium and moving picture audio recording and reproducing apparatus
JP3127884B2 (en) recoding media

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060920

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061120

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070226

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070427

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080328