JP4193691B2 - Imaging apparatus, moving image file recording method, and program - Google Patents

Imaging apparatus, moving image file recording method, and program Download PDF

Info

Publication number
JP4193691B2
JP4193691B2 JP2003433443A JP2003433443A JP4193691B2 JP 4193691 B2 JP4193691 B2 JP 4193691B2 JP 2003433443 A JP2003433443 A JP 2003433443A JP 2003433443 A JP2003433443 A JP 2003433443A JP 4193691 B2 JP4193691 B2 JP 4193691B2
Authority
JP
Japan
Prior art keywords
moving image
memory
file
image file
shooting
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
Application number
JP2003433443A
Other languages
Japanese (ja)
Other versions
JP2005192096A (en
JP2005192096A5 (en
Inventor
敦 渋谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003433443A priority Critical patent/JP4193691B2/en
Publication of JP2005192096A publication Critical patent/JP2005192096A/en
Publication of JP2005192096A5 publication Critical patent/JP2005192096A5/ja
Application granted granted Critical
Publication of JP4193691B2 publication Critical patent/JP4193691B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Description

本発明は、動画を記録/再生及び編集可能なデジタルカメラ等の撮像装置における動画ファイルの記憶技術に関する。   The present invention relates to a moving image file storage technique in an imaging apparatus such as a digital camera capable of recording / reproducing and editing a moving image.

近年、デジタルカメラが急速に普及しているが、半導体メモリに静止画だけでなく動画を記録することのできる、いわゆる半導体カメラも実用化されている。   In recent years, digital cameras have rapidly spread, but so-called semiconductor cameras that can record not only still images but also moving images in a semiconductor memory have been put into practical use.

デジタルカメラ等の電子カメラでは、静止画の画像データが「ファイル名.JPG」のようにファイル形式で記録されるのと同様、動画も「ファイル名.MPG」「ファイル名.AVI」のようにファイル形式で記録される。よく知られているようにJPGはJPEG(Joint Photographic Expert Group)形式のファイルであり、MPGはMPEG(Moving Picture Expert Group)形式のファイルであり、AVI(Audio Video Interleaved)はモーションJPEG形式のファイルである。   In an electronic camera such as a digital camera, the image data of a still image is recorded in a file format such as “file name.JPG”, and the moving image is also expressed as “file name.MPG” or “file name.AVI”. Recorded in file format. As is well known, JPG is a JPEG (Joint Photographic Expert Group) format file, MPG is a MPEG (Moving Picture Expert Group) format file, and AVI (Audio Video Interleaved) is a motion JPEG format file. is there.

しかしながら、従来の電子カメラにあっては、静止画ファイルまたは動画ファイルの識別名(以下「ファイル名」)やフォルダ名(ディレクトリ名ともいう)として、撮影日時や一連番号などから機械的に生成した文字列を使用していたため、ファイル名(またはフォルダ名)に基づく画像ファイルの整理分類が困難であり、とりわけ、動画編集を行う際の手間が大きいという問題点があった。   However, in the conventional electronic camera, it is mechanically generated from the shooting date / time, serial number, etc., as the identification name (hereinafter referred to as “file name”) or folder name (also called directory name) of the still image file or moving image file. Since character strings are used, it is difficult to organize and classify image files based on file names (or folder names), and in particular, there is a problem that a lot of work is required when editing moving images.

そこで、撮影され生成された画像信号中から文字情報を抽出して文字認識し、認識された文字情報を用いて文字列を生成し、生成された文字列をデータファイル名又は当該データファイルを格納するフォルダ名として設定することにより、ファイル名やフォルダ名を一瞥するだけで、その画像ファイルや画像フォルダの内容を容易に推測できるようにし、特に、動画編集を行う際の手間の軽減を図るようにした電子カメラや動画カメラがある(例えば、特許文献1参照)。   Therefore, character information is extracted from the captured and generated image signal, character recognition is performed, a character string is generated using the recognized character information, and the generated character string is stored as a data file name or the data file. By setting the folder name to be used, it is possible to easily guess the contents of the image file or image folder simply by glancing at the file name or folder name. There are electronic cameras and moving image cameras (see, for example, Patent Document 1).

また、動画撮影(再生)はコマ数(動画撮影時間)が多ければ多いほど好適といえるが、従来の電子カメラにあっては、撮影時は、動画バッファに複数枚のマルチ画像を一旦格納した後、順次に圧縮処理して、記録媒体に記録する構成となっていたため、一度に撮影できる動画の最大コマ数(言い換えれば最大撮影時間)がもっぱら動画バッファ(動画メモリ)の大きさで一義的に決まってしまうという問題点と、再生時には、記録媒体に格納された複数枚のマルチ画像を順次に伸長処理して、動画バッファに展開する構成となっていたため、一度に再生できる動画の最大コマ数(言い換えれば最大再生時間)がもっぱら動画バッファの大きさで一義的に決まってしまうという問題点があった。   In addition, it can be said that the larger the number of frames (movie shooting time) is, the better the movie shooting (playback) is. However, in conventional electronic cameras, a plurality of multi-images are temporarily stored in the movie buffer at the time of shooting. After that, since it was configured to sequentially compress and record on the recording medium, the maximum number of movies that can be shot at one time (in other words, the maximum shooting time) is uniquely determined by the size of the movie buffer (movie memory). And the multiple frames stored on the recording medium are decompressed and expanded in the video buffer at the time of playback. There is a problem that the number (in other words, the maximum playback time) is uniquely determined by the size of the video buffer.

そこで、表示中の被写体像が更新される度にその被写体像の縮小画像データを一方の画像バッファの分割セルに順次に格納していき該一方の画像バッファの分割セルが一杯になると他方の画像バッファに切り換えて当該動作を継続するとともに、格納先に指定されていない方の画像バッファの複数個の分割セルに格納された全ての縮小画像データを1つの画像データとみなして圧縮し記録することにより、画像バッファを交互に切り換えながら、縮小画像データのバッファへの格納と、複数個の縮小画像データの圧縮・記録とを同時並行的に行うようにし、動画バッファ(動画メモリ)の大きさに関わらず、動画のコマ数を大幅に増大でき、よって実用上充分な長さの動画撮影時間を達成できるようにした電子カメラが提案されている(例えば、特許文献2参照)。   Therefore, every time the subject image being displayed is updated, the reduced image data of the subject image is sequentially stored in the divided cells of one image buffer, and when the divided cell of one image buffer becomes full, the other image is stored. The operation is continued by switching to the buffer, and all the reduced image data stored in the plurality of divided cells of the image buffer which is not designated as the storage destination are regarded as one image data and compressed and recorded. Thus, while alternately switching the image buffer, the storage of the reduced image data in the buffer and the compression / recording of a plurality of reduced image data are performed in parallel, so that the size of the moving image buffer (moving image memory) is increased. Regardless, electronic cameras have been proposed that can significantly increase the number of frames in a movie and thus achieve a movie shooting time that is sufficiently long for practical use (for example, , See Patent Document 2).

特開2003−37770号公報JP 2003-37770 A 特開2000−50127号公報JP 2000-50127 A

上記特許文献1記載の技術によれば、撮影された画像中の文字情報を基にした文字列をデータファイル名又はフォルダ名として設定されるので、画像ファイルや画像フォルダの内容を容易に推測でき、動画編集を行う際の手間を軽減することができる。   According to the technique described in Patent Document 1, a character string based on character information in a captured image is set as a data file name or folder name, so that the contents of the image file or image folder can be easily estimated. , It is possible to reduce the trouble of editing the video.

また、上記特許文献2に記載の技術によれば、動画メモリの大きさに関わらず、動画のコマ数を大幅に増大でき、よって実用上充分な長さの動画撮影時間を達成できるが、動画の記憶には多くのメモリ容量を必要とするだけでなく、例えば、10分間分のコマ数の画像記憶容量がある記録媒体に、5分以上画像を記録すると編集はできないといったように、一般に、編集を行うためには録画サイズと同程度かそれ以上の空き容量(バッファメモリ)を確保しておかなければならないので、コマ数が多ければ多いほど編集用の空き容量を多く必要とし、結果として撮影コマ数が制約されるといった課題がある。   Further, according to the technique described in Patent Document 2, the number of moving picture frames can be greatly increased regardless of the size of the moving picture memory, so that a practically sufficient moving picture shooting time can be achieved. In addition to requiring a large amount of memory capacity for storage, generally, for example, if an image is recorded for 5 minutes or more on a recording medium having an image storage capacity for 10 minutes, editing cannot be performed. In order to perform editing, it is necessary to secure a free space (buffer memory) that is equal to or larger than the recording size, so the larger the number of frames, the more free space is required for editing. There is a problem that the number of frames is limited.

本発明は上記課題を解決するためになされたものであり、動画記録中に残りの空き容量を越えた撮影を可能とした、撮像装置、動画ファイルの記録方法、及びプログラムの提供を目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an imaging apparatus, a moving image file recording method, and a program that enable shooting exceeding the remaining free space during moving image recording. .

上記課題を解決するために、請求項1に記載の発明では、被写体を連続的に撮影して得られた動画データに対して動画ファイルへの変換処理を施して第1のメモリに記録する撮像装置において、動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影手段と、前記動画撮影手段によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出手段と、前記算出手段により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に警告情報を出力する警告出力手段とを備えたことを特徴とする。 In order to solve the above-described problem, in the invention described in claim 1, imaging that performs conversion processing to a moving image file with respect to moving image data obtained by continuously shooting a subject and records it in the first memory In the apparatus, moving image shooting means for sequentially storing moving image data obtained by sequentially shooting after starting moving image shooting in a second memory in a state before performing conversion processing to the moving image file, and moving image shooting means The size of the video file when the video data stored in the second memory before being converted to the video file is generated by performing the conversion process to the video file, and the first a calculating means for calculating the amount of free space in the first memory, video when generated by performing the conversion process to the moving image file to the moving image data calculated by said calculation means The size of Airu, the relationship between the size of the free space of the first memory, when an editing process for the moving picture file a relationship that can not be performed by utilizing the free space of the memory, a warning information And a warning output means for outputting.

また、請求項2に記載の発明では、更に、前記警告出力手段は、前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズが、該動画ファイルを前記第1のメモリに保存した場合の前記第1のメモリの空き領域よりも大きくなるような場合に警告情報を出力することを特徴とする。 Moreover, in the invention according to claim 2, the warning output means further has a size of the moving image file when the moving image data is generated by performing conversion processing on the moving image data to the moving image file. Warning information is output when it is larger than the free area of the first memory when stored in the first memory.

また、請求項3に記載の発明では、更に、ユーザによる動画ファイル細分化指示を行う細分化指示手段と、前記細分化指示手段による動画ファイル細分化指示があったとき、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを複数作成する細分動画ファイル作成手段と、前記細分動画ファイル作成手段によって作成された複数の動画ファイルを前記第1のメモリに記録する記録手段と、を更に備えたことを特徴とする According to the third aspect of the present invention, further, when there is a segmentation instruction means for instructing a movie file segmentation by a user and a movie file segmentation instruction by the segmentation instruction means, conversion to the movie file is performed. Subdivided moving image file creating means for creating a plurality of moving image files of a predetermined size by collecting moving image data stored in the second memory in a shooting frame in a shooting order in a state before processing; And a recording means for recording the plurality of moving image files created by the first memory in the first memory.

また、請求項4に記載の発明では、被写体を連続的に撮影して得られた動画データに対して動画ファイルへの変換処理を施して第1のメモリに記録する撮像装置において、動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影手段と、前記動画撮影手段によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出手段と、前記算出手段により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを順次作成する細分動画ファイル作成手段と、前記細分動画ファイル作成手段によって作成された複数の動画ファイルを前記第1のメモリに記録する記録手段と、を備えたことを特徴とする。 According to a fourth aspect of the present invention, there is provided an imaging apparatus that performs conversion processing to a moving image file for moving image data obtained by continuously shooting a subject and records the moving image data in a first memory. Moving image data obtained by sequentially shooting after starting the moving image shooting means for sequentially storing the moving image data in the second memory in a state before the conversion processing to the moving image file; The size of the moving image file and the free space in the first memory when the moving image data stored in the second memory is converted into a moving image file before being converted. a calculating means for calculating the size of the size of the video file when generated by performing the conversion process to the moving image file to the moving image data calculated by said calculation means, Relationship between the serial first amount of free space in the memory, when an editing process for the moving picture file a relationship that can not be performed by utilizing the free space of the memory, the conversion process to the moving image file A subdivision video file creation unit that sequentially creates a video file of a predetermined size by grouping a predetermined number of frames of video data stored in the second memory in a shooting order before being applied, and created by the subdivision video file creation unit And recording means for recording the plurality of moving image files recorded in the first memory.

また、請求項5に記載の発明では、更に、前記細分動画ファイル作成手段は、各動画ファイルのサイズが前記第1のメモリの空き領域を利用して編集処理を実行できるサイズになるように作成することを特徴とする。 Further, in the invention according to claim 5, the subdivided moving image file creating means further creates the moving image file so that the size of each moving image file can be executed using the free area of the first memory. It is characterized by doing.

また、請求項6に記載の発明では、更に、前記記録手段による動画ファイルの前記第1のメモリへの記録後、動画ファイル自動作成を報知する報知手段を備えたことを特徴とする。 Further, the invention described in claim 6 is characterized by further comprising notification means for notifying the automatic creation of a moving image file after recording the moving image file in the first memory by the recording means.

また、請求項7に記載の発明では、更に、前記記録手段は、前記細分動画ファイル作成手段によって作成された複数の動画ファイルを順次前記第1のメモリに記録する際に、それぞれの動画ファイルに共通のファイル名と連番を付けて記録することを特徴とする。 Further, in the invention according to claim 7, when the recording unit records a plurality of moving image files created by the subdivided moving image file creating unit sequentially in the first memory, It is characterized by recording with a common file name and serial number.

また、請求項8に記載の発明では、更に、ユーザによる動画ファイル統合指示を行う統合指示手段と、前記統合指示手段による動画ファイル統合指示があったとき、前記第1のメモリに記録されている1セット分の動画を構成する複数の動画ファイルを読み出して順次動画データを再生して前記第2のメモリに記憶する動画データ再生手段と、前記第2のメモリに記憶した動画データをまとめて1つの動画ファイルを作成する統合動画ファイル作成手段と、を備え、前記記録手段は前記統合動画ファイル作成手段によって作成された動画ファイルを前記第1のメモリに上書き記録することを特徴とする。 Further, in the invention according to claim 8, when there is an integration instruction means for giving a moving image file integration instruction by a user and a moving image file integration instruction by the integration instruction means, it is recorded in the first memory. 1 summarizes the moving picture data reproducing means for storing and reproducing the sequential video data by reading a plurality of moving image files constituting the video of one set in the second memory, the video data stored in the second memory Integrated moving image file creating means for creating two moving image files, wherein the recording means overwrites and records the moving image file created by the integrated moving image file creating means in the first memory.

また、請求項9に記載の発明では、更に、前記統合指示手段はシャッターキーであり、ユーザによる動画ファイル統合指示はシャッターキーの半押しによって行われることを特徴とする。 In the invention described in claim 9, the integration instruction means is a shutter key, and the moving image file integration instruction by the user is performed by half-pressing the shutter key.

また、請求項10に記載の発明では、被写体を撮影してその画像データを生成し、該画像データを所定のデータファイルとして第1のメモリに記録する撮像装置の動画撮影方法であって、動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影ステップと、前記動画撮影ステップによって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施した場合のサイズと、前記第1のメモリの空き領域のサイズとを算出する算出ステップと、前記算出ステップにより算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、警告情報を出力する警告出力ステップと、を備えたことを特徴とする。
また、請求項11に記載の発明では、被写体を撮影してその画像データを生成し、該画像データを所定のデータファイルとして第1のメモリに記録する撮像装置の動画ファイルの記録方法であって、動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影ステップと、前記動画撮影ステップによって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出ステップと、前記算出ステップにより算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを順次作成する細分動画ファイル作成ステップと、前記細分動画ファイル作成ステップによって作成された複数の動画ファイルを前記第1のメモリに記録する記録ステップと、を備えたことを特徴とする。
According to a tenth aspect of the present invention, there is provided a moving image photographing method for an image pickup apparatus, wherein a subject is photographed to generate image data, and the image data is recorded in a first memory as a predetermined data file. A moving image shooting step of sequentially storing moving image data obtained by sequentially shooting after the start of shooting in a second memory in a state before the conversion processing to the moving image file, and the moving image file by the moving image shooting step The size of the moving image data stored in the second memory before being converted to the moving image file, the size of the free space in the first memory, A calculating step for calculating the moving image file, and a moving image file generated when the moving image data calculated by the calculating step is converted into the moving image file. Warning information is output when the relationship between the size of the first memory and the size of the free area in the first memory is such that editing processing for the moving image file cannot be executed using the free area of the memory. A warning output step.
According to an eleventh aspect of the present invention, there is provided a moving image file recording method for an image pickup apparatus, wherein a subject is photographed to generate image data, and the image data is recorded in a first memory as a predetermined data file. The moving image shooting step of sequentially storing the moving image data obtained by sequentially shooting after the start of moving image shooting in the second memory in a state before the conversion processing to the moving image file, and the moving image shooting step The size of the moving image file when the moving image data stored in the second memory before being converted to the moving image file is generated by performing the converting process to the moving image file, and the first A calculation step of calculating a size of a free area of the memory, and a conversion process to the moving image file is performed on the moving image data calculated by the calculating step. When the relationship between the size of the moving image file when generated and the size of the free area in the first memory is such that editing processing for the moving image file cannot be executed using the free space in the memory Further, a subdivision video file creation step for sequentially creating a video file of a predetermined size by collecting the video data stored in the second memory in the shooting order by a predetermined number of frames in a state before the conversion to the video file is performed. And a recording step of recording a plurality of moving image files created in the subdivided moving image file creating step in the first memory.

また、請求項12に記載の発明では、動画撮影が可能な撮像装置が備えるコンピュータを、動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影処理と、前記動画撮影処理によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出処理と、前記算出処理により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、警告情報を出力する警告出力処理として機能させることを特徴とする。
また、請求項13に記載の発明では、動画撮影が可能な撮像装置が備えるコンピュータを、動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影処理と、前記動画撮影処理によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出処理と、前記算出処理により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを順次作成する細分動画ファイル作成処理と、前記細分動画ファイル作成処理によって作成された複数の動画ファイルを前記第1のメモリに記録する記録処理として機能させることを特徴とする。
In the invention according to claim 12, the state of the moving image data obtained by sequentially capturing the computer included in the imaging device capable of capturing a moving image after the start of the moving image capturing before the conversion process into the moving image file is performed The moving image shooting process sequentially stored in the second memory and the moving image data stored in the second memory in a state before being converted into the moving image file by the moving image shooting process. A calculation process for calculating a size of a moving image file when generated by performing a conversion process to a file, and a size of a free area in the first memory; and the moving image data calculated by the calculation process The relationship between the size of the moving image file when it is generated by performing the conversion process to the moving image file and the size of the free area in the first memory is an edit to the moving image file. When made the physical relationship that can not be performed by utilizing the free space of the memory, wherein the function as the warning output processing for outputting the warning information.
Further, in the invention according to claim 13, a state before moving image data obtained by sequentially shooting a computer included in an imaging apparatus capable of shooting a moving image after the start of moving image shooting is converted into the moving image file. The moving image shooting process sequentially stored in the second memory and the moving image data stored in the second memory in a state before being converted into the moving image file by the moving image shooting process. A calculation process for calculating a size of a moving image file when generated by performing a conversion process to a file, and a size of a free area in the first memory; and the moving image data calculated by the calculation process The relationship between the size of the moving image file when it is generated by performing the conversion process to the moving image file and the size of the free area in the first memory is an edit to the moving image file. If the memory cannot be executed using the free area of the memory, the moving image data stored in the second memory in a state before the conversion to the moving image file is performed in a predetermined frame. A subdivision video file creation process that sequentially creates a video file of a predetermined size by collecting them in order of shooting, and a recording process that records a plurality of video files created by the subdivision video file creation process in the first memory It is characterized by that.

本発明によれば動画ファイルを記録してもあとから動画編集などの処理ができなくなるようなことを予め防止できる。 According to the present invention, even when recording a moving image file, it can be prevented in advance that such can not be processed, such as video editing later.

デジタルカメラ等の撮像装置で記録媒体に記録サイズと同じかそれ以上の空き容量がないと編集できないが、ファイルサイズを小さくきりながら記録すれば編集は可能となる。但し、ファイルサイズを小さくきりながら記録すると長時間のファイルを作成することができなくなる。そこで、本発明では下記各実施形態に示す処理を行うことにより動画記録中に残りの空き容量を越えた撮影を可能とする。以下、本発明をデジタルカメラに適用した場合の各実施形態について図面を参照して説明する。   Editing cannot be performed with an imaging device such as a digital camera unless the recording medium has a free space equal to or larger than the recording size, but editing is possible if recording is performed while keeping the file size small. However, if recording is performed while keeping the file size as small as possible, a long-time file cannot be created. Therefore, in the present invention, by performing the processing shown in the following embodiments, it is possible to shoot beyond the remaining free space during moving image recording. Hereinafter, each embodiment when the present invention is applied to a digital camera will be described with reference to the drawings.

(実施形態1)
本実施形態ではデジタルカメラで動画記録中に残りの空き容量を越えた撮影を続けようとした場合に、何らかのアラームを出してユーザに撮影の継続か中止かを選択させる。
(Embodiment 1)
In the present embodiment, when the digital camera tries to continue shooting exceeding the remaining free space during moving image recording, an alarm is issued to allow the user to select whether to continue or stop shooting.

図1は、デジタルカメラの外観図である。デジタルカメラ100は正面側(図1(a))に撮像レンズ111、光学ファインダ112及び測光センサ113を有している。また、デジタルカメラ100の背面(図1(b))には液晶モニタ画面41、光学ファインダ112、モードの切換えを行なうモード切換えスイッチ31、液晶モニタスイッチ32、メニューキー34、カーソルキー35、動画撮影開始ボタン38、表示切替え用のDISPボタン39等のスイッチ及びキーが設けられている。また、上面(図1(c))にはズームレバー33、シャッターキー36、ストロボ設定キー37、及び電源ボタン91が設けられ、側部にはパーソナルコンピュータ(以下、パソコン)やモデム等の外部装置とUSBケーブルを接続する場合に用いるUSB端子接続部95が設けられている。   FIG. 1 is an external view of a digital camera. The digital camera 100 has an imaging lens 111, an optical viewfinder 112, and a photometric sensor 113 on the front side (FIG. 1A). Also, on the back of the digital camera 100 (FIG. 1B), there is a liquid crystal monitor screen 41, an optical viewfinder 112, a mode change switch 31 for switching modes, a liquid crystal monitor switch 32, a menu key 34, a cursor key 35, and a movie shooting. Switches and keys such as a start button 38 and a DISP button 39 for switching display are provided. A zoom lever 33, a shutter key 36, a strobe setting key 37, and a power button 91 are provided on the top surface (FIG. 1C), and external devices such as a personal computer (hereinafter referred to as a personal computer) and a modem are provided on the side. And a USB terminal connection unit 95 used for connecting the USB cable.

シャッターキー36は、静止画撮影時に2段押しされるものである。1段目で露出等を設定し、2段目で画像をキャプチャ(記録)する。また、本実施形態では動画撮影開始後に編集用の空き容量不足が生じた場合で、ユーザによる画像ファイル細分指示(チャプタ指示)等を行う場合にシャッターキー36の半押しによるチャプタ指示入力手段としても用いられる。   The shutter key 36 is pressed two steps during still image shooting. Exposure etc. are set at the first stage, and an image is captured (recorded) at the second stage. Further, in this embodiment, when there is insufficient free space for editing after the start of moving image shooting, chapter instruction input means by half-pressing the shutter key 36 when a user performs an image file subdivision instruction (chapter instruction) or the like. Used.

なお、警告や通知等を出力する報知手段として表示部40のほかにスピーカ等の音声出力装置を設けるようにしてもよい。また、正面等に赤外線通信やブルートゥース等の近接通信用の光送受口や無線通信用アンテナ、GPS受信アンテナを設けるようにしてもよい。   In addition to the display unit 40, a sound output device such as a speaker may be provided as a notification unit that outputs a warning, a notification, or the like. Further, an optical transmission / reception port for near field communication such as infrared communication or Bluetooth, a radio communication antenna, or a GPS reception antenna may be provided on the front surface or the like.

図2は、図1に示したデジタルカメラの回路構成例を示すブロック図である。図2で、デジタルカメラ100は、光学系11、信号変換部12、信号処理部13、DRAM14、制御部20、操作部30、表示部40、画像記録部50、及び電源90を有している。光学系11、信号変換部12、信号処理部13は被写体像を取り込んで画像データを生成する撮像手段に相当する。   FIG. 2 is a block diagram illustrating a circuit configuration example of the digital camera illustrated in FIG. In FIG. 2, the digital camera 100 includes an optical system 11, a signal conversion unit 12, a signal processing unit 13, a DRAM 14, a control unit 20, an operation unit 30, a display unit 40, an image recording unit 50, and a power supply 90. . The optical system 11, the signal conversion unit 12, and the signal processing unit 13 correspond to an imaging unit that captures a subject image and generates image data.

光学系11は、撮像レンズ111、測光センサ113、ズーム機構114、自動合焦(AF)機構115及び自動絞り機構116や自動露出機構(AE)117等を含み、撮像レンズ111を介して集光された被写体像の光束を後段の撮像素子(CCD)上に結像させる。   The optical system 11 includes an imaging lens 111, a photometric sensor 113, a zoom mechanism 114, an automatic focusing (AF) mechanism 115, an automatic aperture mechanism 116, an automatic exposure mechanism (AE) 117, and the like, and condenses through the imaging lens 111. The luminous flux of the subject image thus formed is formed on a subsequent image sensor (CCD).

信号変換部12は、A/D変換器等の信号変換回路等を含み、また、前段の光学系11を介して結像した画像をCCDによって電気信号に変換し、その電気信号をデジタルデータに変換して一定の周期で出力する。   The signal conversion unit 12 includes a signal conversion circuit such as an A / D converter, and also converts an image formed through the preceding optical system 11 into an electric signal by the CCD, and converts the electric signal into digital data. Convert and output at a fixed period.

信号処理部13は、静止画撮像モード時には信号変換部12からの出力を処理して、デジタルの輝度、色差マルチプレクス信号(Y,Cb,Crデータ)等の信号成分を得て、Y,Cb,Crデータ(以下、画像データ)をDRAM14に転送し、DRAM14の静止画バッファ領域に記憶する。また、スルー画像を表示するために、DRAM14に取込んだ画像データを間引いて表示部40に送る。シャッターキー36が全押しされるとその時点の画像データを表示部40に送って静止画表示させる。   In the still image capturing mode, the signal processing unit 13 processes the output from the signal conversion unit 12 to obtain signal components such as digital luminance and color difference multiplexed signals (Y, Cb, Cr data), and Y, Cb , Cr data (hereinafter referred to as image data) is transferred to the DRAM 14 and stored in the still image buffer area of the DRAM 14. Further, in order to display the through image, the image data taken into the DRAM 14 is thinned out and sent to the display unit 40. When the shutter key 36 is fully pressed, the image data at that time is sent to the display unit 40 to display a still image.

また、動画撮像モード時には信号変換部12からの出力を処理して、デジタルの輝度、色差マルチプレクス信号(Y,Cb,Crデータ)等の信号成分を得て、Y,Cb,Crデータを所定の動画像(以下、動画)ファイルサイズ(例えば、約200KB/秒)に変換させて動画像データ(以下、動画データ)としてDRAM14に転送し、DRAM14の動画像バッファ(以下、動画バッファ)領域に順次記憶する。   In the moving image capturing mode, the output from the signal conversion unit 12 is processed to obtain signal components such as digital luminance and color difference multiplexed signals (Y, Cb, Cr data), and Y, Cb, Cr data is predetermined. Video data (hereinafter referred to as moving image) file size (for example, about 200 KB / second) is transferred to the DRAM 14 as moving image data (hereinafter referred to as moving image data) and stored in the dynamic image buffer (hereinafter referred to as moving image buffer) area of the DRAM 14. Store sequentially.

また、信号処理部13は、記録保存の際にDRAM14に書込まれている画像データを読み出して、圧縮処理を施し、再生時に画像記録部50の保存メモリに保存記録されている圧縮画像データに伸張処理を施して画像データを再生する圧縮伸張部を備えている。また、圧縮画像データを高速で伸張する高速伸張部を備えるように構成してもよい。なお、画像データの圧縮/伸張方式としては、例えば、静止画像についてはJPEG圧縮方式により、動画についてMPEG形式或いはAVI形式によることができるが、これらに限定されない。なお、画像圧縮/伸張処理には専用の画像処理チップを用いることもできる。また、信号処理部13には圧縮伸張部を設けず、プログラムで行うようにすることもできる。   The signal processing unit 13 reads the image data written in the DRAM 14 at the time of recording and storage, performs compression processing, and converts the compressed image data stored and recorded in the storage memory of the image recording unit 50 during reproduction. A compression / decompression unit that performs decompression processing and reproduces image data is provided. Further, a high-speed expansion unit that expands the compressed image data at high speed may be provided. As a compression / decompression method of image data, for example, a JPEG compression method can be used for still images and an MPEG format or an AVI format can be used for moving images, but is not limited thereto. Note that a dedicated image processing chip can be used for the image compression / decompression processing. Further, the signal processing unit 13 may be provided with a program without providing a compression / decompression unit.

DRAM14は作業用メモリとして用いられ、撮像された静止画像を一時的に記憶する画像バッファ領域や所定時間分の動画像を一時的に記憶する動画バッファ領域や画像の圧縮/伸張時や画像合成時の作業用領域等が確保されている。実施例において、動画バッファ領域には、例えば、動画ファイルサイズを約2000KB/秒とした場合、5分間分の動画データを記憶することができる。つまり、この場合、1セットに(=1度に)撮影可能な最長時間(最長撮影許容時間)は5分となる。なお、最長撮影許容時間は5分に限定されるものではない。   The DRAM 14 is used as a working memory, an image buffer area for temporarily storing captured still images, a moving image buffer area for temporarily storing moving images for a predetermined time, an image compression / decompression, and an image composition The working area is secured. In the embodiment, for example, when the moving image file size is about 2000 KB / second, moving image data for 5 minutes can be stored in the moving image buffer area. That is, in this case, the longest time (the longest photographing allowable time) that can be photographed in one set (= one time) is 5 minutes. Note that the longest photographing allowable time is not limited to 5 minutes.

制御部20はCPU、RAM、プログラム格納用ROMおよびタイマ等の計時機構を有したマイクロプロセッサ構成を有しており、CPUは、上述の各回路および図示しない電源切換えスイッチ等にバスラインを介して接続し、プログラム格納用ROMに格納されている制御プログラムによりデジタルカメラ100全体の制御を行なうと共に、操作部30からの状態信号に対応してプログラム格納用ROMに格納されている各モードに対応の処理プログラムを取り出して、デジタルカメラ100の各機能の実行制御を行う。また、動画撮影時の動作プログラムに基づく制御により、主電源が投入されると撮影モードに移行してスルー画像を表示し、動画撮影開始ボタン38が押されると、コンティニアスAFによる連続自動合焦や自動絞り、自動露出等の撮影状態の最適化を開始させ動画撮影を開始させる。   The control unit 20 has a microprocessor configuration having a timing mechanism such as a CPU, a RAM, a program storage ROM, and a timer. The CPU is connected to the above-described circuits and a power supply switch (not shown) via a bus line. The entire digital camera 100 is controlled by the control program stored in the program storage ROM, and each mode stored in the program storage ROM corresponding to the status signal from the operation unit 30 is supported. A processing program is taken out and execution control of each function of the digital camera 100 is performed. Further, when the main power is turned on by the control based on the operation program at the time of moving image shooting, the mode is changed to the shooting mode to display a through image, and when the moving image shooting start button 38 is pressed, continuous automatic focusing by continuous AF is performed. And start optimizing shooting conditions such as automatic aperture and automatic exposure, and start moving image shooting.

また、制御部20は、動画撮影時に、保存メモリの空き容量が録画ファイルサイズを下回りそうな場合、表示部40に空き容量不足アラーム表示指示信号を送出する。また、表示部40に図4に示すような空き容量不足アラームが表示された後、ユーザがチャプタ指示(ファイル再作成指示)入力を行うと、画像記録部50に、現在、保存メモリに記録されている動画ファイルの大きさを細分した動画ファイル(チャプタファイル)を作成して記録するように指示する。   In addition, the control unit 20 transmits an insufficient free space alarm display instruction signal to the display unit 40 when the free space of the storage memory is likely to be smaller than the recording file size during moving image shooting. Further, after a free space shortage alarm as shown in FIG. 4 is displayed on the display unit 40, when the user inputs a chapter instruction (file recreation instruction), the image recording unit 50 currently records it in the storage memory. An instruction is given to create and record a moving image file (chapter file) in which the size of the moving image file is subdivided.

操作部30はモード切替えスイッチ31、液晶モニタスイッチ32、ズームレバー33、メニューキー34、カーソルキー35、シャッターキー36、及びストロボ設定キー37、動画撮影開始ボタン38、DISPボタン39等のボタンやスイッチを構成部分としており、これらのキーやボタン或いはスイッチが操作されると状態信号や設定値が制御部20に送出される。   The operation unit 30 includes buttons and switches such as a mode switch 31, a liquid crystal monitor switch 32, a zoom lever 33, a menu key 34, a cursor key 35, a shutter key 36, a strobe setting key 37, a moving image shooting start button 38, and a DISP button 39. When these keys, buttons or switches are operated, status signals and setting values are sent to the control unit 20.

表示部40は、ビデオエンコーダ、VRAM(図示せず)および液晶モニタ画面(LCD)41等から構成されており、制御部20の表示制御により、撮像時のスルー画像、及び再生時の再生画像、処理選択時の選択用メニュー(或いはアイコン)などの表示信号を所定の表示形式に変換して液晶モニタ画面41に出力する。   The display unit 40 includes a video encoder, a VRAM (not shown), a liquid crystal monitor screen (LCD) 41, and the like. Through display control of the control unit 20, a through image at the time of imaging, a reproduced image at the time of reproduction, A display signal such as a selection menu (or icon) at the time of processing selection is converted into a predetermined display format and output to the liquid crystal monitor screen 41.

画像記録部50は、撮影画像(キャプチャ画像ともいう)を不揮発的に記録するためのフラッシュメモリ等の半導体記憶デバイス(以下、保存メモリ)を有し、制御部20の制御に基づき保存メモリへの画像ファイルや画像情報等の書込み及び読出しを行う。なお、画像記録部50は、例えば、メモリカードのような取り外し可能な保存メモリを実装するように構成されていてもよい。   The image recording unit 50 includes a semiconductor storage device (hereinafter referred to as a storage memory) such as a flash memory for recording a captured image (also referred to as a capture image) in a non-volatile manner. Write and read image files and image information. Note that the image recording unit 50 may be configured to mount a removable storage memory such as a memory card, for example.

制御部20は空き領域を常時監視し、チャプタ指示信号を受け取るとチャプタファイル(細分した動画ファイル)を作成して画像記録部50の保存メモリ500の画像記録領域502(図3)に記録させると共に、新たに書込まれる画像ファイルについてもチャプタファイルのファイルサイズにして記録領域に書込ませる(図3参照)。   The control unit 20 constantly monitors the free area and, upon receiving a chapter instruction signal, creates a chapter file (subdivided video file) and records it in the image recording area 502 (FIG. 3) of the storage memory 500 of the image recording unit 50. The newly written image file is also written in the recording area with the file size of the chapter file (see FIG. 3).

測光センサ113はデジタルカメラ100の周辺光量を計測して制御部20に計測値を送る。   The photometric sensor 113 measures the amount of light around the digital camera 100 and sends the measured value to the control unit 20.

ズーム機構114はユーザによるズームレバー33のスライド操作に基づいて焦点距離を望遠又は広角側に変化させる。   The zoom mechanism 114 changes the focal length to the telephoto or wide-angle side based on the slide operation of the zoom lever 33 by the user.

自動合焦機構115は、制御部20の制御下でいわゆるAF(オートフォーカス)による合焦のためのレンズの移動等を行う。自動絞り機構116は測光センサ113によって計測された周辺光量を基に制御部20の制御下で決定される絞り値に従って絞りを行う。自動露出機構117は測光センサ113によって計測された周辺光量を基に制御部20の制御下で決定される露出値(CCDに取り入れる光量)に従ってシャッタースピードを決定する。   The automatic focusing mechanism 115 moves the lens for focusing by so-called AF (autofocus) under the control of the control unit 20. The automatic diaphragm mechanism 116 performs the diaphragm according to the diaphragm value determined under the control of the control unit 20 based on the peripheral light amount measured by the photometric sensor 113. The automatic exposure mechanism 117 determines the shutter speed according to the exposure value (the light amount taken into the CCD) determined under the control of the control unit 20 based on the peripheral light amount measured by the photometric sensor 113.

なお、自動合焦機構115は、制御部20の制御下で、静止画撮影時にはシャッターキー36の半押しでAF動作を開始し、動画撮影時には動画撮影開始ボタン38が押されるとコンティニアスAFによる追従を開始する。また、前述したように、絞り値は静止画撮影に適した値と動画撮影に適した値があるので、制御部20は、静止画撮影モード時には絞り値を静止画撮影に適したように決定し、動画撮影モード時には絞り値を動画撮影に適したように決定する。従って、自動絞り機構116による絞りは静止画撮影時と動画撮影時では異なる。   Under the control of the control unit 20, the automatic focusing mechanism 115 starts AF operation by half-pressing the shutter key 36 during still image shooting, and when moving image shooting start button 38 is pressed during moving image shooting, the continuous AF is performed. Start following. Further, as described above, since the aperture value has a value suitable for still image shooting and a value suitable for movie shooting, the control unit 20 determines the aperture value to be suitable for still image shooting in the still image shooting mode. In the movie shooting mode, the aperture value is determined so as to be suitable for movie shooting. Accordingly, the aperture by the automatic aperture mechanism 116 is different between still image shooting and moving image shooting.

図3は、画像記録部50の保存メモリ500の画像記録領域に書込まれる動画ファイルと編集用空き領域の関係を示す概念図であり、図3(a)は記録領域全体のレイアウトを示し、図3(b)は全動画像を1画像ファイルとした例を示し、図3(c)は所定数の動画像を1画像ファイルとした複数のチャプタファイルを記憶するように構成した例を示す。また、図4はアラーム表示画面の一実施例を示す。   FIG. 3 is a conceptual diagram showing the relationship between the moving image file written in the image recording area of the storage memory 500 of the image recording unit 50 and the free space for editing. FIG. 3A shows the layout of the entire recording area. FIG. 3B shows an example in which all moving images are made into one image file, and FIG. 3C shows an example in which a plurality of chapter files in which a predetermined number of moving images are made into one image file are stored. . FIG. 4 shows an embodiment of the alarm display screen.

図3で、符号500は保存メモリ500、符号501は管理情報領域、符号502は画像記録領域、符号503は画像記録領域502に記録された動画画像ファイル(以下、動画ファイル)、符号504は画像記録領域の空き領域、符号503−1、・・・503−nはn個に細分され記録される動画ファイル(チャプタファイル)を示す。   In FIG. 3, reference numeral 500 denotes a storage memory 500, reference numeral 501 denotes a management information area, reference numeral 502 denotes an image recording area, reference numeral 503 denotes a moving image file (hereinafter referred to as a moving image file) recorded in the image recording area 502, and reference numeral 504 denotes an image. An empty area of the recording area, reference numerals 503-1,... 503-n indicate moving image files (chapter files) that are subdivided into n pieces and recorded.

なお、通常、画像記録領域502には静止画像ファイルや、複数組の動画像ファイルが混在するが、以下の説明では説明の単純化のため、画像記録領域502には1セット動画データからなる動画ファイル、つまり、1回の動画撮影による一連の動画データが記録されるものとする。   Normally, a still image file or a plurality of sets of moving image files are mixed in the image recording area 502, but in the following description, a moving image composed of one set of moving image data is included in the image recording area 502 for simplicity of explanation. It is assumed that a file, that is, a series of moving image data by one moving image shooting is recorded.

図3(a)に示すように保存メモリ500は、日時、画像ファイルのサイズ、画質等のような画像情報を記録する管理ファイルやホルダリスト等を記録する管理情報領域501と画像記録領域502からなり、画像記録領域502は静止画ファイル(図示せず)や動画ファイル503及び空き領域504からなる。   As shown in FIG. 3A, the storage memory 500 includes a management information area 501 for recording image information such as date and time, image file size, image quality, a holder list, and the like, and an image recording area 502. Thus, the image recording area 502 includes a still image file (not shown), a moving image file 503, and a free area 504.

デジタルカメラ100の通常動作では動画撮影後、撮影された動画データがMPEG形式やAVI形式の1つの画像ファイルとしてまとめられ、図3(b)に示すように動画ファイル503として画像記録領域502に書込まれる。   In the normal operation of the digital camera 100, after moving image shooting, the captured moving image data is collected as one image file in MPEG format or AVI format, and written in the image recording area 502 as a moving image file 503 as shown in FIG. Is included.

ここで、画像記録領域502が320×240ピクセルの動画像6000コマ分を圧縮した画像ファイルを記録する容量があるとすると、動画ファイル503のメモリサイズ>空き領域504のサイズの場合(つまり、動画ファイルに含まれているコマ数>3000コマ以上の場合)は動画の画像編集ができなくなるため、図4に示すようなアラーム表示61を行って、ユーザにチャプタファイルを作成するか否かの指示62の入力を促す。   Here, assuming that the image recording area 502 has a capacity for recording an image file obtained by compressing 6000 frames of 320 × 240 pixels moving images, the memory size of the moving image file 503> the size of the free area 504 (that is, the moving image When the number of frames included in the file> 3000 frames or more), it becomes impossible to edit the image of the moving image. Therefore, an alarm display 61 as shown in FIG. 4 is displayed to instruct the user whether to create a chapter file. 62 is prompted.

ユーザが動画ファイル作成の指示を行うと、デジタルカメラ100は、図3(c)に示すように動画ファイル503を1000コマ(又は、所定撮影時間数分)毎に切り分けてチャプタファイル503−1〜503−4を作成して画像記録領域502に書込む。なお、図3(c)の例では、チャプタファイルにまとめられるコマ数を1000としたがこれに限定されない。   When the user gives an instruction to create a moving image file, the digital camera 100 divides the moving image file 503 every 1000 frames (or a predetermined number of shooting hours) as shown in FIG. 503-4 is created and written in the image recording area 502. In the example of FIG. 3C, the number of frames collected in the chapter file is 1000, but the present invention is not limited to this.

これにより、チャプタ動画ファイル503−1〜503−4のそれぞれのファイルサイズは空き領域504’を超えない。つまり、iを整数とするとき、「画像記録領域502のメモリ容量−(チャプタファイルのファイルサイズ)×i=編集用空き容量>チャプタファイル」のメモリ容量の範囲で、動画ファイルの記録を行うことができることとなる。   Thereby, the file size of each of the chapter moving image files 503-1 to 503-4 does not exceed the free area 504 '. That is, when i is an integer, a moving image file is recorded within the range of “memory capacity of image recording area 502− (file size of chapter file) × i = free space for editing> chapter file”. Will be able to.

次に、デジタルカメラ100の動作を説明する。図5は、撮影モード時のデジタルカメラ100の動作例を示すフローチャートであり、図示の例では動画撮影時の動作プログラムに基づく動作に相当する部分について示している。また、ステップS6、S7、S12〜S15は本発明の動画ファイルの記録方法に基づく動作に相当する。この撮影動作プログラムは、主電源をオンにしたとき(図1の電源スイッチ91をオンにしたとき)に実行を開始する。なお、一般的な撮像・画像処理の詳細については記載を省略してある。   Next, the operation of the digital camera 100 will be described. FIG. 5 is a flowchart illustrating an operation example of the digital camera 100 in the shooting mode. In the illustrated example, a portion corresponding to an operation based on an operation program during moving image shooting is illustrated. Steps S6, S7, and S12 to S15 correspond to operations based on the moving image file recording method of the present invention. The photographing operation program starts to be executed when the main power is turned on (when the power switch 91 in FIG. 1 is turned on). Note that details of general imaging / image processing are omitted.

図5で、ユーザが電源スイッチを押して主電源をオンにすると、まず、制御部20は操作部30からの状態信号を調べ、ユーザがモード切換スイッチ31を撮影モードに切換えているか否かを調べ、撮影モードに切換えている場合にはステップS2に進み、その他のキーが操作された場合は選択された撮影モードに移行する(ステップS1)。   In FIG. 5, when the user presses the power switch to turn on the main power, first, the control unit 20 checks the status signal from the operation unit 30 and checks whether the user has switched the mode switch 31 to the shooting mode. When the mode is switched to the shooting mode, the process proceeds to step S2, and when another key is operated, the mode is shifted to the selected shooting mode (step S1).

制御部20は、光学系11、信号変換部12、及び信号処理部13を制御して取り込んだ被写体像の画像データをDRAM14に送り、静止画像バッファ領域に一時記憶させると共に取り込んだ画像データをスルー画像用に間引き処理して表示部40へ送り、スルー画像を画面に表示させる(ステップS2)。   The control unit 20 controls the optical system 11, the signal conversion unit 12, and the signal processing unit 13 to send the image data of the captured subject image to the DRAM 14, temporarily stores it in the still image buffer area, and through the captured image data. Thinning processing for images is performed and sent to the display unit 40, and a through image is displayed on the screen (step S2).

また、制御部20は操作部30からの状態信号を調べ、ユーザが動画撮影開始ボタン38を押した場合にはステップS4に進み、その他のキーが操作された場合は選択された撮影処理に移行する(ステップS3)。   Further, the control unit 20 checks the status signal from the operation unit 30, and proceeds to step S4 when the user presses the moving image shooting start button 38, and shifts to the selected shooting process when any other key is operated. (Step S3).

動画撮影開始ボタン38が押された場合は、制御部20は、自動合焦機構115、自動絞り機構116、自動露出機構117等の光学系機構を制御して、コンティニアスAFによる連続自動合焦や自動絞り、自動露出等の撮影状態の最適化を開始させると共に(ステップS4)、光学系11、信号変換部12、及び信号処理部13を制御して所定時間間隔で連続して被写体像を間引いて動画データとしてDRAM14に送り、動画バッファ領域に順次追加記憶させる(ステップS5)。   When the moving image shooting start button 38 is pressed, the control unit 20 controls the optical system mechanisms such as the automatic focusing mechanism 115, the automatic aperture mechanism 116, the automatic exposure mechanism 117, and the continuous automatic focusing by the continuous AF. And optimizing the shooting state such as automatic aperture and automatic exposure (step S4), and controlling the optical system 11, the signal conversion unit 12, and the signal processing unit 13 to continuously capture subject images at predetermined time intervals. The data is thinned out and sent to the DRAM 14 as moving image data, which is sequentially stored in the moving image buffer area (step S5).

制御部20は、DRAM14に記憶されている動画データを信号処理部13の圧縮伸張部でまとめて圧縮させて1つの画像ファイルを作成した場合のファイルサイズと空き領域のメモリサイズを算出する。空き領域のサイズは既知の画像記録領域502のメモリサイズから算出されたファイルサイズを差し引くことによって求めることができる。また、ファイルサイズは、例えば、DRAM14に記憶されている動画データの合計サイズと圧縮する際の圧縮率からも求めることができる(ステップS6)。   The control unit 20 calculates the file size and the memory size of the free area when one moving image data stored in the DRAM 14 is compressed together by the compression / decompression unit of the signal processing unit 13 to create one image file. The size of the empty area can be obtained by subtracting the calculated file size from the memory size of the known image recording area 502. The file size can also be obtained from, for example, the total size of the moving image data stored in the DRAM 14 and the compression rate at the time of compression (step S6).

次に、制御部20は算出した動画ファイルサイズ(=A)と算出した空き領域(=B)を比較し、A>BのときはステップS12に進み、A≦BのときはステップS8に進む(ステップS7)。   Next, the control unit 20 compares the calculated moving image file size (= A) with the calculated free space (= B). When A> B, the process proceeds to step S12, and when A ≦ B, the process proceeds to step S8. (Step S7).

制御部20は1セット分の最長撮影可能時間(実施例では1セットあたり5分)を経過したか否かを調べ、経過した場合はステップS10に進み(ステップS8)、1セット分の最長撮影可能時間を経過していない場合は、再び動画撮影開始ボタン38が押されたか否かを調べ、押された場合は動画撮影ストップ指示があったものとしてステップS10に進み、そうでない場合はステップS5に戻る(ステップS9)。   The control unit 20 checks whether or not the longest shootable time for one set (5 minutes per set in the embodiment) has elapsed, and if it has elapsed, the process proceeds to step S10 (step S8). If the allowable time has not elapsed, it is checked again whether or not the moving image shooting start button 38 has been pressed. If it has been pressed, it is determined that there has been a moving image shooting stop instruction, and the process proceeds to step S10. Return to (step S9).

1セット当たりの最長撮影可能時間を経過した場合又は動画撮影開始ボタン38が再度押された場合は、信号処理部13の圧縮伸張部で、DRAM14の動画バッファ領域に保持されている複数の動画データに圧縮処理を施させ画像ファイルを作成させて撮影情報等の画像情報と共に保存メモリ500の画像記憶領域502に記録させる(ステップS10)。   When the maximum shootable time per set has elapsed or when the moving image shooting start button 38 is pressed again, a plurality of moving image data held in the moving image buffer area of the DRAM 14 by the compression / decompression unit of the signal processing unit 13 Is subjected to compression processing to create an image file and recorded in the image storage area 502 of the storage memory 500 together with image information such as shooting information (step S10).

動画ファイルの記録が終わると、制御部20は、DRAM14の静止画像バッファ領域及び動画バッファ領域をクリアすると共に、操作部30からの状態信号を調べ、ユーザがモード切替えスイッチ31等の操作による他のモードへの切替えや終了操作を行った場合は撮影モードを終了し、そうでない場合はステップS2に戻る(ステップS11)。   When the recording of the moving image file is finished, the control unit 20 clears the still image buffer region and the moving image buffer region of the DRAM 14 and checks the status signal from the operation unit 30, and the user performs other operations by operating the mode change switch 31 and the like. If the mode is switched or the end operation is performed, the photographing mode is ended, and if not, the process returns to step S2 (step S11).

上記ステップS7でA>Bのときは、制御部20は表示部40にアラームデータを送って図4に示したようなアラーム表示画面60を表示させユーザの指示(この例ではシャッターキー36の半押し)を促す(ステップS12)。   When A> B in step S7, the control unit 20 sends alarm data to the display unit 40 to display the alarm display screen 60 as shown in FIG. 4 and instructed by the user (in this example, half of the shutter key 36). Press) (step S12).

制御部20は操作部30からの信号を調べ、シャッターキー36が半押しされた場合はチャプタファイル作成のためにステップS14に進み、所定時間経過してもシャッターキー36の半押しがされない場合はステップS8に戻る(ステップS13)。   The control unit 20 examines the signal from the operation unit 30. If the shutter key 36 is half-pressed, the process proceeds to step S14 to create a chapter file. If the shutter key 36 is not half-pressed even after a predetermined time has elapsed. The process returns to step S8 (step S13).

上記ステップS13でシャッターキー36が半押しされた場合は、制御部20はDRAM14に記憶されている動画データを所定フレーム数ずつ撮影順にまとめて信号処理部13の圧縮伸張部でそれぞれ圧縮させ、所定サイズの動画ファイルを複数作成し(ステップS14)、作成した動画ファイルを撮影情報等の画像情報と共に共通ファイル名称にシリアル番号を付けて保存メモリ500の画像記録領域502に順次記録させ、動画ファイルの記録が終わると、ステップS5に戻って続けて動画撮影を可能とする。なお、ファイル名称は前述した特許文献1に記載の技術により、撮影され生成された画像信号中から文字情報を抽出して文字認識し、認識された文字情報を用いて文字列を生成し、生成した文字列を共通ファイル名称とすることにより、自動的に共通ファイル名称をつけることができる。なお、従前のように機械的に生成した文字列のうち、先頭ファイルのものを共通名称とするようにしてもよい(ステップS15)。   When the shutter key 36 is pressed halfway in step S13, the control unit 20 collects the moving image data stored in the DRAM 14 in a predetermined number of frames in the shooting order and compresses them by the compression / decompression unit of the signal processing unit 13, respectively. A plurality of size moving image files are created (step S14), and the created moving image files are sequentially recorded in the image recording area 502 of the storage memory 500 with a serial number added to the common file name together with image information such as shooting information. When the recording is completed, the process returns to step S5 to enable moving image shooting. The file name is generated by extracting the character information from the image signal that has been captured and generated by using the technique described in Patent Document 1 described above, recognizing the character, and generating a character string using the recognized character information. By using the character string as a common file name, the common file name can be automatically assigned. Of the character strings mechanically generated as before, the first file may have a common name (step S15).

上記図5のフローチャートの構成により、動画撮影時に撮影した動画データをまとめて作成する動画ファイルのファイルサイズが空き容量のサイズより大きくなった場合に、ユーザの指示により、動画ファイルを細分して複数のチャプタファイルを作成しそのファイルサイズを空き容量のサイズより小さくできるので、画像記録領域の容量の2分の1を超えて動画を撮影・記録してもあとから動画編集ができなくなるようなことを予め防止できる。   With the configuration of the flowchart of FIG. 5 above, when the file size of a moving image file that collectively creates moving image data shot at the time of moving image shooting is larger than the size of the free space, the moving image file is divided into a plurality according to a user instruction. If you create a chapter file and make the file size smaller than the size of the free space, you cannot edit the movie later even if you record and record a movie that exceeds half the capacity of the image recording area. Can be prevented in advance.

なお、デジタルカメラ100に音声出力装置を設けた場合には、上記ステップS12で行う表示部40へのアラーム表示に代えて、音声出力装置からアラームメッセージを出力するようにしてもよい。   If the digital camera 100 is provided with an audio output device, an alarm message may be output from the audio output device instead of displaying an alarm on the display unit 40 in step S12.

(実施形態2)
上記実施形態1では、デジタルカメラで動画記録中に残りの空き容量を越えた撮影を続けようとした場合に、何らかのアラームを出してユーザに撮影の継続か中止かを選択させるようにしたが、本実施形態では、アラームを出すことなく、自動的にデジタルカメラ内でチャプタファイルを作成する。なお、本実施形態では、カメラの外観図、回路構成例、及び画像ファイルと編集用空き領域の関係は、上述した図1〜図3と同様とする。
(Embodiment 2)
In Embodiment 1 described above, when attempting to continue shooting beyond the remaining free space during video recording with a digital camera, some alarm is issued to allow the user to select whether to continue or stop shooting. In this embodiment, a chapter file is automatically created in the digital camera without issuing an alarm. In the present embodiment, the external view of the camera, the circuit configuration example, and the relationship between the image file and the free space for editing are the same as those in FIGS.

図6は撮影モード時のデジタルカメラ100の動作例を示すフローチャートであり、ステップS1〜S7の動作は図5のステップS1〜S7の動作と同様であり、図6では図5のフローチャートと異なる部分について示している。また、図7はチャプタ作成通知の表示例を示す図である。   FIG. 6 is a flowchart showing an example of the operation of the digital camera 100 in the shooting mode. The operations in steps S1 to S7 are the same as those in steps S1 to S7 in FIG. 5, and FIG. 6 differs from the flowchart in FIG. Shows about. FIG. 7 is a diagram showing a display example of a chapter creation notification.

図5のフローチャートのステップS7で、A>Bのときは、制御部20は操作部30からの信号を調べ、シャッターキー36が半押しされた場合はチャプタファイル作成のためにDRAM14に記憶されている動画データを所定フレーム数ずつ撮影順にまとめて信号処理部13の圧縮伸張部でそれぞれ圧縮させ、所定サイズの動画ファイルを複数作成し(ステップS12)、作成した動画ファイル(チャプタファイル)を撮影情報等の画像情報と共に共通ファイル名称にシリアル番号を付けて保存メモリ500の画像記憶領域502に順次記録させる。なお、ファイル名称は前述した特許文献1に記載の技術により、撮影され生成された画像信号中から文字情報を抽出して文字認識し、認識された文字情報を用いて文字列を生成し、生成した文字列を共通ファイル名称とすることにより、自動的に共通ファイル名称をつけることができる。なお、従前のように機械的に生成した文字列のうち、先頭ファイルのものを共通名称とするようにしてもよい(ステップS13)。   In step S7 of the flowchart of FIG. 5, when A> B, the control unit 20 checks the signal from the operation unit 30, and if the shutter key 36 is half-pressed, it is stored in the DRAM 14 for chapter file creation. A predetermined number of frames are collected in the order of shooting and compressed by the compression / decompression unit of the signal processing unit 13 to create a plurality of movie files of a predetermined size (step S12), and the created movie file (chapter file) is recorded as shooting information. A serial number is attached to the common file name together with the image information such as the image information and the like and sequentially recorded in the image storage area 502 of the storage memory 500. The file name is generated by extracting the character information from the image signal that has been captured and generated by using the technique described in Patent Document 1 described above, recognizing the character, and generating a character string using the recognized character information. By using the character string as a common file name, the common file name can be automatically assigned. Of the character strings generated mechanically as before, the first file may have a common name (step S13).

動画ファイルの記録が終わると図7に示したようなチャプタファイル自動作成通知を表示部40に所定時間(例えば、10秒間)表示してから図5のステップS5に戻って続けて動画撮影を可能とする(ステップS14)。   When the recording of the moving image file ends, the chapter file automatic creation notification as shown in FIG. 7 is displayed on the display unit 40 for a predetermined time (for example, 10 seconds), and then the process returns to step S5 in FIG. (Step S14).

上記図6のフローチャートの構成により、動画撮影時に撮影した動画データをまとめて作成する動画ファイルのファイルサイズが空き容量のサイズより大きくなっても、自動的に動画ファイルを細分して細分後の各動画ファイルのファイルサイズを空き容量のサイズより小さくできるので、画像記録領域の2分の1を超えて動画を撮影・記録してもあとから動画編集ができなくなるようなことを予め防止できる。   With the configuration of the flowchart of FIG. 6 above, even if the file size of the movie file that is created collectively from the movie data shot during movie shooting is larger than the size of the free space, the movie file is automatically subdivided and Since the file size of the moving image file can be made smaller than the size of the free space, it is possible to prevent in advance that even if a moving image is shot / recorded exceeding one half of the image recording area, the moving image cannot be edited later.

なお、デジタルカメラ100に音声出力装置を設けた場合には、上記ステップS14で行う表示部40への自動作成通知表示に代えて、音声出力装置から自動作成通知メッセージを出力するようにしてもよい。   When the digital camera 100 is provided with an audio output device, an automatic generation notification message may be output from the audio output device instead of the automatic generation notification display on the display unit 40 performed in step S14. .

(実施形態3)
上記実施形態1、実施形態2ではチャプタを作成することにより、編集用の空き領域の大きさを超えないように、1セット分の画像データから所定サイズの複数の動画ファイル(チャプタファイル)を作成して保存メモリ500に記録するようにしたが、本実施形態ではユーザが動画ファイルを編集する意思がない場合は、保存メモリ500に記録されているチャプタファイルを1つの動画ファイルにまとめて記録し直す。
(Embodiment 3)
In the first embodiment and the second embodiment, by creating chapters, a plurality of moving image files (chapter files) of a predetermined size are created from image data for one set so as not to exceed the size of the free area for editing. However, in this embodiment, when the user does not intend to edit the moving image file, the chapter files recorded in the saving memory 500 are collectively recorded as one moving image file. cure.

図8は、1セット分の動画ファイルをまとめて1つの動画ファイルを作成する場合のデジタルカメラの動作例を示すフローチャートである。   FIG. 8 is a flowchart illustrating an operation example of the digital camera when one set of moving image files is collected to create one moving image file.

図8で、ユーザが電源スイッチ91を押して主電源をオンにすると、まず、制御部20は操作部30からの状態信号を調べ、ユーザがモード切換スイッチ31を再生モードに切換えているか否かを調べ、再生モードに切換えている場合にはステップT2に進み、その他のキーが操作された場合は他のモード処理に移行する(ステップT1)。   In FIG. 8, when the user presses the power switch 91 to turn on the main power, the control unit 20 first checks the status signal from the operation unit 30 to determine whether or not the user has switched the mode switch 31 to the reproduction mode. If the mode is switched to the reproduction mode, the process proceeds to step T2, and if another key is operated, the process proceeds to another mode process (step T1).

制御部20は、画像記録部50を制御して保存メモリ500の画像記録領域502に記録した1セット分のチャプタファイルの組のうちの最初の画像ファイルを読み出して信号処理部13の圧縮伸張部で伸張処理を施させて動画データを再生し、表示部40に表示させる(ステップT2)。   The control unit 20 controls the image recording unit 50 to read out the first image file of the set of chapter files for one set recorded in the image recording area 502 of the storage memory 500 and to compress and decompress the signal processing unit 13. Then, the extension process is performed to reproduce the moving image data and display it on the display unit 40 (step T2).

次に、制御部20は操作部30からの状態信号を調べ、ユーザがシャッターキー36を押した場合にはステップT4に進み、その他のキーが操作された場合は選択された再生処理に移行する(ステップT3)。   Next, the control unit 20 examines the status signal from the operation unit 30, and proceeds to step T4 if the user presses the shutter key 36, and proceeds to the selected reproduction process if any other key is operated. (Step T3).

制御部20は、画像記録部50を制御して保存メモリ500の画像記録領域502に記録したチャプタファイル(細分された動画ファイル)のうち、上記ステップT2で再生した動画ファイルを含む1セット分の動画ファイルを順次読み出して信号処理部13の圧縮伸張部で伸張処理を施させて1セット分の動画データを再生させ、DRAM14に順次追加記憶し(ステップT4)、1セット分の動画データの再生が終わるとDRAM14に追加記憶した1セット分の動画データをまとめて信号処理部13の圧縮伸張部で圧縮処理を施させ、1つの動画ファイルを作成し(ステップT5)、作成した各動画ファイルに撮影情報やファイル名等の画像情報と共に保存メモリ500の画像記憶領域502に順次記録させる(ステップT6)。   The control unit 20 controls the image recording unit 50 to store one set of the chapter files (subdivided moving image files) recorded in the image recording area 502 of the storage memory 500 including the moving image file reproduced in step T2. The moving image file is sequentially read out and decompressed by the compression / decompression unit of the signal processing unit 13 to reproduce one set of moving image data, and additionally stored in the DRAM 14 (step T4), and one set of moving image data is reproduced. When the process is finished, one set of moving image data additionally stored in the DRAM 14 is collected and subjected to compression processing by the compression / decompression unit of the signal processing unit 13 to create one moving image file (step T5). The image information such as the shooting information and the file name is sequentially recorded in the image storage area 502 of the storage memory 500 (step T6).

上記図8のフローチャートによる構成により、編集しない動画(ユーザが編集する意思のない動画)についてはチャプタファイルを1つの画像ファイルにまとめて保存メモリ500に記憶し直すことができるので空き容量を増やすことができ、更に多くの撮影画像を記録することができ、メモリの使用効率が向上する。   With the configuration according to the flowchart of FIG. 8 described above, it is possible to collect chapter files as one image file and store them again in the storage memory 500 for a video that is not edited (a video that the user does not intend to edit). In addition, more photographed images can be recorded, and the memory usage efficiency is improved.

なお、上記図8では保存メモリに記録されているチャプタファイルを再生モード時に1つの動画にまとめる例について述べたが、チャプタファイル1つの動画にまとめるタイミングは再生モード時に限定されない。例えば、上記実施形態1又は実施形態2で記録処理が終わった後に、上記図8のステップT2以降の動作を行うように構成してもよい。   Note that although FIG. 8 illustrates an example in which chapter files recorded in the storage memory are combined into one moving image in the playback mode, the timing of combining chapter files into one moving image is not limited to that in the playback mode. For example, after the recording process is completed in the first embodiment or the second embodiment, the operation after step T2 in FIG. 8 may be performed.

また、上記図5、図6、及び図8のフローチャートの説明では画像圧縮/伸張処理は信号処理部13の圧縮伸張部で行うようにしたが、信号処理部13には圧縮伸張部を設けず、プログラムで行うようにすることもできる。   In the description of the flowcharts of FIGS. 5, 6, and 8, the image compression / decompression processing is performed by the compression / decompression unit of the signal processing unit 13, but the signal processing unit 13 is not provided with a compression / decompression unit. It can also be done programmatically.

以上、本発明の幾つかの実施例について説明したが本発明は上記各実施例に限定されるものではなく、種々の変形実施が可能であることはいうまでもない。例えばデジタルカメラや撮像装置という用語は、電子カメラの他、カメラ付き携帯電話や撮像部を有する情報機器などにも適用し得るものである。   Although several embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and it goes without saying that various modifications can be made. For example, the terms “digital camera” and “imaging device” can be applied to an electronic camera, a mobile phone with a camera, an information device having an imaging unit, and the like.

デジタルカメラの外観図である。It is an external view of a digital camera. 図1に示したデジタルカメラの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the digital camera shown in FIG. 画像記録部の保存メモリに書込まれる画像ファイルと編集用空き領域の関係を示す概念図である。It is a conceptual diagram which shows the relationship between the image file written in the preservation | save memory of an image recording part, and the edit free area. アラーム表示画面の一実施例を示す図である。It is a figure which shows one Example of an alarm display screen. 動画撮影時のデジタルカメラの動作例を示すフローチャートである。It is a flowchart which shows the operation example of the digital camera at the time of video recording. 動画撮影時のデジタルカメラの動作例を示すフローチャートである。It is a flowchart which shows the operation example of the digital camera at the time of video recording. 表示画面の一実施例を示す図である。It is a figure which shows one Example of a display screen. 1セット分の動画ファイルをまとめて1つの動画ファイルを作成する場合のデジタルカメラの動作例を示すフローチャートである。It is a flowchart which shows the operation example of a digital camera in the case of creating one moving image file by putting together one set of moving image files.

符号の説明Explanation of symbols

13 信号処理部(動画記憶手段)
14 DRAM(ワークメモリ)
20 制御部(メモリサイズ算出手段、比較手段)、
36 シャッターキー(細分指示手段、統合指示手段)
38 動画撮影開始/終了ボタン
40 表示部(警告出力手段)
50 画像記録部(記録手段)
60 アラーム表示画面
61 アラーム表示
100 デジタルカメラ(撮像装置)
500 保存メモリ
502 画像記憶領域
503 動画ファイル
503−1、503−2、503−3、503−4 チャプタファイル(細分化された動画ファイル)
13 Signal processing unit (moving image storage means)
14 DRAM (work memory)
20 control unit (memory size calculation means, comparison means),
36 Shutter key (subdivision instruction means, integration instruction means)
38 Movie shooting start / end button 40 Display section (warning output means)
50 Image recording unit (recording means)
60 Alarm display screen 61 Alarm display 100 Digital camera (imaging device)
500 Storage Memory 502 Image Storage Area 503 Movie File 503-1, 503-2, 503-3, 503-4 Chapter File (Subdivided Movie File)

Claims (13)

被写体を連続的に撮影して得られた動画データに対して動画ファイルへの変換処理を施して第1のメモリに記録する撮像装置において、
動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影手段と、
前記動画撮影手段によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出手段と、
前記算出手段により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に警告情報を出力する警告出力手段と、
を備えたことを特徴とする撮像装置。
In an imaging apparatus that performs conversion processing to a moving image file on moving image data obtained by continuously photographing a subject and records the converted data in a first memory.
Moving image shooting means for sequentially storing moving image data obtained by sequentially shooting after the start of moving image shooting in the second memory in a state before the conversion processing into the moving image file;
The size of the moving image file when the moving image data stored in the second memory is converted into the moving image file and generated before the moving image capturing unit converts the moving image file into the moving image file. And calculating means for calculating the size of the free area of the first memory;
The relationship between the size of the moving image file generated when the moving image data calculated by the calculating means is converted into the moving image file and the size of the free area in the first memory is the moving image data. Warning output means for outputting warning information in a case where the editing process for the file cannot be executed using the free area of the memory;
An imaging apparatus comprising:
前記警告出力手段は、前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズが、該動画ファイルを前記第1のメモリに保存した場合の前記第1のメモリの空き領域よりも大きくなるような場合に警告情報を出力することを特徴とする請求項1記載の撮像装置。 The warning output means is configured such that a size of a moving image file when the moving image data is generated by converting the moving image data into the moving image file is the first when the moving image file is stored in the first memory . 2. The image pickup apparatus according to claim 1, wherein warning information is output when the free space is larger than a free area of the memory. ユーザによる動画ファイル細分化指示を行う細分化指示手段と、
前記細分化指示手段による動画ファイル細分化指示があったとき、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを複数作成する細分動画ファイル作成手段と、
前記細分動画ファイル作成手段によって作成された複数の動画ファイルを前記第1のメモリに記録する記録手段と、
を更に備えたことを特徴とする請求項1又は2記載の撮像装置。
Subdivision instruction means for instructing a user to subdivide a video file;
When there is an instruction to subdivide the moving image file by the subdivision instruction means, the moving image data stored in the second memory in a state before the conversion processing to the moving image file is put together in a shooting order by a predetermined number of frames. Subdivided video file creation means for creating a plurality of video files of a predetermined size;
Recording means for recording a plurality of moving picture files created by the subdivided moving picture file creating means in the first memory;
Further imaging apparatus according to claim 1, wherein further comprising a.
被写体を連続的に撮影して得られた動画データに対して動画ファイルへの変換処理を施して第1のメモリに記録する撮像装置において、
動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影手段と、
前記動画撮影手段によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出手段と、
前記算出手段により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを順次作成する細分動画ファイル作成手段と、
前記細分動画ファイル作成手段によって作成された複数の動画ファイルを前記第1のメモリに記録する記録手段と、
を備えたことを特徴とする撮像装置。
In an imaging apparatus that performs conversion processing to a moving image file on moving image data obtained by continuously photographing a subject and records the converted data in a first memory.
Moving image shooting means for sequentially storing moving image data obtained by sequentially shooting after the start of moving image shooting in the second memory in a state before the conversion processing into the moving image file;
The size of the moving image file when the moving image data stored in the second memory is converted into the moving image file and generated before the moving image capturing unit converts the moving image file into the moving image file. And calculating means for calculating the size of the free area of the first memory;
The relationship between the size of the moving image file generated when the moving image data calculated by the calculating means is converted into the moving image file and the size of the free area in the first memory is the moving image data. The moving image data stored in the second memory in a state before the conversion processing to the moving image file is performed when the editing processing on the file cannot be executed using the free area of the memory. Subtracting a predetermined number of frames in the order of shooting and sequentially creating a moving image file of a predetermined size;
Recording means for recording a plurality of moving picture files created by the subdivided moving picture file creating means in the first memory;
An imaging apparatus comprising:
前記細分動画ファイル作成手段は、各動画ファイルのサイズが前記第1のメモリの空き領域を利用して編集処理を実行できるサイズになるように作成することを特徴とする請求項3又は4記載の撮像装置。5. The subdivided moving image file creating means creates the moving image file so that the size of each moving image file becomes a size that allows an editing process to be executed using an empty area of the first memory. Imaging device. 前記記録手段による動画ファイルの前記第1のメモリへの記録後、動画ファイル自動作成を報知する報知手段を備えたことを特徴とする請求項4〜5の何れかに記載の撮像装置。 The imaging apparatus according to claim 4, further comprising a notifying unit for notifying the automatic creation of a moving image file after the moving image file is recorded in the first memory by the recording unit. 前記記録手段は、前記細分動画ファイル作成手段によって作成された複数の動画ファイルを順次前記第1のメモリに記録する際に、それぞれの動画ファイルに共通のファイル名と連番を付けて記録することを特徴とする請求項3〜6の何れかに記載の撮像装置。 The recording means records a plurality of moving picture files created by the subdivided moving picture file creating means in order to record each moving picture file with a common file name and serial number when sequentially recording them in the first memory. The imaging apparatus according to claim 3, wherein: 更に、ユーザによる動画ファイル統合指示を行う統合指示手段と、
前記統合指示手段による動画ファイル統合指示があったとき、前記第1のメモリに記録されている1セット分の動画を構成する複数の動画ファイルを読み出して順次動画データを再生して前記第2のメモリに記憶する動画データ再生手段と、
前記第2のメモリに記憶した動画データをまとめて1つの動画ファイルを作成する統合動画ファイル作成手段と、
を備え、
前記記録手段は前記統合動画ファイル作成手段によって作成された動画ファイルを前記第1のメモリに上書き記録することを特徴とする請求項3〜7の何れかに記載の撮像装置。
Furthermore, an integration instruction means for instructing a video file integration by the user,
When there is a moving image file integration instruction by the integration instructing means, a plurality of moving image files constituting a set of moving images recorded in the first memory are read and the moving image data is sequentially reproduced to reproduce the second moving image data . Video data playback means stored in a memory;
Integrated moving image file creating means for creating moving image data by collecting moving image data stored in the second memory;
With
The imaging apparatus according to claim 3, wherein the recording unit overwrites and records the moving image file created by the integrated moving image file creating unit in the first memory.
前記統合指示手段はシャッターキーであり、ユーザによる動画ファイル統合指示はシャッターキーの半押しによって行われることを特徴とする請求項8記載の撮像装置。   9. The imaging apparatus according to claim 8, wherein the integration instruction means is a shutter key, and the moving image file integration instruction by the user is made by half-pressing the shutter key. 被写体を撮影してその画像データを生成し、該画像データを所定のデータファイルとして第1のメモリに記録する撮像装置の動画ファイルの記録方法であって
動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影ステップと、
前記動画撮影ステップによって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出ステップと、
前記算出ステップにより算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、警告情報を出力する警告出力ステップと
を備えたことを特徴とする動画ファイルの記録方法。
By photographing the object to generate the image data, a recording method of a moving image file of an image pickup device for recording in the first memory the image data as the predetermined data file,
A moving image shooting step of sequentially storing moving image data obtained by sequentially shooting after the start of moving image shooting in the second memory in a state before the conversion processing into the moving image file;
The size of the moving image file when the moving image data stored in the second memory is converted to the moving image file and generated before being converted to the moving image file by the moving image shooting step. And a calculating step for calculating a size of an empty area of the first memory;
The relationship between the size of the moving image file generated when the moving image data calculated by the calculating step is converted into the moving image file and the size of the free space in the first memory is the moving image data. A warning output step for outputting warning information when there is a relationship in which editing processing for a file cannot be executed using the free area of the memory;
Recording method of the moving image file, characterized in that it comprises a.
被写体を撮影してその画像データを生成し、該画像データを所定のデータファイルとして第1のメモリに記録する撮像装置の動画ファイルの記録方法であって
動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影ステップと、
前記動画撮影ステップによって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出ステップと、
前記算出ステップにより算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを順次作成する細分動画ファイル作成ステップと、
前記細分動画ファイル作成ステップによって作成された複数の動画ファイルを前記第1のメモリに記録する記録ステップと
を備えたことを特徴とする動画ファイルの記録方法。
By photographing the object to generate the image data, a recording method of a moving image file of an image pickup device for recording in the first memory the image data as the predetermined data file,
A moving image shooting step of sequentially storing moving image data obtained by sequentially shooting after the start of moving image shooting in the second memory in a state before the conversion processing into the moving image file;
The size of the moving image file when the moving image data stored in the second memory is converted to the moving image file and generated before being converted to the moving image file by the moving image shooting step. And a calculating step for calculating a size of an empty area of the first memory;
The relationship between the size of the moving image file generated when the moving image data calculated by the calculating step is converted into the moving image file and the size of the free space in the first memory is the moving image data. The moving image data stored in the second memory in a state before the conversion processing to the moving image file is performed when the editing processing on the file cannot be executed using the free area of the memory. Subtracting a predetermined number of frames in the order of shooting to create a video file of a predetermined size in order,
A recording step of recording a plurality of moving image files created in the subdivided moving image file creating step in the first memory;
Recording method of the moving image file, characterized in that it comprises a.
動画撮影が可能な撮像装置が備えるコンピュータを
動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影処理と、
前記動画撮影処理によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出処理と、
前記算出処理により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、警告情報を出力する警告出力処理と
して機能させることを特徴とするプログラム。
A computer equipped with an imaging device capable of shooting a movie ,
A moving image shooting process in which moving image data obtained by sequentially shooting after the start of moving image shooting is sequentially stored in the second memory in a state before the conversion process to the moving image file;
The size of the moving image file when the moving image data stored in the second memory is converted into the moving image file and generated before the moving image shooting process is performed. And a calculation process for calculating the size of the free area of the first memory;
The relationship between the size of the moving image file and the size of the free area in the first memory when the moving image data calculated by the calculation processing is converted into the moving image file is generated. A warning output process for outputting warning information when the editing process for the file cannot be executed using the free area of the memory;
A program characterized by making it function .
動画撮影が可能な撮像装置が備えるコンピュータを
動画撮影の開始後に順次撮影して得られる動画データを、前記動画ファイルへの変換処理を施す前の状態で第2のメモリに順次記憶していく動画撮影処理と、
前記動画撮影処理によって前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されていく動画データに対して動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとを算出する算出処理と、
前記算出処理により算出される前記動画データに対して前記動画ファイルへの変換処理を施して生成した場合の動画ファイルのサイズと、前記第1のメモリの空き領域のサイズとの関係が、該動画ファイルに対する編集処理を該メモリの空き領域を利用して実行することができない関係になる場合に、前記動画ファイルへの変換処理を施す前の状態で前記第2のメモリに記憶されている動画データを所定フレーム数ずつ撮影順にまとめて所定サイズの動画ファイルを順次作成する細分動画ファイル作成処理と、
前記細分動画ファイル作成処理によって作成された複数の動画ファイルを前記第1のメモリに記録する記録処理と
して機能させることを特徴とするプログラム。
A computer equipped with an imaging device capable of shooting a movie ,
A moving image shooting process in which moving image data obtained by sequentially shooting after the start of moving image shooting is sequentially stored in the second memory in a state before the conversion process to the moving image file;
The size of the moving image file when the moving image data stored in the second memory is converted into the moving image file and generated before the moving image shooting process is performed. And a calculation process for calculating the size of the free area of the first memory;
The relationship between the size of the moving image file and the size of the free area in the first memory when the moving image data calculated by the calculation processing is converted into the moving image file is generated. The moving image data stored in the second memory in a state before the conversion processing to the moving image file is performed when the editing processing on the file cannot be executed using the free area of the memory. Subdivided video file creation processing that creates a video file of a predetermined size by grouping a predetermined number of frames in the shooting order,
A recording process for recording a plurality of video files created by the subdivided video file creation process in the first memory;
A program characterized by making it function .
JP2003433443A 2003-12-26 2003-12-26 Imaging apparatus, moving image file recording method, and program Expired - Fee Related JP4193691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003433443A JP4193691B2 (en) 2003-12-26 2003-12-26 Imaging apparatus, moving image file recording method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003433443A JP4193691B2 (en) 2003-12-26 2003-12-26 Imaging apparatus, moving image file recording method, and program

Publications (3)

Publication Number Publication Date
JP2005192096A JP2005192096A (en) 2005-07-14
JP2005192096A5 JP2005192096A5 (en) 2006-09-28
JP4193691B2 true JP4193691B2 (en) 2008-12-10

Family

ID=34790825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003433443A Expired - Fee Related JP4193691B2 (en) 2003-12-26 2003-12-26 Imaging apparatus, moving image file recording method, and program

Country Status (1)

Country Link
JP (1) JP4193691B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4906685B2 (en) * 2007-11-14 2012-03-28 キヤノン株式会社 Imaging apparatus, control method thereof, and program
JP4675411B2 (en) 2008-12-17 2011-04-20 ソニー・エリクソン・モバイルコミュニケーションズ株式会社 Mobile phone terminal with camera function and control method thereof
JP5587351B2 (en) * 2012-01-10 2014-09-10 キヤノン株式会社 Imaging apparatus and control method thereof
CN110008179B (en) * 2019-04-02 2023-06-16 深圳创维汽车智能有限公司 File storage method, automobile data recorder and readable storage medium

Also Published As

Publication number Publication date
JP2005192096A (en) 2005-07-14

Similar Documents

Publication Publication Date Title
JP4441882B2 (en) Imaging device, display control method, program
US7417667B2 (en) Imaging device with function to image still picture during moving picture imaging
JP4730667B2 (en) Automatic regeneration method and apparatus
JP2004312495A (en) Image processing program and image processor
JP2006345296A (en) Image display device and sorting method
JP4189820B2 (en) Imaging apparatus and image recording method
JP2004007436A (en) Electronic camera, image recording apparatus, image recording method, and program
JP4041407B2 (en) Digital camera
JP2005117369A (en) Moving image recorder, moving image reproducer and digital camera
US7606470B2 (en) Image pickup apparatus having moving picture photographing function and moving picture photographing method thereof
JP4193691B2 (en) Imaging apparatus, moving image file recording method, and program
JP4379921B2 (en) Imaging apparatus and program thereof
JP2003219325A (en) Imaging apparatus
JP2007174278A (en) Image display device, and image displaying method
JP4329473B2 (en) Image processing apparatus and image processing program
JP4433297B2 (en) Imaging apparatus and image reproduction apparatus
JP4966680B2 (en) Video playback device, video playback method, and imaging device
JP2000101916A (en) Electronic still camera and its control method
JP4300074B2 (en) Still image extraction apparatus and still image extraction method
JP2001245248A (en) Method and device for recording image
JP2007096809A (en) Imaging apparatus, moving picture storage method, and moving picture storage program
JP2007053744A (en) Image display system
JP2007166024A (en) Imaging apparatus and control method thereof
JP2005117370A (en) Digital camera
US20050200914A1 (en) Digital camera and image recording method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060208

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060404

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060814

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060814

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080805

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees