JP4251297B2 - Recording apparatus and recording method - Google Patents

Recording apparatus and recording method Download PDF

Info

Publication number
JP4251297B2
JP4251297B2 JP2006107560A JP2006107560A JP4251297B2 JP 4251297 B2 JP4251297 B2 JP 4251297B2 JP 2006107560 A JP2006107560 A JP 2006107560A JP 2006107560 A JP2006107560 A JP 2006107560A JP 4251297 B2 JP4251297 B2 JP 4251297B2
Authority
JP
Japan
Prior art keywords
recording
image
index
data
tape
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.)
Expired - Lifetime
Application number
JP2006107560A
Other languages
Japanese (ja)
Other versions
JP2006262498A (en
Inventor
秀典 青竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2006107560A priority Critical patent/JP4251297B2/en
Publication of JP2006262498A publication Critical patent/JP2006262498A/en
Application granted granted Critical
Publication of JP4251297B2 publication Critical patent/JP4251297B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、記録装置および記録方法に関し、特に、例えば、画像などの記録を行う場合に用いて好適な記録装置および記録方法に関する。   The present invention relates to a recording apparatus and a recording method, and more particularly, to a recording apparatus and a recording method suitable for use when recording an image or the like, for example.

近年におけるCPU(Central Processing Unit)の高速化、高機能化や、メモリ、ハードディスクその他の記録媒体(記憶媒体)の大容量化、さらには、これらを含めたハードウェアの低価格化などに伴い、個人でも購入可能な廉価で、かつ高機能のコンピュータが実現されている。   With recent increases in CPU (Central Processing Unit) speed, higher functionality, increased memory, hard disk and other recording media (storage media), and lower hardware costs including these, An inexpensive and highly functional computer that can be purchased by individuals has been realized.

以上のような廉価かつ高機能のコンピュータの普及に伴い、従来は困難であったデータ量の膨大な、例えば、画像を対象とした記録や再生、編集その他の様々な処理を、ユーザが簡単な操作で行うことの要請が高まってきている。   With the widespread use of low-cost and high-functional computers as described above, the user can easily perform various processes such as recording, reproduction, editing, and the like for enormous amounts of data that have been difficult in the past, for example, images. There is an increasing demand for operations.

本発明は、このような状況に鑑みてなされたものであり、ユーザの要請に応える各種の処理を、簡単な操作で行うことができるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to perform various processes in response to user requests with simple operations.

本発明の一側面の記録装置は、動画像データをデータ記録媒体に記録する記録装置であって、前記動画像データを記録する記録時間と、その動画像データのビットレートに関するビットレート情報とを設定する設定手段と、前記設定手段により設定された前記記録時間およびビットレート情報に基づいて、前記動画像データを記録するのに必要な記録容量である必要容量を算出する算出手段と、前記データ記録媒体に、前記必要容量以上の記録領域であって、前記必要容量とインデックスのための容量とを備える必要領域をファイルとして確保する確保手段と、前記必要領域である前記ファイルに、前記動画像データと、前記インデックスとなる、シーンチェンジ検出回路の出力に応じてシーンチェンジがされた位置を示すデータを記録する記録手段とを備える。 A recording apparatus according to one aspect of the present invention is a recording apparatus that records moving image data on a data recording medium, and includes a recording time for recording the moving image data, and bit rate information related to a bit rate of the moving image data. Setting means for setting, calculation means for calculating a necessary capacity, which is a recording capacity necessary for recording the moving image data, based on the recording time and bit rate information set by the setting means; and the data a recording medium, I the required capacity more recording regions der, and securing means for securing a necessary area and a capacity for the required capacity and index as a file, the file is the required region, the moving picture and image data, and the index records the data indicating the position at which the scene change according to the output of the scene change detecting circuit And a recording means.

前記確保手段には、前記記録手段による前記動画像データの記録後、前記必要領域の記録されなかった領域を開放させるようにすることができる。   The securing means may be configured to release a non-recorded area of the necessary area after recording the moving image data by the recording means.

前記確保手段により確保された前記必要領域をユーザに提示する提示手段をさらに設けることができる。   Presenting means for presenting the necessary area secured by the securing means to a user can be further provided.

前記確保手段には、記録開始の指示がなされた時点で、前記必要領域を確保させるようにすることができる。   The securing means can secure the necessary area when an instruction to start recording is given.

本発明の一側面の記録方法は、動画像データをデータ記録媒体に記録する記録方法であって、前記動画像データを記録する記録時間と、その動画像データのビットレートに関するビットレート情報とを設定し、設定された前記記録時間およびビットレート情報に基づいて、前記動画像データを記録するのに必要な記録容量である必要容量を算出し、前記データ記録媒体に、前記必要容量以上の記録領域であって、前記必要容量とインデックスのための容量とを備える必要領域をファイルとして確保し、前記必要領域である前記ファイルに、前記動画像データと、前記インデックスとなる、シーンチェンジ検出回路の出力に応じてシーンチェンジがされた位置を示すデータを記録するステップを含む。 A recording method according to an aspect of the present invention is a recording method for recording moving image data on a data recording medium, the recording time for recording the moving image data, and bit rate information related to the bit rate of the moving image data. Based on the set recording time and bit rate information, a required capacity, which is a recording capacity necessary for recording the moving image data, is calculated, and the recording capacity exceeding the required capacity is recorded on the data recording medium. What regions der to secure the necessary space and a capacity for the required capacity and index as a file, the a necessary area the file, and the moving image data, and the index, the scene change detecting circuit Recording the data indicating the position where the scene change has been made in response to the output of .

本発明においては、動画像データを記録する記録時間と、その動画像データのビットレートに関するビットレート情報とが設定され、その設定された記録時間およびビットレート情報に基づいて、動画像データを記録するのに必要な記録容量である必要容量が算出される。そして、データ記録媒体に、必要容量以上の記録領域であって、必要容量とインデックスのための容量とを備える必要領域がファイルとして確保されて、そのファイルに、動画像データと、インデックスとなる、シーンチェンジ検出回路の出力に応じてシーンチェンジがされた位置を示すデータが記録される。 In the present invention, a recording time for recording moving image data and bit rate information regarding the bit rate of the moving image data are set, and the moving image data is recorded based on the set recording time and bit rate information. A required capacity, which is a recording capacity required for the recording, is calculated. Then, the data recording medium, I required capacity more recording regions der and necessary area and a capacity for the required capacity and indexes are reserved as a file, the file becomes the moving image data, the index The data indicating the position where the scene change has been made is recorded in accordance with the output of the scene change detection circuit .

本発明によれば、記録指示された動画像データを、途中で終了することなく、記録することが可能となる。   According to the present invention, it is possible to record the moving image data instructed to be recorded without ending in the middle.

図1および図2は、本発明を適用したパーソナルコンピュータの一実施の形態の構成例を示している。   1 and 2 show a configuration example of an embodiment of a personal computer to which the present invention is applied.

このパーソナルコンピュータは、本体31、本体31に対して指令を入力するとき操作されるキーボード21とマウス22、並びに、画像を表示するディスプレイ51により構成されている。   The personal computer includes a main body 31, a keyboard 21 and a mouse 22 that are operated when a command is input to the main body 31, and a display 51 that displays an image.

本体31は、いわゆるミニタワー型のもので、例えば、その幅が225mm、高さが367.9mm、さらに奥行きが451.5mmとされている。また、本体31の前面と側面の間には、両者を斜めに結合する面32と面33が形成されている。そして、そのうちの一方の面32の上部には、本体31の電源をオンまたはオフするとき操作される電源ボタン34が配置されている。   The main body 31 is of a so-called mini tower type, and has a width of 225 mm, a height of 367.9 mm, and a depth of 451.5 mm, for example. Further, a surface 32 and a surface 33 are formed between the front surface and the side surface of the main body 31 so as to connect the two at an angle. A power button 34 that is operated when the power of the main body 31 is turned on or off is disposed on one of the surfaces 32.

また、本体31の上面には、本体31に接続される周辺機器を載置した場合に、その周辺機器の脚部が本体31の上面に安定して配置されるように、周辺機器の脚部に対応する位置に凹部35が形成されている。   In addition, when a peripheral device connected to the main body 31 is placed on the upper surface of the main body 31, the leg portions of the peripheral device are stably arranged on the upper surface of the main body 31. A recess 35 is formed at a position corresponding to.

本体31の前面には、下パネル36と上パネル37が設けられている。下パネル36は、図示せぬスプリングにより、外側に突出するように、常時、付勢されており、ユーザは、そのスプリングの付勢力に抗して下パネル36を押圧し、突出した状態から、本体31側にへこんだ状態にすることができる。また、上パネル37は、左右のガイド45に案内され、上下方向に移動自在とされている。この上パネル37は、下パネル36が突出した状態であるとき、その下方向への移動を規制されている。   A lower panel 36 and an upper panel 37 are provided on the front surface of the main body 31. The lower panel 36 is constantly urged so as to protrude outward by a spring (not shown), and the user presses the lower panel 36 against the urging force of the spring and from the protruded state, The main body 31 can be recessed. The upper panel 37 is guided by left and right guides 45 and is movable in the vertical direction. The upper panel 37 is restricted from moving downward when the lower panel 36 is in a protruding state.

ユーザは、本体31を使用するとき、下パネル36をスプリングの付勢力に抗して本体31側に押圧し、へこんだ状態にさせる。これにより、上パネル37の下方向への移動の規制が解除され、上パネル37は、ガイド45に沿って下方向に移動する。その結果、図2に示すように、本体31に内蔵されているFDD(フロッピディスクドライブ)41,CD−ROM(Compact Disc-Read Only Memory) /CD−R(Recordable)ドライブ(以下、適宜、CDドライブという)42、およびAV(Audio Visual)端子部43が、露出した状態となる。   When using the main body 31, the user presses the lower panel 36 against the urging force of the spring toward the main body 31 to make it depressed. Accordingly, the restriction on the downward movement of the upper panel 37 is released, and the upper panel 37 moves downward along the guide 45. As a result, as shown in FIG. 2, an FDD (floppy disk drive) 41, a CD-ROM (Compact Disc-Read Only Memory) / CD-R (Recordable) drive (hereinafter referred to as CD Drive 42) and AV (Audio Visual) terminal portion 43 are exposed.

なお、本体31には、この他、拡張部44が設けられており、その他の所定の機器を取り付けることができるようになされている。   In addition, the main body 31 is further provided with an expansion portion 44 so that other predetermined devices can be attached.

使用を中止するとき、ユーザは、上パネル37の上部に形成されている凹部38に指をかけて、上パネル37を上方に移動させる。上パネル37がガイド45に沿って、所定の位置まで上方に移動したとき、下パネル36は、スプリングの付勢力に従って外側に突出した状態となり、上パネル37の下方向への移動を規制する。   When stopping the use, the user puts his / her finger on the recess 38 formed in the upper part of the upper panel 37 and moves the upper panel 37 upward. When the upper panel 37 moves upward along the guide 45 to a predetermined position, the lower panel 36 protrudes outward in accordance with the urging force of the spring, and restricts the downward movement of the upper panel 37.

このように、本体31は、幅を狭くみせるために、前面と側面のコーナにテーパ状の面32,33を形成するようにしている。また、正面にスライド自在なパネル(上パネル37)を設け、内部の機器を保護するとともに、未使用時においては、上パネル37を閉塞した状態とすることにより、内部の機器を露出させず、フラットでシンプルなデザインイメージを実現するようにしている。   As described above, the main body 31 is formed with the tapered surfaces 32 and 33 at the front and side corners in order to make the width narrow. In addition, a slidable panel (upper panel 37) is provided on the front side to protect internal devices, and when not in use, the upper panel 37 is closed so that the internal devices are not exposed. A flat and simple design image is realized.

また、将来のAV機器への発展性を考慮して、この上パネル37は、引き出しタイプや回転式タイプなどで変化させることができるようなデザインとされている。   In consideration of the potential for future AV equipment, the upper panel 37 is designed so that it can be changed in a drawer type or a rotary type.

ディスプレイ51は、基本的に台座52と、この台座52に対して水平方向(パン方向)および垂直方向(チルト方向)に移動自在に結合されている表示部53とにより構成されている。台座52の正面には凹部54が設けられている。   The display 51 basically includes a pedestal 52 and a display unit 53 that is movably coupled to the pedestal 52 in the horizontal direction (pan direction) and the vertical direction (tilt direction). A recess 54 is provided in front of the pedestal 52.

表示部53の正面には、例えば、高精細17型トリニトロンモニタを構成するCRT(Cathode Ray Tube)55が配置され、その左右の斜めの面56,57には、いずれも、その内側に2つのスピーカ59,60が配置されており、これにより、高画質画像と迫力あるステレオ高音質再生を実現することができるようになされている。   For example, a CRT (Cathode Ray Tube) 55 constituting a high-definition 17-type trinitron monitor is disposed on the front surface of the display unit 53, and two oblique surfaces 56 and 57 on the left and right sides have two inside. Speakers 59 and 60 are arranged so that high-quality images and powerful stereo high-quality sound reproduction can be realized.

表示部53の上面手前には、ユーザが発した音声を取り込むためのマイク(マイクロフォン)24が取り付けられており、このマイク24と、上述のスピーカ59および60とによって、例えば、いわゆるハンズフリーフォンを実現することなどができるようになっている。   A microphone (microphone) 24 for capturing the voice uttered by the user is attached in front of the upper surface of the display unit 53. For example, a so-called hands-free phone is connected by the microphone 24 and the above-described speakers 59 and 60. It can be realized.

表示部53の上面の中央には、溝58が形成されている。この溝58には、マイク24のコードを収容するようにするほか、例えば、テレビ電話を構成するためのテレビカメラをディスプレイ51上に載置した場合、そのコードを収容するようにすることができる。   A groove 58 is formed in the center of the upper surface of the display unit 53. In addition to accommodating the cord of the microphone 24 in this groove 58, for example, when a TV camera for constituting a videophone is placed on the display 51, the cord can be accommodated. .

図3は、本体31の正面の詳細構成例を示している。   FIG. 3 shows a detailed configuration example of the front surface of the main body 31.

上述の電源ボタン34の上部には、電源ランプ61が設けられており、この電源ランプ61は、本体31の電源がオンまたはオフになっているとき、それぞれ点灯または消灯する。また、電源ボタン34の下部には、ハードディスクアクセスランプ63が設けられている。本体31は、後述するように、ハードディスク212(図5)を内蔵しており、ハードディスクランプ63は、このハードディスク212にアクセスがなされているときに、例えば、オレンジ色に点灯する。   A power lamp 61 is provided above the power button 34. The power lamp 61 is turned on or off when the power of the main body 31 is turned on or off. A hard disk access lamp 63 is provided below the power button 34. As will be described later, the main body 31 has a built-in hard disk 212 (FIG. 5), and the hard disk lamp 63 lights in orange, for example, when the hard disk 212 is being accessed.

FDD41は、例えば、3.5インチのFD(1.44MB(メガバイト)/1.2MB/720KB(キロバイト))用のもので、その正面には、フロッピディスクドライブアクセスランプ64とフロッピディスクイジェクトボタン66とが設けられている。フロッピディスクドライブアクセスランプ64は、FDにアクセスがなされているときに点灯し、また、フロッピディスクイジェクトボタン66は、FDD41からFDを取り出すときに押圧される。   The FDD 41 is for, for example, a 3.5-inch FD (1.44 MB (megabyte) /1.2 MB / 720 KB (kilobyte)), and a floppy disk drive access lamp 64 and a floppy disk eject button 66 are provided on the front thereof. And are provided. The floppy disk drive access lamp 64 is lit when the FD is being accessed, and the floppy disk eject button 66 is pressed when the FD is taken out from the FDD 41.

CDドライブ42では、CD−ROMディスク(図示せず)からのデータの読み出し、CD−R(CD−R FS)ディスク211(図5)に対してのデータの読み書きが行われる。なお、CDドライブ42では、例えば、読み出しは8倍速で、書き込みは2倍速で、それぞれ行われるようになされている。   The CD drive 42 reads data from a CD-ROM disk (not shown) and reads / writes data from / to a CD-R (CD-R FS) disk 211 (FIG. 5). In the CD drive 42, for example, reading is performed at 8 × speed and writing is performed at 2 × speed.

CDドライブ42の正面には、イジェクトボタン68、イジェクト穴69、およびアクセスランプ70が設けられている。イジェクトボタン68は、CDドライブ42のトレイを引き出すときに操作され、イジェクト穴69は、イジェクトボタン68によってはトレイを引き出すことができない場合において、そのトレイを手動で引き出すときに、先の尖ったものなどで操作される。アクセスランプ70は、CD−ROMディスクやCD−Rディスク211にアクセスがなされているときに点灯する。   On the front surface of the CD drive 42, an eject button 68, an eject hole 69, and an access lamp 70 are provided. The eject button 68 is operated when the tray of the CD drive 42 is pulled out, and the eject hole 69 is pointed when the tray is manually pulled out when the tray cannot be pulled out by the eject button 68. It is operated by. The access lamp 70 is lit when the CD-ROM disc or the CD-R disc 211 is being accessed.

AV端子部43には、S映像入力端子、コンポジット信号用の映像入力端子、L(Left)およびR(Right)チャンネルの2つの音声入力端子(ピンジャック)が設けられている。ビデオカメラやVTR(Video Tape Recoder)などで記録した画像や音声を編集等するときは、これらの端子から、その画像や音声を入力する。   The AV terminal unit 43 is provided with an S video input terminal, a composite signal video input terminal, and two audio input terminals (pin jacks) of L (Left) and R (Right) channels. When editing an image or sound recorded by a video camera or VTR (Video Tape Recorder), the image and sound are input from these terminals.

図4は、本体31の背面の詳細構成例を示している。   FIG. 4 shows a detailed configuration example of the back surface of the main body 31.

本体31の背面の右上には、電源入力端子71が設けられており、ここに、電源コード(図示せず)を接続することで、本体31に電源が供給される。   A power input terminal 71 is provided on the upper right of the back surface of the main body 31, and power is supplied to the main body 31 by connecting a power cord (not shown) thereto.

また、背面の左上には、キーボード端子72とマウス端子73とが設けられており、このキーボード端子72またはマウス端子73に、キーボード21またはマウス22がそれぞれ接続される。マウス端子73の下部には、USB(Universal Serial Bus)端子74が設けられており、ここには、USB規格に対応した機器が接続される。さらに、その下部には、プリンタ端子75および2つのシリアル端子76が設けられている。プリンタ端子75には、プリンタやイメージスキャナなどが接続される。また、シリアル端子76には、例えば、赤外線通信アダプタなどが接続される。即ち、本実施の形態では、シリアル端子76に、赤外線通信用のインターフェイスである赤外線通信アダプタを接続することにより、本体31と他の機器との間で、赤外線通信を行うことができるようになされている。   In addition, a keyboard terminal 72 and a mouse terminal 73 are provided on the upper left of the back surface, and the keyboard 21 or the mouse 22 is connected to the keyboard terminal 72 or the mouse terminal 73, respectively. A USB (Universal Serial Bus) terminal 74 is provided below the mouse terminal 73, and a device conforming to the USB standard is connected thereto. Further, a printer terminal 75 and two serial terminals 76 are provided at the lower part thereof. A printer or an image scanner is connected to the printer terminal 75. The serial terminal 76 is connected to, for example, an infrared communication adapter. That is, in this embodiment, by connecting an infrared communication adapter, which is an interface for infrared communication, to the serial terminal 76, infrared communication can be performed between the main body 31 and another device. ing.

プリンタ端子75の下部には、ゲーム端子77が設けられており、ゲーム端子77には、例えば、ジョイスティックやMIDI(Musical Instrument Digtal Interface)機器が接続される。   A game terminal 77 is provided below the printer terminal 75. For example, a joystick or a MIDI (Musical Instrument Digital Interface) device is connected to the game terminal 77.

シリアル端子76の下部には、ヘッドフォン端子78、ライン入力端子79、およびマイクロフォン端子80が、順次設けられている。ヘッドフォン端子78には、例えば、外部スピーカが、ライン入力端子79には、オーディオ機器が、マイクロフォン端子80には、マイク24(図1、図2)が、それぞれ接続される。   Below the serial terminal 76, a headphone terminal 78, a line input terminal 79, and a microphone terminal 80 are sequentially provided. For example, an external speaker is connected to the headphone terminal 78, an audio device is connected to the line input terminal 79, and a microphone 24 (FIGS. 1 and 2) is connected to the microphone terminal 80.

なお、以上の端子の右側には、それぞれの端子に何を接続するかを表した絵が表示されている。   On the right side of the above terminals, a picture showing what is connected to each terminal is displayed.

マイクロフォン端子80の下部には、コンポジット信号用の映像出力端子81、S映像出力端子82、およびモニタ端子83が設けられている。映像出力端子81またはS映像出力端子82からは、コンポジットの映像信号またはS映像が出力される。モニタ端子83は、ディスプレイ51と接続される。   Below the microphone terminal 80, a video output terminal 81 for composite signals, an S video output terminal 82, and a monitor terminal 83 are provided. From the video output terminal 81 or the S video output terminal 82, a composite video signal or S video is output. The monitor terminal 83 is connected to the display 51.

映像出力端子81、S映像出力端子82、およびモニタ端子83の下部には、AV端子部84が設けられている。AV端子部84には、正面のAV端子部43と同様に、S映像入力端子、コンポジット信号用の映像入力端子、LおよびRチャンネルの音声入力端子が設けられている。   An AV terminal portion 84 is provided below the video output terminal 81, the S video output terminal 82, and the monitor terminal 83. Similar to the front AV terminal 43, the AV terminal 84 is provided with an S video input terminal, a video input terminal for composite signals, and audio inputs for L and R channels.

AV端子部84の右側には、アンテナ端子85が設けられており、これにより、例えば、VHF(Very High Frequency)帯およびUHF(Ultra High Frequency)帯のテレビジョン信号を受信することができるようになされている。   An antenna terminal 85 is provided on the right side of the AV terminal portion 84 so that, for example, television signals in a VHF (Very High Frequency) band and a UHF (Ultra High Frequency) band can be received. Has been made.

さらに、背面の下部には、ラインジャック86とテレフォンジャック87が設けられている。ラインジャック86は、電話回線と接続され、テレフォンジャック87は、例えば、電話機やファクシミリなどと接続される。   Furthermore, a line jack 86 and a telephone jack 87 are provided at the lower part of the back surface. The line jack 86 is connected to a telephone line, and the telephone jack 87 is connected to, for example, a telephone or a facsimile.

次に、図5は、図1および図2のコンピュータの電気的構成例を示している。   Next, FIG. 5 shows an example of the electrical configuration of the computer shown in FIGS.

本実施の形態では、コンピュータは、TV(Television)チューナ213Aを内蔵したMPEG(Moving Picture Experts Group)1リアルタイムエンコーダボード213を内蔵するとともに、アプリケーションプログラムとして、画像の編集、記録、再生、MPEGデコード、その他の画像処理を行うためのものを標準装備しており、これにより、ビデオカメラ214で撮影された画像や音声の編集、そして、その編集後の画像、音声を記録したビデオCDの制作などを、容易に行うことができるようになされている。また、TVチューナ213Aで受信したテレビジョン放送番組を録画し、さらに、その録画を行いながら、既に録画済みの映像(画像)の任意の場面の再生なども、容易に行うことができるようになされている。   In the present embodiment, the computer incorporates a moving picture experts group (MPEG) 1 real-time encoder board 213 incorporating a TV (Television) tuner 213A, and as application programs, image editing, recording, reproduction, MPEG decoding, It is equipped as standard equipment for performing other image processing. This enables editing of images and audio captured by the video camera 214, and production of a video CD that records the edited image and audio. It has been made easy to do. In addition, a television broadcast program received by the TV tuner 213A can be recorded, and further, while the recording is being performed, an arbitrary scene of a recorded video (image) can be easily reproduced. ing.

即ち、マイクロプロセッサ201は、ハードディスク212に記録された、例えば、マイクロソフト社製のウインドウズ95(Windows(登録商標)95)などのオペレーティングシステムの制御の下、同じくハードディスク212に記録された各種のアプリケーションプログラムを実行することで、例えば、画像の記録、再生、編集、デコード処理や、その他の所定の処理を行う。なお、マイクロプロセッサ201としては、例えば、インテル社製の、Pentium(登録商標) ProにMMXテクノロジと16ビットコードへの最適化を加えたPentium(登録商標)IIプロセッサ(266MHz,内蔵2次キャッシュメモリ(図示せず)512KB)などが採用されており、これにより、画像や音声などの大量のデータを処理する場合でも、高いパフォーマンスを発揮することができるようになされている(Pentium(登録商標),MMXは商標)。   That is, the microprocessor 201 records various application programs recorded on the hard disk 212 under the control of an operating system such as Microsoft Windows 95 (Windows (registered trademark) 95). By executing the above, for example, image recording, reproduction, editing, decoding processing, and other predetermined processing are performed. As the microprocessor 201, for example, Pentium (registered trademark) II processor (266 MHz, built-in secondary cache memory obtained by adding optimization to MMX technology and 16-bit code to Pentium (registered trademark) Pro manufactured by Intel Corporation. (Not shown) 512 KB) and the like are adopted so that even when processing a large amount of data such as images and sounds, high performance can be exhibited (Pentium (registered trademark)). MMX is a trademark).

メインメモリ202は、マイクロプロセッサ201が実行するプログラムや、マイクロプロセッサ201の動作上必要なデータを記憶する。ここで、メインメモリ202は、例えば、標準で、32MB搭載されており、これにより、データ量の多い画像などの処理も高速で行うことができるようになされている。なお、メインメモリ202は、最大で、例えば、128MBまで拡張することができるようになされている。   The main memory 202 stores programs executed by the microprocessor 201 and data necessary for the operation of the microprocessor 201. Here, the main memory 202 is mounted, for example, as standard by 32 MB, so that processing of an image with a large amount of data can be performed at high speed. The main memory 202 can be expanded up to, for example, 128 MB.

バスブリッジ204は、内部バスと、例えばPCI(Peripheral Component Interconnect)ローカルバスやISA(Industry Standard Architecture)バスなどの拡張バスとの間でのデータのやりとりを制御する。   The bus bridge 204 controls data exchange between the internal bus and an expansion bus such as a PCI (Peripheral Component Interconnect) local bus or an ISA (Industry Standard Architecture) bus.

以上のマイクロプロセッサ201、メインメモリ202、およびバスブリッジ204は、相互に、内部バスを介して接続されており、残りのブロックは、拡張バスを介して相互に接続されている。なお、バスブリッジ204は、内部バスと拡張バスとの両方に接続されている。   The microprocessor 201, the main memory 202, and the bus bridge 204 are connected to each other via an internal bus, and the remaining blocks are connected to each other via an expansion bus. The bus bridge 204 is connected to both the internal bus and the expansion bus.

モデム206は、例えば、33.6Kbps(bit per second)のDSVD/DATA/FAXモデムで、電話回線を介しての通信を制御する。モデム206においては、例えば、インターネットなどから画像や音声などを受信し、これをエンコードや編集などの処理の対象とすることができる。さらにモデム206では、編集や符号化などした画像や音声などを、外部に送信することもできる。また、モデム206において、マイク24に入力された音声を送信するとともに、送信されてきた音声を受信して、スピーカ59,60から出力することで、ハンズフリーフォンが実現される。なお、モデム206をFAXモデムとして使用する場合、転送レートは、例えば14.4Kbpsとされる。   The modem 206 is a DSVD / DATA / FAX modem of 33.6 Kbps (bit per second), for example, and controls communication via a telephone line. In the modem 206, for example, an image or sound can be received from the Internet or the like, and this can be a target of processing such as encoding or editing. Further, the modem 206 can also transmit images and sounds that have been edited and encoded to the outside. In addition, the modem 206 transmits the voice input to the microphone 24, receives the transmitted voice, and outputs it from the speakers 59 and 60, thereby realizing a hands-free phone. When the modem 206 is used as a FAX modem, the transfer rate is set to 14.4 Kbps, for example.

I/O(Input/Output)インターフェイス207は、キーボード21やマウス22の操作に対応した操作信号を出力し、また、マイク24から出力される電気信号としての音声信号を受け付けるインターフェイスとして機能する。   An I / O (Input / Output) interface 207 functions as an interface that outputs an operation signal corresponding to the operation of the keyboard 21 and the mouse 22 and receives an audio signal as an electric signal output from the microphone 24.

補助記憶インターフェイス210は、CD−R(Compact Disc Recodable)ディスク211や、CD−ROMディスク(図示せず),ハードディスク(HD(Hard Disk))212,FD(図示せず)などに対するデータの読み書きをするためのインターフェイスとして機能する。   The auxiliary storage interface 210 reads / writes data from / to a CD-R (Compact Disc Recodable) disk 211, a CD-ROM disk (not shown), a hard disk (HD (Hard Disk)) 212, an FD (not shown), and the like. To act as an interface for

CD−Rディスク211には、例えば、エンコーダボード213で符号化された画像や音声などが記録され、これにより、ユーザオリジナルのビデオCDを制作することができるようになされている。なお、CDドライブ42は、CD−R FSにも対応している。また、ここでは、CD−Rディスク211へは、最大で、例えば、約650MB(CD−R FS時には約520MB)の書き込みを行うことができるようになされている。   On the CD-R disc 211, for example, images and sounds encoded by the encoder board 213 are recorded, so that a user-original video CD can be produced. Note that the CD drive 42 also supports CD-R FS. Further, here, for example, about 650 MB (about 520 MB at the time of CD-R FS) can be written to the CD-R disc 211 at the maximum.

ハードディスク212は、例えば、高速バスマスタIDE(Integrated Drive Electronics)転送対応の4.3GB(ギガバイト)のもので、そこには、例えば、エンコーダボード213で圧縮符号化されたデータや、マイクロプロセッサ201の処理上必要なデータなどが記録される。なお、本体31には、SCSI(Small Computer System Interface)ボードを取り付けることができるようになされており、これにより、SCSIインターフェイスを有するハードディスク(ドライブ)を増設することができるようになされている。   The hard disk 212 is, for example, 4.3 GB (gigabyte) compatible with high-speed bus master IDE (Integrated Drive Electronics) transfer, and includes, for example, data compressed and encoded by the encoder board 213 and processing of the microprocessor 201. The necessary data etc. are recorded. In addition, a SCSI (Small Computer System Interface) board can be attached to the main body 31, whereby a hard disk (drive) having a SCSI interface can be added.

また、ハードディスク212には、オペレーティングシステム、さらには、画像の記録、再生、編集、デコード、その他処理を、マイクロプロセッサ201に実行させるためのアプリケーションプログラムなどが記録されている。   The hard disk 212 stores an operating system, and further, an application program for causing the microprocessor 201 to execute image recording, reproduction, editing, decoding, and other processing.

即ち、ここでは、画像の記録、再生、編集、その他の、いわゆるビデオ制作のためのアプリケーションプログラムとして、「Slipclip」(スリップクリップ)と呼ばれるものが内蔵されている。   That is, here, a so-called “Slipclip” (slip clip) is incorporated as an application program for image recording, playback, editing, and other so-called video production.

ここで、「Slipclip」は、「スリップレコーダー」、「クリップエディター」、「クリップビューワー」、「ビデオCDクリエーター」、および「ビデオCDコピーツール」と呼ばれる5つのアプリケーションプログラムで構成されている。   Here, “Slipclip” is composed of five application programs called “slip recorder”, “clip editor”, “clip viewer”, “video CD creator”, and “video CD copy tool”.

「スリップレコーダー」は、画像および音声を記録したり、また、記録した画像や音声を再生するときに使用される。「クリップエディター」は、記録した画像(およびそれに付随する音声)を編集するときに使用される。「クリップビューワー」は、記録した画像や音声を管理するときに使用される。「ビデオCDクリエーター」は、編集した画像等を、CD−Rディスク211に記録して、ビデオCDを制作するときに使用される。「ビデオCDコピーツール」は、以前に制作したビデオCDと同一のビデオCDのコピーを制作するときに使用される。   The “slip recorder” is used when recording images and sounds, and reproducing recorded images and sounds. The “clip editor” is used when editing a recorded image (and sound accompanying it). The “clip viewer” is used when managing recorded images and sounds. The “video CD creator” is used when an edited image or the like is recorded on the CD-R disc 211 to produce a video CD. The “video CD copy tool” is used when producing a copy of the same video CD as the previously produced video CD.

なお、本実施の形態では、ビデオCDの、いわゆる海賊盤の制作を防止するため、ビデオCDの制作やコピーは、本体31において編集等を行った画像のみを対象に行うことができるようになされている。   In this embodiment, in order to prevent the production of a so-called pirated board of a video CD, the production and copying of the video CD can be performed only for images that have been edited in the main body 31. ing.

ここで、以下においては、「スリップレコーダー」、「クリップエディター」、「クリップビューワー」、「ビデオCDクリエーター」、「ビデオCDコピーツール」のうち、画像の記録、再生、編集に、特に関係する「スリップレコーダー」、「クリップエディター」、「クリップビューワー」について説明する。   Here, in the following, among “Slip Recorder”, “Clip Editor”, “Clip Viewer”, “Video CD Creator”, and “Video CD Copy Tool” “ “Slip Recorder”, “Clip Editor”, and “Clip Viewer” will be explained.

ハードディスク212には、さらに、エンコーダボード213でエンコードされたデータのデコードを、マイクロプロセッサ201に実行させるためのアプリケーションプログラムとして、例えば、MPEG1の規格に準拠したデコードを行うものが記録されている。即ち、ここでは、画像のエンコードはハードウェアで、そのデコードはソフトウェアで実現されている。なお、画像のエンコードはソフトウェアで実現することも可能であるし、また、デコードはハードウェアで実現することも可能である。   The hard disk 212 further records, as an application program for causing the microprocessor 201 to decode data encoded by the encoder board 213, for example, a program that performs decoding based on the MPEG1 standard. That is, here, image encoding is realized by hardware, and decoding thereof is realized by software. Note that image encoding can be realized by software, and decoding can also be realized by hardware.

エンコーダボード(MPEG1リアルタイムエンコーダボード)213は、画像および音声を、リアルタイムで、例えば、MPEG1の規格に準拠してエンコードするもので、例えば、高画質録画のための高ビットレートでのエンコードや、伝送のための低ビットレートでのエンコードなど、4種類の録画モードでのエンコードを行うことができるようになされている。ここで、4種類の録画モードには、後述するように、ビットレートの高い順に、「High」、「Normal」、「Long」、「Network」と呼ばれるものがある。なお、録画モード「Normal」は、ビデオCDの規格に準拠したもので、このモードでエンコードを行った場合、1GB当たり、約100分程度の記録を行うことができる。   The encoder board (MPEG1 real-time encoder board) 213 encodes images and sound in real time in accordance with, for example, the MPEG1 standard. For example, encoding and transmission at a high bit rate for high-quality recording. For example, encoding in four types of recording modes such as encoding at a low bit rate can be performed. Here, as will be described later, there are four types of recording modes called “High”, “Normal”, “Long”, and “Network” in descending order of bit rate. The recording mode “Normal” conforms to the video CD standard, and when encoding is performed in this mode, recording can be performed for about 100 minutes per 1 GB.

エンコーダボード213は、上述したように、テレビジョン放送番組を受信するTVチューナ213Aを内蔵しており、このTVチューナ213Aが受信した番組をMPEGエンコードする。また、エンコーダボード213は、拡張バスを介して供給されるデータや、AV処理回路215を介して供給されるデータ(例えば、VTR216が再生した画像など)、さらには、外部の装置である、例えば、ビデオカメラ214から供給されるデータなどもエンコードすることができるようになされている。   As described above, the encoder board 213 includes the TV tuner 213A that receives a television broadcast program, and MPEG-encodes the program received by the TV tuner 213A. The encoder board 213 is data supplied via the expansion bus, data supplied via the AV processing circuit 215 (for example, an image reproduced by the VTR 216), and an external device. The data supplied from the video camera 214 can also be encoded.

なお、TVチューナ213Aは、例えば、1乃至62の62チャンネルの設定が可能で、また、オーディオについては、例えば、ステレオおよび2カ国語の受信が可能となっている。   The TV tuner 213A can set, for example, 62 channels from 1 to 62, and the audio can receive, for example, stereo and bilingual.

ビデオカメラ214では、例えば、画像の撮影などが行われ、エンコーダボード213に供給される。なお、エンコーダボード213は、ビデオカメラ214とのインターフェイスを有しており、これにより、ビデオカメラ214で撮影された画像や音声をエンコーダボード213に入力することができるようになされている。   In the video camera 214, for example, an image is taken and supplied to the encoder board 213. Note that the encoder board 213 has an interface with the video camera 214, so that an image and sound captured by the video camera 214 can be input to the encoder board 213.

AV処理回路215は、例えば、VGA(Video Graphics Array)や3次元アクセラレータ(いずれも図示せず)などで構成され、ディスプレイ51におけるグラフィックスその他の表示に必要な処理を行うようになされている。さらに、AV処理回路215は、スピーカ59,60への音声出力に必要な処理も行うようになされている。また、AV処理回路215は、NTSCエンコーダ215Aを内蔵しており、例えば、VTR216に画像を出力する場合には、NTSCエンコーダ215Aにおいて、画像を、NTSC方式に準拠したものに変換してから出力する。   The AV processing circuit 215 includes, for example, a VGA (Video Graphics Array), a three-dimensional accelerator (none of which is shown), and performs processing necessary for graphics and other displays on the display 51. Further, the AV processing circuit 215 performs processing necessary for audio output to the speakers 59 and 60. Also, the AV processing circuit 215 has a built-in NTSC encoder 215A. For example, when outputting an image to the VTR 216, the NTSC encoder 215A outputs the image after converting the image into one conforming to the NTSC system. .

さらに、AV処理回路215は、エンコーダボード213と、例えば、AMCバスなどを介して接続されている。エンコーダボード213は、MPEGエンコードする画像を、後述するフレームメモリ110(図6)に一旦記憶するようになされており、MPEGエンコードする画像をモニタすることが指示された場合には、このフレームメモリ110に記憶された画像が、エンコーダボード213から、AMCバスを介して、AV処理回路215に供給され、これにより、ディスプレイ51において、その画像が表示されるようになされている。   Furthermore, the AV processing circuit 215 is connected to the encoder board 213 via, for example, an AMC bus. The encoder board 213 temporarily stores an MPEG-encoded image in a frame memory 110 (FIG. 6), which will be described later. When instructed to monitor an MPEG-encoded image, the frame memory 110 The image stored in is supplied from the encoder board 213 to the AV processing circuit 215 via the AMC bus, whereby the display 51 displays the image.

なお、AV処理回路215は、VRAM(Video RAM(Random Access Memory))203に描画を行い、その描画内容を、ディスプレイ51に出力することで、画像の表示を行わせるようになされている。   The AV processing circuit 215 performs drawing on a VRAM (Video RAM (Random Access Memory)) 203 and outputs the drawing contents to the display 51 to display an image.

VTR216は、AV処理回路215が出力する画像や音声を、必要に応じて記録する。   The VTR 216 records images and sounds output from the AV processing circuit 215 as necessary.

次に、図6は、図5のエンコーダボード213の構成例を示している。なお、図6においては、MPEGエンコードに関係するブロックのみを図示してあり、その他のブロック、即ち、例えば、TVチューナ213を構成するブロックなどの図示は省略してある。さらに、図6には、画像のMPEGエンコードに関係するブロックのみを示してあり、音声のMPEGエンコードに関係するブロックの図示は省略してある。   Next, FIG. 6 shows a configuration example of the encoder board 213 of FIG. In FIG. 6, only blocks related to MPEG encoding are shown, and other blocks, that is, blocks constituting the TV tuner 213, for example, are omitted. Further, FIG. 6 shows only blocks related to MPEG encoding of images, and illustration of blocks related to MPEG encoding of audio is omitted.

入力端子101には、所定の画素数で構成される1フレームのディジタル画像データが、例えば、1秒間に約30フレームなどの割合で供給される。   One frame of digital image data composed of a predetermined number of pixels is supplied to the input terminal 101 at a rate of, for example, about 30 frames per second.

入力端子101に供給された画像データは、その画像データを一時的に蓄え、所定の順番に入れ替えるための、複数枚(例えば、27フレーム分など)の画像の記憶が可能なフレームメモリ110を介して、ブロック分割器111および動き検出器120に転送される。ブロック分割器111は、フレームメモリ110から供給される画像データのフレームを、例えば、8×8画素の輝度成分、クロマ成分Cb,Crのブロックに分割する。ここで、4つの輝度成分のブロックと、それに対応する1つずつのクロマ成分Cb,Crのブロックとの合計6つのブロックで、マクロブロック(MB)が構成される。   The image data supplied to the input terminal 101 is stored in a frame memory 110 capable of storing a plurality of images (for example, 27 frames) for temporarily storing the image data and switching them in a predetermined order. Are transferred to the block divider 111 and the motion detector 120. The block divider 111 divides the frame of the image data supplied from the frame memory 110 into, for example, blocks of 8 × 8 pixel luminance components and chroma components Cb and Cr. Here, a total of six blocks including four luminance component blocks and one corresponding chroma component Cb, Cr block constitute a macro block (MB).

ブロック分割器111からは、画像データが、マクロブロック単位で、差分器112に供給される。差分器112は、ブロック分割器111からの画像データと、後述するフレーム間予測画像データとの差分をとり、その差分値を、後述するフレーム間予測符号化が行われるフレームのデータとして、切換スイッチ113の被切換端子bに供給する。また、切換スイッチ113の被切換端子aには、ブロック分割器111が出力する画像データが、後述するフレーム内符号化が行われるフレームのデータとして供給される。   Image data is supplied from the block divider 111 to the differentiator 112 in units of macroblocks. The differentiator 112 takes a difference between image data from the block divider 111 and inter-frame prediction image data described later, and uses the difference value as data of a frame on which inter-frame prediction encoding described later is performed. 113 to the switched terminal b. Further, the image data output from the block divider 111 is supplied to the switched terminal a of the changeover switch 113 as data of a frame to be subjected to intra-frame encoding described later.

切換スイッチ113は、端子aまたはbのうちのいずれかを選択し、これにより選択された方の端子に供給された画像データが、ブロック単位でDCT(離散コサイン変換)回路14に供給される。DCT回路114は、そこに入力される画像データをDCT処理し、その結果得られるDCT係数を量子化器115に出力する。量子化器115は、DCT回路114からのDCT係数を、所定の量子化ステップで量子化し、その結果得られる量子化係数をジグザグスキャン回路116に出力する。   The change-over switch 113 selects either the terminal a or b, and the image data supplied to the terminal selected thereby is supplied to a DCT (Discrete Cosine Transform) circuit 14 in units of blocks. The DCT circuit 114 performs DCT processing on the image data input thereto, and outputs the resulting DCT coefficient to the quantizer 115. The quantizer 115 quantizes the DCT coefficient from the DCT circuit 114 at a predetermined quantization step, and outputs the resulting quantized coefficient to the zigzag scan circuit 116.

ジグザグスキャン回路116は、ブロック単位の量子化係数を、例えば、ジグザグスキャンし、その順番で、VLC(可変長符号化)回路117に出力する。VLC回路117は、ジグザグスキャン回路116からの量子化係数をVLC処理し、その結果得られる可変長符号化データを出力バッファ118に供給する。出力バッファ118は、例えば、160KBの記憶容量を有し、VLC回路117からの可変長符号化データを一時記憶することにより、その出力のデータ量を平滑化等して、出力端子102から出力する。出力端子102から出力されたデータは、例えば、ハードディスク212に供給されて記録される。   The zigzag scan circuit 116 performs, for example, zigzag scan on the block-unit quantization coefficients, and outputs them to the VLC (variable length coding) circuit 117 in that order. The VLC circuit 117 performs VLC processing on the quantization coefficient from the zigzag scan circuit 116 and supplies variable length encoded data obtained as a result to the output buffer 118. The output buffer 118 has a storage capacity of 160 KB, for example, temporarily stores the variable-length encoded data from the VLC circuit 117, smooths the output data amount, and outputs it from the output terminal 102. . Data output from the output terminal 102 is supplied to the hard disk 212 and recorded, for example.

また、出力バッファ118は、そのデータ蓄積量を、量子化ステップ制御器119に出力する。量子化ステップ制御器119は、出力バッファ118からのデータ蓄積量に基づき、出力バッファ118がオーバーフローおよびアンダーフローしないように量子化ステップを設定し、量子化器115に出力する。上述した量子化器115では、このようにして量子化ステップ制御器119から供給される量子化ステップにしたがって量子化が行われる。   Further, the output buffer 118 outputs the data accumulation amount to the quantization step controller 119. The quantization step controller 119 sets a quantization step based on the data accumulation amount from the output buffer 118 so that the output buffer 118 does not overflow and underflow, and outputs the quantization step to the quantizer 115. In the quantizer 115 described above, quantization is performed according to the quantization step supplied from the quantization step controller 119 in this way.

一方、量子化器115が出力する量子化係数は、ジグザグスキャン回路116だけでなく、逆量子化器126にも供給される。逆量子化器126は、量子化器115からの量子化係数を逆量子化することでDCT係数とし、逆DCT回路125に出力する。逆DCT回路125は、DCT係数を逆DCT処理し、その結果得られるデータを加算器124に供給する。さらに、加算器124には、フレーム間予測符号化のフレームを処理するときにオンとなる切換スイッチ123を介し、動き補償器121が出力するフレーム間予測画像データも供給されるようになされている。加算器124は、これらのデータを加算し、フレームメモリ122に供給して記憶させる。   On the other hand, the quantization coefficient output from the quantizer 115 is supplied not only to the zigzag scan circuit 116 but also to the inverse quantizer 126. The inverse quantizer 126 dequantizes the quantization coefficient from the quantizer 115 to obtain a DCT coefficient and outputs the DCT coefficient to the inverse DCT circuit 125. The inverse DCT circuit 125 performs inverse DCT processing on the DCT coefficient, and supplies the resultant data to the adder 124. Furthermore, the adder 124 is also supplied with inter-frame prediction image data output from the motion compensator 121 via a change-over switch 123 that is turned on when processing a frame of inter-frame prediction encoding. . The adder 124 adds these data and supplies the data to the frame memory 122 for storage.

そして、動き補償器121は、動き検出器120から供給される動きベクトルにしたがって、フレームメモリ122に記憶されたデータを動き補償し、その結果得られるフレーム間予測画像データを、差分器112および切換スイッチ123に供給する。   Then, the motion compensator 121 performs motion compensation on the data stored in the frame memory 122 in accordance with the motion vector supplied from the motion detector 120, and the inter-frame prediction image data obtained as a result is switched to the difference unit 112 and the switching unit. Supply to switch 123.

ここで、符号化対象の画像(動画像)を構成する各フレームを表示順に並べて、その先頭から、I0,B1,B2,P3,B4,B5,P6,B7,B8,I9,B10,B11,B12,・・・と記述する。上述のI,P,Bは、そのフレームがIピクチャ、Pピクチャ、Bピクチャであることを示しており、I,P,Bに続く数字は、表示順序を表している。   Here, the frames constituting the encoding target image (moving image) are arranged in the display order, and from the head, I0, B1, B2, P3, B4, B5, P6, B7, B8, I9, B10, B11, It describes as B12, .... The above I, P, and B indicate that the frame is an I picture, a P picture, and a B picture, and the numbers following I, P, and B indicate the display order.

MPEGでは、まず画像I0が符号化される。次に、画像P3が符号化されるが、画像P3そのものが符号化されるのではなく、画像P3とI0との差分が符号化される。さらに、その次に、画像B1が符号化されるが、画像B1そのものが符号化されるのではなく、画像B1と、画像I0若しくはP3のうちのいずれか一方、またはその両方の平均値との差分が符号化される。この場合、画像I0,P3、またはその両方の平均値のうちの、いわゆる予測残差を最も小さくするもの(符号化して得られるデータ量が最も少なくなるもの)が選択され、それと画像B1と差分が符号化される。   In MPEG, an image I0 is first encoded. Next, the image P3 is encoded, but the image P3 itself is not encoded, but the difference between the images P3 and I0 is encoded. Further, next, the image B1 is encoded, but the image B1 itself is not encoded, but the image B1 and one of the images I0 and P3, or the average value of both are calculated. The difference is encoded. In this case, of the average values of the images I0, P3, or both, the one that minimizes the so-called prediction residual (the one that minimizes the amount of data obtained by encoding) is selected and the difference from the image B1 Are encoded.

画像B1の符号化後は、画像B2が符号化されるが、画像B2そのものが符号化されるのではなく、やはり、画像B2と、画像I0若しくはP3のうちのいずれか一方、またはその両方の平均値との差分が符号化される。また、この場合も、画像I0,P3、またはその両方の平均値のうちの予測残差を最も小さくするものが選択され、それと画像B2と差分が符号化される。   After the image B1 is encoded, the image B2 is encoded, but the image B2 itself is not encoded, and the image B2 and either the image I0 or the image P3, or both The difference from the average value is encoded. Also in this case, the average of the images I0 and P3, or both of them is selected which minimizes the prediction residual, and the difference between the image B2 and the image B2 is encoded.

その後、画像P6が符号化されるが、画像P6そのものが符号化されるのではなく、画像P6とP3との差分が符号化される。以下、同様の手順で符号化が行われていく。   Thereafter, the image P6 is encoded, but the image P6 itself is not encoded, but the difference between the images P6 and P3 is encoded. Thereafter, encoding is performed in the same procedure.

ここで、符号化対象の画像と、その際に差分をとる相手となる画像との対応関係を、符号化順に、以下に示す。
符号化順 符号化対象の画像 差分をとる相手となる画像
(1) I0 −
(2) P3 I0またはP3
(3) B1 I0またはP3
(4) B2 I0またはP3
(5) P6 P3
(6) B4 P3またはP6
(7) B5 P3またはP6
(8) P9 P6
(9) B7 P6またはP9
(10) B8 P6またはP9
(11) I9 −
(12) P12 I9
(13) B10 I9またはP12
(14) B11 I9またはP12


Here, the correspondence relationship between the image to be encoded and the image to be a partner that takes the difference at that time is shown below in the order of encoding.
Coding order Image to be encoded Image to be the partner of difference (1) I0 −
(2) P3 I0 or P3
(3) B1 I0 or P3
(4) B2 I0 or P3
(5) P6 P3
(6) B4 P3 or P6
(7) B5 P3 or P6
(8) P9 P6
(9) B7 P6 or P9
(10) B8 P6 or P9
(11) I9 −
(12) P12 I9
(13) B10 I9 or P12
(14) B11 I9 or P12


以上のように、符号化順序は、I0,P3,B1,B2,P6,B4,B5,P9,B7,B8,I9,P12,B10,B11,・・・となり、表示順序とは異なる順序になる。符号化後のデータは、このような順番で出力される。   As described above, the encoding order is I0, P3, B1, B2, P6, B4, B5, P9, B7, B8, I9, P12, B10, B11,. Become. The encoded data is output in this order.

なお、PピクチャおよびBピクチャについては、上述したように、他の画像との差分が符号化されるのが通常であるが、画像そのものを符号化した方が、差分を符号化するよりも、そのデータ量が少なくなる場合には、画像そのものが符号化される。   As described above, the difference between the P picture and the B picture is usually encoded with another image. However, encoding the image itself is more preferable than encoding the difference. When the amount of data decreases, the image itself is encoded.

図6のエンコーダボード213では、以上のようにしてエンコードが行われる。   In the encoder board 213 of FIG. 6, encoding is performed as described above.

従って、1枚目の画像I0の符号化時には、その画像データが、フレームメモリ110から読み出され、ブロック分割器111に供給されてブロック化される。ブロック分割器111によるブロック化により、画像データは、上述した4つの輝度ブロックと、Cb,Crのブロックとにされ、順次出力される。Iピクチャの符号化時においては、切換スイッチ113は、被切換端子aを選択しており、従って、ブロック分割器111が出力する画像データは、切換スイッチ113を介して、DCT回路114に供給される。DCT回路114では、そこに供給されるブロック単位の画像データに対して、縦横2次元のDCT処理が施され、これにより時間軸上の画像データが、周波数軸上のデータとしてのDCT係数に変換される。   Therefore, at the time of encoding the first image I0, the image data is read from the frame memory 110 and supplied to the block divider 111 to be blocked. As a result of the block division by the block divider 111, the image data is divided into the four luminance blocks described above and the Cb and Cr blocks, which are sequentially output. At the time of encoding an I picture, the changeover switch 113 selects the switched terminal a, so that the image data output from the block divider 111 is supplied to the DCT circuit 114 via the changeover switch 113. The The DCT circuit 114 performs two-dimensional vertical and horizontal DCT processing on the block unit image data supplied thereto, thereby converting the image data on the time axis into DCT coefficients as data on the frequency axis. Is done.

このDCT係数は、量子化器115に供給され、そこで、量子化ステップ制御器119からの量子化ステップにしたがって量子化され、量子化係数とされる。この量子化係数は、ジグザグスキャン回路116でジグザグスキャンされて、その順番で出力される。   This DCT coefficient is supplied to the quantizer 115, where it is quantized according to the quantization step from the quantization step controller 119 to obtain a quantized coefficient. The quantized coefficients are zigzag scanned by the zigzag scan circuit 116 and output in that order.

ジグザグスキャン回路116から出力された量子化係数は、VLC回路117に供給され、そこで、いわゆるハフマンコーディングなどの可変長符号化処理が施される。この結果得られる可変長符号化データは、出力バッファ118に一旦蓄えられた後、一定のビットレートで出力される。従って、出力バッファ118は、不規則に発生するデータを一定のビットレートで出力することができるようにするための、いわば緩衝のためのメモリの役割を果たす。   The quantization coefficient output from the zigzag scan circuit 116 is supplied to the VLC circuit 117, where variable length encoding processing such as so-called Huffman coding is performed. The variable length encoded data obtained as a result is temporarily stored in the output buffer 118 and then output at a constant bit rate. Therefore, the output buffer 118 serves as a buffer memory so that irregularly generated data can be output at a constant bit rate.

以上のように、Iピクチャ(Intra Picture)である画像I0は、それ単独で符号化されるが、このような符号化は、フレーム内(イントラ(Intra))符号化と呼ばれる。なお、フレーム内符号化された画像のデコードは、上述の逆の手順で行われる。   As described above, the image I0 that is an I picture (Intra Picture) is encoded by itself, but such encoding is called intra-frame (Intra) encoding. Note that the decoding of the intra-coded image is performed in the reverse procedure described above.

次に、2枚目の画像P3の符号化について説明する。2枚目以降の画像もIピクチャとして符号化することが可能であるが、それでは、圧縮率が低くなる。そこで、連続する画像には相関があることを利用して、2枚目以降の画像は、次のように符号化される。   Next, encoding of the second image P3 will be described. The second and subsequent images can also be encoded as an I picture, but this reduces the compression rate. Therefore, the second and subsequent images are encoded as follows using the fact that there is a correlation between consecutive images.

即ち、動き検出器120は、2枚目の画像P3を構成するマクロブロックごとに、1枚目の画像I0の中から、マクロブロックに良く似た部分を検出し、その部分と、対応するマクロブロックとの相対的な位置関係のずれを表すベクトルを、動きベクトルとして検出する。ここで、動きベクトルの検出方法については、例えば、ISO/ISC 11172−2 annex D.6.2などに開示されているので、ここでは、その説明は省略する。   That is, the motion detector 120 detects, for each macroblock constituting the second image P3, a portion that closely resembles the macroblock from the first image I0, and the corresponding macroblock. A vector representing a positional shift relative to the block is detected as a motion vector. Here, for a motion vector detection method, for example, ISO / ISC 11172-2 annex D.D. Since it is disclosed in 6.2 etc., the description thereof is omitted here.

そして、2枚目の画像P3については、そのブロックを、そのままDCT回路114に供給するのではなく、各ブロックごとの動きベクトルにしたがって動き補償を行うことにより1枚目の画像I0から得られるブロックとの差分を、差分器112で演算して、DCT回路114に供給する。   For the second image P3, the block obtained from the first image I0 by performing motion compensation according to the motion vector for each block, instead of supplying the block to the DCT circuit 114 as it is. Is calculated by the differentiator 112 and supplied to the DCT circuit 114.

ここで、1枚目の画像I0を、動きベクトルにしたがって動き補償して得られるブロックと、2枚目の画像P3のブロックとの間の相関が高ければ、それらの差分は小さくなり、2枚目の画像P3のブロックをイントラ符号化するよりも、差分を符号化した方が、符号化の結果得られるデータ量は少なくなる。   Here, if the correlation between the block obtained by motion compensation of the first image I0 according to the motion vector and the block of the second image P3 is high, the difference between them becomes small. The amount of data obtained as a result of the encoding is smaller when the difference is encoded than when the block of the eye image P3 is intra-encoded.

このように差分を符号化する手法は、フレーム間(インター(Inter))符号化と呼ばれる。   The method of encoding the difference in this way is called inter-frame (Inter) encoding.

なお、常に、差分を符号化する方がデータ量が少なくなるわけではなく、符号化する画像の複雑さや、前後のフレームとの相関の高さによっては、差分を符号化するインター符号化よりも、イントラ符号化を行った方が、圧縮率が高くなることがある。このような場合は、イントラ符号化が行われる。イントラ符号化を行うか、インター符号化を行うかは、マクロブロック単位で設定することができる。   Note that encoding the difference does not always reduce the amount of data, and depending on the complexity of the image to be encoded and the level of correlation with the previous and subsequent frames, it may be more than the inter encoding that encodes the difference. The compression rate may be higher when intra coding is performed. In such a case, intra coding is performed. Whether to perform intra coding or inter coding can be set for each macroblock.

ところで、インター符号化を行うには、先にエンコードされたデータをデコードして得られる復号画像を求めておく必要がある。   By the way, in order to perform inter-coding, it is necessary to obtain a decoded image obtained by decoding previously encoded data.

そこで、エンコーダボード213には、いわゆるローカルデコーダが設けられている。即ち、動き補償器121、フレームメモリ122、切換スイッチ123、加算器124、逆DCT回路125、および逆量子化器126がローカルデコーダを構成している。なお、フレームメモリ122に記憶される画像データは、ローカルデコーデットピクチャ(Local Decoded Picture)またはローカルデコーデットデータ(Local Decoded Data)と呼ばれる。これに対して、符号化される前の画像データは、オリジナルピクチャ(Original Picture)またはオリジナルデータ(Original Data)と呼ばれる。   Therefore, the encoder board 213 is provided with a so-called local decoder. That is, the motion compensator 121, the frame memory 122, the changeover switch 123, the adder 124, the inverse DCT circuit 125, and the inverse quantizer 126 constitute a local decoder. Note that the image data stored in the frame memory 122 is called local decoded picture or local decoded data. On the other hand, the image data before encoding is called original picture (Original Picture) or original data (Original Data).

1枚目の画像I0の符号化時においては、量子化器115の出力が、逆量子化器126および逆DCT回路125を介することによりローカルデコードされ(この場合、切換スイッチ123はオフにされ、その結果、加算器124では、実質的に処理は行われない)、フレームメモリ122に記憶される。   At the time of encoding the first image I0, the output of the quantizer 115 is locally decoded through the inverse quantizer 126 and the inverse DCT circuit 125 (in this case, the changeover switch 123 is turned off, As a result, the adder 124 does not substantially perform processing) and is stored in the frame memory 122.

なお、フレームメモリ122に記憶された画像は、オリジナルピクチャではなく、それを符号化し、さらにローカルデコードした、デコーダ側で得られる画像と同一のものである。従って、フレームメモリ122の画像は、符号化および復号化処理により、オリジナルピクチャよりも多少画質の劣化したものとなる。   Note that the image stored in the frame memory 122 is not the original picture, but is the same as the image obtained on the decoder side, which is encoded and further locally decoded. Therefore, the image in the frame memory 122 is slightly deteriorated in image quality as compared with the original picture by the encoding and decoding processes.

2枚目の画像P3は、1枚目の画像I0をローカルデコードしたものがフレームメモリ122に記憶されている状態において、フレームメモリ110からブロック分割器111を介して、ブロック単位で差分器112に供給される。なお、この時点までに、動き検出器120において、画像P3の動きベクトルの検出が終了している必要がある。   The second image P3 is stored in the frame memory 122 as a result of local decoding of the first image I0. The second image P3 is sent from the frame memory 110 via the block divider 111 to the differentiator 112 in units of blocks. Supplied. By this time, the motion detector 120 needs to finish detecting the motion vector of the image P3.

一方、動き検出器120は、2枚目の画像P3について、マクロブロック単位で検出した動きベクトルを、動き補償器121に供給する。動き補償器121は、動き検出器120からの動きベクトルにしたがって、既にローカルデコードされてフレームメモリ122に記憶されている画像I0を動き補償(MC(Motion Compensation))し、その結果得られる動き補償データ(MCデータ)(1マクロブロック)を、フレーム間予測画像データとして差分器112に供給する。   On the other hand, the motion detector 120 supplies the motion compensator 121 with the motion vector detected in units of macroblocks for the second image P3. The motion compensator 121 performs motion compensation (MC (Motion Compensation)) on the image I0 that has already been locally decoded and stored in the frame memory 122 in accordance with the motion vector from the motion detector 120, and the motion compensation obtained as a result. Data (MC data) (one macroblock) is supplied to the differentiator 112 as inter-frame prediction image data.

差分器112では、ブロック分割器111を介して供給される画像P3のオリジナルデータと、動き補償器121から供給されるフレーム間予測画像データとの、対応する画素どうしの差分が演算される。そして、その結果得られる差分値が、切換スイッチ113を介して、DCT回路114に供給され、以下、Iピクチャにおける場合と同様に符号化される。従って、この場合、切換スイッチ113は、被切換端子bを選択する。   In the differentiator 112, the difference between corresponding pixels between the original data of the image P3 supplied via the block divider 111 and the inter-frame prediction image data supplied from the motion compensator 121 is calculated. Then, the difference value obtained as a result is supplied to the DCT circuit 114 via the changeover switch 113 and is encoded in the same manner as in the case of the I picture. Accordingly, in this case, the changeover switch 113 selects the switched terminal b.

以上のように、Pピクチャ(Predicted Picture)である画像P3については、基本的には、その直前に符号化されたIピクチャまたはPピクチャを参照画像として、その参照画像を動き補償して得られる予測画像との差分が符号化される。   As described above, the image P3 which is a P picture (Predicted Picture) is basically obtained by motion compensation of the reference image using the I picture or P picture encoded immediately before as the reference image. The difference from the predicted image is encoded.

即ち、Pピクチャに関し、インター符号化する方がデータ量の少なくなるマクロブロック(インターマクロブロック)については、切換スイッチ113において被切換端子bが選択され、インター符号化が行われる。また、イントラ符号化する方がデータ量の少なくなるマクロブロック(イントラマクロブロック)については、切換スイッチ113において被切換端子aが選択され、イントラ符号化が行われる。   That is, for the P picture, for the macro block (inter macro block) in which the amount of data becomes smaller when inter coding is performed, the switched terminal b is selected by the changeover switch 113 and the inter coding is performed. In addition, for a macroblock (intra macroblock) whose data amount is smaller when intra-encoding is performed, the switched terminal a is selected by the change-over switch 113 and intra-encoding is performed.

なお、Pピクチャのマクロブロックのうち、イントラ符号化されたものは、Iピクチャと同様にしてローカルデコードされ、フレームメモリ122に記憶される。また、インター符号化されたものは、逆量子化器126および逆DCT回路125を介したものと、オン状態とされた切換スイッチ123を介して供給されるフレーム間予測画像データとが加算器124で加算されることによりローカルデコードされ、フレームメモリ122に記憶される。   Of the macro blocks of the P picture, the intra-coded one is locally decoded in the same manner as the I picture and stored in the frame memory 122. In addition, the inter-coded data is added via the inverse quantizer 126 and the inverse DCT circuit 125 and the inter-frame prediction image data supplied via the changeover switch 123 turned on is an adder 124. Is locally decoded and stored in the frame memory 122.

次に、3枚目の画像B1の符号化について説明する。   Next, encoding of the third image B1 will be described.

Bピクチャである画像B1の符号化時においては、動き検出器120において、その画像B1の直前に表示されるIピクチャまたはPピクチャと、その直後に表示されるIピクチャまたはPピクチャとに対する2つの動きベクトルが検出される。従って、ここでは、画像B1の、画像I0とP3それぞれに対する動きベクトルが検出される。ここで、画像B1の直前に表示されるIピクチャである画像I0に対する動きベクトルをフォワードベクトル(Forward Vector)と、その直後に表示されるPピクチャである画像P3に対する動きベクトルをバックワードベクトル(Backward Bector)という。   At the time of encoding the image B1, which is a B picture, the motion detector 120 uses two images for an I picture or P picture displayed immediately before the image B1 and an I picture or P picture displayed immediately after that. A motion vector is detected. Accordingly, here, motion vectors for the images I0 and P3 of the image B1 are detected. Here, the motion vector for the image I0, which is the I picture displayed immediately before the image B1, is a forward vector (Forward Vector), and the motion vector for the image P3, which is the P picture displayed immediately thereafter, is a backward vector (Backward). Bector).

画像B1に関しては、(1)画像I0をローカルデコードしたものをフォワードベクトルにしたがって動き補償して得られるフレーム間予測画像データとの差分、(2)画像P3をローカルデコードしたものをバックワードベクトルにしたがって動き補償して得られるフレーム間予測画像データとの差分、(3)上述の(1)および(2)で得られる2つのフレーム間予測画像データの平均値との差分、(4)画像B1そのもの、の4つのうちの、最もデータ量が少なくなるものが選択されて符号化される。   Regarding the image B1, (1) a difference from inter-frame prediction image data obtained by performing motion compensation on a locally decoded image I0 according to a forward vector, and (2) a locally decoded image P3 as a backward vector Therefore, the difference from the inter-frame prediction image data obtained by motion compensation, (3) the difference from the average value of the two inter-frame prediction image data obtained in (1) and (2) above, and (4) the image B1 Of these four, the one with the smallest data amount is selected and encoded.

(1)乃至(3)のうちのいずれかのデータが符号化される場合(インター符号化が行われる場合)には、必要な動きベクトルが動き検出器120から動き補償器121に供給され、その動きベクトルにしたがって動き補償を行うことにより得られるデータが、差分器112に供給される。そして、差分器112において、画像B1のオリジナルデータと、動き補償器121からのデータとの差分が求められ、これが、切換スイッチ113を介してDCT回路114に供給される。従って、この場合、切換スイッチ113は被切換端子bを選択する。一方、(4)のデータが符号化される場合(イントラ符号化が行われる場合)には、そのデータ、即ち、画像B1のオリジナルデータが、切換スイッチ113を介してDCT回路114に供給される。従って、この場合、切換スイッチ113は被切換端子aを選択する。   When any data of (1) to (3) is encoded (when inter encoding is performed), a necessary motion vector is supplied from the motion detector 120 to the motion compensator 121, Data obtained by performing motion compensation according to the motion vector is supplied to the differentiator 112. Then, the difference unit 112 obtains the difference between the original data of the image B 1 and the data from the motion compensator 121, and this is supplied to the DCT circuit 114 via the changeover switch 113. Therefore, in this case, the changeover switch 113 selects the switched terminal b. On the other hand, when the data of (4) is encoded (when intra encoding is performed), the data, that is, the original data of the image B1 is supplied to the DCT circuit 114 via the changeover switch 113. . Accordingly, in this case, the changeover switch 113 selects the switched terminal a.

Bピクチャである画像B1については、その符号化時に、既に符号化され、ローカルデコードされた画像I0およびP3がフレームメモリに記憶されているので、上述のような符号化が可能となる。   As for the image B1, which is a B picture, since the images I0 and P3 that have been encoded and locally decoded are stored in the frame memory at the time of encoding, the encoding as described above is possible.

4枚目の画像B2については、上述の画像B1を符号化する場合の記述のうち、B1をB2に置き換えた処理が行われる。   For the fourth image B2, a process is performed in which B1 is replaced with B2 in the description when the image B1 is encoded.

5枚目の画像P6については、上述の画像P3を符号化する場合の記述のうち、P3をP6に、I0をP3に、それぞれ置き換えた処理が行われる。   For the fifth image P6, the processing in which P3 is replaced with P6 and I0 is replaced with P3 in the description when the image P3 is encoded is performed.

6枚目以降の画像については、上述の繰り返しとなるので、説明を省略する。   Since the sixth and subsequent images are repeated as described above, description thereof is omitted.

ところで、エンコーダボード213において、各画面の画像を、Iピクチャ、Pピクチャ、またはBピクチャのうちのいずれのピクチャタイプ(Picture Type)で、また、各ピクチャのマクロブロックをどのようなマクロブロックタイプ(Macro Block Type)で符号化するかは、上述のように、その符号化の結果発生するデータ量に基づいて選択されるが、そのデータ量は、符号化する画像に依存し、実際に符号化してみなければ、正確な値は分からない。   By the way, in the encoder board 213, the picture of each screen is set to any picture type (Picture Type) of I picture, P picture, or B picture, and the macro block type ( As described above, whether to encode with Macro Block Type) is selected based on the amount of data generated as a result of the encoding. However, the amount of data depends on the image to be encoded. If you don't try, you won't know the exact value.

しかしながら、MPEGエンコードを行うことにより得られるビットストリームのビットレートは、基本的に一定にする必要があり、このための方法として、例えば、量子化器115における量子化ステップ(量子化スケール)を制御する方法がある。即ち、量子化ステップを大きくすれば粗い量子化が行われ、データ量(発生符号量)を少なくすることができる。また、量子化ステップを小さくすれば細かい量子化が行われ、発生符号量を増加させることができる。   However, the bit rate of the bit stream obtained by performing MPEG encoding needs to be basically constant. As a method for this, for example, the quantization step (quantization scale) in the quantizer 115 is controlled. There is a way to do it. That is, if the quantization step is increased, coarse quantization is performed, and the data amount (generated code amount) can be reduced. Further, if the quantization step is reduced, fine quantization is performed, and the generated code amount can be increased.

量子化ステップの制御は、具体的には、例えば、次のように行われる。   Specifically, the quantization step is controlled as follows, for example.

即ち、エンコーダボード213においては、その出力段に、出力バッファ118が設けられており、ここに符号化されたデータを一時記憶することで、ある程度の発生符号量の変化を吸収し、その出力ビットストリームのビットレートを一定にすることができる。   That is, in the encoder board 213, an output buffer 118 is provided at its output stage, and by temporarily storing the encoded data here, a change in the amount of generated code is absorbed to some extent, and its output bit The bit rate of the stream can be made constant.

しかしながら、所定のビットレートを越えるような割合での、符号化データ(可変長符号化データ)の発生が続けば、出力バッファ118のデータ蓄積量が増加し、オーバーフローすることになる。また、逆に、所定のビットレートを下回るような割合での、符号化データの発生が連続すれば、出力バッファ118のデータ蓄積量が減少し、アンダーフローすることになる。   However, if the generation of encoded data (variable length encoded data) at a rate exceeding the predetermined bit rate continues, the amount of data stored in the output buffer 118 increases and overflows. Conversely, if the generation of encoded data continues at a rate that is lower than the predetermined bit rate, the amount of data stored in the output buffer 118 will decrease and underflow will occur.

そこで、上述したように、出力バッファ118のデータ蓄積量(符号量)を、量子化ステップ制御器119にフィードバックし、量子化ステップ制御器119において、そのデータ蓄積量に基づいて、出力バッファ118についてオーバーフローおよびアンダーフローのいずれも生じないように、量子化ステップが制御されるようになされている。   Therefore, as described above, the data accumulation amount (code amount) of the output buffer 118 is fed back to the quantization step controller 119, and the quantization step controller 119 determines the output buffer 118 based on the data accumulation amount. The quantization step is controlled so that neither overflow nor underflow occurs.

即ち、量子化ステップ制御器119は、出力バッファ118のデータ蓄積量がその容量に近くなり、オーバーフローしそうなときは、量子化ステップを大きくし、これにより発生符号量を減少させる。また、量子化ステップ制御器119は、出力バッファ118のデータ蓄積量が0に近くなり、アンダーフローしそうなときは、量子化ステップを小さくし、これにより発生符号量を増加させる。   That is, the quantization step controller 119 increases the quantization step when the data storage amount of the output buffer 118 is close to its capacity and is likely to overflow, thereby reducing the generated code amount. Also, the quantization step controller 119 reduces the quantization step when the data accumulation amount of the output buffer 118 is close to 0 and is likely to underflow, thereby increasing the generated code amount.

ところで、画像を、フレーム内符号化するか、またはフレーム間符号化するかによっても、発生符号量は変化する。   By the way, the generated code amount also changes depending on whether the image is intra-frame encoded or inter-frame encoded.

一般に、フレーム内符号化を行う場合には、大きな発生符号量が生じるため、出力バッファ118のデータ蓄積量が多いときには、かなり大きな量子化ステップを設定する必要がある。しかしながら、この場合、最大の量子化ステップを設定しても、出力バッファ118がオーバーフローすることがある。また、大きな量子化ステップで量子化を行った場合には、基本的には、復号画像の画質が劣化するため、その復号画像を参照画像として符号化/復号化される画像の画質も劣化することになる。従って、フレーム内符号化を行う場合には、出力バッファ118のオーバーフローを防止し、また、復号画像の画質の劣化を防止するために、出力バッファ118に、充分な空き領域を確保しておく必要がある。   In general, when intra-frame coding is performed, a large amount of generated code is generated. Therefore, when the amount of data stored in the output buffer 118 is large, it is necessary to set a considerably large quantization step. However, in this case, the output buffer 118 may overflow even if the maximum quantization step is set. In addition, when quantization is performed in a large quantization step, basically, the image quality of the decoded image deteriorates, and thus the image quality of the image encoded / decoded using the decoded image as a reference image also deteriorates. It will be. Therefore, when performing intra-frame coding, it is necessary to secure a sufficient free space in the output buffer 118 in order to prevent overflow of the output buffer 118 and to prevent deterioration of the image quality of the decoded image. There is.

そこで、量子化ステップ制御器119は、圧縮方法選択回路132からの信号に基づき、フレーム内符号化およびフレーム間符号化が行われる順番をあらかじめ認識し、フレーム内符号化が行われるときには、出力バッファ118に充分な空き領域が確保された状態となるように、量子化ステップを制御するようにもなされている。   Therefore, the quantization step controller 119 recognizes in advance the order in which intraframe coding and interframe coding are performed based on the signal from the compression method selection circuit 132, and when intraframe coding is performed, the output buffer The quantization step is also controlled so that a sufficient free area is secured in 118.

ところで、復号画像の画質の観点からは、複雑な画像については、小さな量子化ステップで量子化を行い、平坦な画像については、大きな量子化ステップで量子化を行う必要があるが、バッファフィードバックのみに基づいて設定された量子化ステップには、そのようなことが考慮されていない。量子化ステップが、画像の複雑さの観点から適当な値になっていない場合には、符号化対象の画像に対して、不当に多くのビット量が割り当てられたり、また、少ないビット量が割り当てられることになる。ある画像に対して、このように不当なビット割当が行われると、それは、他の画像に対するビット割当量にも影響するので、好ましくない。   By the way, from the viewpoint of the image quality of the decoded image, it is necessary to quantize a complex image with a small quantization step and a flat image with a large quantization step, but only buffer feedback. This is not considered in the quantization step set based on the above. If the quantization step is not an appropriate value from the viewpoint of image complexity, an unreasonably large amount of bits is allocated to the image to be encoded, or a small amount of bits is allocated. Will be. If an illegal bit allocation is performed on a certain image in this manner, it affects the bit allocation amount for another image, which is not preferable.

そこで、量子化ステップ制御器119においては、バッファ118からのデータ蓄積量のフィードバック(バッファフィードバック)だけでなく、符号化対象の画像の複雑さにも対応して、量子化ステップが設定されるようになされている。   Therefore, the quantization step controller 119 sets the quantization step in accordance with not only the feedback of the data accumulation amount from the buffer 118 (buffer feedback) but also the complexity of the image to be encoded. Has been made.

即ち、エンコーダボード213では、画像評価回路130において、フレームメモリ110に記憶された、これから符号化するピクチャが読み出され、その複雑さを表す評価値が算出され、シーンチェンジ検出回路131、圧縮方法選択回路132、および量子化ステップ制御器119に供給される。   That is, in the encoder board 213, the picture evaluation circuit 130 reads out the picture to be encoded stored in the frame memory 110, calculates the evaluation value representing the complexity thereof, and calculates the scene change detection circuit 131, the compression method. This is supplied to the selection circuit 132 and the quantization step controller 119.

量子化ステップ制御器119は、画像の符号化に実際に使用した量子化ステップ、その量子化ステップで量子化を行うことにより得られたデータ量(発生符号量)、および画像評価回路130から供給される、その画像についての複雑さに対応する評価値の関係を学習し、その学習結果に基づき、次の量子化ステップの設定を行うための基本となる基本量子化ステップを求める。   The quantization step controller 119 supplies the quantization step actually used for encoding the image, the data amount obtained by performing the quantization in the quantization step (generated code amount), and the image evaluation circuit 130. The relationship between the evaluation values corresponding to the complexity of the image is learned, and based on the learning result, a basic quantization step that is a basis for setting the next quantization step is obtained.

即ち、画像の符号化に実際に使用した量子化ステップ、その量子化ステップで量子化を行うことにより得られたデータ量(発生符号量)、およびその画像についての複雑さに対応する評価値を用いて回帰分析を行い、その回帰分析結果をグラフにすることで、学習が行われる。そして、そのグラフから、次に符号化を行う画像の複雑さについての評価値を引数として、その画像の符号化に用いるのが最適な基本量子化ステップが予測される。   That is, the quantization step actually used for encoding the image, the data amount obtained by performing the quantization in the quantization step (generated code amount), and the evaluation value corresponding to the complexity of the image Learning is performed by using the regression analysis and graphing the regression analysis result. From the graph, an evaluation value for the complexity of the image to be encoded next is used as an argument to predict a basic quantization step that is most suitable for encoding the image.

そして、量子化ステップ制御器119は、この基本量子化ステップを、バッファフィードバックにしたがって変化させ、その値を、量子化ステップとして設定する。   Then, the quantization step controller 119 changes this basic quantization step according to the buffer feedback, and sets the value as the quantization step.

基本量子化ステップは、学習により精度良く予測が可能であり、また、その値は、画像の複雑さを考慮したものとなっているので、量子化ステップを、このような基本量子化ステップから求めることで、バッファフィードバックのみに基づいて量子化ステップを制御する場合に比較して、復号画像の画質を向上させることが可能となる。   The basic quantization step can be accurately predicted by learning, and the value takes into account the complexity of the image, so the quantization step is obtained from such a basic quantization step. Thus, it is possible to improve the image quality of the decoded image as compared with the case where the quantization step is controlled based only on the buffer feedback.

なお、シーンチェンジ検出回路131では、画像評価回路130からの評価値に基づき、シーンチェンジがあったかどうかが検出され、その検出結果が圧縮方法選択回路132に供給される。圧縮方法選択回路132では、画像評価回路130からの評価値、さらには必要に応じて、シーンチェンジ検出回路131の出力を用いて、画像の圧縮方法が選択される。即ち、圧縮方法選択回路132では、例えば、画像を、Iピクチャ、Pピクチャ、またはBピクチャのうちのいずれのピクチャタイプとして符号化するかや、GOPを構成させるピクチャ数、マクロブロックをフレーム内符号化するか、またはフレーム間符号化するかなどに関するマクロブロックタイプなどについての圧縮方法が選択される。   The scene change detection circuit 131 detects whether or not a scene change has occurred based on the evaluation value from the image evaluation circuit 130, and supplies the detection result to the compression method selection circuit 132. The compression method selection circuit 132 selects an image compression method using the evaluation value from the image evaluation circuit 130 and, if necessary, the output of the scene change detection circuit 131. That is, in the compression method selection circuit 132, for example, an image is encoded as any picture type of I picture, P picture, or B picture, the number of pictures constituting the GOP, and the macroblock is encoded as an intra-frame code. A compression method is selected for a macroblock type or the like regarding whether to perform encoding or interframe encoding.

圧縮方法選択回路132は、圧縮方法を選択すると、そのうちの、マクロブロックをフレーム内符号化するか、またはフレーム間符号化するかに基づいて、切換スイッチ113および123を制御する。即ち、上述したように、フレーム内符号化を行う場合には、切換スイッチ113は被切換端子aに切り換えられ、切り換えスイッチ123はオフ状態にされる。また、フレーム間符号化を行う場合には、切換スイッチ113は被切換端子bに切り換えられ、切り換えスイッチ123はオン状態にされる。   When a compression method is selected, the compression method selection circuit 132 controls the change-over switches 113 and 123 based on whether the macroblock is subjected to intraframe encoding or interframe encoding. That is, as described above, when performing intra-frame coding, the changeover switch 113 is switched to the switched terminal a, and the changeover switch 123 is turned off. When interframe coding is performed, the changeover switch 113 is switched to the switched terminal b, and the changeover switch 123 is turned on.

さらに、圧縮方法選択回路132は、量子化ステップ制御器119に対して、フレーム内符号化またはフレーム間符号化のうちのいずれを行うかを通知する。量子化ステップ制御器119は、この通知によって、上述したように、フレーム内符号化およびフレーム間符号化が行われる順番を認識する。   Further, the compression method selection circuit 132 notifies the quantization step controller 119 whether to perform intraframe encoding or interframe encoding. Based on this notification, the quantization step controller 119 recognizes the order in which intraframe coding and interframe coding are performed as described above.

ここで、圧縮方法選択回路132において、画像をPピクチャまたはBピクチャとして符号化することが長時間連続して選択された場合には、PピクチャおよびBピクチャは、基本的には、フレーム間符号化されるため、シーンチェンジなどによりフレーム間の相関が低い画像が生じると、発生符号量が増加し、また、復号画像の画質が劣化する。   Here, when the compression method selection circuit 132 selects to encode an image as a P picture or a B picture continuously for a long time, the P picture and the B picture are basically inter-frame codes. Therefore, if an image with a low correlation between frames is generated due to a scene change or the like, the amount of generated code increases, and the image quality of the decoded image deteriorates.

そこで、上述したように、シーンチェンジ検出回路131から圧縮方法選択回路132には、シーンチェンジの検出結果が供給されるようになされており、圧縮方法選択回路132は、シーンチェンジがあった旨を受信すると、そのシーンチェンジ後のピクチャを、いわば強制的に、Iピクチャとすることを選択するようになされている。   Therefore, as described above, the scene change detection circuit 131 is supplied with the scene change detection result to the compression method selection circuit 132, and the compression method selection circuit 132 indicates that the scene change has occurred. When received, the picture after the scene change is forcibly selected to be an I picture.

なお、上述したように、学習により基本量子化ステップを求め、その基本量子化ステップから量子化ステップを設定する方法については、例えば、本件出願人が先に出願した特開平8−102951号公報に、その詳細が開示されている。   As described above, for a method of obtaining a basic quantization step by learning and setting the quantization step from the basic quantization step, see, for example, Japanese Patent Application Laid-Open No. 8-102951 filed earlier by the present applicant. The details are disclosed.

次に、画像評価回路130では、符号化対象の画像を評価するための評価値として、次のような画像の複雑さを表す2つのパラメータが、フレームメモリ110を参照することで算出されるようになされている。   Next, in the image evaluation circuit 130, the following two parameters representing the complexity of the image are calculated by referring to the frame memory 110 as evaluation values for evaluating the image to be encoded. Has been made.

即ち、第1のパラメータとしては、画像をフレーム内符号化したときの発生符号量(画像をIピクチャとして符号化したときの発生符号量)を予測(推測)することが可能な、その画像自体の情報量を表す評価値が算出される。具体的には、第1のパラメータとしては、例えば、画像をブロックごとにDCT処理して得られるDCT係数の総和その他の統計量を用いることができる。また、例えば、ブロックごとに、その画素値の平均値を、各画素値から減算した値の絶対値和(以下、適宜、平均絶対値和という)を求め、各ブロックの平均絶対値和の総和をとったものなどを、第1のパラメータとすることも可能である。なお、このように絶対値和を求める方が、DCT係数の総和を求める場合より、比較的、画像評価回路130の回路規模を小さくするとともに負荷を小さくすることができる。   That is, as the first parameter, the generated code amount when the image is intra-frame encoded (the generated code amount when the image is encoded as an I picture) can be predicted (estimated), and the image itself An evaluation value representing the amount of information is calculated. Specifically, as the first parameter, for example, the sum total of DCT coefficients obtained by performing DCT processing on an image for each block, and other statistics can be used. Further, for example, for each block, an absolute value sum of values obtained by subtracting the average value of the pixel values from each pixel value (hereinafter referred to as an average absolute value sum as appropriate) is obtained, and the total sum of the average absolute value sums of the blocks It is also possible to use the first parameter as the first parameter. Note that obtaining the sum of absolute values in this way can relatively reduce the circuit scale of the image evaluation circuit 130 and reduce the load, compared to obtaining the sum of the DCT coefficients.

ここで、画像評価回路130では、次のようにして、第1のパラメータとしての、例えば平均絶対値和の総和が求められる。   Here, the image evaluation circuit 130 obtains, for example, the sum of the average absolute value sum as the first parameter as follows.

即ち、例えば、いま、符号化対象の画像を構成する、あるブロックSについて、そのブロックの最も左上から、右方向にi番目で、下方向にj番目の位置にある画素の画素値をSi,jと表すと、各ブロックについての平均絶対値和MAD(Mean Absolute Difference)が、次式にしたがって求められる(ここでは、例えば、輝度のブロックおよび色差のブロックのすべてについて求められる。但し、例えば、輝度ブロックのみについて求めるようにすることも可能である)。 That is, for example, for a certain block S that constitutes an image to be encoded, the pixel value of the pixel at the i-th position in the right direction and the j-th position in the lower direction from the upper left corner of the block is represented by S i. , j , an average absolute value sum MAD (Mean Absolute Difference) for each block is obtained according to the following equation (here, for example, all luminance blocks and chrominance blocks are obtained, for example: It is also possible to obtain only the luminance block).

Figure 0004251297
・・・(1)
但し、式(1)において、SAVEは、ブロックSの画素値の平均値を表す。
Figure 0004251297
... (1)
However, in the formula (1), S AVE represents an average value of the pixel values of the block S.

そして、次式にしたがって、平均絶対値和の総和SMADが、第1のパラメータとして求められる。   Then, according to the following equation, the sum of average absolute values SMAD is obtained as the first parameter.

SMAD=ΣMAD
・・・(2)
但し、式(2)において、Σは、画像を構成するブロックすべてについてのサメーションを表す。
SMAD = ΣMAD
... (2)
However, in Formula (2), Σ represents the summation for all the blocks constituting the image.

なお、画像評価回路130では、式(1)で表される平均絶対値和MADの、マクロブロック単位での総和も求められる。これは、例えば、圧縮方法選択回路132において行われる、各マクロブロックを、フレーム内符号化するか、またはフレーム間符号化(前方予測符号化、後方予測符号化、若しくは両方向予測符号化)するかの決定などに用いられる。   Note that the image evaluation circuit 130 also obtains the sum of the average absolute value sum MAD expressed by the equation (1) in units of macroblocks. This is, for example, whether each macroblock, which is performed in the compression method selection circuit 132, is intra-frame encoded or inter-frame encoded (forward prediction encoding, backward prediction encoding, or bidirectional prediction encoding). Used to determine

第2のパラメータとしては、画像をフレーム間符号化したときの発生符号量を予測することが可能な、その画像と、フレーム間符号化するときに用いられる参照画像との差分の情報量を表す評価値が算出される。具体的には、第2のパラメータとしては、例えば、画像と、その予測画像(参照画像を動き補償して得られるもの)との差分の絶対値和(以下、適宜、差分絶対値和という)を、ブロック単位で求め、各ブロックの差分絶対値和の総和をとったものなどを用いることができる。   The second parameter represents the information amount of the difference between the image capable of predicting the generated code amount when the image is inter-frame encoded and the reference image used when inter-frame encoding is performed. An evaluation value is calculated. Specifically, as the second parameter, for example, an absolute value sum of differences between an image and a predicted image (obtained by motion compensation of a reference image) (hereinafter, referred to as difference absolute value sum as appropriate). Can be obtained in units of blocks, and the sum of absolute difference sums of each block can be used.

ここで、差分絶対値和は、動き検出器120において動きベクトルを検出するときに求められる。そこで、画像評価回路130では、動き検出器120による動き検出結果を用いて、第2のパラメータとしての、例えば差分絶対値和の総和が求められる。   Here, the sum of absolute differences is obtained when the motion detector 120 detects a motion vector. Therefore, the image evaluation circuit 130 obtains, for example, the sum of absolute difference sums as the second parameter using the motion detection result by the motion detector 120.

即ち、例えば、いま、参照画像について、横×縦が8×8画素で構成されるブロックを考え、そのブロックの最も左上から、右方向にi番目で、下方向にj番目の位置にある画素の画素値をRi,jと表す。さらに、符号化対象の画像について、その最も左上から右または下方向にx軸またはy軸をそれぞれ考え、点(x,y)を最も左上の画素とするブロックの最も左上から、右方向にi番目で、下方向にj番目の位置にある画素の画素値をSx+i,y+jと表す。 That is, for example, regarding a reference image, consider a block composed of 8 × 8 pixels in the horizontal and vertical directions, and the pixel at the i-th position in the right direction and the j-th position in the lower direction from the upper left of the block. Is expressed as R i, j . Further, regarding the image to be encoded, the x-axis or y-axis is considered from the top left to the right or the bottom, respectively, and the block having the point (x, y) as the top left pixel is i from the top left to the right. The pixel value of the pixel at the j-th position in the downward direction is represented as S x + i, y + j .

この場合、動き検出器120では、次式で示されるd(x,y)が、x,yそれぞれを1ずつ変化させて求められる。   In this case, in the motion detector 120, d (x, y) represented by the following equation is obtained by changing each of x and y by one.

Figure 0004251297
・・・(3)
Figure 0004251297
... (3)

そして、動き検出器120では、式(3)のd(x,y)を最小にする(x,y)が動きベクトルとして検出され、さらに、その最小のd(x,y)が差分絶対値和ADとして算出される。   Then, in the motion detector 120, (x, y) that minimizes d (x, y) in Equation (3) is detected as a motion vector, and further, the minimum d (x, y) is the difference absolute value. Calculated as sum AD.

画像評価回路130では、以上のようにして動き検出器120で求められるブロック単位の差分絶対値和ADを用い、次式にしたがって、差分絶対値和の総和SADが、第2のパラメータとして求められる。   The image evaluation circuit 130 uses the absolute difference value AD for each block obtained by the motion detector 120 as described above, and obtains the sum of absolute differences SAD as the second parameter according to the following equation. .

SAD=ΣAD
・・・(4)
但し、式(4)においても、Σは、画像を構成するブロックすべてについてのサメーションを表す。
SAD = ΣAD
... (4)
However, also in Formula (4), Σ represents the summation for all the blocks constituting the image.

なお、画像評価回路130では、式(3)で表される差分絶対値和ADの、マクロブロック単位での総和も求められる。これは、例えば、圧縮方法選択回路132において行われる、各マクロブロックを、フレーム内符号化するか、またはフレーム間符号化(前方予測符号化、後方予測符号化、若しくは両方向予測符号化)するかの決定などに用いられる。   Note that the image evaluation circuit 130 also obtains the total sum of the absolute difference value AD expressed by Expression (3) in units of macroblocks. This is, for example, whether each macroblock, which is performed in the compression method selection circuit 132, is intra-frame encoded or inter-frame encoded (forward prediction encoding, backward prediction encoding, or bidirectional prediction encoding). Used to determine

画像評価回路130において求められた第1のパラメータSMADおよび第2のパラメータSADは、シーンチェンジ検出回路131、圧縮方法選択回路132、および量子化ステップ制御器119に供給される。   The first parameter SMAD and the second parameter SAD obtained by the image evaluation circuit 130 are supplied to the scene change detection circuit 131, the compression method selection circuit 132, and the quantization step controller 119.

上述したように、シーンチェンジ検出回路131では、画像評価回路130の出力に基づき、シーンチェンジがあったかどうかが検出され、また、圧縮方法選択回路132では、画像評価回路130からの評価値、さらには必要に応じて、シーンチェンジ検出回路131の出力を用いて、画像の圧縮方法が選択される。また、量子化ステップ制御器119において、上述したように量子化ステップが設定される。   As described above, the scene change detection circuit 131 detects whether or not a scene change has occurred based on the output of the image evaluation circuit 130, and the compression method selection circuit 132 further determines the evaluation value from the image evaluation circuit 130, If necessary, an image compression method is selected using the output of the scene change detection circuit 131. Further, the quantization step controller 119 sets the quantization step as described above.

なお、シーンチェンジ検出回路131では、例えば、連続する画像についての第2のパラメータSADどうしの比が求められ、その比の大小によって、シーンチェンジがあったかどうかの検出が行われる。   The scene change detection circuit 131 obtains, for example, a ratio between the second parameters SAD for consecutive images, and detects whether there is a scene change based on the magnitude of the ratio.

さらに、シーンチェンジ検出回路131は、後述するインデックスデータを生成するようにもなされている。このインデックスデータは、マイクロプロセッサ201に供給され、後述するインデックスファイルを生成するのに用いられる。   Further, the scene change detection circuit 131 generates index data to be described later. This index data is supplied to the microprocessor 201 and used to generate an index file described later.

また、圧縮方法選択回路132では、例えば、PピクチャおよびBピクチャについては、画像評価回路130から供給される、平均絶対値和MADと差分絶対値和ADとの、マクロブロック単位での総和が比較され、それらの大小関係に基づいて、マクロブロックをフレーム内符号化するか、またはフレーム間符号化するかが決定される。即ち、マクロブロックについて、平均絶対値和MADの総和の方が、差分絶対値和ADの総和より小さく、従って、フレーム内符号化を行った方が発生符号量が少なくなると予想される場合、フレーム内符号化を行うことが選択される。また、平均絶対値和MADの総和の方が、差分絶対値和ADの総和より大きく、従って、フレーム間符号化を行った方が発生符号量が少なくなると予想される場合、フレーム間符号化を行うことが選択される。   Further, in the compression method selection circuit 132, for example, for the P picture and the B picture, the total sum in macroblock units of the average absolute value sum MAD and the difference absolute value sum AD supplied from the image evaluation circuit 130 is compared. Based on the magnitude relation, it is determined whether the macroblock is to be intra-frame encoded or inter-frame encoded. That is, for the macroblock, the sum of the average absolute value sum MAD is smaller than the sum of the difference absolute value sum AD. Therefore, if it is expected that the amount of generated codes will be smaller when intra-frame coding is performed, Intra coding is selected. In addition, when the sum of the average absolute value sum MAD is larger than the sum of the difference absolute value sums AD, and it is expected that the amount of generated code is reduced by performing inter-frame coding, the inter-frame coding is performed. It is chosen to do.

なお、図6において、コントローラ133は、出力バッファ118が記憶しているデータのデータ量を監視しており、そのデータ量に対応して、エンコーダボード213におけるエンコード処理を制御するようになされている。このことについては後述する。   In FIG. 6, the controller 133 monitors the data amount of the data stored in the output buffer 118, and controls the encoding process in the encoder board 213 corresponding to the data amount. . This will be described later.

次に、ビデオ制作のためのアプリケーションプログラムとしてハードディスク212に記録されている「Slipclip」について説明する。   Next, “Slipclip” recorded on the hard disk 212 as an application program for video production will be described.

本体31の電源ボタン34を操作して、電源をオンにすると、ハードディスク212に記録されているオペレーティングシステム、即ち、ここでは、上述したようにWindows(登録商標)95が起動する。Windows(登録商標)95の起動後、そのタスクバーの[スタート]ボタンをクリックすると、[スタート]メニューが表示される。   When the power button 34 of the main body 31 is operated to turn on the power, the operating system recorded on the hard disk 212, that is, the Windows (registered trademark) 95 here is started as described above. After starting Windows (registered trademark) 95, clicking the [Start] button on the task bar displays the [Start] menu.

本実施の形態では、[スタート]メニューの項目の1つとして例えば、[VAIO]があり、その中に、「Slipclip」を含む所定のアプリケーションが登録されている。   In the present embodiment, for example, [VAIO] is one item of the [Start] menu, and a predetermined application including “Slipclip” is registered therein.

「Slipclip」は、上述したように、「スリップレコーダー」、「クリップエディター」、「クリップビューワー」、「ビデオCDクリエーター」、および「ビデオCDコピーツール」からなり、[VAIO]の中の[Slipclip]には、その5つのアプリケーションプログラムが登録されている。従って、項目[Slipclip]を、例えば、マウス22を操作してクリックすると、[スリップレコーダー]、[クリップエディター]、[クリップビューワー]、[ビデオCDクリエーター]、および[ビデオCDコピーツール]の5つの項目が表示される。   As described above, “Slipclip” consists of “Slip Recorder”, “Clip Editor”, “Clip Viewer”, “Video CD Creator”, and “Video CD Copy Tool”, and [Slipclip] in [VAIO] The five application programs are registered. Therefore, when the item [Slipclip] is clicked by operating the mouse 22, for example, five items of [Slip Recorder], [Clip Editor], [Clip Viewer], [Video CD Creator], and [Video CD Copy Tool] are displayed. The item is displayed.

そして、ユーザが、作業目的に合わせて、いずれかの項目をクリックすると、その項目に対応するアプリケーションプログラムが起動される。   When the user clicks on any item in accordance with the work purpose, an application program corresponding to the item is activated.

例えば、ビデオCDの制作に用いる素材をビデオカメラ214で撮影し、それを取り込む(記録する)場合や、テレビジョン放送番組を、VTR216などで録画する場合と同様に、単純に記録しておく場合などにおいては、「スリップレコーダー」を起動する。この場合、例えば、図7に示すようなスリップレコーダメインウインドウ301が表示される。   For example, when a material used for production of a video CD is shot by the video camera 214 and captured (recorded), or when a television broadcast program is recorded by the VTR 216 or the like, it is simply recorded. In such cases, “slip recorder” is activated. In this case, for example, a slip recorder main window 301 as shown in FIG. 7 is displayed.

スリップレコーダメインウインドウ301は、各種の表示とボタンから構成されている。   The slip recorder main window 301 includes various displays and buttons.

即ち、録画インジケータ302においては、録画状態が表示される。具体的には、録画予約をし、録画の開始を待っている状態においては、録画インジケータ302の表示は、例えば「TIMER」となる。また、予約録画を行っている状態においては、録画インジケータ302の表示は、例えば「TEMER REC」となる。さらに、録画ボタン309が操作されることにより、録画が開始された場合には、録画インジケータ302の表示は、例えば「REC」となる。また、ポーズボタン310または停止ボタン308が操作され、録画が一時停止または停止された場合には、録画インジケータ302の表示は、例えば、それぞれ「PAUSE」または「STOP」となる。   That is, the recording state is displayed on the recording indicator 302. Specifically, in a state where a recording reservation is made and waiting for the start of recording, the display of the recording indicator 302 is, for example, “TIMER”. Further, in the state where the reserved recording is being performed, the display of the recording indicator 302 is, for example, “TEMER REC”. Further, when recording is started by operating the recording button 309, the display of the recording indicator 302 is, for example, “REC”. When the pause button 310 or the stop button 308 is operated and the recording is paused or stopped, the display of the recording indicator 302 is, for example, “PAUSE” or “STOP”, respectively.

シーンチェンジインジケータ303は、旗の形状をしており、録画している画像のシーンチェンジが検出された場合にのみ表示される。即ち、シーンチェンジインジケータ303は、通常は表示されておらず、シーンチェンジが検出されると一定時間だけ表示され、これにより、ユーザにシーンチェンジを知らせるようになっている。   The scene change indicator 303 has a flag shape, and is displayed only when a scene change of a recorded image is detected. That is, the scene change indicator 303 is not normally displayed, and is displayed only for a predetermined time when a scene change is detected, thereby notifying the user of the scene change.

現在時刻表示304には、現在時刻が、いわゆる24時間制で表示される。ここでは、例えば、Windows(登録商標)95のコントロールパネルの中の[日付と時刻]で管理されている時刻がそのまま表示されるようになっている。   In the current time display 304, the current time is displayed in a so-called 24-hour system. Here, for example, the time managed by [Date and time] in the control panel of Windows (registered trademark) 95 is displayed as it is.

録画時間表示305には、録画を開始してからの経過時間、または録画終了までの残り時間(あるいは、後述するテープの最後までの残り時間)が表示される。いずれの時間を表示するかは、録画時間表示変更ボタン(TIMEボタン)311を操作することにより切り換えられるようになっている。なお、録画を行っていない場合には、録画時間表示305は、例えば「00:00:00」となる。   The recording time display 305 displays the elapsed time from the start of recording or the remaining time until the end of recording (or the remaining time until the end of the tape described later). Which time is displayed can be switched by operating a recording time display change button (TIME button) 311. When recording is not performed, the recording time display 305 is “00:00:00”, for example.

タイマスタンバイインジケータ306には、予約録画についての状態が表示される。即ち、録画予約をし、その予約録画の開始を待っている状態においては、予約録画を待機している旨と、予約録画の開始時刻とが表示される。具体的には、例えば、時刻14:55からの予約録画を待機している場合には、図7に示すように、予約録画を待機している旨「ON」と、開始時刻「14:55」とが表示される。また、予約録画を行っている場合には、その旨と、その終了時刻とが表示される。具体的には、例えば、時刻21:43で終了する予約録画を行っている場合には、その旨「OFF」と、その終了時刻「21:43」とが表示される。   The timer standby indicator 306 displays a status regarding reserved recording. That is, in a state where a recording reservation is made and waiting for the start of the reserved recording, the fact that the reserved recording is waited and the start time of the reserved recording are displayed. Specifically, for example, when the reservation recording from time 14:55 is on standby, as shown in FIG. 7, “ON” indicating that the reservation recording is on standby and the start time “14:55” Is displayed. In addition, when the reserved recording is being performed, the fact and the end time are displayed. Specifically, for example, when a scheduled recording that ends at time 21:43 is being performed, “OFF” to that effect and an end time “21:43” are displayed.

なお、予約録画以外の録画(以下、適宜、通常録画という)がされている場合において、その終了時刻が設定されているときも、予約録画を行っているときと同様の表示が行われる。   When recording other than scheduled recording (hereinafter referred to as normal recording as appropriate) is performed, the same display as when scheduled recording is performed is performed even when the end time is set.

また、終了時刻が設定されていない通常録画中は、タイマスタンバイインジケータ306の表示は、例えば「−−:−−」となる。   During normal recording in which no end time is set, the display of the timer standby indicator 306 is, for example, “-:-”.

さらに、上述の場合以外の場合には、タイマスタンバイインジケータ306には、何も表示されない。   Further, in cases other than those described above, nothing is displayed on the timer standby indicator 306.

エンドレス録画表示307Aには、後述するテープの種類に対応した表示がなされる。即ち、テープの種類が「エンドレス」のとき、エンドレス録画表示307Aは、図7に示すように「E」となる。また、テープの種類が「ノーマル」のときは、エンドレス録画表示307Aには、何も表示されない。   In the endless recording display 307A, a display corresponding to the type of tape described later is made. In other words, when the tape type is “endless”, the endless recording display 307A is “E” as shown in FIG. When the tape type is “normal”, nothing is displayed on the endless recording display 307A.

入力ソース表示307Bには、録画の対象として選択されている入力が表示される。即ち、本体31の背面のAV端子部84からの入力または正面のAV端子部43からの入力が選択されているとき、入力ソース表示307Bは、それぞれ「Video 1」または「Video 2」となる。また、TVチューナ213Aの出力が選択されているとき、入力ソース表示307Bは、「TV−○」となる。なお、○印の部分には、TVチューナ213Aで選択されているチャンネルが表示される。図7においては、入力ソース表示307Bは、「TV−1」になっており、従って、録画の対象として、1チャンネルで放送されている番組が選択されている。   In the input source display 307B, an input selected as a recording target is displayed. That is, when the input from the AV terminal unit 84 on the back surface of the main body 31 or the input from the AV terminal unit 43 on the front surface is selected, the input source display 307B becomes “Video 1” or “Video 2”, respectively. When the output of the TV tuner 213A is selected, the input source display 307B becomes “TV-O”. Note that the channel selected by the TV tuner 213A is displayed in the circled portion. In FIG. 7, the input source display 307B is “TV-1”, and accordingly, a program broadcast on one channel is selected as a recording target.

停止ボタン308、録画ボタン309、またはポーズボタン310は、録画を停止するとき、録画を開始するとき、または録画を一時停止するときに、それぞれ操作される。なお、ポーズボタン310を操作(クリック)して、録画を一時停止させた場合には、もう一度、ポーズボタン310を操作することで、録画を再開することができる。   A stop button 308, a recording button 309, or a pause button 310 is operated when recording is stopped, when recording is started, or when recording is paused. When the pause button 310 is operated (clicked) to stop the recording, the recording can be resumed by operating the pause button 310 again.

録画時間表示変更ボタン311は、上述したように、録画時間表示305を変更するときに操作される。なお、録画時間表示変更ボタン311を操作するごとに、録画時間表示305では、経過時間と残り時間とが交互に表示されるようになっている。   The recording time display change button 311 is operated when the recording time display 305 is changed as described above. Each time the recording time display change button 311 is operated, the elapsed time and the remaining time are alternately displayed in the recording time display 305.

入力切換ボタン(INPUTボタン)312は、録画対象としての入力を切り換えるときに操作される。即ち、入力切換ボタン312が操作されると、その操作ごとに、本体31の背面のAV端子部84からの入力、正面のAV端子部43からの入力、TVチューナ213Aの出力が、いわば巡回的に選択される。この入力切換ボタン312の操作にしたがって、入力ソース表示307Bも変更される。   An input switching button (INPUT button) 312 is operated when switching an input to be recorded. That is, every time the input switching button 312 is operated, the input from the AV terminal 84 on the back of the main body 31, the input from the AV terminal 43 on the front, and the output of the TV tuner 213A are cyclic. Selected. In accordance with the operation of the input switching button 312, the input source display 307B is also changed.

アップダウンボタン313は、入力としてTVチューナ213Aの出力が選択されている場合において、そのチャンネルを、現在選択されているチャンネルから、チャンネルボタン314に表示されている次のチャンネルまたは前のチャンネルに変更するときに操作される。チャンネルボタン314は、入力としてTVチューナ213Aの出力が選択されている場合において、そのチャンネルを選択するときに操作される。なお、チャンネルボタン314の数字(チャンネル)の表示は、スリップレコーダメインウインドウ301の[オプション]メニューの中にある項目[チャンネル設定]において、1乃至62の範囲の任意のチャンネルに設定することができるようになされている。   The up / down button 313 changes the channel from the currently selected channel to the next channel or the previous channel displayed on the channel button 314 when the output of the TV tuner 213A is selected as an input. Is operated when. The channel button 314 is operated when selecting the channel when the output of the TV tuner 213A is selected as an input. The number (channel) display of the channel button 314 can be set to an arbitrary channel in the range of 1 to 62 in the item [Channel setting] in the [Option] menu of the slip recorder main window 301. It is made like that.

以上のように構成されるスリップレコーダメインウインドウ301が表示されている状態において、例えば、入力切換ボタン312を操作し(さらに、必要に応じて、アップダウンボタン312またはチャンネルボタン314を操作し)、入力を選択するとともに、録画ボタン309を操作することで、選択された入力としての画像(およびそれに付随する音声)の録画が開始されるが、「スリップレコーダー」による録画を行う場合には、その録画に使用するテープの設定を行う必要がある。   In the state in which the slip recorder main window 301 configured as described above is displayed, for example, the input switching button 312 is operated (further, the up / down button 312 or the channel button 314 is operated as necessary) By selecting the input and operating the recording button 309, the recording of the image (and the sound accompanying it) as the selected input is started. It is necessary to set the tape used for recording.

即ち、録画ボタン309の操作等により、録画が指示されると、録画対象の画像は、エンコーダボード213でエンコードされ、符号化データとされた後、ハードディスク212に記録されるが、符号化データを、単純に、ハードディスク212に記録したのでは、ハードディスク212の空き容量が足りずに、録画が行えなくなる場合がある。   That is, when recording is instructed by operating the recording button 309 or the like, an image to be recorded is encoded by the encoder board 213 and converted into encoded data, which is then recorded on the hard disk 212. However, if recording is simply performed on the hard disk 212, recording may not be possible due to insufficient free space on the hard disk 212.

ところで、例えば、VTR等によって、ビデオテープに録画を行う場合においては、そのビデオテープの先頭から終わりまでの間に、自由に、録画を行うことができる。これは、ビデオテープの分だけの記録容量が、あらかじめ確保されていると考えることができる。   By the way, for example, when recording on a video tape by a VTR or the like, the recording can be freely performed from the beginning to the end of the video tape. This can be considered that the recording capacity corresponding to the video tape is secured in advance.

そこで、「Slipclip」でも、録画を正常に行うのに必要な記録容量(ハードディスク212の空き容量がなくなることにより、録画が途中で終了しないようにするための必要最小限の記録容量)(以下、適宜、必要容量という)以上の記録領域(以下、適宜、必要領域という)を、ハードディスク212に確保し、その必要領域に、符号化データなどの記録を行うようになっている。   Therefore, even with “Slipclip”, the recording capacity necessary for normal recording (minimum recording capacity for preventing the recording from ending in the middle when the hard disk 212 runs out of space) (hereinafter, referred to as “Slipclip”) A recording area (hereinafter referred to as “required capacity” as appropriate) is secured in the hard disk 212, and encoded data or the like is recorded in the required area.

即ち、本実施の形態では、画像の録画に際し、エンコーダボード213によるMPEGエンコードの結果得られるMPEGシステムストリームを記録するのに必要な大きさのファイル(以下、適宜、MPEGファイルという)と、後述するインデックス等を記録するのに必要な大きさのファイル(以下、適宜、インデックスファイルという)が生成され、これが、ハードディスク212に記録されるようになされており、これにより、符号化データ(MPEGシステムストリーム)等の記録に必要な領域が、ハードディスク212にあらかじめ確保される。   That is, in the present embodiment, when recording an image, a file having a size necessary for recording an MPEG system stream obtained as a result of MPEG encoding by the encoder board 213 (hereinafter referred to as an MPEG file as appropriate), as will be described later. A file having a size necessary for recording an index or the like (hereinafter, referred to as an index file as appropriate) is generated and recorded on the hard disk 212, whereby encoded data (MPEG system stream) is recorded. ) And the like are reserved in the hard disk 212 in advance.

つまり、必要容量分以上の大きさのMPEGファイルおよびインデックスファイルが、ハードディスク212の空き領域に書き込まれる。   That is, an MPEG file and an index file that are larger than the necessary capacity are written in the free area of the hard disk 212.

ここで、ハードディスク212に書き込まれた直後のMPEGファイルおよびインデックスファイルは、その中身に、特に意味はなく、従って、VTRで録画を行う場合に、新品のビデオテープを用意することに相当するので、「スリップレコーダー」では、テープと呼ばれる。   Here, the contents of the MPEG file and the index file immediately after being written to the hard disk 212 have no particular meaning. Therefore, when recording with a VTR, it corresponds to preparing a new video tape. In "slip recorder", it is called a tape.

このテープの設定は、例えば、図8に示すようなテープ設定ダイアログボックス321において行うことができるようになされている。   This tape setting can be performed, for example, in a tape setting dialog box 321 as shown in FIG.

即ち、スリップレコーダメインウインドウ301(図7)の上部に表示された[編集]メニューの中の項目の1つとして、[標準テープ設定]があり、そこをクリックすることで、テープ設定ダイアログボックス321が表示される。   That is, as one of items in the [Edit] menu displayed at the top of the slip recorder main window 301 (FIG. 7), there is [Standard tape setting]. By clicking there, a tape setting dialog box 321 is displayed. Is displayed.

テープ設定ダイアログボックス321において、名前の欄322には、テープに付ける名前を入力する。図8の実施の形態では、「Tape」が入力されている。ここで、名前の欄322に入力した名前が、そのテープを構成するMPEGファイルおよびインデックスファイルのファイル名とされる。なお、MPEGファイルまたはインデックスファイルの拡張子には、例えば、それぞれMPGまたはSCXが使用されるようになされており、従って、名前の欄322に、テープの名前として、例えば、「Tape」が入力された場合、そのテープを構成するMPEGファイルまたはインデックスファイルのファイル名は、基本的に、それぞれTape.MPGまたはTape.SCXとなる。   In the tape setting dialog box 321, a name to be given to the tape is input in the name column 322. In the embodiment of FIG. 8, “Tape” is input. Here, the names entered in the name column 322 are the file names of the MPEG files and index files that make up the tape. Note that, for example, MPG or SCX is used as the extension of the MPEG file or the index file. Therefore, for example, “Tape” is input as the name of the tape in the name column 322. In this case, the file name of the MPEG file or index file constituting the tape is basically Tape.MPG or Tape.SCX, respectively.

書き込み禁止チェックボックス323は、テープへの書き込みを禁止する場合にチェックされる。種類の欄324には、テープの種類が設定される。   The write prohibition check box 323 is checked when writing to the tape is prohibited. In the type column 324, the type of tape is set.

ここで、「スリップレコーダー」では、テープの種類として、「ノーマル」(ノーマルテープ)と「エンドレス」(エンドレステープ)との2つが用意されている。   Here, in the “slip recorder”, two types of tape, “normal” (normal tape) and “endless” (endless tape), are prepared.

ノーマルテープが選択された場合、後述する録画時間の欄325に設定された録画時間分の記録を行うのに必要最小限のテープとしてのMPEGファイルおよびインデックスファイルが作成される。即ち、録画時間の欄325に、録画時間として、例えば、1時間が設定された場合、図9(A)に示すように、1時間分の記録が可能なテープが作成される。   When the normal tape is selected, an MPEG file and an index file are created as the minimum tape necessary for recording for the recording time set in the recording time column 325 described later. That is, for example, when 1 hour is set as the recording time in the recording time column 325, a tape capable of recording for 1 hour is created as shown in FIG.

一方、エンドレステープが選択された場合、固定の録画時間としての、例えば、15分の録画が可能なテープ(以下、適宜、固定テープという)が、その全体の録画時間が、録画時間の欄325に設定された録画時間分以上となるだけ作成される。即ち、ここでは、15分の録画が可能なテープが、録画時間の欄325に設定された録画時間(本実施の形態では、後述するように、例えば15分単位で設定される)を、15分で割った商に、1を加算した数だけ作成される。具体的には、録画時間の欄325に、録画時間として、例えば、1時間が設定された場合、図9(B)に示すように、固定テープが、5本作成される(従って、1時間15分の録画が可能なテープが作成される)。   On the other hand, when an endless tape is selected, a fixed recording time, for example, a tape capable of recording for 15 minutes (hereinafter, referred to as a fixed tape as appropriate) has a total recording time of the recording time column 325. It will be created as long as the recording time set in. That is, here, a tape capable of recording for 15 minutes has a recording time set in the recording time column 325 (in the present embodiment, for example, set in units of 15 minutes as described later), 15 A number obtained by adding 1 to the quotient divided by the minutes is created. Specifically, for example, when 1 hour is set as the recording time in the recording time column 325, five fixed tapes are created as shown in FIG. A tape capable of recording for 15 minutes is created).

ここで、ノーマルテープは、1つずつのMPEGファイルおよびインデックスファイルで構成されるが、エンドレステープは、上述したことから、複数のMPEGファイルおよびインデックスファイルで構成される場合がある。このため、エンドレステープを構成するMPEGファイルおよびインデックスファイルには、テープの名前に、記号#と連番とを付したファイル名が付されるようになっている。   Here, the normal tape is composed of one MPEG file and an index file, but the endless tape may be composed of a plurality of MPEG files and index files as described above. For this reason, the MPEG file and the index file constituting the endless tape are given a file name in which a symbol # and a serial number are added to the name of the tape.

即ち、図9(B)に示した場合においては、MPEGファイルとインデックスファイルが、それぞれ5個ずつ作成されるが、それぞれのファイル名は、その先頭のテープから、Tape#1.MPGとTape#1.SCX,Tape#2.MPGとTape#2.SCX,Tape#3.MPGとTape#3.SCX,Tape#4.MPGとTape#4.SCX,Tape#5.MPGとTape#5.SCXとされる。   In other words, in the case shown in FIG. 9B, five MPEG files and index files are created, and the file names are Tape # 1.MPG and Tape # from the top tape. 1.SCX, Tape # 2.MPG and Tape # 2.SCX, Tape # 3.MPG and Tape # 3.SCX, Tape # 4.MPG and Tape # 4.SCX, Tape # 5.MPG and Tape # 5. SCX.

ノーマルテープに対する記録は、その先頭から開始され、その終わりに到達した時点で終了される。なお、その終わりに到達する前に、記録の停止が指示された場合には、その時点で、記録は終了される。この場合、MPEGファイルとインデックスファイルの記録がなされていない部分は破棄される(空き領域として解放される)。   Recording on a normal tape starts from the beginning and ends when it reaches the end. Note that if an instruction to stop recording is given before reaching the end, recording is ended at that point. In this case, the portion where the MPEG file and the index file are not recorded is discarded (released as a free area).

一方、エンドレステープに対する記録は、複数の固定テープのうちの最初の固定テープの先頭から開始される。そして、最初の固定テープの終わりに到達すると、その最初の固定テープへの記録は終了され、2番目の固定テープへの記録が開始される。以下、同様にして、3番目、4番目、・・・、最後の固定テープへの記録が順次行われ、最後の固定テープの終わりに到達すると、再び、最初の固定テープへの記録(上書き)が行われる。   On the other hand, recording on the endless tape starts from the beginning of the first fixed tape among the plurality of fixed tapes. When the end of the first fixed tape is reached, the recording on the first fixed tape is finished, and the recording on the second fixed tape is started. In the same manner, the third, fourth,..., Recording on the last fixed tape is sequentially performed, and when the end of the last fixed tape is reached, recording on the first fixed tape is again performed (overwriting). Is done.

即ち、図9(B)に示した場合においては、1乃至5番目の固定テープすべてに対する記録が終了すると、再び、1番目の固定テープへの記録が開始され、記録の終了が指令されるまで(例えば、停止ボタン308が操作されるまで)、そのような巡回的な記録が、いわばエンドレスに続けられる。   That is, in the case shown in FIG. 9B, when the recording on all the first to fifth fixed tapes is completed, the recording on the first fixed tape is started again until the end of the recording is commanded. Such a cyclic recording is continued in an endless manner (for example, until the stop button 308 is operated).

そして、記録の終了が指令されると、その時点で、記録が終了される。この場合、「Slipclip」では、記録が終了した時点から、録画時間の欄325に設定された録画時間だけ遡った範囲が、再生可能な範囲とされる。   When the end of recording is instructed, the recording is ended at that time. In this case, in “Slipclip”, a range that is traced back by the recording time set in the recording time column 325 from the point of time when the recording ends is set as a reproducible range.

即ち、例えば、図9(B)において、5番目の固定テープに対して、10分の記録がなされた時点で、記録の終了が指令された場合、同図に斜線を付して示すように、1番目(最初)の固定テープの10分の位置から、5番目の固定テープの10分の位置までの1時間分が、再生可能な範囲とされる。   That is, for example, in FIG. 9B, when the end of recording is instructed when 10 minutes of recording is performed on the fifth fixed tape, as shown in FIG. The reproducible range is one hour from the tenth position of the first (first) fixed tape to the tenth position of the fifth fixed tape.

なお、この場合、1番目の固定テープの先頭から10分の位置までの範囲と、5番目の固定テープの10分の位置から終わりまでの範囲は、いずれも、再生可能な範囲でないので、ハードディスク212の効率的な利用の観点からは、いずれも破棄すべきであるが、ここでは、5番目の固定テープの10分の位置から終わりまでの範囲だけが破棄され、1番目の固定テープの先頭から10分の位置までの範囲は破棄されない。これは次のような理由による。   In this case, the range from the beginning of the first fixed tape to the position of 10 minutes and the range of the fifth fixed tape from the position of 10 minutes to the end are not reproducible ranges. From the viewpoint of efficient use of 212, both should be discarded, but here, only the range from the 10-minute position to the end of the fifth fixed tape is discarded, and the beginning of the first fixed tape. The range from 10 to 10 minutes is not discarded. This is due to the following reason.

即ち、固定テープを構成するMPEGファイルの先頭には、システムヘッダその他の、MPEGエンコードしたデータをデコードするのに必要な情報が配置されるため、そのような先頭部分を破棄してしまうと、デコードが困難となるからである。   That is, information necessary for decoding MPEG encoded data, such as a system header, is arranged at the beginning of the MPEG file that constitutes the fixed tape. This is because it becomes difficult.

従って、1番目の固定テープの先頭から10分の位置までの範囲については、その固定テープを構成するMPEGファイルに、直接アクセスすれば、その再生は可能である。   Accordingly, the range from the beginning of the first fixed tape to the position of 10 minutes can be reproduced by directly accessing the MPEG file constituting the fixed tape.

なお、エンドレステープを、上述のように、複数の固定テープで構成するのではなく、ノーマルテープと同様に1のテープで構成し、テープの種類としてエンドレスが選択された場合に、テープの先頭から記録を開始して、その終わりに到達した後、再び、その先頭からの記録(上書き)を繰り返す方法が考えられる。しかしながら、上述したように、MPEGファイルの先頭部分には、システムヘッダなどが書き込まれるため、そこに上書きをすると、デコードが困難となる。従って、エンドレステープは、複数の固定テープで構成するのが望ましい。   As described above, the endless tape is not composed of a plurality of fixed tapes, but is composed of one tape as in the case of the normal tape. A method is conceivable in which, after starting recording and reaching the end, recording (overwriting) from the beginning is repeated again. However, as described above, since a system header or the like is written at the beginning of the MPEG file, if it is overwritten, decoding becomes difficult. Therefore, the endless tape is preferably composed of a plurality of fixed tapes.

図8に戻り、録画時間の欄325には、録画を行う録画時間(記録時間)が入力される。ここでは、例えば、15分単位で、最大で、12時間まで設定することができるようになされている。なお、録画時間は、時間と分とに分けて入力するようになっている。   Returning to FIG. 8, a recording time (recording time) for recording is input in the recording time column 325. Here, for example, a maximum of 12 hours can be set in units of 15 minutes. Note that the recording time is input separately for hours and minutes.

自動インデックスチェックボックス326は、録画時に、画像のシーンチェンジの位置を表す目印としてのインデックスを、自動的に付すときにチェックされる。自動インデックスチェックボックス326がチェックされていない場合においては、後述するシーンチェンジポインタやシーンチェンジパラメータなどは、インデックスファイルに記録されない。   The automatic index check box 326 is checked when an index as a mark indicating the position of a scene change of an image is automatically added during recording. When the automatic index check box 326 is not checked, a scene change pointer and a scene change parameter, which will be described later, are not recorded in the index file.

録画モードの欄327には、録画モード(ビットレート情報)が設定される。ここでは、ビットレートの高い順に、「High」、「Normal」、「Long」、「Network」の4つの録画モードが用意されている。   In the recording mode column 327, a recording mode (bit rate information) is set. Here, four recording modes of “High”, “Normal”, “Long”, and “Network” are prepared in descending order of bit rate.

ここで、図10に、各録画モードについてのフレームのサイズ(横の画素数×縦の画素数)、MPEGエンコードの結果得られるシステムストリームのビットレート(システムビットレート)、画像のMPEGエンコード結果のビットレート(ビデオレート)、フレームレート、音声のMPEGエンコード結果のビットレート(オーディオビットレート)、設定可能な録音モード、および1GBのテープで録画可能な時間を示す。   Here, FIG. 10 shows the frame size (number of horizontal pixels × vertical number of pixels), the bit rate of the system stream obtained as a result of MPEG encoding (system bit rate), and the result of MPEG encoding of the image for each recording mode. The bit rate (video rate), frame rate, audio MPEG encoding result bit rate (audio bit rate), settable recording mode, and time available for recording on a 1 GB tape are shown.

録画モード「High」では、同一の記録容量のテープに対する録画時間は最も短くなるが、高画質の復号画像を得ることができる。録画モード「Normal」では、上述したように、ビデオCD(VCD)の規格に準拠したシステムストリームを得ることができる。録画モード「Long」は、例えば、それほど高画質の復号画像を必要としないが、比較的長時間の録画を行う場合などに適している。録画モード「Network」は、そのビットレートが、例えば、ISDN(Integrated Services Digtal Network)によってリアルタイムで伝送可能な値とされており、そのような伝送を行う場合に適している。   In the recording mode “High”, the recording time for the tape having the same recording capacity is the shortest, but a high-quality decoded image can be obtained. In the recording mode “Normal”, as described above, a system stream compliant with the video CD (VCD) standard can be obtained. The recording mode “Long” is suitable for, for example, a case where a high-quality decoded image is not required but recording is performed for a relatively long time. The recording mode “Network” has a bit rate that can be transmitted in real time by, for example, ISDN (Integrated Services Digital Network), and is suitable for such transmission.

なお、録画モード「Long」では、録画モード「High」および「Normal」に比較して、1フレームを構成する画素数が1/4程度になっており、録画モード「Network」では、さらに少なくなっている。また、録画モード「High」、「Normal」、および「Long」では、1秒間のフレーム数(フレームレート)は、30フレームであるが、録画モード「Network」では、その1/3の10フレームとなっている。   Note that in the recording mode “Long”, the number of pixels constituting one frame is about 1/4 compared to the recording modes “High” and “Normal”, and in the recording mode “Network”, the number of pixels is further reduced. ing. In the recording modes “High”, “Normal”, and “Long”, the number of frames per second (frame rate) is 30 frames. In the recording mode “Network”, the number of frames is 1/3, which is 10 frames. It has become.

再び、図8に戻り、録音モードの欄328には、録音モードが設定される。ここでは、2チャンネル(dual)、ステレオ(stereo)、およびモノラル(single)の3つの録音モードが用意されている。   Returning to FIG. 8 again, the recording mode is set in the recording mode column 328. Here, three recording modes of two channels (dual), stereo, and monaural (single) are prepared.

なお、図10に示したように、ここでは、録画モードとして、「High」または「Long」が設定された場合には、録音モードは、2チャンネルか、ステレオのうちのいずれか一方が選択可能とされている。また、録画モードとして、「Normal」が設定された場合には、録音モードは、2チャンネルに固定される。さらに、録画モードとして、「Network」が設定された場合には、録画モードは、モノラルに固定される。   As shown in FIG. 10, here, when “High” or “Long” is set as the recording mode, the recording mode can be selected from either two channels or stereo. It is said that. When “Normal” is set as the recording mode, the recording mode is fixed to 2 channels. Further, when “Network” is set as the recording mode, the recording mode is fixed to monaural.

クリップ作成フォルダの自動チェックボックス329は、クリップを作成するフォルダを、あらかじめ設定してあるものにする場合にチェックされる。ここで、クリップとは、1組のMPEGファイルとインデックスファイルとから構成される。即ち、MPEGファイルとインデックスファイルとの組は、「スリップレコーダー」ではテープと呼ばれ、「クリップエディター」や「クリップビューワー」ではクリップと呼ばれる。なお、テープがノーマルテープの場合、クリップとテープとは同義であるが、テープがエンドレステープの場合、テープは複数のクリップ(複数組のMPEGファイルとインデックスファイル)に対応することがある。   The clip creation folder automatic check box 329 is checked when a folder for creating a clip is set in advance. Here, the clip is composed of a set of MPEG files and index files. That is, a set of an MPEG file and an index file is called a tape in the “slip recorder” and a clip in the “clip editor” and the “clip viewer”. When the tape is a normal tape, the clip and the tape are synonymous. However, when the tape is an endless tape, the tape may correspond to a plurality of clips (a plurality of sets of MPEG files and index files).

クリップ作成フォルダの参照ボタン330は、クリップを作成するフォルダを指定する場合に操作される。   The clip creation folder reference button 330 is operated when a folder for creating a clip is designated.

情報の欄331には、録画モードの欄327に設定された録画モードによるエンコードを行う場合における復号画像のサイズ、フレームレート、ビデオビットレート、オーディオビットレートなどが表示される。即ち、録画モードに対応して、図10に示したサイズなどが表示される。   The information column 331 displays the size of the decoded image, the frame rate, the video bit rate, the audio bit rate, and the like when encoding is performed according to the recording mode set in the recording mode column 327. That is, the size shown in FIG. 10 is displayed corresponding to the recording mode.

さらに、情報の欄331には、録画モードの欄327に設定された録画モードによるエンコードを行い、その結果得られるMPEGシステムストリームを、録画時間の欄325に設定された録画時間だけ記録する場合に、ハードディスク212に確保されるテープの大きさ(記録容量)(ディスク領域)も表示される。   Furthermore, the information column 331 encodes the recording mode set in the recording mode column 327, and the resulting MPEG system stream is recorded only for the recording time set in the recording time column 325. The size (recording capacity) (disk area) of the tape secured in the hard disk 212 is also displayed.

ここで、テープの大きさの計算は、例えば、次のようにして行われる。   Here, the size of the tape is calculated as follows, for example.

即ち、録画モードの欄327に設定された録画モードのシステムビットレートに、録画時間の欄325に設定された録画時間が乗算され、これにより、MPEGファイルのサイズが求められる。さらに、MPEGファイルのサイズの、例えば、0.1%が、インデックスファイルのサイズとされる。そして、そのMPEGファイルのサイズとインデックスファイルのサイズとの加算値が、テープの大きさとされる。   That is, the system bit rate of the recording mode set in the recording mode column 327 is multiplied by the recording time set in the recording time column 325, thereby obtaining the size of the MPEG file. Further, for example, 0.1% of the size of the MPEG file is set as the size of the index file. The sum of the MPEG file size and the index file size is the tape size.

なお、各録画モードのシステムビットレートは、基本的に、図10に示した値が用いられるが、録画モード「Normal」については、図10に示したシステムビットレート(1,411,200bps)よりも小さい値が用いられる。即ち、図10における録画モード「Normal」のシステムビットレートは、MPEGシステムストリームをビデオCDに記録したときにおける値を表しており、これは、MPEGシステムストリームを構成するパックに、ビデオCDの規格に規定されているシンクやヘッダなどを付加したビットストリームのビットレート(ビデオCDの規格に規定されているビットレート)となっている。ハードディスク212にMPEGシステムストリームを記録する場合、そのようなシンクやヘッダなどは不要であり、さらに、ハードディスク212の有効利用の観点から、ここでは、そのような不要なデータを、ハードディスク21に記録しないようにしている。   The system bit rate in each recording mode basically uses the value shown in FIG. 10, but the recording mode “Normal” is based on the system bit rate (1,411,200 bps) shown in FIG. A smaller value is also used. That is, the system bit rate of the recording mode “Normal” in FIG. 10 represents a value when the MPEG system stream is recorded on the video CD. This is based on the video CD standard in the pack constituting the MPEG system stream. The bit rate of the bit stream to which a specified sync or header is added (the bit rate specified in the video CD standard). When an MPEG system stream is recorded on the hard disk 212, such a sync or header is unnecessary, and from the viewpoint of effective use of the hard disk 212, such unnecessary data is not recorded on the hard disk 21 here. I am doing so.

従って、録画モード「Normal」については、パックだけで構成されるMPEGシステムストリームのビットレートである1,394,400bpsを用いて、テープの大きさが計算されるようになされている。   Therefore, for the recording mode “Normal”, the size of the tape is calculated using 1,394,400 bps, which is the bit rate of the MPEG system stream composed only of packs.

具体的には、例えば、図8の実施の形態では、録画モードとして「Normal」が、録画時間として「1時間」が設定されている。ここで、テープの種類が「ノーマル」であれば、ビットレートである1,394,400bpsに、録画時間である1時間を乗算して得られる値の0.1%増しが、テープの大きさとなる。しかしながら、図8では、テープの種類として「エンドレス」が設定されている。エンドレステープについての録画時間は、上述したことから、録画時間の欄325に設定された録画時間よりも15分多くなる。このため、ビットレートである1,394,400bpsに、録画時間である1時間15分を乗算して得られる値の0.1%増し、即ち、748.76MBが、テープの大きさとなる。図8において、情報の欄331には、この値が表示されている。   Specifically, for example, in the embodiment of FIG. 8, “Normal” is set as the recording mode, and “1 hour” is set as the recording time. Here, if the type of tape is “normal”, an increase of 0.1% of the value obtained by multiplying the bit rate of 1,394,400 bps by the recording time of 1 hour is the tape size. Become. However, in FIG. 8, “endless” is set as the tape type. As described above, the recording time for the endless tape is 15 minutes longer than the recording time set in the recording time column 325. Therefore, the tape size is increased by 0.1% of the value obtained by multiplying the bit rate of 1,394,400 bps by the recording time of 1 hour 15 minutes, that is, 748.76 MB. In FIG. 8, this value is displayed in the information column 331.

OKボタン332は、テープ設定ダイアログボックス321における設定事項を、新たに入力されたものに確定し、テープ設定ダイアログボックス321を閉じる場合に操作される。キャンセルボタン333は、テープ設定ダイアログボックス321における設定事項を、前回確定された状態に保持し、テープ設定ダイアログボックス321を閉じる場合に操作される。ヘルプボタン334は、テープ設定ダイアログボックス321についての説明(ヘルプ)を表示させる場合に操作される。   The OK button 332 is operated when the setting items in the tape setting dialog box 321 are confirmed to be newly input and the tape setting dialog box 321 is closed. The cancel button 333 is operated when the setting items in the tape setting dialog box 321 are held in the previously determined state and the tape setting dialog box 321 is closed. The help button 334 is operated to display an explanation (help) about the tape setting dialog box 321.

次に、図11および図12のフローチャートを参照して、「スリップレコーダー」による録画処理について説明する。   Next, recording processing by the “slip recorder” will be described with reference to the flowcharts of FIGS. 11 and 12.

録画を行う場合、ユーザは、まず、上述したように、テープ設定ダイアログボックス321(図8)を開いて、テープの設定を行っておく。   When recording, the user first opens the tape setting dialog box 321 (FIG. 8) and sets the tape as described above.

そして、例えば、テレビジョン放送番組を録画する場合には、スリップレコーダメインウインドウ301(図7)の入力切換ボタン312を操作し、入力として、TVチューナ213A(図5)の出力を選択する。さらに、アップダウンボタン313またはチャンネルボタン314を操作して、録画する番組のチャンネルを選択する。   For example, when recording a television broadcast program, the input switching button 312 of the slip recorder main window 301 (FIG. 7) is operated, and the output of the TV tuner 213A (FIG. 5) is selected as an input. Further, the channel of the program to be recorded is selected by operating the up / down button 313 or the channel button 314.

また、例えば、ビデオカメラ214で録画した画像(およびそれに付随する音声)を録画(ダビング)する場合には、ビデオカメラ214の映像出力端子および音声出力端子(図示せず)を、本体31の背面のAV端子部84または正面のAV端子部43と接続する。そして、入力切換ボタン312を操作し、入力として、AV端子部84または43からの入力を選択する。   Further, for example, when recording (dubbing) an image (and accompanying sound) recorded by the video camera 214, the video output terminal and the audio output terminal (not shown) of the video camera 214 are connected to the back of the main body 31. The AV terminal portion 84 or the front AV terminal portion 43 is connected. Then, the input switching button 312 is operated to select an input from the AV terminal 84 or 43 as an input.

以上の作業後、ユーザが、スリップレコーダメインウインドウ301の録画ボタン309を操作すると、マイクロプロセッサ1では、図11または図12のフローチャートにしたがった録画処理が行われる。   After the above work, when the user operates the recording button 309 of the slip recorder main window 301, the microprocessor 1 performs recording processing according to the flowchart of FIG. 11 or FIG.

即ち、録画に用いるテープとして、ノーマルテープが設定されている場合においては、図11のフローチャートに示すように、まず最初に、ステップS1において、テープの作成が可能かどうかが判定される。   That is, when a normal tape is set as the tape used for recording, first, as shown in the flowchart of FIG. 11, it is first determined in step S1 whether or not a tape can be created.

ここで、テープ設定ダイアログボックス321においてテープの設定が行われただけでは、ハードディスク212に、テープ、即ち、録画に必要な記録領域は確保されない。即ち、テープの確保は、録画ボタン309が操作され、録画の開始が指示されてから行われる。これは、録画が開始される前に、テープを確保することは、ハードディスク212の効率的な利用の観点から好ましくないからである。   Here, simply by setting a tape in the tape setting dialog box 321, a tape, that is, a recording area necessary for recording, is not secured on the hard disk 212. That is, the tape is secured after the recording button 309 is operated and the start of recording is instructed. This is because it is not preferable to secure a tape before recording starts from the viewpoint of efficient use of the hard disk 212.

また、ステップS1における判定処理は、テープの大きさが、上述したようにして計算され、その大きさの記録領域が、ハードディスク212に確保することができるかどうかを確認することで行われる。   The determination process in step S1 is performed by checking whether the size of the tape is calculated as described above and a recording area of that size can be secured in the hard disk 212.

ステップS1において、テープの作成が可能でないと判定された場合、即ち、設定されたテープを確保するだけの空き容量がハードディスク212にない場合、例えば、その旨が表示され、録画処理を終了する。従って、この場合、録画は行われない。   If it is determined in step S1 that a tape cannot be created, that is, if the hard disk 212 does not have enough free space to secure the set tape, for example, this is displayed and the recording process is terminated. Therefore, in this case, recording is not performed.

また、ステップS1において、テープの作成が可能であると判定された場合、即ち、設定されたテープを構成するMPEGファイルおよびインデックスファイルを、ハードディスク212に書き込むことができる場合、ステップS2に進み、そのMPEGファイルおよびインデックスファイルが、ハードディスク212に書き込まれる。なお、上述したように、この時点におけるMPEGファイルおよびインデックスファイルには、特に意味のある情報は書き込まれていない。   If it is determined in step S1 that the tape can be created, that is, if the MPEG file and the index file constituting the set tape can be written to the hard disk 212, the process proceeds to step S2. The MPEG file and the index file are written to the hard disk 212. As described above, no particularly meaningful information is written in the MPEG file and the index file at this time.

その後、ステップS3に進み、テープとしてのMPEGファイルがオープンされ、ステップS4に進む。ステップS4では、入力切換ボタン312を操作することにより選択された入力のエンコードを行うように、エンコーダボード213が制御され、これにより、エンコーダボード213において、録画対象のMPEGエンコードが行われる。   Thereafter, the process proceeds to step S3, where an MPEG file as a tape is opened, and the process proceeds to step S4. In step S4, the encoder board 213 is controlled so as to encode the input selected by operating the input switching button 312. Thus, the encoder board 213 performs MPEG encoding of the recording target.

そして、ステップS5に進み、MPEGエンコードの結果得られるMPEGシステムストリームが、ハードディスク212に転送され、ステップS2で確保されたMPEGファイルに書き込まれる。その後、ステップS6に進み、MPEGシステムストリームが、MPEGファイルの終わりまで書き込まれたか、あるいは、停止ボタン308が操作されることにより、録画の終了が指示されたかどうかが判定される。ステップS6において、MPEGシステムストリームが、MPEGファイルの終わりまで書き込まれていないと判定され、かつ、停止ボタン308が操作されていないと判定された場合、ステップS4に戻り、録画対象のエンコードおよび記録が続行される。   In step S5, the MPEG system stream obtained as a result of the MPEG encoding is transferred to the hard disk 212 and written in the MPEG file secured in step S2. Thereafter, the process proceeds to step S6, in which it is determined whether the MPEG system stream has been written to the end of the MPEG file or the end of recording has been instructed by operating the stop button 308. If it is determined in step S6 that the MPEG system stream has not been written to the end of the MPEG file, and it is determined that the stop button 308 has not been operated, the process returns to step S4 to encode and record the recording target. Continued.

また、ステップS6において、MPEGシステムストリームが、MPEGファイルの終わりまで書き込まれたと判定されるか、または、停止ボタン308が操作されることにより、録画の終了が指示されたと判定された場合、ステップS7に進み、MPEGファイルがクローズされ、録画処理を終了する。   On the other hand, if it is determined in step S6 that the MPEG system stream has been written to the end of the MPEG file, or if it is determined that the end of recording has been instructed by operating the stop button 308, step S7 is performed. Then, the MPEG file is closed and the recording process is terminated.

次に、録画に用いるテープが、エンドレステープの場合においては、図12のフローチャートにしたがった録画処理が行われる。   Next, when the tape used for recording is an endless tape, a recording process according to the flowchart of FIG. 12 is performed.

即ち、ステップS11またはS12では、図11のステップS1またはS2とそれぞれ同様の処理が行われる。なお、ステップS12では、上述したように、複数の固定テープ(図9(B))からなるエンドレステープが作成される。   That is, in step S11 or S12, processing similar to that in step S1 or S2 in FIG. 11 is performed. In step S12, as described above, an endless tape composed of a plurality of fixed tapes (FIG. 9B) is created.

ステップS12の処理後は、ステップS13に進み、エンドレステープを構成する最初の固定テープ(1番目の固定テープ)におけるMPEGファイルがオープンされ、ステップS14に進む。ステップS14では、入力切換ボタン312を操作することにより選択された入力のエンコードを行うように、エンコーダボード213が制御され、これにより、エンコーダボード213において、録画対象のMPEGエンコードが行われる。   After step S12, the process proceeds to step S13, where the MPEG file on the first fixed tape (first fixed tape) constituting the endless tape is opened, and the process proceeds to step S14. In step S14, the encoder board 213 is controlled to encode the input selected by operating the input switching button 312, and the encoder board 213 performs MPEG encoding of the recording target.

そして、ステップS15に進み、MPEGエンコードの結果得られるMPEGシステムストリームが、ハードディスク212に転送され、MPEGファイルに書き込まれる。その後、ステップS16に進み、例えば、停止ボタン308が操作されることにより、録画の終了が指示されたかどうかが判定される。ステップS16において、録画の終了が指示されていなと判定された場合、ステップS17に進み、MPEGシステムストリームが、固定テープを構成するMPEGファイルの終わりまで書き込まれたかどうかが判定される。ステップS17において、MPEGシステムが、固定テープを構成するMPEGファイルの終わりまで書き込まれていないと判定された場合、ステップS14に戻り、録画対象のエンコードおよび記録が続行される。   In step S15, the MPEG system stream obtained as a result of the MPEG encoding is transferred to the hard disk 212 and written in the MPEG file. Thereafter, the process proceeds to step S16, and it is determined whether or not the end of the recording is instructed by operating the stop button 308, for example. If it is determined in step S16 that the end of recording has not been instructed, the process proceeds to step S17 to determine whether or not the MPEG system stream has been written to the end of the MPEG file constituting the fixed tape. If it is determined in step S17 that the MPEG system has not been written to the end of the MPEG file constituting the fixed tape, the process returns to step S14 to continue encoding and recording of the recording target.

また、ステップS17において、MPEGシステムストリームが、固定テープを構成するMPEGファイルの終わりまで書き込まれたと判定された場合、ステップS18に進み、そのMPEGファイルがクローズされ、ステップS19に進む。ステップS19では、次の固定テープを構成するMPEGファイルがオープンされ、ステップS14に進む。従って、この後は、その次の固定テープを構成するMPEGファイルに対して、MPEGシステムストリームが書き込まれる。   If it is determined in step S17 that the MPEG system stream has been written to the end of the MPEG file constituting the fixed tape, the process proceeds to step S18, the MPEG file is closed, and the process proceeds to step S19. In step S19, the MPEG file constituting the next fixed tape is opened, and the process proceeds to step S14. Therefore, after this, the MPEG system stream is written to the MPEG file constituting the next fixed tape.

なお、MPEGシステムストリームが、最後の固定テープを構成するMPEGファイルの終わりまで書き込まれた場合には、ステップS19では、再び、最初の固定テープを構成するMPEGファイルがオープンされ、そこに、MPEGシステムストリームが上書きされていく。従って、ステップS16において、録画の終了が指示されたと判定されるまでは、MPEGシステムストリームがエンドレスで書き込まれていく。   If the MPEG system stream has been written to the end of the MPEG file constituting the last fixed tape, in step S19, the MPEG file constituting the first fixed tape is opened again, and the MPEG system stream is opened there. The stream is overwritten. Therefore, the MPEG system stream is written endlessly until it is determined in step S16 that the end of recording has been instructed.

そして、例えば、停止ボタン308が操作されると、ステップS16において、録画の終了が指示されたと判定される。この場合、ステップS20に進み、オープンしているMPEGファイルがクローズされ、録画処理を終了する。   For example, when the stop button 308 is operated, it is determined in step S16 that the end of recording has been instructed. In this case, the process proceeds to step S20, the opened MPEG file is closed, and the recording process is terminated.

次に、録画時には、以上のように、テープを構成するMPEGファイルに、MPEGシステムストリームが記録されるが、このとき、同時に、そのテープを構成するインデックスファイルにも、所定のデータが記録される。   Next, at the time of recording, as described above, the MPEG system stream is recorded in the MPEG file constituting the tape. At the same time, predetermined data is also recorded in the index file constituting the tape. .

図13のフローチャートは、インデックスファイルにデータを記録するインデックス記録処理を示している。   The flowchart in FIG. 13 shows an index recording process for recording data in an index file.

録画が開始されると、まず最初に、ステップS30において、インデックスファイルがオープンされ、録画が開始された時刻(録画を開始したときの現在時刻)(以下、適宜、開始時刻という)、録画モード(テープ設定ダイアログボックス321(図8)で設定されたもの)などが配置されたヘッダが記録され、ステップS31に進む。ステップS31では、エンコーダボード213のシーンチェンジ検出回路131(図6)からインデックスデータが送信されてきたかどうかが、マイクロプロセッサ201によって判定され、送信されてきていないと判定された場合、ステップS32乃至S38をスキップして、ステップS39に進む。   When recording is started, first, in step S30, the index file is opened and the recording start time (current time when recording is started) (hereinafter referred to as the start time as appropriate), recording mode ( The header in which the tape setting dialog box 321 (set in the tape setting dialog box 321 (FIG. 8)) is arranged is recorded, and the process proceeds to step S31. In step S31, the microprocessor 201 determines whether index data has been transmitted from the scene change detection circuit 131 (FIG. 6) of the encoder board 213. If it is determined that the index data has not been transmitted, steps S32 to S38 are performed. Is skipped and the process proceeds to step S39.

また、ステップS31において、シーンチェンジ検出回路131(図6)からインデックスデータが送信されてきたと判定された場合、マイクロプロセッサ201は、そのインデックスデータを受信し、ステップS32に進む。   If it is determined in step S31 that index data has been transmitted from the scene change detection circuit 131 (FIG. 6), the microprocessor 201 receives the index data, and proceeds to step S32.

ここで、図14は、シーンチェンジ検出回路131が出力するインデックスデータのフォーマットの例を示している。   Here, FIG. 14 shows an example of the format of the index data output from the scene change detection circuit 131.

同図に示すように、インデックスデータは、各種のフラグが配置された4ビットの領域と、式(4)で説明した第2のパラメータSADが配置された28ビットの領域とが順次配置された合計32ビットで構成されている。フラグとしては、例えば、第2のパラメータSADの計算対象となったフレームのピクチャタイプを表すもの(以下、適宜、ピクチャタイプフラグという)や、シーンチェンジ検出回路131におけるシーンチェンジの検出の有無を表すもの(以下、適宜、シーンチェンジフラグという)などが配置されている。   As shown in the figure, in the index data, a 4-bit area in which various flags are arranged and a 28-bit area in which the second parameter SAD described in Expression (4) is arranged are sequentially arranged. It consists of a total of 32 bits. As the flag, for example, a flag indicating the picture type of the frame for which the second parameter SAD is calculated (hereinafter referred to as a picture type flag as appropriate), or the presence or absence of a scene change detection in the scene change detection circuit 131 is indicated. Things (hereinafter referred to as scene change flags as appropriate) are arranged.

図13に戻り、ステップS32では、マイクロプロセッサ201において、シーンチェンジ検出回路131から受信したインデックスデータが、Iピクチャか、またはPピクチャについてのものであるかどうかが判定される。なお、この判定は、例えば、インデックスデータに配置されたピクチャタイプフラグを参照して行われる。   Returning to FIG. 13, in step S32, the microprocessor 201 determines whether or not the index data received from the scene change detection circuit 131 is for an I picture or a P picture. This determination is performed with reference to, for example, a picture type flag arranged in the index data.

ステップS32において、インデックスデータが、Iピクチャについてのものでもないし、Pピクチャについてのものでもないと判定された場合、即ち、Bピクチャについてのものである場合、ステップS33乃至S38をスキップして、ステップS39に進む。また、ステップS32において、インデックスデータが、Iピクチャについてのものか、またはPピクチャについてのものであると判定された場合、ステップS33に進み、そのIピクチャまたはPピクチャにおいて、シーンチェンジが検出されたかどうかが、マイクロプロセッサ201によって判定される。なお、この判定は、例えば、インデックスデータに配置されたシーンチェンジフラグを参照して行われる。   If it is determined in step S32 that the index data is not for an I picture or a P picture, that is, for a B picture, steps S33 to S38 are skipped, Proceed to S39. If it is determined in step S32 that the index data is for an I picture or a P picture, the process proceeds to step S33 to determine whether a scene change has been detected in the I picture or P picture. Whether or not the microprocessor 201 determines. This determination is made with reference to a scene change flag arranged in the index data, for example.

ステップS33において、シーンチェンジが検出されていないと判定された場合、ステップS34乃至S37をスキップして、ステップS38に進む。また、ステップS33において、シーンチェンジが検出されたと判定された場合、ステップS34に進み、マイクロプロセッサ201は、シーンチェンジパラメータを算出する。即ち、マイクロプロセッサ201は、今回受信したインデックスデータに配置されているSADを、後述するステップS38で記憶された、前回のSADで除算し、その除算結果を、シーンチェンジパラメータとする。   If it is determined in step S33 that no scene change has been detected, steps S34 to S37 are skipped and the process proceeds to step S38. If it is determined in step S33 that a scene change has been detected, the process advances to step S34, and the microprocessor 201 calculates a scene change parameter. That is, the microprocessor 201 divides the SAD arranged in the index data received this time by the previous SAD stored in step S38, which will be described later, and uses the division result as a scene change parameter.

ここで、このシーンチェンジパラメータは、シーンチェンジの度合い(画面が切り換わっている程度)を表し、その度合いが大きいほど、大きな値となる。なお、シーンチェンジパラメータは、上述のものに限定されるものではなく、シーンチェンジの度合いを表す、他の物理量を採用することも可能である。   Here, the scene change parameter represents the degree of scene change (the degree to which the screen is switched), and the larger the degree, the larger the value. The scene change parameters are not limited to those described above, and other physical quantities representing the degree of scene change can be adopted.

シーンチェンジパラメータの算出後は、ステップS35に進み、マイクロプロセッサ201において、そのシーンチェンジパラメータが、所定の閾値ε(例えば、3など)より大きいかどうかが判定される。ステップS35において、シーンチェンジパラメータが、所定の閾値εより大きくないと判定された場合、ステップS36およびS37をスキップして、ステップS38に進む。   After the calculation of the scene change parameter, the process proceeds to step S35, and the microprocessor 201 determines whether or not the scene change parameter is larger than a predetermined threshold ε (for example, 3). If it is determined in step S35 that the scene change parameter is not greater than the predetermined threshold ε, steps S36 and S37 are skipped and the process proceeds to step S38.

また、ステップS35において、シーンチェンジパラメータが、所定の閾値εより大きいと判定された場合、ステップS36に進み、そのシーンチェンジパラメータがシーンチェンジの度合いを表すフレームの符号化データが、MPEGファイルに書き込まれた位置に関する位置情報としてのシーンチェンジポインタが求められ、シーンチェンジパラメータと対応付けられる。さらに、これらに、後述する識別フラグが付加され、インデックスファイルに書き込まれる。   If it is determined in step S35 that the scene change parameter is larger than the predetermined threshold ε, the process proceeds to step S36, and the encoded data of the frame in which the scene change parameter indicates the degree of scene change is written in the MPEG file. A scene change pointer as position information regarding the determined position is obtained and associated with the scene change parameter. Further, an identification flag to be described later is added to these and written in the index file.

なお、シーンチェンジポインタとしては、例えば、符号化データが、MPEGファイルの先頭から何バイト目に書き込まれているかを表すバイトポジションなどを採用することができる。   As the scene change pointer, for example, a byte position indicating the byte number where the encoded data is written from the head of the MPEG file can be adopted.

ここで、以下、適宜、シーンチェンジパラメータおよびシーンチェンジポインタに、識別フラグを加えたものを、インデックスという。インデックスは、画像のシーンチェンジの位置を表す目印としての役割を果たす。   Here, hereinafter, an appropriate combination of the scene change parameter and the scene change pointer with an identification flag is referred to as an index. The index serves as a mark indicating the position of the scene change in the image.

なお、以上のように、録画時に、マイクロプロセッサ201によって付される(インデックスファイルに書き込まれる)インデックスは、自動インデックスと呼ばれる。インデックスは、ユーザが所定の操作をすることにより付すこともでき、ユーザにより付されたインデックスは、手動インデックスと呼ばれる。上述の識別フラグは、インデックスが自動インデックスか、または手動インデックスかを表す、例えば1ビットのフラグである。   As described above, the index attached (written to the index file) by the microprocessor 201 at the time of recording is called an automatic index. The index can also be attached by the user performing a predetermined operation, and the index attached by the user is called a manual index. The identification flag described above is, for example, a 1-bit flag indicating whether the index is an automatic index or a manual index.

ステップS36の処理後は、ステップS37に進み、スリップレコーダメインウインドウ301(図7)のシーンチェンジインジケータ303が所定の時間だけ表示され、これにより、ユーザに、シーンチェンジが検出されたことが報知される。そして、ステップS38に進み、今回受信したインデックスデータに配置されたSADが、前回記憶されたSADに代えて、メインメモリ202に記憶され、ステップS39に進む。ステップS39では、MPEGファイルへのMPEGシステムストリームの記録が終了されたかどうかが判定され、終了されていないと判定された場合、ステップS31に戻り、以下、同様の処理を繰り返す。   After step S36, the process proceeds to step S37, where the scene change indicator 303 of the slip recorder main window 301 (FIG. 7) is displayed for a predetermined time, thereby notifying the user that a scene change has been detected. The In step S38, the SAD arranged in the index data received this time is stored in the main memory 202 in place of the previously stored SAD, and the flow advances to step S39. In step S39, it is determined whether or not the recording of the MPEG system stream to the MPEG file has been completed. If it is determined that the recording has not ended, the process returns to step S31, and the same processing is repeated thereafter.

また、ステップS39において、MPEGファイルへのMPEGシステムストリームの記録が終了されたと判定された場合、インデックスファイルがクローズされ、インデックス記録処理を終了する。   If it is determined in step S39 that the recording of the MPEG system stream to the MPEG file has been completed, the index file is closed and the index recording process is terminated.

ここで、図13の実施の形態では、シーンチェンジフラグが、シーンチェンジ検出回路131においてシーンチェンジが検出されたことを表している場合において、シーンチェンジパラメータが所定の閾値εより大きいときのみ、インデックスを記録するようにしているが、インデックスの記録は、シーンチェンジパラメータの大きさに無関係に行うことも可能である。但し、この場合、それほど大きな変化のないフレームにもインデックスが付されることになり、その結果、インデックスの数が増加することになる。   Here, in the embodiment of FIG. 13, when the scene change flag indicates that a scene change has been detected by the scene change detection circuit 131, the index is changed only when the scene change parameter is larger than a predetermined threshold value ε. However, it is also possible to record the index regardless of the size of the scene change parameter. However, in this case, an index is added to a frame that does not change so much, and as a result, the number of indexes increases.

次に、画像(およびそれに付随する音声)の録画を行っている最中に、既に録画済みの画像の任意の場面の再生を行うことができれば便利である。即ち、例えば、録画中によそ見をしていて、あるシーンを見逃した場合に、そのシーンまで遡って再生を行うことができれば便利である。   Next, it is convenient if an arbitrary scene of an already recorded image can be reproduced while an image (and sound accompanying it) is being recorded. That is, for example, if you are looking away while recording and you miss a certain scene, it is convenient if you can play back to that scene.

そこで、「スリップレコーダー」では、上述したように、画像(およびそれに付随する音声)の録画を行いながら、即ち、録画を中断せずに、既に録画済みの画像の任意の場面の再生も行うことができるようになされている。ここで、このような再生を、以下、適宜、スリップ再生という。   Therefore, in the “slip recorder”, as described above, while recording an image (and accompanying sound), that is, without interrupting the recording, an arbitrary scene of the already recorded image can be reproduced. It is made to be able to. Here, such reproduction is hereinafter referred to as slip reproduction as appropriate.

スリップ再生を行う場合、ユーザは、図7のスリップレコーダメインウインドウ301の上部にある[再生]メニューから、項目[スリップ]を選択する。この場合、例えば、図15に示すような再生ウインドウ341が表示される。   When performing the slip reproduction, the user selects the item “slip” from the “reproduction” menu at the top of the slip recorder main window 301 of FIG. In this case, for example, a playback window 341 as shown in FIG. 15 is displayed.

再生ウインドウ341において、画像表示欄342には、再生された画像が表示される。再生インジケータ343には、現在の再生状態が表示される。即ち、例えば、再生中は「PLAY」が、一時停止中は「PAUSE」が、停止中は「STOP」が、スロー再生中は「SLOW」が、順方向スキップ中は「F.SKIP」が、逆方向スキップ中は「R.SKIP」が、それぞれ再生インジケータ343に表示される。   In the reproduction window 341, the reproduced image is displayed in the image display field 342. The playback indicator 343 displays the current playback state. That is, for example, “PLAY” during playback, “PAUSE” during pause, “STOP” during stop, “SLOW” during slow playback, “F.SKIP” during forward skip, While skipping in the reverse direction, “R.SKIP” is displayed on the playback indicator 343, respectively.

再生時間表示344には、図16に示すように、録画が開始された時刻(開始時刻)から、スリップ再生の対象となっている位置(以下、適宜、再生ポイントという)までの経過時間、再生ポイントから、録画対象となっている位置(以下、適宜、録画ポイントという)までの間の残り時間(但し、録画済のテープでは、テープの終わりまでの時間)、または再生ポイントにおける画像(符号化データ)が録画されたときの時刻(以下、適宜、録画時刻という)のうちのいずれかの時間情報が表示される。いずれの時間情報を表示するかは、再生時間表示変更ボタン353を操作することにより選択することができるようになされている。   In the playback time display 344, as shown in FIG. 16, the elapsed time from the recording start time (start time) to the position subject to slip playback (hereinafter referred to as a playback point as appropriate), playback The remaining time from the point to the recording target position (hereinafter referred to as the recording point as appropriate) (however, for a recorded tape, the time until the end of the tape), or the image at the playback point (encoding) Time information of one of the times when the (data) is recorded (hereinafter referred to as recording time as appropriate) is displayed. Which time information is displayed can be selected by operating a reproduction time display change button 353.

ここで、スリップ再生が行われる場合においては、再生ポイントを、後述するスライダ354を操作して移動しない限り、再生ポイントと録画ポイントとの相対的な位置関係(再生ポイントと録画ポイントとの距離)は変化しない。従って、スリップ再生時に、再生時間表示344における時間情報として、残り時間が選択された場合、その残り時間の表示は一定(ほぼ一定)(再生ポイントと録画ポイントとの距離に相当する時間)になる。   Here, when slip playback is performed, the relative position relationship between the playback point and the recording point (distance between the playback point and the recording point) unless the playback point is moved by operating a slider 354 described later. Does not change. Accordingly, when the remaining time is selected as time information in the playback time display 344 during slip playback, the remaining time is displayed (approximately constant) (time corresponding to the distance between the playback point and the recording point). .

なお、再生ウインドウ341は、スリップ再生が指示された場合だけでなく、スリップレコーダメインウインドウ301の入力切換ボタン312を操作することにより選択された入力をモニタすることが指示された場合や、録画の終了したテープを再生することが指示された場合にもオープンされる。モニタのために再生ウインドウ341がオープンされた場合、再生時間表示344は「−−:−−:−−」となる。また、録画の終了したテープの再生のために再生ウインドウ341がオープンされた場合において、再生時間表示344に表示する時間情報として残り時間が選択されたときには、再生ポイントから、テープの終わりまでの間の時間が表示される。   Note that the playback window 341 is not only used when slip playback is instructed, but also when monitoring input selected by operating the input switching button 312 of the slip recorder main window 301 or when recording is performed. It is also opened when instructed to play a finished tape. When the playback window 341 is opened for monitoring, the playback time display 344 becomes “-:-:-”. In addition, when the playback window 341 is opened for playback of a tape for which recording has been completed, when the remaining time is selected as time information to be displayed on the playback time display 344, the time from the playback point to the end of the tape is selected. Is displayed.

音声モード表示345には、現在の音声モードが表示される。音声モードには、例えば、ステレオ音声の出力、Lチャンネルのみの左右の両スピーカからの出力、Rチャンネルのみの左右の両スピーカからの出力の3種類があり、音声切換ボタン357を操作することにより選択することができるようになされている。なお、ステレオ音声の出力、Lチャンネルのみの出力、Rチャンネルのみの出力が選択されているとき、音声モード表示345としては、例えば、それぞれ「STEREO」、「L ONLY」、「R ONLY」がそれぞれ表示される。   The voice mode display 345 displays the current voice mode. There are three types of audio modes, for example, stereo audio output, output from left and right speakers only for the L channel, and output from both left and right speakers only for the R channel, and by operating the audio switching button 357, It has been made so that you can choose. When stereo sound output, L channel only output, and R channel only output are selected, for example, “STEREO”, “L ONLY”, and “R ONLY” are respectively displayed as the audio mode display 345. Is displayed.

停止ボタン346、再生ボタン347、または一時停止ボタン348は、再生を停止するとき、再生を開始するとき、または再生を一時停止するときに、それぞれ操作される。スキップボタン349または350は、逆方向スキップまたは順方向スキップを行うときにそれぞれ操作される。インデックスボタン351または352は、インデックスが付されているフレームのうち、再生ポイントから、逆または順方向に最も近いものにスキップするときに、それぞれ操作される。   The stop button 346, the playback button 347, or the pause button 348 is operated when the playback is stopped, when the playback is started, or when the playback is paused. The skip button 349 or 350 is operated when performing a backward skip or a forward skip, respectively. The index button 351 or 352 is operated when skipping from the playback point to the closest frame in the reverse or forward direction from the frames to which the index is attached.

再生時間表示変更ボタン353は、再生時間表示344に表示させる時間情報を選択するときに操作される。なお、再生時間表示変更ボタン353が操作されるごとに、再生時間表示344の表示は、例えば、経過時間→残り時間→録画時刻→経過時間→・・・のように変化するようになっている。   The reproduction time display change button 353 is operated when selecting time information to be displayed on the reproduction time display 344. Each time the playback time display change button 353 is operated, the display of the playback time display 344 changes, for example, as elapsed time → remaining time → recording time → elapsed time →. .

スライダ354は、再生ポイントを変更する場合に操作される。即ち、スライダ354は、例えば、マウス22でドラッグすることにより移動させることができるようになされており、再生ポイントは、スライダ354の位置に対応して変更される。なお、スライダ354は、スライダ溝354Aの左端から右端までの間を移動させることができるようになされている。また、スライダ溝354Aの左端は、録画が開始された位置(MPEGファイルの先頭)に、その右端は、録画ポイントに、それぞれ相当する。従って、ユーザは、スライダ354を操作することにより、録画が開始されてから、いま録画がされている画面の直前までの間の任意の画面の再生を行うことができる。   The slider 354 is operated when changing the playback point. That is, the slider 354 can be moved, for example, by dragging with the mouse 22, and the playback point is changed corresponding to the position of the slider 354. The slider 354 can be moved from the left end to the right end of the slider groove 354A. The left end of the slider groove 354A corresponds to the recording start position (the beginning of the MPEG file), and the right end corresponds to the recording point. Accordingly, by operating the slider 354, the user can reproduce an arbitrary screen from when recording is started until immediately before the screen on which recording is currently performed.

但し、エンコーダボード213においては、上述したように、符号化前の画像が、フレームメモリ110に一時記憶され、また、エンコード結果が、出力バッファ118に一時記憶される。さらに、MPEGエンコードおよびそのエンコード結果の書き込みには、ある程度の時間を要する。このため、実際には、スリップ再生の対象は、いま録画対象となっている画面の、約10乃至15秒程度の時間だけ遡った画面までとなる。   However, in the encoder board 213, as described above, the image before encoding is temporarily stored in the frame memory 110, and the encoding result is temporarily stored in the output buffer 118. Furthermore, a certain amount of time is required to write the MPEG encoding and the encoding result. For this reason, in reality, the target of slip reproduction is the screen that is back about 10 to 15 seconds from the screen that is currently being recorded.

スライダ354は、ユーザによって操作されることにより移動する他、再生が行われることにより順次変化する再生ポイントに対応しても移動する。また、スライダ354は、スキップボタン349および350や、インデックスボタン351および352などが操作されることにより、再生ポイントが変化した場合にも移動される。   The slider 354 moves when operated by the user, and also moves corresponding to playback points that change sequentially as playback is performed. The slider 354 is also moved when the playback point is changed by operating the skip buttons 349 and 350, the index buttons 351 and 352, and the like.

なお、スライダ354が移動され、再生ポイントが変更された場合、その変更に対応して、再生時間表示344における時間情報も変更されるようになされている。   When the slider 354 is moved and the playback point is changed, the time information in the playback time display 344 is also changed in accordance with the change.

コマ送りボタン355は、一時停止ボタン348が操作されることにより、再生が一時停止されている場合において、コマ送りするときに(次のフレームを、画像表示欄342に表示させるときに)操作される。スロー再生ボタン356は、スロー再生を行う場合に操作される。音声切換ボタン357は、音声モードを切り換える場合に操作される。なお、音声切換ボタン357が操作されるごとに、音声モードは、例えば、ステレオ音声の出力→Lチャンネルのみの出力→Rチャンネルのみの出力→ステレオ音声の出力→・・・のように変化するようになっている。   The frame advance button 355 is operated when the frame is advanced (when the next frame is displayed in the image display field 342) when the playback is paused by operating the pause button 348. The The slow playback button 356 is operated when performing slow playback. The voice switching button 357 is operated when switching the voice mode. Each time the audio switching button 357 is operated, the audio mode changes, for example, as follows: stereo audio output → L channel only output → R channel only output → stereo audio output →. It has become.

次に、図17のフローチャートを参照して、「スリップレコーダー」によるスリップ再生処理について説明する。   Next, the slip reproduction process by the “slip recorder” will be described with reference to the flowchart of FIG.

スリップ再生が指示(指令)され、再生ウインドウ341がオープンされると、ステップS40において、マイクロプロセッサ201は、いま書き込みがされているテープを構成するMPEGファイルの先頭からMPEGシステムストリームを読み出す。そして、ステップS41に進み、マイクロプロセッサ201は、ハードディスク212に記録されている、MPEGデコードを行うアプリケーションプログラム(後述するMPEG1ソフトウェアデコーダ201A(図18)を実行することで、ステップS40で読み出したMPEGシステムストリームをデコードする。このデコード結果は、ステップS42において出力される。即ち、ステップS42において、デコード結果のうちの画像は、再生ウインドウ341の画像表示欄342に表示され、デコード結果のうちの音声は、スピーカ59,60から出力される。   When the slip reproduction is instructed (commanded) and the reproduction window 341 is opened, in step S40, the microprocessor 201 reads the MPEG system stream from the head of the MPEG file that constitutes the tape that is currently written. In step S41, the microprocessor 201 executes an application program (MPEG1 software decoder 201A (FIG. 18), which will be described later) recorded in the hard disk 212 for performing MPEG decoding, thereby reading the MPEG system read in step S40. The decoding result is output in step S42, that is, the image of the decoding result is displayed in the image display field 342 of the playback window 341, and the sound of the decoding result is Are output from the speakers 59 and 60.

そして、ステップS43に進み、再生ウインドウ341の再生時間表示344に、ステップS40で読み出されたMPEGシステムストリームの位置に対応する時間情報が表示される。ここで、時間情報としては、上述の3種類のうち、再生時間表示変更ボタン353を操作することにより選択されているものが表示される。また、時間情報は、マイクロプロセッサ201において、次のようにして求められる。   In step S43, time information corresponding to the position of the MPEG system stream read in step S40 is displayed in the playback time display 344 of the playback window 341. Here, as the time information, information selected by operating the reproduction time display change button 353 among the above three types is displayed. Further, the time information is obtained in the microprocessor 201 as follows.

即ち、上述したように、MPEGシステムストリームは固定レートであるから、ステップS40で読み出されたMPEGシステムストリームの位置に対応する経過時間は、そのMPEGシステムストリームの記録位置(MPEGファイルの先頭から何バイト目に記録されているか)によって求めることができる。また、残り時間は、ステップS40で読み出されたMPEGシステムストリームの位置から、いま記録がされているMPEGシステムストリームの位置までのバイト数によって求めることができる。さらに、録画時刻は、上述したように、テープを構成するインデックスファイルの先頭に、録画の開始時刻が記録されているから、その開始時刻に、経過時間を加算することによって求めることができる。   That is, as described above, since the MPEG system stream has a fixed rate, the elapsed time corresponding to the position of the MPEG system stream read in step S40 is the recording position of the MPEG system stream (what is from the beginning of the MPEG file)? It can be determined by whether it is recorded in the byte). The remaining time can be obtained from the number of bytes from the position of the MPEG system stream read in step S40 to the position of the MPEG system stream currently recorded. Furthermore, since the recording start time is recorded at the head of the index file constituting the tape as described above, the recording time can be obtained by adding the elapsed time to the start time.

なお、MPEGファイルに記録されたMPEGシステムストリームの各位置における時間情報は、上述したように求める他、例えば、各位置における録画時刻を記録しておき、その録画時刻から求めるようにすることも可能である。   The time information at each position of the MPEG system stream recorded in the MPEG file can be obtained as described above. For example, the recording time at each position can be recorded and obtained from the recording time. It is.

ステップS43の処理後は、ステップS44に進み、例えば、スライダ354が移動されたり、また、スキップボタン349,350や、インデックスボタン351,352が操作されることなどにより、再生ポイントが変更されたかどうかが、マイクロプロセッサ201によって判定される。ステップS44において、再生ポイントが変更されていないと判定された場合、ステップS40に戻り、前回読み出したMPEGシステムストリームの続きが、MPEGファイルから読み出され、以下、同様の処理が繰り返される。   After the process of step S43, the process proceeds to step S44, for example, whether the playback point has been changed by moving the slider 354, operating the skip buttons 349, 350, the index buttons 351, 352, or the like. Is determined by the microprocessor 201. If it is determined in step S44 that the playback point has not been changed, the process returns to step S40, the continuation of the previously read MPEG system stream is read from the MPEG file, and the same processing is repeated thereafter.

また、ステップS44において、再生ポイントが変更されたと判定された場合、ステップS45に進み、MPEGファイルから、MPEGシステムストリームを読み出す位置が、再生ポイントの変更に対応して変更され、ステップS40に戻る。この場合、ステップS40では、その変更された位置からMPEGシステムストリームが読み出され、以下、同様の処理が繰り返される。   If it is determined in step S44 that the playback point has been changed, the process proceeds to step S45, where the position for reading the MPEG system stream from the MPEG file is changed in accordance with the change of the playback point, and the process returns to step S40. In this case, in step S40, the MPEG system stream is read from the changed position, and the same processing is repeated thereafter.

なお、スリップ再生処理は、例えば、再生ウインドウ341がクローズされたり、停止ボタン346が操作されると終了される。   Note that the slip regeneration process ends when, for example, the regeneration window 341 is closed or the stop button 346 is operated.

以上のように、録画を行っているときに、その録画を続けながら、ハードディスク212に既に記録された画像(およびそれに付随する音声)を、任意の位置から再生することができるので、ユーザは、見たい場面を、録画を中断せずに、いつでも見ることができる。   As described above, when recording, while continuing the recording, the image (and accompanying sound) already recorded on the hard disk 212 can be reproduced from an arbitrary position. You can watch the scene you want at any time without interrupting the recording.

さらに、再生ウインドウ341の再生時間表示344には、時間情報が表示されるので、その時間情報を見ることによって、比較的迅速に、所望の場面を見つけ出すことが可能となる。   Furthermore, since the time information is displayed in the playback time display 344 of the playback window 341, it is possible to find a desired scene relatively quickly by looking at the time information.

なお、スリップ再生を行う場合、ハードディスク212では、データの書き込みと読み出しとが、いわば時分割で行われる。このデータの書き込みおよび読み出しのためのスケジューリングは、ここでは、例えば、OS(オペレーティングシステム)であるWindows(登録商標)95の制御の下に行われており、アプリケーションプログラムである「Slipclip」は、特に関与していない。但し、このスケジューリングは、アプリケーションプログラム「Slipclip」において行うようにすることも可能である。   In the case of performing slip reproduction, in the hard disk 212, data writing and reading are performed in a time-sharing manner. The scheduling for writing and reading data is performed under the control of Windows (registered trademark) 95, which is an OS (operating system), for example, and “Slipclip”, which is an application program, Not involved. However, this scheduling can also be performed in the application program “Slipclip”.

即ち、現在実用化されているハードディスクにおけるデータの読み書き時間は充分速く、OSのI/O(Input/Output)制御の下で、ハードディスクにデータの読み書き行うだけで、スリップ再生は、基本的に、録画を中断せずに行うことができる。   In other words, the read / write time of data on a hard disk currently in practical use is sufficiently fast, and slip playback is basically performed by simply reading / writing data to / from the hard disk under OS input / output (I / O) control. Recording can be performed without interruption.

また、スリップ再生により再生された画像は、図15に示したように、再生ウインドウ341の中の画像表示欄342に表示する他、いわゆる全画面表示で表示することも可能である。即ち、画像表示欄342を、ディスプレイ51の画面全体に拡大して表示することが可能である。   Further, as shown in FIG. 15, the image reproduced by the slip reproduction can be displayed not only in the image display field 342 in the reproduction window 341 but also in a so-called full screen display. That is, the image display field 342 can be enlarged and displayed on the entire screen of the display 51.

次に、図18を参照して、「スリップレコーダー」の処理について、さらに説明する。   Next, the process of the “slip recorder” will be further described with reference to FIG.

「スリップレコーダー」による録画処理では、エンコーダボード213において、画像(およびそれに付随する音声)がMPEGエンコードされることにより得られるMPEGシステムストリームが、ハードディスク212にあらかじめ作成されたテープを構成するMPEGファイルに記録される。さらに、エンコーダボード213から出力されるインデックスデータからシーンチェンジパラメータが算出され、シーンチェンジポインタおよび識別フラグとともに、ハードディスク212にあらかじめ作成されたテープを構成するインデックスファイルに記録される。   In the recording process by the “slip recorder”, an MPEG system stream obtained by MPEG-encoding an image (and an accompanying sound) on the encoder board 213 is converted into an MPEG file that constitutes a tape created in advance on the hard disk 212. To be recorded. Further, a scene change parameter is calculated from the index data output from the encoder board 213, and is recorded together with a scene change pointer and an identification flag in an index file constituting a tape created in advance on the hard disk 212.

ここで、図18に示すように、インデックスファイルの先頭には、録画を開始した時刻である開始時刻や、録画モードなどが配置されたヘッダ(H)が記録される。   Here, as shown in FIG. 18, a header (H) in which a start time, which is a time when recording starts, a recording mode, etc., is recorded at the head of the index file.

また、識別フラグ、シーンチェンジポインタ、およびシーンチェンジパラメータは、上述したように、インデックスデータに含まれるシーンチェンジフラグが、シーンチェンジが検出されたことを表しており、かつ、図19に示すように、シーンチェンジパラメータが、所定の閾値εよりも大きい場合に記録される。インデックスファイルに記録されたシーンチェンジポインタは、図18に示すように、シーンチェンジのあったフレームの符号化データが記録されている位置を表している。   Further, as described above, the identification flag, the scene change pointer, and the scene change parameter indicate that the scene change flag included in the index data indicates that a scene change has been detected, and as shown in FIG. This is recorded when the scene change parameter is larger than a predetermined threshold value ε. As shown in FIG. 18, the scene change pointer recorded in the index file represents the position where the encoded data of the frame having the scene change is recorded.

一方、「スリップレコーダー」によるスリップ再生処理では、マイクロプロセッサ201が、MPEGデコードを行うアプリケーションプログラムを実行することで実現されるMPEG1ソフトウェアデコーダ201Aにおいて、MPEGファイルの中の、既にMPEGシステムストリームが記録された範囲(図18において塗りつぶしてある部分)の任意の位置からデータが読み出されてデコードされる。   On the other hand, in the slip reproduction process by the “slip recorder”, the MPEG system stream is already recorded in the MPEG file in the MPEG1 software decoder 201A realized by the microprocessor 201 executing the application program for performing MPEG decoding. Data is read out and decoded from an arbitrary position within the range (the filled area in FIG. 18).

ここで、録画時において、MPEGファイルは、複数のアプリケーションプログラムからのアクセスを許可する、いわゆるシェアードでオープンされるようになされており、これにより、MPEGファイルに対しては、エンコーダボード213が出力するMPEGシステムストリームの書き込みと、デコーダ201AへのMPEGシステムストリームの読み出しとの両方を行うことができるようになされている。   Here, at the time of recording, the MPEG file is configured to be opened in a so-called shared state that allows access from a plurality of application programs, whereby the encoder board 213 outputs the MPEG file. Both the writing of the MPEG system stream and the reading of the MPEG system stream to the decoder 201A can be performed.

なお、テープがエンドレステープの場合、上述したように、エンドレステープは、複数の固定テープで構成されるから、スリップ再生が指示されたMPEGシステムストリームが、エンコーダボード213が出力するMPEGシステムストリームが書き込まれる固定テープ(MPEGファイル)とは異なる固定テープに記録されていることがある。この場合、スリップ再生が指示されたMPEGシステムストリームが記録されているMPEGファイルが、エンコーダボード213が出力するMPEGシステムストリームが書き込まれているMPEGファイルとは別にオープンされて読み出される(読み出しの終了後はクローズされる)。   When the tape is an endless tape, as described above, since the endless tape is composed of a plurality of fixed tapes, the MPEG system stream output from the encoder board 213 is written into the MPEG system stream instructed to perform the slip reproduction. In some cases, it is recorded on a fixed tape different from the fixed tape (MPEG file). In this case, the MPEG file in which the MPEG system stream instructed for the slip reproduction is recorded is opened and read separately from the MPEG file in which the MPEG system stream output from the encoder board 213 is written (after the reading is completed). Is closed).

以上のように、本実施の形態では、MPEGシステムストリームは、MPEGファイルに、インデックス(識別フラグ、シーンチェンジポインタ、およびシーンチェンジパラメータ)は、インデックスファイルに、それぞれ分けて記録するようにしたので、MPEGファイルの内容は、MPEGの規格に準拠したものであり、従って、他のアプリケーションでも使用することができる。   As described above, in this embodiment, the MPEG system stream is recorded separately in the MPEG file, and the index (identification flag, scene change pointer, and scene change parameter) is separately recorded in the index file. The content of the MPEG file conforms to the MPEG standard, and therefore can be used in other applications.

なお、MPEGシステムストリームとインデックスとは、1のファイルに記録することも可能である。但し、この場合、そのファイルを、他のアプリケーションで利用することは困難となる。   The MPEG system stream and the index can be recorded in one file. However, in this case, it is difficult to use the file in another application.

また、図8のテープ設定ダイアログボックス321において、自動インデックスチェックボックス326がチェックされていない場合には、上述したように、インデックスは、インデックスファイルに記録されない。即ち、この場合、インデックスファイルはヘッダだけで構成されることになる。   If the automatic index check box 326 is not checked in the tape setting dialog box 321 of FIG. 8, as described above, the index is not recorded in the index file. That is, in this case, the index file is composed only of the header.

ここで、以上のような画像の記録と再生とを並列に行うことが可能なことについて説明する。なお、ここでは、録画モードとして、「Normal」が設定されているものとし、また、説明を簡単にするために、データ量の計算は、MPEGシステムストリームではなく、ビデオエレメンタリストリームを対象として行うものとする。   Here, the fact that the above-described image recording and reproduction can be performed in parallel will be described. Here, it is assumed that “Normal” is set as the recording mode, and in order to simplify the explanation, the calculation of the data amount is performed not for the MPEG system stream but for the video elementary stream. Shall.

録画モード「Normal」では、1フレームの画像は、図10に示したように、352画素×240画素で構成される。いま、各画素が、例えば、8ビットの輝度信号Y、並びに1画素換算で2ビットの色差信号CbおよびCrの合計12ビットで構成されるとともに、1GOPが、例えば、15フレームで構成されるとすると、1GOPのデータ量(エンコード前のデータ量)は、次式から、1856KBとなる。   In the recording mode “Normal”, one frame image is composed of 352 pixels × 240 pixels as shown in FIG. Now, each pixel is composed of, for example, an 8-bit luminance signal Y and a total of 12 bits of 2-bit color difference signals Cb and Cr in terms of one pixel, and 1 GOP is composed of 15 frames, for example. Then, the data amount of 1 GOP (data amount before encoding) is 1856 KB from the following equation.

352画素×240画素×12ビット×15フレーム/8ビット =1856KB       352 pixels × 240 pixels × 12 bits × 15 frames / 8 bits = 1856 KB

また、録画モードが「Normal」の場合、図10に示したように、エンコーダボード213におけるビデオエレメンタリストリームのビットレート(ビデオレート)は、1,151,929bpsであり、さらに、フレームレートは、30フレーム/秒であるから、1GOP(ここでは、上述したように15フレーム)の画像データは、次式で示されるデータ量に圧縮される。   Further, when the recording mode is “Normal”, as shown in FIG. 10, the bit rate (video rate) of the video elementary stream in the encoder board 213 is 1,151,929 bps, and the frame rate is Since it is 30 frames / second, image data of 1 GOP (here, 15 frames as described above) is compressed to a data amount represented by the following equation.

1,151,929/30フレーム×15フレーム/8ビット =70.3KB       1,151,929 / 30 frames x 15 frames / 8 bits = 70.3KB

従って、この場合、画像データは、1/26.4(=70.3KB/1856KB)に圧縮されることになる。   Therefore, in this case, the image data is compressed to 1 / 26.4 (= 70.3 KB / 1856 KB).

ところで、本件発明者が、あるHDDの転送速度を計測したところ、約4MB/秒であった。この場合、上述の70.3KBの1GOPの圧縮データは、約17.2ms(=70.3/(4×1024))で書き込まれることになる。   By the way, when the present inventor measured the transfer rate of a certain HDD, it was about 4 MB / second. In this case, the compressed data of 1 GOP of 70.3 KB described above is written in about 17.2 ms (= 70.3 / (4 × 1024)).

従って、HDDのヘッドシーク時間として、かなり遅い時間である、例えば20msを考えても、1GOPの圧縮データの書き込みは、約37.2ms(=17.2ms+20ms)で行うことができる。   Therefore, even if 20 ms, which is a considerably slow time as the head seek time of the HDD, is considered, writing of 1 GOP compressed data can be performed in about 37.2 ms (= 17.2 ms + 20 ms).

一方、HDDからのデータを読み出す場合の転送速度は、一般に、データを書き込む場合よりも速いが、ここでは、書き込み時と同一とし、さらに、ヘッドシーク時間も、上述の場合と同様に20msとすると、HDDからの1GOPの圧縮データの読み出しは、やはり、約37.2msで行うことができる。   On the other hand, the transfer rate when reading data from the HDD is generally faster than when writing data, but here it is the same as when writing, and the head seek time is 20 ms as in the above case. The reading of 1 GOP compressed data from the HDD can be performed in about 37.2 ms.

ここでは、1GOPは15フレームで構成され、従って、約0.5秒に相当する。そして、1GOPの圧縮データの書き込みと読み出しとは、約74.4ms(=37.2ms+37.2ms)で行うことができるから、1GOPの期間(約0.5秒)の間に、画像の記録と再生とを並列に行うことができる。   Here, 1 GOP is composed of 15 frames, and thus corresponds to about 0.5 seconds. Since writing and reading of compressed data of 1 GOP can be performed in about 74.4 ms (= 37.2 ms + 37.2 ms), image recording and recording can be performed during a period of 1 GOP (about 0.5 seconds). Playback can be performed in parallel.

なお、録画モードが「Long」の場合、1GOPのデータ量(圧縮前)は、394KBであり、エンコードすることにより、22.9KBになる。即ち、約1/17.2に圧縮される。この場合、HDDの仕様を、上述の場合と同一と考えると、22.9KBの圧縮データの書き込みと読み出しに要する時間は、いずれも約25.6msとなり、やはり、1GOPの期間(約0.5秒)の間に、画像の記録と再生とを並列に行うことができる。   When the recording mode is “Long”, the data amount of 1 GOP (before compression) is 394 KB, and becomes 22.9 KB by encoding. That is, it is compressed to about 1 / 17.2. In this case, assuming that the HDD specifications are the same as those described above, the time required to write and read 22.9 KB of compressed data is about 25.6 ms, which is again a period of 1 GOP (about 0.5 G Recording and playback of images can be performed in parallel.

ところで、Windows(登録商標)95はマルチタスク機能を有するOSであるから、MPEGシステムストリームのハードディスク212への書き込みを待たせて、他の処理を行う場合がある。従って、スリップ再生中に、ユーザが、他の処理を要求するような操作を行うと、ハードディスク212への書き込みを最優先に設定していても、その要求された処理が行われることがある。このため、スリップ再生中は、そのような他の処理を行うような操作をしないようにしてもらうのが好ましいが、そのようなことを全ユーザに徹底することは困難である。   By the way, since Windows (registered trademark) 95 is an OS having a multitask function, there is a case where other processing is performed while waiting for writing of the MPEG system stream to the hard disk 212. Therefore, if the user performs an operation requesting another process during the slip reproduction, the requested process may be performed even if the writing to the hard disk 212 is set to the highest priority. For this reason, it is preferable not to perform an operation that performs such other processing during slip reproduction, but it is difficult to ensure that all users do so.

一方、MPEGシステムストリームのハードディスク212への書き込み待ちが生じ、その書き込みが間に合わない場合、MPEGシステムストリームは破綻する。この場合、そのデコードが困難となるから、MPEGシステムストリームの破綻は、絶対に避ける必要がある。   On the other hand, when waiting for writing of the MPEG system stream to the hard disk 212 occurs and the writing is not in time, the MPEG system stream breaks down. In this case, since the decoding becomes difficult, it is absolutely necessary to avoid the failure of the MPEG system stream.

そこで、MPEGシステムストリームのハードディスク212への書き込みが間に合いそうにない状況になった場合においては、エンコーダボード213において、エンコードが中断されるようになされており、この制御は、コントローラ133(図6)によって行われるようになされている。   Therefore, when it becomes difficult to write the MPEG system stream to the hard disk 212, the encoder board 213 stops the encoding, and this control is performed by the controller 133 (FIG. 6). Has been made to be done by.

即ち、コントローラ133は、上述したように、出力バッファ118のデータ量を監視しており、図20のフローチャートに示すように、まず、ステップS51において、そのデータ量が、例えば、100KBより大きいかどうかを判定する。ステップS51において、出力バッファ118のデータ量が100KBより大きくないと判定された場合、ステップS52に進み、コントローラ133は、エンコーダボード213を構成する各ブロックを、通常どおりに、MPEGエンコードを行うように制御し、ステップS51に戻る。即ち、出力バッファ118の記憶容量は、ここでは、上述したように160KBとなっており、60KB以上の余裕(空き容量)がある場合には、エンコードが続行される。   That is, as described above, the controller 133 monitors the data amount of the output buffer 118. As shown in the flowchart of FIG. 20, first, in step S51, whether or not the data amount is larger than 100 KB, for example. Determine. If it is determined in step S51 that the data amount of the output buffer 118 is not larger than 100 KB, the process proceeds to step S52, and the controller 133 performs MPEG encoding on each block constituting the encoder board 213 as usual. Control and return to step S51. That is, the storage capacity of the output buffer 118 is 160 KB as described above, and encoding is continued when there is a margin (free capacity) of 60 KB or more.

また、ステップS51において、出力バッファ118のデータ量が100KBより大きいと判定された場合、ステップS53に進み、コントローラ133は、エンコード処理を中断(停止)させる。即ち、コントローラ133は、例えば、フレームメモリ110に画像を記憶させないようにするとともに、そこからの画像の読み出しも行わせないようにする。従って、ハードディスク212へのMPEGシステムストリームの書き込みが待たされ(ハードディスク212についてのデバイスドライバが、MPEGシステムストリームを要求しなくなり)、これにより、出力バッファ118のデータ量が100KBを越え、その余裕が60KB未満となった場合、エンコードは中断される。   If it is determined in step S51 that the amount of data in the output buffer 118 is greater than 100 KB, the process proceeds to step S53, and the controller 133 interrupts (stops) the encoding process. That is, for example, the controller 133 prevents the image from being stored in the frame memory 110 and prevents the image from being read out therefrom. Accordingly, the writing of the MPEG system stream to the hard disk 212 is awaited (the device driver for the hard disk 212 does not request the MPEG system stream), and the data amount of the output buffer 118 exceeds 100 KB, and the margin is 60 KB. If it becomes less than the encoding, the encoding is interrupted.

そして、ステップS54に進み、コントローラ133は、出力バッファ118のデータ量が、例えば、50KB未満になったかどうかを判定する。ステップS54において、出力バッファ118のデータ量が50KB未満になっていないと判定された場合、ステップS54に戻る。また、ステップS54において、出力バッファ118のデータ量が50KB未満になったと判定された場合、即ち、待たされていたハードディスク212への書き込み処理が行われ、これにより、出力バッファ118のデータ量が50KB未満になった場合、ステップS55に進み、コントローラ133は、エンコード処理を再開させ、ステップS51に戻る。即ち、コントローラ133は、例えば、フレームメモリ110からの画像の読み出しを開始させるとともに、そこへの画像の記憶も開始させる。   In step S54, the controller 133 determines whether the data amount in the output buffer 118 is less than 50 KB, for example. If it is determined in step S54 that the data amount in the output buffer 118 is not less than 50 KB, the process returns to step S54. If it is determined in step S54 that the data amount in the output buffer 118 has become less than 50 KB, that is, the waiting write processing to the hard disk 212 is performed, whereby the data amount in the output buffer 118 is reduced to 50 KB. When it becomes less than, it progresses to step S55 and the controller 133 restarts an encoding process, and returns to step S51. That is, for example, the controller 133 starts reading an image from the frame memory 110 and also starts storing an image there.

以上のように、MPEGシステムストリームのハードディスク212への書き込みが間に合いそうにない状況になった場合においては、エンコードを中断するようにしたので、MPEGシステムストリームの破綻を避けることができる。   As described above, since the encoding is interrupted when the writing of the MPEG system stream to the hard disk 212 is unlikely to occur in time, the failure of the MPEG system stream can be avoided.

なお、エンコードの中断中に、エンコーダボード213に入力された画像は、上述したように、フレームメモリ110に記憶されないから、その記憶されなかった画像は録画されないことになるが、そのフレーム数はそれほど多くはならないと予想され、従って、MPEGシステムストリームが破綻することと比較すれば、大きな問題ではない。   Since the image input to the encoder board 213 during the interruption of the encoding is not stored in the frame memory 110 as described above, the image not stored is not recorded, but the number of frames is not so much. It is not expected to be much, so it is not a big problem compared to the failure of the MPEG system stream.

また、上述の場合においては、出力バッファ118の余裕が60KB未満となったときにエンコードを中断するようにしたが、これは、次のような理由による。即ち、MPEGエンコードの中断は、フレーム単位でしか行うことができない。従って、あるフレームのエンコードが開始されてから、エンコードを中断しようとしても、そのフレームのエンコードが終了するまでは、中断することができない。一方、MPEGエンコードにおいて、最も多くのデータ量が発生するのは、イントラ符号化が行われる場合であり、一般に、イントラ符号化によって発生するデータ量は、約40KB程度と予想される。   In the above case, encoding is interrupted when the margin of the output buffer 118 is less than 60 KB. This is due to the following reason. That is, MPEG encoding can be interrupted only on a frame basis. Therefore, even if the encoding is interrupted after the encoding of a certain frame is started, it cannot be interrupted until the encoding of the frame is completed. On the other hand, in MPEG encoding, the largest amount of data occurs when intra coding is performed. In general, the amount of data generated by intra coding is expected to be about 40 KB.

以上から、エンコードを中断しようとしても、約40KB程度のデータが、出力バッファ118に入力される場合があり、このため、出力バッファ118の空き容量としては、少なくとも、そのデータを記憶することのできる空き容量を確保しておく必要がある。   From the above, even if the encoding is to be interrupted, about 40 KB of data may be input to the output buffer 118. Therefore, at least the data can be stored as the free capacity of the output buffer 118. It is necessary to secure free space.

そこで、本実施の形態では、その40KBに、20KBのマージンをみて、出力バッファ118の余裕が60KB未満となった場合に、エンコードを中断するようにしている。   Therefore, in this embodiment, a 20 KB margin is seen in the 40 KB, and the encoding is interrupted when the margin of the output buffer 118 is less than 60 KB.

次に、「スリップレコーダー」で録画した画像を対象に編集を行う場合においては、「クリップエディター」を起動する。この場合、例えば、図21に示すようなクリップエディタメインウインドウ361が表示される。   Next, when editing an image recorded by the “slip recorder”, the “clip editor” is activated. In this case, for example, a clip editor main window 361 as shown in FIG. 21 is displayed.

クリップエディタメインウインドウ361が表示された後は、編集対象とするクリップを指定する。   After the clip editor main window 361 is displayed, a clip to be edited is designated.

ここで、上述したように、クリップとテープとは、基本的には同義であり、「クリップエディター」においては、そのうちのクリップが用いられる。従って、クリップは、MPEGファイルとインデックスファイルとから構成される。   Here, as described above, the clip and the tape are basically synonymous, and the “clip editor” uses the clip. Therefore, a clip is composed of an MPEG file and an index file.

クリップを指定すると、クリップエディタメインウインドウ361の中に、ソースウインドウ362が表示され、さらに、指定されたクリップのインデックス画面が表示される。   When a clip is designated, a source window 362 is displayed in the clip editor main window 361, and an index screen for the designated clip is further displayed.

即ち、マイクロプロセッサ201は、指定されたクリップを構成するMPEGファイルの中の、同じく指定されたクリップを構成するインデックスファイルに記録されたシーンチェンジポインタが指す位置に記録されたフレームの符号化データを、MPEG1ソフトウェアデコーダ201A(図18)によってデコードする。そして、マイクロプロセッサ201は、そのデコードされたフレーム(の縮小画面)を、インデックス画面として、ソースウインドウ362に表示する。   That is, the microprocessor 201 reads the encoded data of the frame recorded at the position pointed to by the scene change pointer recorded in the index file constituting the designated clip in the MPEG file constituting the designated clip. The MPEG1 software decoder 201A (FIG. 18) decodes the data. Then, the microprocessor 201 displays the decoded frame (a reduced screen thereof) on the source window 362 as an index screen.

なお、ここでは、インデックス画面には、その上部に、そのインデックス画面を識別するための名前が表示されるようになされている。図21の実施の形態では、例えば、Auto0,Index1,Auto2,Auto3などが、インデックス画面の名前として付されている。   Here, on the index screen, a name for identifying the index screen is displayed at the top thereof. In the embodiment of FIG. 21, for example, Auto0, Index1, Auto2, Auto3, etc. are given as names of index screens.

ここで、自動インデックスに対応するインデックス画面には、「Auto」の文字に番号を付したものが、手動インデックスに対応するインデックス画面には、「Index」の文字に番号を付したものが、それぞれデフォルトの名前として付されている。   Here, the index screen corresponding to the automatic index has a number “Auto” with a number, and the index screen corresponding to a manual index has a number “Index” with a number. It is given as the default name.

自動インデックスは、上述したように、録画時に付されるが、手動インデックスは、例えば、クリップエディタメインウインドウ361のツールバーにあるインデックス追加ボタン366Aを操作することにより、ソースウインドウ362上の任意の位置(但し、ここでは、GOPの先頭に限定される)に付すことができる。   As described above, the automatic index is attached at the time of recording. The manual index is operated at an arbitrary position on the source window 362 (for example, by operating an index addition button 366A on the toolbar of the clip editor main window 361). However, here, it can be attached to the top of the GOP).

なお、クリップエディタメインウインドウ361の[インデックス]メニューの中には、項目[手動インデックスに変更]があり、そこをクリックすることで、自動インデックスを手動インデックスに変更することができるようになされている(この場合、インデックス画面の名前は、例えば、そのままとされる(「Auto」の文字は、「Index」とはされない))。この変更は、インデックスを構成する識別フラグを変更することで行われる。   In the [Index] menu of the clip editor main window 361, there is an item [Change to manual index], and by clicking there, the automatic index can be changed to a manual index. (In this case, the name of the index screen is left as it is, for example (the letters “Auto” are not “Index”)). This change is performed by changing the identification flag constituting the index.

また、クリップエディタメインウインドウ361では、自動インデックスに対応するインデックス画面と、手動インデックスに対応するインデックス画面とは、その名前の表示部分が異なる色で表示されるようになされており、これにより、両者を、容易に区別することができるようになされている。   In the clip editor main window 361, the index screen corresponding to the automatic index and the index screen corresponding to the manual index are displayed in different colors in the display portions of the names. Can be easily distinguished.

さらに、自動インデックスおよび手動インデックスとも、クリップエディタメインウインドウ361のツールバーにある削除ボタン366Bを操作することにより削除することができるようになされている。   Furthermore, both the automatic index and the manual index can be deleted by operating a delete button 366B on the toolbar of the clip editor main window 361.

ソースウインドウ362の下部には、時間軸としてのタイムライン363が表示される。インデックス画面は、例えば、その左端が、タイムライン363上の対応する時刻(録画が開始された時刻を基準とした、そのインデックス画面の録画時刻)の位置に一致するように表示される。   A timeline 363 as a time axis is displayed at the bottom of the source window 362. The index screen is displayed, for example, so that the left end thereof coincides with the position of the corresponding time on the timeline 363 (recording time of the index screen with respect to the time when recording is started).

インデックス画面は、基本的に、場面の切り替わりの最初のフレームであり、従って、あるインデックス画面から、次のインデックス画面の直前までは、基本的に、1つのシーンとなっている。従って、ユーザは、所望するシーンを、容易に探し出すことができる。   The index screen is basically the first frame for switching scenes. Therefore, from an index screen to just before the next index screen, there is basically one scene. Therefore, the user can easily find a desired scene.

インデックス画面が表示された後、画像を確認したい場合には、タイムライン363上を、その確認をしたい範囲だけ、マウス22でドラッグする。この場合、そのドラッグされた範囲が、図21にRで示すように示され、再生範囲Rとされる。そして、例えば、クリップエディタメインウインドウ361のツールバーにある再生ボタン367をクリックすると、その再生範囲Rが再生される。   When the user wants to check the image after the index screen is displayed, drag the mouse 22 on the timeline 363 only in the range to be checked. In this case, the dragged range is shown as R in FIG. Then, for example, when the playback button 367 on the toolbar of the clip editor main window 361 is clicked, the playback range R is played back.

即ち、この場合、例えば、図15に示した再生ウインドウ341がオープンされる。そして、MPEG1ソフトウェアデコーダ201Aによって、再生範囲Rに対応するMPEGシステムストリームがデコードされ、画像表示欄342に表示される。   That is, in this case, for example, the reproduction window 341 shown in FIG. 15 is opened. Then, the MPEG system stream corresponding to the reproduction range R is decoded by the MPEG1 software decoder 201A and displayed in the image display field 342.

従って、ユーザは、シーンの確認を、容易に行うことができる。   Therefore, the user can easily confirm the scene.

ユーザは、インデックス画面を見て、あるいは、さらに、シーンを確認して、編集に使用するシーンを決定し、クリップエディタメインウインドウ361のツールバーにある編集点ファイル作成ボタン368をクリックする。この場合、図21に示すように、クリップエディタメインウインドウ361の中の、ソースウインドウ362の下部に、出力ウインドウ369が表示される。   The user looks at the index screen or further confirms the scene, determines the scene to be used for editing, and clicks the edit point file creation button 368 on the toolbar of the clip editor main window 361. In this case, an output window 369 is displayed below the source window 362 in the clip editor main window 361 as shown in FIG.

出力ウインドウ369の表示後、ユーザは、ソースウインドウ362の中の、新たなクリップのシーンとしてコピーしたい範囲をドラッグする。この場合、ソースウインドウ362の中の、ドラッグされた範囲の直前にあるインデックス画面から、その範囲の直後にあるインデックス画面の直前のフレームまでが、新たなクリップにコピーするコピー対象範囲とされる。そして、ソースウインドウ362のタイムライン363上には、コピー対象範囲の始点と終点に対応する位置に、それぞれ始点マーク364Lと終点マーク364Rが表示される。さらに、コピー対象範囲に対応するソースウインドウ362の背景部分と、タイムライン363の部分が、他の色に変更される。   After the output window 369 is displayed, the user drags a range to be copied as a new clip scene in the source window 362. In this case, the range from the index screen immediately before the dragged range in the source window 362 to the frame immediately before the index screen immediately after the range is set as a copy target range to be copied to a new clip. On the time line 363 of the source window 362, a start point mark 364L and an end point mark 364R are displayed at positions corresponding to the start point and end point of the copy target range, respectively. Further, the background portion of the source window 362 and the portion of the timeline 363 corresponding to the copy target range are changed to other colors.

コピー対象範囲の中に、マウス22のカーソル(図示せず)を移動し、その位置で、マウス22をドラッグすると、カーソルが、例えば、矢印形状から、インデックス画面を象徴するような形状に変更される。そして、その状態で、カーソルを、出力ウインドウ369に移動させ、ドラッグを解除すると、コピー対象範囲が、出力ウインドウ369にコピーされる。図21の実施の形態では、「Auto0」の名前が付されたインデックス画面を先頭フレームとする1シーンと、「Auto2」の名前が付されたインデックス画面を先頭フレームとする1シーンとが、出力ウインドウ369にコピーされている。   When the cursor (not shown) of the mouse 22 is moved into the copy target range and the mouse 22 is dragged at that position, the cursor is changed from, for example, an arrow shape to a shape symbolizing the index screen. The In this state, when the cursor is moved to the output window 369 and the drag is released, the copy target range is copied to the output window 369. In the embodiment of FIG. 21, one scene having the index frame with the name “Auto0” as the first frame and one scene having the index screen with the name “Auto2” as the first frame are output. Copied to window 369.

なお、コピー対象範囲が、出力ウインドウ369にコピーされると、出力ウインドウ369では、そのコピー対象範囲内にある自動インデックスは、すべて削除されるようになされている。また、そのコピー対象範囲の先頭フレームに自動インデックスが付加されている場合には、その自動インデックスが手動インデックスに変更されるようになされている。   When the copy target range is copied to the output window 369, all the automatic indexes in the copy target range are deleted in the output window 369. Further, when an automatic index is added to the first frame of the copy target range, the automatic index is changed to a manual index.

ここで、出力ウインドウ369にコピーされたコピー対象範囲内にある自動インデックスを削除するのは、次のような理由による。即ち、「Slipclip」に含まれるアプリケーションプログラムの1つである、上述した「ビデオCDクリエーター」よれば、出力ウインドウ369にコピーされたシーンを記録したビデオCDを制作することができる。そして、「ビデオCDクリエーター」では、ビデオCDを制作するとき、インデックスファイルに記録されたシーンチェンジポインタの位置に、ビデオCDの規格におけるインデックスを設定するようになされている。   Here, the reason why the automatic index in the copy target range copied to the output window 369 is deleted is as follows. That is, according to the “video CD creator” described above, which is one of the application programs included in “Slipclip”, a video CD in which the scene copied to the output window 369 is recorded can be produced. In the “Video CD creator”, when producing a video CD, an index in the standard of the video CD is set at the position of the scene change pointer recorded in the index file.

一方、自動インデックスは、ユーザが、所望のシーンを探し出し易いようにするためのものであり、基本的には、かなりの数が記録される。従って、自動インデックスを削除しないと、ビデオCD上に、そのような多くの数のインデックスが設定されてしまうからである。   On the other hand, the automatic index is intended to make it easy for the user to find a desired scene, and basically a considerable number is recorded. Therefore, if the automatic index is not deleted, such a large number of indexes are set on the video CD.

また、コピー対象範囲の先頭フレームの自動インデックスを手動インデックスに変更するのは、次のような理由による。即ち、コピー対象範囲の先頭フレームは、いわゆる編集点に相当し、編集点には、ビデオCDにおいても、インデックスを設定しておくのが好ましい。しかしながら、自動インデックスは削除されてしまうため、手動インデックスに変更することにより、削除されないようにするためである。   The reason why the automatic index of the first frame in the copy target range is changed to the manual index is as follows. That is, the first frame in the copy target range corresponds to a so-called editing point, and it is preferable to set an index at the editing point even in the video CD. However, the automatic index is deleted, so that it is not deleted by changing to the manual index.

従って、出力ウインドウ369では、手動インデックスに対応するインデックス画面だけが表示される。このため、自動インデックスの位置にインデックスを残しておきたい場合には、出力ウインドウ369へのコピーを行う前に、その自動インデックスを、上述したようにして、手動インデックスに変更しておく必要がある。   Therefore, in the output window 369, only the index screen corresponding to the manual index is displayed. Therefore, when it is desired to leave an index at the position of the automatic index, it is necessary to change the automatic index to a manual index as described above before copying to the output window 369. .

なお、コピー対象範囲が、出力ウインドウ369にコピーされても、自動インデックスを削除しないようにすることが可能である。また、そのコピー対象範囲の先頭フレームの自動インデックスも、手動インデックスに変更しないようにすることが可能である。   Even if the copy target range is copied to the output window 369, it is possible not to delete the automatic index. Further, it is possible to prevent the automatic index of the first frame in the copy target range from being changed to the manual index.

ユーザは、以上のようにして、出力ウインドウ369に、所望するシーンをコピーする。また、出力ウインドウ369にコピーされたシーンについては、その移動、削除、並べ替えなどが可能となされており、必要に応じて、そのような作業を行う。   The user copies a desired scene to the output window 369 as described above. In addition, the scene copied to the output window 369 can be moved, deleted, rearranged, and the like, and such work is performed as necessary.

そして、出力ウインドウ369に、所望のシーンを、所望の順番で並べた後、そのようなシーンで構成されるクリップを、新たに作成することを希望するときは、例えば、クリップエディタメインウインドウ361のツールバーにあるビルド開始ボタン370を操作する。   Then, after arranging the desired scenes in the output window 369 in the desired order, when it is desired to create a new clip composed of such scenes, for example, in the clip editor main window 361 The build start button 370 on the toolbar is operated.

この場合、マイクロプロセッサ201では、出力ウインドウ369に配置された各シーンに対応する符号化データが、インデックスファイルを参照しながら、MPEGファイルから読み出される。そして、その読み出された符号化データのエレメンタリデータ(エレメンタリストリーム)をそのまま用いて、結合点(編集点)での必要な処理が行われた後、システムエンコードだけがやり直される。このエンコード結果は、新たなMPEGファイルとして、ハードディスク212に記録される。   In this case, in the microprocessor 201, the encoded data corresponding to each scene arranged in the output window 369 is read from the MPEG file while referring to the index file. Then, the elementary data (elementary stream) of the read encoded data is used as it is, and after necessary processing at the connection point (edit point) is performed, only system encoding is performed again. This encoding result is recorded on the hard disk 212 as a new MPEG file.

なお、このとき、出力ウインドウ369に表示されているインデックス画面に対応するインデックスファイル(このインデックスファイルは、上述したことから、手動インデックスからなり、自動インデックスは含まれない)も、新たに作成され、これと、新たに作成されたMPEGファイルとが、新たなクリップとして、ハードディスク212に記録される。   At this time, an index file corresponding to the index screen displayed in the output window 369 (this index file is a manual index and does not include an automatic index from the above description) is also newly created, This and the newly created MPEG file are recorded on the hard disk 212 as a new clip.

次に、上述したように、ソースウインドウ362には、インデックスファイルに記録された自動インデックスに対応するインデックス画面が表示されるが、インデックス画面が、例えば、それほど間隔を空けずに、数多く表示された場合には、却って、ユーザによるシーンの検索の妨げになる。   Next, as described above, an index screen corresponding to the automatic index recorded in the index file is displayed in the source window 362. For example, many index screens are displayed without much interval. In some cases, the user is prevented from searching for a scene.

そこで、本実施の形態では、インデックスファイルに記録された自動インデックスに対応するインデックス画面の表示について、一定の条件を設け、その条件(以下、適宜、表示条件という)に合致するインデックス画面だけを表示させることができるようになされている。   Therefore, in this embodiment, a certain condition is set for the display of the index screen corresponding to the automatic index recorded in the index file, and only the index screen that matches the condition (hereinafter referred to as display condition as appropriate) is displayed. It is made to be able to let you.

即ち、図22は、表示条件を設定するためのインデックス表示レベル設定ダイアログボックス381を示している。   That is, FIG. 22 shows an index display level setting dialog box 381 for setting display conditions.

なお、例えば、図21のクリップエディタメインウインドウ361の[表示]メニューの中には、項目として[インデックス表示レベル設定]があり、そこをクリックすることで、インデックス表示レベル設定ダイアログボックス381が表示される。   For example, in the [Display] menu of the clip editor main window 361 in FIG. 21, there is [Index display level setting] as an item. By clicking there, an index display level setting dialog box 381 is displayed. The

すべて表示の欄382は、インデックスファイルに記録された自動インデックスすべてに対応するインデックス画面を表示するという表示条件を設定する場合に選択(クリック)される。レベルの欄383は、ある閾値以上のシーンチェンジパラメータを有する自動インデックスに対応するインデックス画面を表示するという表示条件を設定する場合に選択される。閾値は、閾値入力欄383Aに入力された値に設定される。   The all display column 382 is selected (clicked) when setting display conditions for displaying index screens corresponding to all automatic indexes recorded in the index file. The level column 383 is selected when setting a display condition for displaying an index screen corresponding to an automatic index having a scene change parameter equal to or greater than a certain threshold. The threshold value is set to the value input in the threshold value input field 383A.

個数表示欄384は、シーンチェンジパラメータの大きい順に、所定数の自動インデックスに対応するインデックス画面を表示するという表示条件を設定する場合に選択される。所定数は、個数入力欄385に入力された値に設定される。   The number display field 384 is selected when setting display conditions for displaying index screens corresponding to a predetermined number of automatic indexes in descending order of scene change parameters. The predetermined number is set to the value input in the number input field 385.

最大レベル表示欄386は、ある時間間隔ごとに、その時間内における最大のシーンチェンジパラメータを有する自動インデックスに対応するインデックス画面を表示するという表示条件を設定する場合に選択される。時間間隔は、時間入力欄387に入力された値に設定される。   The maximum level display field 386 is selected when setting a display condition for displaying an index screen corresponding to an automatic index having the largest scene change parameter within a certain time interval. The time interval is set to the value input in the time input field 387.

以上の表示条件のうちのいずれかが選択されると、表示されるインデックスの数/インデックスの総数の欄388には、インデックスファイルに記録された自動インデックスの総数と、その自動インデックスのうちの、選択された表示条件に合致するものの数とが表示される。   When any one of the above display conditions is selected, the number of indexes to be displayed / total number of indexes field 388 displays the total number of automatic indexes recorded in the index file and the automatic indexes. The number of items that meet the selected display condition is displayed.

なお、OKボタン389は、インデックス表示レベル設定ダイアログボックス381における設定事項を、新たに入力されたものに確定し、インデックス表示レベル設定ダイアログボックス381を閉じる場合に操作される。キャンセルボタン390は、インデックス表示レベル設定ダイアログボックス381における設定事項を、前回確定された状態に保持し、インデックス表示レベル設定ダイアログボックス381を閉じる場合に操作される。ヘルプボタン391は、インデックス表示レベル設定ダイアログボックス381についてのヘルプを表示させる場合に操作される。   The OK button 389 is operated when the setting items in the index display level setting dialog box 381 are confirmed to be newly input and the index display level setting dialog box 381 is closed. The cancel button 390 is operated when the setting items in the index display level setting dialog box 381 are held in the previously determined state and the index display level setting dialog box 381 is closed. The help button 391 is operated when displaying help for the index display level setting dialog box 381.

図21に示したソースウインドウ362におけるインデックス画面の表示は、以上のようにして設定された表示条件にしたがって行われるようになされている。   The display of the index screen in the source window 362 shown in FIG. 21 is performed according to the display conditions set as described above.

即ち、図23のフローチャートに示すように、まず最初に、ステップS61において、すべて表示の欄382が選択されているかどうかが判定され、選択されていると判定された場合、ステップS62に進み、インデックスファイルに記録された自動インデックスすべてに対応するインデックス画面が、ソースウインドウ362に表示され、処理を終了する。   That is, as shown in the flowchart of FIG. 23, first, in step S61, it is determined whether or not the display column 382 for all is selected. If it is determined that the column is selected, the process proceeds to step S62. An index screen corresponding to all of the automatic indexes recorded in the file is displayed in the source window 362, and the process ends.

また、ステップS61において、すべて表示の欄382が選択されていないと判定された場合、ステップS63に進み、レベルの欄383が選択されているかどうかが判定される。ステップS63において、レベルの欄383が選択されていると判定された場合、ステップS64に進み、インデックスファイルに記録された自動インデックスのうち、閾値入力欄383Aに入力された値以上のシーンチェンジパラメータを有するものが検索され、ステップS68に進む。ステップS68では、検索された自動インデックスに対応するインデックス画面が、ソースウインドウ362に表示され、処理を終了する。   If it is determined in step S61 that the all display column 382 is not selected, the process proceeds to step S63, and it is determined whether or not the level column 383 is selected. If it is determined in step S63 that the level field 383 is selected, the process proceeds to step S64, and among the automatic indexes recorded in the index file, a scene change parameter equal to or greater than the value input in the threshold value input field 383A is selected. What is possessed is retrieved and the process proceeds to step S68. In step S68, an index screen corresponding to the searched automatic index is displayed in the source window 362, and the process ends.

また、ステップS63において、レベルの欄383が選択されていないと判定された場合、ステップS65に進み、個数表示欄384が選択されているかどうかが判定される。ステップS65において、個数表示欄384が選択されていると判定された場合、ステップS66に進み、対応する自動インデックスが検索される。即ち、個数入力欄385に入力された値をnとするとき、ステップS66では、インデックスファイルに記録された自動インデックスから、シーンチェンジパラメータが大きい上位n個が検索され、ステップS68に進む。ステップS68では、検索されたn個の自動インデックスに対応するインデックス画面が、ソースウインドウ362に表示され、処理を終了する。   If it is determined in step S63 that the level column 383 is not selected, the process advances to step S65 to determine whether the number display column 384 is selected. If it is determined in step S65 that the number display field 384 is selected, the process proceeds to step S66, and the corresponding automatic index is searched. That is, when the value input in the number input field 385 is n, in step S66, the top n number having the largest scene change parameter is searched from the automatic index recorded in the index file, and the process proceeds to step S68. In step S68, an index screen corresponding to the searched n automatic indexes is displayed in the source window 362, and the process ends.

一方、ステップS65において、個数表示欄384が選択されていないと判定された場合、即ち、すべて表示の欄382、レベルの欄383、および個数表示欄384のうちのいずれも選択されておらず、従って、最大レベル表示欄386が選択されている場合、ステップS67に進み、時間入力欄387に設定された時間間隔ごとに、各時間内において、最大のシーンチェンジパラメータを有する自動インデックスが、インデックスファイルから検索される。そして、ステップS68において、各時間内において検索された自動インデックスに対応するインデックス画面が、ソースウインドウ362に表示され、処理を終了する。   On the other hand, when it is determined in step S65 that the number display column 384 is not selected, that is, none of the all display column 382, the level column 383, and the number display column 384 is selected. Accordingly, when the maximum level display field 386 is selected, the process proceeds to step S67, and the automatic index having the maximum scene change parameter is set in the index file for each time interval set in the time input field 387. Retrieved from In step S68, an index screen corresponding to the automatic index searched within each time is displayed in the source window 362, and the process ends.

以上のように、シーンチェンジパラメータの大きさなどに対応して、表示されるインデックス画面の数を制限することができるので、ユーザは、所望のシーンを容易に探し出すことが可能となる。   As described above, since the number of index screens to be displayed can be limited in accordance with the size of the scene change parameter, the user can easily find a desired scene.

ここで、本実施の形態では、レベルの欄383が選択されている場合、閾値入力欄383Aに入力された値(シーンチェンジパラメータの閾値)は、インデックス表示レベルダイアログボックス381をオープンしなくても、図21のクリップエディタメインウインドウ361のツールバーにある下げるボタン365Aや上げるボタン365Bを操作することにより変更することができるようになされている。即ち、下げるボタン365Aが操作されるごとに、シーンチェンジパラメータの閾値は1ずつデクリメントされるようになされており、従って、この場合、表示されるインデックス画面の数は増加していくことになる。また、上げるボタン365Bが操作されることに、シーンチェンジパラメータの閾値は1ずつインクリメントされるようになされており、従って、この場合、表示されるインデックス画面の数は減少していくことになる。   Here, in the present embodiment, when the level column 383 is selected, the value (scene change parameter threshold value) input to the threshold value input column 383A is not required to open the index display level dialog box 381. 21 can be changed by operating the lower button 365A and the up button 365B on the toolbar of the clip editor main window 361 in FIG. That is, each time the lower button 365A is operated, the threshold value of the scene change parameter is decremented by one. Therefore, in this case, the number of index screens to be displayed increases. Further, when the up button 365B is operated, the threshold value of the scene change parameter is incremented by one. Therefore, in this case, the number of index screens to be displayed is decreased.

なお、ここでは、以上のような表示条件により表示の制限されるインデックス画面は、自動インデックスについてのものだけにしてあるが、手動インデックスに対応するインデックス画面の表示も、同様に制限することが可能である。   Note that here, the index screens that are limited to display according to the above display conditions are limited to automatic indexes, but the display of index screens corresponding to manual indexes can be similarly limited. It is.

次に、「スリップレコーダー」においてクリップ(テープ)を作成し、また、「クリップエディター」において、そのクリップを編集することにより新たなクリップを作成し、クリップの数が増加すると、例えば、どのクリップに、何が記録されているかを判断することが、ファイル名を見るだけでは困難となる。そこで、「Slipclip」では、クリップを管理するためのアプリケーションプログラムとして、「クリップビューワー」が用意されている。   Next, create a clip (tape) in the “Slip Recorder”, and create a new clip by editing the clip in the “Clip Editor”. When the number of clips increases, for example, to which clip It is difficult to determine what is recorded just by looking at the file name. Therefore, “Slipclip” provides “Clip Viewer” as an application program for managing clips.

「クリップビューワー」を起動すると、例えば、図24に示すようなクリップビューワメインウインドウ401が表示される。   When “Clip Viewer” is activated, for example, a clip viewer main window 401 as shown in FIG. 24 is displayed.

クリップ一覧402には、クリップ集に登録されているクリップの代表画面が表示される。   The clip list 402 displays a representative screen of clips registered in the clip collection.

ここで、クリップ集とは、クリップをグループ分けするためのフォルダで、代表画面とは、クリップを構成する、ある画面である。代表画面には、デフォルトで、例えば、クリップの最初の画面が設定されるようになされているが、変更することも可能である。   Here, the clip collection is a folder for grouping clips, and the representative screen is a certain screen constituting a clip. For example, the initial screen of the clip is set as the representative screen by default, but it can be changed.

タブ402Aには、クリップ集に付された名前が表示される。従って、図24の実施の形態では、「夏の旅行」、「スキー大会」、「クリスマス」の3つのクリップ集としてのフォルダが存在している。なお、クリップ集は、タブ402Aをクリックすることにより選択することができ、クリップ一覧402には、その選択されたクリップ集に登録されているクリップの代表画面が表示される。図24の実施の形態では、クリップ集「夏の旅行」が選択されており、そこに登録されている3つのクリップの代表画面が、クリップ一覧402に表示されている。   The name given to the clip collection is displayed on the tab 402A. Therefore, in the embodiment of FIG. 24, there are three folders as a collection of clips of “summer trip”, “ski tournament”, and “Christmas”. The clip collection can be selected by clicking the tab 402A, and the clip list 402 displays a representative screen of clips registered in the selected clip collection. In the embodiment of FIG. 24, the clip collection “summer trip” is selected, and a representative screen of three clips registered there is displayed in the clip list 402.

インデックス一覧403には、クリップ一覧402に表示された代表画面をクリックして、クリップを選択した場合に、その選択されたクリップのインデックス画面が表示される。   In the index list 403, when a representative screen displayed in the clip list 402 is clicked and a clip is selected, an index screen of the selected clip is displayed.

画像表示欄404には、クリップ一覧402で選択されたクリップの再生画像が表示される。タイトル欄405には、クリップ一覧402で選択されたクリップのタイトルが表示される。即ち、「クリップビューワー」では、クリップにタイトルを付けることができるようになされており、そのタイトルが、タイトル欄405に表示される。   In the image display field 404, a playback image of the clip selected in the clip list 402 is displayed. In the title column 405, the title of the clip selected in the clip list 402 is displayed. That is, in the “clip viewer”, a title can be given to the clip, and the title is displayed in the title column 405.

停止ボタン406、再生ボタン407、一時停止ボタン408、スキップボタン409,410、インデックスボタン411,412、スライダ414、コマ送りボタン415、スロー再生ボタン416は、図15の再生ウインドウ341における停止ボタン346、再生ボタン347、一時停止ボタン348、スキップボタン349,350、インデックスボタン351,352、スライダ354、コマ送りボタン355、スロー再生ボタン356に、それぞれ対応している。   A stop button 406, a playback button 407, a pause button 408, skip buttons 409 and 410, index buttons 411 and 412, a slider 414, a frame advance button 415, and a slow playback button 416 are a stop button 346 in the playback window 341 in FIG. The play button 347, the pause button 348, the skip buttons 349 and 350, the index buttons 351 and 352, the slider 354, the frame advance button 355, and the slow play button 356 are respectively corresponded.

全画面ボタン413は、画像表示欄404を、全画面表示する場合に操作される。説明文欄417は、クリップ一覧402で選択されたクリップの説明文が表示される。即ち、「クリップビューワー」では、クリップに説明文を付けることができるようになされており、その説明文が、説明文欄413に表示される。   The full screen button 413 is operated when displaying the image display field 404 in full screen. The explanatory note column 417 displays the explanatory note of the clip selected in the clip list 402. That is, in the “clip viewer”, an explanatory note can be attached to the clip, and the explanatory note is displayed in the explanatory note column 413.

なお、本実施の形態では、画像をエンコード(圧縮)して記録するようにしたが、画像の記録は、画像をエンコードせずに、そのまま記録する場合にも適用可能である。但し、スリップ再生を行うことができるかどうかは、ハードディスク212の転送速度およびヘッドシーク時間、並びに録画する画像データのデータ量(データレート)による。   In this embodiment, the image is encoded (compressed) and recorded. However, the image recording can be applied to a case where the image is recorded as it is without being encoded. However, whether or not the slip reproduction can be performed depends on the transfer speed and head seek time of the hard disk 212 and the data amount (data rate) of the image data to be recorded.

即ち、例えば、いま、ハードディスク212の転送速度またはヘッドシーク時間として、上述の場合と同様に、それぞれ4Mbpsまたは20msを考える。   That is, for example, as the transfer speed or the head seek time of the hard disk 212, 4 Mbps or 20 ms is considered as described above.

そして、1フレームのデータ量が、録画モード「Normal」における場合と同一の画像、即ち、15フレームのデータ量が、上述した1856KBの画像を対象として、その記録と再生を行うとすると、ハードディスク212への1856KBのデータの書き込みと、読み出しには、それぞれ、約453ms(=1856[KB]/4×1024[KB/s])の時間がかかる。これにヘッドシーク時間である20msを考慮すれば、書き込みまたは読み出しには、いずれも約473msの時間がかかる。従って、この場合、15フレームの画像データの読み書きを並列に行うには、約946ms(=473ms+473ms)の時間がかかり、15フレームに相当する時間、即ち、約0.5秒の間には行うことができないことになる。   Then, if recording and playback are performed on the same image as that in the recording mode “Normal”, that is, the above-mentioned 1856 KB image with the data amount of 15 frames, the hard disk 212 is recorded. It takes about 453 ms (= 1856 [KB] / 4 × 1024 [KB / s]) to write and read 1856 KB of data to and from, respectively. If the head seek time of 20 ms is taken into consideration, it takes about 473 ms for writing or reading. Therefore, in this case, it takes about 946 ms (= 473 ms + 473 ms) to read and write the image data of 15 frames in parallel, and it is performed during the time corresponding to 15 frames, that is, about 0.5 seconds. Will not be able to.

一方、1フレームのデータ量が、録画モード「Long」における場合と同一の画像、即ち、15フレームのデータ量が、上述した394KBの画像を対象として、その記録と再生を行うとすると、ハードディスク212への394KBのデータの書き込みと、読み出しには、それぞれ、約96.2ms(=394[KB]/4×1024[KB/s])の時間がかかる。これにヘッドシーク時間である20msを考慮すれば、書き込みまたは読み出しには、いずれも約116.2msの時間がかかる。従って、この場合、15フレームの画像データの読み書きは、約232.4ms(=116.2ms+116.2ms)で終了するから、15フレームに相当する時間、即ち、約0.5秒の間に、その読み書きを並列に行うことができる。   On the other hand, when recording and playback is performed on the same image as that in the recording mode “Long”, that is, the above-described 394 KB image with the data amount of 15 frames, the hard disk 212 is recorded. It takes about 96.2 ms (= 394 [KB] / 4 × 1024 [KB / s]) to write and read 394 KB of data to and from each other. If the head seek time of 20 ms is taken into consideration, it takes about 116.2 ms for writing or reading. Therefore, in this case, the reading / writing of the image data of 15 frames is completed in about 232.4 ms (= 116.2 ms + 116.2 ms), so during the time corresponding to 15 frames, that is, about 0.5 seconds, Reading and writing can be done in parallel.

また、本実施の形態では、画像を、固定レートでの符号化方法の1つであるMPEG1の規格に準拠してエンコードするようにしたが、画像の符号化方法はMPEG1の規格に準拠したものに限定されるものではなく、また、画像は、可変レートで符号化することも可能である。但し、画像を可変レートで符号化する場合においては、例えば、スリップ再生を行うときなどに、符号化データが記録されている位置を、その記録開始位置からのバイト数から検出することは困難となる。   In this embodiment, the image is encoded in accordance with the MPEG1 standard, which is one of the fixed-rate encoding methods. However, the image encoding method conforms to the MPEG1 standard. In addition, the image can be encoded at a variable rate. However, when encoding an image at a variable rate, for example, when performing slip reproduction, it is difficult to detect the position where encoded data is recorded from the number of bytes from the recording start position. Become.

また、本実施の形態では、スリップ再生を、画像(およびそれに付随する音声)を対象として行うようにしたが、スリップ再生は、その他のデータを対象に行うことも可能である。同様に、テープの確保も、画像や音声以外のデータを対象に行うことが可能である。   In the present embodiment, the slip reproduction is performed on the image (and the sound accompanying it), but the slip reproduction can be performed on other data. Similarly, securing a tape can be performed for data other than images and sound.

本発明を適用したパーソナルコンピュータの外観構成例を示す斜視図である。It is a perspective view which shows the example of an external appearance structure of the personal computer to which this invention is applied. 本発明を適用したパーソナルコンピュータの外観構成例を示す斜視図である。It is a perspective view which shows the example of an external appearance structure of the personal computer to which this invention is applied. 本体31の正面図である。3 is a front view of a main body 31. FIG. 本体31の背面図である。4 is a rear view of the main body 31. FIG. 図1(図2)のパーソナルコンピュータの電気的構成例を示すブロック図である。FIG. 3 is a block diagram showing an example of the electrical configuration of the personal computer of FIG. 1 (FIG. 2). MPEG1リアルタイムエンコーダボード213の構成例を示すブロック図である。3 is a block diagram illustrating a configuration example of an MPEG1 real-time encoder board 213. FIG. スリップレコーダメインウインドウ301を示す図である。It is a figure which shows the slip recorder main window. テープ設定ダイアログボックス321を示す図である。FIG. 6 is a diagram showing a tape setting dialog box 321. ノーマルテープとエンドレステープとを説明するための図である。It is a figure for demonstrating a normal tape and an endless tape. 各録画モードの仕様を説明するための図である。It is a figure for demonstrating the specification of each video recording mode. ノーマルテープを対象とした録画処理を説明するためのフローチャートである。It is a flowchart for demonstrating the recording process which made the normal tape object. エンドレステープを対象とした録画処理を説明するためのフローチャートである。It is a flowchart for demonstrating the video recording process for endless tape. インデックス記録処理を説明するためのフローチャートである。It is a flowchart for demonstrating an index recording process. インデックスデータのフォーマットを示す図である。It is a figure which shows the format of index data. 再生ウインドウ341を示す図である。It is a figure which shows the reproduction | regeneration window 341. FIG. 経過時間、残り時間、録画時刻を説明するための図である。It is a figure for demonstrating elapsed time, remaining time, and recording time. スリップ再生処理を説明するためのフローチャートである。It is a flowchart for demonstrating slip reproduction | regeneration processing. アプリケーションプログラム「スリップレコーダー」の処理を説明するためのブロック図である。It is a block diagram for demonstrating the process of application program "slip recorder." シーンチェンジパラメータの時間変化を示す図である。It is a figure which shows the time change of a scene change parameter. コントローラ133の処理を説明するためのフローチャートである。4 is a flowchart for explaining processing of a controller 133. クリップエディタメインウインドウ361を示す図である。It is a figure which shows the clip editor main window 361. FIG. インデックス表示レベル設定ダイアログボックス381を示す図である。It is a figure which shows the index display level setting dialog box 381. FIG. ソースウインドウ362にインデックス画面を表示するインデックス画面表示処理を説明するためのフローチャートである。10 is a flowchart for explaining an index screen display process for displaying an index screen in a source window 362. クリップビューワメインウインドウ401を示す図である。It is a figure which shows the clip viewer main window.

符号の説明Explanation of symbols

21 キーボード, 22 マウス, 24 マイク, 31 本体, 32,33 面, 34 電源ボタン, 35 凹部, 36 下パネル, 37 上パネル, 41 FDD, 42 CDドライブ, 43 AV端子部, 44 拡張部, 45 ガイド, 51 ディスプレイ, 52 台座, 53 表示部, 54 凹部, 55 CRT, 56,57 面, 58 溝, 59,60 スピーカ, 61 電源ランプ, 63 ハードディスクアクセスランプ, 64 フロッピディスクドライブアクセスランプ, 66 フロッピディスクイジェクトボタン, 68 イジェクトボタン, 69 イジェクト穴, 70 アクセスランプ, 71 電源入力端子, 72 キーボード端子, 73 マウス端子, 74 USB端子, 75 プリンタ端子, 76 シリアル端子, 77 ゲーム端子, 78 ヘッドフォン端子, 79 ライン入力端子, 80 マイクロフォン端子, 81 映像出力端子, 82 S映像出力端子, 83 モニタ端子, 84 AV端子部, 85 アンテナ端子, 86 ラインジャック, 87 テレフォンジャック, 101 入力端子, 102 出力端子, 110 フレームメモリ, 111 ブロック分割器, 112 差分器, 113 切換スイッチ, 114 DCT回路, 115 量子化器, 116 ジグザグスキャン回路, 117 VLC回路, 118 出力バッファ, 119 量子化ステップ制御器, 120 動き検出器, 121 動き補償器, 122 フレームメモリ, 123 切換スイッチ, 124 加算器, 125 逆DCT回路, 126 逆量子化器, 130 画像評価回路, 131 シーンチェンジ検出回路, 132 圧縮方法選択回路, 133 コントローラ, 201 マイクロプロセッサ, 202 メインメモリ, 203 VRAM, 204 バスブリッジ, 206 モデム, 207 I/Oインターフェイス, 210 補助記憶インターフェイス, 211 CD−Rディスク, 212 ハードディスク, 213 MPEG1リアルタイムエンコーダボード, 213A TVチューナ, 214 ビデオカメラ, 215 AV処理回路, 215A NTSCエンコーダ, 216 VTR, 301 スリップレコーダメインウインドウ, 302 録画インジケータ, 303 シーンチェンジインジケータ, 304 現在時刻表示, 305 録画時間表示, 306 タイマスタンバイインジケータ, 307A エンドレス録画表示, 307B 入力ソース表示, 308 停止ボタン, 309 録画ボタン, 310 ポーズボタン, 311 録画時間表示変更ボタン, 312 入力切換ボタン, 313 アップダウンボタン, 314 チャンネルボタン, 321 テープ設定ダイアログボックス, 322 名前の欄, 323 書き込み禁止チェックボックス, 324 種類の欄, 325 録画時間の欄, 326 自動インデックスチェックボックス, 327 録画モードの欄, 328 録音モードの欄, 329 自動チェックボックス, 330 参照ボタン, 331 情報の欄, 332 OKボタン, 333 キャンセルボタン, 334 ヘルプボタン, 341 再生ウインドウ, 342 画像表示欄, 343 再生インジケータ, 344 再生時間表示, 345 音声モード表示, 346 停止ボタン, 347 再生ボタン, 348 一時停止ボタン, 349,350 スキップボタン, 351,352 インデックスボタン, 353 再生時間表示変更ボタン, 354 スライダ, 354A スライダ溝, 355 コマ送りボタン, 356 スロー再生ボタン, 357 音声切換ボタン, 361 クリップエディタメインウインドウ, 362 ソースウインドウ, 363 タイムライン, 364L 始点マーク, 364R 終点マーク, 365A 下げるボタン, 365B 上げるボタン, 366A インデックス追加ボタン, 366B 削除ボタン, 367 再生ボタン, 368 編集点ファイル作成ボタン, 369 出力ウインドウ, 370 ビルド開始ボタン, 381 インデックス表示レベル設定ダイアログボックス, 382 すべて表示の欄, 383 レベルの欄, 383A 閾値入力欄383A, 384 個数表示欄, 385 個数入力欄, 386 最大レベル表示欄, 387 時間入力欄, 388 表示されるインデックスの数/インデックスの総数の欄, 389 OKボタン, 390 キャンセルボタン, 391 ヘルプボタン, 401 クリップビューワメインウインドウ, 402 クリップ一覧, 402A タブ, 403 インデックス一覧, 404 画像表示欄, 405 タイトル欄, 406 停止ボタン, 407 再生ボタン, 408 一時停止ボタン, 409,410 スキップボタン, 411,412 インデックスボタン, 413 全画面ボタン, 414 スライダ, 415 コマ送りボタン, 416 スロー再生ボタン, 417 説明文欄   21 keyboard, 22 mouse, 24 microphone, 31 body, 32, 33 face, 34 power button, 35 recess, 36 lower panel, 37 upper panel, 41 FDD, 42 CD drive, 43 AV terminal part, 44 extension part, 45 guide , 51 display, 52 pedestal, 53 display section, 54 recess, 55 CRT, 56, 57 face, 58 groove, 59, 60 speaker, 61 power lamp, 63 hard disk access lamp, 64 floppy disk drive access lamp, 66 floppy disk eject Button, 68 Eject button, 69 Eject hole, 70 Access lamp, 71 Power input terminal, 72 Keyboard terminal, 73 Mouse terminal, 74 USB terminal, 75 Printer terminal, 76 Serial terminal, 77 game terminal, 78 headphone terminal, 79 line input terminal, 80 microphone terminal, 81 video output terminal, 82 S video output terminal, 83 monitor terminal, 84 AV terminal, 85 antenna terminal, 86 line jack, 87 telephone Jack, 101 input terminal, 102 output terminal, 110 frame memory, 111 block divider, 112 differentiator, 113 changeover switch, 114 DCT circuit, 115 quantizer, 116 zigzag scan circuit, 117 VLC circuit, 118 output buffer, 119 Quantization step controller, 120 motion detector, 121 motion compensator, 122 frame memory, 123 selector switch, 124 adder, 125 inverse DCT circuit, 126 Quantizer, 130 Image evaluation circuit, 131 Scene change detection circuit, 132 Compression method selection circuit, 133 Controller, 201 Microprocessor, 202 Main memory, 203 VRAM, 204 Bus bridge, 206 Modem, 207 I / O interface, 210 Auxiliary Storage interface, 211 CD-R disk, 212 hard disk, 213 MPEG1 real-time encoder board, 213A TV tuner, 214 video camera, 215 AV processing circuit, 215A NTSC encoder, 216 VTR, 301 slip recorder main window, 302 recording indicator, 303 scene Change indicator, 304 Current time display, 305 Recording time display, 30 Timer standby indicator, 307A endless recording display, 307B input source display, 308 stop button, 309 recording button, 310 pause button, 311 recording time display change button, 312 input switching button, 313 up / down button, 314 channel button, 321 tape setting Dialog box, 322 name field, 323 write protection check box, 324 type field, 325 recording time field, 326 automatic index check box, 327 recording mode field, 328 recording mode field, 329 automatic check box, 330 Button, 331 information field, 332 OK button, 333 cancel button, 334 help button, 341 playback window, 34 Image display field, 343 playback indicator, 344 playback time display, 345 audio mode display, 346 stop button, 347 playback button, 348 pause button, 349, 350 skip button, 351, 352 index button, 353 playback time display change button, 354 Slider, 354A Slider groove, 355 Frame advance button, 356 Slow playback button, 357 Audio switching button, 361 Clip editor main window, 362 Source window, 363 Timeline, 364L Start point mark, 364R End point mark, 365A Lower button, 365B Raise Button, 366A Add index button, 366B Delete button, 367 Play button, 368 Create edit point file , 369 Output window, 370 Build start button, 381 Index display level setting dialog box, 382 All display column, 383 level column, 383A Threshold input column 383A, 384 Number display column, 385 Number input column, 386 Maximum level display Field, 387 time input field, 388 number of displayed indexes / total number of indexes field, 389 OK button, 390 cancel button, 391 help button, 401 clip viewer main window, 402 clip list, 402A tab, 403 index list, 404 Image display field, 405 Title field, 406 Stop button, 407 Play button, 408 Pause button, 409, 410 Skip button, 411 12 Index button, 413 full-screen button, 414 slider, 415 frame advance button, 416 slow playback button 417 described sentence column

Claims (5)

動画像データをデータ記録媒体に記録する記録装置であって、
前記動画像データを記録する記録時間と、その動画像データのビットレートに関するビットレート情報とを設定する設定手段と、
前記設定手段により設定された前記記録時間およびビットレート情報に基づいて、前記動画像データを記録するのに必要な記録容量である必要容量を算出する算出手段と、
前記データ記録媒体に、前記必要容量以上の記録領域であって、前記必要容量とインデックスのための容量とを備える必要領域をファイルとして確保する確保手段と、
前記必要領域である前記ファイルに、前記動画像データと、前記インデックスとなる、シーンチェンジ検出回路の出力に応じてシーンチェンジがされた位置を示すデータを記録する記録手段と
を備える記録装置。
A recording device for recording moving image data on a data recording medium,
Setting means for setting a recording time for recording the moving image data and bit rate information relating to the bit rate of the moving image data;
Calculation means for calculating a necessary capacity, which is a recording capacity necessary for recording the moving image data, based on the recording time and bit rate information set by the setting means;
In the data recording medium, the required capacity more recording regions der, and securing means for securing a necessary area and a capacity for the required capacity and index as a file,
A recording apparatus comprising: recording means for recording the moving image data and data indicating a position where a scene change has been made according to an output of a scene change detection circuit, which is the index , in the file which is the necessary area.
前記確保手段は、前記記録手段による前記動画像データの記録後、前記必要領域の記録されなかった領域を開放する
請求項1に記載の記録装置。
The recording apparatus according to claim 1, wherein after the recording of the moving image data by the recording unit, the securing unit releases an unrecorded area of the necessary area.
前記確保手段により確保された前記必要領域をユーザに提示する提示手段をさらに備える
請求項1に記載の記録装置。
The recording apparatus according to claim 1, further comprising a presentation unit that presents the necessary area secured by the securing unit to a user.
前記確保手段は、記録開始の指示がなされた時点で、前記必要領域を確保する
請求項1に記載の記録装置。
The recording apparatus according to claim 1, wherein the securing unit secures the necessary area when an instruction to start recording is given.
動画像データをデータ記録媒体に記録する記録方法であって、
前記動画像データを記録する記録時間と、その動画像データのビットレートに関するビットレート情報とを設定し、
設定された前記記録時間およびビットレート情報に基づいて、前記動画像データを記録するのに必要な記録容量である必要容量を算出し、
前記データ記録媒体に、前記必要容量以上の記録領域であって、前記必要容量とインデックスのための容量とを備える必要領域をファイルとして確保し、
前記必要領域である前記ファイルに、前記動画像データと、前記インデックスとなる、シーンチェンジ検出回路の出力に応じてシーンチェンジがされた位置を示すデータを記録する
ステップを含む記録方法。
A recording method for recording moving image data on a data recording medium,
Set a recording time for recording the moving image data and bit rate information related to the bit rate of the moving image data,
Based on the set recording time and bit rate information, calculate a necessary capacity that is a recording capacity necessary to record the moving image data,
Wherein the data recording medium, I the required capacity more recording area der to secure the necessary space and a capacity for the required capacity and index as a file,
A recording method comprising: recording the moving image data and data indicating the position where a scene change has been made according to an output of a scene change detection circuit, into the file, which is the necessary area.
JP2006107560A 2006-04-10 2006-04-10 Recording apparatus and recording method Expired - Lifetime JP4251297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006107560A JP4251297B2 (en) 2006-04-10 2006-04-10 Recording apparatus and recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006107560A JP4251297B2 (en) 2006-04-10 2006-04-10 Recording apparatus and recording method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003348276A Division JP3852435B2 (en) 2003-10-07 2003-10-07 Information processing apparatus and method, display method, and recording medium

Publications (2)

Publication Number Publication Date
JP2006262498A JP2006262498A (en) 2006-09-28
JP4251297B2 true JP4251297B2 (en) 2009-04-08

Family

ID=37101129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006107560A Expired - Lifetime JP4251297B2 (en) 2006-04-10 2006-04-10 Recording apparatus and recording method

Country Status (1)

Country Link
JP (1) JP4251297B2 (en)

Also Published As

Publication number Publication date
JP2006262498A (en) 2006-09-28

Similar Documents

Publication Publication Date Title
JP3409834B2 (en) Image processing apparatus, image processing method, and recording medium
JP3528524B2 (en) Recording / reproducing apparatus, recording / reproducing method, and recording medium
JP3971487B2 (en) Recording apparatus, recording method, and recording medium
US8411735B2 (en) Data processing apparatus, data processing method, and program
US9263089B2 (en) Editing apparatus, editing method, and editing program
US20090237519A1 (en) Imaging apparatus
CN102630003B (en) Image data recording apparatus and control method thereof
JP3588564B2 (en) Video data recording device
JP3854900B2 (en) Recording apparatus and recording method
US20060126088A1 (en) Information processing apparatus and method, and program
US7734655B2 (en) Method of managing data on recording medium
JP3852435B2 (en) Information processing apparatus and method, display method, and recording medium
JP3731657B2 (en) Image processing apparatus and method, and recording medium
JP2001197431A (en) Information processor, information processing method, and program storage medium
JP4424432B2 (en) Recording apparatus and recording method
JP3633915B2 (en) Information processing apparatus and method, and recording medium
JP4251297B2 (en) Recording apparatus and recording method
JP4578935B2 (en) Recording apparatus, recording method, and program recording medium
JP4698961B2 (en) Electronic camera and electronic camera control program
JP3951152B2 (en) Image coding apparatus and method
KR20060084062A (en) A composite image apparatus capable of copy parts of the original and a part copy method of the original
US20090297119A1 (en) Information recording and reproducing apparatus
JP2007097146A (en) Method of printing still image and apparatus corresponding to printing request timing
KR100564392B1 (en) Method for remaking and searching screen in the media player
JP2000115779A (en) Image processing unit and moving image coding method applied to the same

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080728

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081007

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20081029

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081225

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090107

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term