JPH08205076A - Moving image editing apparatus and moving image editing method - Google Patents
Moving image editing apparatus and moving image editing methodInfo
- Publication number
- JPH08205076A JPH08205076A JP738995A JP738995A JPH08205076A JP H08205076 A JPH08205076 A JP H08205076A JP 738995 A JP738995 A JP 738995A JP 738995 A JP738995 A JP 738995A JP H08205076 A JPH08205076 A JP H08205076A
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- image data
- encoding
- editing
- frame
- 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
Links
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【目的】 フレーム間符号化された動画像劣化を最小限
に押さえたうえ、動画像編集を行う。
【構成】 フレーム間符号を含む符号化方法により符号
化され記憶媒体に記憶された動画像データを復号し、前
記復号された動画像データを表示し、前記表示手段に表
示された動画像データに編集指示をあたえ、前記記録媒
体に記憶された動画像データのうち前記指示手段により
指示された動画像データを復号するうえで最小数のフレ
ーム画像をフレーム内符号化する。
(57) [Summary] [Purpose] To perform moving image editing while minimizing the deterioration of moving images encoded by interframe coding. A moving image data encoded by an encoding method including an interframe code and stored in a storage medium is decoded, the decoded moving image data is displayed, and the moving image data displayed on the display means is displayed. When the editing instruction is given, the minimum number of frame images is intraframe-encoded in order to decode the moving image data instructed by the instructing means among the moving image data stored in the recording medium.
Description
【0001】[0001]
【産業上の利用分野】本発明は動画像編集装置及び動画
像編集方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving image editing apparatus and a moving image editing method.
【0002】[0002]
【従来の技術】最近、ディジタル動画像をフレーム間相
関を利用して高圧縮率で符号化する符号化方式が国際標
準化されている。その代表的なものがMPEGである。
MPEGはフレーム間相関を最大限利用し、符号化する
フレームの前後のフレームを参照し動き補償を行った後
フレーム間差分符号を行っている。図5はMPEG符号
化の例を示す。MPEGの符号化フレームタイプにはI
フレーム、Pフレーム、Bフレームが図のように符号化
されている。Iフレームはフレーム内符号化で独立した
フレームであり15フレームに1フレーム挿入される。
Pフレームは前方動き予測フレームで1つ前のPフレー
ムまたはIフレームを参照して動き補償を行うフレーム
間符号である。Bフレームはその前後のPフレームまた
はIフレームの両方向から予測して動き補償するフレー
ム間予測符号である。動き補償の単位は図6のようなマ
クロブロック(MB)と呼ばれるブロック単位に行われ
る。MBは、動画像をY(輝度)Cb、Cr(色差)成
分の4:1:1のサンプル比にディジタル化した後Y1
6×16画素、Cb8×8画素、Cr8×8画素をブロ
ックとする単位である。2. Description of the Related Art Recently, an encoding method for encoding a digital moving image at a high compression rate by utilizing inter-frame correlation has been internationally standardized. The representative one is MPEG.
MPEG makes maximum use of inter-frame correlation, refers to frames before and after the frame to be encoded, performs motion compensation, and then performs inter-frame differential encoding. FIG. 5 shows an example of MPEG encoding. I is the encoding frame type of MPEG.
Frames, P frames, and B frames are coded as shown. The I frame is an independent frame by intra-frame coding, and one frame is inserted into 15 frames.
The P frame is an interframe code that performs motion compensation by referring to the preceding P frame or I frame in the forward motion prediction frame. The B frame is an inter-frame prediction code for motion compensation by predicting from both directions of the P frame and the I frame before and after the B frame. The unit of motion compensation is performed in block units called macroblocks (MB) as shown in FIG. MB is Y1 after digitizing a moving image into a sample ratio of 4: 1: 1 of Y (luminance) Cb and Cr (color difference) components.
The unit is a block of 6 × 16 pixels, Cb8 × 8 pixels, and Cr8 × 8 pixels.
【0003】[0003]
【発明が解決しようとする課題】動き補償はBフレーム
及びPフレームで行われるが、マクロブロック単位に相
関の強いブロックをサーチ(ベクトルサーチ)しなけれ
ばならないため、符号化部の処理が復号化部に比べて複
雑となる欠点がある。特に符号化をソフトウエアのみで
実行しようとするとリアルタイムで行うのは困難であ
る。そこで復号のみソフトウエアで行っているのが実状
である。また符号化部をハードウェア化する場合、回路
規模が膨大となる欠点があった。Motion compensation is performed in B frames and P frames, but since a block having a strong correlation must be searched (vector search) in macroblock units, the processing of the coding unit performs decoding. There is a drawback that it is more complicated than a part. In particular, it is difficult to perform the encoding in real time when the encoding is executed only by software. Therefore, the actual situation is that only decryption is performed by software. Moreover, when the encoding unit is implemented by hardware, there is a drawback that the circuit scale becomes enormous.
【0004】又、上述の様にフレーム相間を利用した符
号化は編集処理を行う上でも問題がある。フレーム間差
分用いた符号化では、例えば図5のの位置で動画像を
2つのシーケンスに分けようとすると、前のシーケンス
では最後のフレームが復号できなくなり、後のシーケン
スでは次のIフレームまで復号できない欠点があった。Further, as described above, the coding utilizing the inter-frame phase has a problem in performing the editing process. In the encoding using the inter-frame difference, for example, if the moving image is divided into two sequences at the position shown in FIG. 5, the last frame cannot be decoded in the previous sequence, and the next I frame is decoded in the later sequence. There was a flaw that I could not do.
【0005】上述の問題を解決すべくフレーム間符号化
を用いることなくフレーム内符号方式のみを利用してい
る動画像処理装置もある。たとえばカラー静止画像の符
号化であるJPEG方式を動画像の各フレーム独立に応
用したモーションJPEGがある。モーションJPEG
の場合、符号化もフレーム内符号化であるためMPEG
ほど複雑でなく、フレーム編集も自由にできるがフレー
ム間相関を使っていないため圧縮効率がフレーム間符号
よりかなり悪い欠点がある。In order to solve the above-mentioned problem, there is a moving image processing apparatus which uses only the intraframe coding method without using the interframe coding. For example, there is a motion JPEG in which a JPEG method for encoding a color still image is independently applied to each frame of a moving image. Motion JPEG
In the case of, MPEG is also used because the encoding is intraframe encoding.
It is not so complicated and frame editing can be done freely, but since it does not use interframe correlation, it has the drawback of being considerably worse in compression efficiency than interframe coding.
【0006】本発明は上述の欠点を解決した動画像編集
装置及び動画像編集方法を提供することを目的とする。It is an object of the present invention to provide a moving picture editing apparatus and a moving picture editing method that solve the above-mentioned drawbacks.
【0007】又本発明は、所定のフレームに対して、編
集処理を行う時、復号する画像データ量を極力抑えた動
画像編集装置及び動画像編集方法を提供することを目的
とする。Another object of the present invention is to provide a moving image editing apparatus and a moving image editing method in which the amount of image data to be decoded is suppressed as much as possible when performing editing processing on a predetermined frame.
【0008】本発明は更に入力動画像データの高速な符
号化が可能な上、編集後高圧縮な画像圧縮か可能な動画
像編集装置及び動画像編集方法を提供することを更なる
目的とする。It is a further object of the present invention to provide a moving image editing apparatus and a moving image editing method capable of high-speed encoding of input moving image data and capable of performing highly compressed image compression after editing. .
【0009】本発明は他に簡単で、迅速な動画像編集が
可能な動画像編集装置及び動画像編集方法を提供とする
ことを他の目的とする。Another object of the present invention is to provide a moving image editing apparatus and a moving image editing method which are simple and capable of quick moving image editing.
【0010】更に本発明は、フレーム間符号化された動
画像を画質劣化を最小限におさえて、編集可能な動画像
編集装置及び動画像編集方法を提供することを更なる目
的とする。A further object of the present invention is to provide a moving image editing apparatus and a moving image editing method capable of editing an inter-frame coded moving image with a minimum deterioration in image quality.
【0011】[0011]
【課題を解決するための手段】上述の課題を解決するた
めに第1の発明は、入力された動画像データを速度重視
の符号化方法で符号化する第1の符号化手段、前記第1
の符号化手段によって符号化された前記動画像データを
記憶する記憶手段、前記符号化された動画像データを編
集する編集手段、前記第1の符号化手段より圧縮率重視
の符号化方法で前記編集された動画像データを符号化す
る第2の符号化手段、とを有することを特徴とする。In order to solve the above-mentioned problems, a first invention is a first coding means for coding input moving image data by a speed-oriented coding method.
Storage means for storing the moving image data encoded by the encoding means, editing means for editing the encoded moving image data, and an encoding method emphasizing a compression rate more than the first encoding means. A second encoding means for encoding the edited moving image data.
【0012】更に第2の発明は、フレーム間符号化を含
む符号化方法により符号化された動画像データを復号す
る幅号手段、前記復号手段による復号と並列に復号され
た動画像データをフレーム内符号化により符号化する符
号化手段、前記符号化された動画像データをフレーム単
位で編集する編集手段とを有することを特徴とする。Further, a second aspect of the present invention is a frame encoding means for decoding moving image data encoded by an encoding method including interframe encoding, and moving image data decoded in parallel with the decoding by the decoding means. It is characterized in that it has an encoding means for encoding by inner encoding and an editing means for editing the encoded moving image data in frame units.
【0013】更に第3の発明は、フレーム間符号を含む
符号化方法により符号化され記憶媒体に記憶された動画
像データを復号する復号手段、前記復号された動画像デ
ータを表示する表示手段、前記表示手段に表示された動
画像データに編集指示をあたえる指示手段、前記記録媒
体に記憶された動画像データのうち前記指示手段により
指示された動画像データを復号するうえで最小数のフレ
ーム画像をフレーム内符号がする符号化手段を有するこ
とを特徴とする。Further, a third aspect of the invention is a decoding means for decoding moving image data encoded by an encoding method including an interframe code and stored in a storage medium, a display means for displaying the decoded moving image data, Instructing means for giving an editing instruction to the moving image data displayed on the display means, the minimum number of frame images for decoding the moving image data instructed by the instructing means out of the moving image data stored in the recording medium. It is characterized in that it has an encoding means for an intra-frame code.
【0014】[0014]
〈第1の実施例〉図1は第1の実施例のブロック図であ
る。1は動画像を入力するビデオカメラ、2は動画像の
各フレームを生成するキャプチャーボード部、3はフレ
ーム内符号化および復号化を行うJPEGユーディック
部(プログラムをCPU9により処理する)、4は動画
像を蓄積するためのディスク、5は複号した動画像をデ
ィスプレイ7に出力するためのビデオラム部、6はフレ
ーム間符号化された動画像を符号化復号化するためのM
PEGユーディク部(プログラムをCPU9により処
理)、9は本装置を制御するCPUである。処理すべき
動画像はビデオカメラ1から入力され、ビデオキャプチ
ャーボード部によりディジタル化される。尚、19は後
述するマウスポインタを含む操作部である。本実施例で
は360画素×240ラインを1フレームとし、毎秒3
0フレームのディジタル動画像を生成する。画素信号は
MPEG等で行われているYCbCr信号4:1:1サ
ンプリングを用いている。キャプチャボード部2で生成
されたYCbCr信号はコンピュータバス8を介しJP
EGコーデック部3においてリアルタイムで符号化され
る符号化はフレーム内で行なわれている。符号化はフレ
ーム単位に各フレームを静止画像とみなし、JPEG方
式によって行なわれる。<First Embodiment> FIG. 1 is a block diagram of the first embodiment. 1 is a video camera for inputting a moving image, 2 is a capture board unit for generating each frame of the moving image, 3 is a JPEG Eudic unit for performing intra-frame encoding and decoding (the program is processed by the CPU 9), 4 is A disk for storing a moving image, 5 is a video RAM unit for outputting a decoded moving image to the display 7, and 6 is an M for encoding / decoding an inter-frame encoded moving image.
A PEG editing unit (a program is processed by the CPU 9), and 9 is a CPU for controlling this apparatus. The moving image to be processed is input from the video camera 1 and digitized by the video capture board unit. Reference numeral 19 is an operation unit including a mouse pointer described later. In this embodiment, 360 pixels × 240 lines are set as one frame, and 3 frames are displayed per second.
A digital moving image of 0 frame is generated. The pixel signal uses the YCbCr signal 4: 1: 1 sampling performed by MPEG etc. The YCbCr signal generated by the capture board unit 2 is sent to the JP via the computer bus 8.
The encoding that is encoded in real time in the EG codec unit 3 is performed within the frame. The encoding is performed by the JPEG method by regarding each frame as a still image in frame units.
【0015】JPEG符号化の方式については周知であ
るので説明を省略する。符号化された1秒当り30フレ
ームの動画像はリアルタイムでコンピュータバス8を介
しディスク4に格納される。また符号化と並行して、キ
ャプチャボード部2で生成されたディジタル動画像はビ
デオラム部5へ送られ動画像を表示するための信号RG
B信号に変換された後ディスプレイ7によりリアルタイ
ム表示される。以上のようなプロセスによりビデオカメ
ラ1から入力される動画像がリアルタイムにディスプレ
イ7に表示しながら、JPEGコーディック部3により
符号化され符号データがディスク4に格納される。動画
像のディスク4の入力は、1つの動画像のシーン(以後
シーケンスと呼ぶ)が終了するまで続けられる。入力が
終了した1シーケンスは必要に応じて、ディスプレイ7
に再生される。再生のプロセスは以下のように行なわれ
る。1シーケンスの符号はフレーム単位に順次読み出さ
れ、コンピュータバス8を介しMPEGに比べ高速に符
号化が可能であるJPEGコーデック部3に送られ復号
化される。復号化されたフレームは360画素×240
ラインのYCbCr信号となりフレーム単位に順次ビデ
オラム部5に転送され前述のリアルタイム動画入力表示
のときと同様にディスプレイ部7に表示される(以降こ
れを通常再生と呼ぶ)。Since the JPEG encoding method is well known, its explanation is omitted. The encoded moving image of 30 frames per second is stored in the disk 4 via the computer bus 8 in real time. Further, in parallel with the encoding, the digital moving image generated by the capture board unit 2 is sent to the video RAM unit 5 and a signal RG for displaying the moving image.
After being converted into a B signal, it is displayed in real time on the display 7. By the above process, the moving image input from the video camera 1 is displayed on the display 7 in real time, and the coded data is encoded by the JPEG codec unit 3 and stored in the disk 4. The input of the moving image disk 4 is continued until the end of one moving image scene (hereinafter referred to as a sequence). One sequence that has been input is displayed on the display 7 as necessary.
To be played. The regeneration process is carried out as follows. The code of one sequence is sequentially read out in frame units and is sent via the computer bus 8 to the JPEG CODEC unit 3 which can be coded at a higher speed than MPEG and is decoded. The decoded frame is 360 pixels x 240
The YCbCr signal of the line is sequentially transferred to the video RAM unit 5 frame by frame, and is displayed on the display unit 7 in the same manner as the above-mentioned real-time moving image input display (hereinafter referred to as normal reproduction).
【0016】通常1つの動画像シーケンスを入力した場
合、不要な部分がシーケンスの前後、あるいは途中に含
まれることが多い。そこで実施例では、フレーム内符号
の特徴である各フレームから独立であることを利用し
て、編集処理を行っている。図2に編集の一例を示す。
7はディスプレイでありその中に編集ウィンドウ10が
表示される。このウィンドウの中にはデコードされた動
画像のシーケンスの各フレームが縮小サイズで表示され
ている。縮小については単純に間引く通常の方法を用
い、内容がわかる程度の解像度におとし、数枚のフレー
ムを同時表示できるようにしている。15は編集時注目
ポイントであるフレームである。14、13、12はそ
れぞれ1つ前、2つ前、3つ前のフレームであり、1
6、17、18は1つ後、2つ後、3つ後のフレームで
ある。Normally, when one moving picture sequence is input, unnecessary portions are often included before, after, or in the middle of the sequence. Therefore, in the embodiment, the editing process is performed by utilizing the fact that the intra-frame code is independent of each frame. FIG. 2 shows an example of editing.
Reference numeral 7 is a display in which an editing window 10 is displayed. In this window, each frame of the decoded moving image sequence is displayed in a reduced size. For the reduction, the normal method of simply thinning out is used, and the resolution is set so that the contents can be understood so that several frames can be displayed simultaneously. Reference numeral 15 is a frame which is a point of interest during editing. 14, 13, and 12 are the previous frame, the previous frame, the previous frame, and the previous frame, respectively.
Reference numerals 6, 17, and 18 are frames after one, after two, and after three.
【0017】通常再生の場合は360×240画素サイ
ズを別のウィンドウ(不図示)に表示するが、編集再生
時はこのように前後の複数のフレームを表示するため1
/4×1/4程度に縮小した画素を再生する。編集再生
はフレーム15を再生ポイントとして前後フレームが矢
印のように流れて表示される。表示は必要に応じて、通
常スピード、スロースピードコマ送り等の表示がされ
る。11は編集ツールバーであり不要なフレームをカッ
トし、必要フレームのみを選択するためのものである。
図2の場合はフレーム13からフレーム17がマウスポ
インタにより選択(斜線部のバー)された状態である。
この場合フレーム12以前とフレーム18以降が不要な
部分となる。このようにして選択された必要部分以外の
フレームは、ディスク4から削除編集される。ディスク
4に格納されている符号データはフレーム内符号である
ため簡単に編集することができる。本実施例ではCPU
9によりソフトウエア的にフレーム編集処理を行う。編
集処理された符号データは前述のように通常再生を行う
ことにより確認することができる。In the case of normal reproduction, the 360 × 240 pixel size is displayed in another window (not shown), but in the case of edit reproduction, a plurality of frames before and after are displayed in this manner.
Pixels reduced to about / 4 × 1/4 are reproduced. In editing / playback, the frame 15 is displayed as a playback point with the preceding and following frames flowing as arrows. The display shows normal speed, slow speed frame advance, etc., if necessary. An editing toolbar 11 is for cutting unnecessary frames and selecting only necessary frames.
In the case of FIG. 2, the frames 13 to 17 are selected (hatched bar) by the mouse pointer.
In this case, the parts before frame 12 and the parts after frame 18 are unnecessary parts. The frames other than the necessary part selected in this way are deleted and edited from the disc 4. The code data stored in the disk 4 is an intra-frame code and can be easily edited. In this embodiment, the CPU
9, the frame editing process is performed by software. The edited code data can be confirmed by performing normal reproduction as described above.
【0018】以上の編集処理は、編集の行い易いフレー
ム内符号データをベースに行っている。そして編集終了
後はフレーム内符号化よりより圧縮効率の高いフレーム
間符号に変換しディスク4に効率良く動画像を再格納す
る。ディスク4に格納されている編集済のフレーム内符
号1シーケンスはフレーム毎に読み出されJPEGコー
デック部3により通常再生時と同じように復号される。
しかしフレーム間符号に再符号するのにリアルタイム性
は必要ないため、フレーム間符号のスピードにあわせて
JPEGコーデック部3は復号すればよい。本実施例で
は復号された動画像をフレーム間符号化されたフレーム
画像に再符号するのにMPEG方式を用いている。また
再符号はCPU9によりソフトウエアで行うため、CP
Uのあいた時間を利用して行なわれる。MPEG符号化
は図5のようにIフレーム、Pフレーム、Bフレームの
3種類のフレームタイプにフレーム間/フレーム内符号
化される。符号化が終了したフレームから順次ディスク
4に再格納し、シーケンス終了まで行い再符号化が終了
する。終了後、不要なフレーム内符号のシーケンスを消
去することにより、圧縮効率の向上したシーケンスに変
換され、ディスク4が効率的に使用される。The above-mentioned editing process is performed based on the intra-frame code data which is easy to edit. After the editing is completed, it is converted into an interframe code having a higher compression efficiency than the intraframe coding, and the moving image is efficiently stored in the disk 4 again. The edited intra-frame code 1 sequence stored in the disk 4 is read out for each frame and decoded by the JPEG CODEC unit 3 in the same manner as during normal reproduction.
However, since recoding to the interframe code does not need real-time property, the JPEG codec unit 3 may perform decoding according to the speed of the interframe code. In this embodiment, the MPEG system is used to re-encode the decoded moving image into the inter-frame encoded frame image. In addition, since the re-coding is done by software by the CPU 9, CP
It will be held using the time when U was open. The MPEG encoding is interframe / intraframe encoding into three frame types of I frame, P frame and B frame as shown in FIG. The frames that have been encoded are re-stored in the disk 4 sequentially, and the sequence is completed until the re-encoding ends. After the end, the sequence of the unnecessary intra-frame code is erased, so that the sequence is converted into a sequence with improved compression efficiency, and the disk 4 is used efficiently.
【0019】このようにフレーム間符号に再符号された
動画シーケンスは必要に応じてMPEGデコーダ6によ
り順次復号し同様にビデオラム部5を経てディスプレイ
7に通常再生することもできる。The moving picture sequence thus re-encoded into the inter-frame code can be sequentially decoded by the MPEG decoder 6 if necessary, and can also be normally reproduced on the display 7 via the video RAM section 5.
【0020】以上説明したように動画像の入力をフレー
ム内符号化によりリアルタイム符号化することによりM
PEGによるフレーム間符号化を用いた場合より回路規
模も小さく簡単に行うことができ、かつ、フレーム内符
号を用いて容易に動画像編集が行える。また編集後圧縮
効率の良いフレーム間符号に変換することにより、動画
の入力編集が簡単でかつ圧縮効率の良い動画像処理を実
現している。As described above, by inputting a moving image in real time by intraframe coding, M
The circuit scale is smaller and easier than the case of using the interframe coding by PEG, and the moving image can be easily edited by using the intraframe code. In addition, by converting the post-editing code into an interframe code with high compression efficiency, moving image processing with simple inputting and editing of a moving image and high compression efficiency is realized.
【0021】〈第2の実施例〉図3は第2の実施例を表
わす図である。本実施例は動画像がすでにディジタル符
号化されCD−ROM等の光記録媒体(記録媒体は光記
録媒体に限られずFDのような磁気記憶媒体であっても
よい。)に格納されている場合である。同図20はCD
ROMプレーヤであり、SCSIバスでコンピュータバ
ス8に接続されている。また同図で図1と同じ番号は同
じ構成を意味している。CDROMプレーヤ20は通常
CD−ROMに格納されている動画像データをディスプ
レイ7に表示するための動画像読出装置である。CDR
OMプレーヤ20からは一定のビツトレートで符号が読
み出される。通常この種の蓄積用動画像は圧縮効率を考
えフレーム間符号化されているものが多い。本実施例で
はMPEG方式により符号化されている動画像をCD−
ROMから読出する場合を説明する。CDROMプレー
ヤ20から読み出される1つのシーケンス符号はコンピ
ュータバス8を介し、MPEGデコーダ6によりリアル
タイムで復号される。順次復号されたフレーム画像(3
60×240Y、Cb、Cr)は再びコンピュータバス
8を介しJPEGコーデック3によりフレーム内符号で
あるJPEG符号にフレーム毎に順次変換される。また
同時にMPEGデコーダ6により復号されたフレーム画
像はビデオラム部5を経てディスプレイ7に通常再生す
るようになっている。JPEGコーデック3により符号
化されたシーケンスは順次ディスク4に格納され、必要
な長さのシーケンス分たくわえられる。格納終了後は第
1の実施例で説明したように必要に応じてフレーム編集
を行うことができる。また、圧縮効率を上げるためにフ
レーム間符号に再符号することも可能である。<Second Embodiment> FIG. 3 is a diagram showing a second embodiment. In this embodiment, the moving image is already digitally encoded and stored in an optical recording medium such as a CD-ROM (the recording medium is not limited to the optical recording medium and may be a magnetic storage medium such as an FD). Is. FIG. 20 shows a CD
It is a ROM player and is connected to the computer bus 8 by a SCSI bus. Also, in the figure, the same numbers as in FIG. 1 mean the same configurations. The CDROM player 20 is a moving image reading device for displaying the moving image data normally stored in the CD-ROM on the display 7. CDR
The code is read from the OM player 20 at a constant bit rate. Usually, this kind of storage moving image is often inter-frame coded in consideration of compression efficiency. In the present embodiment, a moving image encoded by the MPEG system is recorded on a CD-
The case of reading from the ROM will be described. One sequence code read from the CDROM player 20 is decoded in real time by the MPEG decoder 6 via the computer bus 8. Frame images (3
(60 × 240Y, Cb, Cr) is sequentially converted into a JPEG code which is an intraframe code by the JPEG codec 3 via the computer bus 8 again frame by frame. At the same time, the frame image decoded by the MPEG decoder 6 is normally reproduced on the display 7 via the video RAM unit 5. Sequences encoded by the JPEG CODEC 3 are sequentially stored on the disc 4 and stored for a sequence having a required length. After the storage is completed, frame editing can be performed as necessary as described in the first embodiment. It is also possible to re-encode the inter-frame code to improve the compression efficiency.
【0022】このようにフレーム間符号化されている動
画像を復号しながらフレーム内符号に再符号化すること
により、フレーム単位の編集が迅速にしかも簡単に行え
る。By thus re-encoding the intra-frame code while decoding the inter-frame coded moving image, editing in frame units can be performed quickly and easily.
【0023】〈第3の実施例〉第2の実施例において、
MPEG符号を全シーケンスについて復号し、フレーム
内符号に変換したが以下の様に編集すべき付近のフレー
ムのみフレーム内符号に変換することもできる。図3で
光記録、磁気記録等が可能な記録媒体(本実施例ではC
D−ROM)に格納されているMPEG符号(フレーム
間符号)をMPEGデコーダ6により復号し、ディスプ
レイ表示のみをする。このときJPEGコーデックによ
り再符号は行わない。表示は図2で説明したように編集
再生を行う。前述のように必要な部分を編集ツールバー
11で指定する。しかし編集部分がフレーム間符号化さ
れている場合は簡単にはフレーム編集が行えない。そこ
で図4のような部分的フレーム内符号変換を行う。フレ
ーム間符号として図5で説明したようにMPEG符号化
でIフレーム、Pフレーム、BフレームがIフレーム間
(15フレーム)で符号化されている。<Third Embodiment> In the second embodiment,
Although the MPEG code is decoded for all sequences and converted into the intraframe code, it is also possible to convert only the nearby frames to be edited into the intraframe code as follows. In FIG. 3, a recording medium capable of optical recording, magnetic recording, etc. (in this embodiment, C
The MPEG code (interframe code) stored in the D-ROM) is decoded by the MPEG decoder 6 and only the display is displayed. At this time, re-encoding is not performed by the JPEG codec. The display is edited and reproduced as described in FIG. As described above, the necessary part is designated on the editing toolbar 11. However, if the edited portion is inter-frame coded, frame editing cannot be performed easily. Therefore, partial intraframe code conversion as shown in FIG. 4 is performed. As the inter-frame code, I-frames, P-frames, and B-frames are coded between I-frames (15 frames) by MPEG coding as described in FIG.
【0024】一例として図4の第2フレームと第3フレ
ームいづれもBフレームの間の部分をカットする場
合、カット部の前のシーケンスの最後のBフレームが再
生できなくなり、また後のシーケンスでは次のIフレー
ムまで再生できない状態(ブロークンリンク)となる。
そこで本実施例ではカット部分を含むPフレームからP
フレームまで(Iフレームの場合はIとPの間)の4フ
レームを復号しIフレームに再符号することにより任意
の位置のフレーム編集が可能となる。図3でCDROM
20から読み出したシーケンスのカットすべき部分を含
む4フレームをMPEGデコーダ6で復号し、CPU9
により演算処理即ちソフトウエアでイントラフレームと
して部分的に再符号することもできる。またイントラフ
レームへの再符号をソフト的に行うかわりにJPEGコ
ーデック3によりフレーム内符号化することも可能であ
る。本実施例のように符号化された全フレームを復号化
するわけでなく編集の際、編集指示されたフレーム画像
を含み、編集された以外のフレームを後で再生可能とし
た最小数のフレーム画像のみを部分的にフレーム内符号
に再符号化することにより編集後圧縮率向上のためにフ
レーム間符号に再符号する必要がなくなり画質劣化も編
集前後部分に最小限にとどめることができる。As an example, when cutting a portion between the second frame and the third frame in FIG. 4 between the B frames, the last B frame of the sequence before the cutting portion cannot be reproduced, and the next frame in the subsequent sequence cannot be reproduced. It becomes a state (broken link) in which I frames cannot be reproduced.
Therefore, in the present embodiment, from the P frame including the cut portion to P
By editing four frames up to the frame (between I and P in the case of I frame) and re-coding to I frame, frame editing at any position becomes possible. CDROM in Figure 3
The MPEG decoder 6 decodes 4 frames including the portion to be cut of the sequence read from the CPU 20, and the CPU 9
Can be partially re-encoded as an intra frame by arithmetic processing, that is, software. Further, instead of re-encoding the intra frame by software, it is possible to perform intra-frame encoding by the JPEG codec 3. In the case of editing, not all the encoded frames are decoded as in the present embodiment, but the minimum number of frame images including the frame image for which editing is instructed and the frames other than the edited frame can be reproduced later. By partially re-encoding only the intra-frame code to the intra-frame code, it is not necessary to re-encode the inter-frame code to improve the compression rate after editing, and the image quality deterioration can be minimized before and after the editing.
【0025】[0025]
【発明の効果】以上説明した様に本発明によれば、第1
の発明によれば入力動画像データを高速に回路規模も比
較的小さく容易に符号化できかつ任意のフレーム編集も
可能であり、編集後の動画像データの圧縮効率も高い動
画像処理が可能となる。As described above, according to the present invention, the first
According to the invention, the input moving image data can be encoded at a high speed with a relatively small circuit scale and easily, arbitrary frame editing is possible, and moving image processing with high compression efficiency of the edited moving image data is possible. Become.
【0026】第2の発明によればフレーム間符号化され
た動画像データを迅速に編集できる動画像編集が可能と
なる。According to the second aspect of the present invention, it is possible to perform moving image editing capable of quickly editing inter-frame encoded moving image data.
【0027】第3の発明によればフレーム間符号化され
た動画像データのうち復号処理するフレーム画像を最小
限とするので画質劣化を最小限におさえ編集処理するこ
とが可能となる。According to the third aspect of the present invention, the frame image to be decoded is minimized in the moving image data which is inter-frame coded, so that it is possible to carry out the editing process while minimizing the deterioration of image quality.
【図1】第1の実施例を示す図である。FIG. 1 is a diagram showing a first embodiment.
【図2】編集用の表示画面の一例である。FIG. 2 is an example of a display screen for editing.
【図3】第2の実施例を示す図である。FIG. 3 is a diagram showing a second embodiment.
【図4】1シーケンスのうち部分的にフレーム内符号化
を施した例を示す図である。FIG. 4 is a diagram showing an example in which intra-frame coding is partially performed in one sequence.
【図5】フレーム間符号を行った際のシーケンスの状態
を示す図である。FIG. 5 is a diagram showing a state of a sequence when interframe coding is performed.
【図6】マクロブロックを示す図である。FIG. 6 is a diagram showing a macro block.
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/137 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 7/137 Z
Claims (25)
号化方法で符号化する第1の符号化手段、 前記第1の符号化手段によって符号化された前記動画像
データを記憶する記憶手段、 前記符号化された動画像データを編集する編集手段、 前記第1の符号化手段より圧縮率重視の符号化方法で前
記編集された動画像データを符号化する第2の符号化手
段、とを有することを特徴とする動画像編集装置。1. A first encoding unit that encodes input moving image data by an encoding method that emphasizes speed, and a storage unit that stores the moving image data encoded by the first encoding unit. Editing means for editing the encoded moving image data, second encoding means for encoding the edited moving image data by an encoding method that emphasizes a compression rate more than the first encoding means, A moving image editing apparatus comprising:
変換プログラムに基づき行われることを特徴とする請求
項1項記載の画像編集装置。2. The image editing apparatus according to claim 1, wherein the first encoding and the second encoding are performed based on an encoding conversion program.
化を含む符号化であることを特徴とする請求項1項記載
の動画像編集装置。3. The moving image editing apparatus according to claim 1, wherein the second coding means is coding including interframe coding.
化であることを特徴とする請求項1項記載の動画像編集
装置。4. The moving image editing apparatus according to claim 1, wherein the first encoding means is intra-frame encoding.
るフレーム画像単位の編集であることを特徴とする請求
項1項記載の動画像編集装置。5. The moving image editing apparatus according to claim 1, wherein the editing is editing in units of frame images forming the moving image data.
タの入力に対してリアルタイムに符号化処理を行うこと
を特徴とする請求項1項記載の動画像編集装置。6. The moving image editing apparatus according to claim 1, wherein the first encoding means performs an encoding process on the input of the moving image data in real time.
手段及び前記編集手段に編集指示を行う指示手段を有
し、前記編集手段は前記表示手段上における前記指示手
段からの指示に応じて前記編集行うことを特徴とする請
求項1項記載の動画像編集装置。7. A display means for displaying the moving image data and an instruction means for giving an editing instruction to the editing means, wherein the editing means responds to an instruction from the instruction means on the display means. The moving image editing apparatus according to claim 1, wherein editing is performed.
のフレーム画像とてマルチ画像表示することを特徴とす
る請求項7項記載の動画像編集装置。8. The moving image editing apparatus according to claim 7, wherein the display unit displays the moving image data as a plurality of frame images in a multi-image display.
れるフレーム画像を縮小した画像であることを特徴とす
る請求項8項記載の動画像編集装置。9. The moving image editing apparatus according to claim 8, wherein the multi-image is an image obtained by reducing a frame image included in the moving image data.
じて前記記憶手段に記憶された符号化された動画像デー
タを編集することを特徴とする請求項7項記載の動画像
編集装置。10. The moving image editing apparatus according to claim 7, wherein said editing means editing the encoded moving image data stored in said storage means in response to an instruction from said instruction means.
より符号化されたされた動画像データを復号する幅号手
段、 前記復号手段による復号と並列に復号された動画像デー
タをフレーム内符号化により符号化する符号化手段、 前記符号化された動画像データをフレーム単位で編集す
る編集手段とを有することを特徴とする動画像編集装
置。11. A width encoding means for decoding moving image data encoded by an encoding method including interframe encoding, and intraframe encoding of moving image data decoded in parallel with the decoding by the decoding means. A moving image editing apparatus, comprising: an encoding unit that encodes the encoded moving image data; and an editing unit that edits the encoded moving image data in frame units.
基づき行われることを特徴とする請求項11項記載の画
像編集装置。12. The image editing apparatus according to claim 11, wherein the encoding and decoding are performed based on a conversion program.
表示する表示手段を有することを特徴とする請求項第1
1項記載の動画像編集装置。13. The apparatus according to claim 1, further comprising display means for displaying the decoded moving image data.
The moving image editing apparatus according to item 1.
憶する記憶手段を有することを特徴とする請求項11項
記載の動画像編集装置。14. The moving image editing apparatus according to claim 11, further comprising storage means for storing the edited moving image data.
化方法により符号化された動画像データを蓄積する蓄積
手段を有することを特徴とする請求項11項記載の動画
像編集装置。15. The moving image editing apparatus according to claim 11, further comprising storage means for storing moving image data encoded by an encoding method including the interframe encoding.
り符号化され記憶媒体に記憶された動画像データを復号
する復号手段、 前記復号された動画像データを表示する表示手段、 前記表示手段に表示された動画像データに編集指示をあ
たえる指示手段、 前記記録媒体に記憶された動画像データのうち前記指示
手段により指示された動画像データを復号するうえで最
小数のフレーム画像をフレーム内符号化する符号化手段
を有することを特徴とする動画像編集装置。16. Decoding means for decoding moving image data encoded by an encoding method including an interframe code and stored in a storage medium, display means for displaying the decoded moving image data, and display on the display means. Instructing means for giving an editing instruction to the specified moving image data; intraframe coding of the minimum number of frame images for decoding the moving image data instructed by the instructing means among the moving image data stored in the recording medium. A moving image editing apparatus, comprising:
基づき行われることを特徴とする請求項16項記載の画
像編集装置。17. The image editing apparatus according to claim 16, wherein the encoding and decoding are performed based on a conversion program.
カット処理であることを特徴とする請求項16項記載の
画像編集装置。18. The image editing apparatus according to claim 16, wherein the editing process is a cutting process of the moving image data.
MPEGであることを特徴とする請求項16項記載の画
像編集装置。19. The image editing apparatus according to claim 16, wherein the encoding including the interframe code is MPEG.
数のフレーム画像とをマルチ画表示することを特徴とす
る請求項16項記載の動画像編集装置。20. The moving image editing apparatus according to claim 16, wherein the display unit displays the moving image data in a multi-image display with a plurality of frame images.
まれるフレーム画像を縮小した画像であることを特徴と
する請求項20項記載の動画像編集装置。21. The moving image editing apparatus according to claim 20, wherein the multi-image is an image obtained by reducing a frame image included in the moving image data.
示手段による指示されたフレーム画像を含み前記動画像
データをブロークンリンク無しに復号可能なフレーム数
の画像であること特徴とする請求項16項記載の動画像
処理装置。22. The minimum number of frame images is an image having a number of frames including the frame image designated by the designating unit and capable of decoding the moving image data without a broken link. The moving image processing apparatus described.
符号化方法で符号化し、 前記符号化手段によって符号化された前記動画像データ
を記憶する記憶し、 前記符号化された動画像データを編集し、 前記符号化より圧縮率重視の符号化方法で前記編集され
た動画像データを符号化することを特徴とする動画像編
集方法。23. The input moving image data is encoded by a speed-oriented encoding method, the moving image data encoded by the encoding means is stored, and the encoded moving image data is stored. A moving image editing method, comprising: editing and encoding the edited moving image data by an encoding method that emphasizes a compression rate rather than the encoding.
より符号化されたされた動画像データを復号し、 前記復号と並列に復号された動画像データをフレーム内
符号化により符号化し、 前記符号化された動画像データをフレーム単位で編集す
ることを特徴とする動画像編集方法。24. Decoding the moving image data encoded by an encoding method including inter-frame encoding, encoding the moving image data decoded in parallel with the decoding by intra-frame encoding, A moving picture editing method, characterized in that the modified moving picture data is edited frame by frame.
り符号化され記憶媒体に記憶された動画像データを復号
し、 前記復号された動画像データを表示し、 前記表示手段に表示された動画像データに編集指示をあ
たえ、 前記記録媒体に記憶された動画像データのうち前記指示
手段により指示された動画像データを復号するうえで最
小数のフレーム画像をフレーム内符号化することを特徴
とする動画像編集方法。25. A moving image displayed on the display means for decoding moving image data encoded by an encoding method including an interframe code and stored in a storage medium, and displaying the decoded moving image data. An editing instruction is given to the data, and a minimum number of frame images are intraframe-encoded to decode the moving image data instructed by the instructing means among the moving image data stored in the recording medium. Video editing method.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP738995A JPH08205076A (en) | 1995-01-20 | 1995-01-20 | Moving image editing apparatus and moving image editing method |
| EP95300579A EP0665513B1 (en) | 1994-01-31 | 1995-01-30 | Motion image editing apparatus and method |
| DE69528853T DE69528853T2 (en) | 1994-01-31 | 1995-01-30 | System and method for editing moving images |
| US08/907,635 US6853378B2 (en) | 1994-01-31 | 1997-08-08 | Moving image editing apparatus and moving image editing method using intraframe encoding |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP738995A JPH08205076A (en) | 1995-01-20 | 1995-01-20 | Moving image editing apparatus and moving image editing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08205076A true JPH08205076A (en) | 1996-08-09 |
Family
ID=11664576
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP738995A Withdrawn JPH08205076A (en) | 1994-01-31 | 1995-01-20 | Moving image editing apparatus and moving image editing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08205076A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1998041978A1 (en) * | 1997-03-19 | 1998-09-24 | Hitachi, Ltd. | Method and device for detecting starting and ending points of sound section in video |
| JP2000011156A (en) * | 1998-06-24 | 2000-01-14 | Sony Corp | Information recording device, information recording analysis device, and vehicle equipped with the information recording device |
| US6052148A (en) * | 1996-09-13 | 2000-04-18 | Nec Corporation | Video and audio data compression system |
| US7768552B1 (en) | 1999-07-23 | 2010-08-03 | Hewlett-Packard Development Company, L.P. | Digital still camera with still and motion image capabilities |
-
1995
- 1995-01-20 JP JP738995A patent/JPH08205076A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6052148A (en) * | 1996-09-13 | 2000-04-18 | Nec Corporation | Video and audio data compression system |
| WO1998041978A1 (en) * | 1997-03-19 | 1998-09-24 | Hitachi, Ltd. | Method and device for detecting starting and ending points of sound section in video |
| JP2000011156A (en) * | 1998-06-24 | 2000-01-14 | Sony Corp | Information recording device, information recording analysis device, and vehicle equipped with the information recording device |
| US7768552B1 (en) | 1999-07-23 | 2010-08-03 | Hewlett-Packard Development Company, L.P. | Digital still camera with still and motion image capabilities |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6546189B1 (en) | Method and apparatus for editing compressed moving pictures and storage medium | |
| JP3377677B2 (en) | Video editing device | |
| JP3787398B2 (en) | Image processing apparatus and method | |
| JP3932546B2 (en) | MPEG video editing apparatus and MPEG video editing method | |
| WO2009113280A1 (en) | Image processing device and imaging device equipped with same | |
| JP2004187161A (en) | Moving image data processing apparatus and moving image data processing method | |
| EP0665513B1 (en) | Motion image editing apparatus and method | |
| US7733379B2 (en) | Composite still-image creating device capable of creating a still image from moving images | |
| TW200305146A (en) | Editing of encoded A/V sequences | |
| JP4262139B2 (en) | Signal processing device | |
| JP2001177801A (en) | Compressed image data reproducing device and compressed image data reproducing method | |
| JPH08205076A (en) | Moving image editing apparatus and moving image editing method | |
| US7848416B2 (en) | Video signal encoding apparatus and video data encoding method | |
| US8165217B2 (en) | Image decoding apparatus and method for decoding prediction encoded image data | |
| JP2002300528A (en) | Video stream editing method and apparatus | |
| JP3061125B2 (en) | MPEG image reproducing apparatus and MPEG image reproducing method | |
| JPH09116866A (en) | Encoding method, encoding / decoding method, and recording / reproducing apparatus | |
| JP4154799B2 (en) | Compressed video editing apparatus and storage medium | |
| JPH08149408A (en) | Digital moving image editing method and apparatus | |
| JPH1032826A (en) | Animation image processor | |
| US20070097147A1 (en) | Dynamic image editing system, the same apparatus and mobile device | |
| JPH0795536A (en) | Reverse image playback apparatus and method | |
| JP2821395B2 (en) | Image editing system | |
| JP3854717B2 (en) | Decoding apparatus and method | |
| JPH09261632A (en) | Image signal processor |
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: 20020402 |