JP4127514B2 - Imaging apparatus and file system protection method - Google Patents
Imaging apparatus and file system protection method Download PDFInfo
- Publication number
- JP4127514B2 JP4127514B2 JP2003075214A JP2003075214A JP4127514B2 JP 4127514 B2 JP4127514 B2 JP 4127514B2 JP 2003075214 A JP2003075214 A JP 2003075214A JP 2003075214 A JP2003075214 A JP 2003075214A JP 4127514 B2 JP4127514 B2 JP 4127514B2
- Authority
- JP
- Japan
- Prior art keywords
- moving image
- recording
- file
- imaging apparatus
- video
- 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
【0001】
【発明の属する技術分野】
本発明は、デジタルカメラ等にかかり、異常停止時のカメラの動作状況を使用者に知らせ、使用者に適切な処理を促す撮像装置およびファイルシステム保護方法に関する。
【0002】
【従来の技術】
近年、動画の記録が可能なデジタルカメラも多数存在する。また、デジタルカメラで主に使用されているフラッシュメモリを使用した記録メディアの容量も飛躍的に増加し、記録可能な時間もそれに伴って増加している。このようなデジタルカメラは撮影時には乾電池や充電池などのバッテリで動作する事が一般的である。通常は、バッテリでの動作中にバッテリの残容量が減少し、一定量以下になった場合には、自動的に記録処理が中断され、記録中であった画像に対して、自動的に終了処理を施し、カメラの電源が自動的にオフされる。
【0003】
しかし、記録中にカメラからバッテリを抜き出した場合、ACアダプタを取り外した場合、あるいは停電などによるカメラ側で制御不可能な外因による電源供給の遮断が行われた場合には、カメラで記録中のファイルに対して正常な終了処理を施すことが出来ず、記録中であったファイルの再生を行う事が出来ない。また、記録中であったファイルの再生が出来ないにもかかわらず、実際にはメディア上には記録中であったデータは存在するため、その後メディアの使用可能な容量が減少し、記録枚数、記録時間などが減少する。特に長時間の動画の記録中であった場合には、膨大なサイズの使用不可能領域が生じることになる。また、カメラを使用しているユーザにとっては、メディア上にファイルが存在しないにも関わらず、メディアの使用可能容量が減ることになる。
【0004】
上記従来技術例として、カメラの異常を検出した後に、異常状態である旨を不揮発性メモリに記録し、異常停止が解除された後にカメラの動作状況を使用者に知らせるようにし、使用者に適切な処理を促すことができる「デジタルカメラ」がある(例えば、特許文献1参照)。
【0005】
【特許文献1】
特開2001−197353号公報
【0006】
【発明が解決しようとする課題】
しかしながら、特許文献1記載のデジタルカメラでは、連続記録中に異常停止した場合に使用者に知らせることは出来るが、連続記録中であったデータの修復を行うことはできない。
【0007】
よって、動作開始時に動作状況を記録することで、異常検出が困難な場合でも、異常停止時のカメラの動作状況を使用者に知らせ、使用者に適切な処理を促すことが出来るとともに、連続記録中のデータ修復を可能とする撮像装置が望まれる。
【0008】
本発明は、上記事情に鑑みてなされたものであり、動画記録開始時に動画記録開始された旨の情報をカメラ内部の不揮発性メモリに記録し、動画撮影が終了時に記録終了した旨の情報を不揮発性メモリに記録しておくことで、カメラの起動時に動画の記録が正常に終了しなかったことを検出でき、カメラ使用者に警告可能となる、撮像装置およびファイルシステム保護方法を提供することを目的とする。
【0009】
また、本発明は、動画記録が正常終了していないと検出された場合に、メディアに存在する動画データに対して動画の終了処理を施すことで、撮影途中で正常に終了処理が施されずに終了した場合でも、動画ファイルの再生が可能となる、撮像装置およびファイルシステム保護方法を提供することを目的とする。
【0010】
【課題を解決しようとする手段】
かかる目的を達成するために、請求項1記載の撮像装置は、動画の記録を行う動画記録手段と、動画の記録状態を、画像記録用のメモリである不揮発性メモリに保持しておく動画保持手段と、動画記録開始時に動画の記録を開始した旨の情報をセットし、正常に動画記録が終了した場合に動画記録終了の旨の動画記録情報をセットする動画記録情報セット手段とを有し、動画記録情報を用いて撮像装置起動時に動画の記録状態を検出することを特徴とする。
【0011】
請求項2記載の撮像装置は、請求項1記載の撮像装置において、前記撮像装置起動時に動画の記録が正常に終了していないと検出した場合には、前記動画の記録が正常に終了していない旨をユーザに表示する警告表示手段をさらに有することを特徴とする。
【0014】
請求項3記載の撮像装置は、請求項1記載の撮像装置において、FATファイルシステムを使用して動画ファイルを記録する動画ファイル記録手段と、動画記録開始時にファイル管理情報の一部を前記不揮発性メモリに記憶する記憶手段とを有し、動画撮影時の前記カメラの異常終了による無効な動画データの一部がメディア上に存在する場合には、動画データに対して終了処理を施すことを特徴とする。
【0015】
請求項4記載のファイルシステム保護方法は、動画記録が可能な撮像装置に用いられるファイルシステム保護方法であって、動画の記録状態を、画像記録用のメモリである不揮発性メモリに保持しておく動画保持ステップと、動画記録開始時に動画の記録を開始した旨の情報をセットし、正常に動画記録が終了した場合に動画記録終了の旨の動画記録情報をセットする動画記録情報セットステップと、FATファイルシステムを使用して動画ファイルを記録する動画ファイル記録ステップと、動画記録開始時にファイル管理情報の一部を前記不揮発性メモリに記憶する記憶ステップとを有し、動画記録情報を用いて撮像装置起動時に前記動画の記録状態を検出するとともに、動画撮影時の前記撮像装置の異常終了による無効な動画データの一部がメディア上に存在する場合には、動画データに対して終了処理を施すことを特徴とする。
【0016】
請求項5記載のファイルシステム保護方法は、請求項4記載のファイル保護方法において、撮像装置起動時に動画の記録が正常に終了していないと検出した場合には、動画の記録が正常に終了していない旨をユーザに表示する警告表示ステップとをさらに有することを特徴とする。
【0017】
【発明の実施の形態】
以下、本発明の実施形態であるデジタルカメラについて、添付図面を参照にしながら詳細に説明する。
【0018】
図1はデジタルカメラの構成ブロック図である。本発明の実施形態であるデジタルカメラの基本動作例について図1を参照して説明する。
【0019】
デジタルカメラは、レンズ系21、絞り・フィルタ部を含むメカ機構、CCD2、CDS回路22、可変利得増幅器(AGCアンプ)23、A/D変換機24、IPP4、JPEGコーダ5、DRAM1、CPU9、DRAM1、表示部である液晶モニタ8およびサブLCD10、操作部11、SG(制御信号生成)部7、ストロボ装置(図示せず)、バッテリ13、DC−DCコンバータ12、ズームドライバ15、ズームモータ18、フォーカスドライバ16、フォーカスモータ19、PCカードインタフェース(図示せず)およびPCカードインタフェースを介して着脱可能なPCカード6、USBコントローラ(図示せず)、コネクタ(図示せず)等によって構成されている。
【0020】
レンズユニットは、レンズ系21、絞り・フィルタ部等を含むメカ機構からなり、メカ機構のメカニカルシャッタは2つのフィールドの同時露光を行う。
【0021】
フォーカスドライバ16は、CPU9から供給される制御信号に従って、パルスモータを駆動してフォーカスレンズ系を光軸方向に移動させる。ズームドライバ15はCPU9から供給される制御信号に従って、ズームレンズ系を光軸方向に移動させる。また、絞りドライバ17はCPU9から供給される制御信号に従って、絞りの絞り値を設定する。
【0022】
CCD(電化結合素子)2は、レンズユニットを介して入力した映像を電気信号(アナログ画像データ)に変換する。CDS(相関2重サンプリング)回路22は、CCD撮像素子に対する低雑音化のための回路である。
【0023】
また、AGCアンプ23はCDS回路22で相関2重サンプリングされた信号のレベルを補正する。さらにA/D変換器24は、AGCアンプ23を介して入力したCCD2からのアナログ画像データをデジタル画像データに変換する。すなわちCCD2の出力信号は、CDS回路22およびAGCアンプ23を介し、またA/D変換機24により最適なサンプリング周波数にてデジタル信号に変換される。
【0024】
デジタル信号処理部であるIPP4は、A/D変換機24から入力したデジタル画像データについて、ガンマ補正、色分離等の通常カメラ信号処理がなされY(輝度)、Cb、Cr(色差)信号が作成される。
【0025】
JPEGコーダ5は、JPEG準拠の画像圧縮、伸張の一過程である直交変換並びに、ハフマン符号化・複合化を行う。さらに、圧縮処理された画像を、PCカードインタフェースを介してPCカード6への記録、あるいはPCカード6からの読出しを行う。
【0026】
CPU9はROM(図示せず)に格納されたプログラムに従ってRAM(図示せず)を作業領域として使用し、操作部からの指示等の外部動作指示に従い、デジタルカメラの全動作を制御する。
【0027】
また、カメラ電源はバッテリ13からDC−DCコンバータ12に入力されデジタルカメラ内部に供給される。
【0028】
表示部は、液晶モニタ8(LCD)、LED等で実現され、撮影した画像データや、伸張処理された記録画像データ等の表示を行う。操作部は機能選択、撮影支持、およびその他の各種設定を外部から行うための釦を備えている。
【0029】
着脱可能なPCカード6には、PCカードインタフェースを介して、上記JPEGコーダ5で圧縮処理された画像をCPUによって所定のファイルフォーマット形式に整え記録される。また、逆にPCカード6に記録されている、所定のファイルフォーマット形式の画像データを、PCカード6から読み出す。
【0030】
次に、本発明の実施形態であるデジタルカメラの動作について、図2を参照に説明する。図2は動画記録情報をセットする、動画ステータス情報ブロックである。動画ステータス情報は、動画データが記録された最初のクラスタ番号を記録するエリアと、動画の記録状態をセットする動画状態フラグエリアとから構成され、図2の動画情報は、カメラ内蔵不揮発性メモリの所定の位置に格納される。
【0031】
動画の記録が開始された時に、図2の動画状態フラグエリアに対して動画記録開始された事を示す所定のマークをセットする。また正常に動画の記録が終了した場合には、前記のマークをクリアする。もし動画記録が正常にしなかった場合には、カメラ起動時に図2の動画状態フラグは動画記録中状態にセットされたままであり、動画の記録が正常に終了しなかった事を検出する事ができる。
【0032】
図3はFATファイルシステムで使用されるFAT連鎖を示すFATテーブルである。FATファイルシステムでは、FATの連鎖によってファイルが構成される。図3を例にしてFAT連鎖およびファイル構成方法を説明する。
【0033】
FATファイルシステムでは、ファイルシステム上の最小単位としてクラスタが使われる。例えば、クラスタサイズが16KBのメディア上では、クラスタサイズ以下のファイルを構成する場合には、1つのクラスタが使用される。また、クラスタサイズ以上のファイルを構成する場合には、クラスタを複数使用する。つまり10KBのファイルでは1クラスタを使用し、20KBのファイルでは2クラスタを使用する。図3のFATテーブル中の数字は、クラスタ番号を示し0からはじまる。クラスタ番号の最大値は、メディアサイズとクラスタサイズにより決定される。またクラスタ番号からそのクラスタが存在する論理アドレスを決定することができる。
【0034】
図3では、クラスタ2→クラスタ3→クラスタ4→クラスタ10→クラスタ11→クラスタ12→クラスタ13の連鎖を示しているが、これは上記のクラスタの集合によって1ファイルを構成する事を示している。またファイルを構成する最終クラスタには、最終クラスタである事を示す値をセットする。つまり、図3の例では、クラスタ13が最終クラスタとなる。実際のメディアへの書き込みは、RAMにクラスタサイズ分のデータが溜まった場合に行われる。また図3のFATテーブルは、メディア上に実際のデータを記述する度に更新される。
【0035】
図4は動画ファイルの構成図である。動画ファイルはファイルヘッダ部、データ部、IDX部から構成される。ファイルヘッダ部には、固定値となるデータおよび、ファイルサイズにより決定されるデータが記述される。データ部は、複数の画像フレームおよび音声フレームから構成されている。動画フレーム数は、記録時間とフレームレートにより決定される。IDX部は、データ部の各々のフレームの開始位置を示すインデックス情報が記述されている。
【0036】
また、FATファイルシステムでは、ファイル名、ファイル先頭クラスタ番号、ファイルサイズ、記録日時、ファイル属性などを記述する領域があり、このデータに基づき、ファイルの操作を行っている。図5はそのデータの一部を抜き出したものである。
【0037】
動画の記録が正常終了しなかった場合には、通常図4のIDX部およびファイルヘッダ部の一部が記録されない。また図5のファイル情報データも、ファイルサイズ等のデータが記述されない。
【0038】
以下、FATファイルシステムにおいて、動画データの終了処理を説明する。動画記録開始時に、図2の動画ステータス情報エリアに、動画ファイル先頭クラスタを記述しておき、カメラ起動時に図2の動画状態フラグが動画記録中の状態であれば、動画終了処理モードに入り、図2のクラスタ番号からファイル先頭クラスタが決定される。このファイル先頭クラスタからFATテーブルの連鎖を辿ることが可能である。
【0039】
動画ファイルのデータ部には、実際の動画データが記録され、それぞれのフレームには、データ記録時にフレームサイズがセットされている。したがって、フレームを順次走査して行く事が可能である。フレームに記述されているフレームサイズと、FATテーブルのFAT連鎖から、次フレームを順次決定していき、次フレームが決定できない状態になった場合を最終フレームとする。この時、各フレームのファイル先頭からのオフセットは既知となるので、IDX部も作成可能となり、また全体のファイルサイズも決定できる。
【0040】
全体のファイルサイズが決定すれば、ファイルヘッダ部のファイルサイズにより決定するデータも記述可能となり、また、図5のファイル情報も更新可能となり、ファイル終了処理が終了する。
【0041】
以上のように本発明の実施形態によれば、撮影途中で正常に終了処理が施されずに終了した場合でも、動画ファイルの再生が可能となる撮像装置および撮像装置に用いられるファイルシステム保護方法が実現できる。
【0042】
【発明の効果】
本発明の撮像装置およびファイルシステム保護方法によれば、動画記録開始時に動画記録開始された旨の情報を撮像装置内部の不揮発性メモリに記録し、動画撮影が終了時に記録終了した旨の情報を不揮発性メモリに記録しておくことを特徴とするので、撮像装置の起動時に動画の記録が正常に終了しなかったことを検出でき、撮像装置使用者に警告可能となる。
【0043】
また、本発明の撮像装置およびファイルシステム保護方法によれば、動画記録が正常終了していないと検出された場合に、メディアに存在する動画データに対して動画の終了処理を施すことを特徴とするので、撮影途中で正常に終了処理が施されずに終了した場合でも、動画ファイルの再生が可能となる。
【図面の簡単な説明】
【図1】本発明の実施形態であるデジタルカメラの構成を示すブロック図である。
【図2】本発明の実施形態にかかる動画ステータス情報を示す概念図である。
【図3】本発明の実施形態にかかるFATテーブル図である。
【図4】本発明の実施形態にかかる動画ファイルの構成図である。
【図5】本発明の実施形態にかかるファイル情報の例を示す概念図である。
【符号の説明】
1 DRAM
2 CCD
3 F/E
4 IPP
5 JPEGコーダ
6 PCカード
7 SG部
8 液晶モニタ(LCD)
9 CPU
10 サブLCD
11 操作部
12 DC/DCコンバータ
13 バッテリ
14 ACアダプタ
15 ズームドライバ
16 フォーカスドライバ
17 絞りドライバ
18 ズームモータ
19 フォーカスモータ
20 絞りモータ
21 撮影レンズ
22 CDS
23 AGC
24 A/D[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image capturing apparatus and a file system protection method that are applied to a digital camera or the like and inform a user of the operation status of the camera at the time of an abnormal stop and prompt the user to perform appropriate processing.
[0002]
[Prior art]
In recent years, there are many digital cameras capable of recording moving images. In addition, the capacity of a recording medium using a flash memory mainly used in a digital camera has been dramatically increased, and the recordable time has increased accordingly. Such a digital camera is generally operated with a battery such as a dry battery or a rechargeable battery at the time of photographing. Normally, when the remaining capacity of the battery decreases during operation with the battery and falls below a certain amount, the recording process is automatically interrupted and automatically ends for the image being recorded. Processing is performed, and the camera is automatically turned off.
[0003]
However, if the battery is removed from the camera during recording, the AC adapter is removed, or the power supply is cut off due to an external cause that cannot be controlled by the camera due to a power failure, etc. Normal termination processing cannot be applied to the file, and the file being recorded cannot be played back. In addition, even though the file that was being recorded cannot be played back, the data that was being recorded actually exists on the media, so the usable capacity of the media is reduced thereafter, Recording time is reduced. In particular, when a moving image is being recorded for a long time, an unusable area having a huge size is generated. In addition, for the user who uses the camera, the usable capacity of the medium is reduced although no file exists on the medium.
[0004]
As an example of the above-mentioned prior art, after detecting an abnormality in the camera, the fact that it is in an abnormal state is recorded in the non-volatile memory, and after the abnormal stop is released, the user is notified of the operating status of the camera. There is a “digital camera” that can prompt an appropriate process (see, for example, Patent Document 1).
[0005]
[Patent Document 1]
JP-A-2001-197353 [0006]
[Problems to be solved by the invention]
However, the digital camera described in
[0007]
Therefore, by recording the operation status at the start of operation, even if it is difficult to detect an abnormality, the user can be notified of the operation status of the camera at the time of abnormal stop, prompting the user for appropriate processing, and continuous recording An imaging device capable of restoring data therein is desired.
[0008]
The present invention has been made in view of the above circumstances. Information indicating that moving image recording has been started is recorded in a nonvolatile memory inside the camera when moving image recording is started, and information indicating that recording has ended when moving image shooting is completed. To provide an imaging device and a file system protection method capable of detecting that recording of a moving image did not end normally when the camera is started up by recording in a non-volatile memory and enabling a warning to the camera user With the goal.
[0009]
In addition, the present invention performs a video end process on the video data existing in the media when it is detected that the video recording has not ended normally, so that the normal end process is not performed during shooting. An object of the present invention is to provide an image pickup apparatus and a file system protection method capable of reproducing a moving image file even when the process ends.
[0010]
[Means to solve the problem]
In order to achieve this object, the imaging apparatus according to
[0011]
The imaging apparatus according to
[0014]
According to a third aspect of the present invention, there is provided the imaging apparatus according to the first aspect, wherein a moving image file recording unit that records a moving image file using a FAT file system and a part of the file management information at the start of moving image recording are the nonvolatile memory. Storage means for storing in a memory, and when a part of invalid moving image data due to abnormal termination of the camera at the time of moving image shooting exists on the medium, end processing is performed on the moving image data. And
[0015]
The file system protection method according to
[0016]
In the file system protection method according to
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a digital camera according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
[0018]
FIG. 1 is a configuration block diagram of a digital camera. A basic operation example of the digital camera according to the embodiment of the present invention will be described with reference to FIG.
[0019]
The digital camera includes a lens system 21, a mechanical mechanism including an aperture / filter unit, a
[0020]
The lens unit includes a mechanical mechanism including a lens system 21, an aperture / filter unit, and the mechanical shutter of the mechanical mechanism performs simultaneous exposure of two fields.
[0021]
The focus driver 16 drives the pulse motor according to the control signal supplied from the
[0022]
A CCD (electric coupling element) 2 converts an image input via a lens unit into an electric signal (analog image data). The CDS (correlated double sampling)
[0023]
Further, the
[0024]
The IPP4 which is a digital signal processing unit performs normal camera signal processing such as gamma correction and color separation on the digital image data input from the A / D converter 24, and generates Y (luminance), Cb, and Cr (color difference) signals. Is done.
[0025]
The
[0026]
The
[0027]
The camera power is input from the
[0028]
The display unit is realized by a liquid crystal monitor 8 (LCD), an LED, and the like, and displays captured image data, decompressed recorded image data, and the like. The operation unit includes buttons for externally performing function selection, shooting support, and other various settings.
[0029]
An image compressed by the
[0030]
Next, the operation of the digital camera according to the embodiment of the present invention will be described with reference to FIG. FIG. 2 is a moving image status information block for setting moving image recording information. The moving image status information includes an area for recording the first cluster number in which moving image data is recorded, and a moving image state flag area for setting the recording state of the moving image. The moving image information in FIG. Stored in a predetermined position.
[0031]
When moving image recording is started, a predetermined mark indicating that moving image recording has started is set in the moving image state flag area of FIG. Also, when the recording of the moving image is completed normally, the mark is cleared. If the moving image recording is not normal, the moving image state flag in FIG. 2 remains set to the moving image recording state when the camera is started, and it can be detected that the moving image recording has not ended normally. .
[0032]
FIG. 3 is a FAT table showing the FAT chain used in the FAT file system. In the FAT file system, a file is constituted by a chain of FATs. The FAT chain and file configuration method will be described with reference to FIG.
[0033]
In the FAT file system, a cluster is used as the smallest unit on the file system. For example, on a medium having a cluster size of 16 KB, a single cluster is used when a file having a cluster size or smaller is configured. When a file larger than the cluster size is configured, a plurality of clusters are used. That is, one cluster is used for a 10 KB file, and two clusters are used for a 20 KB file. The numbers in the FAT table in FIG. 3 indicate cluster numbers and start from 0. The maximum cluster number is determined by the media size and cluster size. Further, the logical address where the cluster exists can be determined from the cluster number.
[0034]
In FIG. 3, a chain of
[0035]
FIG. 4 is a configuration diagram of a moving image file. The moving image file includes a file header portion, a data portion, and an IDX portion. In the file header portion, data that is a fixed value and data determined by the file size are described. The data part is composed of a plurality of image frames and audio frames. The number of moving image frames is determined by the recording time and the frame rate. In the IDX portion, index information indicating the start position of each frame of the data portion is described.
[0036]
In the FAT file system, there are areas for describing a file name, a file head cluster number, a file size, a recording date and time, a file attribute, and the like, and a file is operated based on this data. FIG. 5 shows a part of the data.
[0037]
When the moving image recording does not end normally, a part of the IDX portion and the file header portion of FIG. 4 is not normally recorded. Also, the file information data in FIG. 5 does not describe data such as the file size.
[0038]
The moving image data end process in the FAT file system will be described below. At the start of moving image recording, the moving image file start cluster is described in the moving image status information area of FIG. 2, and if the moving image state flag of FIG. The file head cluster is determined from the cluster number in FIG. It is possible to trace the chain of FAT tables from this file head cluster.
[0039]
Actual moving image data is recorded in the data portion of the moving image file, and a frame size is set for each frame at the time of data recording. Therefore, it is possible to scan the frames sequentially. The next frame is sequentially determined from the frame size described in the frame and the FAT chain of the FAT table, and the case where the next frame cannot be determined is defined as the final frame. At this time, since the offset of each frame from the beginning of the file is known, an IDX portion can be created and the overall file size can be determined.
[0040]
If the overall file size is determined, the data determined by the file size in the file header portion can be described, and the file information in FIG. 5 can be updated, and the file end process ends.
[0041]
As described above, according to the embodiment of the present invention, an imaging device capable of reproducing a moving image file even when the termination is not normally performed during shooting, and a file system protection method used for the imaging device Can be realized.
[0042]
【The invention's effect】
According to the imaging apparatus and the file system protection method of the present invention, information indicating that moving image recording has started is recorded in the nonvolatile memory inside the imaging device when moving image recording is started, and information indicating that recording has ended when moving image shooting is completed. Since it is recorded in the non-volatile memory, it can be detected that the recording of the moving image has not ended normally when the imaging apparatus is activated, and a warning can be given to the user of the imaging apparatus.
[0043]
Further, according to the imaging apparatus and the file system protection method of the present invention, when it is detected that the moving image recording is not normally completed, the moving image end process is performed on the moving image data existing on the medium. Therefore, even when the end process is not normally performed during shooting, the moving image file can be reproduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a digital camera according to an embodiment of the present invention.
FIG. 2 is a conceptual diagram showing moving image status information according to the embodiment of the present invention.
FIG. 3 is a FAT table diagram according to the embodiment of the present invention.
FIG. 4 is a configuration diagram of a moving image file according to the embodiment of the present invention.
FIG. 5 is a conceptual diagram showing an example of file information according to the embodiment of the present invention.
[Explanation of symbols]
1 DRAM
2 CCD
3 F / E
4 IPP
5
9 CPU
10 Sub LCD
11 Operation Unit 12 DC /
23 AGC
24 A / D
Claims (5)
前記動画の記録状態を、画像記録用のメモリである不揮発性メモリに保持しておく動画保持手段と、
前記動画記録開始時に前記動画の記録を開始した旨の情報をセットし、正常に前記動画記録が終了した場合に前記動画記録終了の旨の動画記録情報をセットする動画記録情報セット手段とを有し、
前記動画記録情報を用いて撮像装置起動時に前記動画の記録状態を検出することを特徴とする撮像装置。Movie recording means for recording a movie,
Moving image holding means for holding the recording state of the moving image in a non-volatile memory which is a memory for image recording ;
There is a moving image recording information setting means for setting information indicating that the recording of the moving image is started at the time of starting the moving image recording, and setting moving image recording information indicating that the moving image recording is ended when the moving image recording is normally completed. And
An imaging apparatus, wherein the moving image recording state is detected by using the moving image recording information when the imaging apparatus is activated.
前記動画記録開始時にファイル管理情報の一部を前記不揮発性メモリに記憶する記憶手段とを有し、
前記動画撮影時の前記カメラの異常終了による無効な動画データの一部がメディア上に存在する場合には、前記動画データに対して終了処理を施すことを特徴とする請求項1記載の撮像装置。A moving image file recording means for recording a moving image file using the FAT file system;
Storage means for storing a part of file management information in the nonvolatile memory at the start of the video recording,
The imaging apparatus according to claim 1, wherein when a part of invalid moving image data due to abnormal termination of the camera at the time of moving image shooting exists on a medium, an end process is performed on the moving image data. .
動画の記録状態を、画像記録用のメモリである不揮発性メモリに保持しておく動画保持ステップと、
前記動画記録開始時に前記動画の記録を開始した旨の情報をセットし、正常に前記動画記録が終了した場合に前記動画記録終了の旨の動画記録情報をセットする動画記録情報セットステップと、
FATファイルシステムを使用して動画ファイルを記録する動画ファイル記録ステップと、
前記動画記録開始時にファイル管理情報の一部を前記不揮発性メモリに記憶する記憶ステップとを有し、
前記動画記録情報を用いて前記撮像装置起動時に前記動画の記録状態を検出するとともに、前記動画撮影時の前記撮像装置の異常終了による無効な動画データの一部がメディア上に存在する場合には、前記動画データに対して終了処理を施すことを特徴とするファイルシステム保護方法。A file system protection method used for an imaging apparatus capable of recording a moving image,
A moving image holding step for holding a moving image recording state in a non-volatile memory that is a memory for image recording ;
A video recording information setting step for setting information indicating that the recording of the video is started at the time of starting the video recording, and setting the video recording information indicating the end of the video recording when the video recording ends normally.
A video file recording step of recording a video file using a FAT file system;
Storing a part of file management information in the nonvolatile memory at the start of the video recording,
When the moving image recording state is detected using the moving image recording information and the moving image recording state is detected, and invalid moving image data due to abnormal termination of the imaging device at the time of moving image shooting is present on the medium A file system protection method comprising: performing end processing on the moving image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003075214A JP4127514B2 (en) | 2003-03-19 | 2003-03-19 | Imaging apparatus and file system protection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003075214A JP4127514B2 (en) | 2003-03-19 | 2003-03-19 | Imaging apparatus and file system protection method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004289202A JP2004289202A (en) | 2004-10-14 |
JP4127514B2 true JP4127514B2 (en) | 2008-07-30 |
Family
ID=33290580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003075214A Expired - Fee Related JP4127514B2 (en) | 2003-03-19 | 2003-03-19 | Imaging apparatus and file system protection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4127514B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4679234B2 (en) * | 2005-05-19 | 2011-04-27 | Hoya株式会社 | Movie recording device |
JP5061592B2 (en) * | 2006-11-21 | 2012-10-31 | ソニー株式会社 | Effect switcher |
-
2003
- 2003-03-19 JP JP2003075214A patent/JP4127514B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004289202A (en) | 2004-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2008085689A (en) | Image pickup device, image pickup control program and image pickup control method | |
JP2004120178A (en) | Video image recording apparatus | |
US7903963B2 (en) | Image capturing apparatus, image capturing method, and program | |
JP5743512B2 (en) | Imaging apparatus and control method thereof | |
JP2011077654A (en) | Imaging apparatus, control method thereof and program | |
JP4127514B2 (en) | Imaging apparatus and file system protection method | |
JP3880489B2 (en) | IMAGING DEVICE, DATA PROCESSING METHOD IN IMAGING DEVICE, STORAGE MEDIUM, AND PROGRAM | |
JP2007184039A (en) | Information recorder | |
JP5539078B2 (en) | Display control apparatus, method, program, and recording medium | |
JP2005094298A (en) | Digital camera and image data recording method | |
JP5188277B2 (en) | Imaging apparatus, control method therefor, and program | |
JP4967383B2 (en) | Information management system, photographing method, image display device, and image display method | |
JP2012009978A (en) | Imaging device | |
JPH11112841A (en) | Digital camera | |
JP4831877B2 (en) | Microscope equipment | |
JP4735495B2 (en) | Voice processing apparatus and program | |
JP5495670B2 (en) | Imaging device, control method thereof, and program | |
KR0162333B1 (en) | Method & apparatus for image processing of video camera | |
JP2007219822A (en) | Imaging apparatus | |
JP2007124713A (en) | Electronic camera | |
JP2006262128A (en) | Digital camera | |
JP3840125B2 (en) | Image processing device | |
JP2003125239A (en) | Digital camera | |
JP2004349810A (en) | Digital camera | |
JP4656395B2 (en) | Recording apparatus, recording method, and recording program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050627 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071226 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080108 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080228 |
|
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: 20080401 |
|
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: 20080404 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080508 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110523 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: 20110523 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110523 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120523 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120523 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130523 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130523 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |