JPH08280028A - Device and method for encoding image signal - Google Patents

Device and method for encoding image signal

Info

Publication number
JPH08280028A
JPH08280028A JP10798095A JP10798095A JPH08280028A JP H08280028 A JPH08280028 A JP H08280028A JP 10798095 A JP10798095 A JP 10798095A JP 10798095 A JP10798095 A JP 10798095A JP H08280028 A JPH08280028 A JP H08280028A
Authority
JP
Japan
Prior art keywords
signal
image
frame
field
identification signal
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
JP10798095A
Other languages
Japanese (ja)
Inventor
Shigeru Yoshino
茂 吉野
Yoshiaki Enami
義明 榎並
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP10798095A priority Critical patent/JPH08280028A/en
Publication of JPH08280028A publication Critical patent/JPH08280028A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To set an arbitrary frame or field image to a leading frame or field by setting the frame or field image corresponding to a specified identification signal to the leading frame or field of a group-of-the-picture(GOP) when that identification signal is detected. CONSTITUTION: A controller 2 supplies a designated time record STC as a desired frame image designate signal and a GOP number designate signal SGOP for designating the number of GOPs from a desired frame image to a video signal encoder 4. A VTR 3 sends a time record SVTC to the video signal encoder 4 as the identification signal of frame image. When, a cue code is detected from scheduled data SD corresponding to the time record SVTC, synchronously with the frame image, the video signal encoder 4 sets the frame image corresponding to the scheduled data SD containing this cue code to the leading frame of GOP.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術(図14) 発明が解決しようとする課題(図14及び図15) 課題を解決するための手段 作用 実施例 (1)第1実施例(図1〜図12) (1−1)符号化システムの構成(図1) (1−2)ビデオ信号符号化装置 (1−2−1)タイムコード読込み部(図2及び図3) (1−2−2)ビデオ信号入力部(図4及び図5) (1−2−3)動き予測検出部(図6及び図7) (1−2−4)符号化部(図8及び図9) (1−2−5)データ取込み部(図10及び図11) (1−3)第1実施例の動作 (1−4)第1実施例の効果 (2)第2実施例(図13) (3)他の実施例 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Technology (FIG. 14) Problem to be Solved by the Invention (FIGS. 14 and 15) Means for Solving the Problem Action Example (1) First Example (FIGS. 1 to 12) (1-1) Configuration of Encoding System (FIG. 1) (1-2) Video Signal Encoding Device (1-2-1) Time Code Reading Unit (FIGS. 2 and 3) (1-2-2) Video Signal input unit (Figs. 4 and 5) (1-2-3) Motion prediction detection unit (Figs. 6 and 7) (1-2-4) Encoding unit (Figs. 8 and 9) (1-2 5) Data acquisition unit (FIGS. 10 and 11) (1-3) Operation of the first embodiment (1-4) Effect of the first embodiment (2) Second embodiment (FIG. 13) (3) Other Example Effect of the invention

【0002】[0002]

【産業上の利用分野】本発明は画像信号符号化方法及び
画像信号符号化装置に関し、特に任意のフレーム画像か
ら指定長のデータストリームをフアイルとして取り出す
際に適用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal encoding method and an image signal encoding apparatus, and is particularly suitable for application when extracting a data stream of a designated length from an arbitrary frame image as a file.

【0003】[0003]

【従来の技術】従来、例えばデイジタルTV(テレビジ
ヨン)放送などのように、映像信号を遠隔地に伝送する
システムにおいては、伝送路を効率良く利用するため、
映像信号のライン相関やフレーム相関を利用して、映像
信号を圧縮符号化している。このような映像信号の符号
化方法として、例えばMPEG(Moving Picture Exper
ts Group)規格が提案されている。
2. Description of the Related Art Conventionally, in a system for transmitting a video signal to a remote place such as a digital TV (television) broadcast, in order to efficiently use a transmission line,
The video signal is compressed and encoded by using the line correlation and the frame correlation of the video signal. As such a video signal encoding method, for example, MPEG (Moving Picture Experer) is used.
ts Group) standard has been proposed.

【0004】MPEG規格では、映像信号はI(Intra-
coded )ピクチヤ、P(Predictive)ピクチヤ、B(Bi
directionally predictive-coded)ピクチヤの3種類の
ピクチヤとして符号化される。従つてMPEGの符号化
映像データは、Iピクチヤ、Pピクチヤ及びBピクチヤ
より構成されることになる。
According to the MPEG standard, the video signal is I (Intra-
coded) picture, P (Predictive) picture, B (Bi
directionally predictive-coded) It is encoded as three types of pictures. Therefore, the MPEG encoded video data is composed of I-picture, P-picture and B-picture.

【0005】ここで符号化する前のピクチヤ構造(A)
と、符号化した後のピクチヤ構造(B)を図14に示
す。Iピクチヤは、予測を使わず入力信号をそのまま符
号化するフレームであり、編集点(IN点)やデコード
開始点として利用できる。Pピクチヤは一方向の動き補
償予測を用いるフレームであり、自身より時間的に先行
するIピクチヤから予測(前方予測)される。Bピクチ
ヤは双方向予測を用いるフレームであり、自身より時間
的に先行するIピクチヤ又はPピクチヤからの前方予測
と、自身より時間的に後行するIピクチヤ又はPピクチ
ヤからの後方予測の両方を用いて予測される。
A picture structure (A) before encoding here
FIG. 14 shows the picture structure (B) after encoding. The I-picture is a frame that directly encodes an input signal without using prediction, and can be used as an edit point (IN point) or a decoding start point. P-picture is a frame that uses motion-compensated prediction in one direction, and is predicted (forward prediction) from I-picture that precedes itself in time. B-picture is a frame that uses bi-directional prediction, and includes both forward prediction from the I-picture or P-picture that precedes itself and backward prediction from the I-picture or P-picture that follows after itself. Is predicted using.

【0006】図14(B)に示すように、各ピクチヤは
圧縮符号化時、Iピクチヤ及びPピクチヤがこれらのピ
クチヤに時間的に先行するBピクチヤの前に順序が入れ
替えられる(この順入替えを以下オーダリングと呼
ぶ)。オーダリング後のMPEGのストリームにおい
て、Iピクチヤを先頭として次のIピクチヤの前のピク
チヤまでをまとめたもの、すなわち1つのIピクチヤと
複数のPピクチヤ、Bピクチヤをまとめたものを、グル
ープオブピクチヤ(Group of Picture、以下GOPと呼
ぶ)と呼び符号化の単位となる。
As shown in FIG. 14 (B), when each picture is compressed and encoded, the order of the I picture and the P picture is changed before the B picture which precedes these pictures in time (this order change is performed). Hereinafter called ordering). In the MPEG stream after ordering, the I-picture is the head and the pictures before the next I-picture are grouped together, that is, one I-picture and a plurality of P-pictures and B-pictures are grouped together. (Group of Picture, hereinafter referred to as GOP) is a unit of coding.

【0007】ここでGOP内のピクチヤ数をN、Iピク
チヤ又はPピクチヤが現れる周期をMで表すと、図14
(A)ではN=15、M=3となり、図14(B)に示
すようにピクチヤをオーダリングした後にGOPの先頭
に現れるフレームはM番目のフレーム(図14ではフレ
ーム画像)である。
Here, the number of pictures in a GOP is represented by N, and the cycle in which an I picture or a P picture appears is represented by M.
In (A), N = 15 and M = 3, and as shown in FIG. 14B, the frame appearing at the beginning of the GOP after ordering the picture is the Mth frame (frame image in FIG. 14).

【0008】[0008]

【発明が解決しようとする課題】ところで一般にVTR
(Video Tape Recorder )の映像からクリツプ(いわゆ
る番組)を取り出す場合、スタートポイント(スタート
のタイムコード)とエンドポイント(エンドのタイムコ
ード)を指定してフレーム単位で編集する。ところがM
PEGのストリームからあるクリツプをフアイルとして
取り出す場合、切取りの単位はGOPの倍数となる。こ
のためクリツプのスタートポイントのフレーム画像がG
OPの先頭フレームになる保証はなく、図15に示すよ
うに、目標スタートポイントから、最大Nだけスタート
ポイントがずれる場合があつた。
Generally, a VTR
When extracting a clip (so-called program) from the video of (Video Tape Recorder), specify the start point (start time code) and end point (end time code) and edit in frame units. However, M
When taking out a certain clip as a file from the PEG stream, the unit of cutting is a multiple of GOP. Therefore, the frame image of the clip start point is G
There is no guarantee that it will be the first frame of the OP, and as shown in FIG. 15, the start point may deviate from the target start point by a maximum of N.

【0009】またMPEGのストリームからあるクリツ
プをフアイルとして取り出した場合、GOPの先頭ピク
チヤはBピクチヤであるので、既に切り取られて存在し
ないはずのピクチヤから予測値を求めることになる。す
なわち前方向予測を行うことができず、この結果、頭の
数枚(図14に示すようにM=3では2枚)のBピクチ
ヤの表示は予測不可能なものとなる。
Further, when a certain clip is taken out as a file from the MPEG stream, since the head picture of the GOP is the B picture, the predicted value is obtained from the picture that should have already been cut and should not exist. That is, it is not possible to perform forward prediction, and as a result, the display of several B pictures (two for M = 3 as shown in FIG. 14) becomes unpredictable.

【0010】例えば、2つのクリツプを連続して復号し
た場合、2番目のクリツプの先頭のBピクチヤは1番目
のクリツプの最後のPピクチヤの値から予測値を求める
ことになるので、クリツプの組み合わせによつて画像の
乱れ方は異なるが、何れにしても原画とは異なるものと
なる。因に、GOPの最終フレームはPピクチヤである
ので、フアイルの最後で映像が乱れることはない。
For example, when two clips are decoded in succession, the B-picture at the beginning of the second clip has a predicted value obtained from the value of the last P-picture at the first clip, and therefore the combination of the clips. Therefore, although the image is disturbed differently, it is different from the original image in any case. By the way, since the last frame of GOP is P picture, the image is not disturbed at the end of the file.

【0011】このような問題を解決するものとして、ク
ローズドGOPというものがある。これは先頭の数枚の
Bピクチヤを後方予測のみで前方予測をしない予測モー
ドである。この予測モードで符号化した場合には、各G
OPが独立するためどのGOPで区切つても映像が乱れ
ることはないが、GOP間の相関が全くないため圧縮効
率が悪くなり、その結果量子化が粗くなつて画質が低下
するという問題があつた。
There is a closed GOP to solve such a problem. This is a prediction mode in which the front B pictures are only backward predicted but not forward predicted. When encoded in this prediction mode, each G
Although never separated connexion also disturbed image at any GOP for OP is independent, compression efficiency because there is no correlation between GOP is deteriorated, resulting connexion quality of coarse quantization has been made is lowered .

【0012】またMPEG符号化装置に映像信号が入力
されてから、符号化されたデータストリームが出力され
るまでには、数フレーム分に及ぶ可変の遅延が生ずる。
例えば入力時のフレームシンクロナイザ等による遅延、
符号化処理による遅延、符号化したデータがバツフアに
入力されてから出力されるまでに生ずる遅延がある。こ
の遅延値は固定値ではなく、絵柄によつて変動する可変
の遅延である。
In addition, a variable delay of several frames occurs from the input of the video signal to the MPEG encoding device to the output of the encoded data stream.
For example, delay due to frame synchronizer etc. at input,
There is a delay caused by the encoding process and a delay caused from the input of encoded data to the output of the buffer. This delay value is not a fixed value, but a variable delay that varies depending on the design.

【0013】このため符号化装置の出力データを目標と
するGOPからクリツプとして取り出す場合、今符号化
したデータが、何時出力されるかを判断することができ
ないため、出力されたデータストリームの先頭GOPの
先頭フレームが目標とするフレームである保証はなく、
正確にクリツプを取り出すことが困難であるという問題
があつた。
For this reason, when the output data of the encoding device is extracted as a clip from the target GOP, it is not possible to determine when the encoded data will be output. Therefore, the head GOP of the output data stream can be determined. There is no guarantee that the first frame of is the target frame,
There was a problem that it was difficult to take out the clip accurately.

【0014】本発明は以上の点を考慮してなされたもの
で、任意のフレーム画像をグループオブピクチヤの先頭
フレームに設定し得る画像信号符号化方法及び画像信号
符号化装置を提案しようとするものである。
The present invention has been made in consideration of the above points, and proposes an image signal encoding method and an image signal encoding apparatus capable of setting an arbitrary frame image as the first frame of a group of pictures. It is a thing.

【0015】[0015]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、連続する複数のフレーム画像又は
フイールド画像のうち所望のフレーム画像又はフイール
ド画像を指定する指定信号を生成し、各フレーム画像又
はフイールド画像を識別するための識別信号を生成し、
フレーム画像又はフイールド画像に同期し、指定信号に
対応した識別信号を生成し、当該指定信号に対応した識
別信号を検出したとき、当該検出した識別信号に対応す
るフレーム画像又はフイールド画像をグループオブピク
チヤの先頭フレーム又は先頭フイールドに設定する。
In order to solve such a problem, in the present invention, a designation signal for designating a desired frame image or a field image among a plurality of consecutive frame images or field images is generated, and each frame image is generated. Or generating an identification signal for identifying the field image,
When the identification signal corresponding to the designated signal is generated in synchronization with the frame image or the field image and the identification signal corresponding to the designated signal is detected, the frame image or the field image corresponding to the detected identification signal is grouped into a group of pictures. Set to the first frame or the first field of Y.

【0016】また本発明においては、指定信号生成手段
は、連続する複数のフレーム画像又はフイールド画像の
うち所望のフレーム画像又はフイールド画像を指定する
指定信号を生成し、第1の識別信号生成手段は、各フレ
ーム画像又はフイールド画像を識別するための識別信号
を生成し、第2の識別信号生成手段は、フレーム画像又
はフイールド画像に同期し、指定信号に対応した識別信
号を生成し、識別信号検出手段は、指定信号に対応した
識別信号を検出したとき、当該検出した識別信号に対応
するフレーム画像又はフイールド画像をグループオブピ
クチヤの先頭フレーム又は先頭フイールドに設定する。
Further, in the present invention, the designation signal generation means generates a designation signal for designating a desired frame image or field image among a plurality of continuous frame images or field images, and the first identification signal generation means , An identification signal for identifying each frame image or field image is generated, and the second identification signal generation means generates an identification signal corresponding to the designation signal in synchronization with the frame image or field image, and detects the identification signal. The means, when detecting the identification signal corresponding to the designation signal, sets the frame image or the field image corresponding to the detected identification signal to the head frame or head field of the group of pictures.

【0017】[0017]

【作用】所望のフレーム画像又はフイールド画像を指定
する指定信号及び各フレーム画像又はフイールド画像を
識別するための識別信号を生成し、フレーム画像又はフ
イールド画像に同期し、指定信号に対応した識別信号を
生成する。指定信号に対応した識別信号を検出したと
き、当該検出した識別信号に対応するフレーム画像又は
フイールド画像をグループオブピクチヤの先頭フレーム
又は先頭フイールドに設定する。これにより、任意のフ
レーム画像又はフイールド画像をグループオブピクチヤ
の先頭フレーム又は先頭フイールドに設定することがで
きる。
Operation: A designation signal for designating a desired frame image or field image and an identification signal for identifying each frame image or field image are generated, and an identification signal corresponding to the designation signal is generated in synchronization with the frame image or field image. To generate. When the identification signal corresponding to the designated signal is detected, the frame image or field image corresponding to the detected identification signal is set as the head frame or head field of the group of pictures. Thereby, an arbitrary frame image or field image can be set as the head frame or field of the group of pictures.

【0018】検出した識別信号に対応するフレーム画像
又はフイールド画像を先頭フレーム又は先頭フイールド
としたグループオブピクチヤを、クローズドグループオ
ブピクチヤに設定する。これにより、連続するGOP間
で相関をとるとことができ、圧縮符号化率の低下を回避
することができる。
A group of pictures having a frame image or a field image corresponding to the detected identification signal as a head frame or a head field is set as a closed group of pictures. By this means, it is possible to obtain correlation between consecutive GOPs, and it is possible to avoid a reduction in compression coding rate.

【0019】指定信号によつて指定したフレーム画像又
はフイールド画像からのグルーブオブピクチヤ数を指定
する指定信号を生成し、先頭フレーム又は先頭フイール
ドから、指定したグループオブピクチヤ数までのフレー
ム画像又はフイールド画像までを圧縮符号化する。これ
により、指定したフレーム画像又はフイールド画像から
指定長のデータストリームをフアイルとして取り出すこ
とができる。
A designation signal for designating the number of grooves of picture from the frame image or field image designated by the designation signal is generated, and a frame image from the first frame or head field to the designated number of group of pictures or Compress and encode up to the field image. As a result, the data stream of the designated length can be extracted as a file from the designated frame image or field image.

【0020】圧縮符号化する際に算出したフレーム画像
又はフイルード画像毎の動き予測値を保存し、当該保存
された各フレーム画像又はフイールド画像毎の動き予測
値を解析して、当該解析した動き予測値に基づいて各フ
レーム画像又はフイールド画像のピクチヤ形式を決定す
る。これにより、フレーム画像を最適なピクチヤ形式で
動き予測することができる。
The motion prediction value for each frame image or field image calculated at the time of compression encoding is saved, the motion prediction value for each saved frame image or field image is analyzed, and the analyzed motion prediction is performed. The picture type of each frame image or field image is determined based on the value. This makes it possible to predict the motion of the frame image in the optimum picture format.

【0021】[0021]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0022】(1)第1実施例 (1−1)符号化システムの構成 本発明の第1実施例による符号化システムの構成を図1
に示す。符号化システム1においては、各フレーム画像
に同期したスケジユールドデータSDを用いて、指定タ
イムコードのフレーム画像から指定長のデータストリー
ムをフアイルとして取り出すようになされている。この
実施例においては、MPEG2規格に従つてビデオ信号
を符号化する。
(1) First Embodiment (1-1) Configuration of Encoding System FIG. 1 shows the configuration of the encoding system according to the first embodiment of the present invention.
Shown in In the encoding system 1, the schedule field data SD synchronized with each frame image is used to extract a data stream of a designated length from a frame image of a designated time code as a file. In this embodiment, the video signal is encoded according to the MPEG2 standard.

【0023】図1に示すように、符号化システム1は指
定信号生成手段としてのコントローラ2、第1の識別信
号生成手段としてのビデオテープレコーダ(VTR)
3、ビデオ信号符号化装置4及びストレージデバイス5
によつて構成されている。コントローラ2はビデオ信号
符号化装置4を制御しており、所望のフレーム画像を指
定するための指定信号としての指定タイムコード(Star
t Point (IN点))STCと、当該所望のフレーム画像
からのGOP数を指定するための指定信号としてのGO
P数指定信号SGOP とをビデオ信号符号化装置4に送出
する。VTR3はビデオ信号SAVをビデオ信号符号化装
置4に供給すると共に、例えばRS422制御線(図示
せず)を介して、フレーム画像を識別するための識別信
号としてのタイムコード(Time Code )SVTC をビデオ
信号符号化装置4に送出する。
As shown in FIG. 1, the encoding system 1 includes a controller 2 as a designation signal generating means and a video tape recorder (VTR) as a first identification signal generating means.
3, video signal encoding device 4 and storage device 5
It is composed by. The controller 2 controls the video signal encoding device 4, and a designated time code (Star) as a designated signal for designating a desired frame image.
t Point (IN point) S TC and GO as a designation signal for designating the number of GOPs from the desired frame image
The P number designation signal S GOP is sent to the video signal coding device 4. The VTR 3 supplies the video signal S AV to the video signal encoding device 4 and, for example, via a RS422 control line (not shown), a time code S VTC as an identification signal for identifying a frame image. Is transmitted to the video signal encoding device 4.

【0024】ビデオ信号符号化装置4は、フレーム画像
に同期し、タイムコードSVTC に対応したスケジユール
ドデータSDよりキユーコードCue を検出したとき、当
該キユーコードCue を含むスケジユールドデータSDに
対応するフレーム画像をGOPの先頭フレームに設定
し、当該先頭フレームからGOP数指定信号SGOP によ
つて指定されたGOP数までのフレーム画像まで圧縮符
号化して、フアイルとしてストレージデバイス5に出力
する。
When the video signal encoding device 4 detects the queue code Cue from the schedule data SD corresponding to the time code S VTC in synchronization with the frame image, the frame image corresponding to the schedule data SD including the queue code Cue. Is set as the head frame of the GOP, and the frame images from the head frame to the GOP number designated by the GOP number designation signal S GOP are compression-encoded and output to the storage device 5 as a file.

【0025】(1−2)ビデオ信号符号化装置 ビデオ信号符号化装置4は、第2の識別信号生成手段と
してのタイムコード読込み部6、ビデオ信号入力部7、
識別信号検出手段としての動き予測検出部8、符号化手
段としての符号化部9及びデータ取込み部10によつて
構成されている。以下、ビデオ信号符号化装置4の各処
理ブロツクについて詳細に説明する。
(1-2) Video Signal Encoding Device The video signal encoding device 4 includes a time code reading unit 6, a video signal input unit 7, and a second identification signal generating means.
The motion prediction detection unit 8 as the identification signal detection unit, the encoding unit 9 as the encoding unit, and the data acquisition unit 10 are configured. Hereinafter, each processing block of the video signal encoding device 4 will be described in detail.

【0026】(1−2−1)タイムコード読込み部 タイムコード読込み部6の構成を図2に示す。タイムコ
ード(Time Code )比較回路6Aは、コントローラ2よ
り供給される指定タイムコードSTCを制御ブロツクイン
タフエース6Bを介して受ける。またコントローラ2よ
り供給される指定タイムコードSTC及びGOP数指定信
号SGOP は制御ブロツクインタフエース6Bを介してデ
ータ取込み部10に送出される。ここでデータ取込み部
10には、符号化部9よりオーダリング後のデータが入
力されるため、実際には、IN点+(M−1)のタイム
コード値がデータ取込み部10に送出される。
(1-2-1) Time Code Reading Unit FIG. 2 shows the configuration of the time code reading unit 6. Time code (Time Code) comparison circuit 6A receives the designation time code S TC supplied from the controller 2 via the control bromide poke-in tough Ace 6B. Further, the designated time code S TC and the GOP number designation signal S GOP supplied from the controller 2 are sent to the data fetching section 10 via the control block interface 6B. Here, since the data after the ordering is input from the encoding unit 9 to the data capturing unit 10, the time code value of IN point + (M−1) is actually transmitted to the data capturing unit 10.

【0027】タイムコード(Time Code )読取り回路6
Cは、ビデオ信号入力部7より供給されるフレームパル
スSFPのタイミングで例えばRS422制御インタフエ
ース(図示せず)を介してVTR3からタイムコードS
VTC を読み取り、当該タイムコードSVTC をタイムコー
ド比較回路6A及びスケジユールドデータ作成回路6D
に送出する。すなわちタイムコード読取り回路6Cは、
ビデオ信号入力部7より供給されるフレームパルスSFP
の論理「H」レベルをフレームパルス検出回路6Eが検
出したときフレームパルス検出回路6Eより供給される
タイムコード読取り信号SREADに基づいて、VTR3か
らタイムコードSVTC を読み取るようになされている。
Time code reading circuit 6
C is the time code S from the VTR 3 via the RS422 control interface (not shown) at the timing of the frame pulse SFP supplied from the video signal input unit 7.
Read the VTC, time code comparing the time code S VTC circuits 6A and Sukeji user field data creating circuit 6D
Send to. That is, the time code reading circuit 6C is
Frame pulse S FP supplied from the video signal input unit 7
The time code S VTC is read from the VTR 3 on the basis of the time code read signal S READ supplied from the frame pulse detection circuit 6E when the frame pulse detection circuit 6E detects the logic "H" level.

【0028】ここでフレームパルスSFPは、後述するよ
うに、ビデオ信号の垂直同期信号(VSYNC )に同期した
パルスであり、スケジユールドデータSDを送出するタ
イミングである。従つてスケジユールドデータSDはフ
レーム画像毎に生成される。
The frame pulse S FP Here, as described later, a pulse synchronized with the vertical synchronizing signal of the video signal (VSYNC), a timing for sending the Sukeji user field data SD. Therefore, the schedule field data SD is generated for each frame image.

【0029】タイムコード比較回路6Aは、コントロー
ラ2からの指定タイムコードSTCと、タイムコード読取
り回路6CがVTR3より読み取つたタイムコードS
VTC とを比較してこれらのタイムコードが一致したと
き、スケジユールドデータ作成部6DにキユーコードCu
e を送出する。スケジユールドデータ作成部6Dは、フ
レーム画像の処理に係わる情報として、タイムコード比
較回路6Aより供給されるキユーコードCue と、タイム
コード読取り部6Bより供給される指定タイムコードS
TCとをデータ上にのせ、スケジユールドデータSDとし
てビデオ信号入力部7に送出する。
The time code comparison circuit 6A has a designated time code S TC from the controller 2 and the time code S read from the VTR 3 by the time code reading circuit 6C.
When these time codes match when compared with VTC , the schedule code data creation unit 6D displays the queue code Cu
Sends e. The schedule field data creation unit 6D uses the queue code Cue supplied from the time code comparison circuit 6A and the designated time code S supplied from the time code reading unit 6B as information relating to the processing of the frame image.
TC and data are placed on the data and sent to the video signal input unit 7 as schedule field data SD.

【0030】ここでキユーコードCue とは、後述するよ
うに、キユーコードCue を含むスケジユールドデータS
Dに対応するフレーム画像DF をGOPの先頭フレーム
に設定し、当該GOPだけをクローズドGOPに設定す
るための信号である。
Here, the queue code Cue is, as described later, the schedule field data S including the queue code Cue.
This is a signal for setting the frame image D F corresponding to D to the head frame of the GOP and setting only the GOP to the closed GOP.

【0031】タイムコード読込み部6の動作を図3のフ
ローチヤートを用いて説明する。ステツプSP1より開
始して、ステツプSP2において、コントローラ2より
指定タイムコードSTC(Start Point )及びGOP数S
GOP が入力され、ステツプSP3において、データ取込
み部10に指定タイムコードSTC及びGOP数SGOP
転送する。次にステツプSP4において、フレームパル
ス検出回路6EがフレームパルスSFPの論理「H」レベ
ルを検出していない場合には、フレームパルスSFPの論
理「H」レベルを検出するまでステツプSP4の処理が
繰り返される。
The operation of the time code reading section 6 will be described with reference to the flow chart of FIG. Starting from step SP1, and starting from step SP2, the controller 2 specifies the specified time code S TC (Start Point) and the number of GOPs S.
The GOP is input, and in step SP3, the designated time code S TC and the GOP number S GOP are transferred to the data capturing section 10. Then in step SP4, when the frame pulse detection circuit 6E does not detect a logical "H" level of the frame pulse S FP, the processing of step SP4 until it detects a logical "H" level of the frame pulse S FP is Repeated.

【0032】フレームパルス検出回路6Eが論理「H」
レベルのフレームパルスSFPを検出した場合には、タイ
ムコード読取り信号SREADをタイムコード読取り回路6
Cに出力し、ステツプSP5に進む。ステツプSP5に
おいて、タイムコード読取り回路6CはVTR3よりタ
イムコードSVTC (Time Code )を読み取つてステツプ
SP6に進み、タイムコード比較回路6AはVTR3よ
り読み取つたタイムコードSVTC と、コントローラ2の
指定タイムコードSTCとが一致するか否かを判定する。
The frame pulse detection circuit 6E has a logic "H".
When the level frame pulse S FP is detected, the time code reading signal S READ is sent to the time code reading circuit 6
Output to C and proceed to step SP5. In step SP5, the time code reading circuit 6C proceeds to connexion step SP6 reading the time code S VTC (Time Code) from the VTR 3, the time code comparing circuit 6A and the time code S VTC with One read from VTR 3, specifying a time code of the controller 2 It is determined whether or not S TC matches.

【0033】タイムコードSVTC と指定タイムコードS
TCとが一致した場合には、タイムコード比較回路6Aは
スケジユールドデータ作成部6DにキユーコードCue を
出力し、ステツプSP7において、スケジユールドデー
タ作成部6DはキユーコードCue と指定タイムコードS
TCとをデータに載せてスケジユールドデータSDとして
ビデオ信号入力部7に送出する。
Time code S VTC and designated time code S
If TC matches, the time code comparison circuit 6A outputs the queue code Cue to the schedule field data creating section 6D, and in step SP7, the schedule field data creating section 6D outputs the queue code Cue and the designated time code S.
TC and data are sent on the data and sent to the video signal input section 7 as schedule field data SD.

【0034】タイムコードSVTC と指定タイムコードS
TCとが一致していない場合には、ステツプSP8におい
て、スケジユールドデータ作成部6Cにはタイムコード
VT C だけが入力され、スケジユールドデータ作成部6
CはタイムコードSVTC をデータに載せてスケジユール
ドデータSDとしてビデオ信号入力部7に送出する。こ
のようにフレームパルスSFPの論理「H」レベルを検出
すると、ステツプSP4からステツプSP7又はステツ
プSP8までの処理ループを実行する。
Time code S VTC and designated time code S
If TC and TC do not match, only the time code S VT C is input to the schedule field data creation section 6C in step SP8, and the schedule field data creation section 6C is input.
C carries the time code S VTC on the data and sends it to the video signal input section 7 as schedule field data SD. When the logic "H" level of the frame pulse SFP is thus detected, the processing loop from step SP4 to step SP7 or step SP8 is executed.

【0035】(1−2−2)ビデオ信号入力部 ビデオ信号入力部7の構成を図4に示す。垂直同期信号
(VSYNC )検出回路7Aは、VTR3より入力されるア
ナログビデオ信号SAVより垂直同期信号VSYNCを検出
し、当該垂直同期信号VSYNCに同期したフレームパルス
FPをタイムコード読込み部6のフレームパルス検出回
路6Eに送出すると共にアナログビデオ信号SAVをアナ
ログデイジタル変換回路(A/D変換回路)7Bに出力
する。A/D変換回路7Bはアナログビデオ信号SAV
デイジタルビデオ信号SDVに変換して動き予測検出部8
に送出する。
(1-2-2) Video Signal Input Unit FIG. 4 shows the configuration of the video signal input unit 7. The vertical synchronization signal (VSYNC) detection circuit 7A detects the vertical synchronization signal VSYNC from the analog video signal S AV input from the VTR 3 and outputs the frame pulse S FP synchronized with the vertical synchronization signal VSYNC to the frame of the time code reading unit 6. The analog video signal S AV is sent to the pulse detection circuit 6E and is also output to the analog digital conversion circuit (A / D conversion circuit) 7B. The A / D conversion circuit 7B converts the analog video signal S AV into a digital video signal S DV , and the motion prediction detection unit 8
Send to.

【0036】またタイムコード読込み部6より送出され
たスケジユールドデータSDは遅延回路7Cに入力され
る。遅延回路7Cはビデオ信号入力部7で生じた遅延
分、すなわちA/D変換回路7BでのA/D変換処理に
要した時間分、スケジユールドデータSDを遅延させて
動き予測検出部8に送出する。これにより、デイジタル
ビデオ信号SDV及びスケジユールドデータSDは同じタ
イミングでビデオ信号入力部7より動き予測検出部8に
送出される。
The schedule field data SD sent from the time code reading unit 6 is input to the delay circuit 7C. The delay circuit 7C delays the schedule field data SD by the delay amount generated in the video signal input unit 7, that is, the time required for the A / D conversion processing in the A / D conversion circuit 7B, and sends it to the motion prediction detection unit 8. To do. As a result, the digital video signal S DV and the schedule field data SD are sent from the video signal input unit 7 to the motion prediction detection unit 8 at the same timing.

【0037】ビデオ信号入力部7の動作を図5のフロー
チヤートを用いて説明する。まずステツプSP1より開
始して、ステツプSP2において、垂直同期信号検出回
路7Aは入力されるアナログビデオ信号SAVより垂直同
期信号VSYNCを検出し、ステツプSP3において、検出
した垂直同期信号VSYNCに同期したフレームパルスSFP
をタイムコード読込み部6送出する。
The operation of the video signal input section 7 will be described with reference to the flow chart of FIG. First, in step SP2, starting from step SP1, the vertical synchronizing signal detection circuit 7A detects the vertical synchronizing signal VSYNC from the input analog video signal S AV , and in step SP3, the frame synchronized with the detected vertical synchronizing signal VSYNC. Pulse SFP
Is sent to the time code reading unit 6.

【0038】次にステツプSP4において、A/D変換
回路7Bでアナログビデオ信号SAVをデイジタルビデオ
信号SDVに変換して動き予測検出部8に送出すると共
に、スケジユールドデータSDを遅延回路7CでA/D
変換処理に要した時間分、遅延させて動き予測検出部8
に送出し、ステツプSP2に戻つて垂直同期信号VSYNC
の検出動作を行う。
Next, in step SP4, the analog video signal S AV is converted into the digital video signal S DV by the A / D conversion circuit 7B and sent to the motion prediction / detection section 8, and the schedule field data SD is sent by the delay circuit 7C. A / D
The motion prediction detection unit 8 is delayed by the time required for the conversion process.
To the vertical sync signal VSYNC.
Is detected.

【0039】(1−2−3)動き予測検出部 動き予測検出部8の構成を図6に示す。図6に示すよう
に、オーダリング回路8Aは、スイツチ8Bを切り換え
て、ビデオ信号入力部7より入力されるデイジタルビデ
オデータSDVの各フレーム画像DF を、それぞれ第1の
フレームメモリ8C1 、第2のフレームメモリ8C2
第3のフレームメモリ8C3 に格納し、スイツチ8Dを
切り換えて所定の順番(例えば図14(B)に示す順
番)でこれらのフレーム画像DF を各フレームメモリ8
1 、8C2 、8C3 より動き予測回路8Eに出力す
る。
(1-2-3) Motion Prediction Detection Unit FIG. 6 shows the configuration of the motion prediction detection unit 8. As shown in FIG. 6, the ordering circuit 8A switches the switch 8B so that each frame image DF of the digital video data S DV input from the video signal input unit 7 is transferred to the first frame memory 8C 1 and the first frame memory 8C 1 . 2 frame memory 8C 2 ,
The frame images D F are stored in the third frame memory 8C 3 and the switch 8D is switched to display these frame images D F in a predetermined order (for example, the order shown in FIG. 14B).
C 1, 8C 2, 8C 3 outputs to the motion prediction circuit 8E than.

【0040】例えば図14(A)の元データにおいて、
GOPの先頭フレームであるフレーム画像は第1のフ
レームメモリ8C1 に格納され、フレーム画像は第2
のフレームメモリ8C2 に格納され、フレーム画像は
第3のフレームメモリ8C3に格納される。このとき第
3のフレームメモリ8C3 からフレーム画像が出力さ
れてこの第3のフレームメモリ8C1 にフレーム画像
が格納され、次に第1のフレームメモリフレーム8C1
からフレーム画像が出力されてこの第1のフレームメ
モリ8C1 にフレーム画像が格納され、次に第2のフ
レームメモリ8C2 からフレーム画像が出力されてこ
の第2のフレームメモリ8C2 にフレーム画像が格納
される。
For example, in the original data of FIG. 14 (A),
The frame image which is the first frame of the GOP is stored in the first frame memory 8C 1 , and the frame image is the second frame.
Frame memory 8C 2 and the frame image is stored in the third frame memory 8C 3 . At this time, the frame image is output from the third frame memory 8C 3 , the frame image is stored in the third frame memory 8C 1 , and then the first frame memory frame 8C 1
Output a frame image from the second frame memory 8C 1 and store the frame image in the first frame memory 8C 1 , then output a frame image from the second frame memory 8C 2 to store the frame image in the second frame memory 8C 2. Is stored.

【0041】すなわちオーダリング回路8Aは、入力さ
れるフレーム画像DF を、図14(B)に示すようなM
PEGデータの順番にオーダリングして動き予測検出回
路8Eに出力するようになされている。
That is, the ordering circuit 8A converts the input frame image D F into M as shown in FIG.
The PEG data is ordered and output to the motion prediction / detection circuit 8E in order.

【0042】ここでキユーコード検出回路(Cue 検出回
路) 8Fがビデオ信号入力部7より入力されるスケジユ
ールドデータSD内にキユーコードCue を検出した場
合、オーダリング制御信号SCONTをオーダリング回路8
A、8Gに出力する。オーダリング回路8Aはオーダリ
ング制御信号SCONTを受けると、キユーコードCue を含
むスケジユールドデータSDに対応するフレーム画像D
F からGOPを構成するために、当該フレーム画像DF
をGOPの先頭フレーム(すなわちBピクチヤ)とし、
上述の方法に従つて図14(B)に示すMPEGデータ
の順番にオーダリングして動き予測回路8Eに出力す
る。
When the queue code detection circuit (Cue detection circuit) 8F detects the queue code Cue in the schedule field data SD input from the video signal input unit 7, the ordering control signal S CONT is sent to the ordering circuit 8.
Output to A and 8G. When receiving the ordering control signal S CONT , the ordering circuit 8A receives the frame image D corresponding to the schedule field data SD including the queue code Cue.
In order to compose a GOP from F , the frame image D F
Be the first frame of GOP (that is, B picture),
According to the method described above, the MPEG data is ordered in the order shown in FIG. 14B and output to the motion prediction circuit 8E.

【0043】例えば上述の例において、キユーコードCu
e を含むスケジユールドデータSDに対応するフレーム
画像DF がフレーム画像であつた場合、まず第1のフ
レームメモリ8C1 からフレーム画像が出力されてこ
の第1のフレームメモリ8C1 にフレーム画像が格納
され、この第1のフレームメモリ8C1 よりフレーム画
像が出力されてフレーム画像が格納され、次に第2
のフレームメモリ8C2 からフレーム画像が出力され
てフレーム画像が格納され、次に第3のフレームメモ
リ8C3 からフレーム画像が出力されてフレーム画像
が格納される。
For example, in the above example, the queue code Cu
If the frame image D F corresponding to Sukeji user field data SD including the e has been filed in the frame image, first, the frame image is stored from the first frame memory 8C 1 is a frame image output to the frame memory 8C 1 of the first The frame image is output from the first frame memory 8C 1 and the frame image is stored, and then the second frame memory 8C 1 is stored.
The frame image is output from the frame memory 8C 2 of the above, and the frame image is stored, and then the frame image is output from the third frame memory 8C 3 and the frame image is stored.

【0044】すなわちキユーコードCue を含むスケジユ
ールドデータSDに対応するフレーム画像DF がフレー
ム画像である場合、フレーム画像、、の順で動
き予測回路8Eに出力される。従つてこの場合、フレー
ム画像が目標スタートフレーム(指定タイムコードS
TCで指定されたフレーム画像)となるので、動き予測回
路8Eは、フレーム画像をIピクチヤ、フレーム画像
をBピクチヤ、フレーム画像をBピクチヤとして処
理する。
That is, when the frame image D F corresponding to the schedule field data SD including the queue code Cue is a frame image, the frame images are output in this order to the motion prediction circuit 8E. Therefore, in this case, the frame image is the target start frame (designated time code S
Since it is a frame image designated by TC ), the motion prediction circuit 8E processes the frame image as I-picture, the frame image as B-picture, and the frame image as B-picture.

【0045】このようにキユーコードCue が検出される
と、キユーコードCue を含むスケジユールドデータSD
に対応したフレーム画像DF (フレーム画像)をGO
Pの先頭フレームに設定し、図14(B)に示すような
MPEGデータの順にオーダリングされて動き予測回路
8Eに出力される。
When the queue code Cue is detected in this way, the schedule field data SD including the queue code Cue is detected.
GO frame image D F (frame image) corresponding to
It is set in the first frame of P, is ordered in the order of MPEG data as shown in FIG. 14B, and is output to the motion prediction circuit 8E.

【0046】従つて目標スタートフレームがGOPの先
頭フレーム画像DF でない場合でも、キユーコードCue
を含むスケジユールドデータSDに対応するフレーム画
像DF をGOPの先頭フレームとして設定して、当該フ
レーム画像DF よりGOPを構成することができるの
で、番組の目標スタートフレームと実際のスタートフレ
ームとを一致させることができる。
Therefore, even when the target start frame is not the head frame image D F of the GOP, the queue code Cue
It is possible to set the frame image D F corresponding to the schedule field data SD including GOP as the first frame of the GOP and to compose the GOP from the frame image D F, so that the target start frame and the actual start frame of the program are Can be matched.

【0047】動き予測部8Eはオーダリング回路8Aよ
り出力されるフレーム画像DF 間の動きベクトルVを検
出して符号化部9に送出する。ここでキユーコードCue
は動き予測部8Bに送られ、動き予測部8Bは、キユー
コードCue を含むスケジユールドデータSDに対応する
フレーム画像DF を先頭にしたGOPをクローズドGO
Pとするために、最初の(M−1)個のBピクチヤ(上
述の例の場合、フレーム画像、)については、前方
向予測を禁止して後方向予測だけを用いて動きベクトル
を検出する。すなわち上述の例では、フレーム画像、
についてはPピクチヤとして処理されるフレーム画像
15からの前方向予測は行わない。
The motion prediction unit 8E detects the motion vector V between the frame images D F output from the ordering circuit 8A and sends it to the coding unit 9. Cue code here Cue
Is sent to the motion prediction unit 8B, and the motion prediction unit 8B closes the GOP headed with the frame image D F corresponding to the schedule field data SD including the queue code Cue.
For P, for the first (M-1) B pictures (frame image in the above example), forward prediction is prohibited and the motion vector is detected using only backward prediction. . That is, in the above example, the frame image,
Is a frame image processed as P picture
No forward prediction from 15 is made.

【0048】このようにキユーコードCue を含むスケジ
ユールドデータSDに対応したフレーム画像DF を先頭
にしたGOPだけをクローズドGOPとすることによ
り、連続するGOP間での相関をとることができ、画質
の劣化を防止することができる。従つて画質を劣化させ
ずに必要な箇所からデータをフアイルとして取り出すこ
とができる。
As described above, by setting only the GOP having the frame image D F corresponding to the schedule field data SD including the queue code Cue as the closed GOP, correlation between consecutive GOPs can be obtained, and the image quality can be improved. It is possible to prevent deterioration. Therefore, the data can be taken out as a file from a necessary place without degrading the image quality.

【0049】オーダリング回路8Gは、ビデオ信号入力
部7より入力されるスケジユールドデータSDをスイツ
チ8Hを切り換えて、フレームメモリ8C1 、8C2
8C3 に格納されたフレーム画像DF に対応するスケジ
ユールドデータSDをメモリ8I1 、8I2 、8I3
それぞれ格納し、オーダリング回路8Aでのフレーム画
像DF に対するオーダリングに対応してスイツチ8Jを
切り換えてスケジユールドデータSDを出力する。これ
によりオーダリング回路8Aから出力されるフレーム画
像DF に対応した順番でスケジユールドデータSDを出
力することができる。
The ordering circuit 8G switches the schedule field data SD input from the video signal input section 7 between the switches 8H, and the frame memories 8C 1 , 8C 2 ,
The schedule field data SD corresponding to the frame image D F stored in 8C 3 is stored in the memories 8I 1 , 8I 2 , and 8I 3 , respectively, and the switch 8J is set in correspondence with the ordering for the frame image D F in the ordering circuit 8A. It switches and outputs the schedule field data SD. Thus, the schedule field data SD can be output in the order corresponding to the frame image D F output from the ordering circuit 8A.

【0050】遅延回路8Kはオーダリング回路8Gより
入力されるスケジーユルドデータSDを、動き予測回路
8Eでの動き予測に要した時間分遅らせて符号化部9に
送出する。これにより、動き予測回路8Eで検出したた
各フレーム画像DF についての動きベクトルVと、当該
各フレーム画像DF に対応するスケジユールドデータS
Dとを同じタイミングで符号化部9に送出することがで
きる。
The delay circuit 8K delays the schedule yield data SD input from the ordering circuit 8G by the time required for the motion prediction in the motion prediction circuit 8E and sends it to the encoding unit 9. Thereby, the motion vector V for each frame image D F detected by the motion prediction circuit 8E and the schedule field data S corresponding to each frame image D F.
D and D can be sent to the encoding unit 9 at the same timing.

【0051】動き予測部8の動作を図7のフローチヤー
トを用いて説明する。まずステツプSP1より開始し
て、ステツプSP2において、オーダリング回路8Aは
入力されるデイジタルビデオデータSDVのフレーム画像
F を上述のような手順でフレームメモリ8C1 、8C
2 、8C3 に格納し、ステツプSP3において、オーダ
リング回路8Gは、オーダリング回路8Aのフレームメ
モリ8C1 、8C2 、8C3 に格納されたフレーム画像
F に対応させてスケジユールドデータSDをメモリ8
I 、8CP 、8CB に格納する。
The operation of the motion prediction section 8 will be described with reference to the flow chart of FIG. First, starting from step SP1, in step SP2, the ordering circuit 8A receives the frame image D F of the input digital video data S DV in the frame memories 8C 1 and 8C in the above-described procedure.
2 and 8C 3 , and in step SP3, the ordering circuit 8G causes the schedule field data SD to correspond to the frame images DF stored in the frame memories 8C 1 , 8C 2 and 8C 3 of the ordering circuit 8A.
It is stored in C I , 8C P , and 8C B.

【0052】次にステツプSP4において、キユーコー
ドCue 検出回路8FでスケジユールドデータSDよりキ
ユーコードCue が検出された場合には、ステツプSP5
に進み、オーダリング回路8AはキユーコードCue を含
むスケジユールドデータSDに対応したフレーム画像D
F をGOPの先頭フレームに設定して、図14(B)に
示すMPEGデータの順にオーダリングして動き予測回
路8Eに出力すると共に、動き予測回路8Eにキユーコ
ードCue を出力してGOPをクローズドGOPに設定し
てステツプSP6に進む。
Next, at step SP4, if the queue code Cue is detected from the schedule field data SD by the queue code Cue detection circuit 8F, step SP5.
Then, the ordering circuit 8A proceeds to the frame image D corresponding to the schedule field data SD including the queue code Cue.
The F is set to the first frame of the GOP, and the MPEG data shown in FIG. 14B is ordered and output to the motion prediction circuit 8E, and the queue code Cue is output to the motion prediction circuit 8E to turn the GOP into a closed GOP. Set and proceed to step SP6.

【0053】ステツプSP4において、キユーコードCu
e が検出されなかつた場合には、フレームメモリ8
1 、8C2 、8C3 に格納されたフレーム画像D
F を、図14(B)に示すMPEGデータの順にオーダ
リングして動き検出回路8Eに出力し、ステツプSP6
に進む。ステツプSP6において、動き予測部8Dは入
力されるフレーム画像DF についてピクチヤ形式に応じ
て動きベクトルを検出し、検出した動きベクトルVを符
号化部9に送出する。
In step SP4, the queue code Cu
If e is not detected, the frame memory 8
Frame images D stored in C 1 , 8C 2 , 8C 3
F is ordered in the order of the MPEG data shown in FIG. 14B and is output to the motion detection circuit 8E.
Proceed to. In step SP6, the motion prediction unit 8D detects a motion vector for the input frame image D F according to the picture format, and sends the detected motion vector V to the encoding unit 9.

【0054】(1−2−4)符号化部 符号化部9の構成を図8に示す。図8に示すように、タ
イムコード(Time Code )切出し回路9Aは、動き予測
検出部8より入力されるスケジユールドデータSD内よ
りタイムコードSVTC を抜き出し、これをヘツダ構成部
9Bに出力する。ヘツダ構成回路9BはMPEGのビツ
トストリームに付加されるヘツダを構成する際に、タイ
ムコード切出し回路9Aより出力されるタイムコードS
VTC をヘツダに埋め込んでヘツダ情報SH としてストリ
ーム構成回路9Cに出力する。
(1-2-4) Encoding Unit The configuration of the encoding unit 9 is shown in FIG. As shown in FIG. 8, the time code cutout circuit 9A extracts the time code S VTC from the schedule field data SD input from the motion prediction detection unit 8 and outputs it to the header configuration unit 9B. The header configuration circuit 9B outputs the time code S output from the time code cutout circuit 9A when configuring a header to be added to the MPEG bit stream.
The VTC is embedded in the header and output as the header information S H to the stream configuration circuit 9C.

【0055】符号化回路9Dは動き予測検出部8より入
力される動きベクトルVを用いてMPEG2規格に従つ
て符号化し、符号化データDENC としてストリーム構成
回路9Cに出力する。ストリーム構成回路9Cは、ヘツ
ダ構成回路9Bより供給されるヘツダ情報SH と、符号
化回路9Dより出力される符号化データDENC とから、
MPEG2規格で規定されたフオーマツトでデータを構
成し、データ取込み部10にMPEG2のビツトスリト
ームを送出する。
The encoding circuit 9D encodes the motion vector V input from the motion prediction / detection unit 8 in accordance with the MPEG2 standard, and outputs the encoded data D ENC to the stream forming circuit 9C. The stream configuration circuit 9C uses the header information S H supplied from the header configuration circuit 9B and the encoded data D ENC output from the encoding circuit 9D,
Data is formed by a format specified by the MPEG2 standard, and an MPEG2 bit threshold is sent to the data capturing unit 10.

【0056】符号化部9の動作を図9のフローチヤート
を用いて説明する。まずステツプSP1より開始して、
ステツプSP2において,タイムコード切出し部9Aが
スケジユールドデータSDよりタイムコードSVTC (Ti
me Code )を抜き出す。次にステツプSP3において、
ヘツダ構成回路9BはMPEGのヘツダを構成し、ヘツ
ダにタイムコードSVTC を埋め込む。次にステツプSP
4において、ストリーム構成回路8Dは、符号化データ
ENC とヘツダ情報SH より、MPEG2のビツトスト
リームBSをデータ取込み部10に送出し、ステツプS
P2に戻る。
The operation of the encoder 9 will be described with reference to the flow chart of FIG. First, start from step SP1,
At step SP2, the time code cut-out portion 9A detects the time code S VTC (Ti
me code). Next, at step SP3,
The header configuration circuit 9B constitutes an MPEG header and embeds a time code S VTC in the header. Next step SP
4, the stream forming circuit 8D sends the MPEG2 bit stream BS from the encoded data D ENC and the header information S H to the data capturing section 10, and the step S
Return to P2.

【0057】(1−2−5)データ取込み部 図10にデータ取込み部10の構成を示す。図10に示
すように、ヘツダ検出回路10Aは符号化部9より入力
されるMPEG2のビツトストリームBSよりヘツダ情
報SH を検出し、当該検出したヘツダ情報SH をタイム
コード(Time Code )検出回路10B及びタイムコード
(Time Code )比較回路10Cに出力する。タイムコー
ド検出回路10Bはヘツダ情報SH よりタイムコードS
VTC を検出し、当該タイムコードSVTC をタイムコード
比較回路10Cに出力する。
(1-2-5) Data Acquisition Unit FIG. 10 shows the configuration of the data acquisition unit 10. As shown in FIG. 10, the header detection circuit 10A detects header information S H from the MPEG2 bit stream BS input from the encoding unit 9, and detects the detected header information S H by a time code detection circuit. 10B and the time code (Time Code) comparison circuit 10C. The time code detection circuit 10B detects the time code S from the header information S H.
VTC is detected and the time code S VTC is output to the time code comparison circuit 10C.

【0058】タイムコード比較回路10Cは、タイムコ
ード読込み部6から指定タイムコード(実際にはオーダ
リング回路8Aにおけるオーダリングにより、指定タイ
ムコード+(M−1))STC及びGOP数指定信号S
GOP が入力されると、タイムコード比較回路10C内の
カウンタ回路10DがGOP数に設定される。
The time code comparison circuit 10C receives the designated time code (actually designated time code + (M-1) by ordering in the ordering circuit 8A) S TC and the GOP number designation signal S from the time code reading section 6.
When GOP is input, the counter circuit 10D in the time code comparison circuit 10C is set to the GOP number.

【0059】タイムコード比較回路10Cは指定タイム
コードSTCと、タイムコード検出回路10Dより出力さ
れるタイムコードSVTC とを比較し、これらのタイムコ
ードが一致した場合には、スイツチング回路10Eにス
イツチ切換え信号SSWを出力する。これにより、スイツ
チング回路10Eがオンして、指定タイムコードSTC
タイムコードSVTC とが一致したときのフレーム画像
(符号化データDENC )からストレージデバイス5にビ
ツトストリームBS1 が出力される。
The time code comparison circuit 10C compares the designated time code S TC with the time code S VTC output from the time code detection circuit 10D. If these time codes match, the switching circuit 10E switches. Outputs switching signal S SW . As a result, the switching circuit 10E is turned on, and the bit stream BS 1 is output to the storage device 5 from the frame image (encoded data D ENC ) when the designated time code S TC and the time code S VTC match.

【0060】ここでビツトストリームBS1 の出力を開
始した時点から、GOP数をカウントするカウンタ回路
10Eがカウント動作を開始し、GOP数指定信号S
GOP によつて指定されたGOP数に達した時点でタイム
コード比較回路10Cよりスイツチング回路10Eに切
換え信号SSWが出力されてスイツチがオフになり、ビツ
トストリームBS1 の出力が停止する。これにより、指
定タイムコードSTCで指定したフレーム画像DF から指
定したGOP数のデータを取り出すことができる。カウ
ンタ回路10Dはヘツダ検出回路10Bより出力される
ヘツダ情報SH に基づいてGOP数をカウントしてい
る。
Here, from the time when the output of the bit stream BS 1 is started, the counter circuit 10E for counting the number of GOPs starts the counting operation, and the GOP number designation signal S
When the number of GOPs designated by the GOP is reached, the switching signal S SW is output from the time code comparison circuit 10C to the switching circuit 10E, the switch is turned off, and the output of the bit stream BS 1 is stopped. As a result, the specified number of GOP data can be extracted from the frame image D F specified by the specified time code S TC . The counter circuit 10D counts the number of GOPs based on the header information S H output from the header detection circuit 10B.

【0061】データ取込み部10の動作を図11のフロ
ーチヤートを用いて説明する。まずステツプSP1より
開始して、ステツプSP2において、タイムコード読込
み部6より供給される指定タイムコードSTCにより指定
タイムコードSTC(Start Point )が設定され、ステツ
プSP3において、タイムコード読込み部6より供給さ
れるGOP数指定信号SGOP に応じたGOP数にカウン
タ回路10D内のカウント数が設定される。
The operation of the data fetching section 10 will be described with reference to the flow chart of FIG. Is first started from step SP1, at step SP2, the set specified time code S TC (Start Point) is the designated time code S TC supplied from the time code reading section 6, in step SP3, from the time code reading section 6 The count number in the counter circuit 10D is set to the GOP number corresponding to the supplied GOP number designation signal S GOP .

【0062】次にステツプSP4において、ヘツダ検出
回路10AはビツトストリームBSよりヘツダ情報SH
を検出し、タイムコード検出回路10Bはヘツダ情報S
H よりタイムコード(Time Code )SVTC を検出してタ
イムコード比較回路10Cに出力する。次にステツプS
P5において、タイムコード比較回路10Cで指定タイ
ムコード(Start Point )STCとタイムコード(Time C
ode )SVTC が一致しない場合にはステツプSP4に戻
り、ステツプSP4及びステツプSP5の処理ループを
実行する。
Next, at step SP4, the header detection circuit 10A receives the header information S H from the bit stream BS.
And the time code detection circuit 10B detects the header information S
The time code S VTC is detected from H and is output to the time code comparison circuit 10C. Then step S
At P5, the time code comparison circuit 10C specifies the specified time code (Start Point) S TC and the time code (Time C
ode) If S VTC does not match, the process returns to step SP4 to execute the processing loop of steps SP4 and SP5.

【0063】ステツプSP5において、指定タイムコー
ド(Start Point )STCとタイムコード(Time Code )
VTC が一致した場合には、ステツプSP6に進み、タ
イムコード比較回路10Cはスイツチング回路10Eに
切換え信号SSWを出力してスイツチング部10Eのスイ
ツチをオンに切り換えてビツトストリームBS1 を出力
させ、ステツプSP7において、カウンタ回路10Dを
作動させる。次にステツプSP8において、カウンタ回
路10Dのカウンタ値が「0」になつていない場合(す
なわち指定したGOP数に達していない場合)には、ス
テツプSP9に進みカウンタ回路10Dのカウンタ値を
GOPをカウントする毎に「1」だけ減らしてステツプ
SP8に戻る。
At step SP5, the designated time code (Start Point) S TC and the time code (Time Code)
If the S VTCs match, the process proceeds to step SP6, where the time code comparison circuit 10C outputs the switching signal S SW to the switching circuit 10E to switch the switch of the switching unit 10E on and output the bit stream BS 1 . At step SP7, the counter circuit 10D is activated. Next, in step SP8, if the counter value of the counter circuit 10D has not reached "0" (that is, if the specified GOP number has not been reached), the process proceeds to step SP9 and the counter value of the counter circuit 10D is counted in GOP. Each time it does, it decrements by "1" and returns to step SP8.

【0064】ステツプSP8において、カウンタ回路の
カウンタ値が「0」、すなわち指定されたGOP数に達
した場合にはステツプSP10に進む。ステツプSP1
0において、タイムコード比較回路10Cはスイツチン
グ回路10Eに切換え信号SSWを出力してスイツチング
回路10Eのスイツチをオフに切り換えてビツトストリ
ームBS1 の出力を停止させ、ステツプSP11におい
てビデオ符号化装置4の処理を終了する。
In step SP8, if the counter value of the counter circuit reaches "0", that is, the designated GOP number is reached, the process proceeds to step SP10. Step SP1
At time 0, the time code comparison circuit 10C outputs the switching signal S SW to the switching circuit 10E to switch the switch of the switching circuit 10E off to stop the output of the bit stream BS 1 , and at step SP11, the video encoding device 4 outputs. The process ends.

【0065】かくして、ストレージデバイス5には、図
12に示すように、指定タイムコードSTCで指定したフ
レーム画像DF からGOP数指定信号SGOP で指定した
GOP数までのフレーム画像、すなわち指定長のデータ
ストリームをフアイルとして格納することができる。
Thus, in the storage device 5, as shown in FIG. 12, frame images from the frame image D F designated by the designated time code S TC to the GOP number designated by the GOP number designation signal S GOP , that is, a designated length. Data stream can be stored as a file.

【0066】(1−3)第1実施例の動作 以上の構成において、連続する複数のフレーム画像のう
ち所望のフレーム画像又はフイールド画像を指定する指
定信号としての指定タイムコードSTC及び当該指定タイ
ムコードSTCによつて指定したフレーム画像からのGO
P数を指定する指定信号としてのGOP数指定信号S
GOP を生成し、各フレーム画像を識別するための識別信
号としてのタイムコードSVTC を生成し、タイムコード
VTC に対応した識別信号としてのスケジユールドデー
タSDを生成する。
(1-3) Operation of the First Embodiment In the above configuration, a designated time code S TC as a designated signal for designating a desired frame image or a field image among a plurality of continuous frame images and the designated time. GO from the frame image specified by the code S TC
GOP number designation signal S as a designation signal for designating the P number
A GOP is generated, a time code S VTC is generated as an identification signal for identifying each frame image, and schedule field data SD is generated as an identification signal corresponding to the time code S VTC .

【0067】フレーム画像に同期し、タイムコードS
VTC に対応したスケジユールドデータSD(タイムコー
ドSVTC 及びキユーコードCue を含む)よりキユーコー
ドCueを検出したとき、当該キユーコードCue を含むス
ケジユールドデータSDに対応するフレーム画像をグル
ープオブピクチヤの先頭フレームに設定し、当該先頭フ
レームからGOP数指定信号SGOP によつて指定された
GOP数までのフレーム画像まで圧縮符号化する。
The time code S is synchronized with the frame image.
When the queue code Cue is detected from the schedule field data SD corresponding to VTC (including the time code S VTC and the queue code Cue), the frame image corresponding to the schedule field data SD including the queue code Cue is set as the first frame of the group of pictures. The frame images from the first frame to the GOP number designated by the GOP number designation signal S GOP are compressed and encoded.

【0068】(1−4)第1実施例の効果 以上の構成によれば、指定タイムコードSTC及びタイム
コードSVTC が一致したときにキユーコードCue を発生
してスケジユールドデータSD内に書込み、当該キユー
コードCue を含むスケジユールドデータSDに対応した
フレーム画像D F をGOPの先頭フレームとしたことに
より、図12に示すように、任意のフレーム画像をGO
Pの先頭フレームに設定し得るので、予め定められたG
OPの枠にとらわれることなくデータストリームをフア
イルとして取り出すことができる。
(1-4) Effects of the First Embodiment According to the above configuration, the designated time code STCAnd time
Code SVTCGenerates Cue code Cue when match
Then, write in the schedule data SD,
Added support for schedule field data including code Cue
Frame image D FTo be the first frame of the GOP
Thus, as shown in FIG. 12, an arbitrary frame image is GO
Since it can be set to the first frame of P, the predetermined G
The data stream is forwarded regardless of the OP frame.
It can be taken out as an il.

【0069】また上述の構成によれば、指定タイムコー
ドSTC及びタイムコードSVTC が一致したときにキユー
コードCue を発生してスケジユールドデータSD内に書
込み、キユーコードCue を含むスケジユールドデータS
Dに対応したフレーム画像DF を先頭フレームとした最
初のGOPをクローズドGOPとすることにより、連続
するGOP間での相関をとることができるので、画質の
劣化を防止することができ、画質を劣化させずに任意の
フレーム画像からデータストリームをフアイルとして取
り出すことができる。
Further, according to the above configuration, when the designated time code S TC and time code S VTC match, a queue code Cue is generated and written in the schedule field data SD, and the schedule field data S including the queue code Cue.
By setting the first GOP having the frame image D F corresponding to D as the first frame as a closed GOP, correlation between consecutive GOPs can be obtained, so that deterioration of image quality can be prevented and image quality can be improved. The data stream can be extracted as a file from any frame image without deterioration.

【0070】また上述の構成によれば、スケジユールド
データSD内に指定タイムコードSTCと一致したタイム
コードSVTC を書き込むことにより、MPEGのストリ
ームからフアイルのIN点(スタートポイント)を識別
することができるので、MPEGのストリームから必要
とするデータをフアイルとして取り出すことができる。
Further, according to the above configuration, the IN point (start point) of the file is identified from the MPEG stream by writing the time code S VTC that matches the designated time code S TC in the schedule field data SD. Therefore, the required data can be extracted as a file from the MPEG stream.

【0071】また上述の構成によれば、スケジユールド
データSD内に指定タイムコードSTCと一致したタイム
コードSVTC を書き込み、指定タイムコードSTCとタイ
ムコードSVTC とが一致したフレーム画像からMPEG
のストリームの出力を開始して、GOP数指定信号S
GOP で指定したGOP数に達した時点でビツトストリー
ムの出力を停止させることにより、指定タイムコードS
TCで指定したフレーム画像から指定長のデータストリー
ムをフアイルとして取り出すことができる。
Further, according to the above configuration, the time code S VTC which matches the designated time code S TC is written in the schedule field data SD, and the frame image in which the designated time code S TC and the time code S VTC are matched is MPEG-coded.
Output of the stream of the
By stopping the output of the bit stream when it reaches the number of the GOP specified in the GOP, designated time code S
A data stream of specified length can be taken out as a file from the frame image specified by TC .

【0072】また上述の構成によれば、処理ブロツクに
おいて生じた遅延スケジユールドデータSDによつて吸
収して、各フレーム画像DF と当該フレーム画像DF
対応するスケジユールドデータSDとを同期させたこと
により、出力ストリームの先頭フレームと目標とするフ
レーム画像とを一致させることができるので、出力スト
リームから正確にクリツプを取り出すことができる。
Further, according to the above configuration, each frame image D F and the schedule data SD corresponding to the frame image D F are synchronized by being absorbed by the delay schedule data SD generated in the processing block. As a result, the head frame of the output stream can be matched with the target frame image, and the clip can be accurately extracted from the output stream.

【0073】(2)第2実施例 上述の実施例においては、入力されるデイジタルビデオ
信号の各フレーム画像DF を図14に示すようなピクチ
ヤ構造として動き予測を行つた場合について述べたが、
本発明はこれに限らず、一度目の符号化時に算出した各
フレーム画像におけるデータの発生量、すなわち各フレ
ーム画像毎の動きの予測値としてのログデータを保存し
ておき、このログデータを基にフレーム画像に対応した
ピクチヤ形式を決定して2度目の符号化時に使用するよ
うにする。
(2) Second Embodiment In the above-described embodiments, the case where the motion prediction is performed with each frame image D F of the input digital video signal having a picture structure as shown in FIG. 14 has been described.
The present invention is not limited to this, and the amount of data generated in each frame image calculated at the first encoding, that is, log data as a predicted value of the motion of each frame image is stored, and the log data is used as a basis. Then, the picture format corresponding to the frame image is determined and used at the time of the second encoding.

【0074】すなわちMPEGのエンコード方式には、
エンコードを最適化するために、一度目のエンコード時
に、各フレーム画像におけるデータの発生量を算出し、
再度エンコードを行う2パス方式というものがある。例
えば番組のシーンの変り目のフレーム画像は前後のフレ
ーム画像と相関が薄いことからIピクチヤにしたほうが
よく、逆に変化のほとんど無いシーンでは、Iピクチヤ
を少なくしたほうがよい。
That is, in the MPEG encoding system,
To optimize the encoding, calculate the amount of data generated in each frame image at the first encoding,
There is a two-pass method in which encoding is performed again. For example, the frame image of the transition of the program scene has a low correlation with the preceding and following frame images, and thus it is better to use the I picture, and conversely, in the scene that hardly changes, it is better to reduce the I picture.

【0075】このように、各フレーム画像のピクチヤ形
式を制御することにより、全体の画質を向上させること
ができる。具体的な方法としては、1度目の符号化時に
各フレーム画像について算出したデータを保存してお
き、これらのデータから各フレーム画像に対応したピク
チヤ形式を決定して2度目の符号化時に使用する。
In this way, by controlling the picture format of each frame image, the overall image quality can be improved. As a concrete method, the data calculated for each frame image at the time of the first encoding is stored, and the picture format corresponding to each frame image is determined from these data and used at the time of the second encoding. .

【0076】図1との対応部分に同一符号を付して示す
図13に本発明の第2実施例による符号化システム20
の構成を示す。記憶手段としての記憶部21は1度目の
符号化時に各フレーム画像について算出したデータ量を
ログデータとして保存する。解析手段としての解析部2
2は、記録部21に格納されている各フレーム画像につ
いてのログデータに基づいて、各フレーム画像に対応し
たピクチヤ形式を決定してタイムコード読込み部6に送
出する。
An encoding system 20 according to the second embodiment of the present invention is shown in FIG. 13 in which parts corresponding to those in FIG.
Shows the configuration of. The storage unit 21 as a storage unit stores the data amount calculated for each frame image at the time of the first encoding as log data. Analysis unit 2 as analysis means
2 determines the picture format corresponding to each frame image based on the log data for each frame image stored in the recording unit 21 and sends it to the time code reading unit 6.

【0077】タイムコード読込み部6は、スケジユール
ドデータ作成回路6DにおいてスケジユールドデータS
Dを作成するとき、スケジユールドデータSD内に、対
応するフレーム画像のピクチヤ形式の情報を埋め込む。
これにより、動き予測検出部8は、各フレーム画像を最
適なピクチヤ形式で動き予測することができる。かくし
て符号化システムとしての有用性を一段と向上させるこ
とができる。
The time code reading unit 6 uses the schedule field data S in the schedule field data creating circuit 6D.
When D is created, information in the picture format of the corresponding frame image is embedded in the schedule field data SD.
Accordingly, the motion prediction detection unit 8 can perform motion prediction on each frame image in the optimum picture format. Thus, the usefulness as an encoding system can be further improved.

【0078】(3)他の実施例 なお上述の実施例においては、符号化アルゴリズムとし
てMPEG2規格に従つてフレーム画像を符号化した場
合について述べたが、本発明はこれに限らず、他の符号
化アルゴリズムを用いてもよい。
(3) Other Embodiments In the above embodiments, the case where the frame image is encoded according to the MPEG2 standard as the encoding algorithm has been described, but the present invention is not limited to this, and other codes are used. A conversion algorithm may be used.

【0079】また上述の実施例においては、任意のフレ
ーム画像をグループオブピクチヤの先頭フレームに設定
した場合について述べたが、本発明はこれに限らず、任
意のフイールド画像をグループオブピクチヤの先頭フイ
ールドに設定しても上述の実施例と同様の効果を得るこ
とができる。
In the above embodiment, the case where an arbitrary frame image is set as the head frame of the group of pictures has been described. However, the present invention is not limited to this, and an arbitrary field image is set as the group of pictures. Even if the leading field is set, the same effect as that of the above-described embodiment can be obtained.

【0080】[0080]

【発明の効果】上述のように本発明によれば、所望のフ
レーム画像又はフイールド画像を指定する指定信号及び
各フレーム画像又はフイールド画像を識別するための識
別信号を生成し、指定信号に対応した識別信号を生成す
る。指定信号に対応した識別信号を検出したとき、当該
検出した識別信号に対応するフレーム画像又はフイール
ド画像をグループオブピクチヤの先頭フレーム又は先頭
フイールドに設定する。これにより、任意のフレーム画
像又はフイールド画像をグループオブピクチヤの先頭フ
レーム又は先頭フイールドに設定し得るので、所望のフ
レーム画像又はフイールド画像からデータストリームを
フアイルとして取り出すことができる。
As described above, according to the present invention, a designation signal for designating a desired frame image or field image and an identification signal for identifying each frame image or field image are generated and corresponding to the designation signal. Generate an identification signal. When the identification signal corresponding to the designated signal is detected, the frame image or field image corresponding to the detected identification signal is set as the head frame or head field of the group of pictures. As a result, an arbitrary frame image or field image can be set as the head frame or field of the group of pictures, so that the data stream can be extracted as a file from the desired frame image or field image.

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

【図1】本発明の第1実施例による符号化システムの全
体構成を示すブロツク図である。
FIG. 1 is a block diagram showing the overall configuration of an encoding system according to a first embodiment of the present invention.

【図2】タイムコード読込み部の構成を示すブロツク図
である。
FIG. 2 is a block diagram showing a configuration of a time code reading unit.

【図3】タイムコード読込み部の動作の説明に供するフ
ローチヤートである。
FIG. 3 is a flowchart for explaining the operation of the time code reading unit.

【図4】ビデオ信号入力部の構成を示すブロツク図であ
る。
FIG. 4 is a block diagram showing a configuration of a video signal input unit.

【図5】ビデオ信号入力部の動作の説明に供するフロー
チヤートである。
FIG. 5 is a flowchart for explaining the operation of the video signal input unit.

【図6】動き検出予測部の構成を示すブロツク図であ
る。
FIG. 6 is a block diagram showing the configuration of a motion detection / prediction unit.

【図7】動き検出予測部の動作の説明に供するフローチ
ヤートである。
FIG. 7 is a flowchart for explaining the operation of the motion detection / prediction unit.

【図8】符号化部の構成を示すブロツク図である。FIG. 8 is a block diagram showing the configuration of an encoding unit.

【図9】符号化部の動作の説明に供するフローチヤート
である。
FIG. 9 is a flowchart for explaining the operation of the encoding unit.

【図10】データ取込み部の構成を示すブロツク図であ
る。
FIG. 10 is a block diagram showing the configuration of a data acquisition unit.

【図11】データ取込み部の動作の説明に供するフロー
チヤートである。
FIG. 11 is a flowchart for explaining the operation of the data capturing unit.

【図12】本発明の実施例による符号化システムで得ら
れるストリーム構造を示す略線図である。
FIG. 12 is a schematic diagram showing a stream structure obtained in an encoding system according to an embodiment of the present invention.

【図13】本発明の第2実施例による符号化システムの
構成を示すブロツク図である。
FIG. 13 is a block diagram showing the configuration of an encoding system according to a second embodiment of the present invention.

【図14】MPEGデータのピクチヤ構造の説明に供す
る略線図である。
FIG. 14 is a schematic diagram for explaining a picture structure of MPEG data.

【図15】従来の番組編集における問題点の説明に供す
る略線図である。
FIG. 15 is a schematic diagram for explaining problems in conventional program editing.

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

1、20……符号化システム、2……コントローラ、3
……ビデオテープレコーダ、4……符号化装置、5……
ストレージデバイス、6……タイムコード読込み部、6
A……タイムコード比較回路、6B……制御ブロツクイ
ンタフエース、6C……タイムコード読取り回路、6D
……スケジユールドデータ作成回路、6E……フレーム
パルス検出回路、7……ビデオ信号入力部、7A……垂
直同期信号検出回路、7B……アナログデイジタル変換
回路、7C、8K……遅延回路、8……動き予測検出
部、8A、8G……オーダリング回路、8B、8D、8
H、8J……スイツチ、8C……フレームメモリ、8E
……動き予測回路、8F……キユーコード検出回路、8
I……メモリ、9……符号化部、9A……タイムコード
切出し回路、9B……ヘツダ構成回路、9C……ストリ
ーム構成回路、9D……符号化回路、10……データ取
込み部、10A……ヘツダ検出回路、10B……タイム
コード検出回路、10C……タイムコード比較回路、1
0D……カウンタ回路、10E……スイツチング回路。
1, 20 ... Encoding system, 2 ... Controller, 3
…… Video tape recorder, 4 …… Encoding device, 5 ……
Storage device, 6 ... Time code reading unit, 6
A: Time code comparison circuit, 6B: Control block interface, 6C: Time code reading circuit, 6D
...... Schedule field data creation circuit, 6E ...... Frame pulse detection circuit, 7 ...... Video signal input section, 7A ...... Vertical synchronization signal detection circuit, 7B ...... Analog digital conversion circuit, 7C, 8K ...... Delay circuit, 8 ...... Motion prediction detector, 8A, 8G …… Ordering circuit, 8B, 8D, 8
H, 8J ... Switch, 8C ... Frame memory, 8E
...... Motion estimation circuit, 8F ・ ・ ・ Queue code detection circuit, 8
I ... memory, 9 ... encoding unit, 9A ... time code cut-out circuit, 9B ... header configuration circuit, 9C ... stream configuration circuit, 9D ... encoding circuit, 10 ... data acquisition unit, 10A ... ... Header detection circuit, 10B ... Time code detection circuit, 10C ... Time code comparison circuit, 1
0D: Counter circuit, 10E: Switching circuit.

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】連続する複数のフレーム画像又はフイール
ド画像でなる動画像よりグループオブピクチヤを形成し
て上記動画像を圧縮符号化する画像信号符号化方法にお
いて、 上記複数のフレーム画像又はフイールド画像のうち所望
のフレーム画像又はフイールド画像を指定する指定信号
を生成し、 上記各フレーム画像又はフイールド画像を識別するため
の識別信号を生成し、 上記フレーム画像又はフイールド画像に同期し、上記指
定信号に対応した識別信号を生成し、 当該指定信号に対応した識別信号を検出したとき、当該
検出した識別信号に対応する上記フレーム画像又はフイ
ールド画像を上記グループオブピクチヤの先頭フレーム
又は先頭フイールドに設定し、 当該先頭フレーム又は先頭フイールドから上記圧縮符号
化を実行することを特徴とする画像信号符号化方法。
1. An image signal encoding method for forming a group of pictures from a moving image composed of a plurality of continuous frame images or field images and compressing and encoding the moving image, wherein the plurality of frame images or field images are provided. Generate a designation signal for designating a desired frame image or field image, generate an identification signal for identifying each frame image or field image, and synchronize with the frame image or field image to obtain the designation signal. When the corresponding identification signal is generated and the identification signal corresponding to the designated signal is detected, the frame image or the field image corresponding to the detected identification signal is set as the head frame or head field of the group of pictures. , The above compression encoding can be performed from the first frame or the first field. Picture signal encoding method comprising.
【請求項2】上記指定信号に対応した上記識別信号は、
上記各フレーム画像又はフイールド画像を識別するため
の識別信号と、当該識別信号及び上記指定信号が一致し
たときに発生されるキユー信号とでなり、上記指定信号
に対応した上記識別信号より上記キユー信号を検出した
とき、当該キユー信号を含む上記識別信号に対応する上
記フレーム画像又はフイールド画像を上記グループオブ
ピクチヤの上記先頭フレーム又は先頭フイールドに設定
することを特徴とする請求項1に記載の画像信号符号化
方法。
2. The identification signal corresponding to the designation signal,
The identification signal for identifying each of the frame images or the field images, and the queuing signal generated when the identification signal and the designating signal match each other, and the queuing signal from the identification signal corresponding to the designating signal. The image according to claim 1, wherein the frame image or the field image corresponding to the identification signal including the queue signal is set to the head frame or the head field of the group of pictures when the image is detected. Signal coding method.
【請求項3】上記検出した識別信号に対応する上記フレ
ーム画像又は上記フイールド画像を上記先頭フレーム又
は先頭フイールドとした上記グループオブピクチヤを、
クローズドグループオブピクチヤに設定することを特徴
とする請求項1に記載の画像信号符号化方法。
3. The group of pictures including the frame image or the field image corresponding to the detected identification signal as the head frame or field.
The image signal encoding method according to claim 1, wherein the image signal encoding method is set to closed group of pictures.
【請求項4】上記指定信号に対応した識別信号は、上記
各フレーム画像又はフイールド画像を識別するための識
別信号と、当該識別信号及び上記指定信号が一致したと
きに発生されるキユー信号とでなり、当該キユー信号を
含む上記指定信号に対応した識別信号を検出したとき、
上記キユー信号を含む上記識別信号に対応する上記フレ
ーム画像又はフイールド画像を上記グループオブピクチ
ヤの上記先頭フレーム又は先頭フイールドとした上記グ
ループオブピクチヤを、クローズドグループオブピクチ
ヤに設定することを特徴とする請求項3に記載の画像信
号符号化方法。
4. The identification signal corresponding to the designation signal is an identification signal for identifying each frame image or field image, and a queue signal generated when the identification signal and the designation signal match. When an identification signal corresponding to the specified signal including the queue signal is detected,
The frame image or the field image corresponding to the identification signal including the queue signal is set to the closed frame of the picture, the group of picture as the head frame or head field of the group of picture. The image signal encoding method according to claim 3.
【請求項5】上記指定信号によつて指定したフレーム画
像又はフイールド画像からの上記グルーブオブピクチヤ
数を指定する指定信号を生成し、 上記先頭フレーム又は先頭フイールドから、上記指定信
号によつて指定されたグループオブピクチヤ数までの上
記フレーム画像又はフイールド画像までを上記圧縮符号
化することを特徴とする請求項1に記載の画像信号符号
化方法。
5. A designation signal for designating the number of grooves of picture from the frame image or field image designated by the designation signal is generated, and designated by the designation signal from the head frame or head field. 2. The image signal coding method according to claim 1, wherein the compression coding is performed on the frame image or the field image up to the number of group of pictures that has been generated.
【請求項6】上記圧縮符号化する際に算出した上記フレ
ーム画像又はフイルード画像毎の動き予測値を保存し、 当該保存された各フレーム画像又はフイールド画像毎の
上記動き予測値を解析し、 当該解析した動き予測値に
基づいて上記各フレーム画像又はフイールド画像のピク
チヤ形式を決定することを特徴とする請求項1に記載の
画像信号符号化方法。
6. A motion prediction value for each frame image or field image calculated when performing the compression coding is stored, and the motion prediction value for each frame image or field image stored is analyzed, The image signal encoding method according to claim 1, wherein the picture format of each frame image or field image is determined based on the analyzed motion estimation value.
【請求項7】上記解析した動き予測値を上記指定信号に
対応した上記識別信号に付加することを特徴とする請求
項6に記載の画像信号符号化方法。
7. The image signal encoding method according to claim 6, wherein the analyzed motion prediction value is added to the identification signal corresponding to the designation signal.
【請求項8】連続する複数のフレーム画像又はフイール
ド画像でなる動画像よりグループオブピクチヤを形成し
て上記動画像を圧縮符号化する画像信号符号化装置にお
いて、 上記複数のフレーム画像又はフイールド画像のうち所望
のフレーム画像又はフイールド画像を指定する指定信号
を生成する指定信号生成手段と、 上記各フレーム画像又はフイールド画像を識別するため
の識別信号を生成する第1の識別信号生成手段と、 上記フレーム画像又はフイールド画像に同期し、上記指
定信号に対応した識別信号を生成する第2の識別信号生
成手段と、 上記指定信号に対応した上記識別信号を検出したとき、
当該検出した識別信号に対応する上記フレーム画像又は
フイールド画像を上記グループオブピクチヤの先頭フレ
ーム又は先頭フイールドに設定する識別信号検出手段
と、 当該先頭フレーム又は先頭フイールドから上記圧縮符号
化を実行する符号化手段とを具えることを特徴とする画
像信号符号化装置。
8. An image signal coding apparatus for forming a group of pictures from a moving image composed of a plurality of continuous frame images or field images to compress and code the moving image, wherein the plurality of frame images or field images are used. A designation signal generating means for generating a designation signal for designating a desired frame image or a field image, a first identification signal generating means for generating an identification signal for identifying each frame image or field image, Second identification signal generating means for generating an identification signal corresponding to the designation signal in synchronization with the frame image or the field image; and detecting the identification signal corresponding to the designation signal,
Identification signal detection means for setting the frame image or field image corresponding to the detected identification signal to the head frame or field of the group of pictures, and a code for performing the compression encoding from the head frame or field. An image signal encoding device, comprising: an encoding unit.
【請求項9】上記識別信号検出手段は、 上記指定信号に対応した識別信号として、上記各フレー
ム画像又はフイールド画像を識別するための識別信号と
上記指定信号とが一致したときに発生されるキユー信号
を検出したとき、当該キユー信号を含む上記指定信号に
対応した識別信号に対応する上記フレーム画像又はフイ
ールド画像を上記グループオブピクチヤの上記先頭フレ
ーム又は先頭フイールドに設定することを特徴とする請
求項8に記載の画像信号符号化装置。
9. The identification signal detecting means, as an identification signal corresponding to the designation signal, is a queue generated when the identification signal for identifying each frame image or field image and the designation signal match. When the signal is detected, the frame image or the field image corresponding to the identification signal corresponding to the designation signal including the queue signal is set to the first frame or the first field of the group of pictures. Item 9. The image signal encoding device according to item 8.
【請求項10】上記識別信号検出手段は、 上記検出した識別信号に対応する上記フレーム画像又は
上記フイールド画像を上記先頭フレーム又は先頭フイー
ルドとした上記グループオブピクチヤを、クローズドグ
ループオブピクチヤに設定することを特徴とする請求項
8に記載の画像信号符号化装置。
10. The identification signal detection means sets the group of pictures with the frame image or the field image corresponding to the detected identification signal as the head frame or head field as a closed group of pictures. The image signal encoding device according to claim 8, wherein
【請求項11】上記識別信号検出手段は、 上記指定信号に対応した識別信号として、上記各フレー
ム画像又はフイールド画像を識別するための識別信号と
上記指定信号とが一致したときに発生されるキユー信号
を検出したとき、当該キユー信号を含む上記指定信号に
対応した識別信号に対応する上記フレーム画像又はフイ
ールド画像を上記グループオブピクチヤの上記先頭フレ
ーム又は先頭フイールドとした上記グループオブピクチ
ヤを、クローズドグループオブピクチヤに設定すること
を特徴とする請求項10に記載の画像信号符号化装置。
11. The identification signal detecting means, as an identification signal corresponding to the designation signal, is a queue generated when the identification signal for identifying each of the frame images or the field images coincides with the designation signal. When a signal is detected, the frame of picture or field corresponding to the identification signal corresponding to the specified signal including the queue signal, the group of pictures as the head frame or head field of the group of pictures, The image signal encoding device according to claim 10, wherein the image signal encoding device is set to a closed group of pictures.
【請求項12】上記指定信号生成手段は、 上記指定信号によつて指定したフレーム画像又はフイー
ルド画像からの上記グルーブオブピクチヤ数を指定する
指定信号を生成し、 上記符号化手段は、 上記先頭フレーム又は先頭フイールドから、上記指定信
号によつて指定されたグループオブピクチヤ数までの上
記フレーム画像又はフイールド画像までを上記圧縮符号
化することを特徴とする請求項8に記載の画像信号符号
化装置。
12. The designating signal generating means generates a designating signal designating the number of the groove of picture from the frame image or the field image designated by the designating signal, and the coding means comprises the head portion. 9. The image signal coding according to claim 8, wherein the frame or head field to the frame image or field image up to the number of group-of-pictures designated by the designation signal are compression-coded. apparatus.
【請求項13】上記圧縮符号化する際に算出した上記フ
レーム画像又はフイルード画像毎の動き予測値を保存す
る記憶手段と、 当該記録手段に保存された上記各フレーム画像又はフイ
ールド画像毎の動き予測値を解析する解析手段とを具
え、上記符号化手段は、上記解析手段によつて解析され
た上記動き予測値に基づいて上記各フレーム画像又はフ
イールド画像のピクチヤ形式を決定することを特徴とす
る請求項8に記載の画像信号符号化装置。
13. Storage means for storing a motion prediction value for each frame image or field image calculated at the time of compression coding, and motion prediction for each frame image or field image stored in the recording means. The encoding means determines the picture format of each frame image or field image based on the motion prediction value analyzed by the analyzing means. The image signal encoding device according to claim 8.
【請求項14】上記第2の識別信号生成手段は、 上記解析した動き予測値を、上記指定信号に対応した識
別信号に付加することを特徴とする請求項13に記載の
画像信号符号化装置。
14. The image signal coding apparatus according to claim 13, wherein the second identification signal generation means adds the analyzed motion prediction value to an identification signal corresponding to the designation signal. .
JP10798095A 1995-04-08 1995-04-08 Device and method for encoding image signal Pending JPH08280028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10798095A JPH08280028A (en) 1995-04-08 1995-04-08 Device and method for encoding image signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10798095A JPH08280028A (en) 1995-04-08 1995-04-08 Device and method for encoding image signal

Publications (1)

Publication Number Publication Date
JPH08280028A true JPH08280028A (en) 1996-10-22

Family

ID=14472941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10798095A Pending JPH08280028A (en) 1995-04-08 1995-04-08 Device and method for encoding image signal

Country Status (1)

Country Link
JP (1) JPH08280028A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100793752B1 (en) * 2006-05-02 2008-01-10 엘지전자 주식회사 The display device for having the function of editing the recorded data partially and method for controlling the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100793752B1 (en) * 2006-05-02 2008-01-10 엘지전자 주식회사 The display device for having the function of editing the recorded data partially and method for controlling the same

Similar Documents

Publication Publication Date Title
US5771357A (en) Encoding/decoding fields of predetermined field polarity apparatus and method
JP3491365B2 (en) Encoded data decoding method and decoding device
US6546189B1 (en) Method and apparatus for editing compressed moving pictures and storage medium
US7113542B2 (en) Image editing apparatus and image editing method
US6240137B1 (en) Encoding apparatus and method, decoding apparatus and method, and editing method
US6754274B2 (en) Video data recording method and apparatus for high-speed reproduction
US5818547A (en) Timing detection device and method
JP2002185958A (en) Device and method for decoding picture
US6947660B2 (en) Motion picture recording/reproduction apparatus
JP2001204032A (en) Mpeg decoder
KR100975170B1 (en) Image data reproducing device and method
JP3258673B2 (en) Moving image recording device and moving image reproducing device
JPH08280028A (en) Device and method for encoding image signal
US6785464B1 (en) Multiplexing method for continuous reproduction of encoded pictures during skipping
JP2003339019A (en) Recording and reproducing apparatus and recording and reproducing method
KR20040010173A (en) Image data reproducing device and method
JP3570785B2 (en) Moving image expansion / reproduction method and apparatus
JPH10210483A (en) Dynamic image reproducing device and method thereof
JP3273640B2 (en) Editing device and editing signal decoding device
JP3695425B2 (en) Playback device
EP2487910B1 (en) Image coding device and image coding method
JPH08265774A (en) Picture compression method and picture compression device
JP2002218396A (en) Information playback apparatus, information playback method, recording medium and program
JPH0965275A (en) Image editing system
JP2001008205A (en) Video data transmission system