JP2002152735A - Image re-coder - Google Patents

Image re-coder

Info

Publication number
JP2002152735A
JP2002152735A JP2000344373A JP2000344373A JP2002152735A JP 2002152735 A JP2002152735 A JP 2002152735A JP 2000344373 A JP2000344373 A JP 2000344373A JP 2000344373 A JP2000344373 A JP 2000344373A JP 2002152735 A JP2002152735 A JP 2002152735A
Authority
JP
Japan
Prior art keywords
encoding
moving image
frame
auxiliary information
image data
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
JP2000344373A
Other languages
Japanese (ja)
Inventor
Satoru Kuriki
悟 栗木
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000344373A priority Critical patent/JP2002152735A/en
Publication of JP2002152735A publication Critical patent/JP2002152735A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image re-coder or the like that attains optimum bit assignment by taking a temporal succeeding frame going to be re-coded into account without the need for newly adding a delay memory when coding again a received coded image under a revised coding condition. SOLUTION: In the image re-coder 100 re-codes moving picture data having been coded under a prescribed coding condition by revising the coding condition, a user data separation section 200 acquires externally moving picture data with coded auxiliary information with respect to coding attached to them and extracts the coded auxiliary information from the moving picture data, a decoding section 400 decodes a moving picture from the moving picture data, and a re-coding section 500 re-codes the moving picture under a different coding condition from the coding condition on the basis of the acquired coded auxiliary information under the control of a re-coding control section 300.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された動画
像データを符号化条件を変えて再符号化する画像再符号
化装置、画像再符号化方法及び記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image re-encoding device, an image re-encoding method, and a recording medium for re-encoding encoded moving image data by changing encoding conditions.

【0002】[0002]

【従来の技術】動画像の符号化方式としてはMPEG2
が国際標準となっており、現在のCSディジタル放送で
利用されているのはもちろんのこと、今後におけるBS
ディジタル放送においても利用されることが決定されて
いる。ディジタル放送において、家庭での各コンテンツ
の記録方法に関していえば、従来のアナログ放送をVC
Rに記録していたのと同様のアナログ記録が考えられる
が、それとは別にMPEG2のビットストリームでディ
ジタル記録することが考えられる。MPEG2のビット
ストリームをディジタル記録する際には、放送されるM
PEG2ビットストリームに変更を加えずに記録するこ
と以外にも、限られたメディアの記録容量の中、長時間
の記録を実現するには、受信したMPEG2ビットスト
リームを異なる空間解像度に変更することや、より高い
圧縮率へ変更することなど、異なる符号化条件にて再符
号化したMPEG2ビットストリームを記録する必要が
生じる。
2. Description of the Related Art MPEG2 is used as a moving picture coding method.
Has become an international standard and is used in current CS digital broadcasting.
It has been decided to be used also in digital broadcasting. In digital broadcasting, regarding the recording method of each content at home, conventional analog broadcasting is
Analog recording similar to that recorded on the R is conceivable, but digital recording using an MPEG2 bit stream is considered separately. When digitally recording an MPEG2 bit stream, the broadcasted M
In addition to recording without changing the PEG2 bit stream, in order to realize long-time recording in the limited storage capacity of media, it is necessary to change the received MPEG2 bit stream to a different spatial resolution. It is necessary to record a re-encoded MPEG2 bit stream under different encoding conditions, such as changing to a higher compression ratio.

【0003】また今後、家庭用ビデオカメラにおいても
MPEG2ビットストリームで記録する商品が登場する
ことが予想され、このカメラで撮影した画像を編集し、
編集後の画像もMPEG2ビットストリームで記録する
用途も考えられる。この場合にも、元のMPEG2ビッ
トストリームから異なる符号化条件にて再符号化したM
PEG2ビットストリームに変換する必要が生じる。
[0003] In the future, it is expected that a product recording in an MPEG2 bit stream will appear in a home video camera, and an image taken by this camera is edited.
It is also conceivable that the edited image is recorded as an MPEG2 bit stream. In this case as well, the M2 re-encoded from the original MPEG2 bit stream under different encoding conditions
It needs to be converted to a PEG2 bit stream.

【0004】ところで、MPEG2符号化方式における
ビットレートの制御は基本的に可変レートであり、最大
ビットレートと最小ビットレートの制約はあるものの基
本的には平均ビットレートで規定されるものである。そ
のため、フレーム毎に、その時々でのビット使用量は異
なり、パターンの複雑な画像には多くのビットが割り当
てられ、パターンの簡単な画像には少ないビットが割り
当てられ、全体として平均ビットレートに収まるようビ
ット割り当てが行われている。同じ平均ビットレートで
あっても、符号化を行う装置によって画質が異なる原因
は、このビットの割り当て方法が異なることに起因して
おり、このビット割り当てがどれだけ最適に行われてい
るかどうかで、その符号化装置の性能が決まるともいえ
る。
Incidentally, the control of the bit rate in the MPEG2 encoding system is basically a variable rate, and is basically defined by the average bit rate although there are restrictions on the maximum bit rate and the minimum bit rate. Therefore, the bit usage at each time differs for each frame, and a large number of bits are allocated to an image having a complicated pattern, and a small number of bits are allocated to an image having a simple pattern. Bit allocation has been done. Even if the average bit rate is the same, the reason why the image quality differs depending on the encoding device is that the method of allocating the bits is different, and how optimal this bit allocation is. It can be said that the performance of the encoding device is determined.

【0005】このような状況の中、元のMPEG2ビッ
トストリームから異なるビットレートのMPEG2ビッ
トストリームに再符号化する再符号化装置においても同
様のことが当てはまり、再符号化における最適なビット
割り当て方法が重要となる。そのため、再符号化装置で
は、一度ビット割り当てが行われたMPEG2ビットス
トリームを入力とすることから、それまでに入力された
ビットストリームからフレーム毎のビット使用量や平均
の量子化ステップサイズ等を解析し、その解析結果に基
づき再符号化の際のビット割り当てを行う方法が考えら
れている。
In such a situation, the same applies to a re-encoding device for re-encoding an original MPEG 2 bit stream into an MPEG 2 bit stream having a different bit rate, and an optimal bit allocation method in re-encoding is determined. It becomes important. Therefore, since the re-encoding device receives an MPEG2 bit stream to which bits have been assigned once as input, the re-encoding device analyzes the bit usage per frame, the average quantization step size, and the like from the bit stream input so far. However, a method of allocating bits at the time of re-encoding based on the analysis result has been considered.

【0006】例えば、図5(a)に示した再符号化装置
は、入力されるビットストリームを解析するビット解析
部910、ビットストリームを復号する復号化部93
0、復号された画像を再符号化する再符号化部940及
び再符号化制御部920から構成される。ビット解析部
910は、入力されるビットストリームに基づいて各フ
レームあたりのビット使用を順次に解析して解析結果を
再符号化制御部920に出力し、解析後のビットストリ
ームを順次に復号化部930に伝送する。復号化部93
0は、入力されるビットストリームを順次に復号して再
符号化部940に出力し、復号時に使用した量子化ステ
ップサイズを再符号化制御部920に出力する。再符号
化部940は、復号化部930からの復号データを、再
符号化制御部920の制御の下に順次に再符号化して出
力する。再符号化制御部920は、ビット解析部910
及び復号化部930より入力される各フレームあたりの
ビット使用量と、復号化部930より入力される量子化
ステップサイズより割り出した平均量子化ステップサイ
ズを基に再符号化部940におけるビット割当ての制御
を行う。
For example, the re-encoding device shown in FIG. 5A includes a bit analysis unit 910 for analyzing an input bit stream, and a decoding unit 93 for decoding a bit stream.
0, a re-encoding unit 940 for re-encoding the decoded image and a re-encoding control unit 920. The bit analysis unit 910 sequentially analyzes the bit usage for each frame based on the input bit stream, outputs the analysis result to the re-encoding control unit 920, and sequentially analyzes the analyzed bit stream. 930. Decoding section 93
0 sequentially decodes the input bit stream and outputs it to the re-encoding unit 940, and outputs the quantization step size used at the time of decoding to the re-encoding control unit 920. The re-encoding unit 940 sequentially re-encodes the decoded data from the decoding unit 930 under the control of the re-encoding control unit 920 and outputs the result. The re-encoding controller 920 includes a bit analyzer 910
And the bit allocation in the re-encoding unit 940 based on the bit usage per frame input from the decoding unit 930 and the average quantization step size calculated from the quantization step size input from the decoding unit 930. Perform control.

【0007】また、図5(b)に示した再符号化装置
は、図5(a)に示した再符号化装置と同様の構成に加
え、符号化するタイミングを遅延させるための遅延用バ
ッファ960を備え、復号化部930から再符号化部9
40への復号データの伝送を遅らせながらビットストリ
ームの再符号化を行う。これは遅延させることによっ
て、再符号化制御部920が、再符号化対象のフレーム
のビット解析結果だけでなく、再符号化対象フレームの
未来のフレームのビット解析結果も用いてビット割当て
の制御を行えるようにしたものである。
The re-encoding device shown in FIG. 5 (b) has the same structure as the re-encoding device shown in FIG. 5 (a), and further includes a delay buffer for delaying the encoding timing. 960, from the decoding unit 930 to the re-encoding unit 9
The bit stream is re-encoded while delaying the transmission of the decoded data to 40. By delaying this, the re-encoding control unit 920 controls the bit allocation using not only the bit analysis result of the frame to be re-encoded but also the bit analysis result of the future frame of the frame to be re-encoded. It is something that can be done.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、図5
(a)に示した方法では、再符号化しようとするフレー
ムより過去に入力されたMPEG2ビットストリームを
解析した結果からのみしかビット割り当てを行うことし
かできず、再符号化しようとするフレームより時間的に
先のフレームに対するビット割り当てを考慮して、現在
再符号化しようとするフレームのビット割り当てを行う
ことができない、という問題があった。
However, FIG.
In the method shown in (a), bits can be allocated only from the result of analyzing the MPEG2 bit stream input in the past before the frame to be re-encoded, and the time is shorter than the frame to be re-encoded. There is a problem that it is not possible to perform bit allocation of a frame to be re-encoded at present in consideration of bit allocation to a previous frame.

【0009】また、図5(b)に示した方法では、再符
号化しようとするフレームより時間的に先のフレームに
対するビット割り当てを考慮するために、入力されたM
PEG2ビットストリームの解析に要する分だけ再符号
化を遅延させるための遅延用メモリが必要となる、とい
う問題があった。本発明は、このような状況を鑑みてな
されたもので、受信した符号化画像を符号化条件を変え
て再び符号化する場合に、新たに遅延用メモリを追加す
ることなく、再符号化しようとするフレームの時間的に
先までを考慮して最適なビット割り当てを行うことがで
きるような画像再符号化装置、画像再符号化方法及び記
録媒体を提供することを目的とする。
Further, in the method shown in FIG. 5B, in order to consider the bit allocation to a frame temporally ahead of the frame to be re-encoded, the input M
There is a problem that a delay memory for delaying the re-encoding is required for the analysis of the PEG2 bit stream. The present invention has been made in view of such a situation, and when re-encoding a received encoded image by changing the encoding conditions, re-encode without adding a new delay memory. It is an object of the present invention to provide an image re-encoding device, an image re-encoding method, and a recording medium capable of performing optimal bit allocation in consideration of a temporal point of a frame to be set.

【0010】[0010]

【課題を解決するための手段】上記問題を解決するた
め、本発明の画像再符号化装置は、所定の符号化条件に
より符号化された動画像データを、符号化条件を変えて
再符号化する画像再符号化装置であって、符号化に関す
る符号化補助情報が付加された動画像データを外部から
取得する取得手段と、前記動画像データから前記符号化
補助情報を抽出する抽出手段と、前記動画像データから
動画像を復号する復号手段と、前記取得した符号化補助
情報に基づいて、前記符号化条件とは異なる符号化条件
により前記動画像を再符号化する再符号化手段とを備え
る。
In order to solve the above-mentioned problems, an image re-encoding apparatus according to the present invention re-encodes moving image data encoded according to predetermined encoding conditions by changing the encoding conditions. An image re-encoding device that obtains, from outside, moving image data to which encoding auxiliary information relating to encoding is added, and an extracting unit that extracts the encoding auxiliary information from the moving image data, A decoding unit for decoding a moving image from the moving image data, and a re-encoding unit for re-encoding the moving image under an encoding condition different from the encoding condition based on the acquired encoding auxiliary information. Prepare.

【0011】[0011]

【発明の実施の形態】以下に本発明の実施形態にかかる
再符号化装置について図面を用いて説明する。図1は本
実施形態の再符号装置の構成を示すブロック図である。
同図において再符号化装置100は、ユーザデータ分離
部200、再符号化制御部300、復号化部400及び
再符号化部500から構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A re-encoding device according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the re-encoding device of the present embodiment.
In FIG. 1, the re-encoding device 100 includes a user data separating unit 200, a re-encoding control unit 300, a decoding unit 400, and a re-encoding unit 500.

【0012】ユーザデータ分離部200は、外部からM
PEG2方式により符号化された符号化画像が入力され
ると、符号化画像の中から再符号化情報を取り出して再
符号化制御部300へ出力する。再符号化情報は、符号
化画像中のユーザデータ領域に含まれる。ユーザデータ
領域は、MPEG2方式の場合、GOPヘッダ中やピク
チャヘッダ等、符号化単位の先頭領域に存在するデータ
領域である。図2(a)にユーザデータとGOPとの関
係を示す。図2(a)は、GOPヘッダ中に再符号化情
報を含むユーザデータ領域が存在する場合を示す。同図
においてユーザデータ201及び202は、GOPの先
頭部分のGOPヘッダ中に存在し、各GOP内の各フレ
ーム{KI01,KP03,KB01,KB02,KP0
6,KB04,KB05}、{KI12,KB10,KB1
1,KP13}の再符号化に関する情報を再符号化情報と
して保持する。同図(a)のようにGOP単位に各GO
Pのヘッダ部分に当GOP内のフレーム全てに関する再
符号化情報を含むようにしても良いが、別の方法とし
て、ピクチャ単位にピクチャヘッダ部分に当ピクチャに
関する再符号化情報を含むようにしても良い。図2
(b)にその例を示す。同図においてユーザデータ20
3、204、...、213は、各ピクチャの先頭部分の
ピクチャヘッダ中に存在し、それぞれが当ピクチャの再
符号化に関する情報を再符号化情報として保持する。
The user data separation unit 200 receives M
When an encoded image encoded by the PEG2 method is input, re-encoding information is extracted from the encoded image and output to the re-encoding control unit 300. The re-encoding information is included in a user data area in the encoded image. In the case of the MPEG2 system, the user data area is a data area existing in the head area of the coding unit, such as in a GOP header or a picture header. FIG. 2A shows the relationship between the user data and the GOP. FIG. 2A shows a case where a user data area including re-encoding information exists in the GOP header. In the figure, user data 201 and 202 exist in the GOP header at the head of the GOP, and each frame in each GOP {KI01, KP03, KB01, KB02, KP0}
6, KB04, KB05}, {KI12, KB10, KB1
1, KP13} as re-encoding information. As shown in FIG.
The header portion of P may include re-encoding information on all frames in the GOP. Alternatively, the re-encoding information on the picture may be included in a picture header portion on a picture-by-picture basis. FIG.
(B) shows an example. In FIG.
, 213 exist in the picture header at the head of each picture, and each holds information relating to the re-encoding of this picture as re-encoding information.

【0013】具体的に本実施形態において再符号化情報
は、各フレームのビット使用量及び各フレームの平均量
子化ステップサイズである。復号化部400は、ユーザ
データ分離部200より入力される符号化画像を復号し
た後、復号された画像を再符号化部500へ順次出力す
る。また、復号の際に得られた量子化ステップサイズを
再符号化制御部300へ、動きベクトル情報を再符号化
部500へ出力する。
Specifically, in the present embodiment, the re-encoding information is the bit usage of each frame and the average quantization step size of each frame. Decoding section 400 decodes the encoded image input from user data separating section 200 and then sequentially outputs the decoded image to re-encoding section 500. Further, it outputs the quantization step size obtained at the time of decoding to re-encoding control section 300 and the motion vector information to re-encoding section 500.

【0014】より詳しくは、復号化部400は、符号化
画像を可変長復号する可変長復号化部401、可変長復
号により得られる量子化DCT係数を逆量子化する逆量
子化部402、逆量子化により得られるDCT係数に逆
DCTを行う逆DCT部403、逆DCTにより得られ
る予測誤差と符号化画像に含まれる動きベクトルが示す
参照画像とを加算して復号画像を求める加算部404及
び参照フレームとなる復号画像を記憶しておくための復
号画像メモリ部405から構成される。これらの構成要
素による復号は一般的なMPEGデコーダと同様である
ので詳しい説明は省略する。
More specifically, the decoding section 400 includes a variable length decoding section 401 for performing variable length decoding on an encoded image, an inverse quantization section 402 for inversely quantizing a quantized DCT coefficient obtained by variable length decoding, An inverse DCT unit 403 that performs an inverse DCT on the DCT coefficient obtained by the quantization, an addition unit 404 that adds a prediction error obtained by the inverse DCT and a reference image indicated by a motion vector included in the encoded image to obtain a decoded image, It comprises a decoded image memory unit 405 for storing a decoded image to be a reference frame. Decoding by these components is the same as that of a general MPEG decoder, and a detailed description thereof will be omitted.

【0015】なお復号化部400が復号して再符号化部
500に出力する画像は、可変長復号部401及び逆量
子化部402のみで可変長復号及び逆量子化処理のみを
行ったDCT係数であってもよい。その場合、復号化部
400の構成上、逆DCT部403、加算部404及び
復号画像メモリ部405は不要となる。再符号化部50
0は、復号化部400より順次入力される復号画像を元
の符号化画像のビットレートとは異なるビットレートで
再符号化する。異なるビットレートとは、本実施形態に
おいては、元の符号化画像のビットレートよりも低いビ
ットレートであることとする。
The image decoded by the decoding unit 400 and output to the re-encoding unit 500 is a DCT coefficient obtained by performing only the variable-length decoding and the inverse quantization on only the variable-length decoding unit 401 and the inverse quantization unit 402. It may be. In that case, the inverse DCT section 403, the addition section 404, and the decoded image memory section 405 are not required due to the configuration of the decoding section 400. Re-encoding unit 50
0 re-encodes the decoded image sequentially input from the decoding unit 400 at a bit rate different from the bit rate of the original encoded image. In the present embodiment, the different bit rate is a bit rate lower than the bit rate of the original coded image.

【0016】より詳しくは再符号化部500は、復号画
像のフレームを必要に応じて符号化順に並び替えて保持
する並び替えメモリ部501、復号画像のブロック単位
に動き補償予測を行い動きベクトルを検出する動きベク
トル検出部502、参照フレームを記憶するための予測
画像メモリ部510、参照フレームの参照ブロックと復
号画像の符号化対象ブロックとから予測誤差を算出する
減算部503、予測誤差に対してDCTを行うDCT部
504、DCT係数に量子化を行う量子化部505、動
き補償予測に用いるために量子化DCT係数に対して逆
量子化及び逆DCTを行って参照フレームを得る逆量子
化部507及び逆DCT部508、及び量子化DCT係
数と動きベクトルとを可変長符号化して最終的な再符号
化画像を外部に出力する可変長符号化部506から構成
される。
More specifically, the re-encoding unit 500 rearranges and stores the frames of the decoded image in the order of encoding as necessary, and performs a motion compensation prediction for each block of the decoded image to calculate a motion vector. A motion vector detecting unit 502 for detecting, a predicted image memory unit 510 for storing a reference frame, a subtraction unit 503 for calculating a prediction error from a reference block of the reference frame and a coding target block of a decoded image, DCT section 504 for performing DCT, quantization section 505 for performing quantization on DCT coefficients, and inverse quantization section for performing inverse quantization and inverse DCT on quantized DCT coefficients for use in motion compensation prediction to obtain a reference frame 507 and the inverse DCT section 508, and the variable-length coding of the quantized DCT coefficient and the motion vector to output the final re-coded image to the outside. Composed of the variable length coding unit 506.

【0017】ここで動きベクトル検出部502は、復号
化部400より入力される動きベクトル情報を再符号化
における動きベクトルとしてそのまま用いてもよいし、
動きベクトル情報が示す動きベクトルを中心にその周辺
を探索してもよいし、動きベクトル情報とは無関係に新
たに動きベクトルを探索するようにしてもよい。量子化
部505は、再符号化制御部300より通知される量子
化制御情報中に示される各ブロックの量子化ステップサ
イズで量子化を行う。
Here, the motion vector detecting section 502 may use the motion vector information input from the decoding section 400 as it is as a motion vector in re-encoding,
The periphery around the motion vector indicated by the motion vector information may be searched, or a new motion vector may be searched regardless of the motion vector information. The quantization unit 505 performs quantization using the quantization step size of each block indicated in the quantization control information notified from the re-encoding control unit 300.

【0018】再符号化部500におけるその他の一般的
なMPEG符号化装置と同様であるので詳しい説明は省
略する。再符号化制御部300は、ユーザデータ分離部
200より入力される再符号化情報を解析し、符号化し
ようとするフレームに対する最適な割当てビット量を計
算し、その計算結果と復号化部400より通知される量
子化ステップサイズとに基づき再符号化部500のビッ
トレート制御を行う。具体的には、再符号化制御部30
0は、量子化部505において量子化される各ブロック
の量子化ステップサイズを決定し、量子化制御情報とし
て量子化部505に通知する。
Since the configuration is the same as that of other general MPEG encoding devices in the re-encoding unit 500, a detailed description is omitted. The re-encoding control unit 300 analyzes the re-encoding information input from the user data separating unit 200, calculates an optimal allocated bit amount for a frame to be encoded, and outputs the calculation result and the decoding unit 400 The bit rate control of the re-encoding unit 500 is performed based on the notified quantization step size. Specifically, the re-encoding control unit 30
0 determines the quantization step size of each block to be quantized by the quantization unit 505 and notifies the quantization unit 505 as quantization control information.

【0019】このように構成された再符号化装置100
について以下、その動作例を再符号化制御部300を中
心に説明する。図3は、再符号化制御部300の処理手
順を示すフローチャートである。同図において再符号化
制御部300は、まず、ユーザデータ分離部200より
出力される再符号化情報を取得する(ステップS30
1)。なお、ここにおいて再符号化情報は図2(a)に
示すようにGOPヘッダのユーザデータ領域に格納され
ているものとし、GOP内の各フレームのビット使用量
及び各フレームの平均量子化ステップサイズを含むもの
とする。
The re-encoding device 100 thus configured
Hereinafter, an example of the operation will be described focusing on the re-encoding control unit 300. FIG. 3 is a flowchart showing a processing procedure of the re-encoding control unit 300. In the figure, the re-encoding control section 300 first obtains the re-encoding information output from the user data separating section 200 (step S30).
1). Here, it is assumed that the re-encoding information is stored in the user data area of the GOP header as shown in FIG. 2A, the bit usage of each frame in the GOP, and the average quantization step size of each frame. Shall be included.

【0020】次に再符号化制御部300は、ステップS
302〜ステップS305の処理をGOP内のフレーム
枚数分繰り返す。詳しくは、再符号化制御部300は、
1フレーム分の再符号化情報を読み出す(ステップS3
02)。そして当フレームのビット使用量及び平均量子
化ステップとから当フレームに対する割当てビット量の
削減割合をA、B、C、Dとする(ステップS30
3)。これらA、B、C、DはステップS303におい
ては割当てビット量を削減する割合の高低を大まかに区
別するだけのもので、具体的な数値が決定されていない
状態であるものとし、後のステップS306において具
体的な値が決定されるものとする。
Next, the re-encoding control unit 300 determines in step S
The processing from step 302 to step S305 is repeated for the number of frames in the GOP. Specifically, the re-encoding control unit 300
Read out the re-encoded information for one frame (step S3
02). Then, based on the bit usage of the frame and the average quantization step, the reduction ratios of the allocated bits to the frame are A, B, C, and D (step S30).
3). These A, B, C, and D are only for roughly discriminating the level of the reduction rate of the allocated bit amount in step S303, and it is assumed that specific numerical values have not been determined. It is assumed that a specific value is determined in S306.

【0021】ここでステップS304の説明に進む前
に、ステップS303の処理を詳しく説明する。図4
は、ステップS303の詳細な処理を示すフローチャー
トである。まず再符号化制御部300は、図4のステッ
プS401において、当フレームのビット使用量が所定
しきい値Sより多いか否かを判定する。さらにステップ
S402及びステップS403において当フレームの平
均量子化ステップサイズが所定しきい値Pより大きいか
否かを判定する。
Before proceeding to the description of step S304, the process of step S303 will be described in detail. FIG.
9 is a flowchart showing a detailed process of step S303. First, in step S401 in FIG. 4, the re-encoding control unit 300 determines whether or not the bit usage of the frame is larger than a predetermined threshold S. Further, in steps S402 and S403, it is determined whether or not the average quantization step size of the frame is larger than a predetermined threshold value P.

【0022】判定の結果、当フレームのビット使用量が
所定しきい値Sより多く、平均量子化ステップサイズが
所定しきい値Pより大きい場合には、当フレームに割当
てるべき割当てビット量の削減割合をAとする(ステッ
プS404)。また当フレームのビット使用量が所定し
きい値Sより多く、平均量子化ステップサイズが所定し
きい値P以下の場合には、当フレームに割当てるべき割
当てビット量の削減割合をBとする(ステップS40
5)。また当フレームのビット使用量が所定しきい値S
以下で、平均量子化ステップサイズが所定しきい値Pよ
り大きい場合には、当フレームに割当てるべき割当てビ
ット量の削減割合をCとする(ステップS406)。ま
た当フレームのビット使用量が所定しきい値S以下で、
平均量子化ステップサイズが所定しきい値P以下である
場合には、当フレームに割当てるべき割当てビット量の
削減割合をDとする(ステップS407)。
As a result of the determination, if the bit usage of the frame is larger than the predetermined threshold value S and the average quantization step size is larger than the predetermined threshold value P, the reduction rate of the allocated bit amount to be allocated to the frame is determined. Is set to A (step S404). If the bit usage of the frame is larger than the predetermined threshold value S and the average quantization step size is equal to or smaller than the predetermined threshold value P, the reduction ratio of the allocated bit amount to be allocated to the frame is set to B (step S40
5). Also, the bit usage of this frame is equal to a predetermined threshold S.
Hereinafter, when the average quantization step size is larger than the predetermined threshold value P, the reduction ratio of the allocated bit amount to be allocated to the frame is set to C (step S406). When the bit usage of the frame is equal to or less than a predetermined threshold value S,
If the average quantization step size is equal to or smaller than the predetermined threshold value P, the reduction ratio of the allocated bit amount to be allocated to the frame is set to D (step S407).

【0023】ここにおいてA、B、C、Dの関係は、例
えば、A=CかつB=DかつB>Aとする。この場合、平
均量子化ステップがしきい値P以下のフレームの方が、
しきい値Pより大きいフレームよりも割当てビット量が
大幅に削減されることとなる。A、B、C、Dをこのよ
うな関係、すなわちA=CかつB=DかつB>Aとするの
は、以下の理由による。
Here, the relationship among A, B, C, and D is, for example, A = C, B = D, and B> A. In this case, the frame whose average quantization step is equal to or smaller than the threshold value P is
The amount of allocated bits is significantly reduced as compared with a frame larger than the threshold value P. A, B, C, and D have such a relationship, that is, A = C, B = D, and B> A for the following reason.

【0024】すなわち、ビット使用量と平均の量子化ス
テップサイズは、それらの兼ね合いから、ビット使用量
が多く平均の量子化ステップサイズが大きい場合は、画
像が非常に複雑なパターンであることが考えられる。ま
た、ビット使用量が多く平均の量子化ステップサイズが
小さい場合は、画像が複雑なパターンであるか、画像が
それ程複雑なパターンではないがそれまでの累積ビット
使用量が少ないために、必要以上にビットを発生させて
いることが考えられる。また、ビット使用量が少なく平
均の量子化ステップサイズが大きい場合は、画像が単純
なパターンであるか、画像がそれ程単純なパターンでは
ないがそれまでの累積ビット使用量が多いために、必要
以上にビットを削減させていることが考えられる。ま
た、ビット使用量が少なく平均の量子化ステップサイズ
が小さい場合は、画像が非常に単純なパターンであるこ
とが考えられる。
That is, considering the amount of bits used and the average quantization step size, when the amount of bits used is large and the average quantization step size is large, it is considered that the image is a very complicated pattern. Can be Also, if the bit usage is large and the average quantization step size is small, the image is a complicated pattern or the image is not a very complicated pattern but the accumulated bit usage up to that point is less than necessary. It is considered that a bit is generated in In addition, when the bit usage is small and the average quantization step size is large, the image is a simple pattern or the image is not a simple pattern but the accumulated bit usage up to that point is too large. It is considered that the number of bits is reduced. If the bit usage is small and the average quantization step size is small, the image may be a very simple pattern.

【0025】従って、ビット使用量が多く平均の量子化
ステップサイズが小さいフレームやビット使用量が少な
く平均の量子化ステップサイズが小さいフレームに対し
ては、必要以上にビットを使用しているものと見なし、
再符号化時にはビット割り当てが削減される割合が大き
くなるようにする。また、ビット使用量が多く平均の量
子化ステップサイズが大きいフレームやビット使用量が
少なく平均の量子化ステップサイズが大きいフレームに
対しては、必要以上にビットが削減されているものと見
なし、再符号化時にはビット割り当てが削減される割合
が小さくなるようにする。
Therefore, for a frame having a large bit usage and a small average quantization step size or a frame having a small bit usage and a small average quantization step size, it is assumed that the bits are used more than necessary. Deemed,
At the time of re-encoding, the rate at which bit allocation is reduced is increased. Frames with a large bit usage and a large average quantization step size or frames with a small bit usage and a large average quantization step size are considered to have reduced bits more than necessary, and At the time of encoding, the rate at which bit allocation is reduced is reduced.

【0026】図3に戻って、ステップS304におい
て、再符号化制御部300は、削減割合A、B、C、D
別にフレームの数を累計し(ステップS305)、GO
Pの全フレームについてステップS302〜ステップS
304の処理を行ったらステップS306に進む(ステ
ップS305)。この結果、例えば1GOPの全フレー
ムのうちAと決定されたフレームが3枚、Bと決定され
たフレームが4枚というように削減割合別にフレーム枚
数が求まる。
Referring back to FIG. 3, in step S304, re-encoding control section 300 sets reduction rates A, B, C, D
The number of frames is separately accumulated (step S305), and GO
Steps S302 to S for all frames of P
After performing the process of step 304, the process proceeds to step S306 (step S305). As a result, the number of frames is determined for each reduction ratio, for example, three frames determined to be A and four frames determined to be B among all frames of one GOP.

【0027】最後に再符号化制御部300は、A、B、
C、Dの関係、すなわちA=CかつB=DかつB>Aの関
係と、削減割合別のフレーム枚数と、GOPの目標ビッ
トレートとからこれらの条件を満たすA、B、C、Dの
具体的な値を決定し、それらの値から、各フレームの割
当てビット量を決定する。以上のようにして再符号化制
御部300は、各フレームの割当てビット量を決定する
と、さらに割当てビット量におさまるように各フレーム
のブロック毎の量子化ステップサイズを決定する。この
ブロック毎の量子化ステップサイズの決定方法は、例え
ばTM5といった従来方法を利用すればよい。簡単に説
明すると、TM5では、割当てビット量と実際のマクロ
ブロック単位の発生符号量とを比較し、発生符号量の合
計が割当てビット量に収まるようにマクロブロック単位
の量子化ステップサイズを順次に決定する。また別の方
法としては、復号化部400から得られるマクロブロッ
ク毎の量子化ステップサイズを利用して、各量子化ステ
ップサイズを削減割合で重み付けて得られる値を再符号
化の量子化ステップサイズとして用いてもよい。
Finally, the re-encoding control unit 300 determines whether A, B,
From the relationship between C and D, that is, the relationship between A = C and B = D and B> A, the number of frames for each reduction ratio, and the target bit rate of the GOP, the values of A, B, C, and D satisfying these conditions are obtained. Specific values are determined, and from these values, the allocated bit amount of each frame is determined. When the re-encoding control unit 300 determines the amount of bits to be allocated to each frame as described above, the re-encoding control unit 300 further determines the quantization step size for each block of each frame so that the amount of allocated bits is further reduced. As a method for determining the quantization step size for each block, a conventional method such as TM5 may be used. Briefly, in TM5, the allocated bit amount is compared with the actual generated code amount in macroblock units, and the quantization step size in macroblock units is sequentially determined so that the total generated code amount falls within the allocated bit amount. decide. As another method, a quantization step size for each macro block obtained from the decoding unit 400 is used, and a value obtained by weighting each quantization step size at a reduction rate is used as a quantization step size for re-encoding. May be used.

【0028】そして、その計算結果に基づき符号化部4
00より供給される量子化ステップサイズを、ビット割
り当てを削減させるフレームに対しては大きくとるよう
な制御をし、逆にビット割り当てを増加させるフレーム
に対しては小さくとるような制御をし、最終的に再符号
化の平均ビットレートに適合するように調整しながら、
再符号化部500の制御を行う。
Then, based on the calculation result, the encoding unit 4
The quantization step size supplied from 00 is controlled so as to be large for a frame for which bit allocation is reduced, and conversely, such control as to be small for a frame for which bit allocation is increased. While adjusting to match the average bit rate of re-encoding
The re-encoding unit 500 is controlled.

【0029】このような構成により、再符号化装置は、
受信した符号化画像の符号化条件を変えて再び符号化す
る場合に、新たに遅延用メモリを追加することなく、再
符号化しようとするフレームの時間的に先のフレームま
でを考慮した最適なビット割当てを行うことができる。
以上、本発明の再符号化装置について実施形態に基づい
て説明したが、本発明は上記実施形態に限らず、以下の
ようにしてもよい。
With such a configuration, the re-encoding device
When re-encoding a received encoded image by changing the encoding conditions, it is possible to optimize the frame to be re-encoded in consideration of a temporally earlier frame without adding a new delay memory. Bit allocation can be performed.
As described above, the re-encoding device of the present invention has been described based on the embodiment. However, the present invention is not limited to the above-described embodiment, and may be as follows.

【0030】(1)再符号化制御部300は、GOPヘ
ッダに含まれる再符号化情報に示されるフレーム毎のビ
ット使用量が、時間経過とともに増加傾向にある場合、
GOPの前半部分の累積ビット使用量が少ないために、
後半部分で必要以上にビットを発生させているものとみ
なし、時間経過とともに割当てビット量の削減割合が大
きくなるよう各フレームの割当てビット量を決定する構
成にしてもよい。再符号化情報に示されるフレーム毎の
ビット使用量が、時間経過とともに減少傾向にある場
合、GOPの前半部分の累積ビット量が多いために、後
半部分で必要以上にビットを削減させているものとみな
して、時間経過とともに割当てビット量の削減割合が小
さくなるよう各フレームの割当てビット量を決定する構
成にしてもよい。 (2)削減割合A、B、C、Dの関係は、上記実施形態
の関係に限る必要はない。例えば、B>D>A>Cとい
うように全て異なる値の関係にしてもよい。 (3)再符号化制御部300は、再符号化情報に示され
る各フレームのビット使用量から削減割合A、B、C、
Dを削減した値を、各フレーム割当てビット量と決定す
るよう構成してもよい。 (4)上記実施形態及び(1)〜(3)を組み合わせて
実行してもよい。
(1) If the bit usage per frame indicated in the recoding information included in the GOP header tends to increase with time,
Because the accumulated bit usage in the first half of the GOP is small,
It may be considered that bits are generated more than necessary in the latter half, and the allocated bit amount of each frame is determined so that the reduction ratio of the allocated bit amount increases with time. If the bit usage per frame indicated in the re-encoding information is decreasing with time, the bits are reduced more than necessary in the second half because the accumulated bit amount in the first half of the GOP is large. In such a case, the allocation bit amount of each frame may be determined so that the reduction ratio of the allocation bit amount decreases with time. (2) The relationship among the reduction ratios A, B, C, and D need not be limited to the relationship in the above embodiment. For example, a relationship of all different values such as B>D>A> C may be used. (3) The re-encoding control unit 300 determines the reduction ratios A, B, C, and B from the bit usage of each frame indicated in the re-encoding information.
A configuration in which a value obtained by reducing D is determined as each frame allocation bit amount may be adopted. (4) The above embodiment and (1) to (3) may be executed in combination.

【0031】[0031]

【発明の効果】本発明の画像再符号化装置は、所定の符
号化条件により符号化された動画像データを、符号化条
件を変えて再符号化する画像再符号化装置であって、符
号化に関する符号化補助情報が付加された動画像データ
を外部から取得する取得手段と、前記動画像データから
前記符号化補助情報を抽出する抽出手段と、前記動画像
データから動画像を復号する復号手段と、前記取得した
符号化補助情報に基づいて、前記符号化条件とは異なる
符号化条件により前記動画像を再符号化する再符号化手
段とを備える。
An image re-encoding device according to the present invention is an image re-encoding device for re-encoding moving image data encoded according to predetermined encoding conditions by changing the encoding conditions. Acquiring means for externally acquiring moving image data to which encoding auxiliary information relating to encoding is added, extracting means for extracting the encoding auxiliary information from the moving image data, and decoding for decoding a moving image from the moving image data Means, and re-encoding means for re-encoding the moving image based on the obtained encoding auxiliary information under an encoding condition different from the encoding condition.

【0032】この構成によれば画像再符号化装置は、符
号化補助情報に基づいて再符号化を行うので、再符号化
を行う前にフレーム全体、つまり符号化対象のフレーム
より時間的に先のフレームを含むフレーム全体のビット
割当てを考慮して、最適なビット割当てを行うことがで
きる。すなわち効率良くビット割り当てが行え高画質な
再符号化を行う画像再符号化装置を実現できる。また時
間的に先のフレームのビット割当てを考慮するために、
従来のように新たに遅延用メモリを設ける必要がなくな
るという効果もある。
According to this configuration, the image re-encoding device performs re-encoding on the basis of the encoding auxiliary information. Therefore, before performing the re-encoding, the entire frame, that is, the temporally earlier frame than the frame to be encoded. Optimum bit allocation can be performed in consideration of the bit allocation of the entire frame including the frame of (i). That is, it is possible to realize an image re-encoding device that can efficiently allocate bits and perform high-quality re-encoding. Also, in order to consider the bit allocation of the frame ahead in time,
There is also an effect that it is not necessary to newly provide a delay memory as in the related art.

【0033】また、前記取得手段は、元の符号化におい
て用いられたフレーム毎の量子化ステップサイズを含む
符号化補助情報が付加された動画像データを取得し、前
記抽出手段は、前記フレーム毎の量子化ステップサイズ
を前記符号化補助情報として抽出し、前記再符号化手段
は、再符号化におけるフレーム毎の割当てビット量を、
元の符号化における割当てビット量よりも少なくするこ
とを符号化条件として、前記抽出手段により抽出された
量子化ステップサイズが小さいフレームほど、元の符号
化における割当てビット量からより多くビット量を減じ
たビット量を再符号化における割当てビット量として、
当該ビット量を目標発生ビット量として当該フレームを
符号化するよう構成してもよい。この構成により、割当
てビット量が無駄に多くなるフレームがなくなり、フレ
ーム全体で、効率良いビット割当てとなり、高画質な再
符号化を行うという効果がある。
Further, the acquiring means acquires moving image data to which encoding auxiliary information including a quantization step size for each frame used in the original encoding has been added, and the extracting means comprises: The quantization step size is extracted as the encoding auxiliary information, and the re-encoding unit calculates the allocated bit amount for each frame in the re-encoding,
Assuming that the smaller the quantization step size extracted by the extracting means, the smaller the bit amount allocated in the original encoding, the more the bit amount is reduced from the allocated bit amount in the original encoding, with the encoding condition being set to be smaller than the allocated bit amount in the original encoding. The amount of bits assigned to the
The frame may be encoded using the bit amount as a target generated bit amount. According to this configuration, there is no frame in which the allocated bit amount becomes uselessly large, efficient bit allocation is performed for the entire frame, and high-quality re-encoding is performed.

【0034】また前記取得手段は、元の符号化における
フレーム毎の発生ビット量を含む符号化補助情報が付加
された動画像データを取得し、前記抽出手段は、前記フ
レーム毎の発生ビット量を前記符号化補助情報として抽
出し、前記再符号化手段は、前記フレーム毎の発生ビッ
ト量が大きいフレームほど、元の符号化における割当て
ビット量からより多くビット量を減じたビット量を再符
号化における割当てビット量として、当該ビット量を目
標発生ビット量として当該フレームを符号化するよう構
成されるので、上記と同様の効果がある。
The acquiring means acquires moving image data to which encoding auxiliary information including the generated bit amount for each frame in the original encoding is added, and the extracting means determines the generated bit amount for each frame. Extracted as the encoding auxiliary information, the re-encoding unit re-encodes a bit amount obtained by subtracting a larger amount of bits from the allocated bit amount in the original encoding as the generated bit amount for each frame is larger. Since the frame is coded with the bit amount as the target generated bit amount as the allocated bit amount in, the same effect as described above is obtained.

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

【図1】図1は本実施形態の再符号装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram illustrating a configuration of a re-encoding device according to an embodiment;

【図2】(a)は、GOPヘッダ中に再符号化情報を含
むユーザデータ領域が存在する場合のデータ構造を示
す。(b)は、ピクチャヘッダ中に再符号化情報を含む
データ領域が存在する場合のデータ構造を示す。
FIG. 2A shows a data structure when a GOP header includes a user data area including recoding information. (B) shows a data structure in the case where a data area including the re-encoding information exists in the picture header.

【図3】図3は、再符号化制御部300の処理手順を示
すフローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure of a re-encoding control unit 300;

【図4】図4は、ステップS303の詳細な処理を示す
フローチャートである。
FIG. 4 is a flowchart illustrating a detailed process of step S303.

【図5】(a)従来の再符号化装置の一例を示す。 (b)従来の再符号化装置のその他の例を示す。FIG. 5A shows an example of a conventional re-encoding device. (B) Another example of the conventional re-encoding device is shown.

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

100 再符号化装置 200 ユーザデータ分離部 300 再符号化制御部 400 復号化部 401 可変長復号化部 402 逆量子化部 403 逆DCT部 404 加算部 405 復号画像メモリ部 500 再符号化部 501 並び替えメモリ部 502 動きベクトル検出部 503 減算部 504 DCT部 505 量子化部 507 逆量子化部 508 逆DCT部 506 可変長符号化部 510 予測画像メモリ部 Reference Signs List 100 re-encoding device 200 user data separation unit 300 re-encoding control unit 400 decoding unit 401 variable length decoding unit 402 inverse quantization unit 403 inverse DCT unit 404 addition unit 405 decoded image memory unit 500 re-encoding unit 501 Replacement memory unit 502 Motion vector detection unit 503 Subtraction unit 504 DCT unit 505 Quantization unit 507 Inverse quantization unit 508 Inverse DCT unit 506 Variable length encoding unit 510 Predictive image memory unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK00 KK34 MA00 MA23 ME01 NN01 RC09 RC26 RC28 SS06 SS11 TA53 TA60 TA62 TB03 TC19 TC25 TC38 TD12 UA02 UA34 5J064 BA09 BA16 BB03 BC01 BC02 BC08 BC16 BC21 BD03  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C059 KK00 KK34 MA00 MA23 ME01 NN01 RC09 RC26 RC28 SS06 SS11 TA53 TA60 TA62 TB03 TC19 TC25 TC38 TD12 UA02 UA34 5J064 BA09 BA16 BB03 BC01 BC02 BC08 BC16 BC21 BD03

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 所定の符号化条件により符号化された動
画像データを、符号化条件を変えて再符号化する画像再
符号化装置であって、 符号化に関する符号化補助情報が付加された動画像デー
タを外部から取得する取得手段と、 前記動画像データから前記符号化補助情報を抽出する抽
出手段と、 前記動画像データから動画像を復号する復号手段と、 前記取得した符号化補助情報に基づいて、前記符号化条
件とは異なる符号化条件により前記動画像を再符号化す
る再符号化手段とを備えることを特徴とする画像再符号
化装置。
1. An image re-encoding device for re-encoding moving image data encoded according to a predetermined encoding condition by changing an encoding condition, wherein encoding auxiliary information relating to encoding is added. Acquiring means for acquiring moving image data from outside; extracting means for extracting the encoding auxiliary information from the moving image data; decoding means for decoding a moving image from the moving image data; and the acquired encoding auxiliary information. Re-encoding means for re-encoding the moving image based on a coding condition different from the coding condition.
【請求項2】 前記取得手段は、元の符号化において用
いられたフレーム毎の量子化ステップサイズを含む符号
化補助情報が付加された動画像データを取得し、 前記抽出手段は、前記フレーム毎の量子化ステップサイ
ズを前記符号化補助情報として抽出し、 前記再符号化手段は、再符号化におけるフレーム毎の割
当てビット量を、元の符号化における割当てビット量よ
りも少なくすることを符号化条件として、前記抽出手段
により抽出された量子化ステップサイズが大きいフレー
ムほど、元の符号化における割当てビット量からより多
くビット量を減じたビット量を再符号化における割当て
ビット量として、当該ビット量を目標発生ビット量とし
て当該フレームを符号化することを特徴とする請求項1
記載の画像再符号化装置。
2. The method according to claim 1, wherein the acquiring unit acquires moving image data to which encoding auxiliary information including a quantization step size for each frame used in the original encoding is added. The quantization step size is extracted as the encoding auxiliary information, and the re-encoding means encodes that the allocated bit amount for each frame in the re-encoding is smaller than the allocated bit amount in the original encoding. As a condition, for a frame having a larger quantization step size extracted by the extraction means, a bit amount obtained by subtracting a larger bit amount from the allocated bit amount in the original encoding is set as the allocated bit amount in the re-encoding, and 2. The frame is coded with the target bit amount as a target generation bit amount.
An image re-encoding device according to claim 1.
【請求項3】 前記取得手段は、元の符号化におけるフ
レーム毎の発生ビット量を含む符号化補助情報が付加さ
れた動画像データを取得し、 前記抽出手段は、前記フレーム毎の発生ビット量を前記
符号化補助情報として抽出し、 前記再符号化手段は、 前記フレーム毎の発生ビット量が大きいフレームほど、
元の符号化における割当てビット量からより多くビット
量を減じたビット量を再符号化における割当てビット量
として、当該ビット量を目標発生ビット量として当該フ
レームを符号化することを特徴とする請求項1記載の画
像再符号化装置。
3. The acquiring unit acquires moving image data to which encoding auxiliary information including an amount of generated bits for each frame in the original encoding is added, and the extracting unit includes an amount of generated bits for each frame. Is extracted as the encoding auxiliary information, and the re-encoding unit determines that the larger the amount of generated bits for each frame,
The frame is coded by setting a bit amount obtained by subtracting a larger bit amount from the allocated bit amount in the original coding as an allocated bit amount in the re-encoding, and using the bit amount as a target generated bit amount. 2. The image re-encoding device according to 1.
【請求項4】 所定の符号化条件により符号化された動
画像データを、符号化条件を変えて再符号化する再符号
化方法であって、 符号化に関する符号化補助情報が付加された動画像デー
タを外部から取得する取得ステップと、 前記動画像データから前記符号化補助情報を抽出する抽
出ステップと、 前記動画像データから動画像を復号する復号ステップ
と、 前記取得した符号化補助情報に基づいて、前記符号化条
件とは異なる符号化条件により前記動画像を再符号化す
る再符号化ステップとからなることを特徴とする画像再
符号化方法。
4. A re-encoding method for re-encoding moving image data encoded according to a predetermined encoding condition by changing an encoding condition, wherein the moving image to which encoding auxiliary information related to encoding is added An acquisition step of acquiring image data from outside; an extraction step of extracting the encoding auxiliary information from the moving image data; a decoding step of decoding a moving image from the moving image data; A re-encoding step of re-encoding the moving image based on an encoding condition different from the encoding condition based on the encoding condition.
【請求項5】 所定の符号化条件により符号化された動
画像データを、符号化条件を変えて再符号化するための
プログラムを記録したコンピュータ読み取り可能な記録
媒体であって、当該プログラムはコンピュータに、 符号化に関する符号化補助情報が付加された動画像デー
タを外部から取得する取得ステップと、 前記動画像データから前記符号化補助情報を抽出する抽
出ステップと、 前記動画像データから動画像を復号する復号ステップ
と、 前記取得した符号化補助情報に基づいて、前記符号化条
件とは異なる符号化条件により前記動画像を再符号化す
る再符号化ステップとを実行させることを特徴とするコ
ンピュータ読み取り可能な記録媒体。
5. A computer-readable recording medium storing a program for re-encoding moving image data encoded according to a predetermined encoding condition while changing the encoding condition, wherein the program is a computer-readable recording medium. An acquisition step of externally acquiring moving image data to which encoding auxiliary information relating to encoding is added; an extraction step of extracting the encoding auxiliary information from the moving image data; and a moving image from the moving image data. A decoding step of decoding, and a re-encoding step of re-encoding the moving image under an encoding condition different from the encoding condition based on the acquired encoding auxiliary information. A readable recording medium.
JP2000344373A 2000-11-10 2000-11-10 Image re-coder Pending JP2002152735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000344373A JP2002152735A (en) 2000-11-10 2000-11-10 Image re-coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000344373A JP2002152735A (en) 2000-11-10 2000-11-10 Image re-coder

Publications (1)

Publication Number Publication Date
JP2002152735A true JP2002152735A (en) 2002-05-24

Family

ID=18818579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000344373A Pending JP2002152735A (en) 2000-11-10 2000-11-10 Image re-coder

Country Status (1)

Country Link
JP (1) JP2002152735A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006074635A (en) * 2004-09-06 2006-03-16 Hitachi Ltd Method and device for converting encoded video signal
JP2008022476A (en) * 2006-07-14 2008-01-31 Sony Corp Video signal processing apparatus and video signal information processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006074635A (en) * 2004-09-06 2006-03-16 Hitachi Ltd Method and device for converting encoded video signal
US7953281B2 (en) 2004-09-06 2011-05-31 Hitachi, Ltd. Encoded image signal conversion method and apparatus
JP2008022476A (en) * 2006-07-14 2008-01-31 Sony Corp Video signal processing apparatus and video signal information processing method, and program

Similar Documents

Publication Publication Date Title
US6301428B1 (en) Compressed video editor with transition buffer matcher
KR101012600B1 (en) Rate control with picture-based lookahead window
US8948242B2 (en) Encoding device and method and multimedia apparatus including the encoding device
JP4358215B2 (en) Video encoding apparatus and method
JP5128389B2 (en) Moving picture coding apparatus and moving picture coding method
JP4795223B2 (en) Image processing device
JP4788250B2 (en) Moving picture signal encoding apparatus, moving picture signal encoding method, and computer-readable recording medium
KR100950525B1 (en) Transcoding apparatus and method, target bit allocation, complexity prediction apparatus and method of picture therein
JP4224778B2 (en) STREAM CONVERTING APPARATUS AND METHOD, ENCODING APPARATUS AND METHOD, RECORDING MEDIUM, AND PROGRAM
JP3815665B2 (en) Variable bit rate video encoding apparatus and recording medium
JP2007306370A (en) Image coding recorder
JP4826533B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4120934B2 (en) Image processing apparatus, image processing method, recording medium, and program
JP2002152735A (en) Image re-coder
JP4073541B2 (en) Video re-encoding device
JP4254784B2 (en) Moving picture coding apparatus, method and program
JP2000092489A (en) Device and method for image encoding and medium recorded with program
US20060034522A1 (en) Method and system for equalizing video quality using selective re-encoding
JP4871848B2 (en) Video re-encoding device
JP4231045B2 (en) Video coding method and apparatus
JP2008042660A (en) Video signal reencoding device and video signal reencoding method
JP4264535B2 (en) Image processing apparatus and method, recording medium, and program
KR100678843B1 (en) Intra-prame qvantomizing system for mpeg encoder and method thereof
JP4273386B2 (en) Encoding apparatus, encoding method, program, and recording medium
JP2000228770A (en) Variable rate moving picture coding method and moving picture edit system