JP2004248261A - Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus - Google Patents

Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus Download PDF

Info

Publication number
JP2004248261A
JP2004248261A JP2003425321A JP2003425321A JP2004248261A JP 2004248261 A JP2004248261 A JP 2004248261A JP 2003425321 A JP2003425321 A JP 2003425321A JP 2003425321 A JP2003425321 A JP 2003425321A JP 2004248261 A JP2004248261 A JP 2004248261A
Authority
JP
Japan
Prior art keywords
code amount
moving image
code
encoding
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2003425321A
Other languages
Japanese (ja)
Inventor
Kenji Sugiyama
賢二 杉山
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2003425321A priority Critical patent/JP2004248261A/en
Publication of JP2004248261A publication Critical patent/JP2004248261A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that a double processing time is conventionally required for tentative encoding since it is necessary to perform tentative encoding separately from actual encoding, a code stream resulting from tentative encoding is used just for observing a code amount and is finally discarded. <P>SOLUTION: An information extractor 9 extracts information on encoding difficulty (code amount required for obtaining a predetermined reproduced picture quality) and information on quantization from a first code stream reproduced from a primary recording medium 3. A target rate generator 10 sets a target code amount by correcting a pseudo generated code amount of a secondary recorded moving-picture to be matched with capacity of a secondary recording medium 6, and secondary recorded moving-pictures for the total time are held and imparted to a code stream converter 4. Which moving-picture in primary recorded moving-pictures is to be recorded is set by a recording setter 11 according to information imparted from a recording setting input terminal 12. Thus, the target code amount can be calculated without performing tentative encoding. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は動画像符号量制御方法、動画像記録方法、動画像符号量制御装置及び動画像記録装置に係り、特に動画像を効率的に伝送、蓄積、表示するために、画像情報をより少ない符号量でディジタル信号にする高能率符号化で、特に可変ビットレートで記録可能な媒体に動画像符号列を空き領域なく記録するための動画像符号量制御方法、動画像記録方法、動画像符号量制御装置及び動画像記録装置に関する。   The present invention relates to a moving image code amount control method, a moving image recording method, a moving image code amount control device, and a moving image recording device. In particular, in order to efficiently transmit, store, and display moving images, the image information is reduced. High-efficiency coding that converts a digital signal into a digital signal with a code amount, particularly a moving image code amount control method, a moving image recording method, and a moving image code for recording a moving image code string on a medium recordable at a variable bit rate without any empty space. The present invention relates to a quantity control device and a moving image recording device.

MPEG(Moving Picture Experts Group)規格などの画像間予測符号化においては、動画像の符号化難易度(所定画質を得るために必要な符号量)が動画像の部分(時間)により大きく変動する。そこで、HDD(Hard Disc Drive)やDVD(Digital Versatile Disc)など、可変ビットレートで記録可能な記録媒体に動画像符号列を記録する場合は、画質を一定に保ちながら可変ビットレートで符号化することが望まれる。しかし、記録媒体の容量は決まっているので、目的とする動画像(番組)を記録媒体に収めるためには、符号量の適切な制御が必要になる。   In inter-picture prediction coding such as the MPEG (Moving Picture Experts Group) standard, the coding difficulty of a moving image (the amount of code required to obtain a predetermined image quality) greatly varies depending on the portion (time) of the moving image. Therefore, when recording a moving image code string on a recording medium that can record at a variable bit rate such as an HDD (Hard Disc Drive) or a DVD (Digital Versatile Disc), encoding is performed at a variable bit rate while maintaining a constant image quality. It is desired. However, since the capacity of the recording medium is determined, appropriate control of the code amount is required to store the target moving image (program) in the recording medium.

そこで、本発明者は先に目的とする動画像を符号量の過不足なく均一の画質で記録媒体に記録できる動画像符号量制御装置及び動画像記録装置を提案した(例えば、特許文献1参照)。これは記録対象となる動画像を予め固定量子化で仮符号化し、発生符号量の分布を求め、動画像の各部分(時間)の目標符号量を設定し、その目標量符号量に合わせるように実符号化を行うものである。   Therefore, the present inventor has previously proposed a moving image code amount control device and a moving image recording device capable of recording a target moving image on a recording medium with a uniform image quality without excess or deficiency of the code amount (for example, see Patent Document 1). ). In this method, a moving image to be recorded is provisionally encoded by fixed quantization in advance, a distribution of generated code amounts is obtained, a target code amount of each part (time) of the moving image is set, and the target amount code amount is adjusted. To perform actual encoding.

図4は特許文献1記載の従来の動画像符号量制御装置及び動画像記録装置の一例のブロック図を示す。同図において、符号化処理は符号化器42を用いた仮符号化と、符号化器44を用いた実符号化の2回行われる。画像入力端子1より入来する非圧縮ディジタル動画像信号は、1次記録媒体41と符号化器42に与えられる。1次記録媒体41は目的とする動画像のすべてを記録保持する。   FIG. 4 shows a block diagram of an example of a conventional moving image code amount control device and a moving image recording device described in Patent Document 1. In the figure, the encoding process is performed twice, that is, temporary encoding using the encoder 42 and real encoding using the encoder 44. An uncompressed digital moving image signal coming from the image input terminal 1 is supplied to a primary recording medium 41 and an encoder 42. The primary recording medium 41 records and holds all target moving images.

符号化器42は、発生符号量による制御を行わないで、再生画質が均一になるように非圧縮ディジタル動画像信号に対して符号化を行い、その際の発生符号量を符号量観測器43に供給する。符号量観測器43は、GOP(Group Of Picture)、フレーム、スライス(16ライン)などの単位で発生符号量を観測し、その情報を動画像の全時間で保持した後、目標レート設定器10に供給する。目標レート発生器10は仮符号化が終了した段階で、2次記録媒体5の容量に合わせるように発生符号量を補正して目標符号量を設定し、その目標符号量を動画像の全時間で保持する。   The encoder 42 encodes the uncompressed digital video signal so as to make the reproduction image quality uniform without performing control based on the generated code amount. To supply. The code amount observer 43 observes the generated code amount in units of GOP (Group Of Picture), frame, slice (16 lines), etc., and holds the information for the entire time of the moving image. To supply. The target rate generator 10 sets the target code amount by correcting the generated code amount to match the capacity of the secondary recording medium 5 at the stage when the temporary encoding is completed, and sets the target code amount to the total time of the moving image. Hold with.

実符号化処理では、1次記録媒体41から読み出された動画像信号を、符号化器44で目標レート設定器10から与えられる目標符号量に合わせるように発生符号量制御しながら符号化する。目標符号量に対する実符号量は、GOPなど各単位では誤差を生じるが、その誤差は次のGOPの制御に反映されるので、動画像すべての時間が終了した時点での発生符号量の誤差は1GOPの符号量の数分の1以下である。従って、目標符号量はこの僅かな最終誤差分のみ考慮して少なめにすれば、総符号量は媒体容量に収まる。   In the actual encoding process, the moving image signal read from the primary recording medium 41 is encoded by the encoder 44 while controlling the generated code amount so as to match the target code amount given from the target rate setting unit 10. . The actual code amount with respect to the target code amount causes an error in each unit such as a GOP, but the error is reflected in the control of the next GOP. It is less than a fraction of the code amount of one GOP. Therefore, if the target code amount is made small considering only the slight final error, the total code amount can be accommodated in the medium capacity.

また、1次記録媒体41は入力された非圧縮ディジタル動画像信号をそのまま保持するので、画像入力に動画像を供給するためのVTRなどを再度利用してもよい。その場合は仮符号化では符号化器42に与えられた信号が、実符号化では符号化器44に与えられる。   Also, since the primary recording medium 41 holds the input uncompressed digital moving image signal as it is, a VTR or the like for supplying a moving image to image input may be used again. In that case, the signal supplied to the encoder 42 in the provisional encoding is supplied to the encoder 44 in the actual encoding.

このようにして符号化された符号列は、符号化器44から2次記録媒体5に供給されて記録される。実際に再生に使われるのは2次記録媒体5であり、これはDVDなどである。2次記録媒体5から読み取られた符号列は、復号化器7で復号化され再生画像となって、画像出力端子8から出力される。   The code sequence thus encoded is supplied from the encoder 44 to the secondary recording medium 5 and recorded. The secondary recording medium 5 actually used for reproduction is a DVD or the like. The code string read from the secondary recording medium 5 is decoded by the decoder 7 to become a reproduced image, which is output from the image output terminal 8.

一方、HDDとDVDなど複数の媒体を持ち、双方の記録及び再生が可能な動画像記録装置がある。この場合、記録のための符号化方式及び符号量制御は媒体の種別によらず共通である。   On the other hand, there is a moving image recording device that has a plurality of media such as an HDD and a DVD and can record and reproduce both media. In this case, the encoding method and code amount control for recording are common regardless of the type of medium.

特許第2950065号明細書(第3−5頁、図1)Japanese Patent No. 2950065 (Page 3-5, FIG. 1)

上記の従来の動画像符号量制御装置では、固定量子化で仮符号化を行い、発生符号量の分布に基づき目標符号量を設定する。この場合、実符号化とは別に仮符号化を行う必要があり、仮符号化で得た符号列は符号量観測のためだけに使われ、最終的には廃棄されており、仮符号化を行うため2倍の処理時間を要している。また、上記の従来の動画像記録装置では複数の記録媒体を持つ場合、同様な符号量制御により符号化された符号列を記録するので、記録媒体によっては不適当な符号量制御となっている。   In the above-described conventional moving image code amount control device, provisional encoding is performed by fixed quantization, and a target code amount is set based on the distribution of generated code amounts. In this case, it is necessary to perform tentative encoding separately from actual encoding, and the code string obtained by tentative encoding is used only for code amount observation, and is eventually discarded. This requires twice as much processing time. Further, in the above-described conventional moving image recording apparatus, when a plurality of recording media are provided, a code sequence encoded by the same code amount control is recorded, so that the code amount control is inappropriate depending on the recording medium. .

本発明は以上の点に鑑みなされたもので、1次記録媒体に記録される符号列から画像難易度のパラメータを抽出し、それと2次記録媒体容量から目標符号量を設定することで、仮符号化なしに理想的な可変転送レートで2次記録媒体への記録が可能となる動画像符号量制御方法、動画像記録方法、動画像符号量制御装置及び動画像記録装置を提供することを目的とする。   The present invention has been made in view of the above points, and a parameter of image difficulty is extracted from a code string recorded on a primary recording medium, and a target code amount is set based on the extracted parameter and a secondary recording medium capacity. A moving image code amount control method, a moving image recording method, a moving image code amount control device, and a moving image recording device capable of recording on a secondary recording medium at an ideal variable transfer rate without encoding. Aim.

上記の目的を達成するため、本発明の動画像符号量制御方法は、動画像信号を高能率符号化して得た第1の符号列を第2の符号列に変換する際の再符号化における発生符号量制御方法において、第1の符号列から、動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める第1のステップと、動画像信号の所定部分を記録するための記録媒体の記録可能総符号量に、動画像信号の所定部分の総符号量を合わせるように、擬似発生符号量を所定単位時間毎に補正した目標符号量を動画像信号の所定部分に対して設定する第2のステップと、目標符号量に合わせて符号量制御しながら、第1の符号列を再符号化して記録媒体に記録するための第2の符号列に変換する第3のステップとを含むことを特徴とする。   In order to achieve the above object, a moving image code amount control method according to the present invention is directed to a method for re-encoding a first code sequence obtained by encoding a moving image signal with high efficiency into a second code sequence. In the generated code amount control method, at least one of information on a code amount and information on quantization is extracted from a first code string as a parameter indicating a coding difficulty of a moving image, and the extracted coding difficulty is extracted. A first step of obtaining a pseudo-generated code amount estimated to be necessary to obtain a predetermined reproduction image quality from a parameter indicating the degree at every predetermined unit time, and recording on a recording medium for recording a predetermined portion of a moving image signal A second method of setting a target code amount obtained by correcting the pseudo-generated code amount for each predetermined unit time to a predetermined portion of the moving image signal so as to match the total code amount of the predetermined portion of the moving image signal with the total code amount. Steps and While the code amount control in accordance with the target code amount, characterized in that it comprises a third step of converting the first code sequence re-encoded to a second code string to be recorded on a recording medium.

この発明では、動画像信号を高能率符号化して得た第1の符号列から符号化難易度のパラメータを抽出し、その符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求め、同画像信号の所定部分を記録するための記録媒体の記録可能総符号量に、同画像信号の所定部分の総符号量を合わせるように、上記の擬似発生符号量を所定単位時間毎に補正した目標符号量分布を設定するようにしたため、仮符号化を行うことなく目標符号量の算出が可能になり、目標符号量分布に合わせて符号量制御しながら、第1の符号列から記録媒体用の第2の符号列に変換符号化することで、適正な可変転送レートで第2の符号列の記録媒体への記録が可能となる。   According to the present invention, a parameter of encoding difficulty is extracted from a first code string obtained by performing high-efficiency encoding of a moving image signal, and it is estimated that it is necessary to obtain a predetermined reproduction image quality from a parameter indicating the encoding difficulty. The pseudo-generated code amount to be obtained for each predetermined unit time, so as to match the total code amount of the predetermined portion of the same image signal to the total recordable code amount of the recording medium for recording the predetermined portion of the same image signal, Since the target code amount distribution in which the above-mentioned pseudo generated code amount is corrected for each predetermined unit time is set, the target code amount can be calculated without performing provisional encoding, and the code can be calculated in accordance with the target code amount distribution. By transform-encoding the first code string into the second code string for the recording medium while controlling the amount, the second code string can be recorded on the recording medium at an appropriate variable transfer rate.

また、上記の目的を達成するため、本発明の動画像記録方法は、所定転送ビットレートを目標にした符号量制御により、動画像信号を高能率符号化して得た第1の符号列を第1の記録媒体に記録する第1のステップと、第1の符号列から動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める第2のステップと、動画像信号の所定部分を記録するための第2の記録媒体の記録可能総符号量に、動画像信号の所定部分の総符号量を合わせるように、擬似発生符号量を所定単位時間毎に補正した目標符号量を動画像信号の所定部分に対して設定する第3のステップと、目標符号量に合わせて符号量制御しながら、第1の符号列を再符号化して可変転送ビットレートの第2の符号列に変換する第4のステップと、第2の符号列を可変転送ビットレートで第2の記録媒体に記録する第5のステップとを含むことを特徴とする。   In order to achieve the above object, the moving image recording method according to the present invention, by controlling the amount of code with a target of a predetermined transfer bit rate, encodes a first code string obtained by encoding a moving image signal with high efficiency. A first step of recording on a first recording medium, and extracting at least one of information about a code amount and information about quantization as a parameter indicating the degree of difficulty of encoding a moving image from the first code string; A second step of obtaining, per predetermined unit time, a pseudo-generated code amount estimated to be necessary to obtain a predetermined reproduction image quality from the extracted parameter indicating the encoding difficulty level, and a step of recording a predetermined portion of the moving image signal. A target code amount obtained by correcting the pseudo code amount for each predetermined unit time so as to match the total code amount of a predetermined portion of the moving image signal with the total recordable code amount of the second recording medium is set in a predetermined portion of the moving image signal. Against A third step of re-encoding the first code string and converting it into a second code string having a variable transfer bit rate while controlling the code amount in accordance with the target code amount; Recording the second code string on the second recording medium at a variable transfer bit rate.

この発明では、仮符号化を行うことなく算出された目標符号量分布に合わせて符号量制御しながら、第1の符号列から記録媒体用の第2の符号列に変換符号化することで、適正な可変転送レートで第2の記録媒体へ第2の符号列の記録ができる。   According to the present invention, while performing code amount control in accordance with the target code amount distribution calculated without performing provisional encoding, transform encoding is performed from the first code sequence to the second code sequence for the recording medium, The second code string can be recorded on the second recording medium at an appropriate variable transfer rate.

また、上記の目的を達成するため、本発明の動画像符号量制御装置は、動画像信号を高能率符号化して得た第1の符号列から、動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した動画像の符号化難易度を示すパラメータに関する情報から所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める情報抽出手段と、動画像信号の所定部分を記録するための記録媒体の記録可能総符号量に、動画像信号の所定部分の総符号量を合わせるように、擬似発生符号量を所定単位時間毎に補正した目標符号量を動画像信号の所定部分に対して設定する目標符号量設定手段と、目標符号量に合わせて符号量制御しながら、第1の符号列を再符号化して記録媒体に記録するための第2の符号列に変換する符号化手段とを有する構成としたものである。   Further, in order to achieve the above object, the moving image code amount control device of the present invention uses a first code sequence obtained by performing high-efficiency coding of a moving image signal as a parameter indicating the degree of difficulty in coding a moving image. A pseudo-generated code estimated to be necessary to obtain a predetermined reproduction image quality from information on a parameter indicating the encoding difficulty level of the extracted moving image by extracting at least one of the information on the code amount and the information on the quantization. An information extracting means for determining the amount of the moving image signal for each predetermined unit time; and a pseudo code for matching the total code amount of the predetermined portion of the moving image signal to the total recordable code amount of the recording medium for recording the predetermined portion of the moving image signal. A target code amount setting means for setting a target code amount obtained by correcting the generated code amount for each predetermined unit time for a predetermined portion of the moving image signal; and a first code sequence while controlling the code amount in accordance with the target code amount. Re It is obtained by a structure having a coding means for converting Goka to the second code string to be recorded on a recording medium.

この発明では、動画像信号を高能率符号化して得た第1の符号列から符号化難易度のパラメータを抽出し、その符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求め、同画像信号の所定部分を記録するための記録媒体の記録可能総符号量に、同画像信号の所定部分の総符号量を合わせるように、上記の擬似発生符号量を所定単位時間毎に補正した目標符号量分布を設定するようにしたため、仮符号化を行うことなく目標符号量の算出が可能になり、目標符号量分布に合わせて符号量制御しながら、第1の符号列から記録媒体用の第2の符号列に変換符号化することで、適正な可変転送レートで第2の符号列の記録媒体への記録が可能となる。   According to the present invention, a parameter of encoding difficulty is extracted from a first code string obtained by performing high-efficiency encoding of a moving image signal, and it is estimated that it is necessary to obtain a predetermined reproduction image quality from a parameter indicating the encoding difficulty. The pseudo-generated code amount to be obtained for each predetermined unit time, so as to match the total code amount of the predetermined portion of the same image signal to the total recordable code amount of the recording medium for recording the predetermined portion of the same image signal, Since the target code amount distribution in which the above-mentioned pseudo generated code amount is corrected for each predetermined unit time is set, the target code amount can be calculated without performing provisional encoding, and the code can be calculated in accordance with the target code amount distribution. By transform-encoding the first code string into the second code string for the recording medium while controlling the amount, the second code string can be recorded on the recording medium at an appropriate variable transfer rate.

また、上記の目的を達成するため、本発明の動画像記録装置は、所定転送ビットレートを目標にした符号量制御により、動画像信号を高能率符号化して得た第1の符号列を第1の記録媒体に記録する第1の記録手段と、第1の符号列から動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した動画像の符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める擬似発生符号量生成手段と、動画像信号の所定部分を記録するための第2の記録媒体の記録可能総符号量に、動画像信号の所定部分の総符号量を合わせるように、擬似発生符号量を所定単位時間毎に補正した目標符号量を動画像信号の所定部分に対して設定する設定手段と、目標符号量に合わせて符号量制御を行いながら、第1の符号列を再符号化して可変転送ビットレートの第2の符号列に変換する符号列変換手段と、第2の符号列を可変転送ビットレートで第2の記録媒体に記録する第2の記録手段とを有する構成としたものである。   Further, in order to achieve the above object, the moving picture recording apparatus of the present invention uses a code amount control targeting a predetermined transfer bit rate to convert a first code string obtained by performing efficient coding of a moving picture signal into a first code string. A first recording unit that records on a first recording medium, and extracts at least one of information about a code amount and information about a quantization as a parameter indicating a degree of difficulty of encoding a moving image from the first code sequence. A pseudo-generated code amount generating means for obtaining, per predetermined unit time, a pseudo-generated code amount estimated to be necessary for obtaining a predetermined reproduction image quality from a parameter indicating the degree of difficulty of encoding the extracted moving image; The target code amount obtained by correcting the pseudo-generated code amount for each predetermined unit time so that the total code amount of the predetermined portion of the moving image signal is adjusted to the total recordable code amount of the second recording medium for recording the portion. Moving image signal Setting means for setting a fixed part, and code string conversion for re-encoding the first code string and converting it into a second code string with a variable transfer bit rate while controlling the code amount according to the target code amount. Means and a second recording means for recording the second code string on the second recording medium at a variable transfer bit rate.

この発明では、仮符号化を行うことなく算出された目標符号量分布に合わせて符号量制御しながら、第1の符号列から記録媒体用の第2の符号列に変換符号化することで、適正な可変転送レートで第2の符号列の第2の記録媒体への記録ができる。   According to the present invention, while performing code amount control in accordance with the target code amount distribution calculated without performing provisional encoding, transform encoding is performed from the first code sequence to the second code sequence for the recording medium, The second code string can be recorded on the second recording medium at an appropriate variable transfer rate.

本発明の動画像符号量制御方法及び装置によれば、動画像信号を高能率符号化して得た第1の符号列から符号化難易度のパラメータを抽出し、その符号化難易度を示すパラメータから各時間の擬似発生符号量を求め、記録媒体の記録可能総符号量から記録する動画像信号の時間内での目標符号量分布を設定することにより、仮符号化を行うことなく目標符号量の算出ができ、その目標符号量分布に合わせて符号量制御しながら、第1の符号列から記録媒体用の第2の符号列に変換符号化するようにしたため、適正な可変転送レートで第2の符号列の記録媒体への記録が行えるようになる。また、本発明では、仮符号化が必要ないので、処理時間を短くでき、非圧縮画像の保持手段を不要にできる。   According to the moving picture code amount control method and apparatus of the present invention, a parameter of a coding difficulty is extracted from a first code string obtained by highly efficient coding of a moving picture signal, and a parameter indicating the coding difficulty is extracted. From the total code amount recordable on the recording medium to set the target code amount distribution within the time of the moving image signal to be recorded, thereby achieving the target code amount without performing temporary coding. Can be calculated, and while the code amount is controlled in accordance with the target code amount distribution, the first code string is transformed and coded into the second code string for the recording medium. 2 can be recorded on a recording medium. Further, in the present invention, since provisional encoding is not required, the processing time can be shortened, and the means for holding an uncompressed image can be eliminated.

また、本発明の動画像記録方法及び装置によれば、第1の符号列は所定目標転送レートになるように制御されるが、第2の符号列は媒体容量に合わせた可変転送レートなので、第1の記録媒体に記録された符号列の一部を任意に選択し第2の記録媒体に記録する場合でも、適正な可変転送レートで第2の記録媒体への記録ができ、適正な可変転送レートにより再生画像は均一で最も良い画質にできる。   According to the moving image recording method and apparatus of the present invention, the first code string is controlled to have a predetermined target transfer rate, but the second code string is a variable transfer rate according to the medium capacity. Even when a part of the code string recorded on the first recording medium is arbitrarily selected and recorded on the second recording medium, recording on the second recording medium can be performed at an appropriate variable transfer rate, and an appropriate variable Depending on the transfer rate, reproduced images can be made uniform and have the best image quality.

次に、本発明の実施の形態について図面と共に説明する。図1は本発明になる動画像符号化装置及び動画像記録装置の第1の実施の形態のブロック図を示す。同図中、図4の従来の装置と同一構成要素には同一符号が付してある。図1の第1の実施の形態は図4の従来装置と比較して、符号化器42の代わりに符号化器2が設けられ、符号量観測器43の代わりに情報抽出器9が設けられている。また、本実施の形態では、従来装置に比較して録画設定入力端子12及び録画設定器11が追加されている。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of a moving picture coding apparatus and a moving picture recording apparatus according to the present invention. 4, the same components as those of the conventional apparatus of FIG. 4 are denoted by the same reference numerals. The first embodiment of FIG. 1 is different from the conventional apparatus of FIG. 4 in that the encoder 2 is provided instead of the encoder 42 and the information extractor 9 is provided instead of the code amount observer 43. ing. In the present embodiment, a recording setting input terminal 12 and a recording setting device 11 are added as compared with the conventional device.

次に、本実施の形態の動作について説明する。図1において、画像入力端子1より入来するアナログ動画像信号または非圧縮ディジタル動画像信号は、符号化器2に供給され、ここで所定目標転送ビットレートになるような符号量制御を行って符号化されて第1の符号列として1次記録媒体3に供給されて記録される。この符号化器2の符号化方法はMPEG規格などに準拠したものである。第1の符号化処理である符号化器2における符号量制御は、所定容量の仮想バッファの充足度によるフィードバック制御であるが、仮想バッファ容量を実際のバッファ容量より大きくすると発生符号量は大きく変動し、可変転送ビットレートとなる。   Next, the operation of the present embodiment will be described. In FIG. 1, an analog moving image signal or an uncompressed digital moving image signal coming from an image input terminal 1 is supplied to an encoder 2, where code amount control is performed so as to reach a predetermined target transfer bit rate. The encoded data is supplied to the primary recording medium 3 and recorded as a first code string. The encoding method of the encoder 2 complies with the MPEG standard and the like. The code amount control in the encoder 2, which is the first encoding process, is feedback control based on the degree of sufficiency of a virtual buffer having a predetermined capacity. However, if the virtual buffer capacity is larger than the actual buffer capacity, the generated code amount greatly fluctuates. Then, it becomes a variable transfer bit rate.

1次記録媒体3がこのような可変転送ビットレートに対応していれば、固定転送レートより画質を向上できる。ただし、所定目標レートになるように制御される点は一般的な固定転送ビットレートの制御と類似するものである。1次記録媒体3は原則的に着脱しないものであり、100GB(Byte)程度の容量を持つHDDなどで、高いビットレートでも長時間の記録が可能である。例えば、100GBなら6Mbpsで38時間の記録が可能になる。所定目標レートは図示しない設定手段により切り替えられるが、一つの動画像の途中では切り替えない。   If the primary recording medium 3 supports such a variable transfer bit rate, image quality can be improved over a fixed transfer rate. However, the point that control is performed so as to reach a predetermined target rate is similar to control of general fixed transfer bit rate. The primary recording medium 3 is basically non-removable, and is capable of recording for a long time even at a high bit rate with an HDD having a capacity of about 100 GB (Byte). For example, at 100 GB, recording for 38 hours at 6 Mbps becomes possible. The predetermined target rate is switched by setting means (not shown), but is not switched in the middle of one moving image.

1次記録媒体3に記録された第1の符号列は、図示しない再生手段により再生されてスイッチ5と符号列変換器4に供給され、そのまま再生される場合はスイッチ5を介して復号化器7に与えられて復号化され、2次記録媒体6に再記録される場合は、符号列変換器4に与えられ再符号化により符号列が変換されてから2次記録媒体6に供給される。   The first code string recorded on the primary recording medium 3 is reproduced by a reproducing means (not shown) and supplied to a switch 5 and a code string converter 4. 7 and decoded and re-recorded on the secondary recording medium 6, the code string is supplied to the code sequence converter 4, where the code sequence is converted by re-encoding and then supplied to the secondary recording medium 6. .

2次記録媒体6は容易に着脱可能なものであり、例えば容量が4.7GBのDVD−R(RAM,RW)や、25GB程度の容量を持つ大容量ディスク記録媒体などである。前者の場合、3時間程度の録画をしようとすると、平均3Mbpsの転送レートにする必要がある。2次記録媒体6は、1次記録媒体3と異なって容量が少ないので、目的とする動画像が情報の過不足なく記録できることが望まれる。一般的な動画像(テレビ番組)の長さは30分〜2時間であるので、2〜6程度の動画像(テレビ番組)を一つの2次記録媒体6に記録することになる。   The secondary recording medium 6 is easily removable, and is, for example, a 4.7 GB DVD-R (RAM, RW) or a large capacity disk recording medium having a capacity of about 25 GB. In the former case, if it is attempted to record for about three hours, the transfer rate must be 3 Mbps on average. Since the secondary recording medium 6 has a small capacity unlike the primary recording medium 3, it is desired that a target moving image can be recorded without excessive or insufficient information. Since the length of a general moving image (television program) is 30 minutes to two hours, about two to six moving images (television programs) are recorded on one secondary recording medium 6.

符号列変換器4は、入力符号列を異なった符号列に再符号化(変換)するものであるが、変換後の符号列の符号化方法(フォーマット)は符号化器2と共通でも異なったものでもよい。符号列の変換であるが、MPEGなどの場合は、復号化後に再度符号化することになる。符号化処理において異なるのは発生符号量の制御方法である。符号化器2では、一定の目標ビットレートになるように制御されるが、符号列変換器4ではGOP(Group Of Picture)、フレーム、スライス(16ライン)などの単位で設定される目標ビットレートに合わせるように制御される。   The code sequence converter 4 re-encodes (converts) an input code sequence into a different code sequence. However, the coding method (format) of the converted code sequence is different even if it is common to the encoder 2. It may be something. This is a conversion of a code string, and in the case of MPEG or the like, it is coded again after decoding. The difference in the encoding process is the method of controlling the generated code amount. The encoder 2 controls the target bit rate to be a constant target bit rate. The code string converter 4 sets the target bit rate set in units of GOP (Group Of Picture), frame, slice (16 lines), and the like. It is controlled to match.

このようにして符号列変換器4にて再符号化された第2の符号列は、2次記録媒体6に記録される。目標符号量に対する実符号量は、GOPなど各単位では誤差を生じるが、その誤差は次のGOPの制御に反映されるので、動画像すべての時間が終了した時点での発生符号量の誤差は1GOPの符号量の数分の1以下である。目標符号量はこの僅かな最終誤差分のみ考慮して少なめにすれば、総符号量は媒体容量に収まる。従って、2次記録媒体6に目的動画像が符号量の過不足なく記録される。2次記録媒体6から読み取られた符号列はスイッチ5を介して復号化器7に供給され、ここで復号化されて再生画像となって、画像出力端子8から出力される。   The second code string re-encoded by the code string converter 4 in this manner is recorded on the secondary recording medium 6. The actual code amount with respect to the target code amount causes an error in each unit such as a GOP, but the error is reflected in the control of the next GOP. It is less than a fraction of the code amount of one GOP. If the target code amount is made small considering only this slight final error, the total code amount will fall within the medium capacity. Accordingly, the target moving image is recorded on the secondary recording medium 6 without excess or deficiency of the code amount. The code string read from the secondary recording medium 6 is supplied to the decoder 7 via the switch 5, where it is decoded and becomes a reproduced image, which is output from the image output terminal 8.

一方、情報抽出器9は、1次記録媒体3から再生された第1の符号列から、GOP、フレーム、スライスなどの単位で符号化難易度(所定再生画質を得るために必要な符号量)に関する情報を抽出する。すなわち、情報抽出器9は、符号化難易度の情報として、まず発生符号量の情報(仮想バッファ充足度の情報)を取り出す。この第1の符号列は、従来例のように所定画質になるように符号化されたものではないので、量子化値が変動し、符号量をそのまま目標符号量に変換することはできない。そこで、情報抽出器9は、第1の符号列からさらに量子化に関する情報を取り出す。すなわち、情報抽出器9は、発生符号量と量子化値(量子化ステップ幅、量子化スケール)の平均値を用いて、該当区間の擬似発生符号量(所定画質を得るために必要と推定される符号量)を算出する。   On the other hand, the information extractor 9 encodes the first code string reproduced from the primary recording medium 3 into encoding difficulties in units of GOPs, frames, slices, and the like (the code amount necessary to obtain a predetermined reproduction image quality). Extract information about That is, the information extractor 9 first extracts generated code amount information (virtual buffer sufficiency information) as encoding difficulty information. Since the first code string is not coded to have a predetermined image quality as in the conventional example, the quantization value fluctuates, and the code amount cannot be directly converted to the target code amount. Therefore, the information extractor 9 further extracts information related to quantization from the first code string. That is, the information extractor 9 uses the average value of the generated code amount and the quantized value (quantization step width, quantization scale) to estimate the pseudo-generated code amount in the corresponding section (estimated as necessary to obtain a predetermined image quality). Is calculated.

この擬似発生符号量は、量子化値が中程度の場合、符号量と量子化値の積で与えられることが知られており、簡易的には得られた符号量と量子化値の積を用いる。より正確な値を得るために主観画質との関係から量子化値を補正してもよい。具体的には主観画質との関係から量子化値の代わりに量子化値の1.2乗などとする。さらに、動きベクトルの情報や画像間予測処理モードの情報を用いて量子化値を補正してもよい。なお、符号量に関する情報と量子化に関する情報のいずれかのパラメータがほぼ固定値である場合は、変動する方のパラメータのみを符号化難易度を示すパラメータとして用いる。   It is known that the pseudo-generated code amount is given by the product of the code amount and the quantized value when the quantized value is medium, and the product of the obtained code amount and the quantized value is simply calculated as Used. In order to obtain a more accurate value, the quantization value may be corrected from the relationship with the subjective image quality. Specifically, the quantization value is set to a power of 1.2 instead of the quantization value in consideration of the subjective image quality. Furthermore, the quantization value may be corrected using information on a motion vector or information on an inter-picture prediction processing mode. If any of the parameters of the information on the code amount and the information on the quantization is almost a fixed value, only the parameter that fluctuates is used as the parameter indicating the degree of difficulty of encoding.

量子化値は例えばMPEG−2や4の場合、スライスの値とマクロブロックの値があるが、簡易的にはスライスの値のみを使い、正確にはマクロブロックまで用いる。また、量子化マトリックスなどが修正された場合はそれを考慮するとより正確になる。情報抽出器9はその擬似発生符号量を、GOP、フレーム、スライスなどの単位で求め、動画像のすべての時間分を保持し、目標レート設定器10に与える。   For example, in the case of MPEG-2 or 4, the quantization value includes a slice value and a macroblock value. For simplicity, only the slice value is used. In addition, when the quantization matrix or the like is modified, it becomes more accurate when it is considered. The information extractor 9 obtains the pseudo-generated code amount in units of a GOP, a frame, a slice, and the like, holds all the time of the moving image, and provides the target rate setting device 10 with the target rate setting device 10.

目標レート設定器10は、2次記録媒体6の記録可能総符号量に合わせるように、2次記録動画像の擬似発生符号量を補正して目標符号量(目標レート)を設定し、2次記録動画像のすべての時間分を保持し、符号列変換器4に与える。1次記録された動画像の中からどの動画像を2次記録するかは、録画設定入力端子12から与えられる情報により、録画設定器11で設定される。   The target rate setting device 10 corrects the pseudo code amount of the secondary recording moving image to set the target code amount (target rate) so as to match the total recordable code amount of the secondary recording medium 6, and sets the target code amount (target rate). All the time of the recorded moving image is held and given to the code string converter 4. Which of the primary recorded moving images is to be secondarily recorded is set by the recording setting unit 11 based on information provided from the recording setting input terminal 12.

ビットレートの様子を図5に示す。同図において、破線は目標レート、実線が実レートである。1次記録される符号列の実レートIは所定の目標レートに合わせたもので、2次記録される符号列の実レートIIは、変動する目標レートに追従するものとなる。1次記録される符号列は可変転送レートであるが、所定目標転送レート(図5では6Mbps)に合わせるので変化は少なくなっており、逆に画質は変動する。他方、2次記録される符号列は平均レートが大幅に下げられており、目標レート自体が大きく変化するので、実際のレートも実線IIで示すように大きく変化し、画質は一定となる。   The state of the bit rate is shown in FIG. In the figure, the broken line indicates the target rate, and the solid line indicates the actual rate. The actual rate I of the primary-recorded code string is adjusted to a predetermined target rate, and the actual rate II of the secondary-recorded code string follows the fluctuating target rate. Although the code stream to be primarily recorded has a variable transfer rate, the change is small because it is adjusted to a predetermined target transfer rate (6 Mbps in FIG. 5), and conversely, the image quality fluctuates. On the other hand, the average rate of the code sequence to be secondarily recorded is greatly reduced, and the target rate itself changes greatly. Therefore, the actual rate also changes greatly as shown by the solid line II, and the image quality is constant.

次に、本発明の動画像符号量制御装置及び動画像記録装置の第2の実施の形態について説明する。図2は本発明の動画像符号量制御装置及び動画像記録装置の第2の実施の形態のブロック図を示す。同図中、図1の第1の実施の形態と同一構成要素には同一符号を付し、その説明を省略する。図2の第2の実施の形態は図1の第1の実施の形態と比較すると、画像入力端子1の代わりに符号入力端子21があり、符号化器2の代わりに符号列受信器22が設けられた点に特徴がある。   Next, a second embodiment of the moving image code amount control device and the moving image recording device of the present invention will be described. FIG. 2 is a block diagram showing a second embodiment of the moving image code amount control device and the moving image recording device according to the present invention. In the figure, the same components as those in the first embodiment of FIG. 1 are denoted by the same reference numerals, and the description thereof will be omitted. Compared to the first embodiment of FIG. 1, the second embodiment of FIG. 2 has a code input terminal 21 instead of the image input terminal 1 and a code sequence receiver 22 instead of the encoder 2. There is a feature in the point provided.

この第2の実施の形態について説明するに、符号入力端子21より入来する符号化信号は、符号列受信器22で誤り訂正や多重化が解かれ、動画像符号列となって1次記録媒体3に記録される。この動画像符号列は、ディジタル放送などで送られるもので、一般的に固定転送レートであり、符号量の変動は所定バッファで吸収できる範囲に留められている。   The second embodiment will be described. An encoded signal coming from a code input terminal 21 is subjected to error correction and multiplexing by a code sequence receiver 22, and is converted into a moving image code sequence to form a primary recording. Recorded on the medium 3. This moving image code string is transmitted by digital broadcasting or the like, and generally has a fixed transfer rate, and the fluctuation of the code amount is kept within a range that can be absorbed by a predetermined buffer.

1次記録媒体3以降の処理は、図1の第1の実施の形態と基本的に同じであるが、符号量の変動がより少ないので、擬似発生符号量は主に量子化値によって決まることになる。   The processing after the primary recording medium 3 is basically the same as that of the first embodiment shown in FIG. 1, but since the variation in code amount is smaller, the pseudo-generated code amount is mainly determined by the quantization value. become.

次に、本発明の動画像符号量制御装置及び動画像記録装置の第3の実施の形態について説明する。図3は本発明の動画像符号量制御装置及び動画像記録装置の第3の実施の形態のブロック図を示す。同図中、図1の第1の実施の形態と同一構成要素には同一符号を付し、その説明を省略する。図3の第3の実施の形態は図1の第1の実施の形態と比較すると、情報抽出器32及び1次記録媒体31の処理動作及び入出力が異なる。   Next, a third embodiment of the moving image code amount control device and the moving image recording device of the present invention will be described. FIG. 3 is a block diagram showing a third embodiment of the moving image code amount control device and the moving image recording device according to the present invention. In the figure, the same components as those in the first embodiment of FIG. 1 are denoted by the same reference numerals, and the description thereof will be omitted. The third embodiment of FIG. 3 differs from the first embodiment of FIG. 1 in the processing operation and input / output of the information extractor 32 and the primary recording medium 31.

この第3の実施の形態の動作について説明するに、1次記録媒体用の第1の符号列は、符号化器2から出力されると同時に、情報抽出器32に供給されてここで符号量及び量子化値が抽出される。その情報抽出器32で抽出された情報は、主たる1次媒体用の第1の符号列とは別に1次記録媒体31に記録される。目標レート設定器10は情報抽出器32からではなく、1次記録媒体31から再生された擬似符号量情報から目標レートを求める。   To explain the operation of the third embodiment, the first code string for the primary recording medium is output from the encoder 2 and supplied to the information extractor 32 at the same time as the code amount. And a quantized value. The information extracted by the information extractor 32 is recorded on the primary recording medium 31 separately from the primary code string for the primary primary medium. The target rate setting unit 10 obtains the target rate from the pseudo code amount information reproduced from the primary recording medium 31, not from the information extractor 32.

なお、本発明は以上の実施の形態に限定されるものではなく、例えば、各実施の形態の動画像符号量制御装置及び動画像記録装置を、コンピュータによりソフトウェアで実現するコンピュータプログラムも含むものである。   Note that the present invention is not limited to the above embodiments, and includes, for example, a computer program that implements the moving image code amount control device and the moving image recording device of each embodiment by software using a computer.

本発明の動画像符号量制御装置及び動画像記録装置の第1の実施の形態のブロック図である。1 is a block diagram of a first embodiment of a moving image code amount control device and a moving image recording device of the present invention. 本発明の動画像符号量制御装置及び動画像記録装置の第2の実施の形態のブロック図である。FIG. 4 is a block diagram of a second embodiment of a moving image code amount control device and a moving image recording device of the present invention. 本発明の動画像符号量制御装置及び動画像記録装置の第3の実施の形態のブロック図である。FIG. 10 is a block diagram of a third embodiment of a moving image code amount control device and a moving image recording device of the present invention. 従来の動画像符号量制御装置及び動画像記録装置の一例のブロック図である。It is a block diagram of an example of a conventional moving image code amount control device and a moving image recording device. 実施の形態の各符号列のビットレートを示す図である。It is a figure showing the bit rate of each code sequence of an embodiment.

符号の説明Explanation of reference numerals

1 画像入力端子
2、42、44 符号化器
3、31、41 1次記録媒体
4 符号列変換器
5 スイッチ
6 2次記録媒体
7 復号化器
8 画像出力端子
9、32 情報抽出器
10 目標レート設定器
11 録画設定器
12 録画設定入力端子
43 符号量観測器


DESCRIPTION OF SYMBOLS 1 Image input terminal 2, 42, 44 Encoder 3, 31, 41 Primary recording medium 4 Code sequence converter 5 Switch 6 Secondary recording medium 7 Decoder 8 Image output terminal 9, 32 Information extractor 10 Target rate Setting device 11 Recording setting device 12 Recording setting input terminal 43 Code amount observation device


Claims (4)

動画像信号を高能率符号化して得た第1の符号列を第2の符号列に変換する際の再符号化における発生符号量制御方法において、
前記第1の符号列から、動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した前記符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める第1のステップと、
前記動画像信号の所定部分を記録するための記録媒体の記録可能総符号量に、前記動画像信号の所定部分の総符号量を合わせるように、前記擬似発生符号量を前記所定単位時間毎に補正した目標符号量を前記動画像信号の所定部分に対して設定する第2のステップと、
前記目標符号量に合わせて符号量制御しながら、前記第1の符号列を再符号化して前記記録媒体に記録するための前記第2の符号列に変換する第3のステップと
を含むことを特徴とする動画像符号量制御方法。
In a method for controlling a generated code amount in re-encoding when converting a first code string obtained by performing high-efficiency encoding of a moving image signal into a second code string,
From the first code string, at least one of information on code amount and information on quantization is extracted as a parameter indicating the encoding difficulty of a moving image, and the extracted parameter indicating the encoding difficulty is extracted from the extracted parameter indicating the encoding difficulty. A first step of obtaining a pseudo-generated code amount estimated to be necessary to obtain a predetermined reproduction image quality for each predetermined unit time;
The pseudo-generated code amount is changed every predetermined unit time so that the total code amount of the predetermined portion of the moving image signal is adjusted to the total code amount of the recording medium for recording the predetermined portion of the moving image signal. A second step of setting the corrected target code amount for a predetermined portion of the moving image signal;
A third step of re-encoding the first code string and converting it to the second code string for recording on the recording medium while controlling the code amount in accordance with the target code amount. Characteristic video code amount control method.
所定転送ビットレートを目標にした符号量制御により、動画像信号を高能率符号化して得た第1の符号列を第1の記録媒体に記録する第1のステップと、
前記第1の符号列から動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した前記符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める第2のステップと、
前記動画像信号の所定部分を記録するための第2の記録媒体の記録可能総符号量に、前記動画像信号の所定部分の総符号量を合わせるように、前記擬似発生符号量を前記所定単位時間毎に補正した目標符号量を前記動画像信号の所定部分に対して設定する第3のステップと、
前記目標符号量に合わせて符号量制御しながら、前記第1の符号列を再符号化して可変転送ビットレートの第2の符号列に変換する第4のステップと、
前記第2の符号列を可変転送ビットレートで前記第2の記録媒体に記録する第5のステップと
を含むことを特徴とする動画像記録方法。
A first step of recording, on a first recording medium, a first code sequence obtained by performing high-efficiency coding of a moving image signal by controlling a code amount targeting a predetermined transfer bit rate;
Extracting at least one of information on a code amount and information on quantization as a parameter indicating the encoding difficulty of a moving image from the first code string, and extracting a predetermined value from the extracted parameter indicating the encoding difficulty A second step of obtaining a pseudo-generated code amount estimated to be necessary for obtaining reproduction image quality for each predetermined unit time;
The pseudo-generated code amount is set to the predetermined unit so that the total code amount of the predetermined portion of the moving image signal is adjusted to the total recordable amount of the second recording medium for recording the predetermined portion of the moving image signal. A third step of setting a target code amount corrected for each time for a predetermined portion of the moving image signal;
A fourth step of re-encoding the first code string and converting it into a second code string having a variable transfer bit rate while controlling the code amount according to the target code amount;
A fifth step of recording the second code string on the second recording medium at a variable transfer bit rate.
動画像信号を高能率符号化して得た第1の符号列から、動画像の符号化難易度を示すパラメータとして前記第1の符号列から、動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した前記動画像の符号化難易度を示すパラメータに関する情報から所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める情報抽出手段と、
前記動画像信号の所定部分を記録するための記録媒体の記録可能総符号量に、前記動画像信号の所定部分の総符号量を合わせるように、前記擬似発生符号量を前記所定単位時間毎に補正した目標符号量を前記動画像信号の所定部分に対して設定する目標符号量設定手段と、
前記目標符号量に合わせて符号量制御しながら、前記第1の符号列を再符号化して前記記録媒体に記録するための第2の符号列に変換する符号化手段と
を有することを特徴とする動画像符号量制御装置。
From a first code string obtained by performing high-efficiency coding of a moving image signal, a code amount is used as a parameter indicating the degree of difficulty in coding a moving image from the first code string Pseudo-generated code amount estimated to be necessary to obtain a predetermined reproduction image quality from information on a parameter indicating the degree of difficulty of encoding the extracted moving image by extracting at least one of information relating to information relating to quantization and information relating to quantization. Information extracting means for obtaining the information for each predetermined unit time,
The pseudo-generated code amount is changed every predetermined unit time so that the total code amount of the predetermined portion of the moving image signal is adjusted to the total code amount of the recording medium for recording the predetermined portion of the moving image signal. Target code amount setting means for setting the corrected target code amount for a predetermined portion of the video signal,
Encoding means for re-encoding the first code string and converting it to a second code string to be recorded on the recording medium while controlling the code amount in accordance with the target code amount. Moving image code amount control device.
所定転送ビットレートを目標にした符号量制御により、動画像信号を高能率符号化して得た第1の符号列を第1の記録媒体に記録する第1の記録手段と、
前記第1の符号列から動画像の符号化難易度を示すパラメータとして符号量に関する情報と量子化に関する情報のうちの少なくとも一方の情報を抽出し、抽出した前記動画像の符号化難易度を示すパラメータから所定再生画質を得るために必要と推定される擬似発生符号量を所定単位時間毎に求める擬似発生符号量生成手段と、
前記動画像信号の所定部分を記録するための第2の記録媒体の記録可能総符号量に、前記動画像信号の所定部分の総符号量を合わせるように、前記擬似発生符号量を前記所定単位時間毎に補正した目標符号量を前記動画像信号の所定部分に対して設定する設定手段と、
前記目標符号量に合わせて符号量制御を行いながら、前記第1の符号列を再符号化して可変転送ビットレートの第2の符号列に変換する符号列変換手段と、
前記第2の符号列を可変転送ビットレートで前記第2の記録媒体に記録する第2の記録手段と
を有することを特徴とする動画像記録装置。

First recording means for recording, on a first recording medium, a first code string obtained by performing high-efficiency encoding of a moving image signal by code amount control targeting a predetermined transfer bit rate;
Extracting, from the first code string, at least one of information relating to a code amount and information relating to quantization as a parameter indicating the encoding difficulty of a moving image, and indicating the encoding difficulty of the extracted moving image; Pseudo-generated code amount generating means for determining a pseudo-generated code amount estimated to be necessary to obtain a predetermined reproduction image quality from a parameter for each predetermined unit time;
The pseudo-generated code amount is set to the predetermined unit so that the total code amount of the predetermined portion of the moving image signal is adjusted to the total recordable amount of the second recording medium for recording the predetermined portion of the moving image signal. Setting means for setting a target code amount corrected for each time to a predetermined portion of the video signal,
Code string conversion means for re-encoding the first code string and converting it into a second code string with a variable transfer bit rate while performing code amount control in accordance with the target code amount;
And a second recording means for recording the second code string on the second recording medium at a variable transfer bit rate.

JP2003425321A 2003-01-22 2003-12-22 Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus Withdrawn JP2004248261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003425321A JP2004248261A (en) 2003-01-22 2003-12-22 Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003013446 2003-01-22
JP2003425321A JP2004248261A (en) 2003-01-22 2003-12-22 Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus

Publications (1)

Publication Number Publication Date
JP2004248261A true JP2004248261A (en) 2004-09-02

Family

ID=33031985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003425321A Withdrawn JP2004248261A (en) 2003-01-22 2003-12-22 Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus

Country Status (1)

Country Link
JP (1) JP2004248261A (en)

Similar Documents

Publication Publication Date Title
JPH10145798A (en) System for processing digital coding signal
KR100968988B1 (en) Image processing device, image processing method, and recording medium
US5802240A (en) Video editing apparatus
JP4791129B2 (en) Image coding apparatus, image coding method, and image editing apparatus
WO2006100820A1 (en) Image encoding/recording/reading device
JP2008010943A (en) Video image encoding device and method
US20040141732A1 (en) Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving-picture recording apparatus
JP3356004B2 (en) Variable rate coding apparatus and method
JP2007306370A (en) Image coding recorder
US8861934B2 (en) Apparatus, method, and medium storing a program, that reduce playback time differences when joining moving images of different formats
JP2004248261A (en) Moving-picture code amount control method, moving-picture recording method, moving-picture code amount control apparatus and moving- picture recording apparatus
JP4301237B2 (en) Encoding apparatus and method thereof, recording apparatus and method thereof, and recording medium
JP2000197010A (en) Picture data editing device
JP2011119921A (en) Code conversion device
JP2003052040A (en) Mpeg data reproduction equipment
JPH0918830A (en) Video editing device
JP2010050616A (en) Recording device and recording method, reproduction device and reproduction method, program, and recording/reproducing device
JP4399744B2 (en) Program, information processing apparatus, information processing method, and recording medium
JP5428614B2 (en) Editing apparatus, editing method, and program
JP3897783B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP2008211555A (en) Video signal encoding device and video signal encoding method
JP2003299095A (en) Moving image processing apparatus, method therefor and moving image recording apparatus
JP2005064790A (en) Encoding device, encoding method, and recording device for dynamic image signal
JP2009272929A (en) Video encoder, and video encoding method
JP2006303627A (en) Recording apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060331

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080806