JPH10304376A - Picture encoding method/device, recording medium and picture transmission method - Google Patents

Picture encoding method/device, recording medium and picture transmission method

Info

Publication number
JPH10304376A
JPH10304376A JP10978197A JP10978197A JPH10304376A JP H10304376 A JPH10304376 A JP H10304376A JP 10978197 A JP10978197 A JP 10978197A JP 10978197 A JP10978197 A JP 10978197A JP H10304376 A JPH10304376 A JP H10304376A
Authority
JP
Japan
Prior art keywords
encoding
pull
down conversion
video
image
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.)
Withdrawn
Application number
JP10978197A
Other languages
Japanese (ja)
Inventor
Masaaki Isozaki
正明 五十崎
Takao Suzuki
隆夫 鈴木
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 JP10978197A priority Critical patent/JPH10304376A/en
Publication of JPH10304376A publication Critical patent/JPH10304376A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve encoding efficiency even during one path encoding by encoding after preliminary assignment and setting a pull-down conversion processing pattern according to an initial phase. SOLUTION: This device is provided with an MPEG encoder 25 which encodes video materials to which a pull-down conversion processing is operated and an MPEG encoder controller 23 which preliminarily assigns and sets a pull-down conversion processing pattern according to an initial phase, and then allows the MPEG encoder 25 to perform encoding. At first, an encoding condition is applied from a supervisor controller 1 through a network 2, and an MPEG encoder controller 20 sets this condition. Then, the pull-down phase of the video materials is measured. When the measurement of the pull-down phase is completed, a file in which the pull-down pattern is set is prepared in one part of a control file. Then, the encode processing is performed according to the pull-down pattern described in this file.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フレーム内符号化
画像(Iピクチャ)、フレーム間順方向予測符号化画像
(Pピクチャ)、双方向予測符号化画像(Bピクチャ)
を所定数含んでなる画像符号化グループ(GOP)によ
り、ビデオ素材を符号化する画像符号化方法及び装置並
びに、これら画像符号化方法及び装置で上記GOPによ
り符号化されたビデオ素材を記録している記録媒体並び
に、ビデオ素材を伝送する画像伝送方法に関する。
The present invention relates to an intra-coded image (I picture), an inter-frame forward predicted coded image (P picture), and a bidirectional predicted coded image (B picture).
A video coding method and apparatus for coding video material by means of a video coding group (GOP) including a predetermined number of Recording medium and an image transmission method for transmitting video material.

【0002】[0002]

【従来の技術】ビデオ情報をディジタルビデオディスク
(Digital Video Disk:DVD)やビデオCDのような
パッケージメディアに蓄積する際、上記ビデオ情報に圧
縮符号化処理を施すエンコードシステムでは、最初に素
材の画像の符号化難易度(Difficulty)を測定し、その
符号化難易度(Difficulty)を元に、パッケージメディ
アの記録容量内の与えられたバイト数に収まるように、
各ビデオ情報のフレームごとにビット配分(以下、Bit
assign)処理を行ってエンコードするという方法が一般
に採用されている。以下、このエンコード方法を2パス
エンコーディング方法という。
2. Description of the Related Art When video information is stored on a package medium such as a digital video disk (DVD) or a video CD, an encoding system for compressing and encoding the video information first requires an image of a material. The difficulty of encoding (Difficulty) is measured, and based on the difficulty of encoding (Difficulty), the number of bytes in the recording capacity of the package medium is set to be within the given number of bytes.
Bit allocation for each frame of each video information (hereinafter, Bit
In general, a method of performing encoding by performing (assign) processing is employed. Hereinafter, this encoding method is referred to as a two-pass encoding method.

【0003】例えば、上記ディジタルビデオディスク用
に、上記2パスエンコーディング方法を採用して、ビデ
オ情報を圧縮符号化するビデオエンコードシステムの具
体例を図10に示す。
For example, FIG. 10 shows a specific example of a video encoding system for compressing and encoding video information by employing the two-pass encoding method for the digital video disk.

【0004】図10において、ビデオエンコードの制御
を行うビデオエンコードコントローラ10は、システム
全体を管理するスーパーバイザコントローラ1に、ネッ
トワーク2を介して接続されている。
In FIG. 10, a video encode controller 10 for controlling video encoding is connected via a network 2 to a supervisor controller 1 for managing the entire system.

【0005】スーパーバイザコントローラ1はオペレー
ティングシステムを構成するプログラムの内、特にシス
テム全体の動きを監視し、効率的に制御するプログラム
であるスーパーバイザを実行するコントローラである。
このビデオエンコードシステムにおいてはDVDのオー
サリングシステム全体の管理を行い、ビデオ、オーディ
オ、字幕やメニューといった各エンコードシステムにエ
ンコード条件を与え、エンコード結果の報告を受ける。
[0005] The supervisor controller 1 is a controller that executes a supervisor, which is a program for monitoring the operation of the entire system, particularly for efficiently controlling the operation of the programs constituting the operating system.
In this video encoding system, the entire DVD authoring system is managed, encoding conditions are given to each encoding system such as video, audio, subtitles, and menus, and a report of the encoding result is received.

【0006】このビデオエンコードシステムの具体例に
対しては、例えばv.enc というファイルによってビデオ
エンコード条件を指定している。そして、ビデオエンコ
ードコントローラ10側からは、エンコード結果のビッ
トストリームがハードディスクドライブ(HDD)等を
複数並列に接続して記録容量と転送速度性能を向上させ
たRAID16(Redundant Arrays of Inexpensive Di
skes)上に書き込まれたアドレスv.adrと、エンコード
結果のビットストリームがオーディオや字幕,メニュー
等のサブピクチャとマルチプレックスされる際に必要と
されるデータ(vxxx.aui)を報告している。
For a specific example of this video encoding system, video encoding conditions are specified by, for example, a file named v.enc. Then, from the video encode controller 10, the encoded bit stream is converted to a RAID 16 (Redundant Arrays of Inexpensive Diode) in which a plurality of hard disk drives (HDDs) are connected in parallel to improve the recording capacity and transfer speed performance.
skes) and the data (vxxx.aui) required when the encoded bit stream is multiplexed with sub-pictures such as audio, subtitles, and menus. .

【0007】ビデオエンコードコントローラ10は、グ
ラフィカルユーザインターフェース(Graphical User I
nterfece:GUI)11と、後述するビット配分計算処
理プログラム(Bit_Assign)を格納しているビット配分
計算部12と、このビット配分計算部12内部のビット
配分計算処理プログラム(Bit_Assign)を実行するMP
EGエンコーダコントローラ13と、ディジタルVTR
コントローラ14とを備えている。
The video encoding controller 10 has a graphical user interface (Graphical User I).
nterfece: GUI) 11, a bit allocation calculation unit 12 storing a bit allocation calculation program (Bit_Assign) described later, and an MP that executes the bit allocation calculation program (Bit_Assign) inside the bit allocation calculation unit 12.
EG encoder controller 13 and digital VTR
And a controller 14.

【0008】ユーザは、グラフィカルユーザインターフ
ェース11を用い、ビット配分計算部12のプログラム
(BIT_ASSIGN)と、MPEGエンコーダコントローラ1
3の3つのプログラムを管理することができる。また、
DVTRコントローラ14も管理できる。
The user uses the graphical user interface 11 to program the bit allocation calculation unit 12 (BIT_ASSIGN) and the MPEG encoder controller 1
3 can manage three programs. Also,
The DVTR controller 14 can also be managed.

【0009】MPEGエンコーダコントローラ13は、
上記ビット配分計算部12内部の上記ビット配分計算処
理プログラム(BIT_ASSIGN)を実行すると共に、MPE
Gエンコーダ15を制御する。また、DVTRコントロ
ーラ14はDVTR17を制御する。このDVTR17
はMPEGエンコーダ15に接続しており、MPEGエ
ンコーダ15はエンコードした結果を表示するためにモ
ニタ18に接続している。さらに、MPEGエンコーダ
15は、エンコード結果を記録するために上記RAID
16にも接続している。
[0009] The MPEG encoder controller 13 comprises:
The bit allocation calculation processing program (BIT_ASSIGN) inside the bit allocation calculation unit 12 is executed, and the MPE
The G encoder 15 is controlled. The DVTR controller 14 controls the DVTR 17. This DVTR17
Is connected to an MPEG encoder 15, and the MPEG encoder 15 is connected to a monitor 18 for displaying the encoded result. Further, the MPEG encoder 15 uses the above-described RAID to record the encoding result.
16 is also connected.

【0010】MPEGエンコーダ15では、動き補償予
測による時間方向の冗長度の除去を行っている。また、
MPEGエンコーダ15では、フレーム内だけで符号化
されるフレーム内符号化画像をIピクチャ(Intra Code
d)、過去の画面から現在を予測することによって符号
化されるフレーム間順方向予測符号化画像をPピクチャ
(Predictive Coded)、過去、未来の両方向の画像から
現在を予測することによって符号化される双方向予測符
号化画像をBピクチャ(Bidirectionaly Predictive Co
ded)を用いて、ビデオ情報を圧縮符号化している。こ
こでは、必ずIピクチャを1つ含むピクチャーのまとま
りを図11に示すようなGOP(Groupof Pictures)と
している。この図11において、GOPのフレーム数N
は15であり、表示順のGOPの先頭は、Iピクチャの
前で、P又はIピクチャの次のBピクチャーである。G
OPの最後は、次のIピクチャの前の最初のPピクチャ
である。 このビデオエンコーダシステムの動作につい
て以下に説明する。先ず、スーパーバイザコントローラ
1からネットワーク2経由でビデオに割り当てられたビ
ット総量や最大レートなどのエンコード条件が与えら
れ、MPEGエンコーダコントローラ13はエンコード
条件を設定する。
The MPEG encoder 15 removes the redundancy in the time direction by motion compensation prediction. Also,
The MPEG encoder 15 converts an intra-frame encoded image encoded only within a frame into an I-picture (Intra Code
d), an inter-frame forward prediction coded image coded by predicting the present from a past screen is coded by predicting the present from a P-picture (Predictive Coded), a picture in both past and future directions. A bidirectional predictive coded image is converted to a B-picture (Bidirectionaly Predictive Co
ded) to compress and encode the video information. Here, a group of pictures including one I picture is always a GOP (Group of Pictures) as shown in FIG. In FIG. 11, the number N of frames of the GOP
Is 15, and the head of the GOP in the display order is the B picture next to the P or I picture before the I picture. G
The end of the OP is the first P picture before the next I picture. The operation of the video encoder system will be described below. First, an encoding condition such as a total bit amount and a maximum rate assigned to video via the network 2 is given from the supervisor controller 1, and the MPEG encoder controller 13 sets the encoding condition.

【0011】エンコード条件設定後、エンコード素材の
符号化難易度を測定する。ここでは、符号化の際に量子
化ステップ数を固定値に設定した条件で発生ビット量を
測定している。動きが多く、高い周波数成分が大きい画
像では発生ビット量が大きくなり、静止画や平坦な部分
が多い画像では発生ビット量が少なくなる。この発生ビ
ット量の大きさを画像の符号化難易度としている。そし
て、エンコード条件を元に、各ピクチャーの符号化難易
度の大きさに応じて割り当てビット量(ターゲット量 :
target)の配分計算を行う。
After setting the encoding conditions, the encoding difficulty of the encoded material is measured. Here, the amount of generated bits is measured under the condition that the number of quantization steps is set to a fixed value at the time of encoding. The amount of generated bits is large in an image having many motions and large high frequency components, and the generated bit amount is small in a still image or an image having many flat portions. The magnitude of this generated bit amount is defined as the image encoding difficulty. Then, based on the encoding condition, the amount of allocated bits (the target amount:
target).

【0012】ビット配分計算の後、エンコード結果のビ
ットストリームを上記RAID16に書き込むアドレス
の設定と、エンコーダ用コントロールファイルを出力す
る。このようにして作成されたコントロールファイルに
よるエンコード処理を行うことで、素材の画像の難しさ
に応じた可変ビットレートエンコーディングが実行され
る。
After the bit allocation calculation, an address for writing the bit stream of the encoding result in the RAID 16 is set, and an encoder control file is output. By performing the encoding process using the control file created in this way, variable bit rate encoding is performed according to the difficulty of the material image.

【0013】このようにして、2パスの可変レートエン
コーディングを行うことで、限られたビット量を有効利
用することができる。ところが、2パスエンコーディン
グ方法では、少なくても素材の長さの2倍の作業時間が
必要となる。作業時間は制作コストに反映されてくるた
め、画質よりも作業時間の短縮を優先させたい場合に
は、上記符号化難易度の測定処理を省略した1パスの固
定レートのエンコーディング方法(以下、1パスエンコ
ーディグ方法という)を選択することになる。
[0013] By performing two-pass variable rate encoding in this manner, a limited amount of bits can be effectively used. However, the two-pass encoding method requires a work time at least twice as long as the material length. Since the working time is reflected in the production cost, if it is desired to prioritize the shortening of the working time over the image quality, a one-pass fixed-rate encoding method that omits the encoding difficulty measurement process (hereinafter referred to as “1. Path encoding method).

【0014】図12に、1パスエンコーディング方法の
処理手順を示す。先ず、ステップS1でスーパーバイザ
コントローラ1からネットワーク2を経由してエンコー
ド条件が設定されると、ステップS2でシステム全体の
コントロールファイルの作成を行う。そして、ステップ
S3で実際にエンコードを行い、ステップS4でエンコ
ード結果であるビットストリームを上記RAIDのよう
な大容量記憶媒体に書き込むための後処理を行う。
FIG. 12 shows a processing procedure of the one-pass encoding method. First, when the encoding conditions are set from the supervisor controller 1 via the network 2 in step S1, a control file for the entire system is created in step S2. Then, in step S3, encoding is actually performed, and in step S4, post-processing for writing the bit stream, which is the encoding result, into a large-capacity storage medium such as the RAID is performed.

【0015】さらに、図13には、上記ステップS2の
コントロールファイルの作成処理の詳細な手順を示す。
ステップS11でディスク容量の中からビデオに割り当
てられたビット総量(QTY_BYTES)と、最大ビットレート
(MAXRATE)がスーパーバイザコントローラ1から指定さ
れる。これに対して、最大ビットレート以下になるよう
に制限を加えた総ビット数(USB_BYTES)を求める。
FIG. 13 shows a detailed procedure of the control file creation process in step S2.
The total bit amount (QTY_BYTES) allocated to the video from the disk capacity in step S11 and the maximum bit rate
(MAXRATE) is specified by the supervisor controller 1. On the other hand, the total number of bits (USB_BYTES) limited so as to be lower than the maximum bit rate is obtained.

【0016】次に、ステップS12でGOP構造の指
定、すなわちピクチャタイプの指定処理を行う。ピクチ
ャータイプの指定では、最初に先頭のフレームから順に
I,B,B,P,B,B,・・・と規則正しく設定され
ていく。先頭から数えたフレーム番号kのピクチャータ
イプをp_type[k]とし、GOPの長さをgop_nとするとp_
type[k]は次の式で与えられる。
Next, in step S12, a GOP structure is designated, that is, a picture type is designated. In the designation of the picture type, first, I, B, B, P, B, B,... Are regularly set in order from the first frame. If the picture type of the frame number k counted from the beginning is p_type [k] and the length of the GOP is gop_n, p_type [k]
type [k] is given by the following equation.

【0017】 gop_cycle[15]={"B","B","I","B","B","P","B","B","P","B","B","P","B","B"," P"} p_type[k]=gop_cycle[(k+2) mod gop_n] ・・・(1) 次に、ステップS13でセル(CELL)境界の処理を行う。
このセル(CELL)境界はチャプター(Chapter)として処理
される。プレイヤーでのチャプターサーチ時には、特定
されないピクチャーからジャンプしてくることになる
が、その場合でも再生画像の乱れがないようにするた
め、チャプターの位置が必ずGOPの先頭になるように
ピクチャータイプを変更する。
Gop_cycle [15] = {"B", "B", "I", "B", "B", "P", "B", "B", "P", "B", " B "," P "," B "," B "," P "} p_type [k] = gop_cycle [(k + 2) mod gop_n] (1) Next, in step S13, the cell (CELL) Perform border processing.
This cell (CELL) boundary is processed as a chapter. When searching for a chapter in the player, the jump will start from an unspecified picture. In this case, the picture type is changed so that the position of the chapter is always at the beginning of the GOP so that the reproduced image does not disturb. I do.

【0018】次に、ステップS14でGOP単位のビッ
トレートの設定処理を行う。1パス固定レートでの平均
ビットレート(CONSTANT_RATE) は、次の(2)、(3)
式により求められる。
Next, in step S14, a bit rate setting process for each GOP is performed. The average bit rate (CONSTANT_RATE) at the fixed rate of 1 pass is as follows (2), (3)
It is obtained by the formula.

【0019】 USB_BYTES = min (QTY_BYTES,MAXRATE × KT × total_frame_number) ・・・(2) CONSTANT_RATE = USB_BYTES / total_frame_number / KT ・・・(3) NTSC の場合 KT = 1/8(bits)/30(Hz), PAL の場合 1/8
(bits)/25(Hz)である。また、total_frame_number はエ
ンコードする素材のフレーム総数、min(s,t)はs,tの内
で小さい方を選択する関数である。この平均レートがエ
ンコード時のターゲットレートとなり、各GOPはこの
ターゲットレートに合わせてエンコード処理を実行する
ことになる。
USB_BYTES = min (QTY_BYTES, MAXRATE × KT × total_frame_number) ··· (2) CONSTANT_RATE = USB_BYTES / total_frame_number / KT ··· (3) For NTSC KT = 1/8 (bits) / 30 (Hz) , 1/8 for PAL
(bits) / 25 (Hz). Total_frame_number is the total number of frames of the material to be encoded, and min (s, t) is a function for selecting the smaller one of s and t. This average rate becomes the target rate at the time of encoding, and each GOP executes the encoding process in accordance with this target rate.

【0020】最後に、ステップS15でエンコード結果
のビットストリームを上記RAIDに書き込むアドレス
の計算処理と、ステップS16で、エンコーダ用コント
ロールファイルを出力する。
Finally, in step S15, an address calculation process for writing the bit stream resulting from the encoding into the RAID is performed, and in step S16, an encoder control file is output.

【0021】このようにして作成されたコントロールフ
ァイルによるエンコード処理をおこなうことで、ピクチ
ャータイプが指定された固定レートエンコーディングが
実行される。
By performing an encoding process using the control file created as described above, a fixed rate encoding in which a picture type is specified is executed.

【0022】次に、映画(フィルム)素材を上記DVD
に記録する場合の処理について説明する。映画フィルム
は24コマ/秒で構成されているが、これをNTSCの
30フレーム/秒に変換するためには、周期的に同じフ
ィールド画像を繰り返すようなプルダウン(pulldown)
変換処理を行っている。ここでは、この処理を2/3プル
ダウン変換処理ということにする。このような2/3プル
ダウン変換処理パターンの位相は、フィルム素材 ->N
TSCビデオ素材の変換時に決定され、多くの場合パタ
ーンは規則的に変換されている。
Next, the movie (film) material is transferred to the DVD
The process for recording in a. Movie film is composed of 24 frames / sec. In order to convert this to 30 frames / sec of NTSC, a pull-down that repeats the same field image periodically is used.
Conversion processing is being performed. Here, this processing is referred to as 2/3 pull-down conversion processing. The phase of such a 2/3 pull-down conversion processing pattern is determined by film material-> N
It is determined when converting TSC video material, and in many cases, patterns are converted regularly.

【0023】[0023]

【発明が解決しようとする課題】ところで、上記2パス
エンコーディング方法においては、符号化難易度の測定
を行う仮エンコードの際に、このプルダウン変換処理パ
ターンを自動検出し、測定されたプルダウン変換処理パ
ターンを元にビット配分してコントロールファイルを作
成して、本エンコード時に、コントロールファイルに記
述された上記パターンに従って符号化処理を行っていた
が、上記1パスエンコーディオング方法の場合には、符
号化難易度の測定を行わないので、素材のプルダウン変
換処理パターンの位相が分からなかった。
In the above two-pass encoding method, the pull-down conversion processing pattern is automatically detected at the time of provisional encoding for measuring the encoding difficulty, and the measured pull-down conversion processing pattern is measured. A control file is created by allocating bits based on the above, and the encoding process is performed according to the pattern described in the control file at the time of the main encoding. However, in the case of the one-pass encoding method, the encoding process is performed. Since the difficulty level was not measured, the phase of the material pull-down conversion processing pattern was not known.

【0024】このため、誤ったプルダウン変換処理パタ
ーンでエンコード処理を行ってしまい、エンコード結果
の画像の動きをぎこちないものとしてしまうのを防ぐた
め、結局、全てのフィールドを符号化せざるを得なくな
る。その結果、プルダウン変換処理パターンの検出が行
える2パスエンコーディング方法と比較して、4/5程
エンコード効率が悪化していた。
For this reason, in order to prevent the encoding process from being performed with an erroneous pull-down conversion processing pattern and making the motion of the image as a result of the encoding awkward, all the fields must be coded. As a result, the encoding efficiency was about 4/5 lower than that of the two-pass encoding method capable of detecting the pull-down conversion processing pattern.

【0025】本発明は、上記実情に鑑みてなされたもの
であり、プルダウン変換処理が施されるビデオ素材を1
パスエンコーディング方法で符号化するときでもエンコ
ード効率を向上でき、かつ画質を改善できる画像符号化
方法及び装置の提供を目的とする。
The present invention has been made in view of the above-described circumstances.
It is an object of the present invention to provide an image encoding method and apparatus capable of improving encoding efficiency and improving image quality even when encoding by a path encoding method.

【0026】また、本発明は、上記実情に鑑みてなされ
たものであり、上記画像符号化方法及び装置により、プ
ルダウン変換処理が施されたビデオ素材を1パスエンコ
ーディング方法で符号化するときでも、画質が改善され
た記録媒体の提供を目的とする。
Further, the present invention has been made in view of the above-mentioned circumstances, and even when a video material subjected to a pull-down conversion process is encoded by a one-pass encoding method by the above-described image encoding method and apparatus, It is an object of the present invention to provide a recording medium with improved image quality.

【0027】また、本発明は、上記実情に鑑みてなされ
たものであり、プルダウン変換処理が施されるビデオ素
材を1パスエンコーディング方法で符号化するときでも
エンコード効率を向上でき、かつ画質を改善して伝送す
ることのできる画像伝送方法の提供を目的とする。
Further, the present invention has been made in view of the above-mentioned circumstances, and it is possible to improve the encoding efficiency and improve the image quality even when encoding a video material subjected to a pull-down conversion process by a one-pass encoding method. It is an object of the present invention to provide an image transmission method capable of transmitting an image.

【0028】[0028]

【課題を解決するための手段】本発明に係る画像符号化
方法は、上記課題を解決するために、プルダウン変換処
理の施されるビデオ素材を符号化するときには、初期位
相に応じて上記プルダウン変換処理パターンを予め割り
当てて設定してから符号化する。
According to the image encoding method of the present invention, in order to solve the above-mentioned problems, when encoding a video material to be subjected to a pull-down conversion process, the above-mentioned pull-down conversion is performed according to an initial phase. After a processing pattern is allocated and set in advance, encoding is performed.

【0029】また、本発明に係る画像符号化装置は、上
記課題を解決するために、プルダウン変換処理の施され
るビデオ素材を符号化するときには、制御手段が符号化
手段に、プルダウン初期位相に応じて上記プルダウン変
換処理パターンを予め割り当てて設定してから符号化さ
せる。
Further, in order to solve the above problem, the image encoding apparatus according to the present invention, when encoding a video material to be subjected to a pull-down conversion process, controls the encoding means to the encoding means and sets the pull-down initial phase to the encoding means. Accordingly, the pull-down conversion processing pattern is assigned and set in advance, and then encoded.

【0030】また、本発明に係る記録媒体は、上記課題
を解決するために、初期位相に応じて上記プルダウン変
換処理パターンを予め割り当てて設定してから符号化さ
れたビデオ素材を記録する。
Further, in order to solve the above-mentioned problems, the recording medium according to the present invention records the encoded video material after previously assigning and setting the pull-down conversion processing pattern according to the initial phase.

【0031】また、本発明に係る画像伝送方法は、上記
課題を解決するために、プルダウン変換処理の施される
ビデオ素材を符号化してから伝送するときには、初期位
相に応じて上記プルダウン変換処理パターンを予め割り
当てて設定してから符号化したビデオ素材を伝送する。
Further, in order to solve the above-mentioned problems, the image transmission method according to the present invention, when transmitting a video material to which a pull-down conversion process is applied after encoding the same, sets the pull-down conversion pattern according to an initial phase. Is assigned and set in advance, and then the encoded video material is transmitted.

【0032】このように、上記各発明では、演奏時間の
すべてのピクチャのパターンを予め割り当ててから符号
化しているので、符号化効率を改善できる。
As described above, in each of the above-mentioned inventions, the coding efficiency is improved because the patterns of all the pictures of the performance time are assigned beforehand and then encoded.

【0033】[0033]

【発明の実施の形態】以下、本発明に係る画像符号化方
法及び装置の実施の形態について図面を参照しながら説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of an image coding method and apparatus according to the present invention will be described with reference to the drawings.

【0034】この実施の形態は、例えばディジタルビデ
オカセットテープに記録されたビデオ素材をディジタル
ビデオディスク(Digital Video Disk:DVD)用に、
1パスエンコーディング方法を採用してエンコードする
ためのビデオエンコードシステムであり、図1に示すよ
うな構成である。
In this embodiment, for example, a video material recorded on a digital video cassette tape is used for a digital video disk (Digital Video Disk: DVD).
This is a video encoding system for encoding by adopting a one-pass encoding method, and has a configuration as shown in FIG.

【0035】このビデオエンコードシステムは、上記図
10に示したビデオエンコードシステムと基本的に構成
を同じにしているが、ビデオエンコードコントーローラ
20内部のMPEGエンコーダコントローラ23と、M
PEGエンコーダ25での処理を異ならせている。
This video encoding system has basically the same configuration as the video encoding system shown in FIG. 10, but the MPEG encoding controller 23 inside the video encoding controller 20 and the MPEG encoding controller
The processing in the PEG encoder 25 is different.

【0036】すなわち、図1において、このビデオエン
コードシステムの特徴的な構成は、プルダウン変換処理
の施されるビデオ素材を符号化するMPEGエンコーダ
25と、初期位相に応じて上記プルダウン変換処理パタ
ーンを予め割り当てて設定してから上記MPEGエンコ
ーダ25に符号化させるMPEGエンコーダコントロー
ラ23とを備えてなることである。
That is, in FIG. 1, the characteristic structure of this video encoding system is that an MPEG encoder 25 for encoding a video material to be subjected to a pull-down conversion process and the pull-down conversion processing pattern in advance according to an initial phase. An MPEG encoder controller 23 for assigning and setting and then encoding the MPEG encoder 25 is provided.

【0037】また、上記図10に示すビデオエンコード
システムが2パスエンコーディング方法を採用している
の対し、この図1に示したビデオエンコードシステムは
符号化難易度の測定処理を省略した1パスエンコーディ
ング方法を採用している。
While the video encoding system shown in FIG. 10 employs a two-pass encoding method, the video encoding system shown in FIG. 1 employs a one-pass encoding method in which the processing of measuring the difficulty of encoding is omitted. Is adopted.

【0038】そして、この図1に示したビデオエンコー
ドシステムは、従来の1パスエンコーディング方法を採
用したシステムがプルダウン(pulldown)変換処理され
るビデオ素材に対して符号化を施すに際して、素材のプ
ルダウンパターンを知ることができないため、全てのフ
ィールドを符号化せざるを得なかったのに対し、後述す
る図2及び図3に処理の流れを実行して、素材のプルダ
ウンパターンに合わせての符号化を可能とする。以下
に、その詳細を説明する。
In the video encoding system shown in FIG. 1, when a system employing a conventional one-pass encoding method encodes a video material to be subjected to pulldown conversion processing, a pull-down pattern of the material is used. Since all the fields had to be coded, the processing flow was executed as shown in FIGS. 2 and 3 to be described later, and the coding was performed in accordance with the pull-down pattern of the material. Make it possible. The details will be described below.

【0039】24コマ/秒で構成されている映画フィル
ムを、NTSCの30フレーム/秒に変換する2/3プル
ダウン変換処理を図4に示す。ビデオの1フレームは2
フィールドで構成されるが、その内のファーストフィー
ルド(1st field)を図4に示すように、トップフィール
ド(top_field)とし、セカンドフィールド(2nd field)
をボトムフィールド(bottom_field)とする。また、同じ
フィールド画を繰り返す場所はリピートファーストフィ
ールド(repeat_first_field)と呼ぶこととする。このよ
うな映画素材の場合、同じフィールドである位置がわか
っていれば、エンコードの際にそのフィールドを符号化
する必要がないので、圧縮効率を上げることができる。
FIG. 4 shows a 2/3 pull-down conversion process for converting a motion picture film composed of 24 frames / sec into NTSC 30 frames / sec. One frame of video is 2
As shown in FIG. 4, the first field (1st field) is a top field (top_field), and the second field (2nd field)
Is the bottom field (bottom_field). A place where the same field image is repeated is called a repeat first field (repeat_first_field). In the case of such a movie material, if the position of the same field is known, it is not necessary to encode the field at the time of encoding, so that the compression efficiency can be improved.

【0040】このような2/3プルダウンパターンの検出
及び、パターンを考慮したプルダウンパターンの自動検
出手法では、エンコードの際に現在と1フレーム前のto
p_field, bottom_field の差分を元にrepeat_first_fie
ldの位置を調べ、プルダウン位相を検出できる。符号化
の際の2/3プルダウンパターンによる組合せは以下の4
通りである。
In such a method of detecting a 2/3 pull-down pattern and automatically detecting a pull-down pattern in consideration of the pattern, the current and one frame before
repeat_first_fie based on the difference between p_field and bottom_field
By examining the position of ld, the pull-down phase can be detected. The combination of 2/3 pull-down pattern at the time of encoding is the following 4
It is on the street.

【0041】 0: bottom_field_first 1: bottom_field_first, repeat_first_field 2: top_field_first 3: top_field_first, repeat_first_field これらをピクチャーモード(p_mode)と定義する。0: bottom_field_first 1: bottom_field_first, repeat_first_field 2: top_field_first 3: top_field_first, repeat_first_field These are defined as a picture mode (p_mode).

【0042】2/3プルダウンパターンと、NTSCによ
るビデオ素材の入ったビデオテープ1ロールの先頭から
のビデオフレーム番号kの関係を考える。リピートされ
ていないtop_fieldを含む位置のkのピクチャーモードを
p_mode[k]とする。すると、図4でもわかるように、p_m
odeが0〜3に属さないフレーム番号が存在することがわ
かる。この場合のp_modeの値を4とする。
Consider the relationship between the 2/3 pull-down pattern and the video frame number k from the beginning of one roll of video tape containing NTSC video material. Set the k picture mode at the position containing the top_field that is not repeated
Let p_mode [k]. Then, as can be seen in FIG.
It can be seen that there is a frame number whose ode does not belong to 0 to 3. In this case, the value of p_mode is 4.

【0043】図5は、p_mode[k]の状態遷移図である。
プルダウンパターンが規則正しく連続している場合に
は、p_mode[k]の値は、次の(4)式に示すように、フ
レーム番号kの増加にともなって5で割った余りの体(mod
5)において1ずつ増加していく。 p_mode[k+1] = (p_mode[k] + 1 ) mod 5 ・・・(4) プルダウンパターンが乱れた場合には、次の(5)式の
ように、p_modeが0または2の場合のみ、その値を繰り返
すことができる。
FIG. 5 is a state transition diagram of p_mode [k].
If the pull-down patterns are regularly continuous, the value of p_mode [k] is the remainder (mod) divided by 5 as the frame number k increases, as shown in the following equation (4).
In 5), it increases by one. p_mode [k + 1] = (p_mode [k] +1) mod 5 (4) When the pull-down pattern is disturbed, only when p_mode is 0 or 2, as in the following equation (5). , That value can be repeated.

【0044】 p_mode[k+1] = (p_mode[k] + 1 ) mod 5 ・・・(5) (p_mode[k] が 0 または 2 の場合に限る) このような2/3プルダウンパターンの位相は、フィルム
素材 -> NTSC ビデオ素材の変換時に決定される。素材
をフィルムからビデオにフレーム変換した際のプルダウ
ンパターンは、ほとんどの場合規則正しく行われてい
る。そこで、先ず、エンコードする素材のプルダウンパ
ターンが規則正しいことがあらかじめわかっている場合
の上記ビデオエンコードシステムの動作について説明す
る。
P_mode [k + 1] = (p_mode [k] +1) mod 5 (5) (only when p_mode [k] is 0 or 2) Phase of such a 2/3 pull-down pattern Is determined when converting film material-> NTSC video material. In most cases, the pull-down pattern when converting material from film to video is regular. Therefore, first, the operation of the video encoding system when it is known in advance that the pull-down pattern of the material to be encoded is regular will be described.

【0045】図1に示したビデオエンコードシステムの
ビデオエンコードコントローラ20がプルダウン変換処
理の必要とされるビデオ素材に対して行う画像符号化方
法は、図2に示すような処理工程をとる。
The image encoding method performed by the video encode controller 20 of the video encoding system shown in FIG. 1 on a video material requiring a pull-down conversion process includes processing steps as shown in FIG.

【0046】先ず、ステップS21でスーパーバイザコ
ントローラ1からネットワーク2経由でビデオに割り当
てるビット総量や最大レートなどのエンコード条件v.en
cが与えられ、MPEGエンコーダコントローラ20は
このエンコード条件を設定する。
First, in step S21, encoding conditions such as the total bit amount and the maximum rate to be allocated to video from the supervisor controller 1 via the network 2 are set.
c is given, and the MPEG encoder controller 20 sets this encoding condition.

【0047】次に、ステップS22でビデオ素材のプル
ダウン位相の測定を行う。ここでは、上述したように、
エンコードする素材のプルダウンパターンが規則正しい
ことがあらかじめ分かっている。エンコードのスタート
点は、チャプター境界となっているため、この位置では
top_field_first のパターン(p_mode)が2であることが
フォーマット上で規定されている。
Next, in step S22, the pull-down phase of the video material is measured. Here, as described above,
It is known in advance that the pull-down pattern of the material to be encoded is regular. Since the start point of the encoding is at the chapter boundary,
It is specified on the format that the pattern (p_mode) of top_field_first is 2.

【0048】素材の最初は上述したように、チャプター
指定され、必ず p_modeが2の状態でエンコードされなけ
ればならないことを考慮すると、プルダウンの初期パタ
ーンは図6に示すように、7つのパターンで表すことが
できる。初期位相のモードをpd_start(0≦pd_start≦6)
とする。pd_startが“0”であるのは、プルダウンが行
われていない、すなわちp_modeが“2”で連続している
ことを示す。pd_startが“1”であるのは、例えばPA
Lのように、フィールド位相が逆転する場合を示す。pd
_startが“2”〜“6”までは、プルダウンの5種類の位
相パターンを示す。
Considering that the beginning of the material is specified as described above and must always be encoded with p_mode set to 2, the initial pull-down pattern is represented by seven patterns as shown in FIG. be able to. Set the initial phase mode to pd_start (0 ≦ pd_start ≦ 6)
And The fact that pd_start is “0” indicates that pull-down is not performed, that is, p_mode is “2” and continuous. pd_start is "1" because, for example, PA
L indicates a case where the field phase is reversed. pd
_start from “2” to “6” indicates five types of pull-down phase patterns.

【0049】図6に示したプルダウンサイクルpd_cycle
の0番目から9番目までの10個のフレームについての
p_modeを上記pd_startの7つのパターンで表すと、 pd_cycle[7][10] = {{2,2,2,2,2,2,2,2,2,2},{2,3,4,0,
0,0,0,0,0,0},{2,3,4,0,1,2,3,4,0,1},{2,2,3,4,0,1,2,
3,4,0},{2,2,2,3,4,0,1,2,3,4},{2,2,2,2,3,4,0,1,2,
3},{2,2,2,2,2,3,4,0,1,2}} となる。
The pull-down cycle pd_cycle shown in FIG.
For the 10 frames from 0 to 9
If p_mode is represented by the above seven patterns of pd_start, pd_cycle [7] [10] = {{2,2,2,2,2,2,2,2,2,2}, {2,3,4, 0,
0,0,0,0,0,0}, {2,3,4,0,1,2,3,4,0,1}, {2,2,3,4,0,1,2,
3,4,0}, {2,2,2,3,4,0,1,2,3,4}, {2,2,2,2,3,4,0,1,2,
3}, {2,2,2,2,2,3,4,0,1,2}}.

【0050】すると、k番目のフレームのピクチャモー
ドp_mode[k]は、kが5より小さい(k<5)ときには、次の
(6)式で示すことができる。
Then, the picture mode p_mode [k] of the k-th frame can be expressed by the following equation (6) when k is smaller than 5 (k <5).

【0051】 p_mode[k] = pd_cycle[pd_start][k mod 5] ・・・(6) また、kが5以上(k≧5)のときには、次の(7)式で示
すことができる。
P_mode [k] = pd_cycle [pd_start] [k mod 5] (6) When k is 5 or more (k ≧ 5), it can be expressed by the following equation (7).

【0052】 p_mode[k] = pd_cycle[pd_start][k mod 5 + 5] ・・・7 ピクチャータイプは符号化されるフレームだけ(p_mode
[k] != 4) に対応する。GOPの長さを gop_nとし、素
材の先頭からの符号化されたフレームの数をiとする。
素材の最初のフレームのピクチャータイプをIピクチャ
から始める場合には、i番目のピクチャータイプは以下
の(8)式で表される。
P_mode [k] = pd_cycle [pd_start] [k mod 5 + 5]... 7 The picture type is only the frame to be encoded (p_mode
[k]! = 4). Let the length of the GOP be gop_n and the number of encoded frames from the beginning of the material be i.
When the picture type of the first frame of the source starts with an I picture, the i-th picture type is represented by the following equation (8).

【0053】 gop_cycle[15]={"B","B","I","B","B","P","B","B","P","B","B","P","B","B"," P"} p_type[i] = gop_cycle[(i+2) mod gop_n] ・・・(8) このように、素材のプルダウンの初期位相pd_startの値
があらかじめわかっている場合には、ユーザーがマニュ
アル設定することで、2/3プルダウンパターンの位相を
合わせてエンコードできる。
Gop_cycle [15] = {"B", "B", "I", "B", "B", "P", "B", "B", "P", "B", " B "," P "," B "," B "," P "} p_type [i] = gop_cycle [(i + 2) mod gop_n] (8) Thus, the initial phase of the material pull-down If the value of pd_start is known in advance, it can be encoded by adjusting the phase of the 2/3 pull-down pattern manually by the user.

【0054】例えば、フレーム数Nが12であり、I又
はPピクチャの間隔Mを3としたGOPを想定した場合
に適用するアルゴリズムを図7に示す。
For example, FIG. 7 shows an algorithm applied when a GOP in which the number of frames N is 12 and the interval M between I or P pictures is 3 is assumed.

【0055】ステップS41で初期設定を行い、ステッ
プS42でkが5より小さいか否かを判断し、ここで小
さいとなればステップS44に進み、上記(6)式によ
りk番目のフレームのピクチャモードp_mode[k]を求め
る。
In step S41, initialization is performed. In step S42, it is determined whether or not k is smaller than 5. If k is smaller, the process proceeds to step S44, and the picture mode of the k-th frame is calculated according to the above equation (6). Find p_mode [k].

【0056】ステップS42でkが5以上であるとした
場合には、ステップS43に進み、上記(7)式により
ピクチャモードp_mode[k]を求める。
If it is determined in step S42 that k is 5 or more, the flow advances to step S43, and the picture mode p_mode [k] is obtained from the above equation (7).

【0057】次に、ステップS45では、ピクチャモー
ドp_mode[k]がエンコードを不要としている“4”である
か否かの判別を行う。ここで、ピクチャモードp_mode
[k]がエンコードを必要であるとするモードであると判
断したときにのみ、ステップS46に進む。ステップS
46では、上記(8)式によりi番目のピクチャータイ
プp_type[i]を求める。
Next, in step S45, it is determined whether or not the picture mode p_mode [k] is "4" which does not require encoding. Here, picture mode p_mode
Only when it is determined that [k] is the mode that requires encoding, the process proceeds to step S46. Step S
At 46, the i-th picture type p_type [i] is obtained by the above equation (8).

【0058】そして、ステップS47で上記kをインク
リメントし、ステップS48でkが決められた所定値を
越えない範囲で上記ステップS42からステップS47
までの各処理を繰り返す。
In step S47, the value of k is incremented. In step S48, the value of k is not increased beyond the predetermined value.
Each process up to is repeated.

【0059】このようにして図2のステップS22での
プルダウン位相の測定を終了すると、ステップS23に
進み、コントロールファイルの一部に上記プルダウンパ
ターンを設定したファイルを作成する。
When the measurement of the pull-down phase in step S22 in FIG. 2 is completed, the process proceeds to step S23, and a file in which the above-described pull-down pattern is set as a part of the control file is created.

【0060】そして、ステップS24の本エンコード時
には、上記コントロールファイルに記述されたプルダウ
ンパターンに従ってエンコード処理を行っている。
At the time of the main encoding in step S24, the encoding process is performed according to the pull-down pattern described in the control file.

【0061】実際には、図3に示すように、他のファイ
ルと共に、エンコード用のコントロールファイルを作成
する。すなわち、ステップS31でディスク容量の中か
らビデオに割り当てられたビット総量(QTY_BYTES)と、
最大ビットレート(MAXRATE)がスーパーバイザコントロ
ーラ1から指定されると、これに対して、最大ビットレ
ート以下になるように制限を加えた総ビット数(USB_BYT
ES)を求める。
Actually, as shown in FIG. 3, a control file for encoding is created together with other files. That is, the total bit amount (QTY_BYTES) allocated to the video from the disk capacity in step S31,
When the maximum bit rate (MAXRATE) is specified by the supervisor controller 1, the total number of bits (USB_BYT
ES).

【0062】次に、ステップS32でプルダウン初期値
の指定を行う。上述した例では、素材のプルダウン初期
位相が予め分かっている場合について説明した。
Next, in step S32, a pull-down initial value is specified. In the example described above, the case where the pull-down initial phase of the material is known in advance has been described.

【0063】次に、ステップS33でGOP構造の指
定、すなわちピクチャタイプの指定処理を行う。ピクチ
ャータイプの指定では、最初に先頭のフレームから順に
I,B,B,P,B,B,・・・と規則正しく設定され
ていく。先頭から数えたフレーム番号kのピクチャータ
イプをp_type[k] とし、GOPの長さをgop_nとしてp_t
ype[k]を上記(1)式で求める。
Next, in step S33, a GOP structure is designated, that is, a picture type is designated. In the designation of the picture type, first, I, B, B, P, B, B,... Are regularly set in order from the first frame. The picture type of the frame number k counted from the beginning is p_type [k], the length of the GOP is gop_n, and p_t
ype [k] is obtained by the above equation (1).

【0064】次に、ステップS34でCELL境界(Chapte
r)の処理を行う。プレイヤーでのチャプターサーチ時に
は、特定されないピクチャーからジャンプしてくるが、
その場合でも再生画像の乱れがないようにするため、CH
APTER の位置が必ずGOPの先頭になるようにピクチャー
タイプを変更する。
Next, at step S34, the cell boundary (Chapte
Perform the processing of r). When searching for a chapter in a player, jump from an unspecified picture,
In this case, in order to prevent the playback image from being distorted,
Change the picture type so that the APTER position is always at the beginning of the GOP.

【0065】次に、ステップS35でGOP単位のビッ
トレートの設定処理を行う。1パス固定レートでの平均
ビットレート(CONSTANT_RATE) は、上記(2)、(3)
式により求められる。
Next, in step S35, a bit rate setting process for each GOP is performed. The average bit rate (CONSTANT_RATE) at the fixed rate of one pass is as described in (2) and (3) above.
It is obtained by the formula.

【0066】最後に、ステップS36でエンコード結果
のビットストリームを上記RAIDに書き込むアドレス
の計算処理と、ステップS37で、エンコーダ用コント
ロールファイルを出力する。このようにして作成された
コントロールファイルによるエンコード処理をおこなう
ことで、ピクチャータイプが指定された固定レートエン
コーディングが実行される。
Lastly, in step S36, the process of calculating the address for writing the bit stream of the encoding result to the RAID is performed, and in step S37, the encoder control file is output. By performing the encoding process using the control file created in this way, the fixed rate encoding in which the picture type is specified is executed.

【0067】ところが素材のプルダウンの初期位相pd_s
tartの値が分からない場合には、例えば初期位相モード
pd_startの“1”〜“6”の6通り全ての場合を設定して
エンコードし、動きのぎこちなさを目で確認して調べる
しかない。
However, the initial phase pd_s of the material pull-down
If you do not know the value of tart, for example,
The only way to set and encode all six cases of pd_start, "1" to "6", is to check the awkwardness of the movement by visual inspection.

【0068】そこで、初期位相pd_startの自動設定が必
要となる。素材の最初の部分をエンコードしてプルダウ
ンパターンを測定して、どのpd_startの値が最もエラー
が少ないかによって決定できる。
Therefore, it is necessary to automatically set the initial phase pd_start. The pull-down pattern can be measured by encoding the first part of the material and determining which pd_start value has the least error.

【0069】この測定では、全ての区間の符号化難易度
を測定する2パスエンコーディングとは異なり、たとえ
ば最初の30秒といった短い区間で済むため、作業時間
はそれほど増加しないで済む。
In this measurement, unlike the two-pass encoding in which the encoding difficulty of all the sections is measured, only a short section such as the first 30 seconds is required, so that the working time does not increase so much.

【0070】図8及び図9を用いて初期位相の検出方法
を説明する。図8の最上段に示す測定結果であるp_mode
[k]と、2段目以降のpd_startを使った場合の各k番目が
異なる場合に誤差(error)を“1”として、誤差の総和を
求めている。
A method for detecting the initial phase will be described with reference to FIGS. P_mode which is the measurement result shown at the top of FIG.
When [k] is different from each k-th number when pd_start in the second and subsequent stages is used, the error (error) is set to “1”, and the sum of the errors is calculated.

【0071】すなわち、図9のステップS51で測定区
間(0≦k≦kend)を12とし、pd_startを0から始めるよう
に初期設定を行った後、ステップS52でK=0のとき、er
ror=0とする。
That is, after setting the measurement section (0 ≦ k ≦ kend) to 12 in step S51 of FIG. 9 and starting pd_start from 0, when K = 0 in step S52, er
ror = 0.

【0072】そして、ステップS53でkが5より小さい
ときには、ステップS55、ステップS56及びステッ
プSS57でpd_startが“0”の場合のk=0のp_mode[k]
と、上記測定結果のk=0のp_mode[k]とを比較し、異なる
場合には誤差を“1”とする。
If k is smaller than 5 in step S53, p = 0 in k = 0 when pd_start is "0" in steps S55, S56 and SS57.
Is compared with p_mode [k] at k = 0 of the above measurement result, and if different, the error is set to “1”.

【0073】ステップS53でkが5以上であるときに
は、ステップS54、ステップS56及びステップS5
7でpd_startが“0”の場合のk=5のp_mode[k]と、上記
測定結果のk=5のp_mode[k]とを比較し、異なる場合には
誤差を“1”とする。
If k is equal to or greater than 5 in step S53, step S54, step S56 and step S5
In step 7, p_mode [k] of k = 5 when pd_start is “0” is compared with p_mode [k] of k = 5 of the above measurement result, and if different, the error is set to “1”.

【0074】上記ステップS57までの比較は、ステッ
プS58でkをインクリメントしながら行い、ステップ
S59でkの値がkend12になるまで繰り返し行われる。
The comparison up to step S57 is performed while incrementing k in step S58, and is repeated until the value of k becomes kend12 in step S59.

【0075】そして、ステップS60でpd_start毎の誤
差の総和が符号化結果の評価値より大きいか否かを判断
し、ステップS61、ステップS62及びステップS6
3の各処理で各pd_startのときの、どのpd_startが最も
誤差が少ないかを求める。この場合では、pd_startは
“2”と検出される。このように決定された初期位相を
用いて、図3のステップS37ではエンコーダ用コント
ロールファイルを作成する。
Then, in step S60, it is determined whether or not the sum of the errors for each pd_start is greater than the evaluation value of the encoding result. In step S61, step S62, and step S6
In each process of step 3, it is determined which pd_start has the smallest error at each pd_start. In this case, pd_start is detected as “2”. Using the initial phase determined in this way, in step S37 of FIG. 3, an encoder control file is created.

【0076】このように1パスエンコーディング方法を
適用した上記実施の形態となるビデオエンコードシステ
ムでは、初期位相が予め分かっている場合でも、或いは
初期位相が予め分かっていない場合でも、演奏時間のす
べてのピクチャのパターンを予め割り当ててから符号化
できるため、符号化効率を改善できる。
In the video encoding system according to the above-described embodiment to which the one-pass encoding method is applied, even if the initial phase is known in advance, or even if the initial phase is not known in advance, all the performance times are not changed. Since coding can be performed after a picture pattern is allocated in advance, coding efficiency can be improved.

【0077】[0077]

【発明の効果】本発明に係る画像符号化方法及び装置に
よれば、1パス固定レートにおいても、2/3プルダウン
パターンの位相を合わせてエンコードできるため、エン
コード効率を向上でき、画質の改善を実現できる。
According to the image encoding method and apparatus of the present invention, even at a fixed rate of one pass, encoding can be performed with the phase of a 2/3 pull-down pattern matched, so that encoding efficiency can be improved and image quality can be improved. realizable.

【0078】また、本発明に係る記録媒体には、1パス
固定レートにおいても、2/3プルダウンパターンの位相
を合わせてエンコードできる画像が記録されているた
め、復号化側では画質の改善を実現できる。
Also, since the recording medium according to the present invention records an image which can be encoded with the phase of the 2/3 pull-down pattern even at a fixed rate of one pass, the decoding side achieves improvement in image quality. it can.

【0079】また、本発明に係る画像伝送方法によれ
が、1パス固定レートにおいても、2/3プルダウンパタ
ーンの位相を合わせてエンコードできた画質の改善され
たビデオ素材を伝送できる。
Further, according to the image transmission method of the present invention, even at a fixed rate of one pass, it is possible to transmit a video material of improved image quality which can be encoded with the phase of a 2/3 pull-down pattern matched.

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

【図1】本発明に係る画像符号化方法及び装置の実施の
形態となるビデオエンコードシステムのブロック図であ
る。
FIG. 1 is a block diagram of a video encoding system as an embodiment of an image encoding method and apparatus according to the present invention.

【図2】上記ビデオエンコードシステムの動作を説明す
るためのフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the video encoding system.

【図3】上記ビデオエンコードシステムでのコントロー
ルファイルの作成方法を説明するためのフローチャート
である。
FIG. 3 is a flowchart for explaining a method of creating a control file in the video encoding system.

【図4】2/3プルダウン変換処理を説明するための図で
ある。
FIG. 4 is a diagram for explaining 2/3 pull-down conversion processing.

【図5】プルダウン処理の状態遷移図である。FIG. 5 is a state transition diagram of a pull-down process.

【図6】プルダウン処理パターンの初期設定を説明する
ための図である。
FIG. 6 is a diagram for explaining initial setting of a pull-down processing pattern;

【図7】上記図1に示したビデオエンコードシステムの
プルダウン位相設定処理を説明するためのフローチャー
トである。
FIG. 7 is a flowchart for explaining a pull-down phase setting process of the video encoding system shown in FIG. 1;

【図8】上記図1に示したビデオエンコードシステムの
プルダウン初期位相の検出処理を説明するためのフロー
チャートである。
FIG. 8 is a flowchart for explaining a process of detecting a pull-down initial phase of the video encoding system shown in FIG. 1;

【図9】上記図1に示したビデオエンコードシステムに
よるプルダウン初期位相の自動設定処理を説明するため
のフローチャートである。
FIG. 9 is a flowchart for explaining a process of automatically setting a pull-down initial phase by the video encoding system shown in FIG. 1;

【図10】従来のビデオエンコードシステムのブロック
図である。
FIG. 10 is a block diagram of a conventional video encoding system.

【図11】GOP構造を説明するための図である。FIG. 11 is a diagram for explaining a GOP structure.

【図12】図10に示した従来のビデオエンコードシス
テムの動作を説明するためのフローチャートである。
FIG. 12 is a flowchart for explaining the operation of the conventional video encoding system shown in FIG.

【図13】図10に示した従来のビデオエンコードシス
テムのコントロールファイル作成処理を説明するための
フローチャートである。
FIG. 13 is a flowchart for explaining control file creation processing of the conventional video encoding system shown in FIG.

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

1 スーパーバイザコントローラ、20 ビデオエンコ
ードコントローラ、22 ビット配分計算部、23 M
PEGエンコーダコントローラ、25 MPEGエンコ
ーダ
1 Supervisor controller, 20 video encoding controllers, 22 bit allocation calculator, 23M
PEG encoder controller, 25 MPEG encoder

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 プルダウン変換処理の施されるビデオ素
材を符号化する画像符号化方法において、 初期位相に応じて上記プルダウン変換処理パターンを予
め割り当てて設定してから符号化することを特徴とする
画像符号化方法。
1. An image encoding method for encoding a video material to be subjected to a pull-down conversion process, wherein the pull-down conversion process pattern is assigned and set in advance according to an initial phase, and then encoded. Image coding method.
【請求項2】 上記初期位相は、予め判明していること
を特徴とする請求項1記載の画像符号化方法。
2. The image encoding method according to claim 1, wherein said initial phase is known in advance.
【請求項3】 上記初期位相は、上記ビデオ素材の先頭
から所定の区間だけの全てのプルダウン変換処理パター
ンで符号化を行って得られる誤差が最小になるように設
定されることを特徴とする請求項1記載の画像符号化方
法。
3. The method according to claim 1, wherein the initial phase is set such that an error obtained by performing encoding with all pull-down conversion processing patterns in a predetermined section from the beginning of the video material is minimized. The image encoding method according to claim 1.
【請求項4】 プルダウン変換処理の施されるビデオ素
材を符号化する画像符号化装置において、 プルダウン変換処理の施されるビデオ素材を符号化する
符号化手段と、 初期位相に応じて上記プルダウン変換処理パターンを予
め割り当てて設定してから上記符号化手段に符号化させ
る制御手段とを備えることを特徴とする画像符号化装
置。
4. An image encoding apparatus for encoding a video material to be subjected to a pull-down conversion process, comprising: an encoding unit for encoding a video material to be subjected to a pull-down conversion process; An image encoding apparatus, comprising: a control unit that allocates and sets a processing pattern in advance and then causes the encoding unit to perform encoding.
【請求項5】 上記初期位相は、予め判明していること
を特徴とする請求項4記載の画像符号化装置。
5. The image encoding apparatus according to claim 4, wherein said initial phase is known in advance.
【請求項6】 上記初期位相は、上記ビデオ素材の先頭
から所定の区間だけの全てのプルダウン変換処理パター
ンで符号化を行って得られる誤差が最小になるように設
定されることを特徴とする請求項4記載の画像符号化装
置。
6. The method according to claim 1, wherein the initial phase is set such that an error obtained by performing encoding with all pull-down conversion processing patterns in a predetermined section from the beginning of the video material is minimized. The image encoding device according to claim 4.
【請求項7】 プルダウン変換処理の施されるビデオ素
材を符号化して記録する記録媒体において、 初期位相に応じて上記プルダウン変換処理パターンを予
め割り当てて設定してから符号化されたビデオ素材を記
録することを特徴とする記録媒体。
7. A recording medium for encoding and recording a video material to be subjected to a pull-down conversion process, wherein the pull-down conversion processing pattern is previously allocated and set according to an initial phase, and then the encoded video material is recorded. A recording medium characterized in that:
【請求項8】 プルダウン変換処理の施されるビデオ素
材を符号化してから伝送する画像伝送方法において、 初期位相に応じて上記プルダウン変換処理パターンを予
め割り当てて設定してから符号化したビデオ素材を伝送
することを特徴とする画像伝送方法。
8. An image transmission method for encoding a video material to be subjected to a pull-down conversion process and transmitting the encoded video material, wherein the above-described pull-down conversion process pattern is allocated and set in advance according to an initial phase, and the encoded video material is An image transmission method characterized by transmitting.
JP10978197A 1997-04-25 1997-04-25 Picture encoding method/device, recording medium and picture transmission method Withdrawn JPH10304376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10978197A JPH10304376A (en) 1997-04-25 1997-04-25 Picture encoding method/device, recording medium and picture transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10978197A JPH10304376A (en) 1997-04-25 1997-04-25 Picture encoding method/device, recording medium and picture transmission method

Publications (1)

Publication Number Publication Date
JPH10304376A true JPH10304376A (en) 1998-11-13

Family

ID=14519070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10978197A Withdrawn JPH10304376A (en) 1997-04-25 1997-04-25 Picture encoding method/device, recording medium and picture transmission method

Country Status (1)

Country Link
JP (1) JPH10304376A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006517369A (en) * 2003-02-10 2006-07-20 ネクストリーム・フランス Apparatus for encoding a video data stream
JP2009530946A (en) * 2006-03-23 2009-08-27 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Encoding apparatus and method for encoding movie data
US7853127B2 (en) 2003-06-26 2010-12-14 Sony Corporation Equipment and method for information processing, recording medium, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006517369A (en) * 2003-02-10 2006-07-20 ネクストリーム・フランス Apparatus for encoding a video data stream
US7991048B2 (en) 2003-02-10 2011-08-02 Thomson Licensing Device and method for double-pass encoding of a video data stream
US7853127B2 (en) 2003-06-26 2010-12-14 Sony Corporation Equipment and method for information processing, recording medium, and program
JP2009530946A (en) * 2006-03-23 2009-08-27 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Encoding apparatus and method for encoding movie data

Similar Documents

Publication Publication Date Title
KR101242447B1 (en) Program, decoding device, decoding method, and recording medium
CN100579191C (en) Method of recording and reproducing surveillance images in DVR
US7881583B2 (en) Playback apparatus, playback method, and playback program
JP3740813B2 (en) Image encoding method and image encoding apparatus
US6912351B1 (en) Method and device for condensed image recording and reproduction
JP3911768B2 (en) Image encoding method and image encoding apparatus
JP3837889B2 (en) Encoding method and encoding apparatus
JPH10208393A (en) Method and device for digital signal coding
JPH0937209A (en) Method for reproducing fast feed, fast rewinding image from moving image information subject to high efficiency coding
JP4244051B2 (en) Program, decoding device, decoding method, and recording medium
JPH10304376A (en) Picture encoding method/device, recording medium and picture transmission method
JP3951152B2 (en) Image coding apparatus and method
JP4650454B2 (en) Encoding apparatus and encoding method
JPH10304372A (en) Image coding method and device, and image transmission method
JP4462643B2 (en) Image encoding method and image encoding apparatus
JP3344607B2 (en) Optical disc, reproducing apparatus and reproducing method
JP2939956B2 (en) Moving picture information playback device
JP4161385B2 (en) Image encoding method and apparatus, image processing apparatus and image processing method
JP3660514B2 (en) Variable rate video encoding method and video editing system
JPH08331556A (en) Image coder and image coding method
JP2001211414A (en) Image pick up device and recorder
US8149679B2 (en) Recording/reproducing device and method, recording medium, and program
JP3384563B2 (en) Optical disc, reproducing apparatus and reproducing method
JP3125926B2 (en) Encoding recording device and encoding recording method
JP3370660B1 (en) Recording device and recording method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040706