JP6493737B2 - How to store moving images - Google Patents

How to store moving images Download PDF

Info

Publication number
JP6493737B2
JP6493737B2 JP2015018022A JP2015018022A JP6493737B2 JP 6493737 B2 JP6493737 B2 JP 6493737B2 JP 2015018022 A JP2015018022 A JP 2015018022A JP 2015018022 A JP2015018022 A JP 2015018022A JP 6493737 B2 JP6493737 B2 JP 6493737B2
Authority
JP
Japan
Prior art keywords
still image
image
frame
buffer area
capture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015018022A
Other languages
Japanese (ja)
Other versions
JP2016144011A (en
Inventor
利夫 白川
利夫 白川
光 藤村
光 藤村
信也 小池
信也 小池
知大 兼元
知大 兼元
白川 暁
暁 白川
Original Assignee
株式会社ハイパーシステム
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 株式会社ハイパーシステム filed Critical 株式会社ハイパーシステム
Priority to JP2015018022A priority Critical patent/JP6493737B2/en
Publication of JP2016144011A publication Critical patent/JP2016144011A/en
Application granted granted Critical
Publication of JP6493737B2 publication Critical patent/JP6493737B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は動画像の蓄積方法に係り、とくに高画質動画像を構成するフレーム画像成分、すなわち連続した静止画像列を時間順に効率良く蓄積する動画像の蓄積方法に関する。   The present invention relates to a moving image storage method, and more particularly to a moving image storage method for efficiently storing frame image components constituting a high-quality moving image, that is, continuous still image sequences in time order.

工場での製造管理用やビル、店舗、駅等の防犯用の監視システムでは、監視カメラで撮像した動画像を記録装置で長時間録画しておき、異常発生があれば記録した動画像を再生・表示して異常発生日時の特定と原因究明が可能になっている。この人手による異常発生日時の特定や原因究明には多大な時間と労力を要し、画像解析技術を用いて動画像データから自動的に異常検知するのが望ましい。監視システムでは記録した動画像データを光ディスクなどの可搬型記録媒体にコピーして、一般のパソコンでも再生可能となっているが、可搬型記録媒体にコピーする際に、監視システムメーカ独自のビューワソフトに独自の圧縮形式で組み込まれてしまう。パソコンでは動画像データの組み込まれた独自の映像ビューワソフトを立ち上げて再生・表示は出来るが、映像ビューワソフトに組み込まれた動画像データに対し直接、画像解析処理することは出来ない。
このため、独自映像ビューワソフトを立ち上げて動画像を再生・表示させながら画面キャプチャを行って各フレームの静止画データを記憶装置に取り込み、この取り込んだ静止画データ群に対して画像解析処理することになる。
In surveillance systems for manufacturing management at factories and for crime prevention in buildings, stores, stations, etc., moving images taken with a surveillance camera are recorded for a long time with a recording device, and if there is an abnormality, the recorded moving images are played back. -Display and identify the date and time of occurrence of abnormality and investigate the cause. It takes a lot of time and labor to specify the date and time of occurrence of abnormality by human labor and to investigate the cause, and it is desirable to automatically detect abnormality from moving image data using image analysis technology. In the surveillance system, the recorded moving image data can be copied to a portable recording medium such as an optical disk and played back on a general personal computer. However, when copying to a portable recording medium, the viewer software unique to the surveillance system manufacturer Will be included in the original compression format. A personal computer can launch and play back and display its own video viewer software that incorporates video data, but it cannot perform image analysis directly on video data that is built into video viewer software.
For this reason, the original video viewer software is launched to capture and capture the still image data of each frame in the storage device while capturing and playing back the moving image, and image analysis processing is performed on the captured still image data group. It will be.

ところで、近年は動画像の画質向上が著しく、フルハイビジョン解像度(1920×1080)でフレームレート30fps や60fps が普及し始めており、更に4Kと呼ばれる超高解像度も実用化されている。パソコンで動画像の再生・表示と、連続的な画面キャプチャを平行して行うことは処理負担が非常に大きく、前記高解像度の動画像を対象とするとき、処理が間に合わない恐れがある。例えば、フルハイビジョン解像度(1920×1080)の動画像の場合、表示出力用のビデオRAMから1フレーム分の静止画像をメインメモリに取り込んで一時記憶するのに要する時間TAと、メインメモリから静止画像を読み出し、USB3.0規格で接続された外部SSD ドライブ装置に転送し、書き込みを完了させるまでに要する時間TBの合計時間TCは、ハイクラスでない市販のパソコンで35ms程度掛かる。動画像が30fps または60fps の場合、フレーム周期は約33msまたは16.7msであり、外部SSD ドライブ装置へ静止画像の書き込みが終わった後、ビデオRAMから次のフレームの静止画像をキャプチャしようとしたとき、次のフレームよりももっと後のフレームに書き換えられてしまっており、コマ落ちが生じてしまう問題があった。   By the way, in recent years, the image quality of moving images has been remarkably improved, and frame rates of 30 fps and 60 fps have started to be widespread at full high-definition resolution (1920 × 1080), and an ultra-high resolution called 4K has been put into practical use. Performing playback / display of moving images and continuous screen capture in parallel on a personal computer imposes a heavy processing load, and when the high-resolution moving images are targeted, the processing may not be in time. For example, in the case of a moving image having a full high-definition resolution (1920 × 1080), a time TA required to take a still image for one frame from the video RAM for display output into the main memory and temporarily store it, and a still image from the main memory The total time TC of the time TB required to read and transfer the data to an external SSD drive device connected in accordance with the USB 3.0 standard and complete the writing takes about 35 ms on a non-high class commercially available personal computer. When the moving image is 30fps or 60fps, the frame period is about 33ms or 16.7ms.After the still image is written to the external SSD drive device, when trying to capture the next frame still image from the video RAM, The frame has been rewritten to a frame later than the next frame, and there was a problem that frames were dropped.

特開2010−98622号公報JP 2010-98622 A

本発明は上記した従来技術の問題に鑑みなされたもので、コマ落ちを生じ難くした動画像の蓄積方法を提供することを、その目的とする。   The present invention has been made in view of the above-described problems of the prior art, and an object thereof is to provide a moving image accumulation method in which frame dropping is less likely to occur.

本発明では、コンピュータに画面表示される動画像の蓄積方法であって、
静止画像を蓄積するSSD形の静止画像蓄積手段を複数個用意し、
動画像の新たなフレームの静止画像が表示用フレーム記憶手段に書き込まれる度に、
当該新たな1フレーム分の静止画像を複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させること、
を特徴としている。
この場合、アプリケーションプログラムにより動画像の新たなフレームの静止画像が表示用フレーム記憶手段に書き込まれる度に、当表示用フレーム記憶手段から一時的記憶手段に取り込み、この取り込んだ新たな1フレーム分の静止画像を複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させるようにしても良い。また、これと異なり、アプリケーションプログラムにより動画像の新たなフレームの静止画像が表示用フレーム記憶手段に書き込まれる度に、当表示用フレーム記憶手段から複数の一時的記憶手段の内の一つに巡回的に取り込み、この取り込んだ新たな1フレーム分の静止画像を複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させるようにしても良い。
また、他の発明では、
コンピュータに画面表示される動画像の蓄積方法であって、
静止画像を蓄積するSSD形の静止画像蓄積手段を複数個用意し、
動画像を構成するフレーム画像成分を含む静止画像が周期的に書き込まれる表示用フレーム記憶手段から、周期的に静止画像を読み出し、複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させること、
を特徴としている。
この場合、表示用フレーム記憶手段から読み出した静止画像を一時的記憶手段に取り込み、この取り込んだ静止画像を複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させるようにしても良い。また、これと異なり、表示用フレーム記憶手段から読み出した静止画像を複数の一時的記憶手段の内の一つに巡回的に取り込み、この取り込んだ静止画像を複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させるようにしても良い。なお、各静止画像は、1つの動画像を構成する1つのフレーム画像成分を含んでいても良いし、複数の動画像を構成する複数のフレーム画像成分を1枚に含んでいても良い。
In the present invention, a method for accumulating moving images displayed on a computer screen,
Prepare multiple SSD still image storage means for storing still images,
Each time a still image of a new frame of a moving image is written into the display frame storage means,
Cyclically transferring the additional still image for one frame to one of a plurality of SSD-type still image storage means for additional storage;
It is characterized by.
In this case, every time a still image of a new frame of a moving image is written into the display frame storage means by the application program, it is fetched from the display frame storage means into the temporary storage means, and the new one frame taken in is fetched. Still images may be transferred cyclically to one of a plurality of SSD type still image storage means for additional storage. In contrast, every time a still image of a new frame of a moving image is written into the display frame storage means by the application program, the display frame storage means cycles to one of the plurality of temporary storage means. The captured still image for one frame may be transferred cyclically to one of a plurality of SSD type still image storage means for additional storage.
In other inventions,
A method of accumulating moving images displayed on a computer screen,
Prepare multiple SSD still image storage means for storing still images,
The still image is periodically read out from the display frame storage means in which the still image including the frame image component constituting the moving image is periodically written, and is circulated to one of the plurality of SSD type still image storage means. Transfer it and store it additionally
It is characterized by.
In this case, the still image read from the display frame storage means is taken into the temporary storage means, and the taken still image is cyclically transferred to one of a plurality of SSD type still image storage means for addition. You may make it memorize | store. Also, unlike this, the still image read from the display frame storage means is cyclically taken into one of the plurality of temporary storage means, and the taken still image is taken as a plurality of SSD type still image storage means. Alternatively, it may be transferred cyclically to one of them and additionally stored. Each still image may include one frame image component constituting one moving image, or may include a plurality of frame image components constituting a plurality of moving images.

本発明によれば、動画像を構成するフレーム画像成分を時間順に含む静止画像列の各静止画像を、複数個の静止画像蓄積手段の内の1つに巡回的に追加記憶させるので、静止画像蓄積手段1つ当たりの転送時間に余裕が生じ、ハイクラスなパソコンその他の機器を用いなくても、コマ落ちなく動画像を蓄積することが可能となる。   According to the present invention, each still image of the still image sequence including the frame image components constituting the moving image in time order is additionally stored in one of the plurality of still image storage means. There is a margin in the transfer time per storage means, and it is possible to store moving images without dropping frames without using a high-class personal computer or other devices.

本発明の一実施例に係る動画像の蓄積方法を具現した動画像キャプチャ装置の構成図である(実施例1)。1 is a configuration diagram of a moving image capture device that embodies a moving image storage method according to an embodiment of the present invention (first embodiment); FIG. 図1のCPUにより実行される動画像キャプチャ処理を示すフローチャートである。It is a flowchart which shows the moving image capture process performed by CPU of FIG. 動画像キャプチャ方法を説明するタイムチャートである。It is a time chart explaining a moving image capture method. 動画像を構成するフレーム画像成分を時間順に含む静止画像列の説明図である。It is explanatory drawing of the still image sequence which contains the frame image component which comprises a moving image in time order. 静止画像管理情報の説明図である。It is explanatory drawing of still image management information. 静止画像管理情報の説明図である。It is explanatory drawing of still image management information. 図1のCPUにより実行される映像解析処理を説明するフローチャートである。It is a flowchart explaining the image | video analysis process performed by CPU of FIG. 第一実施例の変形例に係る動画像キャプチャ方法を説明するタイムチャートである。It is a time chart explaining the moving image capture method which concerns on the modification of 1st Example. 複数の動画像を構成する複数のフレーム画像成分を時間順に含む静止画像列の説明図である。It is explanatory drawing of the still image sequence which contains several frame image component which comprises several moving images in order of time.

以下、本発明の最良の形態を実施例に基づき説明する。   Hereinafter, the best mode of the present invention will be described based on examples.

図1を参照して本発明に係る動画像の蓄積方法を具現した動画像キャプチャ装置の構成を説明する。
図1において、1はパソコン構成の動画像キャプチャ装置であり、CPU2にシステムメモリ3、ビデオカード4、チップセット5が高速バスでバス接続されており、チップセット5にはSATA3.0コントローラ6を介してSSD形のシステムドライブ装置7、SATA3.0コントローラ8乃至10、USB3.0コントローラ11、12を介して静止画像蓄積手段としてのSSD形の第1乃至第5の外部ドライブ装置13乃至17、SATA2.0コントローラ18を介して光ディスク装置19、USB2.0コントローラ20を介してキーボード21、マウス22が接続されている。ビデオカード4はGPU30、ビデオRAM31、映像出力部32を含み、映像出力部32にディスプレイ装置33が接続されている。SATA3.0コントローラ6、8乃至10、USB3.0コントローラ11、12、SATA2.0コントローラ18、USB2.0コントローラ20はI/Oコントローラであり、SATA3.0規格、USB3.0規格、SATA2.0規格、USB2.0規格に基づきCPU2と周辺機器との間でのデータ授受を制御する。SATA3.0は6Gb/sの転送速度、USB3.0は5Gb/s、SATA2.0は3Gb/sの転送速度である。
With reference to FIG. 1, the structure of a moving image capturing apparatus embodying the moving image storage method according to the present invention will be described.
In FIG. 1, reference numeral 1 denotes a moving image capture device having a personal computer configuration. A system memory 3, a video card 4, and a chip set 5 are connected to a CPU 2 by a high-speed bus. A SATA 3.0 controller 6 is connected to the chip set 5. SSD type system drive device 7, SATA 3.0 controllers 8 to 10, and USB 3.0 controllers 11 and 12 to SSD type first to fifth external drive devices 13 to 17 as still image storage means, An optical disk device 19 is connected via a SATA 2.0 controller 18, and a keyboard 21 and a mouse 22 are connected via a USB 2.0 controller 20. The video card 4 includes a GPU 30, a video RAM 31, and a video output unit 32, and a display device 33 is connected to the video output unit 32. The SATA 3.0 controllers 6 and 8 to 10, the USB 3.0 controllers 11 and 12, the SATA 2.0 controller 18, and the USB 2.0 controller 20 are I / O controllers, and are SATA 3.0 standard, USB 3.0 standard, and SATA 2.0. Data exchange between the CPU 2 and peripheral devices is controlled based on the USB 2.0 standard. SATA 3.0 has a transfer rate of 6 Gb / s, USB 3.0 has a transfer rate of 5 Gb / s, and SATA 2.0 has a transfer rate of 3 Gb / s.

システムドライブ装置7にはキャプチャプログラムや、光ディスク装置19により光ディスク40から読み出した動画像データ(圧縮データ)の組み込まれた映像ビューワプログラム、映像解析プログラムなどが記憶されている。CPU2はシステムドライブ装置7に記憶されたプログラムに基づきパソコン各部を制御し、キーボード21、マウス22によるユーザの指示に応じて動画像の表示処理、動画像のキャプチャ処理、映像解析処理などを実行する。ビデオカード4のGPU30は、CPU2による動画像表示処理を支援し(圧縮データのデコード処理)、動画像を構成するフレーム画像成分を全体または一部に含む1画面分の静止画像を所定の周期で更新しながら表示用フレームバッファ領域FBに書き込む。表示用フレームバッファ領域FBに書き込まれる静止画像列の各々は、動画像を構成するフレーム画像成分を時間順で含む。また、GPU30はCPU2からのキャプチャ指令に基づき表示用フレームバッファ領域FBから1画面分の静止画像を読み出してCPU2に渡したりする。ビデオRAM31の表示用フレームバッファ領域FBに書き込まれた1画面分の静止画像は映像出力部32により、所定のリフレッシュレート周期で読み出されてディスプレイ装置33に出力されて動画像の画面表示が行なわれる。
チップセット5は各種I/Oコントローラを介した周辺機器とCPU2などとの間でのデータ受け渡しの管理を行う。
The system drive device 7 stores a capture program, a video viewer program in which moving image data (compressed data) read from the optical disc 40 by the optical disc device 19 is incorporated, a video analysis program, and the like. The CPU 2 controls each part of the personal computer based on a program stored in the system drive device 7 and executes a moving image display process, a moving image capture process, a video analysis process, and the like in accordance with a user instruction from the keyboard 21 and mouse 22. . The GPU 30 of the video card 4 supports the moving image display processing by the CPU 2 (decoded processing of compressed data), and a still image for one screen including the frame image components constituting the moving image in whole or in part at a predetermined cycle. Writing to the display frame buffer area FB while updating. Each of the still image sequences written in the display frame buffer area FB includes frame image components constituting a moving image in time order. Further, the GPU 30 reads a still image for one screen from the display frame buffer area FB based on a capture command from the CPU 2 and passes it to the CPU 2. The still image for one screen written in the display frame buffer area FB of the video RAM 31 is read out by the video output unit 32 at a predetermined refresh rate period and output to the display device 33 to display a moving image on the screen. It is.
The chip set 5 manages data exchange between the peripheral device and the CPU 2 through various I / O controllers.

次に、図2乃至図7を参照して上記した実施例の作用を説明する。図2はパソコン構成の動画像キャプチャ装置により実行される動画像キャプチャ処理のフローチャート、図3は動画像のキャプチャ動作を説明するタイムチャート、図4はフレームバッファ領域FBに書き込まれる静止画像列の説明図、図5と図6は静止画像管理情報の説明図、図7はパソコン構成の動画像キャプチャ装置により実行される映像解析処理のフローチャートである。
なお、予め、光ディスク40に記録された動画像データ(圧縮データ)の組み込まれた映像ビューワプログラムがシステムドライブ装置7にコピー済であるとする。動画像データは1画面の大きさの1つの動画像だけ含むものとし、フルハイビジョン解像度(1920×1080)でフレームレート60fps とする。また、ディスプレイ装置33のリフレッシュレートは動画像データのフレームレートと同じ60Hzとする。
ユーザがキーボード21、マウス22により映像ビューワプログラムの立ち上げ指令を入力すると、USB2.0コントローラ20とチップセット5を介してこの指令を入力したCPU2がチップセット5とSATA3.0コントローラ6を介してシステムドライブ装置7から映像ビューワプログラムをシステムメモリ3に読み出す。そして、映像ビューワプログラムを解読しビデオカード4のGPU30に動画像データのデコード指令を与える。GPU30は動画像データをデコードして復元しながら動画像を構成するフレーム単位の静止画像(=フレーム画像成分)をビデオRAM31の表示用フレームバッファ領域FBに描画する。GPU30は動画像のフレーム周期(約16.7ms)で新たな静止画像の描画を繰り返す。表示用フレームバッファ領域FBの静止画像は映像出力部32により所定のリフレッシュレート(ここでは60Hz)で読み出されてディスプレイ装置33へ出力され、フルハイビジョン解像度(1920×1080)、フレームレート60fps の動画像として画面表示される。GPU30は表示用フレームバッファ領域FBの静止画像の更新が終わり、映像出力部32が新たな静止画像の読み出しを開始する直前の垂直同期期間に入ると、CPU2からのリクエストに応じて垂直同期期間通知をする。
Next, the operation of the above-described embodiment will be described with reference to FIGS. FIG. 2 is a flowchart of a moving image capture process executed by a moving image capture device having a personal computer configuration, FIG. 3 is a time chart for explaining a moving image capture operation, and FIG. 4 is a description of a still image sequence written in the frame buffer area FB. 5, FIG. 5 and FIG. 6 are explanatory diagrams of still image management information, and FIG. 7 is a flowchart of video analysis processing executed by a moving image capture device having a personal computer configuration.
It is assumed that the video viewer program in which the moving image data (compressed data) recorded on the optical disc 40 is previously copied to the system drive device 7. The moving image data includes only one moving image having a size of one screen, and has a full high-definition resolution (1920 × 1080) and a frame rate of 60 fps. The refresh rate of the display device 33 is set to 60 Hz, which is the same as the frame rate of moving image data.
When the user inputs a start-up command for the video viewer program using the keyboard 21 and the mouse 22, the CPU 2 that has input the command via the USB 2.0 controller 20 and the chipset 5 passes through the chipset 5 and the SATA3.0 controller 6. The video viewer program is read from the system drive device 7 to the system memory 3. Then, the video viewer program is decoded and a video image decoding command is given to the GPU 30 of the video card 4. The GPU 30 draws the still image (= frame image component) of the frame unit constituting the moving image in the display frame buffer area FB of the video RAM 31 while decoding and restoring the moving image data. The GPU 30 repeatedly draws a new still image in the frame period of the moving image (about 16.7 ms). The still image in the display frame buffer area FB is read out at a predetermined refresh rate (60 Hz in this case) by the video output unit 32 and is output to the display device 33. It is displayed on the screen as an image. When the GPU 30 finishes updating the still image in the display frame buffer area FB and enters the vertical synchronization period immediately before the video output unit 32 starts reading a new still image, the GPU 30 notifies the vertical synchronization period in response to a request from the CPU 2. do.

この状態で、ユーザがキーボード21、マウス22によりキャプチャ指令を入力すると、CPU2はシステムドライブ装置7から動画像キャプチャプログラムをシステムメモリ3に読み出す。そして、動画像キャプチャプログラムを解読して動画像のキャプチャ処理を実行する。具体的には、まずシステムメモリ3に1画面分の静止画像の記憶領域を有するキャプチャ用バッファ領域CBを確保する(図2のステップS1)。そして、GPU30に対し定期的に映像出力部32が新たな静止画像の読み出しを開始する直前の垂直同期期間になったか問い合わせる。YESとなったとき、表示用フレームバッファ領域FBに動画像の新たなフレーム画像成分から成る新たな静止画像が描画されたと判断する。そして、GPU30により表示用フレームバッファ領域FBから新たな静止画像を読み出させて入力し、システムメモリ3のキャプチャ用バッファ領域CBに書き込むことで取り込みを行なう(ステップS3、S4)。そして、1画面分の静止画像の取り込みが終了する毎に、この静止画像を非圧縮のBMP形式の静止画像ファイルに変換し、チップセット5とSATA3.0コントローラ8乃至10、USB3.0コントローラ11、12の内の1つを介して、第1乃至第5の外部ドライブ装置13乃至17の内の1つに巡回的に転送して静止画像ファイルの追加記憶をさせる(ステップS5、S3、S4の繰り返し)。BMP形式の静止画像ファイルには時間順に1から連番のファイル名を付す(ステップS2、S6、S7)。これにより、動画像の再生・表示と平行して動画像を構成する各フレーム画像成分を成す静止画像が第1乃至第5の外部ドライブ装置13乃至17に巡回的に記録されてキャプチャ処理が実行される。
ユーザがキーボード21、マウス22によりキャプチャ終了指令を入力すると、CPU2は第1乃至第5の外部ドライブ装置13乃至17の各々に、全体の最後のファイル名、解像度、フレームレート、外部ドライブ装置の番号及びドライブ識別文字、外部ドライブ装置の総数を含む静止画像管理情報SG1乃至SG5を記憶させる(ステップS8、S9、図5の(1)乃至(3)、図6の(1)、(2)参照)。
In this state, when the user inputs a capture command with the keyboard 21 and the mouse 22, the CPU 2 reads a moving image capture program from the system drive device 7 to the system memory 3. Then, the moving image capture program is decoded to execute a moving image capture process. Specifically, first, a capture buffer area CB having a still image storage area for one screen is secured in the system memory 3 (step S1 in FIG. 2). Then, the GPU 30 is periodically inquired whether the vertical synchronization period immediately before the video output unit 32 starts reading a new still image. If YES, it is determined that a new still image composed of a new frame image component of the moving image is drawn in the display frame buffer area FB. Then, the GPU 30 reads out and inputs a new still image from the display frame buffer area FB, and captures it by writing it into the capture buffer area CB of the system memory 3 (steps S3 and S4). Then, every time a still image for one screen is captured, the still image is converted into an uncompressed BMP format still image file, and the chipset 5, SATA 3.0 controllers 8 to 10, and USB 3.0 controller 11 are converted. , 12 is cyclically transferred to one of the first to fifth external drive devices 13 to 17 to additionally store still image files (steps S5, S3, S4). Repeat). A BMP format still image file is assigned a sequential file name from 1 in time order (steps S2, S6, S7). As a result, the still images constituting the frame image components constituting the moving image in parallel with the reproduction / display of the moving image are cyclically recorded in the first to fifth external drive devices 13 to 17 and the capture process is executed. Is done.
When the user inputs a capture end command using the keyboard 21 and mouse 22, the CPU 2 assigns the last file name, resolution, frame rate, and external drive device number to each of the first to fifth external drive devices 13 to 17. And still image management information SG1 to SG5 including drive identification characters and the total number of external drive devices (see steps S8 and S9, (1) to (3) in FIG. 5, (1) and (2) in FIG. 6). ).

次に、図3と図4を参照してより具体的なキャプチャ動作を説明する。図3は動画像キャプチャ方法を説明するタイムチャート、図4は動画像を構成するフレーム画像成分を時間順に含む静止画像列の説明図である。
ユーザがキャプチャ指令を入力した時点でGPU30が表示用フレームバッファ領域FBに動画像のi番目のフレーム画像成分di を成す静止画像Si を描画中であったとすると、新たな静止画像Si の描画が完了した時点でCPU2は一旦、システムメモリ3のキャプチャ用バッファ領域CBに静止画像Si を取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を例えば「0000001 」とする。取り込みの所要時間は約7ms 、BMP形式への変換は数ms程度である。そして、チップセット5を介してSATA3.0コントローラ8にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第1の外部ドライブ装置13への書き込みを開始させる。この際、静止画像ファイルはキャプチャ用バッファ領域CBから第1の外部ドライブ装置13のバッファメモリ(図示せず)に高速転送されたあと、バッファメモリからSSDメモリ(図示せず)に書き込まれる。キャプチャ用バッファ領域CBからの転送開始から第1の外部ドライブ装置13のSSDメモリへの書き込み完了までの所要時間Tは30ms前後であり、表示用フレームバッファ領域FBに動画像のi+5番目のフレーム画像成分di+5 を成す静止画像Si+5 が描画されるまでに書き込みは完了する。
Next, a more specific capture operation will be described with reference to FIGS. FIG. 3 is a time chart for explaining a moving image capturing method, and FIG. 4 is an explanatory view of a still image sequence including frame image components constituting a moving image in time order.
If the GPU 30 is drawing a still image S i forming the i-th frame image component d i of the moving image in the display frame buffer area FB at the time when the user inputs a capture command, the new still image S i CPU2 when the drawing is completed once, temporarily stores captures still images S i in the capture buffer area CB of the system memory 3, rewritten by converting the still image file in BMP format. At this time, the file name is, for example, “0000001”. The time required for capturing is about 7 ms, and the conversion to the BMP format is about several ms. Then, a transfer command of the BMP format still image file from the capture buffer area CB is given to the SATA 3.0 controller 8 via the chip set 5 to start writing to the first external drive device 13. At this time, the still image file is transferred from the capture buffer area CB to the buffer memory (not shown) of the first external drive device 13 and then written from the buffer memory to the SSD memory (not shown). The required time T from the start of transfer from the capture buffer area CB to the completion of writing to the SSD memory of the first external drive device 13 is about 30 ms, and the i + 5th frame image of the moving image is displayed in the display frame buffer area FB. writing before the still image S i + 5 forming a component d i + 5 is drawn is complete.

その後、表示用フレームバッファ領域FBに動画像のi+1番目のフレーム画像成分di+1 を成す静止画像Si+1 の描画が完了すると、CPU2はシステムメモリ3のキャプチャ用バッファ領域CBに取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000002 」とする。そして、チップセット5を介してSATA3.0コントローラ9にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第2の外部ドライブ装置14への書き込みを開始させる。更に、表示用フレームバッファ領域FBに動画像のi+2番目のフレーム画像成分di+2 を成す静止画像Si+2 の描画が完了すると、CPU2はシステムメモリ3のキャプチャ用バッファ領域CBに取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換え、ファイル名を「0000003 」とする。そして、チップセット5を介してSATA3.0コントローラ10にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第3の外部ドライブ装置15への書き込みを開始させる。 Thereafter, when the drawing of the still image S i + 1 that forms the i + 1-th frame image component d i + 1 of the moving image is completed in the display frame buffer area FB, the CPU 2 captures it in the capture buffer area CB of the system memory 3. Temporarily store, convert to BMP format still image file and rewrite. At this time, the file name is “0000002”. Then, a transfer command of the BMP format still image file from the capture buffer area CB is given to the SATA 3.0 controller 9 via the chip set 5 to start writing to the second external drive device 14. Further, when the drawing of the still image S i + 2 that forms the i + 2nd frame image component d i + 2 of the moving image is completed in the display frame buffer area FB, the CPU 2 takes in the capture buffer area CB of the system memory 3. Temporarily store it, convert it to a BMP format still image file, and rewrite it to make the file name “0000003”. Then, a transfer command of the BMP format still image file from the capture buffer area CB is given to the SATA 3.0 controller 10 via the chip set 5 to start writing to the third external drive device 15.

次に、表示用フレームバッファ領域FBに動画像のi+3番目のフレーム画像成分di+3 を成す静止画像Si+3 の描画が完了すると、CPU2はシステムメモリ3のキャプチャ用バッファ領域CBに取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000004 」とする。そして、チップセット5を介してUSB3.0コントローラ11にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第4の外部ドライブ装置16への書き込みを開始させる。更に、表示用フレームバッファ領域FBに動画像のi+4番目のフレーム画像成分di+4 を成す静止画像Si+4 の描画が完了すると、CPU2はシステムメモリ3のキャプチャ用バッファ領域CBに取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換え、ファイル名を「0000005 」とする。そして、チップセット5を介してUSB3.0コントローラ11にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第5の外部ドライブ装置17への書き込みを開始させる。 Next, when the drawing of the still image S i + 3 that forms the i + 3rd frame image component d i + 3 of the moving image is completed in the display frame buffer area FB, the CPU 2 takes in the capture buffer area CB of the system memory 3. Is temporarily stored, converted into a BMP format still image file, and rewritten. At this time, the file name is “0000004”. Then, a transfer instruction of the BMP format still image file from the capture buffer area CB is given to the USB 3.0 controller 11 via the chip set 5 to start writing to the fourth external drive device 16. Further, when the drawing of the still image S i + 4 that forms the i + 4th frame image component d i + 4 of the moving image is completed in the display frame buffer area FB, the CPU 2 takes in the capture buffer area CB of the system memory 3. Temporarily stored, converted to a BMP format still image file and rewritten, and the file name is “0000005”. Then, a transfer command of the BMP format still image file from the capture buffer area CB is given to the USB 3.0 controller 11 via the chip set 5 to start writing to the fifth external drive device 17.

次に、表示用フレームバッファ領域FBに動画像のi+5番目のフレーム画像成分di+5 を成す静止画像Si+5 の描画が完了すると、CPU2はシステムメモリ3のキャプチャ用バッファ領域CBに取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000006 」とする。第1の外部ドライブ装置13では既に前回の静止画像Si の書き込みが完了しているので、チップセット5を介してSATA3.0コントローラ8にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第1の外部ドライブ装置13への追加書き込みを開始させる。 Next, when the drawing of the still image S i + 5 that forms the i + 5th frame image component d i + 5 of the moving image is completed in the display frame buffer area FB, the CPU 2 takes in the capture buffer area CB of the system memory 3. Is temporarily stored, converted into a BMP format still image file, and rewritten. At this time, the file name is “0000006”. Since writing of the previous still image S i has already been completed in the first external drive device 13, the BMP format still image file from the capture buffer area CB is transferred to the SATA 3.0 controller 8 via the chipset 5. A transfer command is given to start additional writing to the first external drive device 13.

次に、表示用フレームバッファ領域FBに動画像のi+6番目のフレーム画像成分di+6 を成す静止画像Si+6 の描画が完了すると、CPU2はシステムメモリ3のキャプチャ用バッファ領域CBに取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000007 」とする。そして、第2の外部ドライブ装置14では既に前回の静止画像Si+1 の書き込みが完了しているので、チップセット5を介してSATA3.0コントローラ9にキャプチャ用バッファ領域CBからのBMP形式の静止画像ファイルの転送指令を与えて、第2の外部ドライブ装置12への追加書き込みを開始させる。
以下同様の処理を繰り返すことにより、第1の外部ドライブ装置13には動画像のi番目、i+5番目、i+10番目、・・のフレーム画像成分di 、di+5 、di+10、・・を成すBMP形式の静止画像ファイルが記憶される。第2の外部ドライブ装置14にはi+1番目、i+6番目、i+11番目、・・のフレーム画像成分di+1 、di+6 、di+11、・・を成すBMP形式の静止画像ファイルが記憶される。第3の外部ドライブ装置15にはi+2番目、i+7番目、i+12番目、・・のフレーム画像成分di+2 、di+7 、di+12、・・を成すBMP形式の静止画像ファイルが記憶される。第4の外部ドライブ装置16にはi+3番目、i+8番目、i+13番目、・・のフレーム画像成分di+3 、di+8 、di+13、・・を成すBMP形式の静止画像ファイルが記憶される。第5の外部ドライブ装置15にはi+4番目、i+9番目、i+14番目、・・のフレーム画像成分di+4 、di+9 、di+14、・・を成すBMP形式の静止画像ファイルが記憶される。最後に、図5(1)乃至(3)、図6(1)、(2)の静止画管理情報SG1乃至SG5が、各々第1乃至第5の外部ドライブ装置13乃至17に記憶される。
Next, when the drawing of the still image S i + 6 that forms the i + 6th frame image component d i + 6 of the moving image is completed in the display frame buffer area FB, the CPU 2 takes in the capture buffer area CB of the system memory 3. Is temporarily stored, converted into a BMP format still image file, and rewritten. At this time, the file name is “0000007”. Since the second external drive device 14 has already written the previous still image S i + 1 , the BMP format from the capture buffer area CB is sent to the SATA 3.0 controller 9 via the chipset 5. A still image file transfer command is given, and additional writing to the second external drive device 12 is started.
Thereafter, by repeating the same processing, the first external drive device 13 has the i th, i + 5 th, i + 10 th, frame image components d i , d i + 5 , d i + 10 ,. A BMP still image file is stored. The second external drive device 14 has still image files in the BMP format comprising the i + 1th, i + 6th, i + 111th,... Frame image components d i + 1 , d i + 6 , d i + 11 ,. Remembered. The third external drive device 15 has a BMP format still image file comprising i + 2th, i + 7th, i + 12th,... Frame image components d i + 2 , d i + 7 , d i + 12 ,. Remembered. The fourth external drive device 16 has still image files in the BMP format comprising i + 3th, i + 8th, i + 13th,... Frame image components d i + 3 , d i + 8 , d i + 13 ,. Remembered. The fifth external drive device 15 has still image files in the BMP format comprising i + 4th, i + 9th, i + 14th,... Frame image components d i + 4 , d i + 9 , d i + 14 ,. Remembered. Finally, the still image management information SG1 to SG5 of FIGS. 5 (1) to (3) and FIGS. 6 (1) and (2) are stored in the first to fifth external drive devices 13 to 17, respectively.

次に図7を参照して、第1乃至第5の外部ドライブ装置13乃至17にキャプチャされた静止画像群の利用方法の一つである映像解析処理の動作を簡単に説明する。
上述したようにして、動画像を構成する時間順のフレーム画像成分を成す静止画像列をキャプチャ後、キーボード21、マウス22により映像解析指令を与えると、CPU2はシステムドライブ装置7から映像解析プログラムをシステムメモリ3に読み出す。そして、映像解析ログラムを解読して第1乃至第5の外部ドライブ装置13乃至17に記憶された静止画像群を対象に映像解析処理を実行する。
まず、チップセット5を介してSATA3.0コントローラ8乃至10、USB3.0コントローラ11、12に静止画像管理情報の読み出しを指示し、第1乃至第5の外部ドライブ装置13乃至17から静止画像管理情報SG1乃至SG5を読み出させてシステムメモリ3に格納する(ステップS20)。これらの静止画像管理情報SG1乃至SG5を参照して、1番目の静止画像ファイル(ファイル名=「0000001 」)が記憶された外部ドライブ装置「SSD1」を判別し、対応するSATA3.0コントローラ8に指示して第1の外部ドライブ装置13から静止画像ファイル「0000001 」を読み出させて入力し、システムメモリ3に格納する(ステップS21乃至S23)。また、2番目の静止画像ファイル「0000002 」が記憶された外部ドライブ装置「SSD2」を判別し、対応するSATA3.0コントローラ9に指示して第2の外部ドライブ装置14から静止画像ファイル「0000002 」を読み出させて入力し、システムメモリ3に格納する(ステップS24乃至S27)。そして、2つの静止画を比較して画像解析し、異常の有無と異常内容を判定する(ステップS28)。異常があれば、2つのファイル名と異常内容を対にした解析情報をGPU30に送出し、表示用フレームバッファ領域FBに描画させて、画面表示させる(ステップS29、S30)。また、異常の有無に関らず、2つのファイル名と解析結果を対にした解析情報をシステムドライブ装置7に記憶させる(ステップS31)。
Next, with reference to FIG. 7, the operation of video analysis processing, which is one of methods for using still image groups captured by the first to fifth external drive devices 13 to 17, will be briefly described.
As described above, after capturing a still image sequence forming a frame image component in time order constituting a moving image and then giving a video analysis command from the keyboard 21 and mouse 22, the CPU 2 executes a video analysis program from the system drive device 7. Read to system memory 3. Then, the video analysis program is decoded, and video analysis processing is executed on the still image groups stored in the first to fifth external drive devices 13 to 17.
First, the SATA 3.0 controllers 8 to 10 and the USB 3.0 controllers 11 and 12 are instructed to read out still image management information via the chipset 5, and still image management is performed from the first to fifth external drive devices 13 to 17. Information SG1 to SG5 is read and stored in the system memory 3 (step S20). With reference to these still image management information SG1 to SG5, the external drive device “SSD1” in which the first still image file (file name = “0000001”) is stored is determined, and the corresponding SATA3.0 controller 8 is determined. The user instructs to read and input the still image file “0000001” from the first external drive device 13 and stores it in the system memory 3 (steps S21 to S23). Further, the external drive device “SSD2” in which the second still image file “0000002” is stored is discriminated, and the corresponding SATA3.0 controller 9 is instructed to send the still image file “0000002” from the second external drive device 14. Is read and input, and stored in the system memory 3 (steps S24 to S27). Then, two still images are compared and image analysis is performed, and the presence / absence of abnormality and the content of abnormality are determined (step S28). If there is an abnormality, analysis information in which two file names and abnormality contents are paired is sent to the GPU 30, and is drawn in the display frame buffer area FB and displayed on the screen (steps S29 and S30). Further, regardless of whether there is an abnormality or not, analysis information in which two file names and analysis results are paired is stored in the system drive device 7 (step S31).

次に、CPU2は静止画像管理情報SG1乃至SG5を参照して、3番目の静止画像ファイル「0000003 」が記憶された外部ドライブ装置「SSD3」を判別し、対応するSATA3.0コントローラ10に指示して第3の外部ドライブ装置15から静止画像ファイル「0000003 」を読み出させて入力し、システムメモリ3に格納する(ステップS24乃至S27)。そして、2番目と3番目の静止画を比較して解析し、異常の有無と異常内容を判定する(ステップS28)。異常があれば、2つのファイル名と異常内容を対にした解析情報を画面表示させる(ステップS29、S30)。また、異常の有無に関らず、2つのファイル名と解析結果を対にした解析情報をシステムドライブ装置7に記憶させる(ステップS31)。
以下、同様の処理を最後の静止画像まで逐次、続けて映像解析を行なう。
ユーザがキャプチャを指示した部分の動画像を構成する静止画像が第1乃至第5の外部ドライブ装置13乃至17にコマ落ち無くキャプチャされているため、正確な映像解析が可能となる。
Next, the CPU 2 refers to the still image management information SG1 to SG5, determines the external drive device “SSD3” in which the third still image file “0000003” is stored, and instructs the corresponding SATA 3.0 controller 10 Then, the still image file “0000003” is read from the third external drive device 15 and inputted and stored in the system memory 3 (steps S24 to S27). Then, the second and third still images are compared and analyzed, and the presence / absence of abnormality and the content of abnormality are determined (step S28). If there is an abnormality, analysis information in which two file names and abnormality contents are paired is displayed on the screen (steps S29 and S30). Further, regardless of whether there is an abnormality or not, analysis information in which two file names and analysis results are paired is stored in the system drive device 7 (step S31).
Thereafter, the same processing is sequentially performed until the last still image, and video analysis is performed.
Since the still images constituting the moving image of the portion instructed to be captured by the user are captured by the first to fifth external drive devices 13 to 17 without frame dropping, accurate video analysis can be performed.

この実施例によれば、GPU30により動画像を構成する各フレーム画像成分を成す静止画像が表示用フレームバッファ領域FBに描画される度に、第1乃至第5の外部ドライブ装置13乃至17に巡回的に振り分けて記憶させるので、第1乃至第5の外部ドライブ装置13乃至17の1つ当たりの書き込み時間に余裕が生じ、ハイクラスのパソコンを用いなくても、コマ落ちなく動画像を構成する各フレーム画像成分を成す静止画像が時間順に並んだ静止画像列を連続的にキャプチャすることが可能となる。
また、表示用フレームバッファ領域FBからキャプチャするので、動画像が専用の映像ビューワプログラムに一体的に組み込まれていても、専用の映像ビューワプログラムを立ち上げて動画像を再生させることができれば、動画像を構成する各フレーム画像成分を成す静止画像列を連続的にキャプチャすることが可能となる。
According to this embodiment, every time a still image constituting each frame image component constituting a moving image is rendered in the display frame buffer area FB by the GPU 30, the first to fifth external drive devices 13 to 17 are visited. Therefore, there is a margin in the writing time for each of the first to fifth external drive devices 13 to 17, and a moving image can be formed without dropping frames without using a high-class personal computer. It is possible to continuously capture a still image sequence in which still images constituting each frame image component are arranged in time order.
In addition, since the capture is performed from the display frame buffer area FB, even if the moving image is integrated into the dedicated video viewer program, if the dedicated video viewer program can be started and the moving image can be played back, It is possible to continuously capture a still image sequence constituting each frame image component constituting an image.

なお、上記した実施例では、静止画像記憶手段としての第1乃至第5の外部ドライブ装置は、3台をSATA3.0規格、2台をUSB3.0規格のI/Oコントローラと接続した例を挙げたが、2台をSATA3.0規格、3台をUSB3.0規格と接続するなど任意の組み合わせとして良く、或いは5台全てをSATA3.0規格と接続したり、5台全てをUSB3.0規格と接続したりしても良い。また、静止画像記憶手段としての外部ドライブ装置を2乃至4台、または6台以上備えるようにしても良い。   In the above-described embodiments, the first to fifth external drive devices as still image storage means are connected to three SATA 3.0 standard and two USB 3.0 standard I / O controllers. As mentioned above, 2 units may be connected to the SATA 3.0 standard, 3 units may be connected to the USB 3.0 standard, or any 5 units may be connected to the SATA 3.0 standard, or all 5 units may be connected to the USB 3.0 standard. It may be connected to a standard. Further, two to four or six or more external drive devices as still image storage means may be provided.

また、上記した実施例では、システムメモリに確保するキャプチャ用バッファ領域を1つとする場合を例に挙げて説明したが、本発明は何らこれに限定されず、複数のキャプチャ用バッファ領域を確保しておき、時間的に見て連続する静止画像を複数のキャプチャ用バッファ領域の一つに巡回的に取り込むようにし、各キャプチャ用バッファ領域に取り込まれた静止画像を複数の外部ドライブ装置の一つに巡回的に転送して記憶させるようにしても良い。このようにすれば、フレーム周期に比較して、表示用フレームバッファ領域からキャプチャ用バッファ領域への取り込みに時間が掛かる場合や、キャプチャ用バッファ領域から外部ドライブ装置への転送に時間が掛かる場合でも、確実に動画像を構成する各フレーム画像成分を成す静止画像列の連続したキャプチャが可能となる。   In the above embodiment, the case where the number of capture buffer areas to be secured in the system memory is set as an example has been described. However, the present invention is not limited to this, and a plurality of capture buffer areas are secured. In addition, a continuous still image as viewed in time is cyclically captured in one of the plurality of capture buffer areas, and the still image captured in each capture buffer area is stored in one of the plurality of external drive devices. May be transferred and stored cyclically. In this way, even if it takes time to capture from the display frame buffer area to the capture buffer area compared to the frame period, or even if it takes time to transfer from the capture buffer area to the external drive device. Thus, it is possible to continuously capture a still image sequence that constitutes each frame image component constituting a moving image.

一例として、システムメモリに5つのキャプチャ用バッファ領域を確保する場合の具体的なキャプチャ動作を図8に基づいて簡単に説明する。
第1実施例と同様に、1画面全域にフルハイビジョン解像度(1920×1080)、フレームレート60fps の動画像を再生している状態で、ユーザがキャプチャ指令を入力した時点でGPU30が表示用フレームバッファ領域FBに動画像のi番目のフレーム画像成分di を成す静止画像Si を描画中であったとすると、描画が完了するとCPU2は一旦、システムメモリ3に確保した第1のキャプチャ用バッファ領域CB1に静止画像Si を取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を例えば「0000001 」とする。そして、チップセット5を介してSATA3.0コントローラ8に第1のキャプチャ用バッファ領域CB1からのBPM形式の静止画像ファイルの転送指令を与えて、第1の外部ドライブ装置13へ書き込ませる。
As an example, a specific capture operation when five capture buffer areas are secured in the system memory will be briefly described with reference to FIG.
As in the first embodiment, the GPU 30 displays a frame buffer for display when a user inputs a capture command while playing a moving image having a full high-definition resolution (1920 × 1080) and a frame rate of 60 fps over the entire screen. Assuming that the still image S i forming the i-th frame image component d i of the moving image is being drawn in the area FB, the CPU 2 once holds the first capture buffer area CB1 secured in the system memory 3 when the drawing is completed. The still image S i is taken in and temporarily stored, converted into a BMP format still image file and rewritten. At this time, the file name is, for example, “0000001”. Then, a transfer command of the BPM format still image file from the first capture buffer area CB 1 is given to the SATA 3.0 controller 8 via the chip set 5 and written to the first external drive device 13.

その後、フレームバッファ領域FBに動画像のi+1番目のフレーム画像成分di+1 を成す静止画像Si+1 の描画が完了すると、CPU2はシステムメモリ3の第2のキャプチャ用バッファ領域CB2に取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000002 」とする。そして、チップセット5を介してSATA3.0コントローラ9に第2のキャプチャ用バッファ領域CB2からのBMP形式の静止画像ファイルの転送指令を与えて、第2の外部ドライブ装置14へ書き込ませる。 After that, when the drawing of the still image S i + 1 that forms the i + 1-th frame image component d i + 1 of the moving image is completed in the frame buffer area FB, the CPU 2 captures it in the second capture buffer area CB2 of the system memory 3. Is temporarily stored, converted into a BMP format still image file, and rewritten. At this time, the file name is “0000002”. Then, a transfer command of the BMP format still image file from the second capture buffer area CB 2 is given to the SATA 3.0 controller 9 through the chip set 5 and written to the second external drive device 14.

同様に、表示用フレームバッファ領域FBに動画像のi+2、i+3、i+4番目のフレーム画像成分di+2 、di+3 、di+4 を成す静止画像Si+2 、Si+3 、Si+4 の描画が完了する度に、CPU2は逐次システムメモリ3の第3乃至第5のキャプチャ用バッファ領域CB3乃至CB5に一時記憶させる。第3乃至第5のキャプチャ用バッファ領域CB3乃至CB5に静止画像を取り込む度に、BMP形式に変換し、ファイル名「0000003 」乃至「0000005 」として各々SATA3.0コントローラ10、USB3.0コントローラ11、12に転送指令を与えて第3乃至第5の外部ドライブ装置15、16、17へ書き込ませる。 Similarly, still images S i + 2 and S i + 3 forming i + 2, i + 3, i + 4th frame image components d i + 2 , d i + 3 , d i + 4 of the moving image in the display frame buffer area FB. , S i + 4 is completed, the CPU 2 sequentially stores the data in the third to fifth capture buffer areas CB3 to CB5 in the system memory 3 sequentially. Each time a still image is captured in the third to fifth capture buffer areas CB3 to CB5, it is converted into the BMP format, and the file names “0000003” to “0000005” are respectively used as the SATA3.0 controller 10, the USB3.0 controller 11, 12 is given a transfer command and is written to the third to fifth external drive devices 15, 16, and 17.

ここで前回、第1のキャプチャ用バッファ領域CB1から静止画像「0000001」を第1の外部ドライブ装置13へ転送開始したあと、表示用フレームバッファ領域FBにi+5番目のフレーム画像成分di+5 を成す静止画像Si+5 が描画されるまで、4フレーム周期以上の時間が有る。フレーム周期に比較して表示用フレームバッファ領域FBから第1のキャプチャ用バッファ領域CB1への取り込みに時間が掛かったり、第1の外部ドライブ装置13のバッファメモリの容量が少なく、キャプチャ用バッファ領域CB1から第1の外部ドライブ装置13へ転送を開始してから内部のSSDメモリに書き込みが完了するまでに時間が掛かることがある。この場合でも、次に、表示用フレームバッファ領域FBに動画像のi+5番目のフレーム画像成分di+5 を成す静止画像Si+5 の描画が完了したとき、システムメモリ3の第1のキャプチャ用バッファ領域CB1に前回記憶させた静止画像の転送は完了している。 Here, the transfer of the still image “0000001” from the first capture buffer area CB1 to the first external drive device 13 is started last time, and then the i + 5th frame image component d i + 5 is stored in the display frame buffer area FB. There is a time of 4 frame cycles or more until the still image S i + 5 formed is drawn. Compared to the frame period, it takes time to capture from the display frame buffer area FB to the first capture buffer area CB1, or the buffer memory capacity of the first external drive device 13 is small, and the capture buffer area CB1 From the start of the transfer to the first external drive device 13, it may take time to complete the writing to the internal SSD memory. Even in this case, when the drawing of the still image S i + 5 that forms the i + 5th frame image component d i + 5 of the moving image in the display frame buffer area FB is completed next, the first capture of the system memory 3 is performed. The transfer of the still image previously stored in the buffer area CB1 has been completed.

表示用フレームバッファ領域FBに動画像のi+5番目のフレーム画像成分di+5 を成す静止画像Si+5 の描画が完了すると、CPU2は第1のキャプチャ用バッファ領域CB1に取り込んで一時記憶し、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000006 」とする。そして、チップセット5を介してSATA3.0コントローラ8に第1のキャプチャ用バッファ領域CB1からのBMP形式の静止画像ファイルの転送指令を与えて、第1の外部ドライブ装置13へ書き込ませる。 When the drawing of the still image S i + 5 that forms the i + 5th frame image component d i + 5 of the moving image is completed in the display frame buffer area FB, the CPU 2 takes it into the first capture buffer area CB1 and temporarily stores it. , Convert to BMP still image file and rewrite. At this time, the file name is “0000006”. Then, the transfer command of the BMP format still image file from the first capture buffer area CB 1 is given to the SATA 3.0 controller 8 via the chip set 5 and written to the first external drive device 13.

次に、表示用フレームバッファ領域FBに動画像のi+6番目のフレーム画像成分di+6 を成す静止画像Si+6 の描画が完了すると、CPU2はシステムメモリ3の第2のキャプチャ用バッファ領域CB2に前回記憶させた静止画像の転送が完了しているので、この第2のキャプチャ用バッファ領域CB2に一時記憶させて取り込み、BMP形式の静止画像ファイルに変換して書き換える。この際、ファイル名を「0000007 」とする。そして、チップセット5を介してSATA3.0コントローラ9に第2のキャプチャ用バッファ領域CB2からのBMP形式の静止画像ファイルの転送指令を与えて、第2の外部ドライブ装置14へ書き込ませる。
以下同様の処理を繰り返すことにより、第1の外部ドライブ装置13には動画像のi番目、i+5番目、i+10番目、・・のフレーム画像成分di 、di+5 、di+10、・・を成すBMP形式の静止画像ファイルが記憶される。第2の外部ドライブ装置14には動画像のi+1番目、i+6番目、i+11番目、・・のフレーム画像成分di+1 、di+6 、di+11、・・を成すBMP形式の静止画像ファイルが記憶される。第3の外部ドライブ装置15には動画像のi+2番目、i+7番目、i+12番目、・・のフレーム画像成分di+2 、di+7 、di+12、・・を成すBMP形式の静止画像ファイルが記憶される。第4の外部ドライブ装置16には動画像のi+3番目、i+8番目、i+13番目、・・のフレーム画像成分di+3 、di+8 、di+13、・・を成すBMP形式の静止画像ファイルが記憶される。第5の外部ドライブ装置17には動画像のi+4番目、i+9番目、i+14番目、・・のフレーム画像成分di+4 、di+9 、di+14、・・を成すBMP形式の静止画像ファイルが記憶される。最後に、静止画管理情報ファイルが第1乃至第5の外部ドライブ装置13乃至17の全てに記憶される。
Next, when the drawing of the still image S i + 6 that forms the i + 6th frame image component d i + 6 of the moving image is completed in the display frame buffer area FB, the CPU 2 executes the second capture buffer area of the system memory 3. Since the transfer of the still image previously stored in CB2 has been completed, it is temporarily stored in the second capture buffer area CB2 and is taken in, converted into a BMP format still image file and rewritten. At this time, the file name is “0000007”. Then, a transfer command of the BMP format still image file from the second capture buffer area CB 2 is given to the SATA 3.0 controller 9 through the chip set 5 and written to the second external drive device 14.
Thereafter, by repeating the same processing, the first external drive device 13 has the i th, i + 5 th, i + 10 th, frame image components d i , d i + 5 , d i + 10 ,. A BMP still image file is stored. The second external drive unit 14 has a BMP-type still image comprising the frame image components d i + 1 , d i + 6 , d i + 11 ,... Of the moving image, i + 1, i + 6, i + 111,. An image file is stored. The third external drive device 15 has a BMP-type still image comprising i + 2th, i + 7th, i + 12th,... Frame image components d i + 2 , d i + 7 , d i + 12 ,. An image file is stored. The fourth external drive device 16 has a BMP-type still image comprising i + 3th, i + 8th, i + 13th,... Frame image components d i + 3 , d i + 8 , d i + 13 ,. An image file is stored. The fifth external drive device 17 has a BMP-type still image comprising i + 4th, i + 9th, i + 14th,... Frame image components d i + 4 , d i + 9 , d i + 14 ,. An image file is stored. Finally, the still image management information file is stored in all of the first to fifth external drive devices 13 to 17.

なお、システムメモリに確保するキャプチャ用バッファ領域と外部ドライブ装置を各々2乃至4つずつとしたり、6つ以上ずつとしても良い。例えば、キャプチャ対象の動画像がフルハイビジョン解像度で30fps のフレームレートの場合、表示用フレームバッファ領域に動画像の新たなフレーム画像成分を成す静止画像が書き込まれる度に、該新たな静止画像をキャプチャ用バッファ領域に取り込むようにすれば(即ち、1秒間に30回の取り込み)、システムメモリに確保するキャプチャ用バッファ領域と外部ドライブ装置を各々3つずつとすることができる。また、4Kなど高解像度の場合でも、システムメモリに確保するキャプチャ用バッファ領域と外部ドライブ装置を増加することで対応可能となる。システムメモリに確保するキャプチャ用バッファ領域の数と外部ドライブ装置の数は必ずしも同じである必要はない。   Note that the number of capture buffer areas secured in the system memory and the number of external drive devices may be two to four, or six or more. For example, when a moving image to be captured is a full high-definition resolution and a frame rate of 30 fps, the new still image is captured each time a still image that forms a new frame image component of the moving image is written in the display frame buffer area. By capturing in the buffer area (that is, capturing 30 times per second), three capture buffer areas and three external drive devices can be secured in the system memory. Further, even in the case of high resolution such as 4K, it is possible to cope with the problem by increasing the capture buffer area secured in the system memory and the external drive device. The number of capture buffer areas secured in the system memory and the number of external drive devices are not necessarily the same.

また上記した実施例及びその変形例では、映像ビューワプログラムに組み込まれた動画像データは、画面に1つの動画像を表示するものを例に挙げて説明したが、画面に複数の動画像を表示するものであっても良い。すなわち、動画像データが一画面中に小サイズの複数の動画像を表示するものであり、GPUが複数の動画像を構成する複数のフレーム画像成分を一枚に含む静止画像を周期的に更新しながらフレームバッツファ領域に描画することがある。この場合であっても、リフレッシュレートに同期して表示用フレームバッファ領域に書き込まれた静止画像を周期的にシステムメモリに確保したキャプチャ用バッファ領域に取り込み、BMP形式の静止画像ファイルに変換後、複数の外部ドライブ装置の1つに巡回的に転送して追加記憶させるようにすれば良い。   Further, in the above-described embodiments and modifications thereof, the moving image data incorporated in the video viewer program has been described as an example in which one moving image is displayed on the screen, but a plurality of moving images are displayed on the screen. It may be what you do. That is, moving image data displays a plurality of moving images of a small size in one screen, and a GPU periodically updates a still image including a plurality of frame image components constituting a plurality of moving images. However, it may be drawn in the frame buttsfa area. Even in this case, the still image written in the display frame buffer area in synchronization with the refresh rate is periodically taken into the capture buffer area secured in the system memory, converted into a BMP format still image file, It may be transferred to one of a plurality of external drive devices and stored additionally.

例えば、動画像データが4台の監視カメラで撮像したフレームレート60fps 、30fps 、10fps 、1fpsの4つの動画像DA乃至DDを四分割画面で表示するものであり、リフレッシュレート60Hzの周期でGPUがフレームバッツファ領域に描画する1画面分の静止画像を更新する場合を考える。図9に示す如く、GPUにより或る時点で表示用フレームバッツファ領域に描画される静止画像S’i には動画像DA乃至DDを構成するフレーム画像成分dai 乃至ddi が含まれており、次に1/60秒後に描画される静止画像S’i+1 には動画像DA乃至DDを構成するフレーム画像成分dai+1 乃至ddi+1 が含まれている。以下、n/60秒後毎に描画される静止画像S’i+1+n には動画像DA乃至DDを構成するフレーム画像成分dai+1+n 乃至ddi+1+n が含まれている(但し、n=1、2、3・・)。
ここで、動画像DAはフレームレート60fps なのでフレーム画像成分dai 、dai+1 、dai+2 、dai+3 、・・はいずれも新たなフレーム画像成分である。動画像DBはフレームレート30fps なのでフレーム画像成分dbi 、dbi+1 、dbi+2 、dbi+3 、・・は1つ置きに新たなフレーム画像成分であり、2つずつ同じフレーム画像成分である。動画像DCはフレームレート10fps なのでフレーム画像成分dci 、dci+1 、dci+2 、dci+3 、・・は1/10秒間隔で新たなフレーム画像成分となり、連続する6つずつ同じフレーム画像成分である。動画像DDはフレームレート1fpsなのでフレーム画像成分ddi 、ddi+1 、ddi+2 、ddi+3 、・・は1秒間隔で新たなフレーム画像成分となり、連続する10個つずつ同じフレーム画像成分である。
CPUはリフレッシュレート60Hzの周期で静止画像S’i 、S’i+1 、S’i+2 、S’i+3 、・・をシステムメモリに確保したキャプチャ用バッファ領域に取り込みながら、BMP形式に変換し、複数の外部ドライブ装置の内の一つに巡回的に転送して追加記憶させるようにする。システムメモリに確保するキャプチャ用バッァ領域は1つであっても複数であっても良く、複数確保する場合は、その内の1つに巡回的に取り込むようにすれば良い(図8参照)。
For example, four moving images DA to DD having a frame rate of 60 fps, 30 fps, 10 fps, and 1 fps captured by four surveillance cameras are displayed in a quadrant screen, and the GPU has a refresh rate of 60 Hz. Consider a case where a still image for one screen drawn in the frame buttsfa area is updated. As shown in FIG. 9, the still image S ′ i drawn in the display frame buttsfa area at a certain time by the GPU includes frame image components da i to dd i constituting the moving images DA to DD. Next, the still image S ′ i + 1 drawn after 1/60 second includes frame image components da i + 1 to dd i + 1 constituting the moving images DA to DD. Hereinafter, the still image S ′ i + 1 + n drawn every n / 60 seconds includes frame image components da i + 1 + n to dd i + 1 + n constituting the moving images DA to DD. (Where n = 1, 2, 3,...).
Here, since the moving image DA has a frame rate of 60 fps, the frame image components da i , da i + 1 , da i + 2 , da i + 3 ,... Are all new frame image components. Since the moving image DB has a frame rate of 30 fps, every other frame image component db i , db i + 1 , db i + 2 , db i + 3 ,. It is an ingredient. Since the moving image DC has a frame rate of 10 fps, the frame image components dc i , dc i + 1 , dc i + 2 , dc i + 3 ,... Same frame image components. Since the moving image DD has a frame rate of 1 fps, the frame image components dd i , dd i + 1 , dd i + 2 , dd i + 3 ,... Become new frame image components at intervals of 1 second, and 10 consecutive images are the same. It is a frame image component.
The CPU captures the still images S ′ i , S ′ i + 1 , S ′ i + 2 , S ′ i + 3 ,... In the capture buffer area secured in the system memory at a refresh rate of 60 Hz, and the BMP format. And cyclically transferred to one of a plurality of external drive devices for additional storage. One or a plurality of capture buffer areas may be secured in the system memory. When securing a plurality of capture buffer areas, the capture memory area may be cyclically captured in one of them (see FIG. 8).

本発明は、パソコン、映像機器、映像解析機器などで、動画像を構成するフレーム画像成分を時間順に含む静止画像列を連続的にキャプチャする場合に適用可能である。   The present invention is applicable to a case where a still image sequence including frame image components constituting a moving image in time order is continuously captured by a personal computer, a video device, a video analysis device, or the like.

1 動画像キャプチャ装置
2 CPU
3 システムメモリ
4 ビデオカード
5 チップセット
8、9、10 SATA3.0コントローラ
11、12 USB3.0コントローラ
13 第1の外部ドライブ装置
14 第2の外部ドライブ装置
15 第3の外部ドライブ装置
16 第4の外部ドライブ装置
17 第5の外部ドライブ装置
30 GPU
31 ビデオRAM
33 ディスプレイ装置
FB 表示用フレームバッファ領域
CB キャプチャ用バッファ領域
CB1 第1のキャプチャ用バッファ領域
CB2 第2のキャプチャ用バッファ領域
CB3 第3のキャプチャ用バッファ領域
CB4 第4のキャプチャ用バッファ領域
CB5 第5のキャプチャ用バッファ領域
1 moving image capture device 2 CPU
3 System memory 4 Video card 5 Chipset 8, 9, 10 SATA3.0 controller 11, 12 USB3.0 controller 13 First external drive device 14 Second external drive device 15 Third external drive device 16 Fourth External drive device 17 Fifth external drive device 30 GPU
31 Video RAM
33 display device FB display frame buffer area CB capture buffer area CB1 first capture buffer area CB2 second capture buffer area CB3 third capture buffer area CB4 fourth capture buffer area CB5 fifth Capture buffer area

Claims (2)

コンピュータに画面表示される動画像の蓄積方法であって、
静止画像を蓄積するSSD形の静止画像蓄積手段を複数個用意し、
動画像の新たなフレームの静止画像が表示用フレーム記憶手段に書き込まれる度に、
当該新たな1フレーム分の静止画像を複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させること、
を特徴とするコンピュータによる動画像の蓄積方法。
A method of accumulating moving images displayed on a computer screen,
Prepare multiple SSD still image storage means for storing still images,
Each time a still image of a new frame of a moving image is written into the display frame storage means,
Cyclically transferring the additional still image for one frame to one of a plurality of SSD-type still image storage means for additional storage;
A method of accumulating moving images by a computer.
コンピュータに画面表示される動画像の蓄積方法であって、A method of accumulating moving images displayed on a computer screen,
静止画像を蓄積するSSD形の静止画像蓄積手段を複数個用意し、Prepare multiple SSD still image storage means for storing still images,
動画像を構成するフレーム画像成分を含む静止画像が周期的に書き込まれる表示用フレーム記憶手段から、周期的に静止画像を読み出し、複数個のSSD形の静止画像蓄積手段の内の1つに巡回的に転送して追加記憶させること、The still image is periodically read out from the display frame storage means in which the still image including the frame image component constituting the moving image is periodically written, and is circulated to one of the plurality of SSD type still image storage means. Transfer it and store it additionally
を特徴とするコンピュータによる動画像の蓄積方法。  A method of accumulating moving images by a computer.
JP2015018022A 2015-01-31 2015-01-31 How to store moving images Active JP6493737B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015018022A JP6493737B2 (en) 2015-01-31 2015-01-31 How to store moving images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015018022A JP6493737B2 (en) 2015-01-31 2015-01-31 How to store moving images

Publications (2)

Publication Number Publication Date
JP2016144011A JP2016144011A (en) 2016-08-08
JP6493737B2 true JP6493737B2 (en) 2019-04-03

Family

ID=56568964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015018022A Active JP6493737B2 (en) 2015-01-31 2015-01-31 How to store moving images

Country Status (1)

Country Link
JP (1) JP6493737B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07312032A (en) * 1994-05-17 1995-11-28 Sony Corp Recording/reproducing method and its system
JP2010098622A (en) * 2008-10-19 2010-04-30 Hironobu Okazaki Computer
JP6116192B2 (en) * 2012-11-07 2017-04-19 株式会社イマジオム Movie processing device, camera monitoring system, program

Also Published As

Publication number Publication date
JP2016144011A (en) 2016-08-08

Similar Documents

Publication Publication Date Title
JP4561657B2 (en) Video surveillance system and video surveillance program
JP4476261B2 (en) Decoding device and decoding method
JP6137980B2 (en) Recording apparatus and control method thereof
JP2016167788A (en) Moving image recorder
US11363286B2 (en) System and method for improved video operations
JP2001189915A (en) Video-recording device
JP6493737B2 (en) How to store moving images
US8315504B2 (en) Reproducing apparatus for reproducing movie data from a storage medium
WO2005081521A1 (en) File access device
JP5395621B2 (en) Image generation method and image reproduction method
JP2007324663A (en) Video camera
JP2009140233A (en) Video recording apparatus and monitoring system
JP2009171311A (en) Imaging apparatus
JP2009065387A (en) Video recorder, video recording method and program
JPH0614292A (en) Method for giving moving image effect on one part of still picture
JP2011176769A (en) Recording apparatus and method of controlling the same
US20050207344A1 (en) Data transfer apparatus and image server
JP2010186511A (en) Apparatus, method, program and medium for recording
JP7158930B2 (en) RECORDING DEVICE, CONTROL METHOD AND PROGRAM FOR RECORDING DEVICE
JP2004274488A (en) Method for recording and reproducing animation data, recording apparatus and its reproducing apparatus thereof
JP5597292B2 (en) Video recording apparatus and monitoring system
JP2008079320A (en) Image browsing system
JP2015220502A5 (en)
JP4250170B2 (en) Video encoder that sends the extracted image to the outside during encoding
JP2011160410A (en) Recording device and recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180913

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181112

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: 20190205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190220

R150 Certificate of patent or registration of utility model

Ref document number: 6493737

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150