JP2006033607A - Program and system for processing digital image, and recording medium for the program - Google Patents
Program and system for processing digital image, and recording medium for the program Download PDFInfo
- Publication number
- JP2006033607A JP2006033607A JP2004211905A JP2004211905A JP2006033607A JP 2006033607 A JP2006033607 A JP 2006033607A JP 2004211905 A JP2004211905 A JP 2004211905A JP 2004211905 A JP2004211905 A JP 2004211905A JP 2006033607 A JP2006033607 A JP 2006033607A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- image data
- digital video
- frames
- processing program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は、デジタル映像処理プログラム、デジタル映像処理装置及びデジタル映像処理装置の記録媒体に関し、特に、音声と任意に同期させた静止画像を主体とする高精細デジタル映像の作成に好適なデジタル映像処理プログラム、デジタル映像処理装置及びデジタル映像処理プログラムの記録媒体に関する。 The present invention relates to a digital video processing program, a digital video processing device, and a recording medium for the digital video processing device, and more particularly, digital video processing suitable for creating a high-definition digital video mainly composed of still images arbitrarily synchronized with audio. The present invention relates to a program, a digital video processing apparatus, and a digital video processing program recording medium.
近年、高画質のデジタル映像記録媒体として、DVD(デジタル多用途ディスク)が急速に普及し、更に、このDVDに記録するビデオ記録企画としてDVDビデオ規格が一般に使用されるようになってきている。DVDビデオ規格では、動画データ圧縮にはMPEG−2と呼ばれる圧縮符号化方式(MPEG−2ビデオ符号化)が使用されている。このMPEG−2ビデオ符号化によれば、例えば平均4.5Mbpsの符号化レートを用いることにより、一定の画像品質を満足した上で135分の映像データ(動画データ)を音声データや音響データ等と共に記録することができ、それらを一般的な容量(約4,7Gバイト)のDVDに全て記録することができる。DVDビデオ規格は、一般家庭で容易に利用でき、映像の画質及び音質、保存性の点で、従来のVHS規格と比べかなり改善されている。
なお、映像データと音響データとを出力する情報処理装置として、例えば、特許文献1に記載の技術がある。
As an information processing apparatus that outputs video data and audio data, for example, there is a technique described in
特許文献1には、2以上の映像の同時表示で、映像と音声の対応を分かりやすくする情報処理装置が開示されている。この情報処理装置は、ビットマップ・ディスプレイに複数の映像表示ウインドウを設定できるようにする。各映像表示ウインドウは、映像を表示する映像表示エリアと、その映像に付随する音声の音量を表示する音量表示エリアを具備する。CPUは、ファイル記憶装置から映像ファイルを読み出し、伸長して映像表示制御装置に供給する。CPUはまた、記憶装置から音声ファイルを読み出し、そのデータを制御信号に変換して音声制御装置に転送すると共に、音量と高低を算出し、それらを明るさと色相で表現する音量表示を、映像表示制御装置に指令して、対応する映像を表示する映像表示ウインドウの音量表示エリアに表示させる。音量出力に映像表示が遅れるとき、CPUは、映像フレームを間引いて、映像と音声を同期化する。
映像とは、本来、ユーザが見たいものをできるだけきれいに(できるだけ高解像度乃至高画質で)見せることを実現しようとするものであるとする。しかし、従来のDVDビデオ規格としてのMPEG−2ビデオ符号化によれば、動画についてハイビジョン放送が始まる等、人々が求める高画質の水準が上がっている中、通常の静止画を主体とした映像を表示する場合、動画映像と比べるとテレビ映像品質と同程度の品質(720×480ピクセル)を確保できるものの、特に、720×480ピクセル程度の画質では、十分な映像効果を実現できる画質としては、不十分であるといえる。これは、MPEG−2ビデオ符号化の主目的が映画コンテンツ等の動画データの符号化にあり、画像の解像度として720×480であれば十分としたためであるが、この画質では、静止画を主体とした映像を扱う場合、充分な映像による表現を達しえるものではない。即ち、従来のDVDビデオ規格では、静止画を扱う点で、16mm映画の画質すら満足できず、35mm映画や35mm静止画フィルムの有する情報量を再現するには一層不十分である。 Assume that the video is intended to realize what the user wants to see as clearly as possible (with as high a resolution or high image quality as possible). However, according to the MPEG-2 video coding as the conventional DVD video standard, high-quality broadcasting demanded by people such as the start of high-definition broadcasting for moving images has increased. In the case of display, although it is possible to ensure the same quality (720 × 480 pixels) as the television image quality compared to the moving image, the image quality that can realize a sufficient video effect particularly with an image quality of about 720 × 480 pixels, It can be said that it is insufficient. This is because the main purpose of MPEG-2 video encoding is to encode moving image data such as movie content, and it is sufficient that the image resolution is 720 × 480. However, in this image quality, still images are mainly used. When dealing with such a video, it is not possible to achieve a full video expression. That is, the conventional DVD video standard cannot satisfy even the image quality of a 16 mm movie in terms of handling still images, and is further insufficient to reproduce the amount of information possessed by 35 mm movies and 35 mm still image films.
また、上記代表的な圧縮規格としてのMPEG−2ビデオ符号化は、その規格上、最大1,920×1,080ピクセル(水平×垂直)までの画像しか処理できない。更に、かかる高画質のMPEG−2ビデオ符号化用の編集ソフト及び編集機材は、特殊業務領域で実用化されているのみであり、非常に高額であると共に、パソコンのハードウェアも非常に高度な処理能力最高が必要となる。これは、解像度(サイズ)の大きい画像は、飛躍的にデータ量が増加し、画像の解像度(横サイズ及び縦サイズ)が2倍になると、画像データのサイズは2の2乗の4倍となるためである。例えば、非圧縮ファイルについて、解像度3000×2000の画像は、解像度720×480の画像と比較して、その画像データのサイズ量が約17.4倍となる。同様なことは、例えば、3000×2000の画像により作成した通常の動画形式データを再生するときにも、データ作成の場合と同じく、困難が予想される。即ち、通常の動画では、1秒間に24コマ或いは30コマを同サイズで常に音声に合せて表示し続けなければならないからである。そして、かかる高解像度の映像は、現在、一般家庭で再生できる環境にない。即ち、普及帯のTVにて現在のDVD(720×480)以上の解像度で映像メディアを再生できる環境は現在なく、また、ハイビジョン用の高画質TVは普及率が低いのが現状である。 In addition, MPEG-2 video coding as a typical compression standard can process only images up to a maximum of 1,920 × 1,080 pixels (horizontal × vertical). Furthermore, such editing software and editing equipment for high-quality MPEG-2 video encoding are only put into practical use in the special business field, and are very expensive and have very high-level computer hardware. The highest processing capacity is required. This is because an image with a large resolution (size) increases in data amount dramatically, and when the image resolution (horizontal size and vertical size) is doubled, the size of the image data is 4 times the square of 2. It is to become. For example, for an uncompressed file, an image with a resolution of 3000 × 2000 has a size amount of the image data of about 17.4 times that of an image with a resolution of 720 × 480. The same thing can be expected when, for example, normal moving image format data created with an image of 3000 × 2000 is reproduced, as in the case of data creation. In other words, in a normal moving image, 24 frames or 30 frames per second must be continuously displayed in the same size according to the sound. Such high-resolution video is not in an environment that can be played at home. In other words, there is currently no environment in which video media can be played back at a resolution higher than the current DVD (720 × 480) on a popular TV, and a high-definition TV for high-definition TV has a low penetration rate.
一方、世の中に存在する多数の静止画像を映像ビデオとして活用する場合、映像の再生環境として、一つにはパソコン用ディスプレイを使用することが考えられるが、現在、35mmフィルム相当の情報量を持つ画質はパソコンでは再生できず、また、35mmフィルム相当の情報量を持つ静止画像を高画質のまま映像編集する際にも限界がある。更に、従来の映像作成ソフトでは、静止画は一般にダウンサイズして映像に活用され、本来の高画質のまま使用されることがない。高画質となったデジタルカメラ、例えば、630万画素(3072×2048)で撮影できるカメラも一般に手に入れることができるようになったことを活かして、本発明者は、高画質デジタルカメラ(デジカメ)で撮影したような大きなサイズ(解像度)の画像を、そのままのサイズ(高画質)で映像化できないか鋭意研究した。更に、本発明者は、職場や家庭で普及しているパソコンモニタ(ディスプレイ)が静止画表示に非常に適していること、及び、近年の技術の進歩により、パソコンモニタの画像が急速に高精細また高画質になりつつあることに着目し、これを利用して、従来のフィルム画質と同等または近似した情報量(高画質)のデジタル映像乃至映像ビデオを提供できる技術について鋭意研究した。 On the other hand, when utilizing many still images in the world as video videos, it is conceivable to use a personal computer display as one of the video playback environments, but currently it has an amount of information equivalent to 35 mm film. The image quality cannot be reproduced by a personal computer, and there is a limit in editing a still image having an information amount equivalent to 35 mm film while maintaining a high image quality. Furthermore, in conventional video creation software, still images are generally downsized and used for video, and are not used with their original high image quality. Taking advantage of the fact that a digital camera with high image quality, for example, a camera capable of shooting with 6.30 million pixels (3072 × 2048), can be generally obtained, the present inventor has made a high-quality digital camera (digital camera). ) Was eagerly studied whether images of a large size (resolution) as taken in (1) could be visualized with the same size (high quality). Furthermore, the present inventor has found that personal computer monitors (displays) that are widely used in the workplace and at home are very suitable for still image display, and due to recent technological advances, the images on personal computer monitors are rapidly becoming high-definition. Also, paying attention to the fact that the image quality is becoming high, we have intensively researched the technology that can use this to provide digital video or video video with the same amount of information (high image quality) as or similar to the conventional film image quality.
なお、特許文献1に記載の技術は、映像情報及び画像情報を処理するものの、従来のフィルム画質と同等または近似した情報量(高画質)のデジタル映像乃至映像ビデオを提供することはできない。
Although the technique described in
そこで、本発明は、静止画を主体とした映像情報と音声情報とを任意のタイミングで簡単に同期させることができると共に、高精細な静止画情報を主体とする音声付映像情報を簡単に作成することができ、更に、再生もより容易となる使い勝手の良いデジタル映像処理プログラム、デジタル映像処理装置及びデジタル映像処理プログラムの記録媒体の提供を課題とする。 Therefore, the present invention can easily synchronize video information mainly composed of still images and audio information at an arbitrary timing and easily create video information with audio mainly composed of high-definition still image information. It is another object of the present invention to provide an easy-to-use digital video processing program, a digital video processing device, and a recording medium for the digital video processing program that can be played back more easily.
請求項1に係るデジタル映像処理プログラムは、A)時系列で連続的に配置された音声データからなる音声データ列を記憶する音声データ列格納手順と、B)静止画像データを有しない空フレームと、静止画像データを有する実フレームとを時系列で連続的に配置して所定フレームレートの画像データ列を作成すると共に、前記画像データ列の実フレームを前記音声データ列の音声データにそれぞれ任意のタイミングで同期するよう関連付けて記憶する画像データ列格納手順とをコンピュータに実行させる。 According to a first aspect of the present invention, there is provided a digital video processing program comprising: A) an audio data sequence storing procedure for storing an audio data sequence composed of audio data continuously arranged in time series; and B) an empty frame having no still image data. In addition, real frames having still image data are continuously arranged in time series to create an image data sequence having a predetermined frame rate, and real frames of the image data sequence are arbitrarily set as audio data of the audio data sequence, respectively. An image data sequence storage procedure for storing the images in association with each other so as to synchronize with timing is executed by the computer.
請求項2に係るデジタル映像処理プログラムは、A)時系列で連続的に配置された音声データからなる音声データ列を記憶する音声データ列格納手順と、B)所定フレームレートで画像データ列を作成する画像データ列格納手順とをコンピュータに実行させ、前記画像データ列格納手順は、静止画像データを有する実フレームを前記音声データ列の音声データに任意のタイミングで同期するよう関連付けて順に記憶する実フレーム配置手順と、C)隣接する前記実フレームが、前記フレームレートのフレーム配置間隔を超える時間間隔で配置される場合、前記隣接する実フレーム間における前記フレームレートのフレーム配置間隔に対応する位置に、静止画像データを有しない空フレームを追加配置して、前記実フレーム及び空フレームが前記フレームレートによるフレーム配置間隔で順に配置されるよう配置する空フレーム配置手順とを有する。 According to a second aspect of the present invention, there is provided a digital video processing program comprising: A) an audio data sequence storing procedure for storing an audio data sequence composed of audio data continuously arranged in time series; and B) generating an image data sequence at a predetermined frame rate. The image data sequence storing procedure is executed by a computer, and the image data sequence storing procedure stores the actual frames having still image data in association with the audio data of the audio data sequence so as to be synchronized at an arbitrary timing in order. A frame arrangement procedure; and C) when the adjacent real frames are arranged at a time interval exceeding the frame arrangement interval of the frame rate, the frame arrangement procedure is located at a position corresponding to the frame arrangement interval of the frame rate between the adjacent real frames. An empty frame having no still image data is additionally arranged so that the real frame and the empty frame And a null frame arrangement procedure to place to be arranged in order in the frame arrangement interval by the frame rate.
請求項3に係るデジタル映像処理プログラムは、A)時系列で連続的に配置された音声データからなる音声データ列を記憶する音声データ列格納手順と、B)複数のフレームを所定フレームレートで順に配置して画像データ列を作成する場合において、前記フレームの格納場所を記憶手段に確保する格納場所確保手順と、C)前記フレームのうち、前記音声データ列における任意の複数の再生タイミングと同期する再生タイミングを有するフレーム用の前記記憶手段の格納場所に、静止画像データをそれぞれ書き込んで実フレームとすると共に、前記フレームのうち前記実フレーム以外のフレームを、静止画像データを書き込まない空フレームとして保持する画像データ列格納手順とをコンピュータに実行させる。 According to a third aspect of the present invention, there is provided a digital video processing program comprising: A) an audio data sequence storing procedure for storing an audio data sequence composed of audio data continuously arranged in time series; and B) a plurality of frames in order at a predetermined frame rate. In the case of creating an image data sequence by arranging, a storage location securing procedure for securing the storage location of the frame in the storage means, and C) synchronizing with any of a plurality of reproduction timings in the audio data sequence of the frame Still image data is written to the storage location of the storage means for frames having a reproduction timing as actual frames, and frames other than the actual frames among the frames are held as empty frames to which still image data is not written. And causing the computer to execute an image data string storage procedure.
請求項4に係るデジタル映像処理プログラムは、AVIファイル形式の音声付デジタル映像を作成するためのデジタル映像処理プログラムであって、A)AVIファイルのオーディオストリームに、時系列で連続的に配置された音声データを記憶する音声データ列格納手順と、B)AVIファイルのビデオストリームに、時系列で連続的に配置された画像データを記憶する画像データ列格納手順とをコンピュータに実行させ、前記画像データ列格納手順は、B1)前記AVIファイル内に所定フレームレートで前記ビデオストリームを準備するビデオストリーム準備手順と、B2)前記音声データ列における任意の再生タイミングの音声データと同期する再生タイミングとなるよう、前記ビデオストリームにフレーム番号と静止画像としてのビットマップデータとからなるフレームデータを順に書き込んで実フレームとすると共に、隣接する前記実フレームのフレーム番号の差が2以上ある場合、その隣接する実フレーム間に、静止画像データを書き込まない空フレームを追加する実フレームデータ書込手順とを備える。
A digital video processing program according to
請求項5に係るデジタル映像処理プログラムは、請求項4の構成において、前記AVIファイルが、AVIファイル用圧縮プログラムを使用して圧縮した圧縮画像データからなる前記ビデオストリームと、AVIファイル用圧縮プログラムを使用して圧縮した圧縮音声データからなる前記オーディオストリームとからなる。 According to a fifth aspect of the present invention, there is provided a digital video processing program according to the fourth aspect, wherein the AVI file includes the video stream composed of compressed image data compressed using the AVI file compression program, and the AVI file compression program. The audio stream is composed of compressed audio data compressed by use.
ここで、AVIファイルには、通常の非圧縮保存による画像データ及び音声データより構成されるものと、一般に流通しているAVIファイル用の圧縮プログラムを利用してデータ容量を圧縮したものと、大きく分けて2種類のものがある。請求項5に係るデジタル映像処理プログラムは、このうち、圧縮プログラムを利用することにより映像データや音声データを圧縮したAVIファイルを構成要件とする。 Here, the AVI file is largely composed of image data and audio data by ordinary non-compressed storage, and data volume compressed using a commonly distributed AVI file compression program, There are two types. Among them, the digital video processing program according to the fifth aspect includes an AVI file obtained by compressing video data and audio data by using a compression program.
請求項6に係るデジタル映像処理プログラムは、請求項1乃至4のいずれかの構成において、前記静止画像が非圧縮状態のビットマップデータからなる。 According to a sixth aspect of the present invention, there is provided the digital video processing program according to any one of the first to fourth aspects, wherein the still image is composed of bitmap data in an uncompressed state.
請求項7に係るデジタル映像処理プログラムは、請求項1乃至6のいずれかの構成において、前記音声データ列と前記画像データ列とを別個のトラックに記憶すると共に、個別に再生タイミングの調整を行うようにしている。 A digital video processing program according to a seventh aspect of the present invention is the digital video processing program according to any one of the first to sixth aspects, wherein the audio data sequence and the image data sequence are stored in separate tracks and individually adjusted for reproduction timing. I am doing so.
請求項8に係るデジタル映像処理プログラムは、請求項1乃至7のいずれかの構成において、更に、前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、前記隣接する実フレームのうちの最後の実フレームの直前の空フレームの位置に、前記隣接する実フレームのうちの最初の実フレームの静止画像データを書き込んで補助フレームを作成する補助フレーム追加手順をコンピュータに実行させる。 The digital video processing program according to an eighth aspect of the present invention is the digital video processing program according to any one of the first to seventh aspects, wherein when an empty frame exists between adjacent real frames of the image data sequence, The computer is caused to execute an auxiliary frame addition procedure for writing the still image data of the first real frame among the adjacent real frames to create an auxiliary frame at the position of the empty frame immediately before the last real frame.
請求項9に係るデジタル映像処理プログラムは、請求項1乃至7のいずれかの構成において、更に、前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、前記隣接する実フレーム間の全ての空フレームに、前記隣接する実フレームのうちの最初の実フレームのポインタ情報を書き込むポインタ情報追加手順をコンピュータに実行させる。 A digital video processing program according to a ninth aspect of the present invention is the digital video processing program according to any one of the first to seventh aspects, wherein if there is an empty frame between adjacent real frames of the image data sequence, The computer is caused to execute a pointer information addition procedure for writing pointer information of the first real frame among the adjacent real frames to all empty frames.
請求項10に係るデジタル映像処理プログラムは、請求項1乃至9のいずれかの構成において、更に、前記画像データ列の実フレームの各々に対して再生タイミングを記述する再生タイミング記述手順をコンピュータに実行させる。 According to a tenth aspect of the present invention, in the digital video processing program according to any one of the first to ninth aspects, the computer further executes a reproduction timing description procedure that describes the reproduction timing for each real frame of the image data sequence Let
請求項11に係るデジタル映像処理プログラムは、請求項1乃至10のいずれかの構成において、前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、前記隣接する実フレームのうちの最初の実フレームの静止画像が再生された後、次の実フレームが到来するまで前記最初の実フレームの静止画像が保持されて再生されるようにした。 A digital video processing program according to an eleventh aspect of the present invention is the digital video processing program according to any one of the first to tenth aspects, wherein when an empty frame exists between adjacent real frames of the image data sequence, After the still image of the actual frame is reproduced, the still image of the first actual frame is held and reproduced until the next actual frame arrives.
請求項12に係るデジタル映像処理装置は、請求項1乃至11のいずれか1項記載のデジタル映像処理プログラムを格納したコンピュータからなる。 A digital video processing apparatus according to a twelfth aspect includes a computer storing the digital video processing program according to any one of the first to eleventh aspects.
請求項13に係るデジタル映像処理プログラムの記録媒体は、請求項1乃至11のいずれか1項記載のデジタル映像処理プログラムを記録したものである。 A recording medium for a digital video processing program according to a thirteenth aspect records the digital video processing program according to any one of the first to eleventh aspects.
請求項1に係るデジタル映像処理プログラムは、静止画を主体とした映像情報と音声情報とを任意のタイミングで簡単に同期させることができると共に、高精細な静止画情報を主体とする音声付映像情報を簡単に作成することができる。
The digital video processing program according to
請求項2に係るデジタル映像処理プログラムは、静止画を主体とした映像情報と音声情報とを任意のタイミングで簡単に同期させることができると共に、高精細な静止画情報を主体とする音声付映像情報を簡単に作成することができる。
The digital video processing program according to
請求項3に係るデジタル映像処理プログラムは、静止画を主体とした映像情報と音声情報とを任意のタイミングで簡単に同期させることができると共に、高精細な静止画情報を主体とする音声付映像情報を簡単に作成することができる。
The digital video processing program according to
請求項4に係るデジタル映像処理プログラムは、静止画を主体とした映像情報と音声情報とを任意のタイミングで簡単に同期させることができると共に、高精細な静止画情報を主体とする音声付映像情報を簡単に作成することができる。また、一般に普及したAVIファイルとして映像データを作成することができ、使い勝手が良い。
The digital video processing program according to
請求項5に係るデジタル映像処理プログラムは、請求項4の効果に加え、圧縮によりデータ容量を更に削減したAVIファイルを提供することができる。 In addition to the effect of the fourth aspect, the digital video processing program according to the fifth aspect can provide an AVI file in which the data capacity is further reduced by compression.
請求項6に係るデジタル映像処理プログラムは、請求項1乃至4のいずれかの効果に加え、圧縮のない高解像度の映像を提供することができる。
The digital video processing program according to
請求項7に係るデジタル映像処理プログラムは、請求項1乃至6のいずれかの効果に加え、画像データを音声データと任意のタイミングで正確に同期させることができる。
The digital video processing program according to
請求項8に係るデジタル映像処理プログラムは、請求項1乃至7のいずれかの効果に加え、画像データ列の巻き戻し操作を行う場合等において、その巻き戻し操作等の対象となる画像データ列の隣接する実フレーム間に空フレームが存在する場合、その巻き戻し操作等の後に再生される静止画像データとして、最後の実フレームの静止画像データが採用されることを防止し、前記補助フレーム(最初の実フレームの静止画像と同一の実フレーム)の静止画像が再生されるようにすることができる。 A digital video processing program according to an eighth aspect of the present invention, in addition to the effects of any one of the first to seventh aspects, includes a process for rewinding an image data sequence, and the like of an image data sequence to be subjected to the rewinding operation. When an empty frame exists between adjacent real frames, the still image data of the last real frame is prevented from being adopted as still image data to be reproduced after the rewinding operation, and the auxiliary frame (first It is possible to reproduce a still image of the same actual frame as that of the actual frame.
請求項9に係るデジタル映像処理プログラムは、請求項1乃至7のいずれかの効果に加え、前記画像データ列の巻き戻し操作等を行う場合において、その巻き戻し操作等の対象となる前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、その空フレームのポインタ情報を介して読み出して、前記隣接する実フレームのうちの最初の実フレームを再利用して再生するようにすることができる。 A digital video processing program according to a ninth aspect of the present invention, in addition to the effect of any one of the first to seventh aspects, provides the image data that is a target of the rewinding operation or the like when performing a rewinding operation or the like of the image data sequence. When there is an empty frame between adjacent real frames in a column, the empty frame is read out via pointer information, and the first real frame of the adjacent real frames is reused and reproduced. Can do.
請求項10に係るデジタル映像処理プログラムは、請求項1乃至9のいずれかの効果に加え、画像データの各実フレームに再生タイミングを記述することができ、画像データを音声データと任意のタイミングで正確に同期させることができる。
The digital video processing program according to claim 10 can describe the reproduction timing in each real frame of the image data in addition to the effect of any of
請求項11に係るデジタル映像処理プログラムは、請求項1乃至10のいずれかの効果に加え、実フレームの配置された順番で正確に映像を再生することができる。 The digital video processing program according to the eleventh aspect can reproduce the video accurately in the order in which the actual frames are arranged, in addition to the effect of any one of the first to tenth aspects.
請求項12に係るデジタル映像処理装置は、請求項1乃至11のいずれか1項記載の効果を発揮する。 A digital video processing apparatus according to a twelfth aspect exhibits the effect according to any one of the first to eleventh aspects.
請求項13に係るデジタル映像処理プログラムの記録媒体は、請求項1乃至11のいずれか1項記載の効果を発揮する。 A recording medium for a digital video processing program according to a thirteenth aspect exhibits the effect according to any one of the first to eleventh aspects.
以下、本発明を実施するための最良の形態(以下、実施の形態という)を説明する。なお、各実施の形態を通じ、同一の部材、要素または部分には同一の符号を付して、その説明を省略する。 Hereinafter, the best mode for carrying out the present invention (hereinafter referred to as an embodiment) will be described. Throughout each embodiment, the same members, elements, or parts are denoted by the same reference numerals, and the description thereof is omitted.
実施の形態1
1.映像処理プログラムの概要
実施の形態1に係るデジタル映像処理プログラムは、音声データ列格納手順と、画像データ列格納手順とをコンピュータに実行させるものである。デジタル映像処理プログラムは、CPU、ROM,RAM、バス、入出力装置、外部記憶手段(HDD等)等の公知のハードウェア構成を有するコンピュータ装置(図示略)の外部記憶手段等に格納され、使用時にコンピュータ装置により呼び出されて、コンピュータ装置に後述の各手順(処理)を実行させる。これにより、コンピュータ装置が対応する各機能を実現するようになっている。詳細には、デジタル映像処理プログラムは、音声データ列格納手順では、時系列で連続的に配置された音声データからなる音声データ列(オーディオストリーム)をRAM等の記憶手段(図示略)の音声記憶領域に記憶する。また、デジタル映像処理プログラムは、画像データ列格納手順では、静止画像データを有しない(静止画像データが書き込みされていない)データ量が実質的にゼロの空フレームと、所定の空間解像度を有する静止画像データを有する(静止画像データを書き込んだ)実フレームとを時系列で連続的に配置して所定フレームレートの画像データ列を作成する。このとき、デジタル映像処理プログラムは、前記画像データ列の実フレームを前記音声データ列の音声データに、それぞれ、使用者が意図した任意(随意)のタイミングで同期するよう関連付け、記憶手段の画像記憶領域に記憶する。
1. Overview of Video Processing Program The digital video processing program according to
2.データ構造
図1は本発明の実施の形態1に係るデジタル映像処理プログラムにより作成した音声付映像ファイルのデータ構造を示す説明図である。図2は一般的なRIFFファイルフォーマットのデータ構造を示す説明図である。図3は一般的なAVIファイルのデータ構造を示す説明図である。
2. Data Structure FIG. 1 is an explanatory diagram showing the data structure of a video file with audio created by the digital video processing program according to
実施の形態1に係るデジタル映像処理プログラムは、ファイルフォーマットとして、例えば、図3に示すAVIファイルフォーマットを使用する。また、AVIファイルは、図2に示すRIFFファイルフォーマットを利用する。よって、以下、実施の形態1に係る音声付映像ファイルのデータ構造の前提となるRIFFファイルフォーマット及びAVIファイルのデータ構造についてまず説明する。
The digital video processing program according to
2−1.RIFFファイルのデータ構造
まず、AVI(Audio Video Interleaved)ファイルは、オーディオ(音声)データとビデオ(映像)データとを併せ持つことができるファイル形式である。AVIファイルはRIFF(Resource Interchange File Format)形式になっている。このRIFF形式は、様々なリソース(データ)を1つのファイルにするためのファイル形式で、各種形式のリソースに対して互換が保たれる構造になっている。なお、オーディオデータとして代表的なWAVEファイルもRIFF形式になっている。AVIファイルは、ストリーム単位でデータを格納し、音声付映像ファイルの場合、1以上のビデオストリーム(画像データ列)及び対応する1以上のオーディオストリーム(音声データ列)を別個のトラック(ストリーム)として格納する。AVIファイルのストリームとしては、ビデオストリーム及びオーディオストリーム以外に、MIDI(Music Instrument Digital Interface)ストリーム及びテキストストリームがある。ここで、前記オーディオストリームはWAVEファイルからなり、ビデオストリームは連続するビットマップの集合体からなる。そして、映像は時系列で連続する静止画像の集合体で集まりであり、AVIファイルは静止画像としてビットマップデータを使用する。
2-1. Data Structure of RIFF File First, an AVI (Audio Video Interleaved) file is a file format that can have both audio (voice) data and video (video) data. The AVI file is in a RIFF (Resource Interchange File Format) format. The RIFF format is a file format for making various resources (data) into one file, and has a structure that is compatible with resources of various formats. A typical WAVE file as audio data is also in the RIFF format. The AVI file stores data in units of streams. In the case of a video file with audio, one or more video streams (image data strings) and one or more corresponding audio streams (audio data strings) are separated into separate tracks (streams). Store. As a stream of the AVI file, there are a MIDI (Music Instrument Digital Interface) stream and a text stream in addition to the video stream and the audio stream. Here, the audio stream is composed of a WAVE file, and the video stream is composed of a collection of continuous bitmaps. The video is a collection of still images continuous in time series, and the AVI file uses bitmap data as a still image.
まず、RIFFファイルのデータ構造は、図2に示すように、階層的に構成された複数のチャンク(ブロック)からなる。各チャンクは、チャンクのタイプを識別するIDフィールド(4バイト)、チャンクのデータ部のサイズを示すフィールド(4バイト)、実データを格納するデータ部を有する。チャンクは、データ部にサブチャンクを有する場合と有しない場合とがある。チャンクがサブチャンクを有する場合、最上位のチャンクがRIFFチャンクとなり、その下位となるサブチャンクがLISTチャンクとなる。更に、LISTチャンクが下位のサブチャンクを有する場合もある。なお、RIFFチャンク及びLISTチャンクのデータ部の先頭4バイトは、フォームタイプまたはリストタイプと呼ばれ、各チャンクの内容を表す識別コードとされている。RIFFチャンクのフォームタイプには、「AVI」や「WAVE」等、ファイルに保存されるデータ形式を表す4文字が入る。LISTチャンクのリストタイプも、同様に、「hdrl」や「movi」等、リストの内容を示す4文字が入る。 First, as shown in FIG. 2, the data structure of the RIFF file is composed of a plurality of chunks (blocks) arranged hierarchically. Each chunk has an ID field (4 bytes) for identifying the type of the chunk, a field (4 bytes) indicating the size of the data part of the chunk, and a data part for storing actual data. The chunk may or may not have a sub chunk in the data part. When a chunk has sub-chunks, the highest-order chunk becomes a RIFF chunk, and a sub-chunk lower than that becomes a LIST chunk. Further, the LIST chunk may have a lower sub-chunk. The first 4 bytes of the data portion of the RIFF chunk and the LIST chunk are called a form type or list type, and are an identification code representing the contents of each chunk. The form type of the RIFF chunk contains four characters representing the data format stored in the file, such as “AVI” or “WAVE”. Similarly, the list type of the LIST chunk includes four characters indicating the contents of the list such as “hdrl” and “movi”.
2−3.AVIファイルのデータ構造
AVIファイルは、多重階層構造となっており、図3に示すAVIファイルの例は、1つのビデオストリーム及び1つのオーディオストリームを有する1つのAVIファイルとなっている。このAVIファイルのデータ構造について説明する。まず、AVIファイルは、先頭のRIFFチャンクのフォームタイプが「AVI」となっており、この下位に、LIST(hdrl)チャンク、JUNKサブチャンク、LIST(movi)チャンク、idX1サブチャンクという4つのサブチャンクを有する。LIST(hdrl)チャンクは、ヘッダ情報を保存し、avihサブチャンク及びストリームの数に対応する数のLIST(strl)チャンクが連続する。avihサブチャンクは、AVIファイル全体の情報を保存する。LIST(strl)チャンクは、各ストリームのヘッダチャンク(strhサブチャンク)、フォーマットチャンク(strfサブチャンク)、オプションデータチャンク(strnサブチャンク)の3つのサブチャンクを有する。オプションデータチャンクは必須ではない。フォーマットチャンクは、オーディオストリームの場合はWAVEFORMAT(またはPCMWAVEFORMAT)構造体となり、ビデオストリームの場合はBITMAPINFO構造体となる。JUNKサブチャンクは、データ境界を2048byte単位にするためのダミーデータである。LIST(movi)チャンクは、オーディオデータやビデオデータを有する。各サブチャンクの識別子の先頭2文字はストリーム番号を示し、後半の2文字はデータタイプを示す。主なデータタイプとしては、「db」(デバイスに依存しない非圧縮ビットマップ(DIB))、「dc」(圧縮DIB)、「wb」(WAVEデータ)等がある。例えば、「00db」は「ストリーム番号00の非圧縮DIB」を表す。これらのデータチャンクは、LIST(rec)チャンクとしてグループ化されることもある。また、idX1サブチャンクには、各チャンクの再生順にAVIINDEXENTRY構造体が配置される。この配置順序にしたがってチャンクを再生する。idX1サブチャンクが存在しない場合、AVIファイル内のチャンクの物理的な順番(記録されている順番)にしたがってチャンクが再生される。
2-3. AVI File Data Structure The AVI file has a multi-layered structure, and the example of the AVI file shown in FIG. 3 is one AVI file having one video stream and one audio stream. The data structure of this AVI file will be described. First, in the AVI file, the form type of the first RIFF chunk is “AVI”, and there are four sub-chunks: LIST (hdrl) chunk, JUNK sub-chunk, LIST (movi) chunk, and idX1 sub-chunk. Have The LIST (hdrl) chunk stores header information, and a number of LIST (strl) chunks corresponding to the number of avih sub-chunks and streams are consecutive. The avih sub-chunk stores information on the entire AVI file. The LIST (strl) chunk has three sub chunks: a header chunk (strh sub chunk), a format chunk (strf sub chunk), and an option data chunk (strn sub chunk) of each stream. Optional data chunks are not required. The format chunk has a WAVEFORMAT (or PCMWAVEFORMAT) structure in the case of an audio stream, and a BITMAPINFO structure in the case of a video stream. The JUNK sub-chunk is dummy data for setting the data boundary to 2048 bytes. The LIST (movi) chunk has audio data and video data. The first two characters of each sub chunk identifier indicate the stream number, and the latter two characters indicate the data type. Main data types include “db” (device-independent uncompressed bitmap (DIB)), “dc” (compressed DIB), “wb” (WAVE data), and the like. For example, “00db” represents “uncompressed DIB with
なお、通常の圧縮されていないAVIファイル内のビデオストリームは連続するビットマップの集合体であるが、一般に流通しているAVI用の圧縮プログラムにより圧縮することもできる。この場合、各種の圧縮形式を使用することができ、各圧縮形式に対応したcodec(圧縮/展開を行なうドライバ)をシステムにインストールすることにより、所定の再生ソフトウェアでの展開及び再生が可能になる。同様に、AVIファイルのオーディオストリームも圧縮して展開及び再生が可能である。 Note that a video stream in a normal uncompressed AVI file is a collection of continuous bitmaps, but can be compressed by a generally available AVI compression program. In this case, various compression formats can be used, and by installing a codec (a driver that performs compression / decompression) corresponding to each compression format in the system, it is possible to perform expansion and reproduction with predetermined reproduction software. . Similarly, the audio stream of the AVI file can be compressed and expanded and played back.
2−4.音声付映像ファイルのデータ構造
図1に示すように、実施の形態1に係るデジタル映像処理プログラムにより作成される音声付映像ファイル1は、AVIファイルであり、そのデータ構造として、RIFFヘッダ10、ビデオストリーム20及びオーディオストリーム30を有する。ビデオストリーム20は、前記実フレーム及び空フレームをフレーム番号(コマ番号)順に所定のフレームレート(例えば、10コマ/秒、24コマ/秒、30コマ/秒等)で配置して構成されている。即ち、実フレーム及び空フレームが所定のフレームレートによるフレーム配置間隔で順に配置されている。具体的には、前記所定フレームレートで配置されたフレーム(コマ)のうち、任意のフレームにビットマップデータからなる所定空間解像度の静止画像データを書き込んで実フレームを作成する。また、前記所定フレームレートで配置されたフレーム(コマ)のうち、前記静止画像データを書き込まなかったフレーム、即ち、実フレーム以外のフレームは、前記空フレームとして保持されている。また、前記実フレームの配置位置は、前記音声ストリームの任意の位置の音声データと同期する再生タイミング位置とされている。即ち、所定フレームレートで作成された画像データ列においては、静止画像データを有する実フレームが、音声データ列の音声データに任意のタイミングで同期するよう関連付けて順に記憶されている。また、隣接する前記実フレームが、前記フレームレートのフレーム配置間隔を超える時間間隔で配置される場合、前記隣接する実フレーム間における前記フレームレートのフレーム配置間隔に対応する位置に、静止画像データを有しない空フレームが追加配置されている。そして、前記実フレーム及び空フレームが前記フレームレートによるフレーム配置間隔で順に配置され、全体として画像データ列を形成している。ここで、前記実フレーム及び空フレームからなる各フレームの格納場所が、そのコマ番号(0〜n)に対応して記憶手段に確保されている。実フレームは、対応する格納場所に、そのコマ番号と静止画像データとの組からなる実フレームデータを書き込んでいる。即ち、実フレームは、前記フレームのうち、前記音声データ列における任意の複数の音声データの再生タイミングと同期する再生タイミングを有するフレーム用の前記記憶手段の格納場所に、前記コマ番号と静止画像データとの組をそれぞれ書き込んで構成されている。また、空フレームは、対応する格納場所に、そのコマ番号のみを書き込んでいる。即ち、前記フレームのうち前記実フレーム以外のフレームが、静止画像データを書き込まないデータ量ゼロの空フレームとして保持されている。
2-4. 1. Data structure of audio-added video file As shown in FIG. 1, the audio-added
より詳細には、ビデオストリーム20は、そのデータ構造として、所定フレームレートでコマ番号「0,1,2,3・・・t,t+1,t+2,t+3・・・n−1,n」の順番に配置された合計n+1個のフレーム(コマ)を有している。前記フレームは、前記実フレーム及び空フレームからなる。図1では、実フレームは、コマ番号tのフレームに書き込まれた静止画像を有する実フレームFRt、コマ番号t+3のフレームに書き込まれた静止画像(DIB等のビットマップデータ)を有する実フレームFRt+3等からなる。また、コマ番号tとコマ番号t+3の間のフレーム、即ち、コマ番号t+1のフレーム及びコマ番号t+2のフレームは、静止画像を有しない空フレームVt+1及び空フレームVt+2となっている。このように、ビデオストリーム20は、オーディオストリーム30の任意の位置(任意の再生タイミング)の音声データと同期する任意の位置に、実フレームFRを配置すると共に、それ以外のフレームに空フレームVFを配置したものであり、それら実フレームFR及び空フレームVFからなるフレームをコマ番号順に時系列で配置したものである。一方、オーディオストリーム30は、そのデータ構造として、WAVE等のオーディオデータを時系列で連続して配置したものであり、前記ビデオストリームと対応する時間長を有する。また、オーディオストリーム30において、前記ビデオストリーム20の実フレームFRtに対応する時間位置(再生タイミング位置)には、音声データADtが配置され、実フレームFRt+3に対応する時間位置(再生タイミング位置)には、音声データADt+3が配置されている。なお、通常、音声データADtと音声データADt+3との間にも、音声データが配置される。
More specifically, the
ここで、ビデオストリーム20のデータ構造は、例えば、静止画像の配置データと画像の実体データとからなる。なお、配置データは、コマ番号とそのコマ番号に対応する格納場所(メモリアドレス)とからなる。また、実体データは、静止画像からなる実データとその実データを格納する格納場所(メモリアドレス)とからなる。そして、ビデオストリームでは、例えば、以下のようにして、多数のフレームがコマ番号順に所定の格納場所に格納されている。
コマ番号「0」:格納場所「アドレス0」:実データ「画像A」⇒実フレーム
コマ番号「1」:格納場所「アドレス1」:実データ「なし」⇒空フレーム
コマ番号「2」:格納場所「アドレス2」:実データ「なし」⇒空フレーム
コマ番号「3」:格納場所「アドレス3」:実データ「画像B」⇒実フレーム
コマ番号「4」:格納場所「アドレス4」:実データ「画像C」⇒実フレーム
コマ番号「5」:格納場所「アドレス5」:実データ「なし」⇒空フレーム
コマ番号「6」:格納場所「アドレス6」:実データ「画像D」⇒実フレーム
コマ番号「7」:格納場所「アドレス7」:実データ「なし」⇒空フレーム
コマ番号「8」:格納場所「アドレス8」:実データ「なし」⇒空フレーム
コマ番号「9」:格納場所「アドレス9」:実データ「画像E」⇒実フレーム
・・・
・・・
・・・
コマ番号「t」:格納場所「アドレスt」:実データ「画像F」⇒実フレームRFt
コマ番号「t+1」:格納場所「アドレスt+1」:実データ「なし」⇒空フレームVFt+1
コマ番号「t+2」:格納場所「アドレスt+2」:実データ「なし」⇒空フレームVFt+2
コマ番号「t+3」:格納場所「アドレスt+3」:実データ「画像G」⇒実フレームRFt+3
・・・
・・・
・・・
コマ番号「nー1」:格納場所「アドレスn−1」:実データ「画像Z」⇒実フレーム
コマ番号「n」:格納場所「アドレスn」:実データ「なし」⇒空フレーム
Here, the data structure of the
Frame number “0”: storage location “
...
...
...
Frame number “t”: storage location “address t”: actual data “image F” = actual frame RFt
Frame number “t + 1”: storage location “address t + 1”: actual data “none” ⇒ empty
Frame number “t + 2”: storage location “address t + 2”: actual data “none” ⇒ empty
Frame number “t + 3”: storage location “address t + 3”: actual data “image G” => actual
...
...
...
Frame number “n−1”: storage location “address n−1”: actual data “image Z” ⇒ actual frame frame number “n”: storage location “address n”: actual data “none” ⇒ empty frame
本発明は、動画記録方式の一つであるAVIファイルにより静止画を主体とした高精細デジタル映像の作成を実現したが、映像ファイル作成時に実フレームと空フレームとをそれぞれ任意のタイミングに配置し、空フレームを配置しながらも音声データと同期して、空フレームでも実フレームを参照しながら差し障りなく再生できる動画記録形式を実現することもでき、この場合も、本発明と同様の効果を達成可能である。 Although the present invention has realized the creation of high-definition digital video mainly composed of still images using an AVI file, which is one of the moving image recording methods, an actual frame and an empty frame are arranged at arbitrary timings when the video file is created. In addition, it is possible to realize a video recording format that can be reproduced without any problem while referring to the actual frame even in the empty frame in synchronization with the audio data while arranging the empty frame. In this case, the same effect as the present invention is achieved. Is possible.
3.デジタル映像処理プログラムの処理
次に、実施の形態1のデジタル映像処理プログラムの処理の流れについて説明する。本デジタル映像処理プログラムは、コンピュータ装置の補助記憶装置(HDD)等に格納される。そして、コンピュータ装置が、本デジタル映像処理プログラムをRAM等の記憶装置に適宜読み込み、CPUの制御下、その処理を実行する。
3. Processing of Digital Video Processing Program Next, the flow of processing of the digital video processing program of
4−1.全体処理
図4は本発明の実施の形態1に係るデジタル映像処理プログラムの全体処理を示すフローチャートである。
図4に示すように、まず、使用者(ユーザ)がパソコン等のコンピュータ装置の電源をオンし、実施の形態1に係るデジタル映像処理プログラムを起動すると、実施の形態1に係るデジタル映像処理プログラムは、STEP100で、起動処理(メモリ初期化等)を実行し、STEP200で、ディスプレイ(パソコンモニタ等)にメイン画面(操作画面)を表示する。次に、使用者が、メイン画面のメニュー機能(例えば、「ファイル」メニューの新規作成機能や保存ファイル開封機能等)を使用して、AVIファイルの新規作成や保存されたAVIファイルの呼出を要求すると、デジタル映像処理プログラムは、STEP300で、ファイル新規作成または保存ファイルの呼出処理を実行する。次に、デジタル映像処理プログラムは、使用者の要求に応じて、STEP400で、ビデオストリーム(画像データ列)の新規作成または編集処理を実行し、STEP600で、オーディオストリーム(音声データ列)の新規作成または編集処理を実行する。次に、デジタル映像処理プログラムは、STEP700で、使用者の要求等に基づき、作成したビデオストリーム及びオーディオストリームをAVIファイルへ変換する。次に、デジタル映像処理プログラムは、STEP810で、使用者から作成したAVIファイルの圧縮処理の要求があったか否かを判断する。圧縮要求があった場合、デジタル映像処理プログラムは、STEP820で、使用者の要求に応じ、実ビデオストリームの圧縮形式、圧縮品質等を選択し、圧縮処理を実行した後、全体処理を終了する。一方、STEP810で、使用者からAVIファイルの圧縮処理の要求がない場合、デジタル映像処理プログラムは、全体処理を終了する。なお、AVIファイルの圧縮形式については、既に一般に流通しているAVIファイルの圧縮技術に従う。
4-1. Overall Processing FIG. 4 is a flowchart showing the overall processing of the digital video processing program according to
As shown in FIG. 4, first, when a user (user) turns on a computer device such as a personal computer and starts the digital video processing program according to the first embodiment, the digital video processing program according to the first embodiment. In
4−2.ビデオストリーム作成処理
図5は本発明の実施の形態1に係るデジタル映像処理プログラムのビデオストリーム作成処理を示すフローチャートである。
STEP400のビデオストリーム作成処理について詳細に説明する。まず、使用者から、例えば、新規ファイルの作成処理の要求があると、デジタル映像処理プログラムは、図5に示すように、STEP410で、AVIファイルを準備し、STEP420で、そのAVIファイル中に新規ビデオストリームを準備する。次に、デジタル映像処理プログラムは、STEP430で、使用者の要求に応じて、前記ビデオストリームのフレーム中、所定のフレームに、画像データ(BMPデータ)等の実フレームデータを順次書き込み、時系列で連続する実フレームからなるビデオストリームを作成する。即ち、STEP420で準備した実フレームデータを有しないフレームのみからなるビデオストリーム(本書類中では「空ビデオストリーム」という。)の所定のフレームに、STEP430で実フレームデータを順次書き込み、実フレームデータ及び空フレームデータが時系列で交互に連続するビデオストリーム(本書類中では「実ビデオストリーム」という)を作成する。次に、デジタル映像処理プログラムは、STEP440で、使用者の要求があった場合のみ、実フレームの編集処理を実行する。次に、デジタル映像処理プログラムは、STEP460で、使用者の要求があった場合のみ、画像設定変更処理を実行する。次に、デジタル映像処理プログラムは、STEP470で、使用者からビデオストリーム作成処理の終了要求があったか否かを判断し、終了要求があった場合、STEP480に進む。デジタル映像処理プログラムは、STEP470で使用者からビデオストリーム作成処理の終了要求が出されるまで、STEP430〜STEP460の処理を繰り返す。STEP470でビデオストリーム作成処理の終了要求があった場合、デジタル映像処理プログラムは、STEP480で、実ビデオストリームの解放処理を実行し、STEP490で、AVIファイルの解放処理を実行して、ビデオストリーム作成処理を終了する。
4-2. Video Stream Creation Processing FIG. 5 is a flowchart showing video stream creation processing of the digital video processing program according to
The video stream creation process of STEP 400 will be described in detail. First, for example, when a user requests to create a new file, the digital video processing program prepares an AVI file in STEP 410 as shown in FIG. 5, and a new AVI file is created in STEP 420 as shown in FIG. Prepare a video stream. Next, in STEP 430, the digital video processing program sequentially writes real frame data such as image data (BMP data) in predetermined frames in the frames of the video stream in response to a user's request. Create a video stream consisting of continuous real frames. That is, in step 430, real frame data is sequentially written in predetermined frames of a video stream (only referred to as “empty video stream” in this document) made up of frames having no real frame data prepared in STEP 420. A video stream in which empty frame data continues alternately in time series (referred to as “actual video stream” in this document) is created. Next, in step 440, the digital video processing program executes an actual frame editing process only when a user requests it. Next, in STEP 460, the digital video processing program executes the image setting change process only when the user requests it. Next, in STEP 470, the digital video processing program determines whether or not the user has requested termination of the video stream creation process. If there is a termination request, the process proceeds to STEP 480. The digital video processing program repeats the processing in STEP 430 to STEP 460 until the user issues a video stream creation processing end request in STEP 470. If there is a request to end the video stream creation process in STEP 470, the digital video processing program executes the actual video stream release process in STEP 480, and executes the release process of the AVI file in STEP 490. Exit.
4−3.ビデオストリーム準備処理
図6は本発明の実施の形態1に係るデジタル映像処理プログラムのビデオストリーム準備を示すフローチャートである。
STEP420のビデオストリーム準備処理について詳細に説明する。図6に示すように、デジタル映像処理プログラムは、まず、STEP421で、開封(オープン)されたAVIファイル中に新規ビデオストリーム(空ビデオストリーム)を作成する。次に、デジタル映像処理プログラムは、使用者の要求に応じ、STEP422で、実フレームに書き込む静止画像のサイズや画像再生レート(フレームレート)等からなるストリームフォーマットを指定し、実フレームの空間解像度や時間解像度等を設定する。このストリームフォーマットの画像サイズやフレームレートは、デフォルト値として使用されるが、後述するように、使用者の要求(編集操作)により、このデフォルト値の画像サイズやフレームレートを変更することができる。なお、デフォルトでは、前記フレームレートは、10コマ/秒等に設定することができ、後述の編集操作により、24コマ/秒、30コマ/秒等々、その他のフレームレートに設定することができる。また、画像サイズは、320×240、640×480(VGA)、800×640(SVGA)、1024×768(XVGA)、1280×960(UVGA)等とすることができ、後述の編集操作により、使用可能なディスプレイの解像度等を考慮して、例えば、3840×2880等に設定することができる。そして、デジタル映像処理プログラムは、STEP423で、そのストリームフォーマットデータをメモリ(RAM等)に格納し、ビデオストリーム準備処理を終了する。
4-3. Video Stream Preparation Processing FIG. 6 is a flowchart showing video stream preparation of the digital video processing program according to
The video stream preparation process in STEP 420 will be described in detail. As shown in FIG. 6, the digital video processing program first creates a new video stream (empty video stream) in the opened AVI file in STEP421. Next, in response to the user's request, in step 422, the digital video processing program designates a stream format including the size of a still image to be written in an actual frame, an image reproduction rate (frame rate), etc. Set the time resolution. The image size and frame rate of the stream format are used as default values. As will be described later, the image size and frame rate of the default values can be changed by a user request (editing operation). Note that, by default, the frame rate can be set to 10 frames / second or the like, and can be set to other frame rates such as 24 frames / second, 30 frames / second, etc. by an editing operation described later. The image size can be 320 × 240, 640 × 480 (VGA), 800 × 640 (SVGA), 1024 × 768 (XVGA), 1280 × 960 (UVGA), etc. In consideration of the resolution of the display that can be used, for example, it can be set to 3840 × 2880. Then, in STEP 423, the digital video processing program stores the stream format data in a memory (RAM or the like), and ends the video stream preparation process.
4−4.実フレームデータ書込処理
図7は本発明の実施の形態1に係るデジタル映像処理プログラムの実フレームデータ書込処理を示すフローチャートである。
STEP430の実フレームデータ書込処理について詳細に説明する。図7に示すように、デジタル映像処理プログラムは、まず、STEP431で、使用者から操作画面を介して実フレームの追加要求指令が出されると、STEP432で、その実フレームの再生タイミング(コマ表示時刻)の入力乃至設定を使用者に促す画面をモニタに表示する。例えば、デジタル映像処理プログラムは、ファイル再生開始時からカウントした実フレームの再生時刻、例えば、「00分00秒01」、「00分01秒05」等の入力を促す画面を表示する。使用者がその実フレームの再生タイミングを入力すると、デジタル映像処理プログラムは、STEP433で、入力された再生タイミングが有効であるか否か判断し、有効である場合STEP434に進み、無効である場合、STEP435でモニタにエラー表示をする。このとき、例えば、デジタル映像処理プログラムは、前記ビデオストリーム準備処理のSTEP422で設定したデフォルト値のフレームレートに基づき、入力された再生タイミングが有効であるか否か判断する。即ち、デフォルト値のフレームレートが10コマ/秒である場合、フレームレートにしたがったコマ表示時刻のコンマ秒部分(例えば、「00分00秒01」の「01」部分)は、「00」、「01」、「02」、「03」、「04」、「05」、「06」、「07」、「08」、「09」、である。よって、デジタル映像処理プログラムは、コマ表示時刻のコンマ秒部分の入力値が「00」、「01」、「02」、「03」、「04」、「05」、「06」、「07」、「08」、「09」の場合は、その入力を有効であるとして許容し、それ以外の場合は入力を無効であるとして拒否し、エラー表示する。
4-4. Real Frame Data Write Processing FIG. 7 is a flowchart showing real frame data write processing of the digital video processing program according to
The actual frame data writing process in STEP 430 will be described in detail. As shown in FIG. 7, in step 431, the digital video processing program first receives an actual frame addition request command from the user via the operation screen. In step 432, the reproduction timing (frame display time) of the actual frame is displayed. A screen for prompting the user to input or set is displayed on the monitor. For example, the digital video processing program displays a screen that prompts input of the actual frame playback time counted from the start of file playback, for example, “00
STEP434では、デジタル映像処理プログラムは、入力されたコマ表示時刻に対応するコマ番号(フレーム番号)を算出し、そのコマ番号を前記実フレーム(の対応アドレス)に割当てて書き込む。例えば、デフォルト値のフレームレートが10コマ/秒である場合、コマ番号は0.1秒毎に「1」増加するよう昇順で並ぶ。よって、入力されたコマ表示時刻が「00分00秒01」である場合、デジタル映像処理プログラムは、フレームレート及びコマ表示時刻に基づき、コマ番号が「1」であると算出し、コマ表示時刻が「00分00秒05」である場合、デジタル映像処理プログラムは、フレームレート及びコマ表示時刻に基づき、コマ番号が「5」であると算出する。次に、デジタル映像処理プログラムは、STEP436で、実フレームに書き込まれたコマ番号が、その直前の実フレーム(前回追加した実フレーム)のコマ番号より大きいか否か判断し、大きい場合、STEP437へと進み、同一の場合または小さい場合、STEP438でエラー表示をする。例えば、前回追加された実フレームのコマ番号が「5」である場合、即ち、コマ再生時刻が「00分00秒05」である場合において、次に追加される実フレームのコマ番号が「5」以下(「05」、「04」等)である場合、即ち、コマ再生時刻が「00分00秒05」以下(「00分00秒05」、「00分00秒04」等)である場合、STEP438でエラー表示がなされる。
In STEP 434, the digital video processing program calculates a frame number (frame number) corresponding to the input frame display time, assigns the frame number to the actual frame (corresponding address), and writes it. For example, when the default frame rate is 10 frames / second, the frame numbers are arranged in ascending order so as to increase by “1” every 0.1 seconds. Therefore, when the input frame display time is “00:00”, the digital video processing program calculates that the frame number is “1” based on the frame rate and the frame display time, and the frame display time. Is “00:00:05”, the digital video processing program calculates that the frame number is “5” based on the frame rate and the frame display time. Next, in STEP 436, the digital video processing program determines whether or not the frame number written in the actual frame is greater than the frame number of the immediately preceding actual frame (actual frame added last time). If they are the same or smaller, an error is displayed in STEP 438. For example, when the frame number of the real frame added last time is “5”, that is, when the frame playback time is “00
次に、STEP437で、前記実フレームに書き込みたい任意の(所望の)静止画像データ(BMPデータ)を使用者が指定すると、デジタル映像処理プログラムは、STEP439で、指定された画像データを前記新規追加されたコマ番号の実フレームに書き込み、前記コマ番号及び画像データを有する実フレームを作成する。次に、デジタル映像処理プログラムは、STEP440で、その実フレームのコマ番号が直前の実フレーム(前回追加した実フレーム)のコマ番号より2以上大きいか否か、即ち、今回追加した実フレームのコマ番号と前回追加した実フレームのコマ番号との間に、空きとなるコマ番号があるか否か判断する。そして、今回の実フレームコマ番号が前回の実フレームのコマ番号より2以上大きい場合、デジタル映像処理プログラムは、STEP441で、それら隣接する2つの実フレーム間の各コマ番号位置(フレームレートに従った各表示時刻位置)に、空フレームを追加する。一方、今回の実フレームコマ番号が前回の実フレームのコマ番号より1だけ大きい場合、即ち、前回の実フレームと今回の実フレームとの間に空きとなるこま番号がなく、それらがコマ番号順に並んでいる場合、デジタル映像処理プログラムは、実フレームデータ書込処理を終了する。なお、この実フレームデータ書込処理により、前記空ビデオストリームが実ビデオストリームとなる。 Next, when the user designates any (desired) still image data (BMP data) to be written in the actual frame in STEP 437, the digital video processing program adds the designated image data to the new addition in STEP 439. The real frame having the frame number and the image data is created by writing in the real frame having the frame number. Next, in STEP 440, the digital video processing program determines whether or not the frame number of the actual frame is two or more larger than the frame number of the previous actual frame (actual frame added last time), that is, the frame number of the actual frame added this time. It is determined whether there is an empty frame number between the frame number of the actual frame added last time. If the actual frame number of this time is two or more larger than the frame number of the previous actual frame, the digital video processing program determines in STEP 441 that each frame number position between the two adjacent actual frames (according to the frame rate). An empty frame is added at each display time position). On the other hand, when the current frame number is larger by 1 than the frame number of the previous actual frame, that is, there is no empty frame number between the previous actual frame and the current actual frame, and they are in the frame number order. If they are lined up, the digital video processing program ends the actual frame data writing process. The empty video stream becomes an actual video stream by the actual frame data writing process.
4−5.実フレーム編集処理
図8は本発明の実施の形態1に係るデジタル映像処理プログラムの実フレーム編集処理を示すフローチャートである。
STEP450の実フレーム編集処理について詳細に説明する。デジタル映像処理プログラムは、使用者の要求に応じ、図8に示すように、STEP451の実フレーム画像データ変更・削除処理、STEP452の実フレーム画像データ編集処理及びSTEP453の実フレーム再生タイミング変更処理を選択的に実行する。まず、操作画面を使用して、使用者が、前記実フレームデータ書込処理STEP430で作成した実ビデオストリームのうちの任意(所望)の実フレームを選択して、その画像データを別の画像データに変更することを要求した場合、デジタル映像処理プログラムは、STEP451で、選択された実フレームについて、現在の画像データを使用者が新たに選択した画像データへと変更する。一方、使用者が、任意の実フレームについて、その画像データを削除すること、即ち、その実フレームを削除して空フレームとすることを要求した場合、デジタル映像処理プログラムは、STEP451で、選択された実フレームの画像データを削除し、そのフレームを空フレームとする。また、操作画面を使用して、使用者が、前記実ビデオストリームのうちの任意(所望)の実フレームを選択して、その画像データの編集操作を要求した場合、デジタル映像処理プログラムは、STEP451で、選択された実フレームについて、使用者の要求にしたがった編集処理を行う。例えば、デジタル映像処理プログラムは、選択された実フレームの静止画像(BMPデータ)の一部を削除または修正する処理を実行する。更に、操作画面を使用して、使用者が、前記実ビデオストリームのうちの任意(所望)の実フレームについて、その再生タイミングの変更を要求した場合、デジタル映像処理プログラムは、STEP453で、選択された実フレームについて、現在の再生タイミング(コマ表示時刻)使用者が新たに指定した再生タイミング(コマ表示時刻)に変更する。このとき、デジタル映像処理プログラムは、STEP432〜STEP438の一連の処理と同様の処理を実行し、新規再生タイミングの有効性判断、算出コマ番号の有効性判断を実行すると共に、STEP441〜STEP442の一連の処理と同様の処理を実行し、必要な場合、空フレームの追加処理を実行する。
4-5. Real Frame Editing Process FIG. 8 is a flowchart showing the real frame editing process of the digital video processing program according to
The actual frame editing process in STEP 450 will be described in detail. As shown in FIG. 8, the digital video processing program selects STEP 451 actual frame image data changing / deleting processing, STEP 452 actual frame image data editing processing, and STEP 453 actual frame reproduction timing changing processing, as shown in FIG. Run it. First, using the operation screen, the user selects an arbitrary (desired) actual frame from the actual video stream created in the actual frame data writing process STEP 430, and uses the image data as another image data. In step 451, the digital video processing program changes the current image data to the image data newly selected by the user for the selected actual frame. On the other hand, when the user requests to delete the image data for an arbitrary real frame, that is, to delete the real frame to be an empty frame, the digital video processing program is selected in STEP 451. The image data of the actual frame is deleted, and the frame is set as an empty frame. Further, when the user selects an arbitrary (desired) actual frame from the actual video stream and requests an editing operation of the image data using the operation screen, the digital video processing program reads STEP 451. Then, the selected real frame is edited according to the user's request. For example, the digital video processing program executes a process of deleting or correcting a part of the still image (BMP data) of the selected real frame. Further, when the user requests to change the reproduction timing of an arbitrary (desired) actual frame in the actual video stream using the operation screen, the digital video processing program is selected in STEP 453. For the actual frame, the current playback timing (frame display time) is changed to the playback timing (frame display time) newly designated by the user. At this time, the digital video processing program executes the same processing as the series of processing of STEP432 to STEP438, performs the validity judgment of the new reproduction timing, the validity judgment of the calculated frame number, and the series of STEP441 to STEP442. A process similar to the process is executed, and if necessary, an empty frame addition process is executed.
一方、デジタル映像処理プログラムは、STEP454で、使用者から実フレームの画像表示の要求があったか否か判断する。使用者が、操作画面を使用して、STEP451で変更した実フレームやSTEP452で編集した実フレーム等、任意(所望)の実フレームを選択して、その画像表示を要求した場合、デジタル映像処理プログラムは、STEP455で、選択された実フレームの画像をモニタに表示する。STEP454で画像表示の要求がない場合、デジタル映像処理プログラムは、そのまま実フレーム編集処理を終了する。 On the other hand, the digital video processing program determines in STEP 454 whether or not the user has requested display of an actual frame image. When a user selects an arbitrary (desired) actual frame such as an actual frame changed in STEP 451 or an actual frame edited in STEP 452 and requests the image display using the operation screen, the digital video processing program In STEP 455, the image of the selected real frame is displayed on the monitor. If there is no image display request in STEP 454, the digital video processing program ends the actual frame editing process as it is.
4−6.実フレーム設定変更処理
図9は本発明の実施の形態1に係るデジタル映像処理プログラムの実フレーム設定変更処理を示すフローチャートである。
STEP460の画像設定変更処理について詳細に説明する。操作画面を使用して、使用者が、前記実フレームデータ書込処理STEP430で作成した実ビデオストリームの画像設定(画像フォーマットの設定)の変更処理を要求すると、デジタル映像処理プログラムは、使用者の要求に応じ、図9に示すように、まず、STEP461の新規画像サイズ設定処理及びSTEP462の新規色深度設定処理を実行する。即ち、デジタル映像処理プログラムは、STEP461で、実ビデオストリームについてのフォーマット情報の画像サイズ部分(対応アドレス)を、デフォルト値(デフォルト値の変更があった場合は、現在の値)から使用者が新たに指定した画像データサイズへと変更する。また、デジタル映像処理プログラムは、STEP462で、実ビデオストリームについてのフォーマット情報の色深度(ピクセル当りの色数)部分(対応アドレス)を、デフォルト値(デフォルト値の変更があった場合は、現在の値)から使用者が新たに指定した色深度へと変更する。色深度としては、例えば、8bpp(256色)、16bpp(約3万色)、24bpp(約1700万色)等、予め設定した色数を使用することができる。次に、デジタル映像処理プログラムは、STEP463で、使用者から画像の拡大または縮小の要求があったか否か判断し、要求があった場合、STEP464で、使用者の要求に応じた画像の拡大または圧縮処理を実行する。即ち、デジタル映像処理プログラムは、STEP464で、前記実ビデオストリームの再生時における、各実フレームの画像のモニタ上または画面上の表示サイズを拡大または縮小する処理を実行する。STEP463で、使用者から画像の拡大または縮小の要求がない場合、デジタル映像処理プログラムは、STEP465で、使用者からAVIサイズの圧縮処理(実ビデオストリームのサイズ圧縮処理等)の要求があったか否かを判断し、サイズ圧縮処理の要求があった場合、STEP466で、使用者の要求に応じ、AVIサイズ圧縮処理を実行してSTEP467へと進む。一方、STEP465で、使用者からAVIサイズ圧縮処理の要求がない場合、デジタル映像処理プログラムは、STEP467へと進む。STEP467では、デジタル映像処理プログラムは、上記設新規画像設定情報をメモリに格納し、画像設定変更処理を終了する。
4-6. Real Frame Setting Change Processing FIG. 9 is a flowchart showing real frame setting changing processing of the digital video processing program according to
The image setting change process in STEP 460 will be described in detail. When the user uses the operation screen to request a change process of the image setting (image format setting) of the actual video stream created in the actual frame data writing process STEP 430, the digital video processing program In response to the request, as shown in FIG. 9, first, a new image size setting process in STEP 461 and a new color depth setting process in STEP 462 are executed. That is, in STEP 461, the digital video processing program changes the image size portion (corresponding address) of the format information for the actual video stream from the default value (the current value if the default value has been changed) from the user. Change to the image data size specified in. Also, in STEP 462, the digital video processing program sets the color depth (number of colors per pixel) portion (corresponding address) of the format information about the actual video stream to the default value (if the default value has been changed, the current Value) to the color depth newly specified by the user. As the color depth, for example, a preset number of colors such as 8 bpp (256 colors), 16 bpp (about 30,000 colors), 24 bpp (about 17 million colors) can be used. Next, in STEP 463, the digital video processing program determines whether or not there has been a request for enlargement or reduction of the image from the user. If there is a request, in STEP 464, enlargement or compression of the image in accordance with the request of the user. Execute the process. That is, in STEP 464, the digital video processing program executes a process for enlarging or reducing the display size of the image of each real frame on the monitor or the screen when the actual video stream is reproduced. If there is no request for enlargement or reduction of the image from the user in STEP 463, the digital video processing program determines whether or not there is a request for AVI size compression processing (eg, size compression processing of the actual video stream) from the user in STEP 465. In step 466, the AVI size compression process is executed in response to the user's request, and the process proceeds to step 467. On the other hand, if the user does not request AVI size compression processing in STEP 465, the digital video processing program proceeds to STEP 467. In STEP 467, the digital video processing program stores the new image setting information in the memory, and ends the image setting changing process.
4−7.オーディオストリーム作成処理
図10は本発明の実施の形態1に係るデジタル映像処理プログラムのオーディオストリーム作成処理を示すフローチャートである。
STEP600のオーディオストリーム作成処理について詳細に説明する。まず、使用者から、例えば、新規ファイルの作成処理の要求があると、デジタル映像処理プログラムは、図10に示すように、STEP610で、AVIファイルを準備し、STEP620で、そのAVIファイル中に新規オーディオストリームを準備する。次に、デジタル映像処理プログラムは、STEP630で、使用者の要求に応じて、前記オーディオストリームに、WAVEファイル等の音声データを書き込み、時系列で連続する音声データ列からなるビデオストリームを作成する。即ち、STEP620で準備した音声データを有しないオーディオストリーム(本書類中では「空オーディオストリーム」という。)に、STEP630で音声データを時系列で書き込み、音声データが時系列で連続するオーディオストリーム(本書類中では「実オーディオストリーム」という)を作成する。次に、デジタル映像処理プログラムは、STEP640で、使用者からオーディオストリーム作成処理の終了要求があったか否かを判断し、終了要求があった場合、STEP650に進む。デジタル映像処理プログラムは、STEP640で使用者からオーディオストリーム作成処理の終了要求が出されるまで、STEP630の処理を繰り返す。一方、デジタル映像処理プログラムは、STEP640で、実オーディオストリームの解放処理を実行し、STEP650で、AVIファイルの解放処理を実行して、オーディオストリーム作成処理を終了する。
4-7. Audio Stream Creation Processing FIG. 10 is a flowchart showing audio stream creation processing of the digital video processing program according to
The audio stream creation process of STEP 600 will be described in detail. First, for example, when a request for creating a new file is received from the user, the digital video processing program prepares an AVI file at STEP 610 as shown in FIG. 10, and a new AVI file is added to the AVI file at STEP 620. Prepare an audio stream. Next, in STEP 630, the digital video processing program writes audio data such as a WAVE file into the audio stream in response to a user request, and creates a video stream including a continuous audio data sequence in time series. In other words, in the audio stream prepared in STEP 620 without audio data (referred to as “empty audio stream” in this document), audio data is written in time series in STEP 630, and the audio stream in which audio data is continuous in time series (this book) Create a “real audio stream” in the document. Next, in STEP 640, the digital video processing program determines whether or not the user has requested termination of the audio stream creation process. If there is an termination request, the process proceeds to STEP 650. The digital video processing program repeats the processing in STEP 630 until the user issues an audio stream creation processing end request in STEP 640. On the other hand, the digital video processing program executes the actual audio stream release process in STEP 640, and executes the AVI file release process in STEP 650, thereby ending the audio stream creation process.
4−8.処理の特徴
上記のようにして、画像データ列格納手順としての実フレームデータ書込処理で、静止画像データを有しない、即ち、書き込まない(データ量が実質的にゼロの)空フレームと、所定の空間解像度を有する静止画像データを有する、即ち、書き込んだ実フレームとを時系列で連続的に配置して所定フレームレートの画像データ列を作成すると共に、前記画像データ列の実フレームを前記音声データ列の音声データにそれぞれ任意のタイミングで(特定のタイミングで)同期するよう関連付けて記憶手段の所定の格納場所に記憶する。ここで、画像データ列格納手順は、実フレーム配置手順としてのSTEP431〜STEP439と、空フレーム配置手順としてのSTEP440〜STEP441とを有する。実フレーム配置手順では、所定フレームレートで所定時間長となるよう画像データ列を作成する場合において、静止画像データを有する実フレームを前記音声データ列の音声データに任意のタイミングで同期するよう関連付けて順に記憶する。また、空フレーム配置手順では、隣接する前記実フレームが、前記フレームレートのフレーム配置間隔を超える時間間隔で配置される場合、前記隣接する実フレーム間における前記フレームレートのフレーム配置間隔に対応する位置に、静止画像データを有しない空フレームを追加配置して、前記実フレーム及び空フレームが前記フレームレートによるフレーム配置間隔で順に配置されるよう配置する。
4-8. Characteristics of Processing As described above, in the real frame data writing process as the image data string storage procedure, there is an empty frame that does not have still image data, that is, is not written (data amount is substantially zero), The image data sequence having a predetermined frame rate is created by continuously arranging the written real frames in time series, and the real frames of the image data sequence are converted into the audio data. The audio data in the data string are associated with each other at an arbitrary timing (at a specific timing) and stored in a predetermined storage location of the storage means. Here, the image data sequence storage procedure includes STEP 431 to STEP 439 as the actual frame arrangement procedure and STEP 440 to STEP 441 as the empty frame arrangement procedure. In the actual frame arrangement procedure, when an image data sequence is created so as to have a predetermined time length at a predetermined frame rate, an actual frame having still image data is associated with the audio data of the audio data sequence so as to be synchronized at an arbitrary timing. Store in order. Further, in the empty frame arrangement procedure, when the adjacent real frames are arranged at a time interval exceeding the frame arrangement interval of the frame rate, the position corresponding to the frame arrangement interval of the frame rate between the adjacent real frames. In addition, empty frames having no still image data are additionally arranged so that the actual frame and the empty frame are arranged in order at a frame arrangement interval according to the frame rate.
なお、図6の前記ビデオストリーム準備処理のSTEP421は、複数のフレームを所定フレームレートで順に配置して画像データ列を作成する場合において、前記フレームの格納場所(画像格納領域の所定アドレス)を、そのコマ番号に対応して記憶手段に確保する格納場所確保手順を構成する。そして、前記画像データ列格納手順は、前記フレームのうち、前記音声データ列における任意の複数の音声データの再生タイミングと同期する再生タイミングを有するフレーム用の前記記憶手段の格納場所に、静止画像データをそれぞれ書き込んで実フレームとすると共に、前記フレームのうち前記実フレーム以外のフレームを、静止画像データを書き込まない画像データ量ゼロの空フレームとして保持するものとして定義することもできる。或いは、前記画像データ列格納手順は、前記AVIファイル内に所定フレームレートで前記ビデオストリームを作成するビデオストリーム作成手順(ビデオストリーム準備処理STEP420)の後、前記音声データ列における任意の再生タイミングの音声データと同期する再生タイミングとなるよう、前記ビデオストリームにフレーム番号と静止画像としてのビットマップデータとからなるフレームデータを順に書き込んで実フレームとすると共に、隣接する前記実フレームのフレーム番号の差が2以上ある場合、その隣接する実フレーム間に、静止画像データを書き込まない画像データ量ゼロの空フレームを追加する実フレームデータ書込手順(実フレームデータ書込処理STEP430)とを備えるものとして定義することもできる。 Note that STEP 421 of the video stream preparation process in FIG. 6 is that when a plurality of frames are sequentially arranged at a predetermined frame rate to create an image data sequence, the storage location of the frame (predetermined address of the image storage area) is A storage location securing procedure secured in the storage means corresponding to the frame number is configured. Then, the image data sequence storage procedure includes the step of storing still image data in a storage location of the storage means for a frame having a reproduction timing synchronized with a reproduction timing of an arbitrary plurality of audio data in the audio data sequence. Can be defined as holding a frame other than the actual frame as an empty frame with no image data amount to which still image data is not written. Alternatively, in the image data sequence storage procedure, after a video stream creation procedure (video stream preparation process STEP420) for creating the video stream at a predetermined frame rate in the AVI file, audio at an arbitrary reproduction timing in the audio data sequence In order to make the playback timing synchronized with the data, frame data consisting of a frame number and bitmap data as a still image are sequentially written in the video stream to form a real frame, and the difference between the frame numbers of the adjacent real frames is If there are two or more, defined as having a real frame data writing procedure (actual frame data writing process STEP 430) for adding an empty frame of zero image data amount that does not write still image data between adjacent real frames You can also
一方、実施の形態1では、音声データ列と画像データ列とを別個のトラックに記憶すると共に、個別に再生タイミングの調整を行うようにしている。また、実施の形態1に係るデジタル映像処理プログラムは、前記画像データ列の実フレームの各々に対して再生タイミングを記述する再生タイミング記述手順をコンピュータに実行させる。したがって、本プログラムにより作成したAVIファイルを再生装置が再生する場合において、前記画像データ列を再生するときに、画像データ列の隣接する実フレーム間に空フレームが存在する場合、前記隣接する実フレームのうちの最初の実フレームの静止画像が再生された後、その空フレームの再生タイミングでは、次の実フレームが到来するまでその空フレームの直前に配置された前記最初の実フレームの静止画像が保持されて再生されるようになっている。
On the other hand, in the first embodiment, the audio data sequence and the image data sequence are stored in separate tracks, and the reproduction timing is adjusted individually. The digital video processing program according to
4.GUI(ユーザインタフェース)
図11は本発明の実施の形態1に係るデジタル映像処理プログラムのGUI(グラフィカルユーザインタフェース)においてビデオストリームの実フレームを作成した状態を示す説明図である。
4). GUI (user interface)
FIG. 11 is an explanatory diagram showing a state where an actual frame of a video stream is created in the GUI (Graphical User Interface) of the digital video processing program according to
4−1.GUIの各表示領域
実施の形態1に係るデジタル映像処理プログラムの操作画面100は、例えば、図11に示すように、メニュー表示領域(メニューバー)110と、データ内容表示領域120と、画像表示領域130とを有するGUI(グラフィカルユーザインタフェース)として構成することができる。なお、操作画面は例示であり、関連する編集機能等を入れたり、また、使い勝手を工夫する等、これ以外の構成とすることも無論可能である。図11では、メニュー表示領域110は、メニューとして、「ファイルメニュー」、「編集メニュー」、「設定メニュー」、「変換メニュー」及び「ヘルプ」メニューを有している。また、データ内容表示領域120は、デジタル映像処理プログラムにより作成したビデオストリームの実フレームのコマ表示時刻(再生タイミング)、コマ番号に対応する内部値、画像データとしてのBMPファイルの格納場所等を一覧表示する。更に、画像表示領域130は、データ内容表示領域120に表示された実フレームのうち、使用者が選択した実フレームについて、その画像を表示する。図11では、データ内容表示領域120に、時系列で配置された複数の実フレームが、その各々の再生タイミング及びコマ番号と共に表示されている。また、データ内容表示領域120において最終の実フレームが選択され、画像表示領域130に、その実フレームの画像が表示されている。
4-1. GUI Display Areas
4−2.ファイルメニュー
図12は本発明の実施の形態1に係るデジタル映像処理プログラムのGUIのファイルメニューを示す説明図である。
図12に示すように、前記ファイルメニューは、例えば、「新規作成」、「開く」、「上書き保存」、「名前を付けて保存」、「アプリケーションの終了」等のファイル作成・開閉・保存用の各種メニュー項目をドロップダウンメニューとして表示自在であり、各メニュー項目を選択実行することにより、デジタル映像処理プログラムが、コンピュータに対応する処理を実行(機能を実現)させる。即ち、「新規作成」を選択実行すると、図4のメイン処理(STEP100〜STEP700)が実行開始される。また、「開く」を選択実行すると、所定格納場所に保存した既存のAVIファイルを開いて、その編集作業を実行することができる。また、「上書き保存」を選択実行すると、編集した既存AVIファイルを上書き保存することができる。更に、「名前を付けて保存」を選択実行すると、新規作成したAVIファイルを所定格納場所に保存することができる。また、「アプリケーションの終了」を実行すると、デジタル映像処理プログラムが終了する。
4-2. File Menu FIG. 12 is an explanatory diagram showing a GUI file menu of the digital video processing program according to
As shown in FIG. 12, the file menu is for creating / opening / closing / saving files such as “New creation”, “Open”, “Overwrite”, “Save as”, “Exit application”, etc. These menu items can be displayed as drop-down menus, and by selecting and executing each menu item, the digital video processing program executes (implements a function) corresponding to the computer. That is, when “new creation” is selected and executed, the main processing (
4−3.編集メニュー
図13は本発明の実施の形態1に係るデジタル映像処理プログラムのGUIの編集メニュー及びコマ表示時刻の設定画面を示す説明図である。
図13に示すように、前記編集メニューは、例えば、「選択部分を削除」、「全部消去」、「ドラッグ&ドロップ」、「画像表示」、「時刻変更」、「画像変更」、「コマ追加」等のファイル編集用の各種メニュー項目をドロップダウンメニューとして表示自在であり、各メニュー項目を選択実行することにより、デジタル映像処理プログラムが、コンピュータに対応する処理を実行(機能を実現)させる。即ち、「選択部分を削除」を選択実行すると、図8の実フレーム編集処理の画像データ編集処理(STEP452)が実行され、使用者が選択した実フレームの画像のうち、使用者が選択した部分を削除することができる。また、「全部消去」を選択実行すると、図8の実フレーム編集処理の画像データ削除処理(STEP451)が実行され、使用者が選択した実フレームの画像全体を削除して、その実フレームを削除することができる。更に、「コマ追加」は、図7の実フレームデータ書込処理の実フレーム追加要求(STEP452)に対応し、使用者が「コマ追加」を選択実行すると、STEP432の処理が実行され、操作画面100にコマ表示時刻の設定画面111が表示され、使用者の入力を促す。この設定画面111の入力欄(分、秒、コンマ秒)に使用者が所望の値を入力して設定ボタンを押すと、STEP433〜STEP441の処理が実行され、ビデオストリームに実フレームが追加される。また、「ドラッグ&ドロップ」を選択実行すると、所定の格納場所に保存した既存BMPファイルを、(その保存先のウインドウから)データ内容表示領域120にドラッグアンドドロップすることができ、操作画面100にコマ表示時刻の設定画面111が表示され、「コマ追加」の場合と同様にして、STEP433〜STEP441の処理が実行され、ビデオストリームに実フレームが追加される。更に、操作画面100のデータ内容表示領域に表示された実フレームのうち、特定のコマ表示時刻の実フレームを選択して「時刻変更」を選択実行すると、図8の実フレーム編集処理の実フレーム再生タイミング変更処理(STEP453)が実行され、操作画面100にコマ表示時刻の設定画面111が表示される。よって、使用者は、コマ表示時刻の設定画面111を使用して、その実フレームについてコマ表示時刻の変更を行うことができる。また、操作画面100のデータ内容表示領域に表示された実フレームのうち、特定のコマ表示時刻の実フレームを選択して「画像変更」を選択実行すると、図8の実フレーム編集処理の実フレーム画像データ変更処理(STEP451)が実行される。よって、使用者は、操作画面110の所定の処理画面を使用して、その実フレームについて画像データの変更を行うことができる。更に、操作画面100のデータ内容表示領域に表示された実フレームのうち、特定のコマ表示時刻の実フレームを選択して「画像表示」を選択実行すると、図8の実フレーム編集処理の画像表示処理(STEP455)が実行され、操作画面110の画像表示領域130に、その実フレームの画像が表示される。
4-3. Edit Menu FIG. 13 is an explanatory diagram showing a GUI edit menu and frame display time setting screen of the digital video processing program according to
As shown in FIG. 13, the edit menu includes, for example, “Delete selected part”, “Erase all”, “Drag and drop”, “Display image”, “Change time”, “Change image”, “Add frame” Various menu items for file editing such as "" can be displayed as drop-down menus, and by selecting and executing each menu item, the digital video processing program executes (implements a function) processing corresponding to the computer. That is, when “Delete selected part” is selected and executed, the image data editing process (STEP 452) of the actual frame editing process of FIG. 8 is executed, and the part selected by the user from the images of the actual frame selected by the user. Can be deleted. Further, when “delete all” is selected and executed, the image data deletion process (STEP 451) of the actual frame editing process of FIG. 8 is executed, and the entire image of the actual frame selected by the user is deleted and the actual frame is deleted. be able to. Furthermore, “add frame” corresponds to the actual frame addition request (STEP 452) of the actual frame data writing process of FIG. 7, and when the user selects and executes “add frame”, the processing of STEP 432 is executed and the operation screen is displayed. A frame display
4−4.設定メニュー
図14は本発明の実施の形態1に係るデジタル映像処理プログラムのGUIの設定メニュー並びに画像設定画面及びオーディオ設定画面を示す説明図である。
図14に示すように、前記設定メニューは、例えば、「画面サイズ」、「音声トラック」等の各種メニュー項目をドロップダウンメニューとして表示自在であり、各メニュー項目を選択実行することにより、デジタル映像処理プログラムが、コンピュータに対応する処理を実行(機能を実現)させる。即ち、「画面サイズ」を選択実行すると、操作画面110に画像設定用の設定画面112が表示され、この設定画面112を使用して、図9の画像設定処理STEP461〜STEP467を実行可能となる。このとき、設定画面112の「画像サイズ」の入力欄には、デフォルト値(図14では、320×240)が表示されている。ここで、使用者は、設定画面112の「画像サイズ」の入力欄に所望の画像サイズを直接入力したり、「VGA」等の入力ボタンを押すことにより、対応する画像サイズを「画像サイズ」の入力欄に自動入力したりすることができ、この状態で、使用者が「設定」ボタンを押すと、STEP461の新規画像サイズ設定処理が実行され、旧設定値が新規設定値に変更される。また、使用者が、設定画面112の「画像解像度」のラジオボタン(図14では、8bpp、16bpp、24bppを例示)を選択して「設定」ボタンを押すことにより、STEP462の新規色深度設定処理が実行され、旧設定値が新規設定値に変更される。更に、使用者が、設定画面112の「画像の拡大縮小を行う」のチェックボックスをオンして「設定」ボタンを押すことにより、STEP464の画像拡大・縮小処理が実行される。また、使用者が、設定画面112の「AVIサイズを削る」のチェックボックスをオンして「設定」ボタンを押すことにより、STEP466のAVIサイズ圧縮処理が実行される。一方、「音声トラック」を選択実行すると、操作画面110に音声トラック挿入用の設定画面113が表示され、この設定画面113を使用して、図10のオーディオストリーム作成処理を実行可能となる。即ち、使用者が、設定画面113の「Audioのトラックを挿入する」のチェックボックスをオンすると共に、「選択」ボタンを押すと、所定の格納場所に保存したオーディオファイルを選択することができ、この状態で、使用者が「設定」ボタンを押すことにより、STEP610〜STEP660のがオーディオストリーム作成処理実行され、音声トラックが追加される。
4-4. Setting Menu FIG. 14 is an explanatory diagram showing a GUI setting menu, an image setting screen, and an audio setting screen of the digital video processing program according to
As shown in FIG. 14, the setting menu can display various menu items such as “screen size” and “audio track” as drop-down menus, and digital video can be displayed by selecting and executing each menu item. The processing program executes (implements a function) corresponding to the computer. That is, when “screen size” is selected and executed, the
4−5.変換メニュー
図15は本発明の実施の形態1に係るデジタル映像処理プログラムのGUIの変換メニュー及び圧縮設定画面を示す説明図である。
図15に示すように、前記変換メニューは、例えば、「AVIへ変換」等の各種メニュー項目をドロップダウンメニューとして表示自在であり、各メニュー項目を選択実行することにより、デジタル映像処理プログラムが、コンピュータに対応する処理を実行(機能を実現)させる。即ち、「AVIへ変換」を選択実行すると、操作画面100に圧縮用の設定画面114が表示される。ここで、使用者が、設定画面114にある、一般に流通し、既にインストールしてある所定の圧縮形式を選択して「OK」ボタンを押すと、図4のAVIへの変換処理(STEP700)及び圧縮処理(STEP820)が実行される。そして、この状態で、前記ファイルメニューの保存機能を使用して、そのAVIファイルを所定の格納場所に保存することができる。
4-5. Conversion Menu FIG. 15 is an explanatory diagram showing a GUI conversion menu and compression setting screen of the digital video processing program according to
As shown in FIG. 15, the conversion menu can display various menu items such as “convert to AVI” as a drop-down menu, and by selecting and executing each menu item, the digital video processing program Execute processing (realizes function) corresponding to the computer. That is, when “Convert to AVI” is selected and executed, a
5.再生動作
図16は本発明の実施の形態1に係るデジタル映像処理プログラムで作成した音声付映像ファイル(AVIファイル)の再生動作を示す説明図である。
実施の形態1に係るデジタル映像処理プログラムにより作成した音声付映像ファイル(AVIファイル)は、AVIファイルに対応した各種再生装置を使用して再生することができる。このときの再生動作について説明する。まず、図16に示すように、デジタル映像処理プログラムにより作成した音声付映像ファイル(AVIファイル)のビデオストリームは、例えば、実フレーム及び空フレームを所定のフレームレートで所定順序となるよう、一定時間間隔の再生タイミングt0〜t9で時系列に連続して配置したものである。図15では、ビデオストリームは、実フレームRFt,RFt+3,RFt+4,RFt+6,RFt+9を再生タイミングt0,t3,t4,t6,t9に配置している。即ち、実フレームRFt,RFt+3,RFt+4,RFt+6,RFt+9には、再生タイミングt0,t3,t4,t6,t9に対応するコマ番号が書き込まれている。なお、この再生タイミング(コマ表示時刻)は、上記のように、音声トラック(オーディオストリーム)の任意の時間位置の音声データと同期するよう、使用者が設定したタイミングである。また、実フレームRFt,RFt+3,RFt+4,RFt+6,RFt+9間の再生タイミングt1,t2,t5,t7,t8には空フレーVFt+1,VFt+2,VFt+5,VFt+7,VFt+8を配置している。即ち、空フレームVFt+1,VFt+2,VFt+5,VFt+7,VFt+8には、再生タイミングt1,t2,t5,t7,t8に対応するコマ番号が書き込まれている。そして、再生装置は、前記コマ番号順に、前記所定のフレームレート(再生タイミング)で、実フレーム及び空フレームを再生する。このとき、再生装置は、t0の再生タイミングで実フレームRFtの画像(BMPデータ)を表示した後、再生タイミングt3が来るまで、その実フレームRFtの画像を保持して表示する。同様に、再生装置は、t4の再生タイミングで実フレームRFt+4の画像を表示した後、再生タイミングt6が来るまで、その実フレームRFt+4の画像を保持して表示し、t6の再生タイミングで実フレームRFt+6の画像を表示した後、再生タイミングt9が来るまで、その実フレームRFt+6の画像を保持して表示し、t9の再生タイミングで実フレームRFt+9の画像を表示する。即ち、デジタル映像処理プログラムで作成した音声付映像ファイルによれば、AVIファイルに対応した再生装置であれば、次の新しい実フレームの画像が来るまで、直前の実フレームの画像を保持して表示する。
5. Reproduction Operation FIG. 16 is an explanatory diagram showing a reproduction operation of a video file with audio (AVI file) created by the digital video processing program according to
The video file with audio (AVI file) created by the digital video processing program according to the first embodiment can be played back using various playback devices corresponding to the AVI file. The reproduction operation at this time will be described. First, as shown in FIG. 16, a video stream of an audio-added video file (AVI file) created by a digital video processing program is, for example, a predetermined time so that an actual frame and an empty frame are in a predetermined order at a predetermined frame rate. They are arranged in time series at intervals of reproduction timings t0 to t9. In FIG. 15, in the video stream, real frames RFt, RFt + 3, RFt + 4, RFt + 6, and RFt + 9 are arranged at reproduction timings t0, t3, t4, t6, and t9. That is, the frame numbers corresponding to the reproduction timings t0, t3, t4, t6, and t9 are written in the actual frames RFt, RFt + 3, RFt + 4, RFt + 6, and RFt + 9. The playback timing (frame display time) is a timing set by the user so as to synchronize with the audio data at an arbitrary time position of the audio track (audio stream) as described above. Also, empty
このようにして、ビデオストリームの画像が時系列で連続的に表示されて動画状またはスライド映像状の映像を表示すると共に、映像の特定の再生タイミングに同期してオーディオストリームの音声が再生される。このとき、再生タイミング制御はトラック(ストリーム)毎に行なわれ、動画トラック(ビデオストリーム)と音声トラック(オーディオストリーム)とで、個別に再生タイミングの調整を行うことができるため、動画を構成する画像と任意の音声データとを正確に同期させることができる。 In this way, the video stream images are continuously displayed in chronological order to display moving images or slide images, and the audio stream is reproduced in synchronization with a specific reproduction timing of the images. . At this time, playback timing control is performed for each track (stream), and the playback timing can be individually adjusted for the moving image track (video stream) and the audio track (audio stream). And any audio data can be accurately synchronized.
実施の形態2
実施の形態2に係るデジタル映像処理プログラムは、実施の形態1の構成において、更に、前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、前記隣接する実フレームのうちの最後の実フレームの直前の空フレームの位置に、前記隣接する実フレームのうちの最初の実フレームの静止画像データを書き込んで補助フレームを作成する補助フレーム追加手順をコンピュータに実行させるようにしたものである。その他の構成は、実施の形態1と同様である。これにより、前記画像再生手順において前記画像データ列の巻き戻し操作、一旦停止操作等を行う場合において、その巻き戻し操作の対象となる前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、その巻き戻し操作等の後に再生される静止画像データとして、最後の実フレームの静止画像データが採用されることを防止し、前記補助フレーム(最初の実フレームの静止画像と同一)の静止画像が再生される。その結果、巻き戻し操作等の後に、次の画像が誤って表示されることがなく、本来の画像(元の画像)を表示することができる。
The digital video processing program according to the second embodiment is the last configuration of the first embodiment, in the case where an empty frame exists between adjacent real frames of the image data sequence in the configuration of the first embodiment. An auxiliary frame addition procedure for creating an auxiliary frame by writing still image data of the first real frame among the adjacent real frames at the position of an empty frame immediately before the actual frame is executed by the computer. . Other configurations are the same as those in the first embodiment. As a result, when a rewinding operation, a pause operation, or the like of the image data sequence is performed in the image reproduction procedure, there is an empty frame between the adjacent real frames of the image data sequence that is the target of the rewinding operation. In this case, the still image data of the last actual frame is prevented from being adopted as still image data to be reproduced after the rewinding operation, and the still frame of the auxiliary frame (same as the still image of the first actual frame) is prevented. The image is played back. As a result, the original image (original image) can be displayed without erroneously displaying the next image after the rewinding operation or the like.
実施の形態3
実施の形態3に係るデジタル映像処理プログラムは、実施の形態1の構成において、更に、前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、前記隣接する実フレーム間の全ての空フレームに、前記隣接する実フレームのうちの最初の実フレームのポインタ情報を書き込むポインタ情報追加手順をコンピュータに実行させるものである。その他の構成は、実施の形態1と同様である。したがって、前記画像再生手順では、前記画像データ列の巻き戻し操作を行う場合においてその巻き戻し操作の対象となる前記画像データ列の隣接する実フレーム間に空フレームが存在する場合、その空フレームのポインタ情報を介して読み出して、前記隣接する実フレームのうちの最初の実フレームを再利用して再生する。その結果、巻き戻し操作等の後に、次の画像が誤って表示されることがなく、本来の画像(元の画像)を表示することができる。
The digital video processing program according to the third embodiment has the same configuration as that of the first embodiment, and further includes all empty spaces between the adjacent real frames when there is an empty frame between adjacent real frames of the image data sequence. The computer is caused to execute a pointer information addition procedure for writing the pointer information of the first real frame among the adjacent real frames to the frame. Other configurations are the same as those in the first embodiment. Therefore, in the image reproduction procedure, when performing a rewind operation of the image data sequence, if there is an empty frame between adjacent real frames of the image data sequence that is the target of the rewind operation, Reading through the pointer information, the first real frame of the adjacent real frames is reused and reproduced. As a result, the original image (original image) can be displayed without erroneously displaying the next image after the rewinding operation or the like.
実施の形態4
図17は本発明の実施の形態4に係るデジタル映像処理プログラムにより作成した音声付映像ファイルのデータ構造を示す説明図である。
図17に示すように、実施の形態4に係るデジタル映像処理プログラムにより作成される音声付映像ファイル101は、AVIファイルであり、そのデータ構造として、RIFFヘッダ110、複数(図17では5つ)のビデオストリーム121,122,123,124,125及び対応する(図17では5つ)の複数オーディオストリーム131,132,133,134,135を有する。各ビデオストリーム121,122,123,124,125は、実施の形態1のビデオストリーム20と同様の構造である。また、各オーディオストリーム131,132,133,134,135は、実施の形態1のオーディオストリーム30と同様の構造である。より詳細には、ビデオストリーム121,122,123,124,125は、そのデータ構造として、所定フレームレートでコマ番号「0,1,2,3・・・t,t+1,t+2,t+3・・・n−1,n」の順番に配置された合計n+1個のフレーム(コマ)を有している。前記フレームは、前記実フレーム及び空フレームからなる。図17では、実フレームは、コマ番号tのフレームに書き込まれた静止画像を有する実フレームFRt、コマ番号t+3のフレームに書き込まれた静止画像(DIB等のビットマップデータ)を有する実フレームFRt+3等からなる。また、コマ番号tとコマ番号t+3の間のフレーム、即ち、コマ番号t+1のフレーム及びコマ番号t+2のフレームは、静止画像を有しない空フレームVt+1及び空フレームVt+2となっている。このように、ビデオストリーム121,122,123,124,125は、対応するオーディオストリーム131,132,133,134,135の任意の位置(任意の再生タイミング)の音声データと同期する任意の位置に、実フレームFRを配置すると共に、それ以外のフレームに空フレームVFを配置したものであり、それら実フレームFR及び空フレームVFからなるフレームをコマ番号順に時系列で配置したものである。一方、オーディオストリーム131,132,133,134,135は、そのデータ構造として、WAVE等のオーディオデータを時系列で連続して配置したものであり、対応するビデオストリーム121,122,123,124,125と対応する時間長を有する。また、オーディオストリーム131,132,133,134,135において、前記ビデオストリーム121,122,123,124,125の実フレームFRtに対応する時間位置(再生タイミング位置)には、音声データADtが配置され、実フレームFRt+3に対応する時間位置(再生タイミング位置)には、音声データADt+3が配置されている。なお、通常、音声データADtと音声データADt+3との間にも、音声データが配置される。
FIG. 17 is an explanatory diagram showing the data structure of a video file with audio created by the digital video processing program according to
As shown in FIG. 17, the audio-added
効果
上記各実施の形態によれば、第1に、普及する高画質デジタルカメラの撮影データを有効活用することができる。即ち、現在、普及価格帯のデジタルカメラとして、200万画素(1600ピクセル×1200ライン)、320万画素(2048×1536)、400万画素(2272×1704)のデジタルカメラがあるが、最近では、630万画素(3072×2048)のデジカメが10数万円の価格帯にて販売されるに至った。この3072×2048程度の解像度のものは、ほぼ35mmフィルムの解像度に近い。上記実施の形態のデジタル映像再生プログラムによれば、これら高解像度の静止画像を実フレームに書き込むことができ、更に、データ再生が通常の記録形式と比べて著しく用意となる。この場合でも、実フレーム間に適当な数の空フレームを配置することにより、画像を音声と正確に同期させつつ、全体のデータ量を大幅に削減することができる。即ち、上記各実施の形態によれば、35mmフィルム等の静止画フィルムの情報量をそのまま生かすことができ、フィルムの持つ多くの情報をダウンサイズすることなく、そのまま音声解説付きで映像化及びデジタル化することで、上映等での映像効果を向上すると共に、静止画像への音声解説・音楽により説明性・物語性・記録性等を高めることができる。また、上記各実施の形態によれば、映像データを圧縮することなく画像を本来の高画質のまま維持することができ、圧縮することによる劣化を少なくすることができる。その結果、人類の知的資産である、研究・政府系機関、企業、家庭、個人等により保有・撮影され、保存されているネガフィルム及びポジフィルム等を積極的に活用することができる。
Effects According to each of the above embodiments, first, it is possible to effectively use the photographing data of a widespread high-quality digital camera. In other words, there are currently 2 million pixels (1600 pixels × 1200 lines), 3.2 million pixels (2048 × 1536), 4 million pixels (2272 × 1704) digital cameras as popular price ranges. A digital camera with 63,000,000 pixels (3072 × 2048) has been sold at a price range of 100,000 yen. This resolution of about 3072 × 2048 is close to the resolution of 35 mm film. According to the digital video reproduction program of the above-described embodiment, these high-resolution still images can be written in an actual frame, and further, data reproduction is considerably prepared as compared with a normal recording format. Even in this case, by arranging an appropriate number of empty frames between the actual frames, the entire data amount can be greatly reduced while the image is accurately synchronized with the sound. That is, according to each of the above-described embodiments, the information amount of a still image film such as a 35 mm film can be utilized as it is, and it can be visualized and digitalized with audio explanation without downsizing much of the information that the film has. As a result, it is possible to improve the video effect in the screening and the like, and to improve the explanation, the narrative, the recordability, etc. by the audio explanation / music to the still image. Further, according to each of the above embodiments, an image can be maintained at an original high quality without compressing video data, and deterioration due to compression can be reduced. As a result, it is possible to positively utilize negative films and positive films that are held, photographed and stored by research and government institutions, companies, households, individuals, etc., which are human intellectual assets.
ここで、静止画を主体とする映像は、写真に音声を関連付けることで、写真から受ける印象乃至感情を更に効果的に呼び起こし、写真による説得性を促進することができるという利点を有する。よって、上記実施の形態のデジタル映像処理プログラムによれば、静止画を活用した「スライドショー」を作成する際に、音声と画像コマとを任意に好きなタイミングで同期させることができ、効果的なプレゼンテーションを行うことができる。また、上記のように、既にかなりの高画質となっているデジカメ画像等を映像ビデオとして活用することができる。更に、上記実施の形態のデジタル映像処理プログラムによれば、現在の家庭や職場に既に普及しているパソコンモニタにて、高画質映像を実現することができる。即ち、パソコンモニタとその付属機器は静止的な画像の表示に最適である一方、今後の技術進歩により、更に高解像度(3000×2000程度)の液晶パネルの商品化が実現されることは時間の問題であり、上記実施の形態のデジタル映像処理プログラムで作成した高画質の映像を問題なく再生することのできる環境が早期に整うものと思われる。なお、係る高画質のモニタは、一部業務用では既に実現されており、医療用では、920万画素の22.2型モニタ(3880×2400)が実売価格90万で販売されている。また、既に1024×768クラスの解像度のパソコンモニタは一般に普及しており、それ以上の解像度(1600×1200等)のモニタも続々と商品化されている。 Here, an image mainly composed of a still image has an advantage that an impression or emotion received from a photograph can be more effectively evoked and the persuasiveness of the photograph can be promoted by associating the sound with the photograph. Therefore, according to the digital video processing program of the above-described embodiment, when creating a “slide show” using still images, it is possible to synchronize audio and image frames at arbitrary timings effectively. You can give a presentation. In addition, as described above, a digital camera image or the like that has already achieved a considerably high image quality can be used as a video video. Furthermore, according to the digital video processing program of the above-described embodiment, high-quality video can be realized on a personal computer monitor that is already widely used in current homes and workplaces. In other words, while the personal computer monitor and its accessory devices are optimal for displaying still images, it will be a matter of time before commercialization of liquid crystal panels with higher resolution (about 3000 × 2000) is realized by future technological advances. It is a problem, and it seems that an environment in which a high-quality video created by the digital video processing program of the above-described embodiment can be reproduced without any problems will be established at an early stage. Note that such high-quality monitors have already been realized for some business use, and for medical use, a 22.2 type monitor (3880 × 2400) having 9.2 million pixels is sold at an actual selling price of 900,000. In addition, personal computer monitors with a resolution of 1024 × 768 class are already in widespread use, and monitors with higher resolutions (such as 1600 × 1200) are also being commercialized one after another.
一般的な動画の記録方法(記録プログラムによる処理)では、コマを映像の最初から最後まで連続して隙間なく(上記実施の形態のような空フレームを介在させずに)並べるため、コマを大量に必要とする。よって、データ量が大きくなり扱いが重くなり、現状では、DVD規格以上で動画を作成及び作成するにも様々な課題が出てくる。また、従来の流通しているスライドショー作成用ソフトは、既存の動画編集を想定した方法であり、最終的に、隙間なく連続的にコマが並ぶため、ファイル量を減らすことができない。即ち、見た目は静止していても、同じコマがフレームレートの配置間隔で連続的に並び、データに無駄が多くなる。これに対し、上記実施の形態に係るデジタル映像処理プログラムによれば、使用者の設定した任意の再生タイミングで、実フレームを離れて配置すると共に、所望の音声と同期させることができる。よって、上記実施の形態に係るデジタル映像処理プログラムにより作成した映像(例えばスライドショー)は、データ量が少なく、扱いが軽くなる。また、映像記録方式として一般に広く普及しているAVIファイル方式を使用するため、使い勝手が良い。なお、1秒間に約30コマや24コマのコマが次々に表示され、コマの残像現象により映像の動きをスムースにさせる一般的な動画形式と異なり、上記実施の形態に係るデジタル映像処理プログラムにおける実フレームの配置は、よりまばらな再生タイミングとなるため、画像は静止表示され、実フレーム(画像)の移り変わりは、単純に次のコマに短時間で移り変わるように表示される。しかし、上記実施の形態に係るデジタル映像処理プログラムにより作成した映像の一部に、1秒間に10コマ或いは30コマ、20コマ等で、一定の限度で、一般的に動画と同様のフレームレートで実フレームを配置した動画部分を挿入することも可能である。その部分については、一般動画と全く同様である。 In a general video recording method (processing by a recording program), frames are arranged continuously without gaps from the beginning to the end of the video (without interposing empty frames as in the above embodiment), so a large number of frames are arranged. Need to. Therefore, the amount of data becomes large and handling becomes heavy, and at present, various problems arise in creating and creating a moving picture in excess of the DVD standard. Conventional slide show creation software that is distributed is a method that assumes existing moving image editing. Finally, frames are continuously arranged without gaps, and the amount of files cannot be reduced. That is, even if the appearance is still, the same frame is continuously arranged at the frame rate arrangement interval, and data is wasted. On the other hand, according to the digital video processing program according to the above-described embodiment, it is possible to place the actual frame apart and synchronize with the desired sound at an arbitrary reproduction timing set by the user. Therefore, a video (for example, a slide show) created by the digital video processing program according to the above embodiment has a small data amount and is lightly handled. Also, since the AVI file system that is generally widely used as the video recording system is used, it is easy to use. Unlike the general moving image format in which about 30 frames or 24 frames are displayed one by one in one second, and the motion of the image is smoothed by the afterimage phenomenon of the frames, the digital video processing program according to the above embodiment Since the arrangement of the actual frame is a more sparse reproduction timing, the image is displayed as a still image, and the transition of the actual frame (image) is simply displayed so as to change to the next frame in a short time. However, a part of the video created by the digital video processing program according to the above embodiment is 10 frames per second, 30 frames, 20 frames, etc. at a certain limit, generally at the same frame rate as a moving image. It is also possible to insert a moving image portion where an actual frame is arranged. This part is exactly the same as a general moving image.
RFt,RFt+3:実フレーム、VFt+1,VFt+2:空フレーム
ADt,ADt+3:音声データ
RFt, RFt + 3: Real frame, VFt + 1, VFt + 2: Empty frame ADt, ADt + 3: Audio data
Claims (13)
B)静止画像データを有しない空フレームと、静止画像データを有する実フレームとを時系列で連続的に配置して所定フレームレートの画像データ列を作成すると共に、前記画像データ列の実フレームを前記音声データ列の音声データにそれぞれ任意のタイミングで同期するよう関連付けて記憶する画像データ列格納手順と
をコンピュータに実行させることを特徴とするデジタル映像処理プログラム。 A) an audio data sequence storing procedure for storing an audio data sequence composed of audio data continuously arranged in time series;
B) An empty frame having no still image data and an actual frame having still image data are continuously arranged in time series to create an image data sequence of a predetermined frame rate, and the actual frames of the image data sequence are A digital video processing program that causes a computer to execute an image data string storage procedure that is stored in association with the audio data of the audio data string so as to be synchronized with each other at an arbitrary timing.
B)所定フレームレートで画像データ列を作成する画像データ列格納手順とをコンピュータに実行させ、
前記画像データ列格納手順は、
静止画像データを有する実フレームを前記音声データ列の音声データに任意のタイミングで同期するよう関連付けて順に記憶する実フレーム配置手順と、
C)隣接する前記実フレームが、前記フレームレートのフレーム配置間隔を超える時間間隔で配置される場合、前記隣接する実フレーム間における前記フレームレートのフレーム配置間隔に対応する位置に、静止画像データを有しない空フレームを追加配置して、前記実フレーム及び空フレームが前記フレームレートによるフレーム配置間隔で順に配置されるよう配置する空フレーム配置手順とを有することを特徴とするデジタル映像処理プログラム。 A) an audio data sequence storing procedure for storing an audio data sequence composed of audio data continuously arranged in time series;
B) causing a computer to execute an image data sequence storage procedure for creating an image data sequence at a predetermined frame rate;
The image data string storage procedure includes:
A real frame arrangement procedure for sequentially storing real frames having still image data in association with audio data in the audio data sequence so as to be synchronized at an arbitrary timing;
C) When the adjacent real frames are arranged at a time interval exceeding the frame arrangement interval of the frame rate, still image data is placed at a position corresponding to the frame arrangement interval of the frame rate between the adjacent real frames. A digital video processing program comprising: an empty frame arrangement procedure in which empty frames that are not included are additionally arranged so that the real frame and the empty frame are arranged in order at a frame arrangement interval according to the frame rate.
B)複数のフレームを所定フレームレートで順に配置して画像データ列を作成する場合において、前記フレームの格納場所を記憶手段に確保する格納場所確保手順と、
C)前記フレームのうち、前記音声データ列における任意の複数の再生タイミングと同期する再生タイミングを有するフレーム用の前記記憶手段の格納場所に、静止画像データをそれぞれ書き込んで実フレームとすると共に、前記フレームのうち前記実フレーム以外のフレームを、静止画像データを書き込まない空フレームとして保持する画像データ列格納手順と
をコンピュータに実行させることを特徴とするデジタル映像処理プログラム。 A) an audio data sequence storing procedure for storing an audio data sequence composed of audio data continuously arranged in time series;
B) A storage location securing procedure for securing the storage location of the frame in the storage means in the case of creating an image data sequence by sequentially arranging a plurality of frames at a predetermined frame rate;
C) Among the frames, still image data is respectively written into storage locations of the storage means for frames having reproduction timings synchronized with any of a plurality of reproduction timings in the audio data sequence to form real frames, and A digital video processing program for causing a computer to execute an image data sequence storage procedure for holding a frame other than the actual frame among frames as an empty frame in which still image data is not written.
A)AVIファイルのオーディオストリームに、時系列で連続的に配置された音声データを記憶する音声データ列格納手順と、
B)AVIファイルのビデオストリームに、時系列で連続的に配置された画像データを記憶する画像データ列格納手順とをコンピュータに実行させ、
前記画像データ列格納手順は、
B1)前記AVIファイル内に所定フレームレートで前記ビデオストリームを準備するビデオストリーム準備手順と、
B2)前記音声データ列における任意の再生タイミングの音声データと同期する再生タイミングとなるよう、前記ビデオストリームにフレーム番号と静止画像としてのビットマップデータとからなるフレームデータを順に書き込んで実フレームとすると共に、隣接する前記実フレームのフレーム番号の差が2以上ある場合、その隣接する実フレーム間に、静止画像データを書き込まない空フレームを追加する実フレームデータ書込手順とを備えることを特徴とするデジタル映像処理プログラム。 A digital video processing program for creating digital video with audio in an AVI file format,
A) an audio data string storage procedure for storing audio data continuously arranged in time series in the audio stream of the AVI file;
B) causing a computer to execute an image data string storage procedure for storing image data continuously arranged in time series in a video stream of an AVI file,
The image data string storage procedure includes:
B1) A video stream preparation procedure for preparing the video stream at a predetermined frame rate in the AVI file;
B2) Frame data composed of a frame number and bitmap data as a still image are sequentially written in the video stream so as to be a reproduction timing synchronized with the audio data of an arbitrary reproduction timing in the audio data string to obtain an actual frame. And an actual frame data writing procedure for adding an empty frame in which still image data is not written between the adjacent actual frames when there is a difference of two or more frame numbers between the adjacent actual frames. Digital video processing program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004211905A JP2006033607A (en) | 2004-07-20 | 2004-07-20 | Program and system for processing digital image, and recording medium for the program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004211905A JP2006033607A (en) | 2004-07-20 | 2004-07-20 | Program and system for processing digital image, and recording medium for the program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2006033607A true JP2006033607A (en) | 2006-02-02 |
Family
ID=35899392
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004211905A Withdrawn JP2006033607A (en) | 2004-07-20 | 2004-07-20 | Program and system for processing digital image, and recording medium for the program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2006033607A (en) |
-
2004
- 2004-07-20 JP JP2004211905A patent/JP2006033607A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8265450B2 (en) | Capturing and inserting closed captioning data in digital video | |
| US7855724B2 (en) | Transitioning between two high resolution images in a slideshow | |
| JP4518194B2 (en) | Generating apparatus, generating method, and program | |
| US8666222B2 (en) | Video encoding | |
| CN105324988A (en) | Reproducing device, reproducing method and recording medium | |
| CN110675841A (en) | Image device, method thereof, and recording medium | |
| JPH11284948A (en) | Thumbnail creation method and thumbnail display method | |
| JP4577409B2 (en) | Playback apparatus, playback method, program, and data structure | |
| JP2000350165A (en) | Video recording and playback device | |
| US20040268222A1 (en) | Information creating apparatus, information creating method, reproducing apparatus, reproducing method, and program | |
| JPH11215458A (en) | Image recording apparatus and method, image reproducing apparatus and method, image recording and reproducing apparatus and method, and recording medium | |
| JP7658278B2 (en) | Data processing device, data processing method, and program | |
| EP1005043B1 (en) | Information recording medium, motion-picture voice recording/reproducing apparatus, and motion-picture voice recording/reproducing method | |
| WO2005027133A1 (en) | File recording device, file reproducing device, file recording method, program of file recording method, recording medium containing therein program of file recording method, file reproducing method, program of file reproducing method, and recording medium containing therein program of file reproducing method | |
| JP2005303336A (en) | Video signal recording apparatus and video signal reproducing apparatus | |
| JP2006033607A (en) | Program and system for processing digital image, and recording medium for the program | |
| JP3736146B2 (en) | Information storage medium and moving picture audio recording and reproducing apparatus | |
| JP2001238154A (en) | Video display device | |
| JP4234029B2 (en) | Image recording / playback device | |
| JP4186949B2 (en) | Information recording / reproducing device | |
| JP2008098689A (en) | Image data processing apparatus and method, program, and recording medium | |
| JP5170205B2 (en) | Information storage medium and moving picture audio recording and reproducing apparatus | |
| JP3363147B1 (en) | Recording method | |
| JPWO2018211613A1 (en) | Encoded video playback apparatus and encoded video playback method | |
| WO2001037561A1 (en) | Compression-editing method for video image and video image editing device using the compression-editing method, video image retaining/reproducing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20071002 |