JP2008283663A - Information processing apparatus, information processing method, recording medium, and program - Google Patents

Information processing apparatus, information processing method, recording medium, and program Download PDF

Info

Publication number
JP2008283663A
JP2008283663A JP2007250670A JP2007250670A JP2008283663A JP 2008283663 A JP2008283663 A JP 2008283663A JP 2007250670 A JP2007250670 A JP 2007250670A JP 2007250670 A JP2007250670 A JP 2007250670A JP 2008283663 A JP2008283663 A JP 2008283663A
Authority
JP
Japan
Prior art keywords
encoding
video signal
point
editing
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.)
Withdrawn
Application number
JP2007250670A
Other languages
Japanese (ja)
Inventor
Hideki Arai
秀喜 新井
Eiji Ueki
英治 植木
Kaoru Nochida
薫 後田
Ryuichi Sako
竜一 佐古
Shinji Wakai
伸治 若井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2007250670A priority Critical patent/JP2008283663A/en
Publication of JP2008283663A publication Critical patent/JP2008283663A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To start re-encoding an editing material prior to determining an editing point. <P>SOLUTION: An editing processing control section controls decoding of a background encoded stream at the editing point of assemble editing and controls encoding of each GOP until determining an IN point. When there is no IN point in the GOP, an edited stream selection section discards encoded data of the GOP encoded and stored in a memory 43 and when there is an IN point within the GOP, encoded data of the GOP encoded and stored in the memory 43 are adopted as an edited encoded stream. The present invention can be applied to an editing apparatus. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、情報処理装置および情報処理方法、記録媒体、並びにプログラムに関し、特に、編集処理を行う場合に用いて好適な、情報処理装置および情報処理方法、記録媒体、並びにプログラムに関する。   The present invention relates to an information processing device, an information processing method, a recording medium, and a program, and more particularly, to an information processing device, an information processing method, a recording medium, and a program that are suitable for use in editing processing.

従来、2つの符号化ストリームを接続する編集処理を行うために、編集対象圧縮映像データ1および編集対象圧縮映像データ2のそれぞれにおいて、編集点近傍の部分的なデコードを行い、部分的な非圧縮の映像信号1および映像信号2を得て、所定の編集点で接続した後、その部分の再エンコードが行われ、再エンコードされた圧縮映像データが、デコードおよび再エンコードされていない(部分的なデコードが行われた編集点近傍以外の)圧縮映像データと結合されるようになされている技術がある(例えば、特許文献1参照)。   Conventionally, in order to perform an editing process for connecting two encoded streams, each of the editing target compressed video data 1 and the editing target compressed video data 2 is partially decoded in the vicinity of the editing point and partially uncompressed. After the video signal 1 and the video signal 2 are obtained and connected at a predetermined editing point, the portion is re-encoded, and the re-encoded compressed video data is not decoded and re-encoded (partial). There is a technique that is combined with compressed video data (other than the vicinity of an edit point where decoding has been performed) (see, for example, Patent Document 1).

特開2006−67095号公報JP 2006-67095 A

上述した特許文献1においては、2つの符号化ストリームの編集点付近を、一旦デコードして接続した後、再びエンコード処理が実行されるようになされているが、例えば、符号化ストリームではなく、ベースバンド入力信号を用いた編集処理が実行される場合が考えられる。   In Patent Document 1 described above, the vicinity of the edit points of the two encoded streams is once decoded and connected, and then the encoding process is executed again. There may be a case where an editing process using a band input signal is executed.

図1を参照して、例えば、所定の記録媒体に記録されている編集素材となる第1のストリームをデコードした出力と、ベースバンド入力信号であるSDI入力とを編集点にて接続するアセンブル編集を行い、エンコードして、編集済み状態の符号化ストリームを得る処理について説明する。   Referring to FIG. 1, for example, an assemble edit that connects an output obtained by decoding a first stream, which is an editing material recorded on a predetermined recording medium, and an SDI input that is a baseband input signal at an edit point A process for performing encoding and obtaining an encoded stream in an edited state will be described.

第1の符号化ストリームは、デコーダに入力されてデコードされる。そして、そのデコーダ出力は、編集点を含むGOPの先頭位置からエンコーダに供給されて、元の符号化ストリームの同一の部分とVBVoccupancy(VBVバッファの占有率)が連続になるようにエンコードが開始される。そして、編集点において、エンコーダへの入力は、SDI入力に切り替えられて、SDI信号が続けてエンコードされる。   The first encoded stream is input to the decoder and decoded. The decoder output is supplied to the encoder from the beginning of the GOP including the edit point, and encoding is started so that the same portion of the original encoded stream and VBVoccupancy (occupancy of the VBV buffer) are continuous. The At the editing point, the input to the encoder is switched to the SDI input, and the SDI signal is continuously encoded.

すなわち、編集点よりも、エンコード開始点が時間的に前となる。   In other words, the encoding start point is before the editing point.

次に、図2を参照して、例えば、所定のストリームに記録されている編集素材となる第1のストリームにおいて、IN点およびOUT点で定められる所定の領域に、SDI入力が上書きされるインサート編集が実行されて、編集済み状態の符号化ストリームを得る処理について説明する。   Next, referring to FIG. 2, for example, in the first stream as the editing material recorded in the predetermined stream, the SDI input is overwritten in the predetermined area defined by the IN point and the OUT point. Processing for executing the editing and obtaining an encoded stream in an edited state will be described.

IN点における接続は、アセンブル編集と同様に行われる。そして、OUT点に関しては、OUT点を含むGOPの先頭において、第1の符号化ストリームのデコードが開始され、エンコーダへの入力が、編集点において、SDI信号から第1の符号化ストリームのデコーダ出力に切換えられる。そして、上述した特開2006−67095号公報に記載の編集処理における再エンコード処理と同様に、編集点を含むGOPと、必要に応じてそれに続く所定フレーム後のVBVoccupancy目標点までの再エンコード処理は、元の符号化ストリームのVBVoccupancy目標点とVBVoccupancyが連続するように定められたVBVoccupancy目標値に合致するような符号化が実行されるように、発生符号量が合わせ込まれる。   Connection at the IN point is performed in the same way as in assemble editing. As for the OUT point, decoding of the first encoded stream is started at the beginning of the GOP including the OUT point, and the input to the encoder is the decoder output of the first encoded stream from the SDI signal at the editing point. Is switched to. And, similar to the re-encoding process in the editing process described in Japanese Patent Application Laid-Open No. 2006-67095, the GOP including the editing point and the subsequent re-encoding process to the VBVoccupancy target point after a predetermined frame as necessary The generated code amount is adjusted so that encoding is performed so as to match the VBVoccupancy target value determined so that the VBVoccupancy target point and VBVoccupancy of the original encoded stream are continuous.

インサート編集においても、アセンブル編集と同様にIN点においては、編集点よりも、エンコード開始点が時間的に前であり、また、OUT点においては、編集点よりも、VBVoccupancy合わせ込みエンコード処理の開始点が、時間的に前にある。そして、再エンコードされない第1の符号化ストリームとの接続点は、編集点であるOUT点よりも時間的に後ろである。   In insert editing, as in assemble editing, at the IN point, the encoding start point is earlier than the editing point, and at the OUT point, the VBVoccupancy matching encoding process starts before the editing point. The point is ahead in time. The connection point with the first encoded stream that is not re-encoded is later in time than the OUT point that is the editing point.

すなわち、インサート編集において、元の符号化ストリームにデータが上書きされる領域は、IN点およびOUT点により定められる範囲よりも広い領域である。   That is, in insert editing, the area where data is overwritten on the original encoded stream is an area wider than the range defined by the IN point and OUT point.

アセンブル編集であっても、インサート編集であっても、編集点を含むGOPのエンコードは、編集点前のGOP切れ目からパラメータが設定されている必要があるため、編集点が予め決まっていない場合、デコードおよびエンコードを開始することはできない。   Whether it is assemble editing or insert editing, GOP encoding including edit points must be set from the GOP break before the edit points, so if the edit points are not determined in advance, Decoding and encoding cannot be started.

そこで、ベースバンド入力を独立にエンコードして第2の符号化ストリームを生成し、上述した特開2006−67095号公報に記載の編集処理と同様の、ストリーム同士の編集に帰着させる場合について、図3を用いて説明する。   Therefore, a case where the baseband input is independently encoded to generate a second encoded stream and the result is editing between streams similar to the editing process described in JP-A-2006-67095 described above. 3 will be described.

編集点を決めるためのモニタリングは、第1の符号化ストリームのデコード出力、及びベースバンド信号であるSDI入力を用いるが、これらのベースバンド信号は、編集点を決めるためだけに独立して用いられる。これらの映像をモニタリングしたオペレータから指令された編集点に基づいて、表示から遅れて、上述した特開2006−67095号公報に記載の編集処理と同様のストリーム同士の編集処理、すなわち、第1の符号化ストリームおよび第2の符号化ストリームのデコードおよび再エンコードが実行される。   Monitoring to determine the edit point uses the decoded output of the first encoded stream and the SDI input that is the baseband signal, but these baseband signals are used independently only to determine the edit point. . Based on the editing point instructed by the operator who has monitored these videos, the stream editing process similar to the editing process described in Japanese Patent Laid-Open No. 2006-67095, which is delayed from the display, that is, the first Decoding and re-encoding of the encoded stream and the second encoded stream is performed.

このように、上述した特許文献1に記載の従来の編集処理と再符号化を実行する場合、編集点が予め決まっていなければ、編集素材となる符号化ストリームの再エンコード範囲をできるだけ少なくするように、編集に用いる符号化ストリームのデコードおよび再エンコードが必要な最小の範囲を決めることができなかった。   As described above, when executing the conventional editing process and re-encoding described in Patent Document 1 described above, if the editing point is not determined in advance, the re-encoding range of the encoded stream serving as the editing material is minimized. In addition, the minimum range that requires decoding and re-encoding of the encoded stream used for editing could not be determined.

したがって、ベースバンド信号をそのまま編集符号化の素材として利用しようとした場合、任意の編集点に対し、圧縮は時間軸を前に遡って開始する必要があるので、図3を用いて説明した編集処理では、オペレータのモニタリングに対して編集結果がエンコードされるのに時間がかかってしまう。   Therefore, when the baseband signal is used as it is as a material for editing and encoding, the compression described with reference to FIG. 3 has to be started because the compression needs to be started back to the time axis at any editing point. In the process, it takes time to encode the edited result for the monitoring of the operator.

また、上述した特許文献1に記載の従来の編集符号化を実行するためには、ベースバンド信号に対して、圧縮を2度かけることになってしまい、画質的にも、時間的にも不利である。また、ベースバンド入力信号を編集前に圧縮する必要があるので、その圧縮信号を一時保持するための大きな記録領域を有するメモリなどが必要となる。   Further, in order to execute the conventional editing coding described in Patent Document 1 described above, the baseband signal is compressed twice, which is disadvantageous in terms of image quality and time. It is. Further, since it is necessary to compress the baseband input signal before editing, a memory having a large recording area for temporarily holding the compressed signal is required.

本発明はこのような状況に鑑みてなされたものであり、例えば、MPEG LongGOPで符号化されて記録されているストリームデータに対して、ベースバンド入力された動画信号を接続または上書きする編集処理を行う場合に、編集素材の映像をオペレータがモニタしながら編集点を決定し、従来よりも早く編集結果を構成するストリームデータを得ることができるとともに、編集結果の画像劣化を少なくすることができるようにするものである。   The present invention has been made in view of such a situation. For example, an editing process for connecting or overwriting a baseband input video signal to stream data encoded and recorded by MPEG LongGOP is performed. When doing so, the operator can determine the editing point while monitoring the video of the editing material, so that stream data constituting the editing result can be obtained earlier than before, and image degradation of the editing result can be reduced. It is to make.

本発明の第1の側面の情報処理装置は、編集処理を実行する情報処理装置であって、ベースバンド画像データを所定の符号化範囲ごとに符号化する符号化手段と、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段に供給されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングするスイッチング手段と、前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段により符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する編集データ制御手段とを備える。   An information processing apparatus according to a first aspect of the present invention is an information processing apparatus that executes an editing process, an encoding unit that encodes baseband image data for each predetermined encoding range, and a first video signal. And baseband image data supplied to the encoding means based on an operation input for instructing an editing point by a user referring to the second video signal, the first video signal, the second video signal, And the first video encoded by the encoding unit based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal. Encoding after editing the encoded data in the encoding range before the editing point, not including the editing point that is switched from the first video signal to the second video signal among the signals Not to select as the stream, and a editing data control means for controlling the generation of the coded stream after editing.

前記第1の映像信号は、符号化ストリームが復号されて得られるベースバンドの映像信号であり、前記第2の映像信号は、ベースバンドの映像信号として入力された信号であるものとすることができる。   The first video signal is a baseband video signal obtained by decoding an encoded stream, and the second video signal is a signal input as a baseband video signal. it can.

前記符号化手段による符号化処理を制御する符号化制御手段を更に備えさせるようにすることができ、前記符号化制御手段には、前記第1の映像信号に対応する符号化ストリームの再符号化の開始箇所と終了箇所において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御させるようにすることができる。   An encoding control means for controlling an encoding process by the encoding means can be further provided, and the encoding control means re-encodes an encoded stream corresponding to the first video signal. The first video signal is encoded so that the virtual buffer occupancy of the re-encoded part and the virtual buffer occupancy of the non-re-encoded part have continuity at the start and end of Can be controlled.

前記符号化制御手段には、前記第1の映像信号のうち、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御させるようにすることができる。   The encoding control means includes the encoding range subsequent to the encoding range including the edit point that is switched from the second video signal to the first video signal in the first video signal. The encoding of the first video signal is controlled so that the virtual buffer occupation amount of the re-encoded part and the virtual buffer occupation amount of the non-re-encoded part have continuity Can do.

前記符号化手段による符号化処理の範囲を決定する符号化範囲決定手段を更に備えさせるようにすることができ、前記符号化範囲決定手段には、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記符号化手段による前記第1の映像信号の符号化を実行可能であるように、前記符号化手段による前記第1の映像信号の再符号化の終了位置を決定させるようにすることができる。   An encoding range determination unit that determines a range of encoding processing by the encoding unit may be further provided, and the encoding range determination unit includes the first video from the second video signal. The virtual buffer occupancy of the re-encoded portion and the virtual buffer occupancy of the non-re-encoded portion are continuous after the encoding range next to the encoding range including the edit point to be switched to a signal. So that an end position of re-encoding of the first video signal by the encoding means is determined so that the encoding of the first video signal by the encoding means can be executed. can do.

前記第1の映像信号に対応する符号化ストリームには、フレームごとのゼロスタッフに関する情報が付随されているものとすることができる。   The encoded stream corresponding to the first video signal may be accompanied by information on zero stuff for each frame.

前記符号化制御手段には、前記第1の映像信号に対応する符号化ストリームに付随されている前記ゼロスタッフに関する情報に基づいて、前記第1の映像信号のうち、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、仮想バッファ占有量におけるゼロスタッフ分の調整により、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御させるようにすることができる。   Based on the information about the zero stuff attached to the encoded stream corresponding to the first video signal, the encoding control means includes the second video signal out of the first video signal. The virtual buffer occupancy of the re-encoded part by adjusting the zero stuff in the virtual buffer occupancy after the encoding range following the encoding range including the edit point switched to the first video signal It is possible to control the encoding of the first video signal so that the amount and the virtual buffer occupancy of the part that is not re-encoded have continuity.

本発明の第1の側面の情報処理方法は、編集処理を実行する情報処理装置の情報処理方法であって、ベースバンド画像データを所定の符号化範囲ごとに符号化し、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングし、前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御するステップを含む。   An information processing method according to a first aspect of the present invention is an information processing method of an information processing apparatus that executes editing processing, wherein baseband image data is encoded for each predetermined encoding range, and the first video signal and The baseband image data to be encoded is switched between the first video signal and the second video signal based on an operation input for instructing an editing point by a user referring to the second video signal, Based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal, the first video signal to the first video signal among the encoded first video signals. The encoded stream after editing so as not to select the encoded data in the encoding range before the editing point that does not include the editing point switched to the video signal of 2 as the encoded stream after editing. Comprising the step of controlling the generation of beam.

本発明の第1の側面のプログラムは、編集処理の制御をコンピュータに実行させるためのプログラムであって、ベースバンド画像データを所定の符号化範囲ごとに符号化する処理を制御し、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングする処理を制御し、前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御するステップを含む処理をコンピュータに実行させる。   A program according to a first aspect of the present invention is a program for causing a computer to execute control of editing processing, and controls processing for encoding baseband image data for each predetermined encoding range. Switching baseband image data to be encoded between the first video signal and the second video signal based on an operation input for instructing an editing point by a user who refers to the video signal and the second video signal. Of the encoded first video signal based on an operation input that commands an edit point by a user who refers to the first video signal and the second video signal. The encoded data in the encoding range before the editing point, which does not include the editing point switched from one video signal to the second video signal, as an encoded stream after editing To not-option, to execute processing comprising the step of controlling the generation of the coded stream after editing computer.

本発明の第1の側面においては、ベースバンド画像データが所定の符号化範囲ごとに符号化され、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力を受け、符号化されるベースバンド画像データが、第1の映像信号と第2の映像信号とでスイッチングされ、ユーザによる編集点を指令する操作入力に基づいて、符号化された第1の映像信号のうち、編集点を含まない、編集点よりも前の符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームが生成される。   In the first aspect of the present invention, baseband image data is encoded for each predetermined encoding range, and an operation input for instructing an edit point by a user who refers to the first video signal and the second video signal is performed. The baseband image data to be received and encoded is switched between the first video signal and the second video signal, and the encoded first video signal based on an operation input commanding an edit point by the user Among them, the encoded stream after editing is generated so that the encoded data in the encoding range before the editing point that does not include the editing point is not selected as the encoded stream after editing.

本発明の第2の側面の情報処理装置は、編集処理を実行する情報処理装置であって、ベースバンド画像データを所定の符号化範囲ごとに符号化する符号化手段と、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段に供給されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングするスイッチング手段と、前記スイッチング手段によりスイッチングされて前記符号化手段に供給されるベースバンド画像データを所定時間遅延させる遅延手段とを備える。   An information processing apparatus according to a second aspect of the present invention is an information processing apparatus that executes an editing process, wherein an encoding unit that encodes baseband image data for each predetermined encoding range, and a first video signal And baseband image data supplied to the encoding means based on an operation input for instructing an editing point by a user who refers to the second video signal, and the second video signal as the first video signal. And switching means for switching the baseband image data switched by the switching means and supplied to the encoding means for a predetermined time.

前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とすることができ、前記遅延手段には、1コマンド遅延分とパラメータ演算のために必要な時間に対応するフレーム数をαとしたとき、前記符号化手段に供給されるベースバンド画像データをN+αフレームの処理時間だけ遅延させるようにすることができる。   The upper limit value of the number of frames included in the predetermined encoding range can be set to N (N is a positive integer), and the delay means includes a command delay and a time required for parameter calculation. When the corresponding number of frames is α, the baseband image data supplied to the encoding means can be delayed by the processing time of N + α frames.

前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とすることができ、前記遅延手段には、1コマンド遅延分とパラメータ演算のために必要な時間に対応するフレーム数をβとしたとき、前記符号化手段に供給されるベースバンド画像データを(N−1)+βフレームの処理時間だけ遅延させるようにすることができる。   The upper limit value of the number of frames included in the predetermined encoding range can be set to N (N is a positive integer), and the delay means includes a command delay and a time required for parameter calculation. When the corresponding number of frames is β, the baseband image data supplied to the encoding means can be delayed by the processing time of (N−1) + β frames.

前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とすることができ、前記所定の符号化範囲に含まれるフレーム数の下限値をN´(N´は、正の整数)とすることができ、前記遅延手段には、1コマンド遅延分とパラメータ演算のために必要な時間に対応するフレーム数をβとしたとき、前記符号化手段に供給されるベースバンド画像データを(N+N´−1)+βフレームの処理時間だけ遅延させるようにすることができる。   The upper limit value of the number of frames included in the predetermined encoding range can be N (N is a positive integer), and the lower limit value of the number of frames included in the predetermined encoding range is N ′ (N ′ Is a positive integer), and the delay means is supplied to the encoding means when β is the number of frames corresponding to one command delay and the time required for parameter calculation. The baseband image data can be delayed by the processing time of (N + N′−1) + β frame.

前記符号化手段には、前記第1の映像信号に対応する符号化ストリームの再符号化の開始箇所と終了箇所において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するまで、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲およびそれに続く所定フレーム数の前記第1の映像信号の符号化をくりかえさせるようにすることができ、前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とすることができ、前記所定の符号化範囲に続いて前記符号化手段により符号化される前記所定フレームの数をM(Mは、正の整数)とすることができ、前記遅延手段には、前記符号化手段に供給されるベースバンド画像データを(N+M+1)フレームの処理時間だけ遅延させるようにすることができる。   The encoding means includes a virtual buffer occupation amount of the re-encoded portion and a non-re-encoded portion at a re-encoding start position and an end position of the encoded stream corresponding to the first video signal. Until the virtual buffer occupancy of the second video signal has continuity, the encoding range including the edit point that is switched from the second video signal to the first video signal, and the first video signal of a predetermined number of frames following the encoding range. And the upper limit value of the number of frames included in the predetermined encoding range can be set to N (N is a positive integer). Subsequently, the number of the predetermined frames encoded by the encoding unit can be M (M is a positive integer), and the delay unit includes baseband image data supplied to the encoding unit. (N + It can be delayed by the processing time of M + 1) frames.

前記第1の符号化手段に供給される前記第1の映像信号に対応するベースバンド画像データを符号化する第2の符号化手段を更に備えさせるようにすることができる。   The image processing apparatus may further include second encoding means for encoding baseband image data corresponding to the first video signal supplied to the first encoding means.

前記第1の符号化手段による符号化処理を制御する制御手段を更に備えさせるようにすることができ、前記第1の符号化手段には、前記制御手段による制御に基づいて、前記編集点を含む所定の区間の符号化処理を行わせるようにすることができ、前記第2の符号化手段には、前記第1の符号化手段により符号化される前記所定の区間の符号化終了予定点に対応する終了予定点対応フレームの符号化の結果得られる仮想バッファ占有量、および、符号化のGOP位相を前記制御手段に通知させるようにすることができ、前記制御手段には、前記第2の符号化手段による通知に基づいて、前記第2の符号化手段による符号化のGOP位相に合致するように、かつ、前記所定の区間の符号化終了予定点の仮想バッファ占有量の目標値が、前記第2の符号化手段による前記終了予定点対応フレームの符号化の結果得られる仮想バッファ占有量となるように、前記第1の符号化手段による符号化処理を制御させるようにすることができる。   Control means for controlling the encoding process by the first encoding means can be further provided, and the first encoding means is configured to set the editing point based on the control by the control means. The predetermined encoding section can be subjected to an encoding process, and the second encoding unit includes a predetermined encoding end point of the predetermined section encoded by the first encoding unit. The control means can be notified of the virtual buffer occupancy obtained as a result of the encoding of the frame corresponding to the scheduled end point corresponding to, and the GOP phase of the encoding. Based on the notification by the encoding means, the target value of the virtual buffer occupation amount of the scheduled end point of encoding in the predetermined section is set so as to match the GOP phase of the encoding by the second encoding means. The second As the virtual buffer occupation amount obtained as a result of the encoding of the scheduled end point corresponding frame by the coding means it may be adapted to control the encoding process by the first encoding means.

前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とさせるようにすることができ、前記制御手段が、前記第2の符号化手段による通知に基づいて、前記第1の符号化手段による符号化処理のパラメータを演算するために必要な時間と1コマンド遅延分との和に対応するフレーム数をa(aは、正の整数)とさせるようにすることができ、前記第2の符号化手段に前記終了予定点対応フレームが入力されてから、前記制御手段が前記第2の符号化手段による前記通知を取得するまでにかかる時間に対応するフレーム数をb(bは、正の整数)とさせるようにすることができ、前記遅延手段には、前記第1の符号化手段に供給されるベースバンド画像データを(2N+2+a+b)フレームの処理時間だけ遅延させるようにすることができる。   The upper limit value of the number of frames included in the predetermined encoding range can be set to N (N is a positive integer), and the control unit is based on the notification from the second encoding unit. The number of frames corresponding to the sum of the time required to calculate the parameters of the encoding process by the first encoding means and one command delay is a (a is a positive integer). The number of frames corresponding to the time taken for the control means to acquire the notification by the second encoding means after the frame corresponding to the scheduled end point is input to the second encoding means B (b is a positive integer), and the delay means delays the baseband image data supplied to the first encoding means by a processing time of (2N + 2 + a + b) frames. To let can do.

本発明の第2の側面の情報処理方法は、編集処理を実行する情報処理装置の情報処理方法であって、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングし、スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延したのち、ベースバンド画像データを所定の符号化範囲ごとに符号化するステップを含む。   An information processing method according to a second aspect of the present invention is an information processing method of an information processing apparatus that executes an editing process, and commands an editing point by a user who refers to a first video signal and a second video signal. Based on the operation input, the baseband image data to be encoded is switched between the first video signal and the second video signal, and the switched baseband image data is predetermined before encoding. After the time delay, the method includes a step of encoding the baseband image data for each predetermined encoding range.

本発明の第2の側面のプログラムは、編集処理の制御をコンピュータに実行させるためのプログラムであって、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングするように符号化部へのデータの供給を制御し、スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延したのち、ベースバンド画像データが所定の符号化範囲ごとに符号化されるように、符号化処理を制御するステップを含む処理をコンピュータに実行させる。   A program according to a second aspect of the present invention is a program for causing a computer to execute control of editing processing, and an operation input for instructing an editing point by a user referring to the first video signal and the second video signal. The baseband image data to be encoded is switched between the first video signal and the second video signal to control the supply of data to the encoding unit, and the switched After the baseband image data is delayed for a predetermined time before encoding, the computer is caused to execute a process including a step of controlling the encoding process so that the baseband image data is encoded for each predetermined encoding range. .

本発明の第2の側面においては、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力を受け、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングさせ、スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延させ、ベースバンド画像データを所定の符号化範囲ごとに符号化させる。   In the second aspect of the present invention, the baseband image data to be encoded in response to an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal is stored in the first video signal. Switching between the video signal and the second video signal is performed, the switched baseband image data is delayed for a predetermined time before encoding, and the baseband image data is encoded for each predetermined encoding range.

編集装置は、独立した装置であっても良いし、記録装置、記録再生装置、または、情報処理装置の編集処理を行うブロックであっても良い。   The editing device may be an independent device, or may be a recording device, a recording / reproducing device, or a block that performs editing processing of the information processing device.

以上のように、本発明の第1の側面によれば、編集処理を行うことができ、特に、ベースバンド入力された動画信号を接続または上書きする編集処理を行う場合に、編集素材の映像をオペレータがモニタしながら編集点を決定した後、従来よりも早く編集結果を構成するストリームデータを得ることができるとともに、画像劣化を少なくすることができる。   As described above, according to the first aspect of the present invention, editing processing can be performed. In particular, when editing processing for connecting or overwriting a baseband input video signal is performed, the video of the editing material is displayed. After the operator determines the editing point while monitoring, stream data constituting the editing result can be obtained earlier than before, and image degradation can be reduced.

また、本発明の第2の側面によれば、編集処理を行うことができ、特に、ベースバンド入力された動画信号を接続または上書きする編集処理を行う場合に、編集素材の映像をオペレータがモニタしながら編集点を決定した後、従来よりも早く編集結果を構成するストリームデータを得ることができるとともに、画像劣化を少なくすることができる。   In addition, according to the second aspect of the present invention, editing processing can be performed. In particular, when editing processing for connecting or overwriting a baseband input video signal is performed, the operator monitors the video of the editing material. However, after determining the editing point, stream data constituting the editing result can be obtained earlier than before, and image degradation can be reduced.

以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを確認するためのものである。従って、明細書または図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   Embodiments of the present invention will be described below. Correspondences between constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.

本発明の第1の側面の情報処理装置は、編集処理を実行する情報処理装置であって、ベースバンド画像データを所定の符号化範囲(例えば、GOP)ごとに符号化する符号化手段(例えば、図19のエンコーダ60)と、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段に供給されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングするスイッチング手段(例えば、図19のスイッチ/エフェクト58)と、前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段により符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する編集データ制御手段(例えば、図20の編集後ストリーム選択部144)とを備える。   An information processing apparatus according to a first aspect of the present invention is an information processing apparatus that executes an editing process, and encodes (for example, encoding means) that encodes baseband image data for each predetermined encoding range (for example, GOP). 19), and baseband image data supplied to the encoding means based on an operation input for instructing an edit point by a user referring to the first video signal and the second video signal, Switching means for switching between the first video signal and the second video signal (for example, switch / effect 58 in FIG. 19), and by a user who refers to the first video signal and the second video signal Of the first video signals encoded by the encoding means, the first video signal is switched to the second video signal based on an operation input for instructing an edit point. Edit data control for controlling generation of an encoded stream after editing so that encoded data in the encoding range prior to the edit point is not selected as an encoded stream after editing. Means (for example, the post-edit stream selection unit 144 in FIG. 20).

前記符号化手段による符号化処理を制御する符号化制御手段(例えば、図20のエンコード制御部93)を更に備えることができ、前記符号化制御手段は、前記第1の映像信号に対応する符号化ストリームの再符号化の開始箇所と終了箇所において、再符号化された部分の仮想バッファ占有量(例えば、VBV占有量)と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御することができる。   The encoding control means (for example, the encoding control part 93 of FIG. 20) which controls the encoding process by the encoding means can be further provided, and the encoding control means is a code corresponding to the first video signal. The re-encoded virtual buffer occupancy (for example, VBV occupancy) and the non-re-encoded virtual buffer occupancy have continuity at the start and end of the re-encoding stream. Thus, the encoding of the first video signal can be controlled.

前記符号化制御手段は、前記第1の映像信号のうち、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、再符号化された部分の仮想バッファ占有量(例えば、VBV占有量)と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御することができる。   The encoding control means includes the encoding range subsequent to the encoding range including the edit point that is switched from the second video signal to the first video signal in the first video signal. The first video signal is encoded so that the virtual buffer occupation amount (for example, VBV occupation amount) of the re-encoded portion and the virtual buffer occupation amount of the non-re-encoded portion have continuity. Can be controlled.

前記符号化手段による符号化処理の範囲を決定する符号化範囲決定手段(例えば、図20の再エンコード範囲決定部142)を更に備えることができ、前記符号化範囲決定手段は、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、再符号化された部分の仮想バッファ占有量(例えば、VBV占有量)と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記符号化手段による前記第1の映像信号の符号化を実行可能であるように、前記符号化手段による前記第1の映像信号の再符号化の終了位置を決定することができる。   The encoding unit may further include an encoding range determining unit (for example, a re-encoding range determining unit 142 in FIG. 20) that determines a range of encoding processing by the encoding unit, and the encoding range determining unit includes the second encoding range determining unit. A virtual buffer occupation amount (for example, VBV occupation amount) of a re-encoded portion after the encoding range subsequent to the encoding range including the editing point switched from the video signal to the first video signal; The first encoding by the encoding means can be performed so that the encoding means can execute the encoding of the first video signal so that the virtual buffer occupancy of the part that has not been re-encoded has continuity. The end position of the re-encoding of the video signal can be determined.

本発明の第1の側面の情報処理方法は、編集処理を実行する情報処理装置の情報処理方法であって、ベースバンド画像データを所定の符号化範囲(例えば、GOP)ごとに符号化し(例えば、図30のステップS65の処理)、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングし(例えば、図31のステップS69の処理)、前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する(例えば、図30のステップS67の処理)ステップを含む。   An information processing method according to a first aspect of the present invention is an information processing method of an information processing apparatus that executes editing processing, and encodes baseband image data for each predetermined encoding range (for example, GOP) (for example, , The process of step S65 in FIG. 30), the baseband image data to be encoded based on the operation input for instructing the editing point by the user referring to the first video signal and the second video signal. Switching between the first video signal and the second video signal (for example, the process of step S69 in FIG. 31), and an operation for instructing an edit point by the user referring to the first video signal and the second video signal Based on the input, the first video signal encoded does not include the edit point that is switched from the first video signal to the second video signal, and the previous video point before the edit point. Not to select the encoded data of Goka range as encoded stream after the editing, including controlling the generation of the coded stream after editing (for example, step S67 in FIG. 30) the step.

本発明の第1の側面のプログラムは、編集処理の制御をコンピュータに実行させるためのプログラムであって、ベースバンド画像データを所定の符号化範囲(例えば、GOP)ごとに符号化する処理を制御し(例えば、図30のステップS65の処理)、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングする処理を制御し(例えば、図31のステップS69の処理)、前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する(例えば、図30のステップS67の処理)ステップを含む処理をコンピュータに実行させる。   A program according to a first aspect of the present invention is a program for causing a computer to execute control of editing processing, and controls processing for encoding baseband image data for each predetermined encoding range (for example, GOP). (For example, the process of step S65 in FIG. 30), the baseband image data to be encoded based on the operation input commanding the edit point by the user referring to the first video signal and the second video signal, A user who controls processing to switch between the first video signal and the second video signal (for example, processing in step S69 in FIG. 31) and refers to the first video signal and the second video signal. Of the encoded first video signal, the editing is switched from the first video signal to the second video signal based on an operation input for instructing an edit point by The generation of the encoded stream after editing is controlled so as not to select the encoded data in the encoding range before the editing point that does not include the editing point as the encoded stream after editing (for example, step of FIG. 30). (S67 process) The computer is caused to execute the process including the step.

本発明の第2の側面の情報処理装置は、編集処理を実行する情報処理装置(例えば、図4の編集装置31または図32の編集装置171)であって、ベースバンド画像データを所定の符号化範囲(例えば、GOP)ごとに符号化する符号化手段(例えば、図4または図32のエンコーダ60)と、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段に供給されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングするスイッチング手段(例えば、図4または図32のスイッチ/エフェクト58)と、前記スイッチング手段によりスイッチングされて前記符号化手段に供給されるベースバンド画像データを所定時間遅延させる遅延手段(例えば、図4または図32のフレームバッファ59)とを備える。   The information processing apparatus according to the second aspect of the present invention is an information processing apparatus (for example, the editing apparatus 31 in FIG. 4 or the editing apparatus 171 in FIG. 32) that executes an editing process, and converts baseband image data to a predetermined code. The encoding means (for example, the encoder 60 in FIG. 4 or FIG. 32) for encoding for each encoding range (for example, GOP) and the editing point by the user referring to the first video signal and the second video signal are instructed. Switching means for switching baseband image data supplied to the encoding means between the first video signal and the second video signal based on an operation input (for example, the switch in FIG. 4 or FIG. 32) / Effect 58) and delay means (for example, delaying baseband image data switched by the switching means and supplied to the encoding means for a predetermined time) The frame buffer 59) of FIG. 4 or FIG.

前記第1の符号化手段に供給される前記第1の映像信号に対応するベースバンド画像データを符号化する第2の符号化手段(例えば、図32のエンコーダ183)を更に備えさせるようにすることができる。   Second encoding means (for example, encoder 183 in FIG. 32) for encoding baseband image data corresponding to the first video signal supplied to the first encoding means is further provided. be able to.

前記第1の符号化手段による符号化処理を制御する制御手段(例えば、図32のCPU182)を更に備えさせるようにすることができ、前記第1の符号化手段には、前記制御手段による制御に基づいて、前記編集点を含む所定の区間(例えば、ブリッジクリップ)の符号化処理を行わせるようにすることができ、前記第2の符号化手段には、前記第1の符号化手段により符号化される前記所定の区間の符号化終了予定点に対応する終了予定点対応フレームの符号化の結果得られる仮想バッファ占有量、および、符号化のGOP位相を前記制御手段に通知させるようにすることができ、前記制御手段には、前記第2の符号化手段による通知に基づいて、前記第2の符号化手段による符号化のGOP位相に合致するように、かつ、前記所定の区間の符号化終了予定点の仮想バッファ占有量の目標値が、前記第2の符号化手段による前記終了予定点対応フレームの符号化の結果得られる仮想バッファ占有量となるように、前記第1の符号化手段による符号化処理を制御させるようにすることができる。   Control means (for example, the CPU 182 in FIG. 32) for controlling the encoding process by the first encoding means may be further provided, and the first encoding means is controlled by the control means. Based on the above, it is possible to perform encoding processing of a predetermined section (for example, a bridge clip) including the editing point, and the second encoding unit includes the first encoding unit. The control means is notified of the virtual buffer occupation amount obtained as a result of encoding the frame corresponding to the scheduled end point corresponding to the scheduled end point of the predetermined section to be encoded, and the GOP phase of encoding. The control means can be configured to match the GOP phase of the encoding by the second encoding means based on the notification from the second encoding means, and the predetermined section. The target value of the virtual buffer occupancy amount of the scheduled encoding end point is the virtual buffer occupancy amount obtained as a result of encoding the frame corresponding to the scheduled end point by the second encoding means. The encoding process by the encoding means can be controlled.

本発明の第2の側面の情報処理方法は、編集処理を実行する情報処理装置の情報処理方法であって、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングし(例えば、図17のステップS16の処理)、スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延したのち、ベースバンド画像データを所定の符号化範囲(例えば、GOP)ごとに符号化する(例えば、図17のステップS18の処理)ステップを含む。   An information processing method according to a second aspect of the present invention is an information processing method of an information processing apparatus that executes an editing process, and commands an editing point by a user who refers to a first video signal and a second video signal. Based on the operation input, baseband image data to be encoded is switched between the first video signal and the second video signal (for example, the process of step S16 in FIG. 17), and the switched After the baseband image data is delayed for a predetermined time before encoding, the baseband image data is encoded for each predetermined encoding range (for example, GOP) (for example, the process of step S18 in FIG. 17). .

本発明の第2の側面のプログラムは、編集処理の制御をコンピュータに実行させるためのプログラムであって、第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングするように符号化部へのデータの供給を制御し(例えば、図17のステップS16の処理)、スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延したのち、ベースバンド画像データが所定の符号化範囲(例えば、GOP)ごとに符号化されるように、符号化処理を制御する(例えば、図17のステップS18の処理)ステップを含む処理をコンピュータに実行させる。   A program according to a second aspect of the present invention is a program for causing a computer to execute control of editing processing, and an operation input for instructing an editing point by a user referring to the first video signal and the second video signal. The baseband image data to be encoded is switched to the first video signal and the second video signal to control the data supply to the encoding unit (for example, FIG. 17). Step S16), after the switched baseband image data is delayed for a predetermined time before encoding, the baseband image data is encoded for each predetermined encoding range (for example, GOP). Then, the computer is caused to execute a process including a step of controlling the encoding process (for example, the process of step S18 in FIG. 17).

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図4を参照して、本発明の第1の実施の形態である編集装置31の構成について説明する。   With reference to FIG. 4, the structure of the editing apparatus 31 which is the 1st Embodiment of this invention is demonstrated.

CPU(Central Processing Unit)41は、ノースブリッジ42に接続され、例えば、HDD(Hard disk Drive)46または記録メディア48に記録されているデータの読み出しなどの処理を制御したり、CPU52が実行する編集処理を制御するための制御信号やコマンドを生成して出力したりする。ノースブリッジ42は、PCIバス(Peripheral Component Interconnect/Interface)44に接続され、例えば、CPU41の制御に基づいて、サウスブリッジ45を介して、HDD46または記録メディア48に記録されているデータの供給を受けて、PCIバス44、PCIブリッジ49を介して、メモリ50、デコーダ54、またはデコーダ55に供給する。また、ノースブリッジ42は、メモリ43とも接続されており、CPU41の処理に必要なデータを授受する。   A CPU (Central Processing Unit) 41 is connected to the North Bridge 42, and controls processing such as reading of data recorded on an HDD (Hard disk Drive) 46 or a recording medium 48, and editing executed by the CPU 52, for example. Generate and output control signals and commands for controlling processing. The north bridge 42 is connected to a PCI bus (Peripheral Component Interconnect / Interface) 44 and receives supply of data recorded in the HDD 46 or the recording medium 48 via the south bridge 45 based on the control of the CPU 41, for example. Then, the data is supplied to the memory 50, the decoder 54, or the decoder 55 via the PCI bus 44 and the PCI bridge 49. The north bridge 42 is also connected to the memory 43, and exchanges data necessary for the processing of the CPU 41.

メモリ43は、CPU41が実行する処理に必要なデータを保存する。サウスブリッジ45は、HDD46のデータの書き込みおよび読み出しを制御する。HDD46には、記録メディア48に記録されている圧縮符号化されたインサート編集の対象となる圧縮映像データ(以下、適宜、下地データも称する)の所定の位置に挿入される圧縮映像データ(以下、適宜、上書きデータとも称する)が記録される。   The memory 43 stores data necessary for processing executed by the CPU 41. The south bridge 45 controls writing and reading of data in the HDD 46. In the HDD 46, compressed video data (hereinafter, referred to as base data), which is a target of compression-encoded insert editing recorded on the recording medium 48, is inserted at a predetermined position. (Also referred to as overwrite data as appropriate) is recorded.

また、サウスブリッジ45には、ドライブ47が接続されており、ドライブ47は、記録メディア48から下地データを読み出したり、サウスブリッジ45から供給された下地データや上書きデータを記録メディア48に記録したりする。記録メディア48は、例えば、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどからなり、インサート編集の対象となる下地データを記録している。   In addition, a drive 47 is connected to the south bridge 45, and the drive 47 reads background data from the recording medium 48, and records background data and overwrite data supplied from the south bridge 45 on the recording medium 48. To do. The recording medium 48 is made of, for example, a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and records background data to be subjected to insert editing.

PCIブリッジ49は、デコーダ54、デコーダ55への圧縮映像データの供給や、エンコーダ60から供給される編集後の圧縮映像データの取得を制御するとともに、メモリ50のデータの書き込みおよび読み出しを制御したり、PCIバス44およびコントロールバス51のデータの授受を制御する。メモリ50は、PCIブリッジ49の制御に基づいて、HDD46または記録メディア48より読み出された編集素材の符号化ストリームや、エンコーダ60から供給される編集後の圧縮映像データを記憶する。   The PCI bridge 49 controls the supply of compressed video data to the decoder 54 and the decoder 55, the acquisition of compressed video data after editing supplied from the encoder 60, and the writing and reading of data in the memory 50. Controls the data transmission / reception of the PCI bus 44 and the control bus 51. Under the control of the PCI bridge 49, the memory 50 stores an encoded stream of editing material read from the HDD 46 or the recording medium 48 and compressed video data after editing supplied from the encoder 60.

CPU52は、ノースブリッジ42、PCIバス44、PCIブリッジ49、およびコントロールバス51を介して、CPU41から供給された制御信号やコマンドにしたがって、PCIブリッジ49、デコーダ54乃至デコーダ56、スイッチ57、スイッチ/エフェクト58、エンコーダ60、およびスイッチ62が実行する処理を制御する。メモリ53は、CPU52の処理に必要なデータを記憶する。   In accordance with control signals and commands supplied from the CPU 41 via the north bridge 42, PCI bus 44, PCI bridge 49, and control bus 51, the CPU 52 is connected to the PCI bridge 49, decoders 54 to 56, switch 57, switch / The processing executed by the effect 58, the encoder 60, and the switch 62 is controlled. The memory 53 stores data necessary for the processing of the CPU 52.

デコーダ54乃至デコーダ56は、CPU52の制御に基づいて、供給された圧縮映像データをデコードし、非圧縮の映像信号(ベースバンドの画像データ)を出力する。また、デコーダ54乃至デコーダ56は、編集装置31に含まれない独立した装置として設けられていても良い。例えば、デコーダ56が、独立した装置として設けられている場合、デコーダ56は、後述する処理により編集されて生成された圧縮映像データの供給を受け、復号し、出力することができるようになされる。デコーダ54の出力は、図示しない第1のモニタに出力されて表示される。   Based on the control of the CPU 52, the decoders 54 to 56 decode the supplied compressed video data and output an uncompressed video signal (baseband image data). The decoders 54 to 56 may be provided as independent devices that are not included in the editing device 31. For example, when the decoder 56 is provided as an independent device, the decoder 56 can receive, decode, and output compressed video data that has been edited and generated by processing to be described later. . The output of the decoder 54 is output to a first monitor (not shown) and displayed.

スイッチ57は、CPU52の制御に基づいて、デコーダ55から供給されたベースバンドの画像データと、入力端子61を介して入力されるベースバンドの画像データとのいずれかをスイッチ/エフェクトに供給する。スイッチ57の図示しない第2のモニタに出力されて表示される。   The switch 57 supplies either the baseband image data supplied from the decoder 55 or the baseband image data input via the input terminal 61 to the switch / effect based on the control of the CPU 52. The data is output and displayed on a second monitor (not shown) of the switch 57.

スイッチ/エフェクト58は、CPU52の制御に基づいて、デコーダ54、または、スイッチ57を介して、デコーダ55もしくは入力端子61から非圧縮の映像信号の供給を受け、CPU52の制御に基づいて、供給される非圧縮の映像信号の出力を切り替える。すなわち、スイッチ/エフェクト58は、供給された非圧縮の映像信号を所定のフレームで結合するとともに、必要に応じて所定の範囲にエフェクトを施して、フレームバッファ(frame buffer)59に供給する。   The switch / effect 58 receives an uncompressed video signal from the decoder 55 or the input terminal 61 via the decoder 54 or the switch 57 based on the control of the CPU 52, and is supplied based on the control of the CPU 52. Switch the output of uncompressed video signals. That is, the switch / effect 58 combines the supplied non-compressed video signal with a predetermined frame, applies an effect to a predetermined range as necessary, and supplies it to a frame buffer 59.

フレームバッファ59は、供給されたベースバンド画像データを所定の一定期間だけ保持し、エンコーダ60に供給する。フレームバッファ59によるバッファリングの期間については後述する。   The frame buffer 59 holds the supplied baseband image data for a predetermined period and supplies it to the encoder 60. The buffering period by the frame buffer 59 will be described later.

エンコーダ60は、CPU52の制御に基づいて、供給された非圧縮の映像信号をエンコードする。すなわちエンコーダ60は、非圧縮の映像信号をエンコードすることにより、編集後の符号化ストリームを生成する。   The encoder 60 encodes the supplied uncompressed video signal based on the control of the CPU 52. That is, the encoder 60 encodes an uncompressed video signal to generate an edited encoded stream.

スイッチ62は、CPU52の制御に基づいて、スイッチ/エフェクト58から出力されるベースバンド画像信号、または、デコーダ56によってデコードされたベースバンド画像信号のいずれかを、外部の図示しない第3のモニタに出力して表示させる。   Based on the control of the CPU 52, the switch 62 outputs either the baseband image signal output from the switch / effect 58 or the baseband image signal decoded by the decoder 56 to an external third monitor (not shown). Output and display.

また、入力端子61からは、ベースバンドの画像データであるSDI信号が入力され、スイッチ57を介してスイッチ/エフェクト58に供給される。   An SDI signal that is baseband image data is input from the input terminal 61 and supplied to the switch / effect 58 via the switch 57.

このように、編集装置31においては、エンコーダ60の入力の前段にフレームバッファ59が挿入されている。これに対して、第1のモニタに出力されるデコーダ54の出力、および、第2のモニタに出力されるスイッチ57の入力は、フレームバッファ59による遅延前のデータである。すなわち、オペレータが第1のモニタおよび第2のモニタにより確認する編集素材の映像に対して、エンコーダ60への入力は、一定時間遅延したものとなる。   As described above, in the editing apparatus 31, the frame buffer 59 is inserted before the input of the encoder 60. On the other hand, the output of the decoder 54 output to the first monitor and the input of the switch 57 output to the second monitor are data before delay by the frame buffer 59. That is, the input to the encoder 60 is delayed for a certain time with respect to the video of the editing material checked by the operator using the first monitor and the second monitor.

図5乃至図15を参照して、編集装置31において編集が実行される場合に、フレームバッファ59によるバッファリングによって発生するエンコーダ60への入力信号の遅延時間、および、編集装置31の各部の動作について説明する。   Referring to FIGS. 5 to 15, when editing is performed in editing device 31, the delay time of the input signal to encoder 60 generated by buffering by frame buffer 59, and the operation of each part of editing device 31 Will be described.

図5に示されるように、編集素材である符号化ストリームは、デコーダ54に入力されてデコードされ、そのデコーダ出力は、エンコーダ60に供給される。IN点が指令されたとき、IN点を含むGOPの先頭位置において、元の符号化ストリームの同一の部分とVBVoccupancyが連続になるようにエンコードが実行される。エンコーダ60への入力は、SDI入力に切り替えられて、SDI信号が続けてエンコードされる。   As shown in FIG. 5, the encoded stream that is the editing material is input to the decoder 54 and decoded, and the decoder output is supplied to the encoder 60. When the IN point is commanded, encoding is executed so that the same portion of the original encoded stream and VBVoccupancy are continuous at the head position of the GOP including the IN point. The input to the encoder 60 is switched to the SDI input, and the SDI signal is continuously encoded.

そして、OUT点が指令されたとき、OUT点を含むGOPの先頭において、第1の符号化ストリームのデコードが開始され、エンコーダへの入力が、編集点において、SDI信号から第1の符号化ストリームのデコーダ出力に切換えられる。そして、上述した特開2006−67095号公報に記載の編集処理における再エンコード処理と同様に、編集点を含むGOPと、必要に応じてそれに続く所定フレーム後のVBVoccupancy目標点までのエンコード処理は、元の符号化ストリームのVBVoccupancy目標点とVBVoccupancyが連続するように定められたVBVoccupancy目標値に合致するような符号化が実行されるように、発生符号量が合わせ込まれる。   When the OUT point is commanded, the decoding of the first encoded stream is started at the head of the GOP including the OUT point, and the input to the encoder is the first encoded stream from the SDI signal at the editing point. To the decoder output. And, similar to the re-encoding process in the editing process described in JP-A-2006-67095 described above, the GOP including the editing point and, if necessary, the subsequent encoding process up to the VBVoccupancy target point after a predetermined frame, The generated code amount is adjusted so that encoding is performed so that the VBVoccupancy target point of the original encoded stream and the VBVoccupancy target value determined to be continuous are executed.

オペレータがモニタを確認しながら編集点を決定し、その手前のGOPの切れ目から、VBVoccupancy目標値をはじめとする、正しいパラメータでエンコードを実行するためには、フレームバッファ59によるバッファリングによって発生するエンコーダ60への入力信号の遅延時間が、編集点決定後、設定パラメータを決めたのち、そのGOPの最初のフレームからエンコード開始するために十分な時間であればよい。   An encoder that is generated by buffering by the frame buffer 59 in order to execute an encoding with correct parameters including the VBVoccupancy target value from the GOP break before the operator determines an editing point while checking the monitor. The delay time of the input signal to 60 may be sufficient to start encoding from the first frame of the GOP after determining the setting parameter after determining the editing point.

図6を参照して、アセンブル編集における編集点、および、インサート編集におけるIN点において必要なフレームバッファ59のバッファ容量について説明する。   With reference to FIG. 6, the buffer capacity of the frame buffer 59 required at the edit point in the assemble edit and the IN point in the insert edit will be described.

最大GOP長がNの場合、IN点(または編集点、以下同様)がGOPの先頭であったとき、そのGOPの先頭フレームがエンコード開始点であることから、IN点がGOP内のいずれの位置に設定されても、IN点を含むGOPの先頭からIN点までの最大のフレーム数は、(N−1)[フレーム]となる。openGOPの場合、実際のエンコードはIN点を含むGOPの先頭からであるが、参照画入力のために、エンコーダへの信号入力開始は参照画からとなるので、エンコードに参照画入力の1フレーム分の時間が必要となる。また、1コマンド遅延分とパラメータ演算のために時間を必要とするので、この時間に対応するフレーム数をα[フレーム]とすると、フレームバッファ59のバッファ容量を(N−1)+1+α=N+α[フレーム]以上とすれば、編集点決定後、設定パラメータを決め、GOP切れ目からエンコード開始するために十分な時間だけ遅延した接続後のベースバンド画像データが、エンコーダ60に供給される。エンコーダ60におけるエンコードの制約条件は、エンコード開始点におけるVBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させることである。   If the maximum GOP length is N and the IN point (or edit point, the same applies below) is the beginning of the GOP, the first frame of that GOP is the encoding start point, so the IN point is any position within the GOP. Is set to (N-1) [frame], the maximum number of frames from the beginning of the GOP including the IN point to the IN point. In the case of openGOP, the actual encoding is from the beginning of the GOP including the IN point, but for reference picture input, the signal input to the encoder starts from the reference picture, so one frame of reference picture input is included in the encoding. Time is required. Also, since one command delay and time are required for parameter calculation, if the number of frames corresponding to this time is α [frame], the buffer capacity of the frame buffer 59 is (N−1) + 1 + α = N + α [ If it is more than the frame], after the editing point is determined, the setting parameters are determined, and the connected baseband image data delayed by a sufficient time to start encoding from the GOP break is supplied to the encoder 60. The constraint condition of encoding in the encoder 60 is that the VBVoccupancy at the encoding start point is made to be continuous between a portion where re-encoding is not performed and a portion where re-encoding is performed.

次に、図7を参照して、インサート編集におけるOUT点において必要なフレームバッファ59のバッファ容量について説明する。   Next, the buffer capacity of the frame buffer 59 required at the OUT point in insert editing will be described with reference to FIG.

最大GOP長がNの場合、OUT点がGOP内のいずれの位置に設定されても、OUT点を含むGOPの先頭からIN点までの最大のフレーム数は、最大で(N−1)[フレーム]となる。また、1コマンド遅延分とパラメータ演算のために時間を必要とするので、この時間に対応するフレーム数をβ[フレーム]とすると、フレームバッファ59のバッファ容量を(N−1)+β[フレーム] 以上とすれば、編集点決定後、設定パラメータを決め、GOP切れ目からエンコード開始するために十分な時間だけ遅延した接続後のベースバンド画像データが、エンコーダ60に供給される。   When the maximum GOP length is N, the maximum number of frames from the beginning of the GOP including the OUT point to the IN point is at most (N-1) [frames] regardless of the position of the OUT point in the GOP. It becomes. Also, since one command delay and time are required for parameter calculation, if the number of frames corresponding to this time is β [frame], the buffer capacity of the frame buffer 59 is (N−1) + β [frame]. By doing so, after the edit point is determined, the setting parameters are determined, and the connected baseband image data delayed by a sufficient time to start encoding from the GOP break is supplied to the encoder 60.

そして、エンコーダ60におけるエンコードの制約条件は、OUT点を含むGOPの最後のフレームか、または、その次のGOPのIピクチャまでを、符号化ストリームの再エンコード範囲の終了点とすることと、終了点におけるVBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させることができるように、VBVoccupancy目標値を設定してエンコードを行うことである。   The encoding restriction condition in the encoder 60 is that the last frame of the GOP including the OUT point or the I picture of the next GOP is set as the end point of the re-encoding range of the encoded stream. Encoding is performed by setting a VBVoccupancy target value so that VBVoccupancy at a point can be continued between a portion where re-encoding is not performed and a portion where re-encoding is performed.

OUT点が、インサート処理における下地となっている符号化ストリームにおけるGOP切れ目と重なっていた場合、OUT点のVBVoccupancyをVBVoccupancy目標値としてエンコードが行われる。OUT点が、インサート処理における挿入部分に対応するベースバンド入力データを符号化したときのGOP切れ目と重なっていた場合、OUT点から次のGOPの切れ目までの間を1GOPとして、そのGOPの終端でVBVoccupancyが連続するように、エンコードが実行される。   When the OUT point overlaps the GOP break in the encoded stream that is the base in the insert process, encoding is performed using the VBVoccupancy at the OUT point as the VBVoccupancy target value. If the OUT point overlaps with the GOP break when the baseband input data corresponding to the insertion part in the insert process is encoded, the interval from the OUT point to the next GOP break is defined as 1 GOP, and at the end of that GOP Encoding is performed so that VBVoccupancy is continuous.

また、アセンブル編集における編集点や、IN点では、上書きデータまたは接続されるデータであるベースバンド入力データのエンコード処理において、任意に最大GOP長(N)以下となるようにGOPを設定してエンコードしていけばよいが、OUT点を含むGOP(OUT点がGOPの切れ目のときは、その次のGOP)では、再エンコードされない場合の元の符号化ストリームにおけるGOP切れ目に合わせてGOPを設定してエンコードを行う必要がある。   In addition, at the edit point in assemble editing and IN point, in the encoding process of baseband input data that is overwrite data or connected data, GOP is arbitrarily set and encoded so that it is less than the maximum GOP length (N). However, in a GOP including an OUT point (when the OUT point is a GOP break, the next GOP), the GOP is set according to the GOP break in the original encoded stream when it is not re-encoded. Encoding is required.

OUT点を含むGOPを構成するフレームの数は、GOPの最大フレーム数の設定枚数を超えてはならないし、符号化効率が落ち、画質に影響を及ぼす可能性があるため、極端に短いGOPが発生することも避けたい。   The number of frames that make up the GOP including the OUT point must not exceed the number of frames set for the maximum number of frames in the GOP. I want to avoid it.

そこで、インサートされた部分の符号化結果におけるOUT点を含むGOPと、下地となっている符号化ストリームにおけるOUT点後のGOPが、最大GOP数Nを超えている場合、図9に示されるように、その部分は、2つのGOPに分割されるように、エンコーダ60においてエンコードされる。   Therefore, when the GOP including the OUT point in the encoded result of the inserted portion and the GOP after the OUT point in the underlying encoded stream exceed the maximum number of GOPs N, as shown in FIG. The portion is encoded by the encoder 60 so as to be divided into two GOPs.

このような処理により、OUT点を含むGOPに含まれているフレーム数が必ずN以下になるようにすれば、フレームバッファ59のバッファ容量として、上述した値を用いることにより、オペレータがモニタに表示される編集素材を確認しながら所望の位置で編集点(IN点またはOUT点)を指令するような場合に、従来と比較して、画質を劣化させずに、迅速に編集処理を行うことが可能となる。   If the number of frames included in the GOP including the OUT point is always less than or equal to N by such processing, the operator can display the value on the monitor by using the value described above as the buffer capacity of the frame buffer 59. When editing point (IN point or OUT point) is commanded at a desired position while checking the editing material to be edited, the editing process can be performed quickly without degrading the image quality compared to the past. It becomes possible.

また、符号化効率を落とさないために必要な、1GOPに含まれるフレーム数の最小値をN´としたとき、OUT点を含むGOPのフレーム数が、N'に満たない場合は、その前後どちらかのGOPと結合し、結合されたGOPに含まれるフレーム数がN以上となった場合には、GOPに含まれるフレーム数がN´を下回らないように再度GOPを分割することにより、それぞれのGOPに含まれるフレーム数がN´乃至Nの範囲内になるようにする。   In addition, when the minimum number of frames included in 1 GOP, which is necessary to prevent the encoding efficiency from being reduced, is N ′, if the number of GOP frames including the OUT point is less than N ′, either When the number of frames included in the combined GOP is greater than or equal to N, the GOP is divided again so that the number of frames included in the GOP does not fall below N ′. The number of frames included in the GOP is set within a range of N ′ to N.

例えば、OUT点を含むGOPの範囲を、時間的に先の部分、すなわち、インサート編集における下地である符号化ストリーム側に広げる場合、フレームバッファ59のバッファ容量を、上述したように、(N−1)+β[フレーム]とすれば、編集点決定後、設定パラメータを決め、GOP切れ目からエンコード開始するために十分な時間だけ遅延した接続後のベースバンド画像データが、エンコーダ60に供給される。   For example, when the range of the GOP including the OUT point is extended to the temporally earlier portion, that is, the encoded stream side which is the background in the insert editing, the buffer capacity of the frame buffer 59 is set to (N− 1) If it is assumed that + β [frame], the baseband image data after connection delayed by a sufficient time to start encoding from the GOP break is determined after the editing point is determined, and supplied to the encoder 60.

これに対して、OUT点を含むGOPの範囲を、時間的に前の部分、すなわち、インサート編集における上書きデータであるベースバンドデータ側に広げる場合、フレームバッファ59のバッファ容量を、上述したように、(N−1)+β[フレーム]としてしまっては、遅延の時間が足らなくなってしまう恐れがある。   On the other hand, when the GOP range including the OUT point is expanded to the previous part in time, that is, the baseband data side that is the overwrite data in the insert editing, the buffer capacity of the frame buffer 59 is set as described above. , (N−1) + β [frame], there is a risk that the delay time will be insufficient.

ベースバンドデータは編集処理において初めてのエンコードが施されるだけであるのに対し、下地となる符号化ストリームは、少なくとも2回目のエンコードが施されるため、画質劣化を防ぐには、OUT点を含むGOPの範囲を、時間的に前の部分、すなわち、インサート編集における上書きデータであるベースバンドデータ側に広げる方が好適である。   While baseband data is only encoded for the first time in the editing process, the underlying encoded stream is encoded at least a second time, so to prevent image quality degradation, set the OUT point. It is preferable to extend the range of GOPs included to the previous part in time, that is, to the baseband data side that is overwrite data in insert editing.

OUT点を含むGOPの範囲を、時間的に前の部分、すなわち、インサート編集における上書きデータであるベースバンドデータ側に広げることを考えるならば、フレームバッファ59のバッファ容量を(N+N´−1)+β[フレーム]以上とすれば、図11の上部に示されるように、編集点決定後、設定パラメータを決め、GOP切れ目からエンコード開始するために十分な時間だけ遅延した接続後のベースバンド画像データが、エンコーダ60に供給される。   If the expansion of the GOP range including the OUT point to the previous part in time, that is, the baseband data side that is the overwrite data in the insert editing, the buffer capacity of the frame buffer 59 is (N + N′−1). If it is set to + β [frame] or more, as shown in the upper part of FIG. 11, after setting the editing point, the setting parameter is determined, and the connected baseband image data delayed by a sufficient time to start encoding from the GOP break. Is supplied to the encoder 60.

フレームバッファ59のバッファ容量を(N+N´−1)+β[フレーム]以上とすれば、図11の下部に示されるように、OUT点とGOPの切れ目とが重なってしまった場合においても、十分な時間だけ遅延した接続後のベースバンド画像データが、エンコーダ60に供給され、終了点におけるVBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させることができるように符号化処理を行うフレーム数を充分確保することが可能となる。   If the buffer capacity of the frame buffer 59 is set to (N + N′−1) + β [frame] or more, as shown in the lower part of FIG. 11, even when the OUT point and the GOP break overlap, sufficient The connected baseband image data delayed by time is supplied to the encoder 60, and the encoding process is performed so that the VBVoccupancy at the end point can be continued between the portion that does not perform re-encoding and the portion that executes re-encoding. A sufficient number of frames can be secured.

また、例えば、図12に示されるように、インサート編集における下地である符号化ストリームの1GOP中にIN点およびOUT点がいずれも存在した場合、フレームバッファ59のバッファ容量が(N+N´−1)+β[フレーム]以上であれば、OUT点が決定された時点ではまだそのGOPのエンコードは開始されていないので、編集処理を問題なく行うことが可能となる。   Also, for example, as shown in FIG. 12, when both the IN point and the OUT point exist in 1 GOP of the encoded stream which is the base in the insert editing, the buffer capacity of the frame buffer 59 is (N + N′−1). If it is + β [frame] or more, since the encoding of the GOP has not started yet when the OUT point is determined, the editing process can be performed without any problem.

また、例えば、図13に示されるように、インサート編集における下地である符号化ストリームにおけるOUT点を含むGOPに含まれるフレーム数が最小値のN´であったとしても、編集処理を問題なく行うことが可能となる。   Further, for example, as shown in FIG. 13, even if the number of frames included in the GOP including the OUT point in the encoded stream that is the background in the insert editing is the minimum value N ′, the editing process is performed without any problem. It becomes possible.

すなわち、処理されるストリームの最大GOP長をN[フレーム]、最小GOP長をN'[フレーム]として、(コマンド遅延分+パラメータ演算分)にかかる時間に対応するフレーム処理時間が、IN点におけるα[フレーム]分とOUT点におけるβ[フレーム]分とで等しい値であるとしたとき、フレームバッファ59のバッファ容量を(N+N'−1+β)[フレーム]とすれば、編集点決定後、設定パラメータを決め、GOP切れ目からエンコード開始するために十分な時間だけ遅延した接続後のベースバンド画像データが、エンコーダ60に供給される。   That is, assuming that the maximum GOP length of the stream to be processed is N [frames] and the minimum GOP length is N ′ [frames], the frame processing time corresponding to the time required for (command delay + parameter calculation) is Assuming that α [frame] and β [frame] at the OUT point have the same value, if the buffer capacity of the frame buffer 59 is (N + N′−1 + β) [frame], the setting is made after the edit point is determined. The connected baseband image data delayed by a sufficient time to determine the parameters and start encoding from the GOP break is supplied to the encoder 60.

なお、(コマンド遅延分+パラメータ演算分)にかかる時間に対応するフレーム処理時間が、IN点におけるα[フレーム]分とOUT点におけるβ[フレーム]分とが等しい値ではなかった場合、フレームバッファ59のバッファ容量は、(N+N'−1+β)[フレーム]と(N−1+α)[フレーム]とのうちの、いずれか大きいほうの値とすればよい。   Note that if the frame processing time corresponding to the time taken for (command delay + parameter calculation) is not equal to α [frame] at the IN point and β [frame] at the OUT point, the frame buffer The buffer capacity 59 may be set to the larger one of (N + N′−1 + β) [frame] and (N−1 + α) [frame].

なお、再エンコード区間の終了点におけるVBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させるために、例えば、編集点(OUT点)を含むGOP(または、そのGOPと次のIピクチャまで)のエンコード終了時に、目標VBV占有量よりも占有量が小さくなってしまった場合は、zero stuffによってVBV占有量を連続にすることはできないため、次GOPもエンコード対象として、任意の発生符号調整方法により再エンコードが継続されるようしてもよい。   In order to make VBVoccupancy at the end point of the re-encoding section continuous between the part that does not execute re-encoding and the part that executes re-encoding, for example, the GOP including the editing point (OUT point) (or the GOP and the next If the occupancy is smaller than the target VBV occupancy at the end of encoding (up to the I picture), the VBV occupancy cannot be made continuous by zero stuff. Re-encoding may be continued by the generated code adjustment method.

また、再エンコード区間の終了点におけるVBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させるために、再エンコード区間の終了点におけるVBVoccupancyが、再エンコードを実行しない部分と再エンコードを実行する部分とで連続するまで、エンコードを繰り返す2-path法を用いることにより、VBVoccupancyの連続性を保障するようにしてもよい。2-path法は、エンコードの結果、VBVoccupancyが合わなかった場合、ずれ分を符号配分量から引いて新たに符号配分を設定し、VBVoccupancyが連続するまでエンコードを繰り返し行う方法である。   In addition, in order to make the VBVoccupancy at the end point of the re-encoding section continuous between the part where the re-encoding is not performed and the part where the re-encoding is performed, the VB Voccupancy at the end point of the re-encoding period is The continuity of VBVoccupancy may be ensured by using a 2-path method in which encoding is repeated until the encoding is continued. The 2-path method is a method in which, when VBVoccupancy does not match as a result of encoding, a code allocation is newly set by subtracting the deviation from the code allocation amount, and encoding is repeated until VBVoccupancy continues.

2-path法を行う場合、OUT点以降のデータ、すなわち、インサート処理における下地となっている符号化ストリームは、その都度、HDD46から読み出すようにしても良いが、フレームバッファ59に必要なフレーム分がバッファリングされていれば、データの読み出しを繰り返す必要がなくなり、好適である。   When performing the 2-path method, the data after the OUT point, that is, the encoded stream that is the base in the insert process may be read from the HDD 46 each time. Is buffered, there is no need to repeat data reading, which is preferable.

具体的には、図15に示されるように、VBV占有量の合わせ込みのために行うエンコードの最小フレーム数は、1GOP分のフレーム数と、次GOPのIピクチャまでのフレーム数との合計値である。従って、GOP先頭からIピクチャまでの最大数をMとすると、1GOPの最大数はNであり、エンコード時に必要となる前方参照画の1フレームを考慮すると、フレームバッファ59のバッファ容量を(N+M+1)[フレーム]とすれば、フレームバッファ59に蓄積されているベースバンド画像信号を用いて、2-path法を実行することができる。   Specifically, as shown in FIG. 15, the minimum number of frames to be encoded for adjusting the VBV occupation amount is the sum of the number of frames for 1 GOP and the number of frames up to the I picture of the next GOP. It is. Therefore, if the maximum number from the GOP head to the I picture is M, the maximum number of 1GOP is N, and the buffer capacity of the frame buffer 59 is (N + M + 1) considering one frame of the forward reference picture required at the time of encoding. With “frame”, the 2-path method can be executed using the baseband image signal stored in the frame buffer 59.

したがって、2-path法を行う場合、フレームバッファ59のバッファ容量は、(N+N'−1+β)[フレーム]と(N+M+1)[フレーム]とのうちのいずれか大きい方とすると好適である。   Therefore, when performing the 2-path method, it is preferable that the buffer capacity of the frame buffer 59 is set to the larger one of (N + N′−1 + β) [frame] and (N + M + 1) [frame].

図16に、編集装置31のCPU41およびCPU52が有する機能を説明するための機能ブロック図を示す。   FIG. 16 is a functional block diagram for explaining the functions of the CPU 41 and the CPU 52 of the editing apparatus 31.

CPU41は、パラメータ取得部81、ユーザ入力取得部82、IN点/OUT点決定部83、再エンコード範囲決定部84、および、編集処理制御部85の機能を有しており、CPU52は、デコード処理部91、#1スイッチ制御部92、エンコード処理部93、および、#2スイッチ制御部94の機能を有している。   The CPU 41 has functions of a parameter acquisition unit 81, a user input acquisition unit 82, an IN point / OUT point determination unit 83, a re-encode range determination unit 84, and an edit processing control unit 85. The CPU 52 performs a decoding process. Functions of the unit 91, # 1 switch control unit 92, encoding processing unit 93, and # 2 switch control unit 94.

パラメータ取得部81は、フレームバッファ59のバッファ容量などの編集装置31において予め決まっているパラメータや、編集される符号化ストリームまたはベースバンド画像データに関するGOP位相やVBV占有量など、処理に必要な各種パラメータを取得する。   The parameter acquisition unit 81 includes various parameters necessary for processing such as parameters predetermined in the editing device 31 such as the buffer capacity of the frame buffer 59, GOP phase and VBV occupation amount related to the encoded stream or baseband image data to be edited. Get parameters.

ユーザ入力取得部82は、図示しない操作入力部から供給される、IN点(編集点を含む)およびOUT点の指令を取得する。   The user input acquisition unit 82 acquires commands for IN points (including editing points) and OUT points supplied from an operation input unit (not shown).

IN点/OUT点決定部83は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部により取得された各種パラメータを基に、編集におけるIN点(編集点を含む)およびOUT点を決定し、編集処理制御部85に供給する。ここでは、第1のモニタおよび第2のモニタにより編集素材の映像を確認するオペレータが入力したIN点およびOUT点の指令のタイミングで、略リアルタイムに、スイッチ/エフェクト58のスイッチが切換えられて、フレームバッファ59に出力されるデータが切換えられるものとする。   The IN point / OUT point determination unit 83 uses the user operation input supplied from the user input acquisition unit 82 and the various parameters acquired by the parameter acquisition unit to edit the IN point (including the edit point) and OUT. A point is determined and supplied to the edit processing control unit 85. Here, the switch of the switch / effect 58 is switched substantially in real time at the timing of the IN point and OUT point commands input by the operator who confirms the video of the editing material on the first monitor and the second monitor. It is assumed that data output to the frame buffer 59 is switched.

再エンコード範囲決定部84は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部により取得された各種パラメータ、並びに、IN点/OUT点決定部83により決定されたIN点およびOUT点を基に、インサート処理における下地となっている符号化ストリームの再エンコード範囲を決定し、編集処理制御部85に供給する。   The re-encoding range determination unit 84 includes the user operation input supplied from the user input acquisition unit 82, the various parameters acquired by the parameter acquisition unit, the IN point determined by the IN point / OUT point determination unit 83, Based on the OUT point, the re-encoding range of the encoded stream that is the base in the insert processing is determined and supplied to the editing processing control unit 85.

編集処理制御部85は、IN点/OUT点決定部83により決定されたIN点およびOUT点、並びに、再エンコード範囲決定部84より決定された下地となっている符号化ストリームの再エンコード範囲を基に、デコーダ54乃至デコーダ56、スイッチ57、スイッチ/エフェクト58、エンコーダ60、および、スイッチ62の動作を制御するためのコマンドなどを生成し、ノースブリッジ42、PCIバス44、PCIブリッジ49、および、コントロールバス51を介して、生成したコマンドをCPU52に供給する。   The edit processing control unit 85 determines the IN point and the OUT point determined by the IN point / OUT point determination unit 83, and the re-encoding range of the encoded stream that is the base determined by the re-encoding range determination unit 84. Based on the decoder 54 to the decoder 56, the switch 57, the switch / effect 58, the encoder 60, and the command for controlling the operation of the switch 62, the north bridge 42, the PCI bus 44, the PCI bridge 49, and the like are generated. The generated command is supplied to the CPU 52 via the control bus 51.

デコード処理部91は、編集処理制御部85から供給されたコマンドに基づいて、デコーダ54乃至デコーダ56の動作を制御する。   The decode processing unit 91 controls the operations of the decoders 54 to 56 based on the command supplied from the edit processing control unit 85.

#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において、ストリームバッファ59に出力するデータを切換えて、データを接続させる。   The # 1 switch control unit 92 controls the operation of the switch / effect 58 to switch the data to be output to the stream buffer 59 at the editing point and connect the data.

エンコード処理部93は、編集処理制御部85から供給されたコマンドに基づいて、エンコーダ60の動作を制御する。   The encoding processing unit 93 controls the operation of the encoder 60 based on the command supplied from the editing processing control unit 85.

#2スイッチ制御部94は、スイッチ57を制御して、スイッチ/エフェクト58に供給される、例えば、上書き用のデータの切り替えを制御する。   The # 2 switch control unit 94 controls the switch 57 to control, for example, the switching of overwriting data supplied to the switch / effect 58.

次に、図17および図18のフローチャートを参照して、編集装置31が実行する編集処理1について説明する。   Next, editing processing 1 executed by the editing device 31 will be described with reference to the flowcharts of FIGS. 17 and 18.

ステップS11において、CPU41は、HDD(Hard disk Drive)46または記録メディア48に記録されている下地の符号化ストリームを読み出し、ノースブリッジ42およびPCIバス44を介して、PCIブリッジ49に供給する。CPU52は、供給された下地の符号化ストリームを、必要に応じて、一旦メモリ50に蓄積した後、デコーダ54に供給する。デコーダ54は、デコード制御部91の制御に基づいて、供給された下地の符号化ストリームのデコードを開始し、デコードされて生成されたベースバンド信号を、スイッチ/エフェクト58に供給する。   In step S <b> 11, the CPU 41 reads a base encoded stream recorded on a hard disk drive (HDD) 46 or a recording medium 48 and supplies the encoded stream to the PCI bridge 49 via the north bridge 42 and the PCI bus 44. The CPU 52 temporarily stores the supplied encoded stream of the background in the memory 50 as necessary, and then supplies it to the decoder 54. Based on the control of the decoding control unit 91, the decoder 54 starts decoding the supplied background encoded stream, and supplies the baseband signal generated by decoding to the switch / effect 58.

ステップS12において、モニタ1およびモニタ2は、遅延前の編集素材の表示を開始し、モニタ3は、スイッチ/エフェクト58の出力、すなわち、遅延前の編集結果の表示を開始する。オペレータは、モニタ1およびモニタ2に表示される映像を観測し、信号を切替えたいタイミングを図示しない操作入力部により指令する。   In step S12, the monitor 1 and the monitor 2 start displaying the editing material before the delay, and the monitor 3 starts displaying the output of the switch / effect 58, that is, the editing result before the delay. The operator observes the video displayed on the monitor 1 and the monitor 2, and instructs the timing to switch the signal from an operation input unit (not shown).

ステップS13において、CPU41のパラメータ取得部81は、下地の符号化ストリームに関するGOP位相情報を取得し、IN点/OUT点決定部83および再エンコード範囲決定部84に供給する。これにより、CPU41は、下地の符号化ストリームのGOPの切れ目を検出することができる。また、CPU41は、フレームバッファ59のバッファ容量も認識しているので、エンコーダ60による再エンコードの開始タイミングを制御することが可能となる。   In step S <b> 13, the parameter acquisition unit 81 of the CPU 41 acquires GOP phase information regarding the base encoded stream and supplies the GOP phase information to the IN point / OUT point determination unit 83 and the re-encode range determination unit 84. Thereby, the CPU 41 can detect a GOP break in the underlying encoded stream. In addition, since the CPU 41 recognizes the buffer capacity of the frame buffer 59, it is possible to control the re-encoding start timing by the encoder 60.

ステップS14において、パラメータ取得部81は、下地の符号化ストリームに関する、GOP切れ目でのVBV占有量を取得し、IN点/OUT点決定部83および再エンコード範囲決定部84に供給する。これにより、例えば、上述した特開2006−67095号公報に記載の技術やその他の公知の技術を用いて、VBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させることが可能となる。   In step S <b> 14, the parameter acquisition unit 81 acquires the VBV occupation amount at the GOP break regarding the base encoded stream, and supplies the VBV occupation amount to the IN point / OUT point determination unit 83 and the re-encode range determination unit 84. Thereby, for example, using the technique described in the above-mentioned Japanese Patent Application Laid-Open No. 2006-67095 and other known techniques, VBVoccupancy can be made continuous between a part that does not perform re-encoding and a part that executes re-encoding. It becomes possible.

ステップS15において、ユーザ入力取得部82は、フレームバッファ59およびエンコーダ60への入力信号を下地の符号化ストリームに対応するベースバンド信号から入力端子61より供給されるベースバンド信号に切替える様に操作入力を受けたか否かを判断する。   In step S15, the user input acquisition unit 82 performs operation input so as to switch the input signal to the frame buffer 59 and the encoder 60 from the baseband signal corresponding to the underlying encoded stream to the baseband signal supplied from the input terminal 61. It is determined whether or not it has been received.

ステップS15において、フレームバッファ59およびエンコーダ60への入力信号を切換える操作入力を受けていないと判断された場合、操作入力を受けたと判断されるまで、ステップS15の処理が繰り返される。   If it is determined in step S15 that an operation input for switching input signals to the frame buffer 59 and the encoder 60 has not been received, the process in step S15 is repeated until it is determined that the operation input has been received.

ステップS15において、フレームバッファ59およびエンコーダ60への入力信号を切換える操作入力を受けたと判断された場合、ステップS16において、IN点/OUT点決定部83は、編集におけるIN点を決定し、編集処理制御部85に供給する。編集処理制御部85は、CPU52の#1スイッチ制御部92を制御するための制御信号を生成し、CPU52に供給する。CPU52の#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において出力するデータを切換えて、フレームバッファ59およびエンコーダ60への入力信号を下地の符号化ストリームに対応するベースバンド信号から入力端子61より供給されるベースバンド信号に切替える、すなわち、下地の符号化ストリームに対応するベースバンド信号と入力端子61より供給されるベースバンド信号を接続させる。フレームバッファ59では、供給されたベースバンド信号がバッファリングされるので、エンコーダ60への入力は、フレームバッファ59のバッファ容量分だけ遅延する。   If it is determined in step S15 that an operation input for switching input signals to the frame buffer 59 and the encoder 60 has been received, in step S16, the IN point / OUT point determining unit 83 determines an IN point in editing, and editing processing is performed. This is supplied to the controller 85. The edit processing control unit 85 generates a control signal for controlling the # 1 switch control unit 92 of the CPU 52 and supplies the control signal to the CPU 52. The # 1 switch control unit 92 of the CPU 52 controls the operation of the switch / effect 58 to switch the data to be output at the editing point, and the input signals to the frame buffer 59 and the encoder 60 correspond to the underlying encoded stream. The baseband signal is switched to the baseband signal supplied from the input terminal 61, that is, the baseband signal corresponding to the underlying encoded stream and the baseband signal supplied from the input terminal 61 are connected. Since the supplied baseband signal is buffered in the frame buffer 59, the input to the encoder 60 is delayed by the buffer capacity of the frame buffer 59.

ステップS17において、再エンコード範囲決定部84は、IN点/OUT点決定部83により決定されたIN点の設定位置を検出し、IN点を含むGOPに関してエンコーダ60によるエンコードを開始するためのタイミングを設定する。   In step S17, the re-encoding range determination unit 84 detects the setting position of the IN point determined by the IN point / OUT point determination unit 83, and determines the timing for starting encoding by the encoder 60 for the GOP including the IN point. Set.

ステップS18において、編集処理制御部85は、フレームバッファ59によりバッファリングされた、下地の符号化ストリームのIN点を含むGOPの最初のフレームからの、エンコーダ60によるエンコードを制御する制御信号を、CPU52のエンコード制御部93に供給する。エンコード制御部93は、編集処理制御部85から供給された制御信号に基づいて、フレームバッファ59によりバッファリングされた、下地の符号化ストリームのIN点を含むGOPの最初のフレームからの、エンコーダ60によるエンコードを制御する。エンコード制御部93は、基本的に、OUT点を含むGOPまでの間においては、エンコーダ60に対して、任意のGOP長でのエンコードを実行させることが可能である。エンコード制御部93は、例えば、符号化効率ができるだけ高くなるように、1GOPを最大GOP長Nとしてエンコードが実行されるようにしても良い。   In step S18, the edit processing control unit 85 outputs a control signal for controlling the encoding by the encoder 60 from the first frame of the GOP including the IN point of the background encoded stream buffered by the frame buffer 59 to the CPU 52. Is supplied to the encoding control unit 93. Based on the control signal supplied from the edit processing control unit 85, the encoding control unit 93 encodes the encoder 60 from the first frame of the GOP including the IN point of the base encoded stream buffered by the frame buffer 59. Controls encoding by. The encoding control unit 93 can basically cause the encoder 60 to perform encoding with an arbitrary GOP length until the GOP including the OUT point. For example, the encoding control unit 93 may perform encoding with 1 GOP as the maximum GOP length N so that the encoding efficiency is as high as possible.

ステップS19において、CPU41は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給されるエンコード結果の取得を開始して、メモリ43に供給して保存させる。   In step S19, the CPU 41 starts obtaining the encoding result supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42, and supplies the encoded result to the memory 43 for storage.

ステップS20において、ユーザ入力取得部82は、フレームバッファ59およびエンコーダ60への入力信号を、入力端子61より供給されるベースバンド信号から、デコーダ54から出力される下地の符号化ストリームに対応するベースバンド信号に切替える様に操作入力を受けたか否かを判断する。   In step S <b> 20, the user input acquisition unit 82 converts the input signal to the frame buffer 59 and the encoder 60 from the baseband signal supplied from the input terminal 61 to the base encoded stream output from the decoder 54. It is determined whether or not an operation input has been received so as to switch to a band signal.

ステップS20において、フレームバッファ59およびエンコーダ60への入力信号を切換える操作入力を受けていないと判断された場合、入力信号を切換える操作入力を受けたと判断されるまで、ステップS20の処理が繰り返される。   If it is determined in step S20 that an operation input for switching input signals to the frame buffer 59 and the encoder 60 has not been received, the process of step S20 is repeated until it is determined that an operation input for switching input signals has been received.

ステップS20において、フレームバッファ59およびエンコーダ60への入力信号を切換える操作入力を受けたと判断された場合、ステップS21において、IN点/OUT点決定部83は、編集におけるOUT点を決定し、編集処理制御部85に供給する。編集処理制御部85は、CPU52の#1スイッチ制御部92を制御するための制御信号を生成し、CPU52に供給する。CPU52の#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において出力するデータを切換えて、フレームバッファ59およびエンコーダ60への入力信号を入力端子61より供給されるベースバンド信号から下地の符号化ストリームに対応するベースバンド信号に切替える。すなわち、編集処理制御部85は、入力端子61より供給されるベースバンド信号と下地の符号化ストリームに対応するベースバンド信号を接続させる。フレームバッファ59では、接続されたベースバンド信号と下地の符号化ストリームに対応するベースバンド信号がバッファリングされる。   If it is determined in step S20 that an operation input for switching input signals to the frame buffer 59 and the encoder 60 has been received, in step S21, the IN point / OUT point determining unit 83 determines an OUT point in editing, and editing processing is performed. This is supplied to the controller 85. The edit processing control unit 85 generates a control signal for controlling the # 1 switch control unit 92 of the CPU 52 and supplies the control signal to the CPU 52. The # 1 switch control unit 92 of the CPU 52 controls the operation of the switch / effect 58, switches the data to be output at the editing point, and supplies the input signals to the frame buffer 59 and the encoder 60 from the input terminal 61. The band signal is switched to the baseband signal corresponding to the underlying encoded stream. That is, the edit processing control unit 85 connects the baseband signal supplied from the input terminal 61 and the baseband signal corresponding to the base encoded stream. The frame buffer 59 buffers the connected baseband signal and the baseband signal corresponding to the base encoded stream.

ステップS22において、再エンコード範囲決定部84は、エンコード終了点のストリーム接続位置におけるVBV占有量が一致するように、エンコード処理を制御して、再エンコード終了位置を決定し、決定した再エンコード範囲を、編集処理制御部85に供給する。編集処理制御部85は、エンコーダ60によるエンコードを制御する制御信号を、CPU52のエンコード制御部93に供給する。エンコード制御部93は、編集処理制御部85から供給された制御信号に基づいて、フレームバッファ59によりバッファリングされていた、下地の符号化ストリームのOUT点を含むGOPの最初のフレームからの、エンコーダ60によるエンコードを制御する。   In step S22, the re-encoding range determination unit 84 controls the encoding process so that the VBV occupancy amounts at the stream connection positions at the encoding end point coincide with each other, determines the re-encoding end position, and determines the determined re-encoding range. And supplied to the edit processing control unit 85. The editing process control unit 85 supplies a control signal for controlling encoding by the encoder 60 to the encoding control unit 93 of the CPU 52. Based on the control signal supplied from the edit processing control unit 85, the encoding control unit 93 encodes the encoder from the first frame of the GOP including the OUT point of the underlying encoded stream that has been buffered by the frame buffer 59. 60 controls the encoding.

ステップS23において、再エンコード範囲決定部84は、エンコーダ60によるエンコードが正しく終了したか否かを判断する。ステップS23において、エンコーダ60によるエンコードが正しく終了していない、すなわち、エンコード終了点のストリーム接続位置におけるVBV占有量が一致していないと判断された場合、処理は、ステップS22に戻り、それ以降の処理が繰り返される。   In step S <b> 23, the re-encode range determination unit 84 determines whether or not the encoding by the encoder 60 has been correctly completed. If it is determined in step S23 that the encoding by the encoder 60 has not been correctly completed, that is, the VBV occupancy at the stream connection position at the encoding end point does not match, the process returns to step S22, and thereafter The process is repeated.

ステップS23において、エンコーダ60によるエンコードが正しく終了したと判断された場合、ステップS24において、CPU41は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給され、メモリ43に保存されている編集された部分のエンコード結果のストリームを、サウスブリッジ45を介してドライブ47に供給し、装着されている記録メディア48の所定の記録領域に記録することにより、編集されていない部分の符号化ストリームとを接続して、処理が終了される。   If it is determined in step S23 that the encoding by the encoder 60 has been correctly completed, in step S24, the CPU 41 is supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42 and stored in the memory 43. The encoded stream of the edited part is supplied to the drive 47 via the south bridge 45 and recorded in a predetermined recording area of the attached recording medium 48, thereby encoding the part that has not been edited. The process ends after connecting the stream.

なお、ドライブ47による記録メディア48の記録速度、再生速度が、現在記録再生を実行している符号の速度に比べて十分に大きければ、下地となる符号化ストリームに対応するベースバンド画像データを再生しながら、新規に作成した編集後の符号データを記録メディア48に記録することは可能である。   Note that if the recording speed and playback speed of the recording medium 48 by the drive 47 are sufficiently higher than the speed of the code that is currently recording and playing back, the baseband image data corresponding to the underlying encoded stream is played back. However, it is possible to record newly created code data after editing on the recording medium 48.

このような処理により、編集素材の映像をオペレータがモニタしながら編集点を決定し、従来よりも早く編集結果を得ることができるとともに、画像劣化を少なくすることができる。   By such processing, the operator can determine the editing point while monitoring the video of the editing material, and can obtain the editing result faster than before, and can reduce image degradation.

なお、終了点におけるVBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させるために、例えば、編集点(OUT点)を含むGOP(または、そのGOPと次のIピクチャまで)のエンコード終了時に、目標VBV占有量よりも占有量が小さくなってしまった場合は、zero stuffによってVBV占有量を連続にすることはできないため、次GOPもエンコード対象として、任意の発生符号調整方法により再エンコードが継続されるようしてもよい。   In order to make the VBVoccupancy at the end point continuous between the part that does not execute re-encoding and the part that executes re-encoding, for example, GOP including the edit point (OUT point) (or the GOP and the next I picture) ) When the occupancy becomes smaller than the target VBV occupancy at the end of encoding, VBV occupancy cannot be made continuous by zero stuff, so the next GOP is also subject to encoding and any generated code adjustment Re-encoding may be continued by the method.

また、終了点におけるVBVoccupancyが、再エンコードを実行しない部分と再エンコードを実行する部分とで連続するまで、同一の範囲でエンコードを繰り返す2-path法を用いることにより、VBVoccupancyの連続性を保障するようにしてもよい。   Also, the continuity of VBVoccupancy is ensured by using the 2-path method that repeats encoding in the same range until VBVoccupancy at the end point is continuous between the part that does not perform re-encoding and the part that performs re-encoding. You may do it.

次に、図19を参照して、本発明の第2の実施の形態である編集装置101の構成について説明する。   Next, with reference to FIG. 19, the structure of the editing apparatus 101 which is the 2nd Embodiment of this invention is demonstrated.

なお、図4の編集装置31における場合と対応する部分には、同一の符号を付してあり、その説明は適宜省略する。   Note that portions corresponding to those in the editing apparatus 31 in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

すなわち、図19の編集装置101は、CPU41に代わってCPU121が備えられ、CPU52に代わってCPU122が備えられ、フレームバッファ59が省略されている以外は、基本的に、図4の編集装置31と同様の構成を有している。   That is, the editing apparatus 101 of FIG. 19 is basically the same as the editing apparatus 31 of FIG. 4 except that the CPU 121 is provided instead of the CPU 41, the CPU 122 is provided instead of the CPU 52, and the frame buffer 59 is omitted. It has the same configuration.

編集装置101においては、編集点(IN点/OUT点)を指定する操作入力が取得される前に、下地となる符号化ストリームのデコードおよびエンコードを、それぞれのGOP単位で開始しておくようになされている。そして、エンコードされたGOP中に編集点(IN点/OUT点)が無ければ、エンコード結果を破棄するものとする。   In the editing apparatus 101, the decoding and encoding of the underlying encoded stream is started for each GOP unit before the operation input designating the editing point (IN point / OUT point) is acquired. Has been made. If there is no edit point (IN point / OUT point) in the encoded GOP, the encoded result is discarded.

図20に、編集装置101のCPU121およびCPU122が有する機能を説明するための機能ブロック図を示す。   FIG. 20 is a functional block diagram for explaining the functions of the CPU 121 and the CPU 122 of the editing apparatus 101.

なお、図16の編集装置31における場合と対応する部分には、同一の符号を付してあり、その説明は適宜省略する。   Note that portions corresponding to those in the editing apparatus 31 in FIG. 16 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

すなわち、編集装置101のCPU121は、IN点/OUT点決定部83、再エンコード範囲決定部84、および、編集処理制御部85に代わって、IN点/OUT点決定部141、再エンコード範囲決定部142、編集処理制御部143、および、編集後ストリーム選択部144の機能を有している。また、編集装置101のCPU122は、編集装置31のCPU52と基本的に同様の機能を有している。   That is, the CPU 121 of the editing apparatus 101 replaces the IN point / OUT point determination unit 83, the re-encode range determination unit 84, and the edit processing control unit 85 with an IN point / OUT point determination unit 141, a re-encode range determination unit. 142, the editing process control unit 143, and the post-editing stream selection unit 144. The CPU 122 of the editing apparatus 101 has basically the same function as the CPU 52 of the editing apparatus 31.

IN点/OUT点決定部141は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部により取得された各種パラメータを基に、編集におけるIN点(編集点を含む)およびOUT点を決定し、編集処理制御部143、および、編集後ストリーム選択部144に供給する。ここでも、第1のモニタおよび第2のモニタにより編集素材の映像を確認するオペレータが入力したIN点およびOUT点の指令のタイミングで、略リアルタイムに、スイッチ/エフェクト58のスイッチが切換えられて、エンコーダ60に出力されるデータが切換えられるものとする。   The IN point / OUT point determination unit 141 includes the IN point (including the editing point) and OUT in editing based on the user operation input supplied from the user input acquisition unit 82 and the various parameters acquired by the parameter acquisition unit. The point is determined and supplied to the editing process control unit 143 and the edited stream selection unit 144. Here again, the switch of the switch / effect 58 is switched substantially in real time at the timing of the IN point and OUT point commands input by the operator who confirms the video of the editing material on the first monitor and the second monitor. It is assumed that the data output to the encoder 60 is switched.

再エンコード範囲決定部142は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部81により取得された各種パラメータ、並びに、IN点/OUT点決定部141により決定されたIN点およびOUT点を基に、インサート処理における下地となっている符号化ストリームのエンコード結果のうち、再エンコード結果を編集結果として選択する範囲としての再エンコード範囲を決定し、編集処理制御部143、および、編集後ストリーム選択部144に供給する。   The re-encoding range determination unit 142 includes a user operation input supplied from the user input acquisition unit 82, various parameters acquired by the parameter acquisition unit 81, and an IN point determined by the IN point / OUT point determination unit 141. And a re-encoding range as a range for selecting a re-encoding result as an editing result among encoding results of an encoded stream that is a base in the insert processing based on the OUT point, an editing processing control unit 143, and The stream is supplied to the post-edit stream selection unit 144.

編集処理制御部143は、IN点/OUT点決定部141により決定されたIN点およびOUT点、並びに、再エンコード範囲決定部142より決定された、下地となっている符号化ストリームのエンコード結果のうちの再エンコード結果を編集結果として選択する範囲としての再エンコード範囲を基に、デコーダ54乃至デコーダ56、スイッチ57、スイッチ/エフェクト58、エンコーダ60、および、スイッチ62の動作を制御するためのコマンドなどを生成し、ノースブリッジ42、PCIバス44、PCIブリッジ49、および、コントロールバス51を介して、生成したコマンドをCPU52に供給する。   The edit processing control unit 143 includes the IN point and the OUT point determined by the IN point / OUT point determination unit 141, and the encoding result of the underlying encoded stream determined by the re-encoding range determination unit 142. Commands for controlling the operations of the decoder 54 to the decoder 56, the switch 57, the switch / effect 58, the encoder 60, and the switch 62 based on the re-encoding range as a range for selecting the re-encoding result as the editing result. And the generated command is supplied to the CPU 52 via the north bridge 42, the PCI bus 44, the PCI bridge 49, and the control bus 51.

編集後ストリーム選択部144は、IN点/OUT点決定部141により決定されたIN点およびOUT点、並びに、再エンコード範囲決定部142より決定された下地となっている符号化ストリームのエンコード結果のうちの再エンコード結果を編集結果として選択する範囲に基づいて、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給されるエンコード結果の取得を開始して、メモリ43に保存される再符号化ストリームのうち、破棄される部分と、破棄されずに残されて、ドライブ47に装着されている記録メディア48の所定の記録領域に記録される部分とを選択する。   The post-edit stream selection unit 144 includes the IN point and OUT point determined by the IN point / OUT point determination unit 141, and the encoding result of the encoded stream that is the base determined by the re-encoding range determination unit 142. Based on the range in which the re-encoding result is selected as the editing result, acquisition of the encoding result supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42 is started and stored in the memory 43. Of the re-encoded stream, a part to be discarded and a part to be recorded without being discarded and recorded in a predetermined recording area of the recording medium 48 attached to the drive 47 are selected.

具体的には、編集処理制御部143は、アセンブル編集の編集点において、図21に示されるように、下地の符号化ストリームのデコードを制御するとともに、IN点が決定されるまで、各GOPのエンコードを制御する。編集後ストリーム選択部144は、そのGOP内にIN点が無かった場合、エンコードされてメモリ43に保存された、そのGOPの符号化データを廃棄する。   Specifically, the edit processing control unit 143 controls the decoding of the background encoded stream at the edit point of the assemble edit, as shown in FIG. 21, and until the IN point is determined, Control the encoding. If there is no IN point in the GOP, the post-edit stream selection unit 144 discards the encoded data of the GOP that has been encoded and saved in the memory 43.

下地の符号化ストリームをデコードしたベースバンド信号を再エンコードした結果は、必ずしもオリジナルと同じデータとはならない。したがって、IN点が定まるまでは、GOPの切れ目のVBVoccupancyの推移は、図22に示されるように、GOPの切れ目において連続性を有するように制御されなければならない。   The result of re-encoding the baseband signal obtained by decoding the underlying encoded stream is not necessarily the same data as the original. Therefore, until the IN point is determined, the transition of VBVoccupancy at the GOP break must be controlled to have continuity at the GOP break as shown in FIG.

例えば、エンコーダ60によるエンコードをTM5による符号量配分で行っている場合、次GOPに与えられる符号総量は、G=ビットレート×そのGOPのフレーム数N/ピクチャレートとし、Rを、GOP切れ目において、VBVbufferの最大値から下回った値(負数)であるとしたとき、R+Gで表される。その詳細は、例えば、ISO/IEC JTC1/SC29/WG11/ N0400 Test Model 5 の10 RATE CONTROL AND QUANTIZATION CONTROLなどに開示されている。   For example, when encoding by the encoder 60 is performed with code amount distribution by TM5, the total code amount given to the next GOP is G = bit rate × number of frames of the GOP N / picture rate, and R is a GOP break. When the value is less than the maximum value of VBVbuffer (negative number), it is expressed as R + G. The details are disclosed in, for example, ISO / IEC JTC1 / SC29 / WG11 / N0400 Test Model 5 10 RATE CONTROL AND QUANTIZATION CONTROL.

すなわち、TM5による符号量配分において、図22に示されるように、GOPの切れ目においてVBVoccupancyの連続性を有することは、エンコード対象GOPの総符号量計算をする際、オリジナルストリームによるR値を使って符号配分を計算することに対応する。   That is, in the code amount allocation by TM5, as shown in FIG. 22, having continuity of VBVoccupancy at the GOP breaks, the total code amount of the encoding target GOP is calculated using the R value by the original stream. This corresponds to calculating the code distribution.

また、インサート編集のIN点に関しては、上述したアセンブル編集と同様の処理が実行される。   Further, regarding the IN point of insert editing, the same processing as in the above-described assembly editing is executed.

そして、インサート編集のOUT点に関して、編集処理制御部85は、図23に示されるように、OUT点直後のGOP切れ目、すなわち、OUT点を含むGOPの次のGOPの先頭から、そのGOPの終了点に設定されるVBVoccupancy目標値に対するVBVoccupancy合わせ込みエンコードを実行する。   Then, with respect to the OUT point of the insert editing, as shown in FIG. 23, the edit processing control unit 85 ends the GOP from the GOP break immediately after the OUT point, that is, from the beginning of the GOP next to the GOP including the OUT point. Perform VBVoccupancy fitting encoding for the VBVoccupancy target value set at the point.

この場合においても、編集装置31における場合と同様に、OUT点を含むGOPのフレーム数(図23中、kで示される範囲のフレーム数)は、最大GOP長Nを超えてはならない。   In this case as well, as in the editing apparatus 31, the number of GOP frames including the OUT point (the number of frames in the range indicated by k in FIG. 23) must not exceed the maximum GOP length N.

そして、編集装置101においては、編集装置31における場合とは異なり、インサートされるSDI入力(ベースバンド画像データ)をエンコードする場合のGOP位相を、図24に示されるように、下地の符号化ストリームと同じものとする。   Then, in the editing apparatus 101, unlike in the editing apparatus 31, the GOP phase in the case of encoding the inserted SDI input (baseband image data) is converted into the background encoded stream as shown in FIG. Same as

編集処理制御部143は、パラメータ取得部81により取得された下地の符号化ストリームのGOP位相とGOP長に基づいて、SDI入力をエンコードする場合のGOP位相を、下地の符号化ストリームと同じものとなるように、エンコード制御部93に制御信号を供給する。これにより、任意のOUT点に対して、OUT点を含むGOPの長さは、下地の符号化ストリームにおいて規定されている最大GOP長Nを超えることは無い。   Based on the GOP phase and GOP length of the background encoded stream acquired by the parameter acquisition unit 81, the edit processing control unit 143 sets the GOP phase when encoding the SDI input to be the same as that of the background encoded stream. Thus, a control signal is supplied to the encoding control unit 93. As a result, for any OUT point, the length of the GOP including the OUT point does not exceed the maximum GOP length N defined in the underlying encoded stream.

そして、ユーザ入力取得部82が、図示しない操作入力部から供給されるOUT点の指令を取得したとき、編集処理制御部85は、パラメータ取得部81により取得された下地の符号化ストリームのGOPの切れ目におけるVBVoccupancyに基づいて、VBVoccupancy目標点に向かってVBVoccupancyを合わせ込むように、エンコード制御部93に制御信号を供給する。   When the user input acquisition unit 82 acquires an OUT point command supplied from an operation input unit (not shown), the editing processing control unit 85 reads the GOP of the background encoded stream acquired by the parameter acquisition unit 81. Based on the VBVoccupancy at the break, a control signal is supplied to the encoding control unit 93 so as to adjust the VBVoccupancy toward the VBVoccupancy target point.

図25を用いて、OUT点によって決まる再エンコード範囲の終了点と、VBVoccupancyの合わせ込みについて説明する。   The end point of the re-encoding range determined by the OUT point and the adjustment of VBVoccupancy will be described with reference to FIG.

編集処理制御部143は、OUT点が決定され、その次のGOP切れ目αからのVBVoccupancy目標値設定が間に合うならば、次のGOP切れ目βのVBVoccupancyを目標値としたレート制御を行って、エンコードを行い、βにおいて、VBVoccupancyが連続性を有するように制御できれば(zero stuffを利用して連続性を有してもよい)そこでエンコードを終了するように、エンコード制御部93に制御信号を供給する。   If the OUT point is determined and the VBVoccupancy target value setting from the next GOP break α is in time, the edit processing control unit 143 performs rate control with the VBVoccupancy of the next GOP break β as the target value to perform encoding. If βB can be controlled so as to have continuity in β (there may be continuity using zero stuff), a control signal is supplied to the encoding control unit 93 so as to end the encoding.

それに対して、βにおいてVBVoccupancyを合わせられない場合、または、αの時点でオリジナルのVBVoccupancyとは値がかけ離れていて、βで合わせる様なレート制御を行った場合に、あまりにも画質が落ちることが明らかと判断された場合、編集処理制御部143は、次のγ以降のGOP切れ目におけるVBVoccupancyを目標値としたエンコードを行うように、エンコード制御部93に制御信号を供給する。   On the other hand, if VBVoccupancy cannot be adjusted in β, or if the value is far from the original VBVoccupancy at α and rate control is performed such that it is adjusted in β, the image quality may deteriorate too much. If determined to be clear, the editing process control unit 143 supplies a control signal to the encoding control unit 93 so as to perform encoding with the VBVoccupancy at the GOP break after the next γ as a target value.

このとき、編集処理制御部143は、βでのVBVoccupancyの合わせ込みの結果を待たずに、次のγにおけるVBVoccupancy目標値設定、および、その設定に基づいたエンコード処理の開始を行うようにしても良い。このとき、βにおいてVBVoccupancyが連続性を有するように制御できなかった場合に、次のγにおけるVBVoccupancy目標値設定に基づいたエンコード処理の処理結果を用いるものとし、βにおいてVBVoccupancyが連続性を有するように制御できた場合、βからγのエンコードの結果を破棄するようにすればよい。   At this time, the edit processing control unit 143 may start the VBVoccupancy target value setting at the next γ and start the encoding process based on the setting without waiting for the result of the VBVoccupancy adjustment at β. good. At this time, if VBVoccupancy cannot be controlled to have continuity in β, the processing result of the encoding process based on the VBVoccupancy target value setting in the next γ shall be used, and VBVoccupancy will have continuity in β. If the control can be performed, the encoding result from β to γ may be discarded.

また、VBVoccupancyの目標値の設定や、その目標値に合致するようにエンコードを実行するための制御については、例えば、上述した特開2006−67095号公報に開示されている技術などを用いても良いし、他の方法を用いるようにしても良い。そして、VBVoccupancyの目標値の設定や、その目標値に合致するようにエンコードを実行するための制御によっては、VBVoccupancyの目標値の設定箇所、すなわち、再エンコードされる範囲の終了点を変更してもかまわない。   For example, the technique disclosed in Japanese Patent Application Laid-Open No. 2006-67095 described above may be used for setting the target value of VBVoccupancy and controlling the encoding so as to match the target value. It is good or other methods may be used. And depending on the setting of the target value of VBVoccupancy and the control to execute encoding so as to match the target value, the setting point of the target value of VBVoccupancy, that is, the end point of the re-encoded range can be changed. It doesn't matter.

次に、OUT点決定後の処理について説明する。   Next, processing after the OUT point is determined will be described.

例えば、図25に示されるように、αを切れ目とするGOP内でOUT点が決定され、OUT点がαとは異なる位置である場合、図26に示されるようにして、エンコード中のストリームのVBVoccupancyが、オリジナルのストリームのα直後のIピクチャにおけるVBVoccupancyよりも小さい場合には、α手前のGOPの最終Bピクチャへのzero stuffによって、VBVoccupancyを合わせ込むことができるので、そこでエンコードを終了することも可能である。   For example, as shown in FIG. 25, when the OUT point is determined in the GOP having a break as α and the OUT point is at a position different from α, the stream of the stream being encoded is displayed as shown in FIG. When VBVoccupancy is smaller than VBVoccupancy in the I picture immediately after α of the original stream, VBVoccupancy can be adjusted by zero stuff to the final B picture of the GOP before α, so encoding ends there Is also possible.

図26の下部に示されるように、OUT点がGOPの切れ目αである場合は、その直前のPピクチャ(図26ではP14)は、直後のBピクチャ(図26ではBおよび,B1)とは無関係な画であるため、このPピクチャは、直後のBピクチャの前方参照画とはならない。従って、この先も、再エンコードを続ける必要がある。   As shown in the lower part of FIG. 26, when the OUT point is a GOP cut α, the immediately preceding P picture (P14 in FIG. 26) is the next B picture (B and B1 in FIG. 26). Since this is an irrelevant picture, this P picture is not a forward reference picture of the immediately following B picture. Therefore, it is necessary to continue re-encoding in the future.

OUT点がGOPの切れ目αではなく、図中αで示されるよりも時間的に前のGOPの途中のいずれかのポイントである場合、図27Aに示されるように、B0,B1の前方参照画P14が再エンコードされ、B0,B1が再エンコードされないで接続されるよりも、P14,B0,B1が再エンコードされ、後方参照画I2が再エンコードされないで接続される方がSNR的に有利であるので、B0,B1までを再エンコード対象とすると好適である(例えば、特開2006−67095号公報参照)。   When the OUT point is not a GOP cut α and is any point in the middle of the GOP that is temporally prior to the point indicated by α in the figure, as shown in FIG. 27A, the forward reference images of B0 and B1 It is more advantageous in SNR than P14 is re-encoded and B0 and B1 are connected without being re-encoded, and P14, B0 and B1 are re-encoded and the backward reference picture I2 is connected without being re-encoded. Therefore, it is preferable that B0 and B1 are to be re-encoded (see, for example, JP-A-2006-67095).

これに対して、図26の下部に示されるように、OUT点がGOPの切れ目αである場合は、α直後のB0,B1に1回余分にエンコードを行うことによるSNR劣化のことを考慮すると、図27Bに示されるように、GOP切れ目でエンコードを終了ようにしたほうが、画質劣化の防止につながる可能性が高くなる。   On the other hand, as shown in the lower part of FIG. 26, when the OUT point is a GOP cut α, considering the SNR degradation due to one extra encoding on B0 and B1 immediately after α. As shown in FIG. 27B, it is more likely that the end of encoding at a GOP break will lead to prevention of image quality degradation.

また、上述したように、OUT点を含むGOPの切れ目αにおいて、GOP切れ目直前のBピクチャでのVBVoccupancyが次GOPのIピクチャのVBVoccupancyよりも、1picture_rate後のVBVoccupancy増加分を加算した状態において大きければ、Bピクチャに関するzero stuffでVBVoccupancyを連続とすることが可能であるので、OUT点を含むGOPの切れ目αにおいてエンコードを終了することが可能である。そのときのVBVoccupancyの推移を図28のAに示す。   Further, as described above, in the GOP break α including the OUT point, if the VBVoccupancy in the B picture immediately before the GOP break is larger than the VBVoccupancy of the I picture of the next GOP in the state of adding the increment of VBVoccupancy after 1 picture_rate Since it is possible to make VBVoccupancy continuous with zero stuff related to the B picture, it is possible to end the encoding at the GOP break α including the OUT point. The transition of VBVoccupancy at that time is shown in FIG.

そして、これに対して、図28のBに示されるように、IピクチャのVBVoccupancyの方が大きかったとしても、図28のCに示されるように、α以降のGOPに含まれるzero stuffを削ることによって、それ以前のVBVoccupancy推移が図中γに示される範囲においてVBV Buffer underflowを起こさないのであれば、OUT点を含むGOPの切れ目αにおいてエンコードを終了させることができる。   On the other hand, as shown in B of FIG. 28, even if the VBVoccupancy of the I picture is larger, as shown in C of FIG. 28, the zero stuff included in the GOP after α is trimmed. Thus, if the previous VBVoccupancy transition does not cause VBV buffer underflow in the range indicated by γ in the figure, the encoding can be terminated at the GOP break α including the OUT point.

この場合、VBV_delay値が変更されるので、新たなVBV_delay値を計算し、picture_header内容を書き直す必要がある。   In this case, since the VBV_delay value is changed, it is necessary to calculate a new VBV_delay value and rewrite the picture_header content.

また、α以降のGOPに含まれるzero stuffを削ることによりVBV Buffer underflowを起こさないようにするためには、予めGOP毎のzero stuff量を知る必要がある。したがって、このような処理を実行するためには、管理データとして、GOP毎のzero stuffを別途記録しておく必要がある。   Also, in order to prevent VBV Buffer underflow by deleting zero stuff included in GOPs after α, it is necessary to know the amount of zero stuff for each GOP in advance. Therefore, in order to execute such processing, it is necessary to separately record zero stuff for each GOP as management data.

LongGOPで符号化されたストリームデータの場合、フレーム毎のデータ量が一定ではないため、フレームを指定して再生を開始させたい場合などのために、必ず、フレーム番号と、そのESデータ記録位置とを対応させるテーブルが管理データとして用意されているはずなので、そうしたテーブルに、zero stuff量に関する情報を付加して管理すると好適である。   In the case of stream data encoded with LongGOP, the amount of data per frame is not constant, so for example when you want to start playback by specifying a frame, be sure to specify the frame number and its ES data recording position. Therefore, it is preferable to manage the table by adding information about the amount of zero stuff to the table.

例えば、記録メディア48としてProfessional Disc(商標)が用いられる場合、管理データとして、Picture Pointerという情報が記録メディア48上に記録管理されているので、図29に示されるように、Picture Pointerに従来含まれている情報(図中Xで示される部分)に、そのフレームのzero stuff量を追加して(図中Yで示される部分)、管理データとして利用することが可能である。   For example, when Professional Disc (trademark) is used as the recording medium 48, since information called Picture Pointer is recorded and managed on the recording medium 48 as management data, it is conventionally included in Picture Pointer as shown in FIG. It is possible to add the zero stuff amount of the frame to the information (the part indicated by X in the figure) (the part indicated by Y in the figure) and use it as management data.

なお、zero stuff量の情報は、エンコード時にのみエンコーダから出力されるものであるので、編集装置101が、既に符号化されてしまっているデータが記録された記録メディア48に対して編集処理を実行する場合、CPU121は、記録メディア48に記録された符号化ストリームデータを解析し、各フレームのzero stuff量に関する情報を取得するものとする。   Since the zero stuff amount information is output from the encoder only during encoding, the editing apparatus 101 executes editing processing on the recording medium 48 on which data that has already been encoded is recorded. In this case, the CPU 121 analyzes the encoded stream data recorded on the recording medium 48 and acquires information on the amount of zero stuff for each frame.

また、上述したように、編集装置101においては、インサートされるベースバンド信号を符号化する場合、下地の符号化ストリームとGOP位相を合わるようになされている。これにより、VBVoccupancyを合わせ込むためのエンコードを行う範囲の符号が、下地の符号化ストリームと全く同じピクチャタイプとなることから、SNR的にも有効である。   As described above, in the editing apparatus 101, when the inserted baseband signal is encoded, the GOP phase is matched with the base encoded stream. As a result, the code in the range for encoding to match VBVoccupancy has the same picture type as the underlying encoded stream, which is also effective for SNR.

次に、図30および図31のフローチャートを参照して、編集装置101が実行する編集処理2について説明する。   Next, editing processing 2 executed by the editing apparatus 101 will be described with reference to the flowcharts of FIGS. 30 and 31.

ステップS61において、CPU121は、HDD(Hard disk Drive)46または記録メディア48に記録されている下地の符号化ストリームを読み出し、ノースブリッジ42およびPCIバス44を介して、PCIブリッジ49に供給する。CPU122は、供給された下地の符号化ストリームを、必要に応じて、一旦メモリ50に蓄積した後、デコーダ54に供給する。デコーダ54は、デコード制御部91の制御に基づいて、供給された下地の符号化ストリームのデコードを開始し、デコードされて生成されたベースバンド信号を、スイッチ/エフェクト58に供給する。   In step S <b> 61, the CPU 121 reads a base encoded stream recorded on a hard disk drive (HDD) 46 or a recording medium 48, and supplies it to the PCI bridge 49 via the north bridge 42 and the PCI bus 44. The CPU 122 temporarily stores the supplied base encoded stream in the memory 50 as necessary, and then supplies it to the decoder 54. Based on the control of the decoding control unit 91, the decoder 54 starts decoding the supplied background encoded stream, and supplies the baseband signal generated by decoding to the switch / effect 58.

ステップS62において、モニタ1およびモニタ2は、編集素材の表示を開始し、モニタ3は、スイッチ/エフェクト58の出力、すなわち、編集結果の表示を開始する。オペレータは、モニタ1およびモニタ2に表示される映像を観測し、信号を切替えたいタイミングを図示しない操作入力部により指令する。   In step S62, the monitor 1 and the monitor 2 start displaying the editing material, and the monitor 3 starts displaying the output of the switch / effect 58, that is, the editing result. The operator observes the video displayed on the monitor 1 and the monitor 2, and instructs the timing to switch the signal from an operation input unit (not shown).

ステップS63において、CPU121のパラメータ取得部81は、下地の符号化ストリームに関するGOP位相情報を取得し、IN点/OUT点決定部141および再エンコード範囲決定部142に供給する。これにより、CPU121は、下地の符号化ストリームのGOPの切れ目を検出することができる。   In step S <b> 63, the parameter acquisition unit 81 of the CPU 121 acquires GOP phase information regarding the background encoded stream and supplies the GOP phase information to the IN point / OUT point determination unit 141 and the re-encode range determination unit 142. As a result, the CPU 121 can detect a GOP break in the underlying encoded stream.

ステップS64において、パラメータ取得部81は、下地の符号化ストリームに関する、GOP切れ目でのVBV占有量を取得し、IN点/OUT点決定部141および再エンコード範囲決定部142に供給する。これにより、例えば、上述した特開2006−67095号公報に記載の技術やその他の公知の技術を用いて、VBVoccupancyを、再エンコードを実行しない部分と再エンコードを実行する部分とで連続させることが可能となる。   In step S 64, the parameter acquisition unit 81 acquires the VBV occupation amount at the GOP break regarding the base encoded stream, and supplies it to the IN point / OUT point determination unit 141 and the re-encode range determination unit 142. Thereby, for example, using the technique described in the above-mentioned Japanese Patent Application Laid-Open No. 2006-67095 and other known techniques, VBVoccupancy can be made continuous between a part that does not perform re-encoding and a part that executes re-encoding. It becomes possible.

ステップS65において、編集処理制御部143は、GOP切れ目からの下地の符号化ストリームを制御する制御信号を、CPU122のエンコード制御部93に供給する。エンコード制御部93は、編集処理制御部85から供給された制御信号に基づいて、下地の符号化ストリームのあるGOPの最初フレームからの、エンコーダ60によるエンコードを制御する。CPU121は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給されるエンコード結果の取得を開始して、メモリ43に供給して一時保存させる。   In step S <b> 65, the editing processing control unit 143 supplies a control signal for controlling the encoded stream of the background from the GOP break to the encoding control unit 93 of the CPU 122. Based on the control signal supplied from the edit processing control unit 85, the encoding control unit 93 controls encoding by the encoder 60 from the first frame of the GOP in which the background encoded stream is present. The CPU 121 starts obtaining the encoding result supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42, supplies it to the memory 43, and temporarily stores it.

ステップS66において、ユーザ入力取得部82は、エンコーダ60への入力信号を下地の符号化ストリームからベースバンド信号に切替える様に操作入力を受けたか否かを判断する。   In step S66, the user input acquisition unit 82 determines whether or not an operation input has been received so that the input signal to the encoder 60 is switched from the base encoded stream to the baseband signal.

ステップS66において、エンコーダ60への入力信号を下地の符号化ストリームからベースバンド信号に切替える様に操作入力を受けていないと判断された場合、ステップS67において、編集後ストリーム選択部144は、メモリ43に一時保持されているエンコード結果を破棄し、処理は、ステップS65に戻り、それ以降の処理が繰り返される。   If it is determined in step S66 that no operation input has been received so that the input signal to the encoder 60 is switched from the base encoded stream to the baseband signal, the edited stream selection unit 144 selects the memory 43 in step S67. Is temporarily discarded, the process returns to step S65, and the subsequent processing is repeated.

ステップS66において、エンコーダ60への入力信号を下地の符号化ストリームからベースバンド信号に切替える様に操作入力を受けたと判断された場合、ステップS68において、編集後ストリーム選択部144は、メモリ43に一時保持されているエンコード結果のうちの、IN点を含むGOPの先頭からの蓄積を開始する。   If it is determined in step S66 that an operation input has been received so that the input signal to the encoder 60 is switched from the base encoded stream to the baseband signal, the edited stream selection unit 144 temporarily stores in the memory 43 in step S68. Starts accumulation from the beginning of the GOP that includes the IN point in the stored encoding results.

ステップS69において、IN点/OUT点決定部141は、編集におけるIN点を決定し、編集処理制御部143に供給する。編集処理制御部143は、CPU122の#1スイッチ制御部92を制御するための制御信号を生成し、CPU122に供給する。CPU122の#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において出力するデータを切換えて、エンコーダ60への入力信号を下地の符号化ストリームに対応するベースバンド信号から入力端子61より供給されるベースバンド信号に切替える、すなわち、下地の符号化ストリームに対応するベースバンド信号と入力端子61より供給されるベースバンド信号を接続させる。   In step S <b> 69, the IN point / OUT point determination unit 141 determines an IN point in editing, and supplies it to the editing processing control unit 143. The edit processing control unit 143 generates a control signal for controlling the # 1 switch control unit 92 of the CPU 122 and supplies the control signal to the CPU 122. The # 1 switch control unit 92 of the CPU 122 controls the operation of the switch / effect 58 to switch the data to be output at the editing point, and the input signal to the encoder 60 is changed from the baseband signal corresponding to the underlying encoded stream. The baseband signal supplied from the input terminal 61 is switched, that is, the baseband signal corresponding to the underlying encoded stream and the baseband signal supplied from the input terminal 61 are connected.

ステップS70において、ユーザ入力取得部82は、エンコーダ60への入力信号をベースバンド信号から下地の符号化ストリームに切替える様に操作入力を受けたか否かを判断する。ステップS70において、エンコーダ60への入力信号をベースバンド信号から下地の符号化ストリームに切替える様に操作入力を受けていないと判断された場合、操作入力を受けたと判断されるまで、ステップS70の処理が繰り返される。   In step S <b> 70, the user input acquisition unit 82 determines whether or not an operation input has been received so that the input signal to the encoder 60 is switched from the baseband signal to the ground encoded stream. If it is determined in step S70 that no operation input has been received so that the input signal to the encoder 60 is switched from the baseband signal to the base encoded stream, the processing in step S70 is performed until it is determined that the operation input has been received. Is repeated.

ステップS70において、エンコーダ60への入力信号をベースバンド信号から下地の符号化ストリームに切替える様に操作入力を受けたと判断された場合、ステップS71において、IN点/OUT点決定部141は、編集におけるOUT点を検出する。   If it is determined in step S70 that an operation input has been received so that the input signal to the encoder 60 is switched from the baseband signal to the background encoded stream, in step S71, the IN point / OUT point determination unit 141 performs editing. Detect OUT point.

ステップS72において、IN点/OUT点決定部141は、検出されたOUT点を示す情報を、編集処理制御部143に供給する。編集処理制御部143は、CPU122の#1スイッチ制御部92を制御するための制御信号を生成し、CPU122に供給する。CPU122の#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において出力するデータを切換えて、エンコーダ60への入力信号を入力端子61より供給されるベースバンド信号から下地の符号化ストリームに対応するベースバンド信号に切替える。すなわち、編集処理制御部85は、入力端子61より供給されるベースバンド信号と下地の符号化ストリームに対応するベースバンド信号を接続させる。   In step S72, the IN point / OUT point determination unit 141 supplies information indicating the detected OUT point to the editing process control unit 143. The edit processing control unit 143 generates a control signal for controlling the # 1 switch control unit 92 of the CPU 122 and supplies the control signal to the CPU 122. The # 1 switch control unit 92 of the CPU 122 controls the operation of the switch / effect 58 to switch the data to be output at the editing point, and the input signal to the encoder 60 is changed from the baseband signal supplied from the input terminal 61 to the background. The baseband signal corresponding to the encoded stream is switched. That is, the edit processing control unit 85 connects the baseband signal supplied from the input terminal 61 and the baseband signal corresponding to the base encoded stream.

ステップS73において、再エンコード範囲決定部142は、図24を用いて説明したように、OUT点直後のGOP切れ目、すなわち、OUT点を含むGOPの次のGOPの先頭から、そのGOPの終了点に設定されるVBVoccupancy目標値に対するVBVoccupancy合わせ込みエンコードが実行され、エンコード終了点のストリーム接続位置におけるVBV占有量が一致するように、エンコード処理を制御して、再エンコード終了位置を決定し、決定した再エンコード範囲を、編集処理制御部143に供給する。編集処理制御部143は、エンコーダ60によるエンコードを制御する制御信号を、CPU122のエンコード制御部93に供給する。エンコード制御部93は、編集処理制御部143から供給された制御信号に基づいて、下地の符号化ストリームのIN点を含むGOPの最初のフレームからの、エンコーダ60によるエンコードを制御する。   In step S73, as described with reference to FIG. 24, the re-encoding range determination unit 142 changes the GOP break immediately after the OUT point, that is, from the beginning of the GOP next to the GOP including the OUT point to the end point of the GOP. VBVoccupancy adjustment encoding for the set VBVoccupancy target value is executed, and the encoding process is controlled so that the VBV occupancy at the stream connection position at the end of encoding matches, and the re-encoding end position is determined. The encoding range is supplied to the edit processing control unit 143. The editing process control unit 143 supplies a control signal for controlling encoding by the encoder 60 to the encoding control unit 93 of the CPU 122. Based on the control signal supplied from the edit processing control unit 143, the encoding control unit 93 controls encoding by the encoder 60 from the first frame of the GOP including the IN point of the background encoded stream.

ステップS74において、再エンコード範囲決定部142は、エンコーダ60によるエンコードが正しく終了したか否かを判断する。ステップS74において、エンコーダ60によるエンコードが正しく終了していない、すなわち、エンコード終了点のストリーム接続位置におけるVBV占有量が一致していないと判断された場合、処理は、ステップS73に戻り、それ以降の処理が繰り返される。   In step S74, the re-encode range determination unit 142 determines whether or not the encoding by the encoder 60 has been correctly completed. If it is determined in step S74 that the encoding by the encoder 60 has not ended correctly, that is, the VBV occupancy at the stream connection position at the end of encoding does not match, the process returns to step S73, and thereafter The process is repeated.

ステップS74において、エンコーダ60によるエンコードが正しく終了したと判断された場合、ステップS75において、CPU41は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給され、メモリ43に保存されている編集された部分のエンコード結果のストリームを、サウスブリッジ45を介してドライブ47に供給し、装着されている記録メディア48の所定の記録領域に記録することにより、編集されていない部分の符号化ストリームとを接続して、処理が終了される。   If it is determined in step S74 that the encoding by the encoder 60 has been correctly completed, in step S75, the CPU 41 is supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42 and stored in the memory 43. The encoded stream of the edited part is supplied to the drive 47 via the south bridge 45 and recorded in a predetermined recording area of the attached recording medium 48, thereby encoding the part that has not been edited. The process ends after connecting the stream.

なお、ドライブ47による記録メディア48の記録速度、再生速度が、現在記録再生を実行している符号の速度に比べて十分に大きければ、下地となる符号化ストリームに対応するベースバンド画像データを再生しながら、新規に作成した編集後の符号データを記録メディア48に記録することは可能である。   Note that if the recording speed and playback speed of the recording medium 48 by the drive 47 are sufficiently higher than the speed of the code that is currently recording and playing back, the baseband image data corresponding to the underlying encoded stream is played back. However, it is possible to record newly created code data after editing on the recording medium 48.

このような処理により、例えば、第1の実施の形態の編集装置31のようにフレームバッファを設けなくても、編集素材の映像をオペレータがモニタしながら編集点を決定し、従来よりも早く編集結果を得ることができるとともに、画像劣化を少なくすることができる。   By such processing, for example, the editing point can be determined while the operator monitors the video of the editing material without editing the frame as in the editing device 31 of the first embodiment, and editing is performed faster than before. A result can be obtained and image degradation can be reduced.

なお、ここでは、上書きされる符号化ストリームのGOP位相は、下地の符号化ストリームのGOP位相と同一の構成となるように制御される。   Here, the GOP phase of the encoded stream to be overwritten is controlled to have the same configuration as the GOP phase of the base encoded stream.

このように、第1の実施の形態の編集装置31、および、第2の実施の形態の編集装置101のいずれにおいても、ベースバンド信号を、そのまま編集処理に用いるようになされているので、ベースバンド信号を編集前に圧縮する必要がないので、画質の劣化を防止することができるとともに、処理時間も短縮され、その圧縮信号を一時保持するための大きな記録領域を有するメモリなども不必要である。   As described above, since both the editing apparatus 31 of the first embodiment and the editing apparatus 101 of the second embodiment use the baseband signal as it is for the editing process, the baseband signal is used. Since it is not necessary to compress the band signal before editing, it is possible to prevent deterioration in image quality, shorten the processing time, and there is no need for a memory having a large recording area for temporarily storing the compressed signal. is there.

また、上述した説明においては、第2の実施の形態において、上書きされる符号化ストリームのGOP位相は、下地の符号化ストリームのGOP位相と同一の構成となるように制御されるものとして説明したが、第1の実施の形態においても、上書きされる符号化ストリームのGOP位相は、下地の符号化ストリームのGOP位相と同一の構成となるように制御してもよい。   In the above description, in the second embodiment, the GOP phase of the encoded stream to be overwritten is controlled to have the same configuration as the GOP phase of the underlying encoded stream. However, also in the first embodiment, the GOP phase of the encoded stream to be overwritten may be controlled to have the same configuration as the GOP phase of the underlying encoded stream.

ところで、第1の実施の形態および第2の実施の形態を用いて説明した処理により編集が実行された後、編集点の変更を行いたいとしても、ベースバンド信号のIN点前およびOUT点後の部分は素材ストリームとして残されていないため、編集点を容易に変更することができない。   By the way, even if it is desired to change the editing point after editing is executed by the processing described using the first embodiment and the second embodiment, before the IN point and after the OUT point of the baseband signal. Since this part is not left as a material stream, the editing point cannot be easily changed.

例えば、HDD46に予め記憶されていた符号化ストリームを下地データとして、入力端子61から入力されたベースバンド信号を用いて、上述した第1の実施の形態および第2の実施の形態を用いて説明した処理により上書き編集を行った場合、最終的に生成された編集後の符号化ストリームがHDD46に保存される。その後、ベースバンド信号の上書き開始位置を早くしたい、上書き終了位置を遅くしたい、または、異なるタイミングのベースバンド信号に上書きされるデータを変更したいような場合、編集素材として、IN点よりも前、OUT点よりも後のベースバンド信号は記録していないため、ベースバンド信号を再取得し、再度編集処理を行わなければならない。   For example, using the baseband signal input from the input terminal 61 using the encoded stream stored in advance in the HDD 46 as background data, the first embodiment and the second embodiment described above will be used. When overwriting editing is performed by the above processing, the edited encoded stream finally generated is stored in the HDD 46. After that, if you want to advance the overwrite start position of the baseband signal, delay the overwrite end position, or change the data to be overwritten to the baseband signal at a different timing, as the editing material, before the IN point, Since the baseband signal after the OUT point is not recorded, the baseband signal must be reacquired and edited again.

このように編集を繰り返すことにより、編集位置によっては、複数世代の世代落ちが発生してしまう恐れがある。   By repeating the editing in this way, there is a possibility that a plurality of generations may be lost depending on the editing position.

そこで、編集素材としてのベースバンド信号を編集に用いるとともに、ベースバンド信号の符号化処理を実行して、再度編集処理が行われたときに利用可能なストリームデータを生成しておくものとすると好適である。   Therefore, it is preferable to use the baseband signal as the editing material for editing, execute the baseband signal encoding process, and generate stream data that can be used when the editing process is performed again. It is.

そこで、本発明の第3の実施の形態として、図32を参照して、編集素材としてのベースバンド信号を編集に用いるとともに、ベースバンド信号の符号化処理を実行する編集装置171について説明する。   Therefore, as a third embodiment of the present invention, an editing apparatus 171 that uses a baseband signal as an editing material for editing and executes a baseband signal encoding process will be described with reference to FIG.

なお、図4の編集装置31における場合と対応する部分には、同一の符号を付してあり、その説明は適宜省略する。   Note that portions corresponding to those in the editing apparatus 31 in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

すなわち、図32の編集装置171は、CPU41に代わってCPU181が備えられ、CPU52に代わってCPU182が備えられ、フレームバッファ59に代わってフレームバッファ184が備えられ、入力端子61から入力されるベースバンド信号をエンコードして、PCIブリッジ49に供給するエンコーダ183が新たに備えられている以外は、基本的に、図4の編集装置31と同様の構成を有している。   32 includes a CPU 181 in place of the CPU 41, a CPU 182 in place of the CPU 52, a frame buffer 184 in place of the frame buffer 59, and a baseband input from the input terminal 61. The configuration is basically the same as that of the editing device 31 of FIG. 4 except that an encoder 183 is newly provided to encode a signal and supply the encoded signal to the PCI bridge 49.

CPU181は、CPU41が有する機能に加えて、入力端子61から入力されるベースバンド信号のエンコーダ183によるエンコード処理の制御、エンコーダ60によるエンコードの範囲の設定、および、編集処理が行われた部分のストリームと、編集処理が行われていない編集下地のストリームと、ベースバンド信号がエンコーダ183によってエンコードされたストリームとの接続の制御の機能を有するものである。   In addition to the functions of the CPU 41, the CPU 181 controls the encoding process of the baseband signal input from the input terminal 61 by the encoder 183, sets the encoding range by the encoder 60, and the stream in which the editing process is performed In addition, a function of controlling connection between an editing base stream that has not been subjected to editing processing and a stream in which a baseband signal is encoded by the encoder 183 is provided.

CPU182は、CPU52が有する機能に加えて、入力端子61から入力されるベースバンド信号のエンコーダ183によるエンコードを制御するとともに、エンコーダ183によるエンコードの結果得られる符号化ストリームのGOP位相およびVBVoccupancyの値を取得し、これを基に、エンコーダ60の処理を制御するものである。   In addition to the function of the CPU 52, the CPU 182 controls the encoding of the baseband signal input from the input terminal 61 by the encoder 183, and the GOP phase and VBVoccupancy value of the encoded stream obtained as a result of encoding by the encoder 183. Obtained and based on this, the processing of the encoder 60 is controlled.

エンコーダ183は、入力端子61から供給されたベースバンド信号をエンコードするものである。エンコーダ183では、最良と考えられる任意GOP位相でエンコードが実行される。エンコーダ183によりエンコードされた編集素材のベースバンド信号に対応する符号化ストリーム、および、各フレームのVBVoccupancy等の管理データは、PCIバス44、ノースブリッジ42、および、サウスブリッジ45を介して、HDD46に供給され、格納される。更に、エンコーダ183は、エンコードの結果得られる符号化ストリームのGOP位相およびVBVoccupancyの値を少なくとも含む情報を、コントロールバス51を介して、CPU182に供給する。   The encoder 183 encodes the baseband signal supplied from the input terminal 61. The encoder 183 performs encoding at an arbitrary GOP phase considered to be the best. The encoded stream corresponding to the baseband signal of the editing material encoded by the encoder 183 and the management data such as VBVoccupancy of each frame are transferred to the HDD 46 via the PCI bus 44, the north bridge 42, and the south bridge 45. Supplied and stored. Furthermore, the encoder 183 supplies information including at least the GOP phase and VBVoccupancy value of the encoded stream obtained as a result of encoding to the CPU 182 via the control bus 51.

フレームバッファ184は、供給されたベースバンド画像データを所定の一定期間だけ保持し、エンコーダ60に供給する。フレームバッファ184によるバッファリングの期間は、バッファリング前のデータを表示させるモニタ1乃至モニタ3を参照したユーザなどによりIN点やOUT点の指定を受けた後、編集処理を行うためにエンコーダ60によりエンコードされるデータの範囲を決定することが可能である期間であり、かつ、エンコーダ183によるエンコード結果をエンコーダ60によるエンコード処理のパラメータの決定に利用することが可能である期間である。その詳細については後述する。   The frame buffer 184 holds the supplied baseband image data for a predetermined period and supplies it to the encoder 60. During the buffering period by the frame buffer 184, the encoder 60 receives the designation of the IN point and OUT point by the user referring to the monitor 1 to the monitor 3 that displays the data before buffering, and then performs the editing process by the encoder 60. This is a period during which the range of data to be encoded can be determined, and a period during which the encoding result by the encoder 183 can be used for determining parameters of the encoding process by the encoder 60. Details thereof will be described later.

次に、図32の編集装置171の動作について説明する。   Next, the operation of the editing device 171 in FIG. 32 will be described.

ユーザにより、編集処理の開始が指令され、HDD46に格納されているストリームデータの中から、編集下地として用いるストリームデータの選択を受けたとき、CPU181は、各部を制御して、選択されたストリームをHDD46から読み出して、サウスブリッジ45、ノースブリッジ42、PCIバス44、および、PCIブリッジ49を介して、デコーダ54、またはデコーダ55に供給する。   When the user gives an instruction to start editing processing and receives selection of stream data to be used as an editing background from the stream data stored in the HDD 46, the CPU 181 controls each unit to select the selected stream. The data is read from the HDD 46 and supplied to the decoder 54 or the decoder 55 via the south bridge 45, the north bridge 42, the PCI bus 44, and the PCI bridge 49.

デコーダ54、またはデコーダ55に供給されたデータは、デコードされて、スイッチ/エフェクト58に供給される。ここでは、編集下地として用いられるストリームデータは、デコーダ54に供給されてデコードされた後、モニタ1により表示されるとともに、スイッチ/エフェクト58に供給されるものとする。   The data supplied to the decoder 54 or the decoder 55 is decoded and supplied to the switch / effect 58. Here, it is assumed that the stream data used as the editing background is supplied to the decoder 54, decoded, displayed on the monitor 1, and supplied to the switch / effect 58.

そして、入力端子61から入力されたベースバンド信号(SDI入力)は、スイッチ57を介して、モニタ2により表示されるとともに、スイッチ/エフェクト58に供給され、更に、エンコーダ183に供給されてエンコードされる。エンコーダ183によりエンコードされて生成されたベースバンド信号に対応するストリームは、PCIブリッジ49に供給されて、メモリ50に一旦格納された後、更に、PCIバス44、および、ノースブリッジ42を介して、メモリ43に供給されて、編集処理に用いられるとともに、更に、サウスブリッジ45を介して、HDD46に供給され、編集点の変更などの再編集に用いることができるように、格納される。   The baseband signal (SDI input) input from the input terminal 61 is displayed on the monitor 2 via the switch 57, supplied to the switch / effect 58, and further supplied to the encoder 183 for encoding. The The stream corresponding to the baseband signal encoded and generated by the encoder 183 is supplied to the PCI bridge 49, temporarily stored in the memory 50, and then further via the PCI bus 44 and the north bridge 42. The data is supplied to the memory 43, used for editing processing, and further supplied to the HDD 46 via the south bridge 45, where it is stored so that it can be used for re-editing such as change of editing points.

スイッチ/エフェクト58に供給されるデータ、および、スイッチ/エフェクト58からの出力データは、モニタ1乃至モニタ3に表示される。表示されているのは、いずれも、フレームバッファ184によるバッファリング前のデータである。   Data supplied to the switch / effect 58 and output data from the switch / effect 58 are displayed on the monitors 1 to 3. What is displayed is data before buffering by the frame buffer 184.

スイッチ/エフェクト58から出力される信号は、予め決められたタイミングで切り替わるか、または、モニタ1乃至3を監視しているユーザによって任意のタイミングで切替えられる。この切り替わりタイミングが編集点である。   The signal output from the switch / effect 58 is switched at a predetermined timing, or is switched at an arbitrary timing by the user monitoring the monitors 1 to 3. This switching timing is the editing point.

図33を参照して、編集処理の例について説明する。図33においては、IN点で、メインストレージとして用いているHDD46に記憶されているストリーム1から、SDI入力、すなわち、入力端子61から入力されたベースバンド信号につなげ、OUT点で、ベースバンド信号からHDD46に記憶されているストリーム2につなげる、すなわち、上述したアセンブル編集を2回繰り返す編集処理が実行されている。ここで、ストリーム1とストリーム2とが同一のストリームであるとき、図33に示される編集処理は、上述したインサート編集となる。   An example of editing processing will be described with reference to FIG. In FIG. 33, the stream 1 stored in the HDD 46 used as the main storage at the IN point is connected to the SDI input, that is, the baseband signal input from the input terminal 61, and the baseband signal at the OUT point. To the stream 2 stored in the HDD 46, that is, an editing process is performed in which the above-described assembly editing is repeated twice. Here, when stream 1 and stream 2 are the same stream, the editing process shown in FIG. 33 is the above-described insert editing.

上述したように、編集装置171は、編集点においてベースバンド信号を接続してエンコード処理を行うことにより生成されたブリッジクリップと、そのブリッジクリップの前後に接続されるストリームとを接続するためのスプライシング処理を実行することが可能であり、ブリッジクリップの生成に用いるためのエンコーダ60と、編集素材として用いたベースバンド入力であるSDI入力をエンコードしてHDD46に保持させるために用いるエンコーダ183の2つのエンコーダを有している。   As described above, the editing device 171 performs splicing for connecting the bridge clip generated by connecting the baseband signal at the editing point and performing the encoding process, and the streams connected before and after the bridge clip. It is possible to execute processing, and an encoder 60 used to generate a bridge clip and an encoder 183 used to encode and hold the SDI input, which is a baseband input used as an editing material, in the HDD 46 Has an encoder.

エンコーダ183は、HDD46に記憶されているストリーム1やストリーム2とは無関係に、任意位相、このシステムで利用可能な最大のGOP長、または、所定のGOP長でベースバンド信号をエンコードする。   The encoder 183 encodes the baseband signal with an arbitrary phase, the maximum GOP length usable in this system, or a predetermined GOP length irrespective of the stream 1 and the stream 2 stored in the HDD 46.

図33に示されるようにして編集処理を行いつつ、再編集を行うために供給されたベースバンド信号をエンコードして保持しておきたい場合、単純に考えると、ベースバンド信号を一旦エンコードしてストリーム化してから、編集のために必要な部分だけ、デコードおよびエンコードを行えばよいのであるが、その場合、例えば、IN点から図中βまたはγで示される部分や、図中εまたはδからOUT点で示される部分など、再度エンコードされる範囲のベースバンド信号は、1世代、世代落ちしてしまう。そこで、編集装置171においては、編集処理を行う部分については、ベースバンド信号をエンコードすることなくそのまま用いるとともに、編集処理とは独立して、ベースバンド信号のエンコード処理を実行するものとする。   If it is desired to encode and hold the baseband signal supplied for re-editing while performing the editing process as shown in FIG. 33, the baseband signal is encoded once when simply considered. It is only necessary to decode and encode only the part necessary for editing after the stream is formed. In this case, for example, from the IN point, the part indicated by β or γ in the figure, or from ε or δ in the figure The baseband signal in the range to be encoded again, such as the portion indicated by the OUT point, will be lost by one generation. Therefore, in the editing apparatus 171, the baseband signal is used as it is without being encoded for the part that performs the editing process, and the baseband signal encoding process is executed independently of the editing process.

したがって、SDI入力は、上述した編集装置31における場合と同様にして、スイッチ57を介して、スイッチ/エフェクト58に供給されて、ストリーム1またはストリーム2をデコードした出力と接続されるとともに、その編集処理とは独立して、エンコーダ183により、任意の初期位相で、任意のフレーム周期でエンコードされてPCIブリッジ49に供給され、素材ストリームとして、PCIバス44、および、ノースブリッジ42を介して、メモリ43に供給されるとともに、サウスブリッジ45を介して、HDD46に供給され、記録される。   Accordingly, the SDI input is supplied to the switch / effect 58 via the switch 57 and connected to the output obtained by decoding the stream 1 or stream 2 in the same manner as in the editing apparatus 31 described above, and the editing is performed. Independent of the processing, the encoder 183 encodes an arbitrary frame period and an arbitrary frame period, and supplies the encoded data to the PCI bridge 49. The material stream is stored in the memory via the PCI bus 44 and the north bridge 42. 43 and supplied to the HDD 46 via the south bridge 45 for recording.

上述した第1の実施の形態および第2の実施の形態においては、IN点とOUT点の間のベースバンド信号は、連続してエンコーダ60に供給されてエンコードされ、編集後のストリームが生成されるようになされているが、編集装置171においては、エンコーダ183において編集処理とは独立してベースバンド信号のエンコード処理が実行されているので、エンコード処理が重複しないように、IN点とOUT点の間に対応する編集後のストリームのうちの一部に、エンコーダ183により生成されたストリームを用いることができる。   In the first embodiment and the second embodiment described above, the baseband signal between the IN point and the OUT point is continuously supplied to the encoder 60 and encoded to generate an edited stream. However, in the editing device 171, the encoder 183 performs baseband signal encoding processing independently of the editing processing, so that the IN point and OUT point do not overlap the encoding processing. The stream generated by the encoder 183 can be used as a part of the edited stream corresponding to the period.

このとき、編集後のストリームにおいて、IN点およびOUT点付近でエンコーダ60によりエンコードされる部分をブリッジクリップ(BridgeClip)と称するものとする。   At this time, in the stream after editing, a portion encoded by the encoder 60 near the IN point and the OUT point is referred to as a bridge clip (BridgeClip).

また、エンコーダ60でエンコードされたブリッジクリップの部分と、エンコーダ183によりエンコードされた部分とを、編集後の符号化ストリームとして連続して再生可能にするためには、ブリッジクリップとエンコーダ183によりエンコードされた部分との接続部分において、VBVoccupancyを連続させ、GOP位相を合わせる必要がある。   In addition, in order to continuously reproduce the bridge clip portion encoded by the encoder 60 and the portion encoded by the encoder 183 as an encoded stream after editing, the bridge clip and the encoder 183 are encoded. It is necessary to make VBVoccupancy continuous and match the GOP phase at the connection portion with the connected portion.

なお、エンコーダ60でエンコードされたブリッジクリップの部分と、ストリーム1およびストリーム2との接続部分の処理は、上述した第1の実施の形態における場合と同様にして実行される。   Note that the processing of the connection portion between the bridge clip portion encoded by the encoder 60 and the stream 1 and stream 2 is executed in the same manner as in the first embodiment described above.

ユーザが、モニタ1に表示されるストリーム1と、モニタ2に出力されるベースバンド入力とを参照して、IN点を指令するようになされている場合、IN点を含むブリッジクリップ開始点は、エンコーダ60によるエンコードの開始前に求めなくてはならない。ブリッジクリップ開始点は、基本的には、上述した再エンコード範囲の開始点と同一となり、例えば、図33においては、図中αで示されるように、IN点を含むGOPの先頭となる。   When the user instructs the IN point with reference to the stream 1 displayed on the monitor 1 and the baseband input output to the monitor 2, the bridge clip start point including the IN point is It must be obtained before the start of encoding by the encoder 60. The bridge clip start point is basically the same as the start point of the re-encoding range described above. For example, in FIG. 33, the start point of the GOP including the IN point is indicated by α in the figure.

すなわち、フレームバッファ184は、少なくとも、IN点とブリッジクリップ開始点(α)との間のフレームを保持して、エンコーダ60への信号の供給を遅延させる必要がある。また、このとき、フレームバッファ184には、コマンド遅延分とパラメータ演算のために必要な時間を稼ぐための容量も更に必要である。   That is, the frame buffer 184 needs to hold at least a frame between the IN point and the bridge clip start point (α) and delay the supply of the signal to the encoder 60. At this time, the frame buffer 184 further needs a capacity for earning a command delay and a time required for parameter calculation.

更に、フレームバッファ184は、スイッチ/エフェクト58において接続されたデータをエンコーダ60でエンコードした部分とその前後の部分とを接続するスプライシング動作を実行するために、ブリッジクリップの範囲におけるVBV目標値、即ち、ブリッジクリップの終了予定点であるブリッジクリップ終了予定点のVBVoccupancyの値が、エンコーダ183によるエンコードの結果得られるまでの時間を稼ぐ必要がある。IN点を含むブリッジクリップ終了予定点は、入力端子61から入力されたベースバンド信号がエンコーダ183によりエンコードされて生成されるストリームのGOP位相において、IN点に対応する部分を含むGOPの切れ目、または、その次のB1ピクチャであり、図33においては、例えば、図中βで示される点となる。そして、ブリッジクリップ終了予定点のVBVoccupancyの値は、エンコーダ183における対応する部分のVBVoccupancyの値である。また、ブリッジクリップの範囲は、エンコーダ60によるエンコードの結果、延長される場合がある。その場合、ブリッジクリップ終了予定点は、例えば、エンコーダ183によるエンコードにおけるGOP位相における次のGOPの切れ目、または、その次のB1ピクチャとなり、図33においては、例えば、図中γで示される点となる。   Further, the frame buffer 184 performs a splicing operation for connecting a portion encoded by the encoder 60 with the data connected in the switch / effect 58 and a portion before and after the portion, ie, a VBV target value in the range of the bridge clip, that is, It is necessary to earn time until the VBVoccupancy value of the bridge clip end scheduled point which is the bridge clip end scheduled point is obtained as a result of encoding by the encoder 183. The bridge clip scheduled end point including the IN point is a GOP break including a portion corresponding to the IN point in the GOP phase of the stream generated by encoding the baseband signal input from the input terminal 61 by the encoder 183, or This is the next B1 picture. In FIG. 33, for example, it is a point indicated by β in the figure. The VBVoccupancy value of the bridge clip end scheduled point is the VBVoccupancy value of the corresponding part in the encoder 183. In addition, the range of the bridge clip may be extended as a result of encoding by the encoder 60. In this case, the scheduled bridge clip end point is, for example, the next GOP break in the GOP phase in encoding by the encoder 183 or the next B1 picture. In FIG. 33, for example, the point indicated by γ in the figure Become.

そこで、編集装置171においては、スイッチ/エフェクト58から出力される接続後のデータをフレームバッファ184によって所定期間遅延させることにより、エンコーダ183によるエンコード結果をエンコーダ60によるエンコード処理に反映させ、BridgeClip前後の接続部分においてストリームを連続して再生可能なものとする。   Therefore, in the editing apparatus 171, the connected data output from the switch / effect 58 is delayed for a predetermined period by the frame buffer 184, thereby reflecting the encoding result by the encoder 183 in the encoding process by the encoder 60, and before and after the BridgeClip. It is assumed that the stream can be reproduced continuously at the connection portion.

エンコーダ183は、入力端子61から入力されるベースバンド信号の符号化処理に関する情報を、コントロールバス51を介して、CPU182に供給する。ベースバンド信号の符号化処理に関する情報には、少なくとも、GOP位相と、VBVoccupancyに関する情報が含まれているが、それ以外にも、例えば、Qマトリクスなどの他の符号化パラメータをCPU182に供給するようにしてもよい。また、エンコーダ183は、符号化されたストリームとともに、符号化処理に関する情報を、PCIブリッジ49に供給して、メモリ50に格納させるとともに、PCIバス44、ノースブリッジ42、および、サウスブリッジ45を介して、HDD46に供給して記憶させる。ベースバンド信号の符号化処理に関する情報をHDD46に記憶させることにより、編集点の変更などによる再編集処理で、入力端子61から入力されるベースバンド信号に対応する符号化ストリームが利用されるとき、その符号化に関する情報を、編集処理に利用することができる。   The encoder 183 supplies information regarding the encoding process of the baseband signal input from the input terminal 61 to the CPU 182 via the control bus 51. The information related to the baseband signal encoding processing includes at least information related to the GOP phase and VBVoccupancy. In addition to this, for example, other encoding parameters such as a Q matrix are supplied to the CPU 182. It may be. Further, the encoder 183 supplies the information related to the encoding process together with the encoded stream to the PCI bridge 49 and stores it in the memory 50, and also via the PCI bus 44, the north bridge 42, and the south bridge 45. Then, the data is supplied to and stored in the HDD 46. By storing the information related to the baseband signal encoding process in the HDD 46, when the encoded stream corresponding to the baseband signal input from the input terminal 61 is used in the re-editing process by changing the editing point or the like, Information relating to the encoding can be used for editing processing.

そして、CPU182は、エンコーダ183から供給されたベースバンド信号の符号化処理に関する情報に基づいて、エンコーダ60によるエンコードを制御する。   Then, the CPU 182 controls the encoding by the encoder 60 based on the information regarding the encoding process of the baseband signal supplied from the encoder 183.

すなわち、ユーザがモニタの表示をみながら編集点を指令するマニュアル編集であれ、予め編集点が決まっている場合であれ、IN点が定まった時点では、ブリッジクリップの開始点や、ブリッジクリップ生成のためのブリッジクリップ終了予定点における目標VBVoccupancyを定めることはできない。また、エンコーダ60においてエンコードされたブリッジクリップとエンコーダ183によりエンコードされたストリームと接続したときに、接続点を含むGOPが極端に長くなったり、短くなってしまうことを避けたい。このため、CPU182は、エンコーダ183によりエンコードされたストリームのGOP位相が分かり、接続点における目標VBVoccupancyが定まった後に、ブリッジクリップのエンコード処理の開始点まで遡って、エンコーダ60によるエンコードを開始させる必要がある。   That is, whether the user edits the editing point while viewing the monitor display or the editing point is determined in advance, when the IN point is determined, the bridge clip start point or bridge clip generation The target VBVoccupancy at the planned end point of the bridge clip cannot be determined. In addition, when the bridge clip encoded by the encoder 60 and the stream encoded by the encoder 183 are connected, it is desired to avoid that the GOP including the connection point becomes extremely long or short. For this reason, the CPU 182 knows the GOP phase of the stream encoded by the encoder 183, and after the target VBVoccupancy at the connection point is determined, the CPU 182 needs to start encoding by the encoder 60 by going back to the start point of the bridge clip encoding process. is there.

これらの条件に基づくと、フレームバッファ184は、エンコーダ183によるエンコードの最大GOP長をNとして、(2N+X)フレーム程度の容量を持てば、ブリッジクリップとエンコーダ183によりエンコードされた部分とを、ブリッジクリップとの接続部分において、VBVoccupancyが連続し、GOP位相が合致するようにエンコードすることができる。ここで、Nは、1GOPが有するフレーム数であり、Xの値については、後述する。   Based on these conditions, the frame buffer 184 determines that the maximum GOP length of encoding by the encoder 183 is N, and has a capacity of (2N + X) frames, the bridge clip and the portion encoded by the encoder 183 are Can be encoded such that VBVoccupancy is continuous and the GOP phase matches. Here, N is the number of frames that 1 GOP has, and the value of X will be described later.

エンコーダ60は、CPU182の制御に基づいて、フレームバッファ184により所定フレーム数遅延されたデータをエンコードし、PCIブリッジ49に供給する。エンコードの開始点におけるVBVoccupancyの制御は、上述した第1の実施の形態および第2の実施の形態と同様に、下地ストリームにあわせて行われるものである。また、エンコーダ60は、CPU182の制御に基づいて、目標VBVoccupancyに合致するように、上述した場合と同様にして、必要に応じてブリッジクリップの範囲を延長することや、ブリッジクリップ内のエンコードを再度実行する2パスエンコードを実行することが可能である。   The encoder 60 encodes data delayed by a predetermined number of frames by the frame buffer 184 based on the control of the CPU 182, and supplies the encoded data to the PCI bridge 49. Control of VBVoccupancy at the starting point of encoding is performed in accordance with the background stream, as in the first and second embodiments described above. In addition, the encoder 60 extends the range of the bridge clip as necessary, or re-encodes the bridge clip based on the control of the CPU 182 in the same manner as described above so as to match the target VBVoccupancy. It is possible to perform a two-pass encoding to be performed.

ここで、IN点を含むブリッジクリップ終了予定点(β)は、基本的には、エンコーダ183によるエンコードにおいて、IN点に対応するフレームを含むGOPの最後のフレーム、または、その次のB1ピクチャである。エンコーダ60は、CPU182から、コントロールバス51を介して、ブリッジクリップ終了予定点(β)に対応するフレームの、エンコーダ183によるエンコード結果におけるVBVoccupancyの値を取得し、これを目標値として、エンコードを行うことができる。なお、エンコード範囲が延長することなどにより、ブリッジクリップ終了予定点が(γ)となった場合であっても、エンコーダ60は、CPU182から、コントロールバス51を介して、ブリッジクリップ終了予定点(γ)に対応するフレームの、エンコーダ183によるエンコード結果におけるVBVoccupancyの値を取得し、これを目標値として、延長された部分のエンコードを行うことができる。   Here, the scheduled bridge clip end point (β) including the IN point is basically the last frame of the GOP including the frame corresponding to the IN point or the next B1 picture in the encoding by the encoder 183. is there. The encoder 60 acquires the value of VBVoccupancy in the encoding result by the encoder 183 of the frame corresponding to the planned bridge clip end point (β) from the CPU 182 via the control bus 51, and performs encoding using this as the target value. be able to. Even when the scheduled bridge clip end point becomes (γ) due to the extension of the encoding range, the encoder 60 receives the bridge clip end scheduled point (γ from the CPU 182 via the control bus 51. ), The value of VBVoccupancy in the result of encoding by the encoder 183 is obtained, and the extended portion can be encoded using this as a target value.

また、例えば、IN点を含むブリッジクリップの範囲の延長が続き、ブリッジクリップがOUT点を含むブリッジクリップまで伸びる場合も考えられる。OUT点を含むブリッジクリップの終了予定点におけるVBVoccupancyの目標値は、ストリーム2が予めHDD46に保存されているストリームであることから、エンコーダ183によるエンコード処理を待つことなく、既知である。したがって、このような場合であっても、フレームバッファ184が、エンコーダ183によるエンコードの最大GOP長をNとして、(2N+X)フレーム程度の容量を有するのであれば、エンコーダ60は、OUT点が定まった段階で、OUT点後のブリッジクリップ終了予定点である図中ζで示される点のVBVoccupancyの値を、VBVoccupancyの目標値として、CPU182からコントロールバス51を介して取得することができるので、処理は破綻しない。   Further, for example, it is conceivable that the extension of the range of the bridge clip including the IN point continues and the bridge clip extends to the bridge clip including the OUT point. The target value of VBVoccupancy at the scheduled end point of the bridge clip including the OUT point is known without waiting for the encoding process by the encoder 183 since the stream 2 is a stream stored in the HDD 46 in advance. Therefore, even in such a case, if the frame buffer 184 has a capacity of about (2N + X) frames, where N is the maximum GOP length of encoding by the encoder 183, the encoder 60 has determined the OUT point. At this stage, the VBVoccupancy value at the point indicated by ζ in the figure, which is the planned bridge clip end point after the OUT point, can be acquired from the CPU 182 via the control bus 51 as the VBVoccupancy target value. No bankruptcy.

もちろん、IN点を含むブリッジクリップ終了点がOUT点を含むブリッジクリップにかからない場合、すなわち、図中βやγで示される点などにおいてIN点を含むブリッジクリップが終了する場合、ブリッジクリップのエンコードが終了した後、エンコーダ60へのベースバンド信号の供給およびエンコード処理が終了される。そして、OUT点を含むブリッジクリップの開始点は、エンコーダ183によるエンコード処理の位相にあわせて設定され、フレームバッファ184へのバッファリングおよびエンコーダ60によるエンコード処理が開始されて、OUT点において、フレームバッファ184への入力が、ストリーム2へ切換えられ、ストリーム2の対応する部分のエンコードが実行される。   Of course, when the bridge clip end point including the IN point does not reach the bridge clip including the OUT point, that is, when the bridge clip including the IN point ends at a point indicated by β or γ in the figure, the bridge clip is encoded. After the completion, the supply of the baseband signal to the encoder 60 and the encoding process are finished. The start point of the bridge clip including the OUT point is set in accordance with the phase of the encoding process by the encoder 183, buffering to the frame buffer 184 and the encoding process by the encoder 60 are started, and the frame buffer at the OUT point. The input to 184 is switched to stream 2 and the corresponding part of stream 2 is encoded.

そして、PCIブリッジ49は、IN点およびOUT点を含むブリッジクリップの部分がエンコーダ60によりエンコードされたストリームとの供給を受け、一旦メモリ50に格納したのち、PCIバス44、および、ノースブリッジ42を介して、メモリ43に供給する。   The PCI bridge 49 is supplied with the stream in which the bridge clip portion including the IN point and the OUT point is encoded by the encoder 60, and once stored in the memory 50, the PCI bus 44 and the north bridge 42 are connected. To the memory 43.

例えば、図33において、IN点を含むブリッジクリップが図中αからγで示される部分であり、OUT点を含むブリッジクリップが図中εからζで示される部分である場合、編集後のストリームは、HDD46に記録されていたストリーム1の図中αで示される点より前の部分と、図中αからγで示されるブリッジクリップがエンコーダ60によりエンコードされたストリームと、図中γからεで示されるベースバンド信号がエンコーダ183によりエンコードされたストリームと、図中εからζで示されるブリッジクリップがエンコーダ60によりエンコードされたストリームと、HDD46に記録されていたストリーム2の図中ζで示される点より後ろの部分とから構成される。   For example, in FIG. 33, when the bridge clip including the IN point is a portion indicated by α to γ in the drawing and the bridge clip including the OUT point is a portion indicated by ε to ζ in the drawing, the stream after editing is The portion of the stream 1 recorded in the HDD 46 before the point indicated by α in the figure, the stream in which the bridge clip indicated by α to γ in the figure is encoded by the encoder 60, and indicated by γ to ε in the figure. A stream in which the baseband signal to be encoded is encoded by the encoder 183, a stream in which the bridge clip indicated by ε to ζ in the figure is encoded by the encoder 60, and a point indicated by ζ in the figure of the stream 2 recorded in the HDD 46 It consists of a rear part.

すなわち、エンコーダ60は、ブリッジクリップに対応する部分のみエンコード処理を実行する。   That is, the encoder 60 performs the encoding process only on the part corresponding to the bridge clip.

このようにして、素材としてのベースバンド信号を最大符号化効率で符号化して格納しつつ、上述した第1の実施の形態と同様にして編集処理を行い、IN点とOUT点に挟まれた部分のエンコード処理が重複しないようにすることができる。このようにすることにより、編集処理を、世代落ちをできるだけ防止しつつ実行することができるとともに、後々の編集点変更にも対応可能となる。   In this way, the baseband signal as the material is encoded and stored with the maximum encoding efficiency, and the editing process is performed in the same manner as in the first embodiment described above, and is sandwiched between the IN point and the OUT point. It is possible to prevent the encoding process of parts from overlapping. In this way, editing processing can be executed while preventing generation loss as much as possible, and it is possible to cope with later editing point changes.

次に、図34乃至図45を参照して、エンコーダ183によるSDI入力信号のエンコードと、エンコーダ60によるブリッジクリップのエンコードのタイミングの差として必要な最小の値、すなわち、フレームバッファ184に求められるバッファ容量の最小値の詳細について、編集点の設定の各種のパターンにおける場合を例として説明する。   Next, referring to FIG. 34 to FIG. 45, the minimum value required as the difference between the encoding timing of the SDI input signal by the encoder 183 and the encoding timing of the bridge clip by the encoder 60, that is, the buffer required for the frame buffer 184. The details of the minimum value of the capacity will be described by taking as an example the case of various patterns of edit point setting.

まず、図34を参照して、IN点が、SDI入力をエンコーダ183においてエンコードした時のGOP位相におけるGOP切れ目と一致した場合について説明する。   First, the case where the IN point coincides with the GOP break in the GOP phase when the SDI input is encoded by the encoder 183 will be described with reference to FIG.

IN点を含むブリッジクリップのエンコード開始点は、IN点である図中βで示される点とストリーム1のGOP切れ目が一致しない場合、IN点より前に存在するストリーム1のGOP切れ目αからとなる。αからのエンコード開始にあたって、前方参照画の入力が必要であるので、エンコーダ60への入力はαの1フレーム前から開始される。そして、IN点を含むブリッジクリップのエンコード範囲は、IN点がSDI入力のGOP切れ目の場合、その直後のB0ピクチャおよびB1ピクチャの前方参照画はSDI入力のGOP切れ目の直前の画となることから、SDI入力のGOP切れ目βの先のB1ピクチャまでとなる。すなわち、IN点を含むブリッジクリップのエンコード終了点における目標VBVoccupancy値は、GOP切れ目βの後のコーディック順で最初のPピクチャの開始位置、即ち、B1ピクチャまでエンコードが終了した後に決まる。したがって、最長ではGOP切れ目βから3フレーム分の余裕が必要となる。   The encoding start point of the bridge clip including the IN point is from the GOP cut α of the stream 1 existing before the IN point when the point indicated by β in the figure which is the IN point and the GOP cut of the stream 1 do not match. . Since it is necessary to input a forward reference picture to start encoding from α, input to the encoder 60 is started one frame before α. The encoding range of the bridge clip including the IN point is that when the IN point is a SDI input GOP break, the forward reference picture of the B0 picture and B1 picture immediately after that is the picture immediately before the SDI input GOP break. , Up to B1 picture ahead of GOP break β of SDI input. That is, the target VBVoccupancy value at the encoding end point of the bridge clip including the IN point is determined after the encoding is completed up to the start position of the first P picture in the codec order after the GOP break β, that is, the B1 picture. Therefore, at most, a margin of 3 frames is required from the GOP break β.

なお、エンコードの範囲をGOP切れ目までではなく次のB1ピクチャまでとする技術についての詳細は、例えば、特開2006-67095号公報に記載されている。   Details of the technique for setting the encoding range up to the next B1 picture instead of up to the GOP break are described in, for example, Japanese Patent Laid-Open No. 2006-67095.

図34においては、Nは、エンコーダ183におけるエンコードの最大GOP長であり、aは、コマンド実行マージン時間(1コマンド遅延に対応する時間)とCPU182から供給された目標VBVoccupancy値に基づいてエンコードパラメータを計算する時間をフレーム数で表した値であり、bは、エンコード結果を知りたいフレームがエンコードされるのに必要なフレーム入力が終了してからエンコード結果を知りたいフレームのエンコードが終了し、目標VBVoccupancyを知るまでの時間をフレーム数で表した値である。   In FIG. 34, N is the maximum encoding GOP length in the encoder 183, and a is the encoding parameter based on the command execution margin time (time corresponding to one command delay) and the target VBVoccupancy value supplied from the CPU 182. The time to calculate is a value represented by the number of frames, and b is the target after the frame input necessary to know the encoding result is completed after the frame input necessary for encoding the frame to know the encoding result is completed. It is a value that represents the time until VBVoccupancy is known by the number of frames.

αからβまでが最も長いとき、αからβは、N−1フレームとなる。したがって、フレームバッファ184には、1+(N−1)+3+a+b=N+3+a+bフレーム分の容量が必要である。   When α to β is the longest, α to β is N−1 frames. Therefore, the frame buffer 184 needs a capacity of 1+ (N−1) + 3 + a + b = N + 3 + a + b frames.

次に、図35を参照して、IN点がストリーム1のGOP切れ目となる場合について説明する。   Next, with reference to FIG. 35, a case where the IN point becomes a GOP break of stream 1 will be described.

この場合、IN点を含むブリッジクリップのエンコード開始は、SDI入力のIN点からとなる。そして、IN点を含むブリッジクリップのエンコード範囲は、そのGOPの次のGOPのB1ピクチャまでであるとしても良いし、GOP切れ目までとしても良い。IN点を含むブリッジクリップのエンコード範囲を次のGOPのB1ピクチャまでであるとした場合、IN点を含むブリッジクリップのエンコード終了点における目標VBVoccupancy値は、図34における場合と同様にして、GOP切れ目βの後のコーディック順で最初のPピクチャの開始位置となるので、最長ではGOP切れ目βから3フレーム分の余裕が必要となる。   In this case, the encoding of the bridge clip including the IN point starts from the IN point of the SDI input. The encoding range of the bridge clip including the IN point may be up to the B1 picture of the GOP next to the GOP or may be up to the GOP break. Assuming that the encoding range of the bridge clip including the IN point is up to the B1 picture of the next GOP, the target VBVoccupancy value at the encoding end point of the bridge clip including the IN point is the same as in FIG. Since it is the start position of the first P picture in the codec order after β, a maximum of 3 frames from the GOP break β is required.

図35における場合、IN点からブリッジクリップの終了点βまでが最も長いとき、N−1フレームとなる。したがって、ここでも、図34と同様にして、N,a,bを用いた場合、フレームバッファ184には、1+(N−1)+3+a+b=N+3+a+bフレームの容量が必要である。   In the case of FIG. 35, when the distance from the IN point to the end point β of the bridge clip is the longest, it is N−1 frames. Therefore, as in FIG. 34, when N, a, and b are used, the frame buffer 184 needs to have a capacity of 1+ (N−1) + 3 + a + b = N + 3 + a + b frames.

次に、図36を参照して、フレームバッファ184において必要な最大容量、すなわち、フレームバッファ184により遅延できるフレーム数の最大値について説明する。   Next, the maximum capacity required in the frame buffer 184, that is, the maximum number of frames that can be delayed by the frame buffer 184 will be described with reference to FIG.

図34を用いて説明したように、フレームバッファの容量が最も必要となるブリッジクリップ開始位置であるαの条件は、ブリッジクリップ開始点であるαの位置がIN点から(N-1)フレーム手前の場合である。また、図35を用いて説明したように、フレームバッファの容量が最も必要となるブリッジクリップ終了予定点であるβの位置の条件は、ブリッジクリップ終了予定点βの位置がIN点から(N-1)後の場合である。   As described with reference to FIG. 34, the condition of α that is the bridge clip start position where the capacity of the frame buffer is most required is that the position of α that is the bridge clip start point is (N−1) frames before the IN point. This is the case. Further, as described with reference to FIG. 35, the condition of the position of β, which is the planned bridge clip end point where the capacity of the frame buffer is most required, 1) The latter case.

ブリッジクリップ終了予定点βでのVBVoccupancyが確定するのは、終了予定点β後のIピクチャがエンコーダ183に入力され、最初のPピクチャにおけるVBVoccupancyが決まる、即ち、最長では、B1ピクチャのエンコードが終了して符号量が判った時点である。   The VBVoccupancy at the scheduled bridge clip end point β is determined because the I picture after the scheduled end point β is input to the encoder 183, and the VBVoccupancy in the first P picture is determined, that is, the encoding of the B1 picture ends at the longest. At this point, the code amount is known.

これらより、フレームバッファ184において必要な最大容量は、1+(N−1)+(N−1)+3+a+b=2N+2+a+bフレームとなる。すなわち、フレームバッファ184が2N+2+a+bフレーム保持することが可能であるとき、編集点と、その前後を構成するブリッジクリップ部分のGOP位相との関係がどのような場合であっても、エンコーダ183のエンコード結果をエンコーダ60によるブリッジクリップのエンコードに反映させることができ、エンコード処理は破綻しない。   Therefore, the maximum capacity required in the frame buffer 184 is 1+ (N−1) + (N−1) + 3 + a + b = 2N + 2 + a + b frames. In other words, when the frame buffer 184 can hold 2N + 2 + a + b frames, the encoding result of the encoder 183 can be obtained regardless of the relationship between the edit point and the GOP phase of the bridge clip portion constituting the front and rear of the edit point. Can be reflected in the encoding of the bridge clip by the encoder 60, and the encoding process does not fail.

なお、OUT点に関するスプライシングは、OUT点手前のSDI入力GOP切れ目の1フレーム手前(前方参照画)から開始されればよく、また、OUT点を含むブリッジクリップの後ろに接続されるのは、HDD46に予め記憶されている下地ストリームであり、その接続点のVBVoccupancyは既知であるので、VBVoccupancy目標値は、OUT点においては、OUT点が決まってから、1+(N−1)+a=N+aフレームあれば、エンコード処理は破綻しない。   Note that splicing related to the OUT point may be started from one frame before the SDI input GOP cut before the OUT point (forward reference image), and the HDD 46 is connected behind the bridge clip including the OUT point. Since the VBVoccupancy of the connection point is known in advance, the VBVoccupancy target value is 1+ (N-1) + a = N + a frame after the OUT point is determined at the OUT point. For example, the encoding process does not fail.

次に、図37乃至図39を参照して、IN点のスプライシングが長引いた場合のOUT点の処理について説明する。   Next, with reference to FIG. 37 to FIG. 39, the processing of the OUT point when the splicing of the IN point is prolonged will be described.

上述した様に、任意のIN点決定に対して、フレームバッファ184において必要な最大容量は、2N+2+a+bフレームである。   As described above, the maximum capacity required in the frame buffer 184 for determining an arbitrary IN point is 2N + 2 + a + b frames.

図37には、フレームバッファ184に供給されるタイミングでモニタ2に表示されるSDI入力、および、モニタ1に表示されるストリーム1をデコードしたベースバンド信号、並びに、エンコーダ60へ供給されるタイミングに基づいて記述されたエンコーダ60への入力ベースバンド信号、および、エンコーダ60により生成されるブリッジクリップが図示されている。   In FIG. 37, the SDI input displayed on the monitor 2 at the timing supplied to the frame buffer 184, the baseband signal obtained by decoding the stream 1 displayed on the monitor 1, and the timing supplied to the encoder 60 are shown. An input baseband signal to the encoder 60 described on the basis and a bridge clip generated by the encoder 60 is shown.

入力端子61から供給されるベースバンド信号(SDI入力)は、フレームバッファ184に供給されるタイミングと略同時に、エンコーダ183においてエンコードされる。エンコーダ183は、エンコードに関するGOP位相やVBVoccupancyを、コントロールバス51を介して、CPU182に供給する。   The baseband signal (SDI input) supplied from the input terminal 61 is encoded by the encoder 183 almost simultaneously with the timing supplied to the frame buffer 184. The encoder 183 supplies the GOP phase and VBVoccupancy related to encoding to the CPU 182 via the control bus 51.

しがたって、IN点が決定された後、ブリッジクリップ終了予定点βの先のB1ピクチャである図中θの時点で、SDI入力のエンコーダ183によるエンコード結果として、ブリッジクリップ終了予定点βにおけるVBVoccupancy目標量が判明する。エンコーダ60によるエンコードの開始は、少なくともVBVoccupancy目標量が判明するθ時点以降でなければならない。   Therefore, after the IN point is determined, the VBVoccupancy at the scheduled bridge clip end point β is obtained as an encoding result by the encoder 183 of the SDI input at the point θ in the figure which is the B1 picture ahead of the planned bridge clip end point β. The target amount is determined. The start of encoding by the encoder 60 must be at least after the θ point when the VBVoccupancy target amount is known.

例えば、エンコーダ60において、2N+2+a+bフレームだけ遅延した図中α'において、ブリッジクリップ開始点からのエンコードが開始された場合、このエンコード結果は、ブリッジクリップ終了予定点に対応するβ’の先のB1ピクチャであるθ’までのエンコードが終了したときに判る。そして、その後(1+a)フレーム先のιが、OUT点のためのスプライシングを開始するための最も近いGOP切れ目位置となる。すなわち、SDI入力のIN点が決定された際に決まるSDI入力のIN点に関するスプライシングの終了点直前のGOP切れ目β’から、(4+a+b)フレーム先のι’が、OUT点に関するスプライシング開始GOP切れ目の限界点となる。   For example, in the encoder 60, when encoding from the bridge clip start point is started at α ′ in the drawing delayed by 2N + 2 + a + b frames, this encoding result is the B1 picture ahead of β ′ corresponding to the bridge clip end scheduled point. This can be found when encoding up to θ ′ is completed. Then, ι after the (1 + a) frame is the closest GOP cut position for starting splicing for the OUT point. That is, from the GOP break β 'immediately before the splicing end point related to the SDI input IN point determined when the IN point of the SDI input is determined, (4 + a + b) ι' of the frame destination is the splicing start GOP break related to the OUT point. It becomes a limit point.

すなわち、OUT点がブリッジクリップ終了予定点βから開始されるGOP内で決定されるか、または、ブリッジクリップ終了予定点βから(4+a+b)フレーム以内にGOP切れ目が存在し、そのGOP内でOUT点が決定された場合は、IN点に関するスプライシングは終了せずに、そのままOUT点によって定まるVBVoccupancy目標値に向かってエンコードが続けられる。また、そのとき、OUT点に関するブリッジクリップの目標VBVoccupancyは、上述したように、エンコーダ183の処理とは関係なく予め知ることができる。   That is, the OUT point is determined within the GOP starting from the bridge clip end point β, or there is a GOP break within (4 + a + b) frames from the bridge clip end point β, and the OUT point is within that GOP. Is determined, the splicing for the IN point is not terminated, and the encoding is continued toward the VBVoccupancy target value determined by the OUT point as it is. At that time, the target VBVoccupancy of the bridge clip related to the OUT point can be known in advance regardless of the processing of the encoder 183 as described above.

また、最初のブリッジクリップ終了予定点βまででVBVoccupancyを合わせられず、ブリッジクリップの範囲が延長される場合も同様のことが発生する。例えば、図38に示される最初のブリッジクリップ終了予定点βまででVBVoccupancyを合わせられず、スプライシングが終了しなかった場合、次のブリッジクリップ終了予定点を、次のGOPの切れ目である図中γで示される点とすることができる。その場合、次のブリッジクリップ終了予定点γでうまくスプライシングを終了できたかどうかがわかるのは、図38に示されるように、ブリッジクリップ終了予定点γがエンコーダ60にてエンコードされる、図中γ’で示される点よりbフレーム後のκ時点ということになる。   The same thing occurs when VBVoccupancy cannot be matched up to the first bridge clip end scheduled point β and the range of the bridge clip is extended. For example, when VBVoccupancy cannot be adjusted up to the first bridge clip end scheduled point β shown in FIG. 38 and splicing is not completed, the next bridge clip end scheduled point is indicated by γ in the figure which is the next GOP break. It can be a point indicated by. In this case, it can be known whether or not splicing has been successfully completed at the next scheduled bridge clip end point γ, as shown in FIG. 38, the scheduled bridge clip end point γ is encoded by the encoder 60. That is, κ time point after b frames from the point indicated by '.

従って、最初のブリッジクリップ終了予定点βまででVBVoccupancyを合わせられず、スプライシングが終了しなかった場合、次のブリッジクリップ終了予定点γの前にOUT点が決定されるか、最初のブリッジクリップ終了予定点βの(1+a+b)フレーム先にGOP切れ目が存在し、そのGOP切れ目から開始されるGOP内でOUT点が決定された場合に、IN点に関するスプライシングは終了せずに、そのままOUT点によって定まるVBVoccupancy目標値に向かってエンコードが続けられる。また、そのとき、OUT点を含むブリッジクリップの目標VBVoccupancyは、上述したように、エンコーダ183の処理とは関係なく予め知ることができる。   Therefore, if VBVoccupancy cannot be adjusted up to the first bridge clip end scheduled point β and splicing is not completed, the OUT point is determined before the next bridge clip end scheduled point γ, or the first bridge clip end is completed. When a GOP break exists in the (1 + a + b) frame ahead of the scheduled point β and the OUT point is determined in the GOP starting from the GOP break, the splicing for the IN point is not finished and is determined by the OUT point as it is. Encoding continues toward the VBVoccupancy target. At that time, the target VBVoccupancy of the bridge clip including the OUT point can be known in advance regardless of the processing of the encoder 183 as described above.

IN点を含むブリッジクリップの範囲が延長されている状態で、モニタ1乃至3を監視しているユーザから、OUT点の位置の指令を受ける場合がある。また、OUT点は、予め指定されている場合もある。いずれの場合においても、CPU182は、その範囲がOUT点を含むブリッジクリップと連続するか否かを、OUT点を含むブリッジクリップのエンコーダ60によるエンコードが開始される前に判断する必要がある。   When the range of the bridge clip including the IN point is extended, a command for the position of the OUT point may be received from the user who is monitoring the monitors 1 to 3. Further, the OUT point may be designated in advance. In any case, the CPU 182 needs to determine whether or not the range is continuous with the bridge clip including the OUT point before the encoding of the bridge clip including the OUT point by the encoder 60 is started.

CPU182は、フレームバッファ184による遅延時間分を利用して、OUT点が検出されてから、IN点を含むブリッジクリップのスプライシング処理が正しく終了されたか否かを確認した後、IN点を含むブリッジクリップがOUT点を含むブリッジクリップを含んで連続するか否かを判断することができると好適であるが、OUT点近傍のGOP位相によっては、IN点を含むブリッジクリップのスプライシング処理の終了を待たずに、IN点を含むブリッジクリップがOUT点を含むブリッジクリップを含んで連続するものとしてしまわなければならない場合がある。   The CPU 182 uses the delay time by the frame buffer 184 to check whether or not the splicing process of the bridge clip including the IN point has been correctly completed after the OUT point is detected, and then the bridge clip including the IN point. However, depending on the GOP phase near the OUT point, it is preferable not to wait for the completion of the splicing process for the bridge clip including the IN point. In some cases, the bridge clip including the IN point must be continuous including the bridge clip including the OUT point.

そのような場合について、図39を用いて説明する。なお、図39においても、aは、コマンド実行マージン時間とCPU182から供給された目標VBVoccupancy値に基づいてエンコードパラメータを計算する時間をフレーム数で表した値であり、bは、エンコード結果を知りたいフレームがエンコードされるのに必要なフレーム入力が終了してからエンコード結果を知りたいフレームのエンコードが終了し、目標VBVoccupancyを知るまでの時間をフレーム数で表した値であるものとする。   Such a case will be described with reference to FIG. In FIG. 39, a is a value representing the time for calculating the encoding parameter based on the command execution margin time and the target VBVoccupancy value supplied from the CPU 182 in terms of the number of frames, and b wants to know the encoding result. It is assumed that the time from the completion of frame input necessary to encode a frame to the completion of encoding of the frame for which the encoding result is desired to be known until the target VBVoccupancy is known is represented by the number of frames.

CPU182は、エンコーダ182によるSDI入力のエンコードにおいて、エンコード中のブリッジクリップの終了予定点のエンコード結果におけるVBVoccupancyの値に基づいて、ブリッジクリップの範囲を延長するか否かを決定する。CPU182は、ブリッジクリップの終了予定点のエンコード結果におけるVBVoccupancyの値を、そのフレームの入力後、bフレーム後に知ることができる。   In the encoding of the SDI input by the encoder 182, the CPU 182 determines whether to extend the range of the bridge clip based on the value of VBVoccupancy in the encoding result of the end point of the bridge clip being encoded. The CPU 182 can know the value of VBVoccupancy in the encoding result of the bridge clip scheduled end point after b frames after the input of the frame.

図39に示されるように、エンコード中のブリッジクリップの終了予定点をδとし、決定したOUT点を含むGOPの先頭をεとして、δ乃至ε間のフレーム数をkフレームとする。OUT点を含むブリッジクリップのためのストリーム2のエンコードは、OUT点の(N+a)フレーム前から開始可能なようにしなければならない。OUT点を含むGOPの先頭εからOUT点までをN−1フレームとしたとき、δからOUT点まではk+(N−1)フレームとなる。したがって、CPU182がIN点を含むブリッジクリップのスプライシング処理が正しく終了されたか否かを確認した後、OUT点を含むブリッジクリップを含んで連続するか否かを判断することができる余裕フレーム数は、k+(N−1)−b―(N+a)=k−(1+a+b)フレームとなる。   As shown in FIG. 39, it is assumed that the scheduled end point of the bridge clip being encoded is δ, the head of the GOP including the determined OUT point is ε, and the number of frames between δ and ε is k frames. The encoding of stream 2 for a bridge clip including an OUT point must be able to start from (N + a) frames before the OUT point. When the first ε to the OUT point of the GOP including the OUT point are N−1 frames, the frame from δ to the OUT point is k + (N−1) frames. Therefore, after the CPU 182 confirms whether or not the splicing process of the bridge clip including the IN point is correctly completed, the number of surplus frames that can be determined whether the bridge clip including the OUT point is continuous is determined as follows: k + (N-1) -b- (N + a) = k- (1 + a + b) frames.

この場合、例えば、a=1、b=3ならば、kが6フレーム以上であれば、CPU182は、IN点を含むブリッジクリップのスプライシング処理が正しく終了されたか否かを確認した後、OUT点を含むブリッジクリップを含んで連続するか否かを判断することができる。しかしながら、エンコーダ183によるエンコード処理が、最小のGOP長が5フレーム以下であることを許すとき、IN点を含むブリッジクリップのスプライシング処理の終了を待たずに、CPU182は、IN点を含むブリッジクリップがOUT点を含むブリッジクリップを含んで連続するものと決定する必要がある。   In this case, for example, if a = 1 and b = 3, and k is 6 frames or more, the CPU 182 confirms whether or not the splicing processing of the bridge clip including the IN point has been correctly completed, and then the OUT point. It is possible to determine whether or not it is continuous including the bridge clip including. However, when the encoding process by the encoder 183 allows the minimum GOP length to be 5 frames or less, the CPU 182 does not wait for the completion of the splicing process of the bridge clip including the IN point, and the CPU 182 It is necessary to determine that it is continuous including the bridge clip including the OUT point.

すなわち、エンコーダ183によるエンコード処理において許可される最長GOP長をkとし、上述したように、aは、コマンド実行マージン時間とCPU182から供給された目標VBVoccupancy値に基づいてエンコードパラメータを計算する時間をフレーム数で表した値であり、bは、エンコード結果を知りたいフレームがエンコードされるのに必要なフレーム入力が終了してからエンコード結果を知りたいフレームのエンコードが終了し、目標VBVoccupancyを知るまでの時間をフレーム数で表した値であるものとしたとき、k−(1+a+b)が正の値である場合は、CPU182は、IN点を含むブリッジクリップのスプライシング処理が正しく終了されたか否かを確認した後、OUT点を含むブリッジクリップを含んで連続するか否かを判断することができる。   That is, the longest GOP length permitted in the encoding process by the encoder 183 is k, and as described above, a represents the time for calculating the encoding parameter based on the command execution margin time and the target VBVoccupancy value supplied from the CPU 182 as a frame. B is a value from the end of the frame input necessary to encode the frame whose encoding result is desired to be encoded until the encoding of the frame whose information is desired is completed and the target VBVoccupancy is known. When k− (1 + a + b) is a positive value when the time is a value represented by the number of frames, the CPU 182 confirms whether or not the splicing process of the bridge clip including the IN point has been correctly completed. After that, it is determined whether or not it continues including the bridge clip including the OUT point. Door can be.

これに対して、k−(1+a+b)が負の値であるとき、換言すれば、k≦(1+a+b)であるとき、モニタ1乃至3を監視しているユーザからOUT点の位置の指令を受けた時点でIN点のスプライシング処理が終了していないか、または、エンコーダ60において予め指定されたOUT点を含むGOPより1GOP前のエンコードが開始されたとき、IN点を含むブリッジクリップのスプライシング処理の終了を待たずに、CPU182は、IN点を含むブリッジクリップがOUT点を含むブリッジクリップを含んで連続するものと決定する必要がある。   On the other hand, when k− (1 + a + b) is a negative value, in other words, when k ≦ (1 + a + b), a command for the position of the OUT point is received from the user monitoring the monitors 1 to 3. When the splicing process of the IN point is not completed at the point in time, or the encoding of 1 GOP before the GOP including the OUT point designated in advance by the encoder 60 is started, the splicing process of the bridge clip including the IN point is performed. Without waiting for the end, the CPU 182 needs to determine that the bridge clip including the IN point is continuous including the bridge clip including the OUT point.

次に、図40乃至図45を参照して、フレームバッファ184のバッファ容量が2N+2+a+bであるときの、モニタ出力とエンコーダ60への入力について説明する。   Next, the monitor output and the input to the encoder 60 when the buffer capacity of the frame buffer 184 is 2N + 2 + a + b will be described with reference to FIGS.

図40乃至図45においては、モニタ出力およびエンコーダ入力とも、Aは、HDD46に予め記憶されている下地ストリーム(例えば、図33におけるストリーム1およびストリーム2に対応する)に対応するものであり、Bは、入力端子61から入力されるベースバンド信号(SDI入力)に対応するものである。   In FIG. 40 to FIG. 45, both the monitor output and the encoder input A correspond to the background streams (for example, corresponding to the stream 1 and the stream 2 in FIG. 33) stored in advance in the HDD 46. Corresponds to a baseband signal (SDI input) input from the input terminal 61.

フレームバッファ184のバッファ容量が2N+2+a+bであるとき、例えば、図40に示されるように、下地ストリームにおいてIN点を含むGOPの先頭からIN点までがk1フレームであり、ベースバンド信号において、IN点からデコーダ183によるデコードでのGOP位相におけるIN点を含むGOPの終了点までがk2フレームであるとき、モニタ出力と並行して実行されているデコーダ183によるデコード処理におけるブリッジクリップ終了予定点でのエンコード結果は、モニタ出力におけるIN点に対して、(k2+3+b)フレーム後に、CPU182に供給される。また、このブリッジクリップの範囲のエンコーダ60への入力は、フレームバッファ184によって、2N+2+a+bフレームだけ遅延される。そのため、エンコーダ60によるエンコード開始のための前方参照画の入力の前にエンコード開始コマンドが発行されることを考慮しても、CPU182が、ブリッジクリップ終了予定点でのエンコード結果を取得してから、エンコーダ60におけるブリッジクリップのエンコードの制御を開始するまでには、(2N+2+a+b)−k1−k2−(3+b)−(a+b)で、2N−2−k1−k2の余裕がある。   When the buffer capacity of the frame buffer 184 is 2N + 2 + a + b, for example, as shown in FIG. 40, from the beginning of the GOP including the IN point to the IN point in the base stream is the k1 frame, and from the IN point in the baseband signal When the decoding is performed by the decoder 183 and the end point of the GOP including the IN point in the GOP phase is a k2 frame, the encoding result at the bridge clip scheduled end point in the decoding process by the decoder 183 executed in parallel with the monitor output Is supplied to the CPU 182 after (k2 + 3 + b) frames with respect to the IN point in the monitor output. Also, the input to the encoder 60 within the bridge clip range is delayed by 2N + 2 + a + b frames by the frame buffer 184. Therefore, even if it is considered that the encoding start command is issued before the input of the forward reference image for starting the encoding by the encoder 60, the CPU 182 acquires the encoding result at the bridge clip scheduled end point, There is a margin of 2N−2−k1−k2 by (2N + 2 + a + b) −k1−k2− (3 + b) − (a + b) until the start of the bridge clip encoding control in the encoder 60.

従って、フレームバッファ184のバッファ容量が2N+2+a+bであれば、例えば、図41に示されるように、k1およびk2が最も大きなフレーム数であるとき、すなわち、k1がN−1フレームであり、k2がN−1フレームであっても、CPU182が、ブリッジクリップ終了予定点でのエンコード結果を取得してから、エンコーダ60におけるブリッジクリップのエンコードの制御を開始することができる。   Therefore, if the buffer capacity of the frame buffer 184 is 2N + 2 + a + b, for example, as shown in FIG. 41, when k1 and k2 are the largest number of frames, that is, k1 is N−1 frames and k2 is N Even in the case of −1 frame, the CPU 182 can start the encoding control of the bridge clip in the encoder 60 after obtaining the encoding result at the bridge clip end scheduled point.

次に、IN点前後のGOP切れ目の位置によって定まる、スプライシングのためのブリッジクリップに含まれるフレーム数が、画質維持のために考慮される最小GOP長に満たない場合について説明する。例えば、図42に示されるように、下地ストリームにおいてIN点を含むGOPの先頭からIN点までがk1フレームであり、ベースバンド信号において、IN点からデコーダ183によるデコードでのGOP位相におけるIN点を含むGOPの終了点までがk2フレームであって、k1+k2フレームのフレーム数が極端に少ない場合、この範囲のみをブリッジクリップとしてしまっては、符号化処理における符号配分が困難であり、画質を維持することができない場合がある。そこで、さらに次のGOPまでをブリッジクリップとするものとする。   Next, a case will be described in which the number of frames included in a bridge clip for splicing determined by the positions of GOP breaks before and after the IN point is less than the minimum GOP length considered for maintaining image quality. For example, as shown in FIG. 42, the KOP frame is from the beginning of the GOP including the IN point to the IN point in the base stream, and the IN point in the GOP phase in the decoding by the decoder 183 is determined from the IN point in the baseband signal. In the case where the end point of the included GOP is k2 frames and the number of frames of k1 + k2 frames is extremely small, if only this range is used as a bridge clip, code distribution in encoding processing is difficult, and image quality is maintained. It may not be possible. Accordingly, it is assumed that the bridge clip is further up to the next GOP.

このとき、モニタ出力と並行して実行されているデコーダ183によるデコード処理におけるブリッジクリップ終了予定点でのエンコード結果は、モニタ出力におけるIN点に対して、(k2+N+3+b)フレーム後に、CPU182に供給される。すなわち、CPU182が、ブリッジクリップ終了予定点でのエンコード結果を取得してから、エンコーダ60におけるブリッジクリップのエンコードの制御を開始するまでには、(2N+2+a+b)−k1−k2−N−(3+b)−(a+b)で、N−2−k1−k2の余裕がある。   At this time, the encoding result at the bridge clip end scheduled point in the decoding processing by the decoder 183 executed in parallel with the monitor output is supplied to the CPU 182 after (k2 + N + 3 + b) frames with respect to the IN point in the monitor output. . That is, (2N + 2 + a + b) −k1−k2−N− (3 + b) − from when the CPU 182 acquires the encoding result at the bridge clip scheduled end point to when the encoder 60 starts controlling the encoding of the bridge clip. At (a + b), there is a margin of N-2-k1-k2.

すなわち、k1+k2がN−2フレーム以下のとき、次のGOPまでブリッジクリップを延長しても、CPU182が、ブリッジクリップ終了予定点でのエンコード結果を取得してから、エンコーダ60におけるブリッジクリップのエンコードの制御を開始することができる。   That is, when k1 + k2 is N-2 frames or less, even if the bridge clip is extended to the next GOP, the CPU 182 obtains the encoding result at the scheduled bridge clip end point, and then the encoder 60 encodes the bridge clip. Control can begin.

次に、OUT点を含むスプライシング処理のためのブリッジクリップのエンコードにおいて、例えば、図43に示されるように、ベースバンド信号において、デコーダ183によるデコードでのGOP位相におけるOUT点を含むGOPの開始点からOUT点までがk3フレームであり、下地ストリームにおいてOUT点からOUT点を含むGOPの最後までがk4フレームであるものとする。ここで、OUT点が指定されて、OUT点を含むブリッジクリップの終了予定点におけるVBVoccupancy目標量は、HDD46に予め記憶されたている下地ストリームの対応する位置のVBVoccupancyであるので、CPU182は、デコーダ183によるブリッジクリップ範囲のデコードの終了を待つことなくVBVoccupancy目標量を認識することが可能である。したがって、フレームバッファ184のバッファ容量が2N+2+a+bであることより、CPU182は、問題なく、OUT点を含むブリッジクリップのエンコードの制御を行うことができる。   Next, in the encoding of the bridge clip for the splicing process including the OUT point, for example, as shown in FIG. 43, in the baseband signal, the start point of the GOP including the OUT point in the GOP phase in the decoding by the decoder 183 The k3 frame is from the OUT point to the OUT point, and the k4 frame is from the OUT point to the end of the GOP including the OUT point in the base stream. Here, since the OUT point is designated and the VBVoccupancy target amount at the scheduled end point of the bridge clip including the OUT point is the VBVoccupancy at the corresponding position of the background stream stored in advance in the HDD 46, the CPU 182 It is possible to recognize the VBVoccupancy target amount without waiting for completion of decoding of the bridge clip range by H.183. Therefore, since the buffer capacity of the frame buffer 184 is 2N + 2 + a + b, the CPU 182 can control the encoding of the bridge clip including the OUT point without any problem.

次に、OUT点前後のGOP切れ目の位置によって定まる、スプライシングのためのブリッジクリップに含まれるフレーム数が、画質維持のために考慮される最小GOP長に満たない場合について説明する。例えば、図44に示されるように、デコーダ183によるデコードでのGOP位相におけるOUT点を含むGOPの開始点からOUT点までがk3フレームであり、下地ストリームにおいてOUT点からOUT点を含むGOPの最後までがk4フレームであって、k3+k4フレームのフレーム数が極端に少ない場合、この範囲のみをブリッジクリップとしてしまっては、符号化処理における符号配分が困難であり、画質を維持することができない場合がある。そこで、CPU182は、ブリッジクリップの開始点を、一つ前のGOPの開始点として、ブリッジクリップに含まれるフレーム数を増やして、その最小ブリッジクリップのエンコード結果で2GOPを構成するように、エンコーダ60によるエンコード処理を制御する。このような場合であっても、フレームバッファ184のバッファ容量が2N+2+a+bであることより、CPU182は、問題なく、OUT点を含むブリッジクリップのエンコードの制御を行うことができる。   Next, a case will be described in which the number of frames included in the bridge clip for splicing determined by the positions of GOP breaks before and after the OUT point is less than the minimum GOP length considered for maintaining image quality. For example, as shown in FIG. 44, the k3 frame is from the start point of the GOP including the OUT point to the OUT point in the GOP phase in the decoding by the decoder 183, and the last GOP including the OUT point from the OUT point in the underlying stream. Up to k4 frames, and when the number of frames of k3 + k4 frames is extremely small, if only this range is used as a bridge clip, code distribution in the encoding process may be difficult and image quality may not be maintained. is there. Therefore, the CPU 182 sets the start point of the bridge clip as the start point of the previous GOP, increases the number of frames included in the bridge clip, and configures the 2GOP with the encoded result of the minimum bridge clip so as to form the 2GOP. Controls the encoding process by. Even in such a case, since the buffer capacity of the frame buffer 184 is 2N + 2 + a + b, the CPU 182 can control the encoding of the bridge clip including the OUT point without any problem.

また、上述したように、OUT点を含むブリッジクリップは、IN点を含むブリッジクリップと連続する場合がある。図45に示されるように、k3+k4フレームのフレーム数が充分である場合であっても、極端に少ないため、OUT点を含むブリッジクリップの開始点が1GOP前となる場合であっても、CPU182は、OUT点を含むブリッジクリップの直前までは、IN点を含むブリッジクリップであるものとしてエンコーダ60のエンコード処理を制御する。そして、CPU182は、OUT点を含むブリッジクリップのエンコードの開始前に、OUT点を含むブリッジクリップ終了予定点のVBVoccupancy目標量を認識することができるので、そのまま継続して、エンコーダ60によるOUT点を含むブリッジクリップのエンコード処理を制御することができる。   Further, as described above, the bridge clip including the OUT point may be continuous with the bridge clip including the IN point. As shown in FIG. 45, even if the number of frames of k3 + k4 is sufficient, even if the start point of the bridge clip including the OUT point is one GOP before, the CPU 182 Until the bridge clip including the OUT point, the encoding process of the encoder 60 is controlled as a bridge clip including the IN point. Since the CPU 182 can recognize the VBVoccupancy target amount of the bridge clip end scheduled point including the OUT point before the start of the encoding of the bridge clip including the OUT point, the CPU 182 continues to determine the OUT point by the encoder 60. The encoding process of the included bridge clip can be controlled.

なお、以上説明した処理においては、下地としてHDD46に予め記憶されている符号化ストリームを利用し、入力端子61から入力されるベースバンド信号を上書き用の編集素材として用いるものとして説明したが、例えば、下地として入力端子61から入力されるベースバンド信号を利用し、HDD46に予め記憶されている符号化ストリームを上書き用の編集素材として用いる場合であっても、上述した処理において、IN点とOUT点の処理が逆になるだけであり、フレームバッファ184のバッファ容量が2N+2+a+bであれば、CPU182は、問題なく、ブリッジクリップのエンコードの制御を行うことができる。   In the above-described processing, the encoded stream stored in advance in the HDD 46 is used as the background, and the baseband signal input from the input terminal 61 is used as the editing material for overwriting. Even if the baseband signal input from the input terminal 61 is used as the background and the encoded stream stored in advance in the HDD 46 is used as the editing material for overwriting, the IN point and OUT The point processing is only reversed, and if the buffer capacity of the frame buffer 184 is 2N + 2 + a + b, the CPU 182 can control the encoding of the bridge clip without any problem.

図46に、図33乃至図45を用いて説明したブリッジクリップのエンコード処理を実行する編集装置171のCPU181およびCPU182が有する機能を説明するための機能ブロック図を示す。   FIG. 46 is a functional block diagram for explaining the functions of the CPU 181 and the CPU 182 of the editing apparatus 171 that executes the bridge clip encoding process described with reference to FIGS.

なお、図16における場合と対応する部分には、同一の符号を付してあり、その説明は適宜省略する。   Note that portions corresponding to those in FIG. 16 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

すなわち、CPU181の機能は、再エンコード範囲決定部84に代わって、ブリッジクリップ範囲決定部191が設けられ、編集処理制御部85に代わって、編集処理制御部192が設けられている以外は、図16を用いて説明したCPU41が有する機能と基本的に同様であり、また、CPU182の機能は、新たに、ベースバンド信号のエンコード制御部201が設けられ、エンコード制御部93に代わって、エンコード制御部202が設けられている以外は、図16を用いて説明したCPU52が有する機能と基本的に同様である。   That is, the functions of the CPU 181 are the same as those shown in FIG. 5 except that a bridge clip range determining unit 191 is provided instead of the re-encoding range determining unit 84 and an editing process control unit 192 is provided instead of the editing process control unit 85. 16 is basically the same as the function of the CPU 41 described with reference to FIG. 16, and the function of the CPU 182 is newly provided with an encoding control unit 201 for baseband signals, and performs encoding control instead of the encoding control unit 93. Except for the provision of the unit 202, it is basically the same as the function of the CPU 52 described with reference to FIG.

ブリッジクリップ範囲決定部191は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部により取得された各種パラメータ、並びに、IN点/OUT点決定部83により決定されたIN点およびOUT点を基に、上述したブリッジクリップの範囲を決定し、編集処理制御部192に供給する。   The bridge clip range determination unit 191 includes a user operation input supplied from the user input acquisition unit 82, various parameters acquired by the parameter acquisition unit, an IN point determined by the IN point / OUT point determination unit 83, and Based on the OUT point, the range of the bridge clip described above is determined and supplied to the edit processing control unit 192.

編集処理制御部192は、IN点/OUT点決定部83により決定されたIN点およびOUT点、並びに、ブリッジクリップ範囲決定部191により決定されたブリッジクリップの範囲を基に、PCIブリッジ49、デコーダ54乃至デコーダ56、スイッチ57、スイッチ/エフェクト58、エンコーダ60、スイッチ62、および、デコーダ183の動作を制御するためのコマンドなどを生成し、ノースブリッジ42、PCIバス44、PCIブリッジ49、および、コントロールバス51を介して、生成したコマンドをCPU182に供給する。   Based on the IN point and OUT point determined by the IN point / OUT point determining unit 83 and the range of the bridge clip determined by the bridge clip range determining unit 191, the editing process control unit 192 includes a PCI bridge 49, a decoder 54 to decoder 56, switch 57, switch / effect 58, encoder 60, switch 62, and commands for controlling the operation of the decoder 183, etc., and the north bridge 42, PCI bus 44, PCI bridge 49, and The generated command is supplied to the CPU 182 via the control bus 51.

すなわち、編集処理制御部192は、ブリッジクリップのみがエンコーダ60に供給されてエンコードされるように、PCIブリッジ49やスイッチ57を制御することにより、IN点を含むブリッジクリップとOUT点を含むブリッジクリップとの間の部分のエンコード処理が、エンコーダ60とエンコーダ183とで重複してしまうことを防ぐことができる。   In other words, the edit processing control unit 192 controls the PCI bridge 49 and the switch 57 so that only the bridge clip is supplied to the encoder 60 and encoded, thereby the bridge clip including the IN point and the bridge clip including the OUT point. It is possible to prevent the encoder 60 and the encoder 183 from overlapping the encoding process of the portion between the two.

ベースバンド信号のエンコード制御部201は、エンコーダ183を制御し、入力端子61から入力されたベースバンド信号のエンコード処理と、そのエンコード処理の結果のCPU182への供給を制御する。   The baseband signal encoding control unit 201 controls the encoder 183 to control the encoding process of the baseband signal input from the input terminal 61 and the supply of the result of the encoding process to the CPU 182.

エンコード処理部202は、編集処理制御部192から供給されたコマンド、および、エンコーダ183から供給される、ベースバンド信号のエンコード結果に基づいて、エンコーダ60の動作を制御する。   The encoding processing unit 202 controls the operation of the encoder 60 based on the command supplied from the editing processing control unit 192 and the baseband signal encoding result supplied from the encoder 183.

次に、図47乃至図50のフローチャートを参照して、編集装置171が実行する編集処理3について説明する。   Next, editing processing 3 executed by the editing device 171 will be described with reference to the flowcharts of FIGS. 47 to 50.

ステップS111において、CPU181は、HDD46に記録されている下地の符号化ストリームを読み出し、ノースブリッジ42およびPCIバス44を介して、PCIブリッジ49に供給する。CPU182は、供給された下地の符号化ストリームを、必要に応じて、一旦メモリ50に蓄積した後、デコーダ54に供給する。デコーダ54は、デコード制御部91の制御に基づいて、供給された下地の符号化ストリームのデコードを開始し、デコードされて生成されたベースバンド信号を、スイッチ/エフェクト58に供給する。   In step S <b> 111, the CPU 181 reads the background encoded stream recorded in the HDD 46 and supplies the encoded stream to the PCI bridge 49 via the north bridge 42 and the PCI bus 44. The CPU 182 temporarily stores the supplied background encoded stream in the memory 50 as necessary, and then supplies it to the decoder 54. Based on the control of the decoding control unit 91, the decoder 54 starts decoding the supplied background encoded stream, and supplies the baseband signal generated by decoding to the switch / effect 58.

ステップS112において、CPU181は、入力端子61からのベースバンド信号の入力と、エンコーダ183によるベースバンド信号のエンコードの制御を開始する。エンコーダ183は、ベースバンド信号のエンコード制御部201の制御に基づいて、供給されたベースバンド信号をエンコードする。   In step S <b> 112, the CPU 181 starts control of the input of the baseband signal from the input terminal 61 and the encoding of the baseband signal by the encoder 183. The encoder 183 encodes the supplied baseband signal based on the control of the baseband signal encoding control unit 201.

ステップS113において、エンコーダ183は、ベースバンド信号のエンコード制御部201の制御に基づいて、エンコードに関するGOP位相およびVBVoccupancyの値をCPU182に供給する。CPU182は、エンコードに関するGOP位相およびVBVoccupancyの値を取得する。これにより、CPU182は、フレームバッファ184により遅延されて実行されるエンコーダ60によるブリッジクリップ部分のエンコード処理の制御に先立って、エンコードに関するGOP位相およびVBVoccupancyの値を知ることができる。   In step S113, the encoder 183 supplies the CPU 182 with the GOP phase and VBVoccupancy values related to encoding based on the control of the baseband signal encoding control unit 201. The CPU 182 acquires the GOP phase and VBVoccupancy values related to encoding. As a result, the CPU 182 can know the GOP phase and VBVoccupancy values related to encoding prior to the control of the encoding process of the bridge clip portion performed by the encoder 60 delayed by the frame buffer 184.

ステップS114において、モニタ1およびモニタ2は、遅延前の編集素材の表示を開始し、モニタ3は、スイッチ/エフェクト58の出力、すなわち、遅延前の編集結果の表示を開始する。オペレータは、モニタ1およびモニタ2に表示される映像を観測し、信号を切替えたいタイミングを図示しない操作入力部により指令する。   In step S114, the monitor 1 and the monitor 2 start displaying the editing material before the delay, and the monitor 3 starts displaying the output of the switch / effect 58, that is, the editing result before the delay. The operator observes the video displayed on the monitor 1 and the monitor 2, and instructs the timing to switch the signal from an operation input unit (not shown).

ステップS115において、CPU181のパラメータ取得部81は、下地の符号化ストリームに関するGOP位相情報を取得し、IN点/OUT点決定部83およびブリッジクリップ範囲決定部191に供給する。これにより、CPU181は、下地の符号化ストリームのGOPの切れ目を検出することができる。また、CPU181は、フレームバッファ184のバッファ容量も認識しているので、エンコーダ60によるブリッジクリップのエンコードの開始タイミングを制御することが可能となる。   In step S115, the parameter acquisition unit 81 of the CPU 181 acquires GOP phase information related to the background encoded stream, and supplies the GOP phase information to the IN point / OUT point determination unit 83 and the bridge clip range determination unit 191. As a result, the CPU 181 can detect a GOP break in the underlying encoded stream. In addition, since the CPU 181 recognizes the buffer capacity of the frame buffer 184, it is possible to control the start timing of the bridge clip encoding by the encoder 60.

ステップS116において、パラメータ取得部81は、下地の符号化ストリームに関する、GOP切れ目でのVBV占有量を取得し、IN点/OUT点決定部83およびブリッジクリップ範囲決定部191に供給する。これにより、例えば、上述した特開2006−67095号公報に記載の技術やその他の公知の技術を用いて、VBVoccupancyを、ブリッジクリップと再エンコードが実行されていない下地の符号化ストリームとで連続させることが可能となる。   In step S116, the parameter acquisition unit 81 acquires the VBV occupancy amount at the GOP break regarding the base encoded stream, and supplies it to the IN point / OUT point determination unit 83 and the bridge clip range determination unit 191. Thus, for example, using the technique described in the above-mentioned Japanese Patent Application Laid-Open No. 2006-67095 and other known techniques, VBVoccupancy is made continuous with the bridge clip and the encoded stream of the background on which re-encoding has not been executed. It becomes possible.

ステップS117において、ユーザ入力取得部82は、フレームバッファ184およびエンコーダ60への入力信号を下地の符号化ストリームに対応するベースバンド信号から入力端子61より供給されるベースバンド信号に切替える様に操作入力を受けたか否かを判断する。   In step S117, the user input acquisition unit 82 performs an operation input so as to switch the input signal to the frame buffer 184 and the encoder 60 from the baseband signal corresponding to the underlying encoded stream to the baseband signal supplied from the input terminal 61. It is determined whether or not it has been received.

ステップS117において、フレームバッファ184およびエンコーダ60への入力信号を切換える操作入力を受けていないと判断された場合、操作入力を受けたと判断されるまで、ステップS117の処理が繰り返される。   If it is determined in step S117 that an operation input for switching input signals to the frame buffer 184 and the encoder 60 has not been received, the process of step S117 is repeated until it is determined that the operation input has been received.

ステップS117において、フレームバッファ184およびエンコーダ60への入力信号を切換える操作入力を受けたと判断された場合、ステップS118において、IN点/OUT点決定部83は、編集におけるIN点を決定し、編集処理制御部192に供給する。編集処理制御部192は、CPU182の#1スイッチ制御部92を制御するための制御信号を生成し、CPU182に供給する。CPU182の#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において出力するデータを切換えて、フレームバッファ184およびエンコーダ60への入力信号を下地の符号化ストリームに対応するベースバンド信号から入力端子61より供給されるベースバンド信号に切替える、すなわち、下地の符号化ストリームに対応するベースバンド信号と入力端子61より供給されるベースバンド信号を接続させる。フレームバッファ184では、供給されたベースバンド信号がバッファリングされるので、エンコーダ60への入力は、フレームバッファ184のバッファ容量分だけ遅延する。   If it is determined in step S117 that an operation input for switching input signals to the frame buffer 184 and the encoder 60 has been received, in step S118, the IN point / OUT point determining unit 83 determines an IN point in editing, and editing processing is performed. It supplies to the control part 192. The editing process control unit 192 generates a control signal for controlling the # 1 switch control unit 92 of the CPU 182 and supplies the control signal to the CPU 182. The # 1 switch control unit 92 of the CPU 182 controls the operation of the switch / effect 58 to switch the data to be output at the editing point, and the input signals to the frame buffer 184 and the encoder 60 correspond to the underlying encoded stream. The baseband signal is switched to the baseband signal supplied from the input terminal 61, that is, the baseband signal corresponding to the underlying encoded stream and the baseband signal supplied from the input terminal 61 are connected. Since the supplied baseband signal is buffered in the frame buffer 184, the input to the encoder 60 is delayed by the buffer capacity of the frame buffer 184.

ステップS119において、ブリッジクリップ範囲決定部191は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部により取得された各種パラメータ、エンコーダ183によるエンコードの結果得られるベースバンド信号をエンコードしたストリームのGOP位相、並びに、IN点/OUT点決定部83により決定されたIN点を基に、上述したブリッジクリップの範囲を決定し、編集処理制御部192に供給する。   In step S119, the bridge clip range determination unit 191 encodes the user operation input supplied from the user input acquisition unit 82, the various parameters acquired by the parameter acquisition unit, and the baseband signal obtained as a result of encoding by the encoder 183. Based on the GOP phase of the stream and the IN point determined by the IN point / OUT point determining unit 83, the above-described bridge clip range is determined and supplied to the editing processing control unit 192.

ステップS120において、ブリッジクリップ範囲決定部191は、決定されたブリッジクリップの範囲に基づいて、IN点を含むGOPに関してエンコーダ60によるエンコードを開始するためのタイミングを設定する。   In step S120, the bridge clip range determination unit 191 sets a timing for starting encoding by the encoder 60 for the GOP including the IN point based on the determined bridge clip range.

ステップS121において、CPU182のエンコード制御部202は、エンコーダ183から供給された、エンコードに関するVBVoccupancyの値から、ブリッジクリップ終了予定点に対応するVBVoccupancyの値を抽出する。   In step S121, the encoding control unit 202 of the CPU 182 extracts the VBVoccupancy value corresponding to the scheduled bridge clip end point from the VBVoccupancy value related to encoding supplied from the encoder 183.

ステップS122において、エンコード制御部202は、抽出されたVBVoccupancyの値を、ブリッジクリップ終了予定点のVBVoccupancy目標値としてエンコーダ60によるブリッジクリップのエンコードのパラメータを設定する。   In step S122, the encoding control unit 202 sets a parameter for encoding the bridge clip by the encoder 60 using the extracted VBVoccupancy value as the VBVoccupancy target value of the bridge clip scheduled end point.

ステップS123において、編集処理制御部192は、フレームバッファ184によりバッファリングされた、下地の符号化ストリームのIN点を含むGOPの最初のフレームからの、エンコーダ60によるエンコードを制御する制御信号を、CPU182のエンコード制御部202に供給する。エンコード制御部202は、編集処理制御部192から供給された制御信号に基づいて、フレームバッファ184によりバッファリングされた、下地の符号化ストリームのIN点を含むGOPの最初のフレームからの、エンコーダ60によるエンコードを制御する。エンコード制御部202は、基本的に、OUT点を含むGOPまでの間においては、エンコーダ60に対して、ブリッジクリップの範囲を延長させてエンコードを実行させることが可能である。   In step S123, the editing process control unit 192 receives a control signal for controlling encoding by the encoder 60 from the first frame of the GOP including the IN point of the background encoded stream, which is buffered by the frame buffer 184. Is supplied to the encoding control unit 202. Based on the control signal supplied from the editing processing control unit 192, the encoding control unit 202 encodes the encoder 60 from the first frame of the GOP including the IN point of the base encoded stream buffered by the frame buffer 184. Controls encoding by. The encoding control unit 202 can basically cause the encoder 60 to perform the encoding by extending the range of the bridge clip until the GOP including the OUT point.

ステップS124において、CPU181は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給されるエンコード結果の取得を開始して、メモリ43に供給して保存させる。   In step S124, the CPU 181 starts obtaining the encoding result supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42, and supplies the encoded result to the memory 43 for storage.

ステップS125において、エンコード制御部202は、エンコード60によるブリッジクリップのエンコードが、VBVoccupancyが連続するように、正しく終了したか否かを判断する。ステップS125において、エンコードが正しく終了されたと判断された場合、処理は、後述するステップS129に戻る。   In step S125, the encoding control unit 202 determines whether or not the encoding of the bridge clip by the encoding 60 has been correctly completed so that VBVoccupancy continues. If it is determined in step S125 that the encoding has been correctly completed, the process returns to step S129 described later.

ステップS125において、エンコードが正しく終了しなかったと判断された場合、ステップS126において、ブリッジクリップ範囲決定部191は、ブリッジクリップの範囲を延長して、再度、ブリッジクリップ終了予定点を設定し、再設定された内容を、編集処理制御部192に供給する。   If it is determined in step S125 that the encoding has not ended correctly, in step S126, the bridge clip range determination unit 191 extends the bridge clip range, sets the bridge clip end scheduled point again, and resets the bridge clip range. The contents are supplied to the edit processing control unit 192.

ステップS127において、CPU182のエンコード制御部202は、エンコーダ183から供給された、エンコードに関するVBVoccupancyの値から、再設定されたブリッジクリップ終了予定点に対応するVBVoccupancyの値を抽出する。   In step S127, the encoding control unit 202 of the CPU 182 extracts the value of VBVoccupancy corresponding to the reset bridge clip scheduled end point from the value of VBVoccupancy related to encoding supplied from the encoder 183.

ステップS128において、編集処理制御部192は、抽出されたVBVoccupancyの値を、ブリッジクリップ終了予定点のVBVoccupancy目標値としてエンコーダ60によるブリッジクリップのエンコードのパラメータを設定して、延長されたブリッジクリップのエンコーダ60によるエンコードを制御する制御信号を、CPU182のエンコード制御部202に供給する。エンコーダ60は、エンコード処理を継続する。ステップS128の処理の終了後、処理は、ステップS125に戻り、それ以降の処理が繰り返される。   In step S128, the editing process control unit 192 sets the parameter of the bridge clip encoding by the encoder 60 as the VBVoccupancy target value of the bridge clip end scheduled point using the extracted VBVoccupancy value, and the extended bridge clip encoder A control signal for controlling encoding by 60 is supplied to the encoding control unit 202 of the CPU 182. The encoder 60 continues the encoding process. After the process of step S128 is completed, the process returns to step S125, and the subsequent processes are repeated.

ステップS125において、エンコードが正しく終了されたと判断された場合、CPU182のエンコード制御部202は、CPU181にエンコードが正しく終了したことを通知するので、ステップS129において、編集処理制御部192は、フレームバッファ184からエンコーダ60へのデータの供給をストップさせるためのコマンドを生成し、CPU182に供給する。CPU182は、例えば、スイッチ/エフェクト58を制御して、フレームバッファ184へのデータの供給をストップさせることなどにより、フレームバッファ184からエンコーダ60へのデータの供給をストップさせる。   If it is determined in step S125 that the encoding has been correctly completed, the encoding control unit 202 of the CPU 182 notifies the CPU 181 that the encoding has been correctly completed. Therefore, in step S129, the editing process control unit 192 displays the frame buffer 184. A command for stopping the supply of data from the encoder to the encoder 60 is generated and supplied to the CPU 182. The CPU 182 stops the supply of data from the frame buffer 184 to the encoder 60, for example, by controlling the switch / effect 58 to stop the supply of data to the frame buffer 184.

ステップS130において、ユーザ入力取得部82は、フレームバッファ184およびエンコーダ60への入力信号を、入力端子61より供給されるベースバンド信号から、デコーダ54から出力される下地の符号化ストリームに対応するベースバンド信号に切替える様に操作入力を受けたか否かを判断する。   In step S 130, the user input acquisition unit 82 converts the input signals to the frame buffer 184 and the encoder 60 from the baseband signal supplied from the input terminal 61 to the base encoded stream output from the decoder 54. It is determined whether or not an operation input has been received so as to switch to a band signal.

ステップS130において、フレームバッファ184およびエンコーダ60への入力信号を切換える操作入力を受けていないと判断された場合、入力信号を切換える操作入力を受けたと判断されるまで、ステップS130の処理が繰り返される。   If it is determined in step S130 that an operation input for switching input signals to the frame buffer 184 and the encoder 60 has not been received, the process of step S130 is repeated until it is determined that an operation input for switching input signals has been received.

ステップS130において、フレームバッファ184およびエンコーダ60への入力信号を切換える操作入力を受けたと判断された場合、ステップS131において、IN点/OUT点決定部83は、編集におけるOUT点を決定し、編集処理制御部192に供給する。編集処理制御部192は、CPU182の#1スイッチ制御部92を制御するための制御信号を生成し、CPU182に供給する。CPU182の#1スイッチ制御部92は、スイッチ/エフェクト58の動作を制御して、編集点において出力するデータを切換えて、フレームバッファ184およびエンコーダ60への入力信号を入力端子61より供給されるベースバンド信号から下地の符号化ストリームに対応するベースバンド信号に切替える。すなわち、編集処理制御部192は、入力端子61より供給されるベースバンド信号と下地の符号化ストリームに対応するベースバンド信号を接続させる。フレームバッファ184では、接続されたベースバンド信号と下地の符号化ストリームに対応するベースバンド信号がバッファリングされる。   If it is determined in step S130 that an operation input for switching input signals to the frame buffer 184 and the encoder 60 has been received, in step S131, the IN point / OUT point determination unit 83 determines an OUT point in editing, and edit processing is performed. It supplies to the control part 192. The editing process control unit 192 generates a control signal for controlling the # 1 switch control unit 92 of the CPU 182 and supplies the control signal to the CPU 182. The # 1 switch control unit 92 of the CPU 182 controls the operation of the switch / effect 58, switches the data to be output at the editing point, and supplies the input signals to the frame buffer 184 and the encoder 60 from the input terminal 61. The band signal is switched to the baseband signal corresponding to the underlying encoded stream. That is, the edit processing control unit 192 connects the baseband signal supplied from the input terminal 61 and the baseband signal corresponding to the base encoded stream. The frame buffer 184 buffers the connected baseband signal and the baseband signal corresponding to the base encoded stream.

ステップS132において、ブリッジクリップ範囲決定部191は、ユーザ入力取得部82から供給されたユーザの操作入力と、パラメータ取得部により取得された各種パラメータ、エンコーダ183によるエンコードの結果得られるベースバンド信号をエンコードしたストリームのGOP位相、並びに、IN点/OUT点決定部83により決定されたOUT点を基に、OUT点を含むブリッジクリップの範囲を決定し、編集処理制御部192に供給する。また、ブリッジクリップ範囲決定部191は、決定されたブリッジクリップの範囲に基づいて、OUT点を含むブリッジクリップに関してエンコーダ60によるエンコードを開始するためのタイミングを設定する。   In step S132, the bridge clip range determination unit 191 encodes the user operation input supplied from the user input acquisition unit 82, the various parameters acquired by the parameter acquisition unit, and the baseband signal obtained as a result of encoding by the encoder 183. Based on the GOP phase of the stream and the OUT point determined by the IN point / OUT point determination unit 83, the range of the bridge clip including the OUT point is determined and supplied to the editing processing control unit 192. Further, the bridge clip range determination unit 191 sets a timing for starting encoding by the encoder 60 with respect to the bridge clip including the OUT point based on the determined bridge clip range.

ステップS133において、編集処理制御部192は、フレームバッファ184によりバッファリングされたOUT点を含むブリッジクリップの、エンコーダ60によるエンコードを制御する制御信号を、CPU182のエンコード制御部202に供給する。エンコード制御部202は、編集処理制御部192から供給された制御信号に基づいて、フレームバッファ184によりバッファリングされたOUT点を含むブリッジクリップの、エンコーダ60によるエンコードを制御する。エンコード制御部202は、基本的に、エンコーダ60に対して、ブリッジクリップの範囲を延長させてエンコードを実行させることが可能である。   In step S <b> 133, the edit processing control unit 192 supplies a control signal for controlling the encoding by the encoder 60 of the bridge clip including the OUT point buffered by the frame buffer 184 to the encoding control unit 202 of the CPU 182. The encoding control unit 202 controls the encoding by the encoder 60 of the bridge clip including the OUT point buffered by the frame buffer 184 based on the control signal supplied from the editing processing control unit 192. The encoding control unit 202 can basically cause the encoder 60 to perform encoding by extending the range of the bridge clip.

ステップS134において、CPU181は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給されるエンコード結果の取得を開始して、メモリ43に供給して保存させる。   In step S134, the CPU 181 starts obtaining the encoding result supplied via the PCI bridge 49, the PCI bus 44, and the north bridge 42, and supplies the encoded result to the memory 43 for storage.

ステップS135において、エンコード制御部202は、エンコード60によるブリッジクリップのエンコードが、VBVoccupancyが連続するように、正しく終了したか否かを判断する。ステップS135において、エンコードが正しく終了しなかったと判断された場合、処理は、ステップS132に戻り、それ以降の処理が繰り返される。   In step S135, the encoding control unit 202 determines whether or not the encoding of the bridge clip by the encoding 60 has been correctly completed so that VBVoccupancy continues. If it is determined in step S135 that the encoding has not ended correctly, the process returns to step S132, and the subsequent processes are repeated.

ステップS135において、エンコードが正しく終了したと判断された場合、ステップS136において、CPU182のエンコード制御部202は、CPU181にエンコードが正しく終了したことを通知するので、ステップS129において、編集処理制御部192は、フレームバッファ184からエンコーダ60へのデータの供給をストップさせるためのコマンドを生成し、CPU182に供給する。CPU182は、スイッチ/エフェクト58を制御して、フレームバッファ184へのデータの供給をストップさせることにより、フレームバッファ184からエンコーダ60へのデータの供給をストップさせる。   If it is determined in step S135 that the encoding has been correctly completed, in step S136, the encoding control unit 202 of the CPU 182 notifies the CPU 181 that the encoding has been correctly completed. Therefore, in step S129, the editing process control unit 192 Then, a command for stopping the supply of data from the frame buffer 184 to the encoder 60 is generated and supplied to the CPU 182. The CPU 182 stops the supply of data from the frame buffer 184 to the encoder 60 by controlling the switch / effect 58 to stop the supply of data to the frame buffer 184.

ステップS137において、CPU181は、PCIブリッジ49、PCIバス44、および、ノースブリッジ42を介して供給され、メモリ43に保存されている編集された部分のエンコード結果、および、ブリッジクリップとブリッジクリップとの間のベースバンド信号に対応するエンコーダ183によりエンコードされたストリーム、並びに、HDD46に保存されているIN点を含むブリッジクリップより前の下地ストリーム、および、OUT点を含むブリッジクリップより後ろの下地ストリームを接続して、編集後のストリームを生成し、処理が終了される。   In step S137, the CPU 181 supplies the encoded result of the edited portion supplied from the PCI bridge 49, the PCI bus 44, and the north bridge 42 and stored in the memory 43, and the bridge clip and the bridge clip. A stream encoded by the encoder 183 corresponding to the baseband signal between the base stream, a base stream before the bridge clip including the IN point stored in the HDD 46, and a base stream after the bridge clip including the OUT point. Connect to generate an edited stream, and the process ends.

このような処理により、編集素材の映像をオペレータがモニタしながら編集点を決定し、従来よりも早く編集結果を得ることができるとともに、編集素材として供給されるベースバンド信号を並行してエンコードし、記憶することができるので、編集終了後に編集点を変更する処理を、記憶された、ベースバンド信号に対応する符号化ストリームを用いて実行することができる。また、このとき、エンコーダ60とエンコーダ183とで、IN点とOUT点との間の同一のベースバンド信号のエンコード処理を重複して行うことなく、また、編集後にそれぞれの符号化ストリームを接続したときに、VBVoccupancyの連続性を保障することが可能となる。   Through this process, the operator can determine the editing point while monitoring the video of the editing material, obtain the editing result faster than before, and encode the baseband signal supplied as editing material in parallel. Therefore, the process of changing the editing point after the editing is completed can be executed using the stored encoded stream corresponding to the baseband signal. Also, at this time, the encoder 60 and the encoder 183 do not perform the same baseband signal encoding process between the IN point and the OUT point, and connect the respective encoded streams after editing. Sometimes it is possible to guarantee the continuity of VBVoccupancy.

なお、図47乃至図50のフローチャートを用いて説明した、編集装置171が実行する編集処理3では、ステップS125の処理により、IN点を含むブリッジクリップのエンコード処理が正しく終了されたと判断される前にOUT点が指令された場合の処理についての説明を省略しているが、そのような場合は、図45を用いて説明したようにして、エンコーダ60によるエンコード処理の制御が実行される。   In the editing process 3 executed by the editing device 171 described with reference to the flowcharts of FIGS. 47 to 50, it is determined that the encoding process of the bridge clip including the IN point has been correctly completed by the process of step S125. In this case, the encoding process is controlled by the encoder 60 as described with reference to FIG. 45.

また、ブリッジクリップ終了点におけるVBVoccupancyが、再エンコードを実行しない部分と再エンコードを実行する部分とで連続するまで、同一の範囲でエンコードを繰り返す2-path法を用いることにより、VBVoccupancyの連続性を保障するようにしてもよい。   In addition, the VBVoccupancy at the end point of the bridge clip uses the 2-path method that repeats encoding in the same range until the part where re-encoding is not performed and the part where re-encoding is performed continue, thereby improving the continuity of VB Voccupancy. You may make it guarantee.

なお、編集装置171においては、エンコード処理が重複しないように、IN点とOUT点の間の編集後のストリームのうちの一部に、エンコーダ183により生成されたストリームを用いることができるようになされているため、フレームバッファ184のバッファ容量を、2N+2+a+bフレーム以上とする必要がある。これに対して、例えば、エンコーダ183において編集処理とは独立してベースバンド信号のエンコード処理を実行すれば、IN点とOUT点の間の上書き部分のエンコード処理をどちらのエンコーダが行おうとも、編集終了後に編集点を変更する処理を、記憶された、ベースバンド信号に対応する符号化ストリームを用いて実行することができるという効果を奏することができる。例えば、IN点とOUT点の間の上書き部分のエンコード処理を、第1の実施の形態と同様に、エンコーダ60も行うようにする場合、フレームバッファ184のバッファ容量は、第1の実施の形態と同様であっても良い。   Note that the editing apparatus 171 can use the stream generated by the encoder 183 as a part of the edited stream between the IN point and the OUT point so that the encoding process does not overlap. Therefore, the buffer capacity of the frame buffer 184 needs to be 2N + 2 + a + b frames or more. On the other hand, for example, if the encoder 183 performs the baseband signal encoding process independently of the editing process, which encoder performs the encoding process of the overwrite portion between the IN point and the OUT point, There is an effect that the process of changing the editing point after the editing is completed can be executed using the stored encoded stream corresponding to the baseband signal. For example, when the encoding process of the overwrite portion between the IN point and the OUT point is also performed by the encoder 60 as in the first embodiment, the buffer capacity of the frame buffer 184 is the same as that of the first embodiment. It may be the same.

上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウェアにより実行させることもできる。この場合、上述した処理は、図51に示されるようなパーソナルコンピュータ500により実行される。   The series of processes described above can be executed by hardware or can be executed by software. In this case, the processing described above is executed by a personal computer 500 as shown in FIG.

図51において、CPU(Central Processing Unit)501は、ROM(Read Only Memory)502に記憶されているプログラム、または、記憶部508からRAM(Random Access Memory)503にロードされたプログラムに従って各種の処理を実行する。RAM503にはまた、CPU501が各種の処理を実行する上において必要なデータなどが適宜記憶される。   In FIG. 51, a CPU (Central Processing Unit) 501 performs various processes according to a program stored in a ROM (Read Only Memory) 502 or a program loaded from a storage unit 508 to a RAM (Random Access Memory) 503. Execute. The RAM 503 also appropriately stores data necessary for the CPU 501 to execute various processes.

CPU501、ROM502、およびRAM503は、内部バス504を介して相互に接続されている。この内部バス504にはまた、入出力インターフェース505も接続されている。   The CPU 501, ROM 502, and RAM 503 are connected to each other via an internal bus 504. An input / output interface 505 is also connected to the internal bus 504.

入出力インターフェース505には、キーボード、マウスなどよりなる入力部506、CRT,LCDなどよりなるディスプレイ、スピーカなどよりなる出力部507、ハードディスクなどより構成される記憶部508、並びに、モデム、ターミナルアダプタなどより構成される通信部509が接続されている。通信部509は、電話回線やCATVを含む各種のネットワークを介しての通信処理を行う。   The input / output interface 505 includes an input unit 506 including a keyboard and a mouse, a display including CRT and LCD, an output unit 507 including a speaker, a storage unit 508 including a hard disk, a modem, a terminal adapter, and the like. A communicator 509 is connected. A communication unit 509 performs communication processing via various networks including a telephone line and CATV.

入出力インターフェース505にはまた、必要に応じてドライブ510が接続され、磁気ディスク、光ディスク、光磁気ディスク、あるいは半導体メモリなどによりなるリムーバブルメディア521が適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて記憶部508にインストールされる。   A drive 510 is also connected to the input / output interface 505 as necessary, and a removable medium 521 composed of a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is appropriately mounted, and a computer program read from them is loaded. It is installed in the storage unit 508 as necessary.

また、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   Further, in the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but may be performed in parallel or It also includes processes that are executed individually.

なお、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。   In the present specification, the term “system” represents the entire apparatus constituted by a plurality of apparatuses.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

アセンブル編集について説明するための図である。It is a figure for demonstrating assembly edit. インサート編集について説明するための図である。It is a figure for demonstrating insert edit. ベースバンド入力を独立にエンコードして第2の符号化ストリームを生成し、編集する場合の処理について説明するための図である。It is a figure for demonstrating the process in the case of encoding a baseband input independently and producing | generating and editing a 2nd encoding stream. 第1の例の編集装置の構成について説明するためのブロック図である。It is a block diagram for demonstrating the structure of the editing apparatus of a 1st example. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. OUT点を含むGOPのフレーム数の調整について説明するための図である。It is a figure for demonstrating adjustment of the number of frames of GOP containing an OUT point. OUT点を含むGOPのフレーム数の調整について説明するための図である。It is a figure for demonstrating adjustment of the number of frames of GOP containing an OUT point. OUT点を含むGOPのフレーム数の調整について説明するための図である。It is a figure for demonstrating adjustment of the number of frames of GOP containing an OUT point. OUT点を含むGOPのフレーム数の調整について説明するための図である。It is a figure for demonstrating adjustment of the number of frames of GOP containing an OUT point. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. フレームバッファによるバッファリングによって発生するエンコーダへの入力信号の遅延時間について説明するための図である。It is a figure for demonstrating the delay time of the input signal to the encoder generate | occur | produced by the buffering by a frame buffer. 第1の例の編集装置のCPUが有する機能を示す機能ブロック図である。It is a functional block diagram which shows the function which CPU of the editing apparatus of a 1st example has. 編集処理1について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 1; 編集処理1について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 1; 第2の例の編集装置の構成について説明するためのブロック図である。It is a block diagram for demonstrating the structure of the editing apparatus of a 2nd example. 第2の例の編集装置のCPUが有する機能を示す機能ブロック図である。It is a functional block diagram which shows the function which CPU of the editing apparatus of a 2nd example has. エンコード結果の選択について説明するための図である。It is a figure for demonstrating selection of the encoding result. VBVoccupancyの連続性について説明するための図である。It is a figure for demonstrating the continuity of VBVoccupancy. エンコードの終了位置について説明するための図である。It is a figure for demonstrating the end position of encoding. ベースバンド画像データをエンコードする場合のGOP位相について説明するための図である。It is a figure for demonstrating the GOP phase in the case of encoding baseband image data. OUT点によって決まる再エンコード範囲の終了点と、VBVoccupancyの合わせ込みについて説明するための図である。It is a figure for demonstrating the end point of the re-encoding range decided by OUT point, and the fitting of VBVoccupancy. OUT点によって決まる再エンコード範囲の終了点と、VBVoccupancyの合わせ込みについて説明するための図である。It is a figure for demonstrating the end point of the re-encoding range decided by OUT point, and the fitting of VBVoccupancy. OUT点によって決まる再エンコード範囲の終了点と、VBVoccupancyの合わせ込みについて説明するための図である。It is a figure for demonstrating the end point of the re-encoding range decided by OUT point, and the fitting of VBVoccupancy. VBVoccupancyの推移を示す図である。It is a figure which shows transition of VBVoccupancy. 管理データの例について説明するための図である。It is a figure for demonstrating the example of management data. 編集処理2について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 2; 編集処理2について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 2; 第3の例の編集装置の構成について説明するためのブロック図である。It is a block diagram for demonstrating the structure of the editing apparatus of the 3rd example. 編集処理におけるブリッジクリップの範囲について説明するための図である。It is a figure for demonstrating the range of the bridge clip in an edit process. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のフレームバッファに求められるバッファ容量について説明するための図である。It is a figure for demonstrating the buffer capacity calculated | required by the frame buffer of FIG. 図32のCPUが有する機能について説明するための機能ブロック図である。It is a functional block diagram for demonstrating the function which CPU of FIG. 32 has. 編集処理3について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 3; 編集処理3について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 3; 編集処理3について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 3; 編集処理3について説明するためのフローチャートである。10 is a flowchart for explaining editing processing 3; パーソナルコンピュータの構成を示すブロック図である。It is a block diagram which shows the structure of a personal computer.

符号の説明Explanation of symbols

31 編集装置, 41 CPU, 43 メモリ, 46 HDD, 47 ドライブ, 48 記録メディア, 52 CPU, 54乃至56 デコーダ, 58 スイッチ/エフェクト, 59 フレームバッファ, 60 エンコーダ, 81 パラメータ取得部, 82 ユーザ入力取得部, 83 IN点/OUT点決定部, 84 再エンコード範囲決定部, 85 編集処理制御部, 91 デコード制御部, 92 #1スイッチ制御部, 93 エンコード制御部, 94 #2スイッチ制御部, 121 CPU, 122 CPU, 141 IN点/OUT点決定部, 142 再エンコード範囲決定部, 143 編集処理制御部, 144 編集後ストリーム選択部,181,182 CPU, 183 エンコーダ, 184 フレームバッファ, 191 ブリッジクリップ範囲決定部, 192 編集処理制御部, 201 ベースバンド信号のエンコード制御部, 202 エンコード制御部   31 Editing Device, 41 CPU, 43 Memory, 46 HDD, 47 Drive, 48 Recording Media, 52 CPU, 54 to 56 Decoder, 58 Switch / Effect, 59 Frame Buffer, 60 Encoder, 81 Parameter Acquisition Unit, 82 User Input Acquisition Unit , 83 IN point / OUT point determining unit, 84 re-encoding range determining unit, 85 editing process control unit, 91 decoding control unit, 92 # 1 switch control unit, 93 encoding control unit, 94 # 2 switch control unit, 121 CPU, 122 CPU, 141 IN point / OUT point determination unit, 142 Re-encode range determination unit, 143 Edit processing control unit, 144 Edited stream selection unit, 181, 182 CPU, 183 Encoder, 184 Frame buffer, 191 Bridge clip range determination unit 192 editing control unit, 201 the encoding control unit of the baseband signal, 202 the encoding control unit

Claims (21)

編集処理を実行する情報処理装置において、
ベースバンド画像データを所定の符号化範囲ごとに符号化する符号化手段と、
第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段に供給されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングするスイッチング手段と、
前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記符号化手段により符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する編集データ制御手段と
を備える情報処理装置。
In an information processing apparatus that executes editing processing,
Encoding means for encoding baseband image data for each predetermined encoding range;
Based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal, baseband image data supplied to the encoding means is converted from the first video signal and the first video signal. Switching means for switching between the two video signals;
Of the first video signal encoded by the encoding means, the first video signal is encoded based on an operation input for instructing an edit point by a user referring to the first video signal and the second video signal. After editing, the encoded data in the encoding range that does not include the editing point that is switched from the video signal to the second video signal and that is before the editing point is not selected as the encoded stream after editing. An information processing apparatus comprising: edit data control means for controlling generation of an encoded stream of
前記第1の映像信号は、符号化ストリームが復号されて得られるベースバンドの映像信号であり、前記第2の映像信号は、ベースバンドの映像信号として入力された信号である
請求項1に記載の情報処理装置。
The first video signal is a baseband video signal obtained by decoding an encoded stream, and the second video signal is a signal input as a baseband video signal. Information processing device.
前記符号化手段による符号化処理を制御する符号化制御手段を更に備え、
前記符号化制御手段は、前記第1の映像信号に対応する符号化ストリームの再符号化の開始箇所と終了箇所において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御する
請求項2に記載の情報処理装置。
An encoding control means for controlling the encoding process by the encoding means;
The encoding control means includes a re-encoded virtual buffer occupation amount and a non-re-encoded portion at a re-encoding start location and an end location of the encoded stream corresponding to the first video signal. The information processing apparatus according to claim 2, wherein encoding of the first video signal is controlled so that a virtual buffer occupation amount of the first video signal has continuity.
前記符号化制御手段は、前記第1の映像信号のうち、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御する
請求項3に記載の情報処理装置。
The encoding control means includes the encoding range subsequent to the encoding range including the edit point that is switched from the second video signal to the first video signal in the first video signal. The encoding of the first video signal is controlled so that the virtual buffer occupation amount of the re-encoded portion and the virtual buffer occupation amount of the non-re-encoded portion have continuity. Information processing device.
前記符号化手段による符号化処理の範囲を決定する符号化範囲決定手段を更に備え、
前記符号化範囲決定手段は、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記符号化手段による前記第1の映像信号の符号化を実行可能であるように、前記符号化手段による前記第1の映像信号の再符号化の終了位置を決定する
請求項4に記載の情報処理装置。
An encoding range determining unit that determines a range of encoding processing by the encoding unit;
The encoding range determining means is configured to determine a re-encoded portion after the encoding range following the encoding range including the edit point that is switched from the second video signal to the first video signal. The encoding so that the encoding means can execute the encoding of the first video signal so that the virtual buffer occupancy and the virtual buffer occupancy of the part that has not been re-encoded have continuity. The information processing apparatus according to claim 4, wherein an end position of re-encoding of the first video signal by means is determined.
前記第1の映像信号に対応する符号化ストリームには、フレームごとのゼロスタッフに関する情報が付随されている
請求項2に記載の情報処理装置。
The information processing apparatus according to claim 2, wherein the encoded stream corresponding to the first video signal is accompanied by information on zero stuff for each frame.
前記符号化制御手段は、前記第1の映像信号に対応する符号化ストリームに付随されている前記ゼロスタッフに関する情報に基づいて、前記第1の映像信号のうち、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲の次の前記符号化範囲以降において、仮想バッファ占有量におけるゼロスタッフ分の調整により、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するように、前記第1の映像信号の符号化を制御する
請求項3に記載の情報処理装置。
The encoding control means, based on information about the zero stuff attached to an encoded stream corresponding to the first video signal, from the second video signal out of the first video signal. The virtual buffer occupancy of the re-encoded part by adjusting the zero stuff in the virtual buffer occupancy after the encoding range next to the encoding range including the edit point switched to the first video signal The information processing apparatus according to claim 3, wherein encoding of the first video signal is controlled so that a virtual buffer occupation amount of a portion that is not re-encoded has continuity.
編集処理を実行する情報処理装置の情報処理方法において、
ベースバンド画像データを所定の符号化範囲ごとに符号化し、
第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングし、
前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する
ステップを含む情報処理方法。
In an information processing method of an information processing apparatus that executes editing processing,
Encode baseband image data for each predetermined encoding range,
Based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal, the baseband image data to be encoded is converted into the first video signal and the second video signal. Switching with
Based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal, the first video signal from the first video signal among the encoded first video signals The encoded stream after editing is not selected so that the encoded data in the encoding range before the editing point that does not include the editing point switched to the second video signal is not selected as the encoded stream after editing. An information processing method including a step of controlling generation.
編集処理の制御をコンピュータに実行させるためのプログラムであって、
ベースバンド画像データを所定の符号化範囲ごとに符号化する処理を制御し、
第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号と前記第2の映像信号とでスイッチングする処理を制御し、
前記第1の映像信号および前記第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化された前記第1の映像信号のうち、前記第1の映像信号から前記第2の映像信号に切換えられる前記編集点を含まない、前記編集点よりも前の前記符号化範囲の符号化データを編集後の符号化ストリームとして選択しないように、編集後の符号化ストリームの生成を制御する
ステップを含む処理をコンピュータに実行させるプログラム。
A program for causing a computer to control editing processing,
Control the process of encoding the baseband image data for each predetermined encoding range,
Based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal, the baseband image data to be encoded is converted into the first video signal and the second video signal. And control the switching process,
Based on an operation input for instructing an editing point by a user who refers to the first video signal and the second video signal, the first video signal from the first video signal among the encoded first video signals The encoded stream after editing is not selected so that the encoded data in the encoding range before the editing point that does not include the editing point switched to the second video signal is not selected as the encoded stream after editing. A program that causes a computer to execute processing including a step of controlling generation.
請求項9に記載のプログラムが記録されている記録媒体。   A recording medium on which the program according to claim 9 is recorded. 編集処理を実行する情報処理装置において、
ベースバンド画像データを所定の符号化範囲ごとに符号化する第1の符号化手段と、
第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、前記第1の符号化手段に供給されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングするスイッチング手段と、
前記スイッチング手段によりスイッチングされて前記第1の符号化手段に供給されるベースバンド画像データを所定時間遅延させる遅延手段と
を備える情報処理装置。
In an information processing apparatus that executes editing processing,
First encoding means for encoding baseband image data for each predetermined encoding range;
Based on an operation input for instructing an edit point by a user who refers to the first video signal and the second video signal, baseband image data supplied to the first encoding means is converted into the first video signal. Switching means for switching between the second video signal and the second video signal;
An information processing apparatus comprising: delay means for delaying baseband image data switched by the switching means and supplied to the first encoding means for a predetermined time.
前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とし、
前記遅延手段は、1コマンド遅延分とパラメータ演算のために必要な時間に対応するフレーム数をαとしたとき、前記第1の符号化手段に供給されるベースバンド画像データをN+αフレームの処理時間だけ遅延させる
請求項11に記載の情報処理装置。
The upper limit value of the number of frames included in the predetermined encoding range is N (N is a positive integer),
The delay means uses N + α frame processing time for baseband image data supplied to the first encoding means, where α is the number of frames corresponding to one command delay and the time required for parameter calculation. The information processing apparatus according to claim 11, wherein the information processing apparatus is delayed by an amount of time.
前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とし、
前記遅延手段は、1コマンド遅延分とパラメータ演算のために必要な時間に対応するフレーム数をβとしたとき、前記第1の符号化手段に供給されるベースバンド画像データを(N−1)+βフレームの処理時間だけ遅延させる
請求項11に記載の情報処理装置。
The upper limit value of the number of frames included in the predetermined encoding range is N (N is a positive integer),
The delay means sets the baseband image data supplied to the first encoding means as (N−1), where β is the number of frames corresponding to one command delay and the time required for parameter calculation. The information processing apparatus according to claim 11, wherein the information processing apparatus is delayed by a processing time of + β frame.
前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とし、
前記所定の符号化範囲に含まれるフレーム数の下限値をN´(N´は、正の整数)とし、
前記遅延手段は、1コマンド遅延分とパラメータ演算のために必要な時間に対応するフレーム数をβとしたとき、前記第1の符号化手段に供給されるベースバンド画像データを(N+N´−1)+βフレームの処理時間だけ遅延させる
請求項11に記載の情報処理装置。
The upper limit value of the number of frames included in the predetermined encoding range is N (N is a positive integer),
The lower limit value of the number of frames included in the predetermined encoding range is N ′ (N ′ is a positive integer),
The delay means sets the baseband image data supplied to the first encoding means as (N + N′−1), where β is the number of frames corresponding to the delay for one command and the time required for parameter calculation. The information processing apparatus according to claim 11, wherein the information processing apparatus is delayed by a processing time of + β frame.
前記第1の符号化手段は、前記第1の映像信号に対応する符号化ストリームの再符号化の開始箇所と終了箇所において、再符号化された部分の仮想バッファ占有量と再符号化されていない部分の仮想バッファ占有量が連続性を有するまで、前記第2の映像信号から前記第1の映像信号に切換えられる前記編集点を含む前記符号化範囲およびそれに続く所定フレーム数の前記第1の映像信号の符号化を繰り返し、
前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とし、
前記所定の符号化範囲に続いて前記第1の符号化手段により符号化される前記所定フレームの数をM(Mは、正の整数)とし、
前記遅延手段は、前記第1の符号化手段に供給されるベースバンド画像データを(N+M+1)フレームの処理時間だけ遅延させる
請求項11に記載の情報処理装置。
The first encoding means is re-encoded with the virtual buffer occupation amount of the re-encoded portion at the re-encoding start location and the end location of the encoded stream corresponding to the first video signal. Until the virtual buffer occupancy of a part that is not present has continuity, the encoding range including the editing point that is switched from the second video signal to the first video signal and the first number of frames following the encoding range. Repeat the encoding of the video signal,
The upper limit value of the number of frames included in the predetermined encoding range is N (N is a positive integer),
The number of the predetermined frames encoded by the first encoding means following the predetermined encoding range is M (M is a positive integer),
The information processing apparatus according to claim 11, wherein the delay unit delays baseband image data supplied to the first encoding unit by a processing time of (N + M + 1) frames.
前記第1の符号化手段に供給される前記第1の映像信号に対応するベースバンド画像データを符号化する第2の符号化手段を更に備える
請求項11に記載の情報処理装置。
The information processing apparatus according to claim 11, further comprising a second encoding unit that encodes baseband image data corresponding to the first video signal supplied to the first encoding unit.
前記第1の符号化手段による符号化処理を制御する制御手段を更に備え、
前記第1の符号化手段は、前記制御手段による制御に基づいて、前記編集点を含む所定の区間の符号化処理を行い、
前記第2の符号化手段は、前記第1の符号化手段により符号化される前記所定の区間の符号化終了予定点に対応する終了予定点対応フレームの符号化の結果得られる仮想バッファ占有量、および、符号化のGOP位相を前記制御手段に通知し、
前記制御手段は、前記第2の符号化手段による通知に基づいて、前記第2の符号化手段による符号化のGOP位相に合致するように、かつ、前記所定の区間の符号化終了予定点の仮想バッファ占有量の目標値が、前記第2の符号化手段による前記終了予定点対応フレームの符号化の結果得られる仮想バッファ占有量となるように、前記第1の符号化手段による符号化処理を制御する
請求項16に記載の情報処理装置。
A control means for controlling the encoding process by the first encoding means;
The first encoding unit performs an encoding process of a predetermined section including the edit point based on control by the control unit,
The second encoding unit is a virtual buffer occupation amount obtained as a result of encoding a frame corresponding to a scheduled end point corresponding to a scheduled end point of encoding of the predetermined section encoded by the first encoding unit. And informing the control means of the GOP phase of encoding,
The control means matches the GOP phase of the encoding by the second encoding means based on the notification from the second encoding means, and sets the encoding end scheduled point of the predetermined section. Encoding process by the first encoding unit so that a target value of the virtual buffer occupation amount becomes a virtual buffer occupation amount obtained as a result of encoding the frame corresponding to the scheduled end point by the second encoding unit The information processing apparatus according to claim 16.
前記所定の符号化範囲に含まれるフレーム数の上限値をN(Nは、正の整数)とし、
前記制御手段が、前記第2の符号化手段による通知に基づいて、前記第1の符号化手段による符号化処理のパラメータを演算するために必要な時間と1コマンド遅延分との和に対応するフレーム数をa(aは、正の整数)とし、
前記第2の符号化手段に前記終了予定点対応フレームが入力されてから、前記制御手段が前記第2の符号化手段による前記通知を取得するまでにかかる時間に対応するフレーム数をb(bは、正の整数)とし、
前記遅延手段は、前記第1の符号化手段に供給されるベースバンド画像データを(2N+2+a+b)フレームの処理時間だけ遅延させる
請求項17に記載の情報処理装置。
The upper limit value of the number of frames included in the predetermined encoding range is N (N is a positive integer),
Based on the notification from the second encoding means, the control means corresponds to the sum of the time required to calculate the parameters of the encoding process by the first encoding means and one command delay Let the number of frames be a (a is a positive integer)
The number of frames corresponding to the time taken from when the frame corresponding to the scheduled end point is input to the second encoding unit until the control unit acquires the notification by the second encoding unit is expressed as b (b Is a positive integer)
The information processing apparatus according to claim 17, wherein the delay unit delays baseband image data supplied to the first encoding unit by a processing time of (2N + 2 + a + b) frames.
編集処理を実行する情報処理装置の情報処理方法において、
第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングし、
スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延したのち、ベースバンド画像データを所定の符号化範囲ごとに符号化する
ステップを含む情報処理方法。
In an information processing method of an information processing apparatus that executes editing processing,
Based on an operation input for instructing an edit point by a user who refers to the first video signal and the second video signal, baseband image data to be encoded is converted into the first video signal and the second video. Switching with the signal,
An information processing method including a step of encoding the baseband image data for each predetermined encoding range after delaying the switched baseband image data for a predetermined time before encoding.
編集処理の制御をコンピュータに実行させるためのプログラムであって、
第1の映像信号および第2の映像信号を参照するユーザによる編集点を指令する操作入力に基づいて、符号化されるベースバンド画像データを、前記第1の映像信号にと前記第2の映像信号とでスイッチングするように符号化部へのデータの供給を制御し、
スイッチングされた前記ベースバンド画像データを符号化の前に所定時間遅延したのち、ベースバンド画像データが所定の符号化範囲ごとに符号化されるように、符号化処理を制御する
ステップを含む処理をコンピュータに実行させるプログラム。
A program for causing a computer to control editing processing,
Based on an operation input for instructing an edit point by a user who refers to the first video signal and the second video signal, baseband image data to be encoded is converted into the first video signal and the second video. Control the supply of data to the encoder so that it switches with the signal,
A process including a step of controlling an encoding process so that the baseband image data is encoded for each predetermined encoding range after the switched baseband image data is delayed for a predetermined time before encoding. A program to be executed by a computer.
請求項20に記載のプログラムが記録されている記録媒体。   A recording medium on which the program according to claim 20 is recorded.
JP2007250670A 2007-04-10 2007-09-27 Information processing apparatus, information processing method, recording medium, and program Withdrawn JP2008283663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007250670A JP2008283663A (en) 2007-04-10 2007-09-27 Information processing apparatus, information processing method, recording medium, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007102402 2007-04-10
JP2007250670A JP2008283663A (en) 2007-04-10 2007-09-27 Information processing apparatus, information processing method, recording medium, and program

Publications (1)

Publication Number Publication Date
JP2008283663A true JP2008283663A (en) 2008-11-20

Family

ID=40144068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007250670A Withdrawn JP2008283663A (en) 2007-04-10 2007-09-27 Information processing apparatus, information processing method, recording medium, and program

Country Status (1)

Country Link
JP (1) JP2008283663A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2280396A3 (en) * 2009-07-23 2015-01-21 Sony Corporation Recording Playback Apparatus, Recording-Playback Control Method, and Editing System
WO2024008011A1 (en) * 2022-07-05 2024-01-11 Beijing Bytedance Network Technology Co., Ltd. Method, apparatus, and medium for video processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2280396A3 (en) * 2009-07-23 2015-01-21 Sony Corporation Recording Playback Apparatus, Recording-Playback Control Method, and Editing System
WO2024008011A1 (en) * 2022-07-05 2024-01-11 Beijing Bytedance Network Technology Co., Ltd. Method, apparatus, and medium for video processing

Similar Documents

Publication Publication Date Title
JP4221676B2 (en) Information processing apparatus, information processing method, recording medium, and program
JP3361009B2 (en) Video encoding method and system for performing encoding using velocity quantization model
US8817889B2 (en) Method, apparatus and system for use in multimedia signal encoding
KR100834322B1 (en) Image encoding apparatus, picture encoding method and image editing apparatus
EP0824824A1 (en) System for altering the encoded video frames
JP4684319B2 (en) Data recording method, data editing method, data decoding method, apparatus therefor, and recording medium
KR19990030279A (en) Signal recording / reproducing apparatus and method
JP2007300593A (en) Information processing apparatus and information processing method, recording medium, and program
JPH11196376A (en) Image compression stream editing device and method therefor
JPH1188874A (en) Method for inserting editable point in encoding device and the encoding device
US20070041441A1 (en) Information processing apparatus and method, recording medium, and program
JPH11196375A (en) Encode method and encoder
JP2008283663A (en) Information processing apparatus, information processing method, recording medium, and program
US20070110395A1 (en) Apparatus and method of content recording/playback
US8630533B2 (en) Editing apparatus, editing method and program
WO2001019082A9 (en) Converting non-temporal based compressed image data to temporal based compressed image data
JP2008262609A (en) Information processor and information processing method, program storing medium, and program
JP2011029844A (en) Information processor, information processing method, and program
JP4322216B2 (en) Data recording method
JP2005252949A (en) Editing device, method, and program
JP2010252394A (en) Image coding apparatus, image coding method, and image editing apparatus
JP2008066846A (en) Information processor and information processing method, recording medium, and program
JP2008066852A (en) Information processor and information processing method, recording medium, and program
JP2008294527A (en) Image recording device and method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20101207