JP4355857B2 - Movie recording apparatus, file creation method, and program - Google Patents
Movie recording apparatus, file creation method, and program Download PDFInfo
- Publication number
- JP4355857B2 JP4355857B2 JP2004155878A JP2004155878A JP4355857B2 JP 4355857 B2 JP4355857 B2 JP 4355857B2 JP 2004155878 A JP2004155878 A JP 2004155878A JP 2004155878 A JP2004155878 A JP 2004155878A JP 4355857 B2 JP4355857 B2 JP 4355857B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- audio
- moving image
- sound
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、音声付き動画の撮影機能を備えたデジタルカメラなどの撮像装置を含む動画記録装置と、この動画記録装置に用いられる音声ファイルの作成方法及びプログラムに関する。 The present invention relates to a moving image recording apparatus including an imaging device such as a digital camera having a function of shooting a moving image with sound, and an audio file creation method and program used in the moving image recording apparatus.
近年、デジタルカメラでは、メモリの大容量化や情報圧縮技術の進歩により、静止画データだけでなく、音声を含む動画データを記録できるものが増えて来た。 In recent years, the number of digital cameras capable of recording not only still image data but also moving image data including sound has increased due to the increase in memory capacity and the progress of information compression technology.
この種のデジタルカメラでは、静止画撮影モードおよび動画撮影モードを有し、スイッチ操作によるモード切替えに応じて、シャッタ操作に伴い静止画データまたは音声付きの動画データを取り込み、フラッシュメモリなどの記録媒体に記録している(例えば、特許文献1参照)。
しかしながら、前記動画撮影モードにおいて、音声付きの動画撮影を行うと、動画データと音声データは特定のファイル形式に従って1つのファイルに統合されて音声付き動画ファイルとして記録媒体に記録される。このため、前記記録媒体に記録されたファイルの再生には特定のファイル形式に対応した動画再生機能を必要とし、音声データの再生だけを必要とするような場合に柔軟に対応できないなどの問題があった。 However, when moving image shooting with sound is performed in the moving image shooting mode, moving image data and sound data are integrated into one file according to a specific file format and recorded as a moving image file with sound on a recording medium. For this reason, the reproduction of the file recorded on the recording medium requires a moving image reproduction function corresponding to a specific file format, and there is a problem that it cannot be flexibly dealt with when only reproduction of audio data is necessary. there were.
本発明は前記のような点に鑑みなされたもので、音声付き動画ファイルとは別に音声データだけを別ファイルとして得ることのできる動画記録装置、ファイル作成方法及びプログラムを提供することを目的とする。 The present invention has been made in view of the above points, and an object thereof is to provide a moving image recording apparatus, a file creation method, and a program that can obtain only audio data as a separate file separately from a moving image file with audio. .
本発明の請求項1に係る動画記録装置は、音声付き動画の撮影処理を行う撮影処理手段と、この撮影処理手段によって得られた動画データおよび音声データに基づいて所定形式の音声付き動画ファイルを作成すると同時に、前記音声データに基づいて所定形式の音声ファイルを作成するファイル作成手段と、このファイル作成手段によって作成された音声付き動画ファイルおよび音声ファイルを個別に記録する記録手段とを具備したことを特徴とする。
A moving image recording apparatus according to
このような構成によれば、音声付き動画撮影により音声付き動画ファイルと同時に、その撮影で得られた音声データに基づいて音声ファイルが作成され、これらのファイルが個別に記録媒体に記録される。 According to such a configuration, an audio file is created on the basis of audio data obtained by shooting at the same time as the moving image file with sound by moving image shooting with sound, and these files are individually recorded on the recording medium.
また、本発明の請求項2は、前記請求項1記載の動画記録装置において、音声ファイルの作成を指定する指定手段をさらに備え、前記ファイル作成手段は、前記指定手段によって音声ファイルの作成が指定されている場合に音声付き動画ファイルとは別に音声ファイルの作成処理を行うことを特徴とする。 Further, according to a second aspect of the present invention, in the moving picture recording apparatus according to the first aspect, the image recording apparatus further includes a designation unit that designates creation of an audio file, and the file creation unit designates creation of the audio file by the designation unit. In this case, the audio file creation process is performed separately from the moving image file with audio .
このような構成によれば、音声ファイルの作成を任意に指定することができ、その指定に従って音声付き動画ファイルとは別に音声ファイルを得ることができる。 According to such a configuration, creation of an audio file can be arbitrarily designated, and an audio file can be obtained separately from the moving image file with audio according to the designation.
また、本発明の請求項3は、音声付き動画ファイルが記録された第1の記録手段と、この第1の記録手段に記録された音声付き動画ファイルから音声データを抽出する音声抽出手段と、前記音声付き動画ファイルに係る動画データに含まれる各フレームの静止画データの中でファイル化する静止画データを指定する指定手段と、前記音声付き動画ファイルから前記指定手段によって指定されたフレームの静止画データを抽出する静止画抽出手段と、第2の記録手段と、前記音声抽出手段によって抽出された音声データに基づいて所定形式の音声ファイルを作成すると共に前記静止画抽出手段によって抽出された静止画データに基づいて所定形式の静止画ファイルを作成し、前記音声ファイルと前記静止画ファイルとを互いに関連付けて前記第2の記録手段に記録するファイル作成手段とを具備したことを特徴とする。 According to a third aspect of the present invention, there is provided a first recording unit in which a moving image file with audio is recorded, an audio extracting unit that extracts audio data from the moving image file with audio recorded in the first recording unit, Designating means for designating still image data to be filed in still image data of each frame included in the video data related to the video file with audio, and stillness of the frame designated by the designating means from the video file with audio A still image extracting means for extracting image data, a second recording means, a sound file of a predetermined format based on the sound data extracted by the sound extracting means, and the still image extracted by the still image extracting means A still image file of a predetermined format is created based on the image data, and the audio file and the still image file are associated with each other Characterized by comprising a file creating means for recording the recording means.
このような構成によれば、音声付き動画ファイルから任意フレームの静止画データと音声データをそれぞれ抽出してファイル化し、これらのファイルを関連付けて記録しておくことで、音声付きの静止画データをファイルの形式で得ることができる。 According to such a configuration, still image data and audio data of an arbitrary frame are extracted from a moving image file with audio and converted into a file, and the still image data with audio is recorded by associating and recording these files. It can be obtained in the form of a file.
本発明の請求項4に係るファイル作成方法は、動画記録装置に用いられるファイル作成方法であって、動画撮影モードを設定するステップと、前記動画撮影モードの設定に伴い、所定のタイミングで音声付き動画の撮影処理を行うステップと、前記撮影処理によって得られた動画データおよび音声データに基づいて所定形式の音声付き動画ファイルを作成すると同時に、前記音声データに基づいて所定形式の音声ファイルを作成するステップと、前記作成された音声付き動画ファイルおよび音声ファイルを個別に記録するステップとを備えたことを特徴とする。 A file creation method according to claim 4 of the present invention is a file creation method used in a moving image recording apparatus, and includes a step of setting a moving image shooting mode, and an audio with a predetermined timing according to the setting of the moving image shooting mode. A step of performing a shooting process of a moving image, and a moving image file with audio in a predetermined format based on moving image data and audio data obtained by the shooting process, and at the same time, an audio file of a predetermined format is generated based on the audio data And a step of individually recording the created moving image file with sound and sound file .
このようなファイル作成方法によれば、前記各ステップに従った処理を実行することにより、前記請求項1記載の発明と同様の作用効果が奏せられる。 According to such a file creation method , the same effects as those of the first aspect of the invention can be achieved by executing the processing according to each step.
本発明の請求項5に係るプログラムは、動画記録装置を制御するコンピュータに用いられるファイル作成のためのプログラムであって、前記コンピュータに、動画撮影モードを設定する機能と、前記動画撮影モードの設定に伴い、所定のタイミングで音声付き動画の撮影処理を行う機能と、前記撮影処理によって得られた動画データおよび音声データに基づいて所定形式の音声付き動画ファイルを作成すると同時に、前記音声データに基づいて所定形式の音声ファイルを作成する機能と、前記作成された音声付き動画ファイルおよび音声ファイルを個別に記録する機能とを実現させることを特徴とする。 A program according to claim 5 of the present invention is a program for creating a file for use in a computer that controls a moving picture recording apparatus, the function for setting a moving picture shooting mode in the computer, and the setting of the moving picture shooting mode. Accordingly, a function for performing shooting processing of a moving image with sound at a predetermined timing, and a moving image file with sound in a predetermined format based on moving image data and sound data obtained by the shooting processing, and at the same time based on the sound data And a function of creating a sound file of a predetermined format and a function of individually recording the created moving image file with sound and sound file .
このようなプログラムによれば、コンピュータが前記各機能を実現するためのプログラムを実行することにより、前記請求項1記載の発明と同様の作用効果が奏せられる。 According to such a program , the same effect as that of the first aspect of the invention can be achieved when the computer executes the program for realizing each function.
本発明によれば、音声付き動画データに含まれる音声データに基づいて音声ファイルを個別に作成するようにしたため、動画再生機能を必要とせずに、音声データの再生だけを行うことができる。 According to the present invention, since the audio file is individually created based on the audio data included in the audio-attached moving image data, only the audio data can be reproduced without the need for the moving image reproduction function.
以下、図面を参照して本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(第1の実施形態)
図1は本発明の第1の実施形態に係る画像記録装置としてデジタルカメラを例にした場合の外観構成を示す図であり、図1(a)は主に前面の構成、同図(b)は主に背面の構成を示す斜視図である。
(First embodiment)
FIG. 1 is a diagram showing an external configuration when a digital camera is taken as an example of an image recording apparatus according to the first embodiment of the present invention. FIG. 1 (a) is mainly a front configuration, and FIG. 1 (b). FIG. 3 is a perspective view mainly showing a configuration of a back surface.
このデジタルカメラ1は、音声付きの動画を撮影可能な機能を備えた撮像装置であり、略矩形の薄板状ボディ2の前面に、撮影レンズ3、セルフタイマランプ4、光学ファインダ窓5、ストロボ発光部6、マイクロホン部7などを有し、上面の(ユーザにとって)右端側には電源キー8及びシャッタキー9などが設けられている。
The
電源キー8は、電源のオン/オフ毎に操作するキーであり、シャッタキー9は、撮影時に撮影タイミングを指示するキーである。
The
また、デジタルカメラ1の背面には、撮影モード(R)キー10、再生モード(P)キー11、光学ファインダ12、スピーカ部13、マクロキー14、ストロボキー15、メニュー(MENU)キー16、リングキー17、セット(SET)キー18、表示部19などが設けられている。
Also, on the back of the
撮影モードキー10は、電源オフの状態から操作することで自動的に電源オンとして静止画の撮影モードに移行する一方で、電源オンの状態から繰返し操作することで、静止画モード、動画モードを循環的に設定する。静止画モードは、静止画を撮影するためのモードである。また、動画モードは、動画を撮影するためのモードであり、特に本実施形態では音声付き動画の撮影が可能であるとする。
The
前記シャッタキー9は、これらの撮影モードに共通に使用される。すなわち、静止画モードでは、シャッタキー9が押下されたときのタイミングで静止画の撮影が行われる。動画モードでは、シャッタキー9が押下されたときのタイミングで動画の撮影が開始され、シャッタキー9が再度押下されたときにその動画の撮影が終了する。 The shutter key 9 is commonly used for these photographing modes. That is, in the still image mode, a still image is taken at the timing when the shutter key 9 is pressed. In the moving image mode, shooting of a moving image is started at a timing when the shutter key 9 is pressed, and shooting of the moving image is ended when the shutter key 9 is pressed again.
再生モードキー11は、電源オフの状態から操作することで自動的に電源オンとして再生モードに移行する。 When the playback mode key 11 is operated from the power-off state, the playback mode key 11 is automatically turned on to enter the playback mode.
マクロキー14は、静止画の撮影モードで通常撮影とマクロ撮影とを切換える際に操作する。ストロボキー15は、ストロボ発光部6の発光モードを切換える際に操作する。メニューキー16は、各種メニュー項目等を選択する際に操作する。リングキー17は、上下左右各方向への項目選択用のキーが一体に形成されたものであり、このリングキー17の中央に位置するセットキー18は、その時点で選択されている項目を設定する際に操作する。
The
表示部19は、バックライト付きのカラー液晶パネルで構成されるもので、撮影モード時には電子ファインダとしてスルー画像のモニタ表示を行う一方で、再生モード時には選択した画像等を再生表示する。
The
なお、図示はしないがデジタルカメラ1の底面には、記録媒体として用いられるメモリカードを着脱するためのメモリカードスロットや、外部のパーソナルコンピュータ等と接続するためのシリアルインタフェースコネクタとして、例えばUSB(Universal Serial Bus)コネクタ等が設けられているものとする。
Although not shown, the
図2はデジタルカメラ1の電子回路構成を示すブロック図である。
FIG. 2 is a block diagram showing an electronic circuit configuration of the
このデジタルカメラ1には、前記撮影レンズ3を構成する図示せぬフォーカスレンズおよびズームレンズを含むレンズ光学系22がモータ21の駆動により光軸方向に所定の範囲内で移動可能に設けられており、その光軸後方に撮像素子であるCCD23が配設されている。このCCD23は、撮影レンズ3を通過する光を受光し、その受光量に応じた画像データを取得する。
In the
基本モードである記録モード時において、CCD23がタイミング発生器(TG)24、ドライバ25によって走査駆動され、一定周期毎に結像した光像に対応する光電変換出力を1画面分出力する。
In the recording mode, which is the basic mode, the
このCCD23の光電変換出力は、アナログ値の信号の状態でRGBの各原色成分毎に適宜ゲイン調整された後に、サンプルホールド回路26でサンプルホールドされ、A/D変換器27でデジタルデータに変換される。そして、カラープロセス回路28において、画素補間処理及びγ補正処理を含むカラープロセス処理が行われて、デジタル値の輝度信号Y及び色差信号Cb,Crが生成され、DMA(Direct Memory Access)コントローラ29に出力される。
The photoelectric conversion output of the
DMAコントローラ29は、カラープロセス回路28の出力する輝度信号Y及び色差信号Cb,Crを、同じくカラープロセス回路28からの複合同期信号、メモリ書込みイネーブル信号、及びクロック信号を用いて一度DMAコントローラ29内部のバッファに書き込み、DRAMインタフェース(I/F)30を介してバッファメモリとして使用されるDRAM31にDMA転送を行う。
The
制御部32は、CPUと、このCPUで実行される動作プログラムを記憶したROM、及びワークメモリとして使用されるRAMなどを含むマイクロコンピュータにより構成される。この制御部32は、デジタルカメラ1全体の制御動作を司り、前記輝度及び色差信号のDRAM31へのDMA転送終了後に、この輝度及び色差信号をDRAMインタフェース30を介してDRAM31より読み出し、VRAMコントローラ33を介してVRAM34に書き込む。
The
デジタルビデオエンコーダ35は、前記輝度及び色差信号をVRAMコントローラ33を介してVRAM34より定期的に読み出し、これらのデータを元にビデオ信号を発生して表示部19に出力する。
The
この表示部19は、上述した如く撮影時にはモニタ表示部(電子ファインダ)として機能するもので、デジタルビデオエンコーダ35からのビデオ信号に基づいた表示を行うことで、その時点でVRAMコントローラ33から取込んでいる画像情報に基づく画像をリアルタイムに表示することとなる。
As described above, the
このように、表示部19にその時点での画像がモニタ画像としてリアルタイムに表示されている状態で、例えば静止画撮影を行いたいタイミングでシャッタキー9を押下操作すると、トリガ信号が発生する。
As described above, when the image at that time is displayed in real time as the monitor image on the
制御部32は、このトリガ信号に応じて、その時点でCCD23から取込んでいる1画面分の輝度及び色差信号のDRAM31へのDMA転送の終了後、直ちにCCD23からのDRAM31への経路を停止し、記録保存の状態に遷移する。
In response to the trigger signal, the
この記録保存の状態では、制御部32がDRAM31に書き込まれている1フレーム分の輝度及び色差信号をDRAMインタフェース30を介してY,Cb,Crの各コンポーネント毎に縦8画素×横8画素の基本ブロックと呼称される単位で読み出して、画像処理部37の内部に存在するJPEG(Joint Photograph coding Experts Group)処理ブロックに書き込み、この画像処理部37でADCT(Adaptive Discrete Cosine Transform:適応離散コサイン変換)、エントロピ符号化方式であるハフマン符号化等の処理によりデータ圧縮する。
In this recording and storage state, the
そして得た符号データを1画像のデータファイルとして該画像処理部37から読み出して記録用のメモリ38に書き込む。このメモリ38としては、予め本体に内蔵されたフラッシュメモリ等の内部メモリの他に、記録媒体として着脱自在に装着されるメモリカードなどを含む。1フレーム分の輝度及び色差信号の圧縮処理及びメモリ38への全圧縮データの書込み終了に伴って、制御部32はCCD23からDRAM31への経路を再び起動する。
The obtained code data is read out from the
制御部32には、さらに音声処理部39、USBインタフェース(I/F)40、ストロボ駆動部41が接続される。
The
音声処理部39は、A/D変換およびD/A変換を含む音声データの入出力処理を行うものであり、動画撮影時には動画データに同期させてマイクロホン部(MIC)7より入力されたアナログの音声信号をデジタル化して取り込む。また、再生時には、音声付き動画データから分離された音声データをアナログ化して、デジタルカメラ1の背面側に設けられたスピーカ部(SP)13を通じて出力する。
The
USBインタフェース40は、USBコネクタを介して有線接続されるパーソナルコンピュータ等の他の情報端末装置との間で画像データ、その他の送受を行う場合の通信制御を行う。ストロボ駆動部41は、撮影時に図示せぬストロボ用の大容量コンデンサを充電した上で、制御部32からの制御に基づいてストロボ発光部6を閃光駆動する。
The
なお、前記キー入力部36は、上述したシャッタキー9の他に、電源キー8、撮影モードキー10、再生モードキー11、マクロキー14、ストロボキー15、メニューキー16、リングキー17、セットキー18などから構成され、それらのキー操作に伴う信号は直接制御部32へ送出される。
In addition to the shutter key 9 described above, the
また、静止画像ではなく動画像の撮影時においては、シャッタキー9が押下操作されたときに、上述した画像処理部37の内部に存在する動画処理ブロックで、MPEG(Moving Picture Expert Group)またはmotion−JPEG(Joint Photographic Experts Group)などの手法により撮影動画をデータ圧縮してメモリ38へ記録する。この場合、音声付き動画撮影であれば、圧縮された動画データに音声データが統合されて音声付き動画ファイルとしてメモリ38に記録される。再度シャッタキー9が操作されると、動画データの記録を終了する。
Further, when shooting a moving image instead of a still image, the moving picture processing group (MPEG) or motion is a moving image processing block existing in the
一方、基本モードである再生モード時には、制御部32がメモリ38に記録されている画像データを選択的に読み出し、画像処理部37で記録モード時にデータ圧縮した手順と全く逆の手順で、圧縮されている画像データを伸長する。そして、この伸長した画像データをDRAMインタフェース30を介してDRAM31に保持させた上で、このDRAM31の保持内容をVRAMコントローラ33を介してVRAM34に記憶させ、このVRAM34より定期的に画像データを読み出してビデオ信号を発生し、表示部19で再生出力させる。
On the other hand, in the playback mode, which is the basic mode, the
選択した画像データが静止画像ではなく動画像であった場合には、その動画データを構成する複数フレームの静止画データを時系列の順で順次再生して表示し、すべての静止画データの再生を終了した時点で、例えば、次に再生の指示がなされるまで先頭に位置する静止画データを表示するなどを行う。 If the selected image data is not a still image but a moving image, the multiple frames of still image data that make up the moving image data are played back and displayed sequentially in chronological order, and all the still image data is played back. For example, the top still image data is displayed until the next playback instruction is given.
次に、第1の実施形態の動作について説明する。 Next, the operation of the first embodiment will be described.
なお、以下の各フローチャートで示される処理は、デジタルカメラ1に搭載されたマイクロコンピュータである制御部32がROM等に記憶されたプログラムを読み込むことにより実行される。後述する他の実施形態の処理についても同様であり、制御部32がこれらの処理を実現するためのプログラムを読み込むことで実行される。
Note that the processes shown in the following flowcharts are executed when the
(動画撮影処理)
まず、音声付き動画の撮影処理について説明する。
(Movie shooting process)
First, shooting processing of a moving image with sound will be described.
図3は本発明の第1の実施形態におけるデジタルカメラ1の音声付き動画の撮影処理の動作を示すフローチャートである。
FIG. 3 is a flowchart showing the operation of the shooting process of the moving image with sound of the
撮影モードキー10の操作により動画撮影モードが設定されると(ステップA11のYes)、制御部32は、シャッタキー9が押下操作されたときのタイミングで(ステップA12のYes)、音声付き動画の撮影処理を開始する(ステップA13)。
When the moving image shooting mode is set by the operation of the shooting mode key 10 (Yes in Step A11), the
この音声付き動画の撮影処理では、CCD23を含む撮像系を通じて得られる動画データを画像処理部37にて順次圧縮処理すると共に、そのときにマイクロホン部7および音声処理部39を通じて得られる音声データを当該動画データに統合する。そして、例えばAVI(Audio Visual Interleave)などの所定のファイルフォーマットに従って音声付き動画ファイルを作成し、これをメモリ38に記録する(ステップA14)。
In the moving image capturing process with sound, moving image data obtained through the imaging system including the
この撮影処理はシャッタキー9が再度押下されるまでの間、継続して行われる。そして、シャッタキー9が再度押下されると(ステップA15のYes)、制御部32はそれを検知することで、ここでの撮影処理を終了する。
This photographing process is continuously performed until the shutter key 9 is pressed again. When the shutter key 9 is pressed again (Yes in step A15), the
(音声ファイル作成処理)
次に、音声ファイル作成処理について説明する。
(Audio file creation process)
Next, an audio file creation process will be described.
図4は同実施形態におけるデジタルカメラ1の音声ファイル作成処理の動作を示すフローチャートである。この音声ファイル作成処理は、例えばメニューキー16の操作により「音声ファイル作成モード」を選択することで実行される。
FIG. 4 is a flowchart showing the operation of the audio file creation process of the
「音声ファイル作成モード」の選択に伴い、制御部32は、まず、メモリ38に現在記録されている音声付き動画ファイルのリストを表示部19に表示するなどして、ユーザに処理対象となる音声付き動画ファイルを選択させる(ステップB11)。なお、ファイルリストの表示方法やファイルの選択方法については特に限定されるものではなく、一般的な方法を用いるものとする。
In accordance with the selection of “audio file creation mode”, the
処理対象となる音声付き動画ファイルが選択されると、制御部32は、その選択された音声付き動画ファイルを構成する動画データおよび音声データの再生処理を行う(ステップB12)。この場合、動画データについては、その動画データを構成する複数枚の静止画データを所定のフレームレートで表示部19に表示しながら、その画像表示に同期させて音声データを音声処理部39を通じてスピーカ部13から出力する。
When the moving image file with audio to be processed is selected, the
ここで、前記「音声ファイル作成モード」には、音声付き静止画ファイルを作成するための機能(以下、音声付き静止画ファイル作成機能と称す)と、音声データの任意部分を指定してファイル化するための機能(以下、音声部分指定機能と称す)が備えられている。ユーザは「音声ファイル作成モード」の設定時にこれらの機能を任意に選択しておくことができる。 Here, in the “sound file creation mode”, a function for creating a still image file with sound (hereinafter referred to as a still image file creation function with sound) and an arbitrary portion of the sound data are designated as a file. Is provided with a function (hereinafter referred to as a voice part specifying function). The user can arbitrarily select these functions when setting the “voice file creation mode”.
上述した音声付き静止画ファイル作成機能および音声部分指定機能が選択されていない場合には(ステップB13のNo,ステップB14のNo)、制御部32は、再生中の音声付き動画ファイルに含まれる音声データの全範囲を抽出対象として音声データを抽出する(ステップB15)。そして、制御部32は、この抽出した音声データを所定の形式でファイル化することにより、その音声ファイルをユーザにより指定されたファイル名に従ってメモリ38に記録する(ステップB17)。
When the above-described still image file creation function with audio and the audio part designation function are not selected (No in Step B13, No in Step B14), the
また、音声部分指定機能が選択されている場合には(ステップB14のYes)、制御部32は、再生中の音声付き動画ファイルからユーザにより指定された範囲内の音声データを部分的に抽出する(ステップB16)。
If the audio part designation function is selected (Yes in step B14), the
なお、このときの指定方法としては、音声再生中に音声部分指定用として割り付けられた特定のキー(例えばセットキー18)を押下することで、そのキーが押下されている期間中の音声データを抽出する方法などがある。 Note that, as a designation method at this time, by pressing a specific key (for example, the set key 18) assigned for voice part designation during voice reproduction, the voice data during the period in which the key is depressed is displayed. There are methods to extract.
制御部32は、このようにして部分的に抽出した音声データを前記同様に所定の形式でファイル化することにより、その音声ファイルをユーザにより指定されたファイル名に従ってメモリ38に記録する(ステップB17)。
The
一方、音声付き静止画ファイル作成機能が選択されている場合には(ステップB13のYes)、制御部32は、再生中の音声付き動画ファイルの動画データからユーザにより指定されたフレームの静止画データを抽出する(ステップB18)。
On the other hand, when the still image file creation function with audio is selected (Yes in step B13), the
なお、このときの指定方法としては、動画再生中に静止画指定用として割り付けられた特定のキー(例えばシャッタキー9)を押下することで、そのキーの押下タイミングで静止画データを抽出する方法などがある。 As a designation method at this time, a method of extracting still image data at the timing of pressing a specific key (for example, shutter key 9) assigned for still image designation during moving image reproduction. and so on.
その際、音声部分指定機能が選択されていない場合には(ステップB19のNo)、制御部32は、再生中の音声付き動画ファイルに含まれる音声データの全範囲を抽出対象として音声データを抽出する(ステップB20)。そして、制御部32は、前記ステップB18で抽出した静止画データと前記ステップB20で抽出した音声データをそれぞれ所定の形式でファイル化し、その静止画ファイルおよび音声ファイルをユーザにより指定された共通のファイル名を用いて互いに関連付けてメモリ38に記録する(ステップB22)。
At this time, if the audio part designation function is not selected (No in Step B19), the
また、音声部分指定機能が選択されている場合には(ステップB19のYes)、制御部32は、再生中の音声付き動画ファイルからユーザにより指定された範囲内の音声データを部分的に抽出する(ステップB21)。そして、制御部32は、前記ステップB18で抽出した静止画データと前記ステップB21で部分的に抽出した音声データをそれぞれ所定の形式でファイル化し、その静止画ファイルおよび音声ファイルをユーザにより指定された共通のファイル名を用いて互いに関連付けてメモリ38に記録する(ステップB22)。
When the audio part specifying function is selected (Yes in step B19), the
図5はメモリ38内の各ファイルの関係を示す図である。
FIG. 5 is a diagram showing the relationship between the files in the
今、メモリ38に既に記録されている音声付き動画ファイル「20040501.aaa」を処理対象として説明する。なお、ファイル名「20040501」に付加されている「aaa」は音声付き動画ファイルの拡張子を示すものとする。
Now, the moving image file with sound “20040501.aaa” already recorded in the
この音声付き動画ファイル「20040501.aaa」には、ヘッダ情報と共に動画データと音声データが含まれている。また、動画データは時系列順に並んだ複数の静止画データから構成されている。この音声付き動画ファイルの再生中に当該ファイルから音声データが抽出され、その音声データが所定の形式でファイル化されてメモリ38に別ファイルとして記録される。
This moving image file with audio “20040501.aaa” includes moving image data and audio data together with header information. The moving image data is composed of a plurality of still image data arranged in time series. During reproduction of the moving image file with audio, audio data is extracted from the file, and the audio data is filed in a predetermined format and recorded as a separate file in the
図中の「20040502.bbb」が前記音声付き動画ファイル「20040501.aaa」から作成された音声ファイルである。ファイル名「20040502」はユーザにより任意に指定される。また、「bbb」は音声ファイルの拡張子である。 “20040502.bbb” in the figure is an audio file created from the moving image file with audio “20040501.aaa”. The file name “20040502” is arbitrarily designated by the user. “Bbb” is an extension of the audio file.
一方、「静止画ファイル+音声ファイル」を作成する場合には、音声付き動画ファイル「20040501.aaa」から任意フレームの静止画データが抽出され、その静止画データが所定の形式でファイル化されると共に、音声付き動画ファイル「20040501.aaa」から音声データが抽出されて所定の形式でファイル化される。そして、これらのファイルに共通のファイル名が用いられてメモリ38に記録される。
On the other hand, when creating a “still image file + audio file”, still image data of an arbitrary frame is extracted from the moving image file with sound “20040501.aaa”, and the still image data is filed in a predetermined format. At the same time, the audio data is extracted from the moving image file with audio “20040501.aaa” and is converted into a file in a predetermined format. Then, a file name common to these files is used and recorded in the
図中の「20040503.ccc」と「20040503.bbb」が前記音声付き動画ファイル「20040501.aaa」から作成された静止画ファイルと音声ファイルである。ファイル名「20040503」はユーザにより任意に指定され、両ファイルに共通に使用される。また、「bbb」は音声ファイルの拡張子、「ccc」は静止画ファイルの拡張子である。この場合、静止画ファイルと音声ファイルのファイル名を共通にしておくことで、これらのファイルを1つの音声付き静止画データとして管理しておくことができ、再生の際に、前記ファイル名「20040503」に従って静止画ファイルと音声ファイルを同時に読み出して再生することができる。 “20040503.ccc” and “20040503.bbb” in the figure are still image files and audio files created from the moving image file with audio “20040501.aaa”. The file name “20040503” is arbitrarily designated by the user and used in common for both files. “Bbb” is the extension of the audio file, and “ccc” is the extension of the still image file. In this case, by making the file names of the still image file and the audio file common, these files can be managed as one still image data with audio, and the file name “20040503” can be used during reproduction. The still image file and the audio file can be read and reproduced at the same time.
このように、音声付き動画撮影によって得られた音声付き動画ファイルから音声データを抽出し、その音声データに基づいて音声ファイルを別ファイルとして作成するようにしたため、動画再生機能を必要とせずに、音声データの再生だけを行うことができる。したがって、例えば動画再生機能を持たない携帯電話などの他の機器に持ち込んで、音声データを再生するような場合に便利である。 In this way, audio data is extracted from a video file with audio obtained by video recording with audio, and an audio file is created as a separate file based on the audio data, so there is no need for a video playback function, Only audio data can be played back. Therefore, it is convenient when the audio data is reproduced by bringing it into another device such as a mobile phone which does not have a moving image reproduction function.
また、音声付き動画ファイルから任意フレームの静止画データと音声データをそれぞれ抽出してファイル化し、これらのファイルを関連付けて記録しておくことで、音声付きの静止画データをファイルの形式で得ることができる。 Also, still image data and audio data of arbitrary frames can be extracted from video files with audio, converted into files, and these files are recorded in association with each other to obtain still image data with audio in the form of a file. Can do.
なお、ここでは、音声付き動画ファイルを元にして作成した音声ファイルや、音声付き静止画データを構成する静止画ファイルと音声ファイルを当該音声付き動画ファイルと同じメモリ38に記録するものとして説明したが、これらの作成ファイルを別の記録媒体に記録することでも良い。
Here, the description has been given on the assumption that the audio file created based on the moving image file with sound and the still image file and the sound file constituting the still image data with sound are recorded in the
また、このデジタルカメラ1の撮影処理によって得られた音声付き動画ファイルを処理対象として用いて音声ファイルの作成処理を行うようにしたが、例えば外部端末から任意の音声付き動画ファイルを取得し、その音声付き動画ファイルを用いて音声ファイルを作成することも可能である。
In addition, the sound file creation processing is performed using the sound-added moving image file obtained by the photographing process of the
(第2の実施形態)
次に、本発明の第2の実施形態について説明する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described.
前記第1の実施形態では、既存の音声付き動画ファイルを用いて音声ファイルを作成するものとしたが、第2の実施形態では、音声付き動画の撮影中に音声ファイルを同時に作成することを特徴とする。 In the first embodiment, an audio file is created using an existing movie file with audio. In the second embodiment, an audio file is created simultaneously during shooting of a movie with audio. And
なお、装置構成について前記第1の実施形態と同様であるため、ここでは処理的に異なる点について説明する。 Since the apparatus configuration is the same as that of the first embodiment, the difference in processing will be described here.
図6は本発明の第2の実施形態におけるデジタルカメラ1の音声付き動画の撮影処理の動作を示すフローチャートである。
FIG. 6 is a flowchart showing the operation of the shooting process of the moving image with sound of the
撮影モードキー10の操作により動画撮影モードが設定されると(ステップC11のYes)、制御部32は、音声ファイルを作成するか否かを判断する(ステップC12)。これは、例えば動画撮影モードの設定時にメニュー画面を表示することで、音声ファイルの作成有無をユーザに選択させることで実現する。
When the moving image shooting mode is set by operating the shooting mode key 10 (Yes in Step C11), the
音声ファイルを作成しない場合、つまり、前記メニュー画面にてユーザが音声ファイルの作成を選択しなかった場合には(ステップC12のNo)、制御部32は、図3に示したような通常の撮影処理により音声付き動画ファイルのみを作成し、これをメモリ38に記録する(ステップC13)。
When the audio file is not created, that is, when the user does not select the creation of the audio file on the menu screen (No in step C12), the
一方、音声ファイルを作成する場合、つまり、前記メニュー画面にてユーザが音声ファイルの作成を選択した場合には(ステップC12のYes)、制御部32は、音声付き動画ファイルとは別に音声ファイルの作成処理を同時に行う。
On the other hand, when creating an audio file, that is, when the user selects creation of an audio file on the menu screen (Yes in step C12), the
すなわち、制御部32は、シャッタキー9が押下操作されたときのタイミングで(ステップC14のYes)、音声付き動画の撮影処理を開始する(ステップC15)。
That is, the
上述したように、この音声付き動画の撮影処理では、CCD23を含む撮像系を通じて得られる動画データを画像処理部37にて順次圧縮処理すると共に、そのときにマイクロホン部7および音声処理部39を通じて得られる音声データを当該動画データに統合する。そして、例えばAVIなどの所定のファイルフォーマットに従って音声付き動画ファイルを作成し、これをメモリ38に記録する(ステップC16)。
As described above, in this shooting process of moving images with sound, moving image data obtained through the imaging system including the
さらに、この音声付き動画ファイルの作成と同時に、前記音声データに基づいて所定形式の音声ファイルを作成し、この音声ファイルを前記音声付き動画ファイルとは別のファイルとしてメモリ38に記録する(ステップC17)。この場合、メモリ38には、例えば音声付き動画ファイル「20040501.aaa」と音声ファイル「20040501.bbb」といったように、2種類のファイルが個別に作成されることになる。
Further, simultaneously with the creation of the moving image file with audio, an audio file of a predetermined format is created based on the audio data, and this audio file is recorded in the
この撮影処理はシャッタキー9が再度押下されるまでの間、継続して行われる。そして、シャッタキー9が再度押下されると(ステップC18のYes)、制御部32はそれを検知することで、ここでの撮影処理を終了する。
This photographing process is continuously performed until the shutter key 9 is pressed again. When the shutter key 9 is pressed again (Yes in step C18), the
このように、音声付き動画の撮影時において、音声付き動画ファイルと同時に音声ファイルを得ることができるので、前記第1の実施形態の効果に加え、音声付き動画ファイルから音声ファイルを作成する手間が省けるといった利点がある。 As described above, since an audio file can be obtained simultaneously with a video file with audio when shooting a video with audio, in addition to the effects of the first embodiment, there is no need to create an audio file from the video file with audio. There is an advantage that it can be omitted.
なお、前記各実施形態では、デジタルカメラを例にして説明したが、本発明はこれに限らず、例えばカメラ付きの携帯電話機など、撮像機能を備えた電子機器であれば、その全ても適用可能である。さらに、前記第1の実施形態のように、既存の音声付き動画データから音声ファイルを作成する手法に関しては、特に撮像機能を必要とせず、例えばパーソナルコンピュータやPDA(Personal Digital Assistant)など、少なくとも動画データの記録機能を備えていれば、どのような装置であっても良い。 In each of the embodiments, the digital camera has been described as an example. However, the present invention is not limited to this, and any electronic device having an imaging function such as a mobile phone with a camera can be applied. It is. Further, as in the first embodiment, the method for creating an audio file from existing video data with audio does not particularly require an imaging function. For example, at least a video such as a personal computer or a PDA (Personal Digital Assistant) is used. Any device may be used as long as it has a data recording function.
その他、本発明は前記各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、前記各実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。 In addition, the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the respective embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.
また、上述した実施形態において記載した手法は、コンピュータに実行させることのできるプログラムとして、例えば磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリなどの記録媒体に書き込んで各種装置に適用したり、そのプログラム自体をネットワーク等の伝送媒体により伝送して各種装置に適用することも可能である。本装置を実現するコンピュータは、記録媒体に記録されたプログラムあるいは伝送媒体を介して提供されたプログラムを読み込み、このプログラムによって動作が制御されることにより、上述した処理を実行する。 In addition, the method described in the above-described embodiment can be applied to a recording medium such as a magnetic disk (flexible disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, etc. as a program that can be executed by a computer. The program can be written and applied to various apparatuses, or the program itself can be transmitted through a transmission medium such as a network and applied to various apparatuses. A computer that implements this apparatus reads a program recorded on a recording medium or a program provided via a transmission medium, and performs the above-described processing by controlling operations by this program.
1…デジタルカメラ、2…ボディ、3…撮影レンズ、4…セルフタイマランプ、5…光学ファインダ窓、6…ストロボ発光部、7…マイクロホン部、8…電源キー、9…シャッタキー、10…撮影モードキー、11…再生モードキー、12…光学ファインダ、13…スピーカ部、14…マクロキー、15…ストロボキー、16…メニュー(MENU)キー、17…リングキー、18…セット(SET)キー、19…表示部、21…モータ、22…レンズ光学系、23…CCD、24…タイミング発生器(TG)、25…ドライバ、26…サンプルホールド回路(S/H)、27…A/D変換器、28…カラープロセス回路、29…DMAコントローラ、30…DRAMインタフェース(I/F)、31…DRAM、32…制御部、33…VRAMコントローラ、34…VRAM、35…デジタルビデオエンコーダ、36…キー入力部、37…画像処理部、38…メモリ、39…音声処理部、40…USBインタフェース(I/F)、41…ストロボ駆動部。
DESCRIPTION OF
Claims (5)
この撮影処理手段によって得られた動画データおよび音声データに基づいて所定形式の音声付き動画ファイルを作成すると同時に、前記音声データに基づいて所定形式の音声ファイルを作成するファイル作成手段と、
このファイル作成手段によって作成された音声付き動画ファイルおよび音声ファイルを個別に記録する記録手段と
を具備したことを特徴とする動画記録装置。 Shooting processing means for shooting a video with sound;
A file creation means for creating a sound file with a predetermined format on the basis of the moving image data and the sound data obtained by the photographing processing means, and simultaneously creating a sound file of a predetermined format based on the sound data;
A moving picture recording apparatus comprising: a moving picture file with sound created by the file creating means; and a recording means for individually recording the sound file.
前記ファイル作成手段は、前記指定手段によって音声ファイルの作成が指定されている場合に音声付き動画ファイルとは別に音声ファイルの作成処理を行うことを特徴とする請求項1記載の動画記録装置。 It further comprises a specifying means for specifying creation of an audio file,
The file creating unit, moving image recording apparatus according to claim 1, wherein separately performing the process of creating the audio file and with sound file if the creation of the audio file specified by the designation unit.
この第1の記録手段に記録された音声付き動画ファイルから音声データを抽出する音声抽出手段と、
前記音声付き動画ファイルに係る動画データに含まれる各フレームの静止画データの中でファイル化する静止画データを指定する指定手段と、
前記音声付き動画ファイルから前記指定手段によって指定されたフレームの静止画データを抽出する静止画抽出手段と、
第2の記録手段と、
前記音声抽出手段によって抽出された音声データに基づいて所定形式の音声ファイルを作成すると共に前記静止画抽出手段によって抽出された静止画データに基づいて所定形式の静止画ファイルを作成し、前記音声ファイルと前記静止画ファイルとを互いに関連付けて前記第2の記録手段に記録するファイル作成手段と
を具備したことを特徴とする動画記録装置。 First recording means in which a moving image file with sound is recorded;
Audio extraction means for extracting audio data from the moving image file with audio recorded in the first recording means;
Designating means for designating still image data to be filed among still image data of each frame included in the moving image data related to the moving image file with sound;
Still image extraction means for extracting still image data of a frame designated by the designation means from the video file with audio;
A second recording means;
On the basis of the still image data extracted by the still image extraction means as well as create an audio file of a predetermined format based on the audio data extracted by the speech extraction means to create a still image file of a predetermined format, the audio file video recording device is characterized in that; and a file creating means for recording the second recording means in association with each other and the still image file with.
音声付き動画の撮影処理を行うステップと、
前記撮影処理によって得られた動画データおよび音声データに基づいて所定形式の音声付き動画ファイルを作成すると同時に、前記音声データに基づいて所定形式の音声ファイルを作成するステップと、
前記作成された音声付き動画ファイルおよび音声ファイルを個別に記録するステップと
を備えたことを特徴とするファイル作成方法。 A file creation method used in a video recording device,
A step of shooting a video with sound,
Creating an audio file with a predetermined format based on the video data and audio data obtained by the shooting process, and simultaneously creating an audio file of a predetermined format based on the audio data;
And a step of individually recording the created moving image file with audio and the created audio file.
前記コンピュータに、
音声付き動画の撮影処理を行う機能と、
前記撮影処理によって得られた動画データおよび音声データに基づいて所定形式の音声付き動画ファイルを作成すると同時に、前記音声データに基づいて所定形式の音声ファイルを作成する機能と、
前記作成された音声付き動画ファイルおよび音声ファイルを個別に記録する機能と
を実現させることを特徴とするプログラム。 A program for creating a file used in a computer for controlling a video recording device,
In the computer,
A function to process video with audio,
A function of creating a predetermined-format audio file based on the video data and audio data obtained by the shooting process, and simultaneously generating a predetermined-format audio file based on the audio data;
A program for realizing the created moving image file with audio and the function of individually recording the audio file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004155878A JP4355857B2 (en) | 2004-05-26 | 2004-05-26 | Movie recording apparatus, file creation method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004155878A JP4355857B2 (en) | 2004-05-26 | 2004-05-26 | Movie recording apparatus, file creation method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005341114A JP2005341114A (en) | 2005-12-08 |
JP4355857B2 true JP4355857B2 (en) | 2009-11-04 |
Family
ID=35494184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004155878A Expired - Fee Related JP4355857B2 (en) | 2004-05-26 | 2004-05-26 | Movie recording apparatus, file creation method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4355857B2 (en) |
-
2004
- 2004-05-26 JP JP2004155878A patent/JP4355857B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005341114A (en) | 2005-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4569389B2 (en) | Imaging apparatus, image processing method, and program | |
JPH104531A (en) | Information processor | |
JP4556195B2 (en) | Imaging device, moving image playback device, and program | |
JP3664335B2 (en) | Information input device | |
JP4967746B2 (en) | Image reproduction apparatus and program | |
US9154758B2 (en) | Digital signal processor and digital image processing apparatus adopting the same with concurrent live view frame and picture image processing | |
JP2004222236A (en) | Image pickup device, image editing method and program | |
JP4349288B2 (en) | Imaging apparatus, image processing method, and program | |
JP4259339B2 (en) | Imaging apparatus, imaging condition setting method and program | |
JP3918228B2 (en) | Information processing apparatus and recording medium | |
JP4535089B2 (en) | Imaging apparatus, image processing method, and program | |
JP2007067660A (en) | Imaging apparatus, and reproduction control method | |
JP4429148B2 (en) | Image photographing and recording apparatus and method | |
JP2006094031A (en) | Imaging apparatus, image processing method, and program | |
JP4345515B2 (en) | Imaging apparatus and program | |
JP4355857B2 (en) | Movie recording apparatus, file creation method, and program | |
JP4910862B2 (en) | Imaging apparatus and computer program therefor | |
JP4671989B2 (en) | camera | |
JP4966680B2 (en) | Video playback device, video playback method, and imaging device | |
JP4438332B2 (en) | ELECTRONIC DEVICE, MONITOR DISPLAY METHOD AND PROGRAM USED FOR THE ELECTRONIC DEVICE | |
JP2006094200A (en) | Imaging apparatus, focusing display method, and program | |
JP2007096809A (en) | Imaging apparatus, moving picture storage method, and moving picture storage program | |
JP4654677B2 (en) | Imaging apparatus, image parameter setting method, and program | |
JP2005347885A (en) | Imaging unit, photographing range adjustment method, and program | |
JP4807446B2 (en) | Imaging apparatus, recording control method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070416 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081216 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090128 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090707 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090720 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120814 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120814 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130814 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |