Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4928569B2 - Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system - Google Patents
[go: Go Back, main page]

JP4928569B2 - Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system - Google Patents

Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system Download PDF

Info

Publication number
JP4928569B2
JP4928569B2 JP2009005366A JP2009005366A JP4928569B2 JP 4928569 B2 JP4928569 B2 JP 4928569B2 JP 2009005366 A JP2009005366 A JP 2009005366A JP 2009005366 A JP2009005366 A JP 2009005366A JP 4928569 B2 JP4928569 B2 JP 4928569B2
Authority
JP
Japan
Prior art keywords
segment
encoding
stream
buffer
encoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009005366A
Other languages
Japanese (ja)
Other versions
JP2010166197A (en
Inventor
隆一 谷田
淳 清水
健 中村
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.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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 Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009005366A priority Critical patent/JP4928569B2/en
Publication of JP2010166197A publication Critical patent/JP2010166197A/en
Application granted granted Critical
Publication of JP4928569B2 publication Critical patent/JP4928569B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は,シーケンスの一部分を切り出したセグメントを,in点とout点のバッファ位置が決まっている状態で符号化し,最終的に前後の符号化ストリームと結合して一本のストリームを生成する符号化技術に関するものである。   The present invention encodes a segment obtained by cutting out a part of a sequence in a state where the buffer positions of the in point and the out point are determined, and finally combines the preceding and subsequent encoded streams to generate a single stream. Is related to the technology.

図8は,セグメントエンコードに対応していない従来の符号化装置の構成例を示す図であり,図9は,その符号化装置の処理フローチャートである。   FIG. 8 is a diagram illustrating a configuration example of a conventional encoding device that does not support segment encoding, and FIG. 9 is a process flowchart of the encoding device.

図8および図9に従って,セグメントエンコードに対応していない従来の一般的な符号化処理方法について説明する。原画像のシーケンスを符号化するにあたって,まず,符号化装置200は,符号化対象の原画像を原画像保存部201に保存する(ステップS201)。また,目標レートT,初期バッファ位置Bstart,バッファサイズBSをもとに,符号量制御部202で,量子化幅の初期値を決定する(ステップS202)。その後,全フレームについて,ステップS204〜S207の処理を反復する(ステップS203)。   A conventional general encoding method that does not support segment encoding will be described with reference to FIGS. In encoding an original image sequence, first, the encoding apparatus 200 stores an original image to be encoded in the original image storage unit 201 (step S201). Also, based on the target rate T, the initial buffer position Bstart, and the buffer size BS, the code amount control unit 202 determines an initial value of the quantization width (step S202). Thereafter, the processing of steps S204 to S207 is repeated for all frames (step S203).

まず,符号量制御部202で求めた量子化幅をもとに,符号化部203にて,1フレームを符号化し,符号化情報を時刻情報付加部204へ送る(ステップS204)。符号化結果の発生符号量とその履歴,目標レートT,初期バッファ位置Bstart,バッファサイズBSから,デコード用時刻情報を符号量制御部202で算出して,時刻情報付加部204へ送信する(ステップS205)。一方,同じく発生符号量とその履歴,目標レートT,初期バッファ位置Bstart,バッファサイズBSから,次フレームの量子化幅を符号量制御部202で算出し,符号化部203に送る(ステップS206)。時刻情報付加部204では,符号化部203からの符号化情報に符号量制御部202からのデコード用時刻情報を付加してストリームを生成する(ステップS207)。以上の操作を全フレームに対して反復する(ステップS208)。   First, one frame is encoded by the encoding unit 203 based on the quantization width obtained by the code amount control unit 202, and the encoded information is sent to the time information adding unit 204 (step S204). The decoding time information is calculated by the code amount control unit 202 from the generated code amount of the encoding result and its history, the target rate T, the initial buffer position Bstart, and the buffer size BS, and transmitted to the time information adding unit 204 (step) S205). On the other hand, the code amount control unit 202 calculates the quantization width of the next frame from the generated code amount and its history, the target rate T, the initial buffer position Bstart, and the buffer size BS, and sends them to the encoding unit 203 (step S206). . The time information adding unit 204 adds the decoding time information from the code amount control unit 202 to the encoded information from the encoding unit 203 to generate a stream (step S207). The above operation is repeated for all frames (step S208).

図10は,図8に示す符号化部203の構成例を示す。符号化部203は,符号化対象の原画像の画像信号と符号化時の量子化幅を入力する。まず,減算器211により原画像と予測画像の差分をとり,予測残差画像を生成する。直交変換部212は,予測残差画像に対してDCT変換などの直交変換を行い,直交変換係数を出力する。量子化部213は,指定された量子化幅により,直交変換係数を量子化する。可変長符号化部214は,量子化後の直交変換係数を可変長符号に変換し,符号化情報として出力する。   FIG. 10 shows a configuration example of the encoding unit 203 shown in FIG. The encoding unit 203 inputs an image signal of an original image to be encoded and a quantization width at the time of encoding. First, the subtractor 211 calculates the difference between the original image and the predicted image and generates a predicted residual image. The orthogonal transform unit 212 performs orthogonal transform such as DCT transform on the prediction residual image and outputs an orthogonal transform coefficient. The quantization unit 213 quantizes the orthogonal transform coefficient with the designated quantization width. The variable length encoding unit 214 converts the quantized orthogonal transform coefficient into a variable length code and outputs it as encoded information.

一方,逆量子化部215は,量子化後の直交変換係数を逆量子化する。逆直交変換部216は,逆量子化後の直交変換係数に逆直交変換を施し,予測残差復号画像を生成する。加算器217により,予測残差復号画像と予測画像とを加算することにより復号画像を生成し,復号画像保存メモリ218に格納する。予測画像生成部219は,復号画像保存メモリ218に格納された復号画像を参照画像として,動き探索などを用いて,次の予測残差画像を求めるための予測画像を生成する。   On the other hand, the inverse quantization unit 215 inversely quantizes the quantized orthogonal transform coefficient. The inverse orthogonal transform unit 216 performs inverse orthogonal transform on the orthogonal transform coefficient after inverse quantization, and generates a prediction residual decoded image. The adder 217 generates a decoded image by adding the predicted residual decoded image and the predicted image, and stores the decoded image in the decoded image storage memory 218. The predicted image generation unit 219 uses the decoded image stored in the decoded image storage memory 218 as a reference image to generate a predicted image for obtaining the next predicted residual image using motion search or the like.

以上の符号化部203は一般的なものであるが,他の符号化方法を用いることもできる。   The above encoding unit 203 is a general one, but other encoding methods can also be used.

次に,本発明が対象としているセグメントエンコード(セグメント符号化)について説明する。図11に,セグメントエンコードが必要になる場合の例を示す。   Next, segment encoding (segment encoding) targeted by the present invention will be described. FIG. 11 shows an example when segment encoding is required.

セグメントエンコードは,シーケンスの一部を切り出して符号化する技術である。これは,例えば図11(A)に示すように,画像シーケンスを時間方向に複数パート(これをセグメントという)に分割し,複数台のセグメント符号化装置1001〜1003で並列にエンコードする場合や,図11(B)に示すように,編集作業で既に符号化したストリームの一部分だけを再エンコードする場合に用いられる。最終的にセグメントエンコードされたストリームは,前後のストリームと結合し,1本のストリームにする。   Segment encoding is a technique for extracting and encoding a part of a sequence. For example, as shown in FIG. 11A, when an image sequence is divided into a plurality of parts (referred to as segments) in the time direction and encoded in parallel by a plurality of segment encoding devices 1001 to 1003, As shown in FIG. 11B, it is used when only a part of a stream that has already been encoded by editing work is re-encoded. The finally segment-encoded stream is combined with the preceding and succeeding streams to form one stream.

このようにセグメントエンコードされたストリームを,前後のストリームと結合するときの最大の問題は,バッファの不整合である。CBR(ビットレート一定)で符号化する場合,デコーダバッファが破綻しないようにバッファ推移を監視しながら発生符号量を制御する必要がある。セグメントエンコードの場合,個々のストリームについては,CBRモードを有する既存のエンコーダを用いることで,バッファ破綻させずに符号化可能であるが,前後のストリームのバッファ位置をチェックしないため,1本のストリームにつなげた場合,バッファ破綻が起こる可能性がある。   The biggest problem when combining such segment-encoded streams with the preceding and succeeding streams is buffer mismatch. When encoding with CBR (constant bit rate), it is necessary to control the generated code amount while monitoring the buffer transition so that the decoder buffer does not fail. In the case of segment encoding, each stream can be encoded without using a buffer failure by using an existing encoder having the CBR mode. However, since the buffer positions of the preceding and succeeding streams are not checked, one stream is used. If it is connected, buffer corruption may occur.

図12に,ストリームを結合した場合にバッファ破綻を起こす例,図13に,バッファ破綻が起こらない例を示す。   FIG. 12 shows an example in which a buffer failure occurs when streams are combined, and FIG. 13 shows an example in which a buffer failure does not occur.

例えば,図12(A)に示すように,あるセグメントnの終端バッファ位置が,次セグメントn+1の開始バッファ位置よりも低い場合,これらを結合すると,図12(B)に示すように,セグメントn+1の中でバッファアンダーフローが発生し,バッファ破綻を起こす可能性がある。   For example, as shown in FIG. 12A, when the end buffer position of a certain segment n is lower than the start buffer position of the next segment n + 1, these are combined, and as shown in FIG. 12B, the segment n + 1 May cause buffer underflow and buffer failure.

逆に,図13(A)に示すように,あるセグメントnの終端バッファ位置が,次セグメントn+1の開始バッファ位置よりも高い場合,これらを結合する際に,その差を無効データ(filler)で埋めてしまうことで,図13(B)に示すように,バッファ破綻を起こすことなく,ストリームを結合することができる。   On the contrary, as shown in FIG. 13A, when the end buffer position of a certain segment n is higher than the start buffer position of the next segment n + 1, when these are combined, the difference is expressed as invalid data (filler). By filling it, as shown in FIG. 13B, the streams can be combined without causing buffer failure.

したがって,セグメントエンコードでは,開始時点でのバッファ位置に加え,セグメント終端時点でのバッファ位置も指定し,セグメントの符号化終了時点でのバッファ位置(終端バッファ位置)がその指定値以上になる必要がある。   Therefore, in segment encoding, the buffer position at the end of the segment must be specified in addition to the buffer position at the start, and the buffer position at the end of segment encoding (end buffer position) must be greater than or equal to the specified value. is there.

このようなバッファ破綻の問題を解決する従来技術として,特許文献1に記載されている「ビットストリームのシームレス接続エンコード方法及びその装置」がある。ここでは,各フレームの符号化時に,現在のバッファ位置と推定バッファ位置との差を監視し,発生符号量が超えないように割当て符号量を逐次制御することが行われている。   As a conventional technique for solving such a buffer failure problem, there is a “bitstream seamless connection encoding method and apparatus” described in Patent Document 1. Here, at the time of encoding each frame, the difference between the current buffer position and the estimated buffer position is monitored, and the allocated code amount is sequentially controlled so that the generated code amount does not exceed.

図14は,従来のセグメント符号化装置の構成例を示す図であり,図15は,従来のセグメント符号化装置の処理フローチャートである。   FIG. 14 is a diagram showing a configuration example of a conventional segment encoding apparatus, and FIG. 15 is a process flowchart of the conventional segment encoding apparatus.

セグメント符号化装置1000は,原画像のシーケンスの一部分を切り出したセグメントを符号化するにあたって,その符号化対象の原画像を原画像保存部1100に保存する(ステップS301)。また,目標レートT,初期バッファ位置Bstart,バッファサイズBSをもとに,終端処理付き符号量制御部1101で,量子化幅の初期を決定する(ステップS302)。その後,全フレームについて,ステップS304〜S307の処理を反復する(ステップS303)。   When the segment encoding apparatus 1000 encodes a segment obtained by cutting out a part of the sequence of the original image, the segment encoding apparatus 1000 stores the original image to be encoded in the original image storage unit 1100 (step S301). Further, based on the target rate T, the initial buffer position Bstart, and the buffer size BS, the code amount control unit with termination processing 1101 determines the initial quantization width (step S302). Thereafter, the processing in steps S304 to S307 is repeated for all frames (step S303).

まず,終端処理付き符号量制御部1101で求めた量子化幅をもとに,符号化部1102にて,終端バッファ位置Bendを考慮しながら,1フレームを符号化する(ステップS304)。符号化結果の発生符号量とその履歴,目標レートT,初期バッファ位置Bstart,バッファサイズBSから,デコード用時刻情報を終端処理付き符号量制御部1101で算出して,時刻情報付加部1103へ送信する(ステップS305)。一方,同じく発生符号量とその履歴,目標レートT,初期バッファ位置Bstart,バッファサイズBSから,終端が終端バッファ位置Bend以上になるように考慮しつつ,次フレームの量子化幅を終端処理付き符号量制御部1101で算出し,符号化部1102に送る(ステップS306)。時刻情報付加部1103では,符号化部1102からの符号化情報に終端処理付き符号量制御部1101からのデコード用時刻情報を付加してストリームを生成する(ステップS307)。以上の操作を全フレームに対して反復する(ステップS308)。最後に,バッファ位置が終端バッファ位置Bendとなるように,終端調整部1104で無効データを挿入する終端バッファ位置調整処理を行う(ステップS309)。   First, based on the quantization width obtained by the code amount control unit 1101 with termination processing, the encoding unit 1102 encodes one frame while considering the termination buffer position Bend (step S304). The decoding time information is calculated by the code amount control unit with termination processing 1101 from the generated code amount of the encoding result and its history, the target rate T, the initial buffer position Bstart, and the buffer size BS, and transmitted to the time information adding unit 1103 (Step S305). On the other hand, the quantization width of the next frame is determined from the generated code amount and its history, the target rate T, the initial buffer position Bstart, and the buffer size BS so that the end is equal to or larger than the end buffer position Bend. The amount control unit 1101 calculates and sends the result to the encoding unit 1102 (step S306). The time information adding unit 1103 adds the decoding time information from the code amount control unit with termination process 1101 to the encoded information from the encoding unit 1102 to generate a stream (step S307). The above operation is repeated for all frames (step S308). Finally, a termination buffer position adjustment process for inserting invalid data is performed by the termination adjustment unit 1104 so that the buffer position becomes the termination buffer position Bend (step S309).

特許第3963478号公報Japanese Patent No. 3963478

シーケンスの一部分を切り出したセグメントを符号化し,最終的に前後の符号化ストリームと結合して,1本のストリームを生成する場合,従来のセグメントエンコード技術では,発生符号量が制限以内になるように厳しく監視する必要があるため,発生符号量の誤差は少なくなるものの,画質が変動しやすくなるという問題がある。   When a segment obtained by cutting out a part of a sequence is encoded and finally combined with preceding and subsequent encoded streams to generate a single stream, the conventional segment encoding technique ensures that the amount of generated code is within the limit. Since strict monitoring is required, the error in the amount of generated code is reduced, but the image quality is likely to fluctuate.

また,符号量の制御では,次のフレームの量子化幅を決定するときに,常に終端バッファ位置Bendを考慮して算出しなければならないため,特殊な符号量制御が必要であり,汎用性に欠けるとともに,画質調整などのコストが必要になるという問題があった。   In addition, in the code amount control, when determining the quantization width of the next frame, it must always be calculated in consideration of the end buffer position Bend. In addition to lacking, there is a problem that costs such as image quality adjustment are required.

本発明は,上記課題を解決するため,セグメントの符号化時に,以下のように処理する。
1.本来の設定レートと終端バッファ位置,セグメント長をもとに,仮目標レート(仮の目標符号量)を算出する。
2.本来のバッファサイズと終端バッファ位置から仮想バッファサイズを算出する。
3.以下の処理を全フレームについて反復する。
In order to solve the above-described problems, the present invention performs the following processing when encoding a segment.
1. Based on the original set rate, end buffer position, and segment length, a temporary target rate (temporary target code amount) is calculated.
2. The virtual buffer size is calculated from the original buffer size and the end buffer position.
3. The following process is repeated for all frames.

3−1.仮目標レートと仮想バッファサイズを使い,既存エンコーダのCBR(レート一定)モードを用いて符号化する。   3-1. Encoding is performed using the CBR (constant rate) mode of the existing encoder using the temporary target rate and the virtual buffer size.

3−2.発生符号量をもとに,本来の設定レートとバッファサイズから復号時刻を算出する。   3-2. Based on the generated code amount, the decoding time is calculated from the original set rate and buffer size.

以上により複数ストリーム結合時のバッファ破綻を,既存のエンコーダを大きく変えることなく回避することができる。その理由は,以下のとおりである。   As described above, it is possible to avoid a buffer failure when combining a plurality of streams without greatly changing the existing encoder. The reason is as follows.

複数の符号化ストリームを結合したときに,バッファ破綻が起こらない十分条件は,あるストリームの符号化終了時点でのバッファ位置が次のストリームの開始バッファ位置よりも高いことである。本発明では,既存の一般的なエンコーダのCBR(レート一定)モードを用い,目標レートより微妙に少ない設定レートで符号化する。このストリームについて,目標レートに関してバッファ推移を描くと,目標符号量より発生符号量が若干少ないため,バッファ位置が緩やかに右肩上がりになるようなグラフとなる。そこで,既存のエンコーダに対して,「若干少ない目標レート」の値を事前に求める仕組みを付加することで,エンコーダ内部を特に改造しなくとも,符号化終了時点でのバッファ位置を次のストリームの開始バッファ位置よりも高く持っていくエンコードシステムを構築することができる。   A sufficient condition that a buffer failure does not occur when a plurality of encoded streams are combined is that the buffer position at the end of encoding of a stream is higher than the start buffer position of the next stream. In the present invention, encoding is performed at a slightly lower set rate than the target rate using the CBR (constant rate) mode of an existing general encoder. For this stream, when the buffer transition is drawn with respect to the target rate, the generated code amount is slightly smaller than the target code amount, so that the buffer position gradually rises to the right. Therefore, by adding a mechanism to obtain the “slightly lower target rate” value for the existing encoder in advance, the buffer position at the end of encoding can be changed to the next stream without any special modification inside the encoder. You can build an encoding system that takes you higher than the starting buffer position.

なお,復号時刻は,符号化制御部で求めるバッファ推移情報を利用して計算するのが一般的であるが,本発明では,符号化制御部に与えた目標レートが本来の目標レートよりも低いために時刻情報がずれてしまう。そこで,符号化制御部とは別に本来の目標レートで復号時刻情報を求める機構を設ける。   The decoding time is generally calculated using the buffer transition information obtained by the encoding control unit. However, in the present invention, the target rate given to the encoding control unit is lower than the original target rate. Therefore, the time information is shifted. Therefore, a mechanism for obtaining decoding time information at the original target rate is provided separately from the encoding control unit.

このように,本発明では,既存のエンコーダ内部に特に手を入れないため,システムの構築が容易で,かつ汎用性が高い。   As described above, in the present invention, since no particular effort is made inside the existing encoder, the construction of the system is easy and the versatility is high.

また,本発明では,複数ストリーム結合時にセグメントのつなぎ目での画質変動をほとんど気にする必要がない。ストリーム終端のバッファ位置を高く上げることを考慮しながら符号化する場合,後半部分になるほど発生符号量の制約が厳しくなるが,本発明では,既存のエンコーダで一定レートで符号化するだけなので,セグメントのつなぎ目での画質変動対策などは特に考える必要がない。また,「若干少ない目標レート」については,例えば初期バッファ位置が設定レートの半分,セグメント長が60秒の場合,目標レートより0.5/60≒0.83%低い目標レートに設定すればよく,セグメント長が長いほど画質に与える影響は少なくなる。   Further, in the present invention, there is almost no need to worry about image quality fluctuations at the joints of segments when a plurality of streams are combined. When encoding while considering raising the buffer position at the end of the stream, the restriction on the amount of generated code becomes stricter in the latter half, but in the present invention, since encoding is performed at a constant rate with an existing encoder, the segment There is no need to think about measures for image quality fluctuations at the joints. For the “slightly lower target rate”, for example, when the initial buffer position is half the set rate and the segment length is 60 seconds, the target rate may be set to 0.5 / 60≈0.83% lower than the target rate. , The longer the segment length, the less influence on the image quality.

本発明によれば,複数ストリーム結合時にバッファ破綻が起こらないように符号化することが可能である。また,セグメントエンコードに未対応の既存のエンコーダを,ほとんど手を加えることなく,セグメントエンコードに使用することできる。そのため,高い汎用性を確保でき,開発や調整のコストを大幅に削減することができる。さらに,セグメントのつなぎ目での画質変動をほとんど気にする必要がないという効果を有する。   According to the present invention, it is possible to perform encoding so that a buffer failure does not occur when a plurality of streams are combined. In addition, an existing encoder that does not support segment encoding can be used for segment encoding with almost no modification. Therefore, high versatility can be secured, and development and adjustment costs can be greatly reduced. In addition, there is an effect that there is almost no need to worry about image quality fluctuations at the segment joints.

本発明が適用される並列エンコードシステムの構成例を示す図である。It is a figure which shows the structural example of the parallel encoding system to which this invention is applied. 並列エンコードシステムの処理フローチャートである。It is a process flowchart of a parallel encoding system. 本発明の他の適用例である部分的再エンコードシステムの構成例を示す図である。It is a figure which shows the structural example of the partial re-encoding system which is another example of application of this invention. 部分的再エンコードシステムの処理フローチャートである。It is a process flowchart of a partial re-encoding system. 本発明の実施の形態に係るセグメント符号化装置の構成図である。It is a block diagram of the segment coding apparatus which concerns on embodiment of this invention. セグメント符号化装置の処理フローチャートである。It is a process flowchart of a segment encoding apparatus. 本実施の形態におけるバッファ推移の例を説明する図である。It is a figure explaining the example of the buffer transition in this Embodiment. セグメントエンコードに対応していない従来の符号化装置の構成例を示す図である。It is a figure which shows the structural example of the conventional encoding apparatus which does not respond | correspond to segment encoding. その符号化装置の処理フローチャートである。It is a process flowchart of the encoding apparatus. 一般的な符号化部の構成例を示す図である。It is a figure which shows the structural example of a general encoding part. セグメントエンコードが必要になる場合の例を示す図である。It is a figure which shows the example when segment encoding is needed. ストリームを結合した場合にバッファ破綻を起こす例を示す図である。It is a figure which shows the example which raise | generates a buffer failure, when a stream is combined. ストリームを結合した場合にバッファ破綻が起こらない例を示す図である。It is a figure which shows the example in which a buffer failure does not occur when a stream is combined. 従来のセグメント符号化装置の構成例を示す図である。It is a figure which shows the structural example of the conventional segment encoding apparatus. 従来のセグメント符号化装置の処理フローチャートである。It is a process flowchart of the conventional segment encoding apparatus.

以下,図面を用いて本発明の実施の形態を説明する。セグメント符号化装置の実施の形態についての詳細を説明するに先立ち,本発明の適用システムの例を説明する。   Embodiments of the present invention will be described below with reference to the drawings. Prior to describing details of the embodiment of the segment coding apparatus, an example of an application system of the present invention will be described.

図1は,本発明が適用される並列エンコードシステムの構成例を示す図である。   FIG. 1 is a diagram showing a configuration example of a parallel encoding system to which the present invention is applied.

図1に示す並列エンコードシステム100は,原画像の入力ストリームを自動的に複数のセグメントに分割して,各セグメントを並列に符号化するシステムである。そのため,並列エンコードシステム100は,原画像を保存する原画像保存部101,原画像のシーケンスをセグメントに分割するセグメント分割部102,それぞれのセグメントを並列に符号化する複数のセグメント符号化装置103,104,105,…,符号化したセグメントのストリームを結合するストリーム結合部106を備える。   A parallel encoding system 100 shown in FIG. 1 is a system that automatically divides an input stream of an original image into a plurality of segments and encodes the segments in parallel. Therefore, the parallel encoding system 100 includes an original image storage unit 101 that stores an original image, a segment division unit 102 that divides an original image sequence into segments, and a plurality of segment encoding devices 103 that encode each segment in parallel. 104, 105,... Includes a stream combining unit 106 for combining encoded segment streams.

並列エンコードシステム100には,初期バッファ位置Bstart,目標レートT,バッファサイズBSが入力される。先頭セグメントの初期バッファ位置は,システムに与えられた初期バッファ位置Bstartの値を用いる。また,最終セグメントに与える終端バッファ位置Bendは,例えば0としてもよい。   The parallel encoding system 100 receives an initial buffer position Bstart, a target rate T, and a buffer size BS. As the initial buffer position of the first segment, the value of the initial buffer position Bstart given to the system is used. Further, the end buffer position Bend given to the last segment may be set to 0, for example.

すなわち,先頭セグメントを符号化するセグメント符号化装置103には,システムに与えられた初期バッファ位置Bstartが初期バッファ位置として入力される。次のセグメント符号化装置104には,例えばセグメント分割部102が定めた初期バッファ位置Bstart2が入力され,さらに次のセグメント符号化装置105には,初期バッファ位置Bstart3が入力される。この初期バッファ位置Bstart2は,先頭のセグメント符号化装置103に,終端バッファ位置Bendとして入力され,また,初期バッファ位置Bstart3は,2番目のセグメント符号化装置104に,終端バッファ位置Bendとして入力される。3番目のセグメント符号化装置105には,次のセグメントの初期バッファ位置Bstart4が終端バッファ位置Bendとして入力される。   That is, an initial buffer position Bstart given to the system is input as an initial buffer position to the segment encoding device 103 that encodes the head segment. For example, the initial buffer position Bstart2 determined by the segment dividing unit 102 is input to the next segment encoding device 104, and the initial buffer position Bstart3 is input to the next segment encoding device 105. This initial buffer position Bstart2 is input as the end buffer position Bend to the first segment encoder 103, and the initial buffer position Bstart3 is input as the end buffer position Bend to the second segment encoder 104. . The third segment encoding device 105 receives the initial buffer position Bstart4 of the next segment as the end buffer position Bend.

これらの初期バッファ位置Bstart2,Bstart3,Bstart4,…については,セグメント分割部102で映像の特徴量から求めてもよいし,全セグメントで同じ固定値を用いるようにしてもよい。   These initial buffer positions Bstart2, Bstart3, Bstart4,... May be obtained from the video feature quantity by the segment dividing unit 102, or the same fixed value may be used for all segments.

図2は,並列エンコードシステム100の処理フローチャートである。並列エンコードシステム100は,まず,符号化対象映像の原画像を原画像保存部101に保存する(ステップS101)。次に,セグメント分割部102は,原画像保存部101に保存された映像をn個のセグメントに分割する(ステップS102)。なお,セグメント符号化装置の個数をmとすると,n=mでもよいし,n>mであってもよい。n>mの場合には,m+1番目のセグメント以降は,先頭のセグメント符号化装置103から,同様に順番に符号化していくことになる。   FIG. 2 is a process flowchart of the parallel encoding system 100. The parallel encoding system 100 first stores the original image of the encoding target video in the original image storage unit 101 (step S101). Next, the segment division unit 102 divides the video stored in the original image storage unit 101 into n segments (step S102). If the number of segment encoders is m, n = m or n> m may be satisfied. In the case of n> m, the m + 1th and subsequent segments are similarly encoded in order from the head segment encoding device 103.

次に,セグメント分割部102は,各セグメント映像の特徴量等から各セグメントの初期バッファ位置Bstart2,Bstart3,…を決定する(ステップS103)。なお,初期バッファ位置は全セグメントで予め決められた固定値であってもよい。   Next, the segment division unit 102 determines the initial buffer positions Bstart2, Bstart3,... For each segment from the feature amount of each segment video (step S103). Note that the initial buffer position may be a fixed value determined in advance for all segments.

各セグメント符号化装置103,104,105,…は,詳しくは後述する本発明の実施の形態に係るセグメント符号化方法に従って,分割された各セグメントを符号化する(ステップS104)。最後に,ストリーム結合部106は,各セグメント符号化装置103,104,105,…が出力するセグメントの符号化ストリームを結合し,1つのストリームを生成する(ステップS105)。   Each of the segment encoders 103, 104, 105,... Encodes each divided segment according to a segment encoding method according to an embodiment of the present invention, which will be described in detail later (step S104). Finally, the stream combining unit 106 combines the encoded streams of the segments output from the segment encoding devices 103, 104, 105,... To generate one stream (step S105).

図3は,本発明の他の適用例である部分的再エンコードシステムの構成例を示す図である。   FIG. 3 is a diagram showing a configuration example of a partial re-encoding system as another application example of the present invention.

図3に示す部分的再エンコードシステム110は,原画像をもとに符号化した符号化ストリームについて,指定された切り出し開始時刻から切り出し終了時刻までの区間だけを再符号化するシステムである。部分的再エンコードシステム110は,原画像を保存する原画像保存部111と,切り出し開始時刻と切り出し終了時刻のバッファ位置を,それぞれ初期バッファ位置Bstart,終端バッファ位置Bendとして符号化ストリームから求めるストリーム解析部112と,原画像保存部111にある原画像のうち,切り出し開始時刻から切り出し終了時刻までの区間の画像をセグメント映像として切り出すセグメント切り出し部113と,切り出されたセグメント映像を符号化するセグメント符号化装置114と,セグメント符号化装置114の符号化結果であるストリームを,切り出し開始時刻より前のストリームと切り出し終了時刻より後のストリームの間に挿入して,ストリームを結合するストリーム結合部115とを備える。   The partial re-encoding system 110 illustrated in FIG. 3 is a system that re-encodes only a section from a specified cut-out start time to a cut-out end time with respect to an encoded stream encoded based on an original image. The partial re-encoding system 110 includes an original image storage unit 111 that stores an original image, and a stream analysis that obtains buffer positions of a cutout start time and a cutout end time from an encoded stream as an initial buffer position Bstart and a terminal buffer position Bend, respectively. Segment segment 112, segment segment unit 113 that segments the segment image from segment start time to segment end time among segment images, and segment code that encodes segment segment video And a stream combining unit 115 that inserts a stream that is an encoding result of the segment encoding device 114 between a stream before the cutout start time and a stream after the cutout end time, and combines the streams. Is provided.

図4は,部分的再エンコードシステム110の処理フローチャートである。部分的再エンコードシステム110は,まず,符号化対象映像の原画像を原画像保存部111に保存する(ステップS111)。一方,ストリーム解析部112は,既に符号化されている符号化ストリームを解析し,符号化ストリームから切り出し開始時刻のバッファ位置および切り出し終了時刻のバッファ位置を,それぞれ初期バッファ位置Bstart,終端バッファ位置Bendとして導出する(ステップS112)。   FIG. 4 is a process flowchart of the partial re-encoding system 110. First, the partial re-encoding system 110 stores the original image of the encoding target video in the original image storage unit 111 (step S111). On the other hand, the stream analysis unit 112 analyzes the encoded stream that has already been encoded, and sets the buffer position at the extraction start time and the buffer position at the extraction end time from the encoded stream as the initial buffer position Bstart and the end buffer position Bend, respectively. (Step S112).

セグメント切り出し部113は,原画像保存部111に保存された原画像のうち,指定された切り出し開始時刻から切り出し終了時刻までの原画像をセグメント映像として抽出する(ステップS113)。セグメント符号化装置114は,詳しくは後述する本発明の実施の形態に係るセグメント符号化方法に従って,抽出されたセグメント映像を符号化する(ステップS114)。最後に,ストリーム結合部115は,セグメント符号化装置114の符号化結果であるストリームと,切り出し前後のストリームとを結合して,1本の符号化ストリームを生成する(ステップS115)。   The segment cutout unit 113 extracts the original image from the specified cutout start time to the cutout end time among the original images stored in the original image storage unit 111 as a segment video (step S113). The segment encoding device 114 encodes the extracted segment video according to the segment encoding method according to the embodiment of the present invention described in detail later (step S114). Finally, the stream combining unit 115 combines the stream that is the encoding result of the segment encoding device 114 and the stream before and after the cutout to generate one encoded stream (step S115).

本発明は,以上説明したような並列エンコードシステム100や,部分的再エンコードシステム110におけるセグメント符号化装置に適用される。以下,その実施の形態について詳しく説明する。   The present invention is applied to the segment encoding apparatus in the parallel encoding system 100 and the partial re-encoding system 110 as described above. Hereinafter, the embodiment will be described in detail.

図5は,本発明の実施の形態に係るセグメント符号化装置の構成図である。セグメント符号化装置1は,符号化対象の原画像を記憶する原画像保存部10と,符号化対象のセグメント長を検出するセグメント長検出部11と,仮目標レートを計算する仮レート計算部12と,仮想バッファサイズを計算する仮想バッファサイズ計算部13と,バッファ推移を計算し,デコード用時刻を算出するバッファ推移計算部14と,符号化時の符号量を制御する符号量制御部15と,原画像を符号化する符号化部16と,符号化情報にデコード用時刻情報を付加する時刻情報付加部17と,ストリームの終端を調整する終端調整部18とを備える。   FIG. 5 is a configuration diagram of the segment coding apparatus according to the embodiment of the present invention. The segment encoding apparatus 1 includes an original image storage unit 10 that stores an original image to be encoded, a segment length detection unit 11 that detects a segment length to be encoded, and a temporary rate calculation unit 12 that calculates a temporary target rate. A virtual buffer size calculation unit 13 that calculates a virtual buffer size, a buffer transition calculation unit 14 that calculates a buffer transition and calculates a decoding time, a code amount control unit 15 that controls a code amount at the time of encoding, , An encoding unit 16 that encodes the original image, a time information adding unit 17 that adds decoding time information to the encoded information, and a termination adjusting unit 18 that adjusts the end of the stream.

上記構成において,特にセグメント長検出部11,仮レート計算部12,仮想バッファサイズ計算部13,バッファ推移計算部14の部分が本発明に特有な部分である。   In the above configuration, the segment length detection unit 11, the provisional rate calculation unit 12, the virtual buffer size calculation unit 13, and the buffer transition calculation unit 14 are particularly unique to the present invention.

符号量制御部15は,従来のセグメントエンコード未対応の符号量制御部と同じものでよい。ただし,デコード用時刻情報を出力する端子は必要ない。そのため,符号量制御部15では,デコード用時刻情報に関連する計算は必ずしもする必要はない。   The code amount control unit 15 may be the same as the conventional code amount control unit that does not support segment encoding. However, a terminal for outputting decoding time information is not necessary. Therefore, the code amount control unit 15 does not necessarily need to perform calculations related to the decoding time information.

仮レート計算部12は,目標レートT[bit/sec]と終端バッファ位置Bend[bits],セグメント長Ni[sec]から,仮目標レートTt[bit/sec]を計算する。ここで,仮目標レートTtを,例えば
Tt=T−Bend/Ni
とすることで,終了時のバッファ位置が,終端バッファ位置Bendよりも高くなることが保証される。安全を見越して,この値に安全係数を掛けたり,マージンを引いた,より小さい値を使用することもできる。
The temporary rate calculation unit 12 calculates the temporary target rate Tt [bit / sec] from the target rate T [bit / sec], the end buffer position Bend [bits], and the segment length Ni [sec]. Here, the provisional target rate Tt is, for example, Tt = T−Bend / Ni
This guarantees that the buffer position at the end is higher than the end buffer position Bend. In anticipation of safety, this value can be multiplied by a safety factor or a smaller value with a margin subtracted.

仮想バッファサイズ計算部13は,シーケンス結合時のバッファサイズBSと終端バッファ位置Bendから仮想バッファサイズBShを計算する。ここで,仮想バッファサイズBShを,例えば
BSh=BS−Bend
とすることで,シーケンス結合時のバッファサイズがBS以下になることが保証される。安全を見越して,この値に安全係数を掛けたり,マージンを引いた,より小さい値を使用することもできる。
The virtual buffer size calculation unit 13 calculates the virtual buffer size BSh from the buffer size BS at the time of sequence combination and the end buffer position Bend. Here, the virtual buffer size BSh is set to, for example, BSh = BS−Bend.
By doing so, it is guaranteed that the buffer size at the time of sequence combination is equal to or less than BS. In anticipation of safety, this value can be multiplied by a safety factor or a smaller value with a margin subtracted.

バッファ推移計算部14は,セグメントエンコード未対応の「符号量制御部」と同じものでよい。ただし,量子化幅を出力する端子は必要ない。そのため,量子化幅の算出に関連する処理は必ずしもする必要はない。   The buffer transition calculation unit 14 may be the same as the “code amount control unit” that does not support segment encoding. However, a terminal for outputting the quantization width is not necessary. Therefore, it is not always necessary to perform processing related to the calculation of the quantization width.

図6は,図5に示すセグメント符号化装置1の処理フローチャートである。以下,セグメント符号化装置1が行う処理を,図6に従って説明する。まず,符号化対象の原画像を入力し,原画像保存部10に保存する(ステップS10)。セグメント長検出部11は,符号化対象のセグメント長Niを検出する(ステップS11)。   FIG. 6 is a process flowchart of the segment encoding apparatus 1 shown in FIG. Hereinafter, the process performed by the segment encoding apparatus 1 will be described with reference to FIG. First, an original image to be encoded is input and stored in the original image storage unit 10 (step S10). The segment length detection unit 11 detects the segment length Ni to be encoded (step S11).

次に,あらかじめ定められた計算式により,仮レート計算部12において,仮目標レートTtを計算し(ステップS12),仮想バッファサイズ計算部13において,仮想バッファサイズBShを算出する(ステップS13)。符号量制御部15では,仮目標レートTt,初期バッファ位置Bstart,仮想バッファサイズBShをもとに,量子化幅の初期値を決定する(ステップS14)。   Next, the temporary target rate Tt is calculated by the temporary rate calculation unit 12 according to a predetermined calculation formula (step S12), and the virtual buffer size BSh is calculated by the virtual buffer size calculation unit 13 (step S13). The code amount control unit 15 determines the initial value of the quantization width based on the temporary target rate Tt, the initial buffer position Bstart, and the virtual buffer size BSh (step S14).

その後,全フレームについて,以下のステップS15〜S19の処理を反復する(ステップS15)。反復処理の内容は,以下のとおりである。まず,求めた量子化幅をもとに,符号化部16において1フレームを符号化する(ステップS16)。バッファ推移計算部14では,符号化における発生符号量とその履歴,目標レートT,初期バッファ位置Bstart,バッファサイズBSから,デコード用時刻情報を算出して,時刻情報付加部17へ送信する(ステップS17)。   Thereafter, the following steps S15 to S19 are repeated for all frames (step S15). The contents of the iteration process are as follows. First, one frame is encoded by the encoding unit 16 based on the obtained quantization width (step S16). The buffer transition calculation unit 14 calculates decoding time information from the generated code amount and its history in encoding, the target rate T, the initial buffer position Bstart, and the buffer size BS, and transmits the decoding time information to the time information addition unit 17 (step S1). S17).

一方,符号量制御部15では,,同じく発生符号量とその履歴,仮目標レートTt,初期バッファ位置Bstart,仮想バッファサイズBShから,次フレームの量子化幅を算出し,符号化部16に送る(ステップS18)。なお,この符号量制御部15において,仮目標レートTt,仮想バッファサイズBSh等を用いて量子化幅を算出する処理は,従来の符号量制御において,目標レートT,バッファサイズBS等を用いて量子化幅を算出する処理と同様であるので,ここでのこれ以上の詳しい説明は省略する。時刻情報付加部17では,符号化部16からの符号化情報に,バッファ推移計算部14からのデコード用時刻情報を付加してストリームを生成する(ステップS19)。   On the other hand, the code amount control unit 15 calculates the quantization width of the next frame from the generated code amount and its history, the temporary target rate Tt, the initial buffer position Bstart, and the virtual buffer size BSh, and sends it to the encoding unit 16. (Step S18). In the code amount control unit 15, the process of calculating the quantization width using the temporary target rate Tt, the virtual buffer size BSh, and the like is performed using the target rate T, the buffer size BS, and the like in the conventional code amount control. Since it is the same as the process of calculating the quantization width, further detailed explanation is omitted here. The time information adding unit 17 adds the decoding time information from the buffer transition calculating unit 14 to the encoded information from the encoding unit 16 to generate a stream (step S19).

以上の操作を,全フレームに対して反復する(ステップS20)。最後に,終端調整部18において,終端バッファ位置がBendになるように,無効データを挿入する終端バッファ位置調整処理を行う(ステップS21)。   The above operation is repeated for all frames (step S20). Finally, the termination adjustment unit 18 performs termination buffer position adjustment processing for inserting invalid data so that the termination buffer position becomes Bend (step S21).

図7は,本実施の形態におけるバッファ推移の例を説明する図である。本来の符号化ストリームの符号化条件を,符号化セットAとする。すなわち,符号化セットAは,バッファサイズBS[bits],目標レートT[bits/sec],初期バッファ位置Bstart[bits],セグメント長Ni[sec]であったとする。   FIG. 7 is a diagram for explaining an example of buffer transition in the present embodiment. The encoding condition of the original encoded stream is an encoding set A. That is, it is assumed that the encoding set A has a buffer size BS [bits], a target rate T [bits / sec], an initial buffer position Bstart [bits], and a segment length Ni [sec].

本実施の形態では,図7(A)に示すように,符号化セットAに対して,符号化セットBの設定でセグメントの符号化を行う。このように,セグメント符号化装置1が符号化セットBの設定でセグメントを符号化すると,バッファサイズBSから終端バッファ位置Bendを引いた大きさの仮想バッファサイズBShで符号化を行うため,同じく符号化セットBの設定でバッファ推移のグラフを描いた場合のグラフの存在範囲は,図7(B)に示すG1のようになる。   In the present embodiment, as shown in FIG. 7A, the encoding of the segment is performed by setting the encoding set B for the encoding set A. As described above, when the segment encoding apparatus 1 encodes a segment with the setting of the encoding set B, encoding is performed with the virtual buffer size BSh that is obtained by subtracting the end buffer position Bend from the buffer size BS. The existence range of the graph when the graph of the buffer transition is drawn with the setting of the conversion set B is G1 shown in FIG.

同様に,符号化セットBの設定で符号化し,符号化セットAの設定でバッファ推移のグラフを描くと,グラフの存在範囲は,図7(C)に示すG2のようになる。これから明らかなように,本実施の形態では,バッファ終端の位置が必ず終端バッファ位置Bendよりも上にくる。したがって,次のセグメントの初期バッファ位置を終端バッファ位置Bendよりも下に設定することで,バッファの破綻を生じさせることのないストリームの結合を実現できることになる。   Similarly, when encoding is performed with the setting of encoding set B and a graph of buffer transition is drawn with the setting of encoding set A, the existence range of the graph becomes G2 shown in FIG. 7C. As is clear from this, in the present embodiment, the position of the buffer end is always above the end buffer position Bend. Therefore, by setting the initial buffer position of the next segment below the end buffer position Bend, it is possible to realize stream combination that does not cause buffer failure.

以上のセグメント符号化の処理は,コンピュータとソフトウェアプログラムとによって実現することができ,そのプログラムをコンピュータ読み取り可能な記録媒体に記録することも,ネットワークを通して提供することも可能である。   The segment encoding process described above can be realized by a computer and a software program, and the program can be recorded on a computer-readable recording medium or provided through a network.

1 セグメント符号化装置
10 原画像保存部
11 セグメント長検出部
12 仮レート計算部
13 仮想バッファサイズ計算部
14 バッファ推移計算部
15 符号量制御部
16 符号化部
17 時刻情報付加部
18 終端調整部
DESCRIPTION OF SYMBOLS 1 Segment encoding apparatus 10 Original image preservation | save part 11 Segment length detection part 12 Temporary rate calculation part 13 Virtual buffer size calculation part 14 Buffer transition calculation part 15 Code amount control part 16 Encoding part 17 Time information addition part 18 Termination adjustment part

Claims (8)

画像のシーケンスの一部分を切り出したセグメントの符号化ストリームを,そのセグメントの前後のストリームと結合したときにバッファ破綻が生じないように,前記セグメントを符号化するセグメント符号化方法であって,
所定の目標レートと与えられた終端バッファ位置とセグメント長とから,前記目標レートよりも少ない仮目標レートを算出する過程と,
所定のバッファサイズと前記終端バッファ位置とから,前記バッファサイズよりも小さい仮想バッファサイズを算出する過程と,
前記仮目標レートと前記仮想バッファサイズとを用いて,前記セグメントの各フレームをCBRモードで符号化する過程と,
符号化結果の発生符号量をもとに,前記目標レートと前記バッファサイズとからデコード用時刻情報を算出する過程と,
前記符号化結果に前記デコード用時刻情報を付加して,前記セグメントの符号化ストリームを生成する過程とを有する
ことを特徴とするセグメント符号化方法。
A segment encoding method for encoding a segment so that a buffer failure does not occur when an encoded stream of a segment obtained by cutting out a part of a sequence of an image is combined with a stream before and after the segment,
Calculating a provisional target rate less than the target rate from a predetermined target rate, a given end buffer position and a segment length;
Calculating a virtual buffer size smaller than the buffer size from a predetermined buffer size and the end buffer position;
Encoding each frame of the segment in CBR mode using the provisional target rate and the virtual buffer size;
A process of calculating decoding time information from the target rate and the buffer size based on the generated code amount of the encoding result;
A step of adding the decoding time information to the encoding result to generate an encoded stream of the segment.
請求項1に記載のセグメント符号化方法において,
前記仮目標レートを,前記所定の目標レートから前記終端バッファ位置をセグメント長で割った値を引いた値以下の値に設定する
ことを特徴とするセグメント符号化方法。
In the segment encoding method of Claim 1,
The segment encoding method, wherein the temporary target rate is set to a value equal to or less than a value obtained by subtracting a value obtained by dividing the end buffer position by a segment length from the predetermined target rate.
請求項1または請求項2に記載のセグメント符号化方法において,
前記仮想バッファサイズを,前記所定のバッファサイズから前記終端バッファ位置を引いた値以下の値に設定する
ことを特徴とするセグメント符号化方法。
In the segment encoding method according to claim 1 or 2,
The segment encoding method, wherein the virtual buffer size is set to a value equal to or smaller than a value obtained by subtracting the end buffer position from the predetermined buffer size.
画像のシーケンスの一部分を切り出したセグメントの符号化ストリームを,そのセグメントの前後のストリームと結合したときにバッファ破綻が生じないように,前記セグメントを符号化するセグメント符号化装置であって,
所定の目標レートと与えられた終端バッファ位置とセグメント長とから,前記目標レートよりも少ない仮目標レートを算出する手段と,
所定のバッファサイズと前記終端バッファ位置とから,前記バッファサイズよりも小さい仮想バッファサイズを算出する手段と,
前記仮目標レートと前記仮想バッファサイズとを用いて,前記セグメントの各フレームをCBRモードで符号化する手段と,
符号化結果の発生符号量をもとに,前記目標レートと前記バッファサイズとからデコード用時刻情報を算出する手段と,
前記符号化結果に前記デコード用時刻情報を付加して,前記セグメントの符号化ストリームを生成する手段とを備える
ことを特徴とするセグメント符号化装置。
A segment encoding apparatus for encoding a segment so that a buffer failure does not occur when an encoded stream of a segment obtained by extracting a part of an image sequence is combined with a stream before and after the segment,
Means for calculating a provisional target rate less than the target rate from a predetermined target rate, a given end buffer position and a segment length;
Means for calculating a virtual buffer size smaller than the buffer size from a predetermined buffer size and the end buffer position;
Means for encoding each frame of the segment in CBR mode using the temporary target rate and the virtual buffer size;
Means for calculating decoding time information from the target rate and the buffer size based on the generated code amount of the encoding result;
Means for adding the decoding time information to the encoding result and generating an encoded stream of the segment.
請求項1,請求項2または請求項3に記載のセグメント符号化方法を,コンピュータに実行させるためのセグメント符号化プログラム。   A segment encoding program for causing a computer to execute the segment encoding method according to claim 1, 2 or 3. 請求項1,請求項2または請求項3に記載のセグメント符号化方法を,コンピュータに実行させるためのセグメント符号化プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which a segment encoding program for causing a computer to execute the segment encoding method according to claim 1, 2 or 3 is recorded. 画像のシーケンスを複数のセグメントに分割して各セグメントを並列に符号化する並列エンコードシステムであって,
符号化対象の画像のシーケンスを複数のセグメントに分割するセグメント分割部と,
前記セグメント分割部により分割された各セグメントをそれぞれ符号化する,請求項4記載の複数のセグメント符号化装置と,
前記複数のセグメント符号化装置が符号化したセグメントのストリームを結合するストリーム結合部とを備える
ことを特徴とする並列エンコードシステム。
A parallel encoding system that divides a sequence of images into multiple segments and encodes each segment in parallel,
A segment division unit for dividing a sequence of images to be encoded into a plurality of segments;
A plurality of segment encoding devices according to claim 4, each encoding each segment divided by said segment dividing unit;
A parallel encoding system, comprising: a stream combination unit that combines the stream of segments encoded by the plurality of segment encoding apparatuses.
符号化ストリームの一部分を再符号化する部分的再エンコードシステムであって,
前記符号化ストリームの原画像のシーケンスから,再符号化する映像部分のセグメントを切り出すセグメント切り出し部と,
前記符号化ストリームを解析し,再符号化の対象となった前記符号化ストリームの一部分の初期バッファ位置と終端バッファ位置とを求めるストリーム解析部と,
前記ストリーム解析部が求めた初期バッファ位置と終端バッファ位置とをもとに,前記セグメント切り出し部により切り出されたセグメントを符号化する,請求項4記載のセグメント符号化装置と,
前記セグメント符号化装置が再符号化したセグメントのストリームと,前記符号化ストリームにおける再符号化した部分を除いた部分のストリームとを結合するストリーム結合部とを備える
ことを特徴とする部分的再エンコードシステム。
A partial re-encoding system for re-encoding a portion of an encoded stream,
A segment cutout unit for cutting out a segment of a video part to be re-encoded from the sequence of original images of the encoded stream;
A stream analysis unit that analyzes the encoded stream and obtains an initial buffer position and an end buffer position of a part of the encoded stream that is a target of re-encoding;
The segment encoding device according to claim 4, wherein the segment cut out by the segment cutout unit is encoded based on the initial buffer position and the end buffer position obtained by the stream analysis unit;
A partial re-encoding comprising: a stream combining unit that combines a stream of segments re-encoded by the segment encoding device and a stream of a part excluding the re-encoded part of the encoded stream. system.
JP2009005366A 2009-01-14 2009-01-14 Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system Active JP4928569B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009005366A JP4928569B2 (en) 2009-01-14 2009-01-14 Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009005366A JP4928569B2 (en) 2009-01-14 2009-01-14 Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system

Publications (2)

Publication Number Publication Date
JP2010166197A JP2010166197A (en) 2010-07-29
JP4928569B2 true JP4928569B2 (en) 2012-05-09

Family

ID=42582042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009005366A Active JP4928569B2 (en) 2009-01-14 2009-01-14 Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system

Country Status (1)

Country Link
JP (1) JP4928569B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3312597B2 (en) * 1997-06-19 2002-08-12 日本ビクター株式会社 Variable length coding method
JP2008109637A (en) * 2006-09-25 2008-05-08 Toshiba Corp Video encoding apparatus and method

Also Published As

Publication number Publication date
JP2010166197A (en) 2010-07-29

Similar Documents

Publication Publication Date Title
JP2009272706A (en) Moving image transcoding apparatus and its method
RU2420913C1 (en) Method and device for finding motion vector, programme and recording medium for storing programme
US8406292B2 (en) Moving picture editing apparatus
US8411739B2 (en) Bitstream conversion method, bitstream conversion apparatus, bitstream connecting apparatus, bitstream splitting program, bitstream conversion program, and bitstream connecting program
US20080075164A1 (en) Motion picture encoding apparatus and method
JP2008283560A (en) Image processing apparatus and method
JP2017200176A (en) Conversion from open group of pictures to closed group of pictures in interframe video compression
KR101121613B1 (en) Encoding device, encoding control method, and computer?readable recording medium having encoding control program recorded thereon
US20090097567A1 (en) Encoding apparatus and encoding method
JP2014135741A (en) Video encoding control method and device
Slowack et al. Distributed video coding with feedback channel constraints
JP6344386B2 (en) Time-series data encoding apparatus, method and program, and time-series data re-encoding apparatus, method and program
JP4928569B2 (en) Segment encoding method, segment encoding apparatus, segment encoding program and recording medium thereof, parallel encoding system, partial re-encoding system
KR101703133B1 (en) Method and Apparatus for Real-time Joint Source-Channel Coding
JP5472094B2 (en) Moving image conversion apparatus, moving image distribution system, moving image conversion method, and program
JP5189618B2 (en) Video encoding method, video encoding apparatus, and video encoding program
KR101500300B1 (en) Selective Low-Power Video Codec with Interaction Between Encoder and Decoder, and an Encoding/Decoding Method Thereof
KR102192980B1 (en) Image processing device of learning parameter based on machine Learning and method of the same
WO2014006959A1 (en) Video prediction encoding device, video prediction encoding method, video prediction encoding program, video prediction decoding device, video prediction decoding method, and video prediction decoding program
WO2006040896A1 (en) Moving picture re-encoder, moving picture editor, program, and recording medium
JP4609411B2 (en) Moving picture coding apparatus and moving picture coding program
KR101145399B1 (en) Apparatus and Method for High-speed Multi-pass Encoding
JP2009246489A (en) Video-signal switching apparatus
JP4373283B2 (en) Video / audio decoding method, video / audio decoding apparatus, video / audio decoding program, and computer-readable recording medium recording the program
JP4878051B2 (en) Encoded stream transmission method, encoded stream transmission apparatus, encoded stream transmission control program, and recording medium therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111130

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120207

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120210

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4928569

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350