JP5523081B2 - Recording device - Google Patents
Recording device Download PDFInfo
- Publication number
- JP5523081B2 JP5523081B2 JP2009284781A JP2009284781A JP5523081B2 JP 5523081 B2 JP5523081 B2 JP 5523081B2 JP 2009284781 A JP2009284781 A JP 2009284781A JP 2009284781 A JP2009284781 A JP 2009284781A JP 5523081 B2 JP5523081 B2 JP 5523081B2
- Authority
- JP
- Japan
- Prior art keywords
- recording
- still image
- recording medium
- image data
- moving image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 description 32
- 238000012545 processing Methods 0.000 description 15
- 238000003384 imaging method Methods 0.000 description 11
- 238000002360 preparation method Methods 0.000 description 6
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Description
本発明は記録装置に関し、特に、記録媒体に動画を記録する装置に関する。 The present invention relates to a recording apparatus, and more particularly to an apparatus for recording a moving image on a recording medium.
従来、動画や音声を記録する装置としてビデオカメラが知られている。近年では、メモリカードやHDDなどのランダムアクセス、且つ、大容量の記録媒体に対して動画や音声を記録する家庭用のビデオカメラが登場しており、一般家庭に広く普及している。また、家庭用のビデオカメラにおいても、高精細な(HD)動画を記録できるようになっている。HDの動画は情報量が大きいため、これを記録するためには、高速に動画データを書き込み可能なメモリカードが求められている。 2. Description of the Related Art Conventionally, a video camera is known as an apparatus for recording a moving image or sound. In recent years, video cameras for homes that record random access such as memory cards and HDDs and record moving images and audio on a large-capacity recording medium have appeared and are widely used in general homes. Also, home video cameras can record high definition (HD) moving images. Since the HD moving image has a large amount of information, a memory card capable of writing moving image data at high speed is required to record the information.
そこで、複数のクラスタからなるブロックを単位としてアクセスすることで、データの書き込み速度を保証したメモリカードも提案されている。この様に速度保証されたメモリカードでは、ブロック単位でのデータの書き込み中に、クラスタ単位での書き込みが指示された場合には、書き込み速度を保証しないものもある。 Therefore, a memory card that guarantees the data writing speed by accessing a block composed of a plurality of clusters as a unit has been proposed. Some memory cards whose speed is guaranteed in this way do not guarantee the writing speed when writing in cluster units is instructed during the writing of data in block units.
また、家庭用のビデオカメラでは、動画の記録中に静止画撮影が可能なものがある(例えば、特許文献1)。静止画を記録する場合、動画の記録フォーマットとは別のフォーマットで記録することが一般的である。 Some home video cameras are capable of taking still images while recording a moving image (for example, Patent Document 1). When recording a still image, it is common to record in a format different from the recording format for moving images.
前記の様に、メモリカードに対して動画を記録している最中に静止画撮影を行うと、その時点で静止画を記録するためのディレクトリを作成する必要がある。 As described above, if still image shooting is performed while a moving image is being recorded on the memory card, it is necessary to create a directory for recording the still image at that time.
しかしながら、速度保証されたメモリカードの場合には、動画データの記録中に静止画記録用のディレクトリを作成すると、新たにディレクトリエントリを追加する処理が発生する。そのため、動画データの書き込み速度が保証されず、動画の記録が中断してしまうおそれがあった。 However, in the case of a memory card with a guaranteed speed, when a still image recording directory is created during recording of moving image data, a process of adding a new directory entry occurs. Therefore, the writing speed of the moving image data is not guaranteed, and there is a possibility that the recording of the moving image is interrupted.
また、静止画撮影以外にも、連続したデータの書き込み中に、ディレクトリエントリの操作が必要な処理を実行した場合には、やはり、データの書き込み速度が保証されず、記録が中断してしまうという問題がある。 In addition to still image shooting, if processing that requires directory entry operations is performed during continuous data writing, the data writing speed is not guaranteed, and recording is interrupted. There's a problem.
本発明は、この様な問題を解決した記録装置を提示することを目的とする。 An object of the present invention is to provide a recording apparatus that solves such problems.
本発明に係る記録装置は、動画データと静止画データとを取得する取得手段と、前記動画データと前記静止画データとを記録媒体に記録する記録手段であって、前記記録媒体に記録された動画データと静止画データをディレクトリに格納することにより管理する記録手段と、前記動画データの記録開始および記録停止の指示と前記静止画データの記録指示とを受け付ける受付手段と、前記記録媒体の種類を検出する検出手段と、前記検出手段の出力に基づいて前記記録手段を制御する制御手段とを備え、前記制御手段は、前記記録媒体が、複数のクラスタからなるブロックを単位としてアクセスした場合にデータの書き込み速度を保証し、クラスタ単位でアクセスした場合には書き込み速度を保証しない所定の記録媒体である場合、前記動画データの記録開始の指示の前に静止画格納用ディレクトリを新たに作成し、前記動画データの記録中の前記静止画データの記録指示に応じて、前記静止画格納用ディレクトリに前記静止画データを格納して記録するように前記記録手段を制御し、前記記録媒体が前記所定の記録媒体でない場合、前記動画データの記録中の前記静止画データの記録指示に応じて前記静止画格納用ディレクトリを新たに作成して前記静止画データを格納して記録するように前記記録手段を制御することを特徴とする。 The recording apparatus according to the present invention is an acquisition unit that acquires moving image data and still image data, and a recording unit that records the moving image data and the still image data on a recording medium, the recording unit being recorded on the recording medium Recording means for managing moving picture data and still picture data by storing them in a directory, receiving means for receiving instructions for starting and stopping recording of the moving picture data, and recording instructions for the still picture data, and types of the recording medium Detecting means for detecting the recording medium, and control means for controlling the recording means based on the output of the detecting means, wherein the control means is provided when the recording medium is accessed in units of blocks comprising a plurality of clusters. In the case of a predetermined recording medium that guarantees the data writing speed and does not guarantee the writing speed when accessed in cluster units, A new still image storage directory is created before an instruction to start recording of the data, and the still image data is stored in the still image storage directory in accordance with the recording instruction of the still image data during recording of the moving image data. And when the recording medium is not the predetermined recording medium, the still image storage directory is stored in response to a recording instruction of the still image data during recording of the moving image data. The recording means is controlled so as to newly create and store and record the still image data .
本発明によれば、動画記録中に静止画格納用ディレクトリの作成を抑制できる。これにより、複数のクラスタからなるブロックを単位としてアクセスした場合にデータの書き込み速度を保証し、クラスタ単位でアクセスした場合には書き込み速度を保証しない種類の記録媒体でも、動画書き込みの破綻を抑制できる。 According to the present invention, creation of a still image storage directory can be suppressed during moving image recording. This ensures data writing speed when accessed in units of blocks consisting of multiple clusters, and suppresses video writing failures even for types of recording media that do not guarantee writing speed when accessed in cluster units. .
以下、図面を参照して、本発明の実施例を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施例としてのビデオカメラ100の構成を示すブロック図である。なお、ビデオカメラ100は、AVCHDフォーマットに従い動画データを記録し、DCF(Design rule for Camera File system)フォーマットに従って静止画データを記録する。また、記録された動画データと静止画データはそれぞれ、FAT(File Allocation Table)ファイルシステムに従って管理される。
FIG. 1 is a block diagram showing a configuration of a
図1において、撮像部101は被写体を撮影し、被写体を示す動画データを生成して出力する。撮像部101は、ズームレンズやフォーカスレンズ等の光学系、CCD等のイメージセンサ、アイリス、撮影した動画信号をデジタル信号に変換するAD変換器、デジタル動画信号に必要な処理を施す処理回路等を含む。また、撮像部101は、制御部109から静止画撮影の指示があると、静止画撮影指示に対応したタイミングで1画面の静止画データを生成し、メモリ102に記憶する。メモリ102は、撮像部101から出力された動画データや静止画データ、その他のデータを記憶する。撮像部101はいわば、動画データと静止画データとを取得する取得手段である。
In FIG. 1, an
信号処理部103は、記録時には、撮影された動画信号をMPEG方式等の公知の動画圧縮方式に従って圧縮符号化し、再生時には、圧縮符号化された動画信号及び音声信号を復号化又は伸長する。信号処理部103はまた、制御部109からの静止画撮影の指示に従い、メモリ102に記憶される静止画データをJPEG等の公知の方式で圧縮符号化し、圧縮データをメモリ102に記憶する。信号処理部103は、圧縮された静止画データを伸長する機能を有する。
The
表示制御部104は、制御部109からの指示に従い、動画、静止画及び各種の情報を表示部105に表示させる。また、表示制御部104は、後述の様に、連続記録モードの設定指示があると、連続記録モードをユーザが設定するための設定画面を生成し、表示部105に表示させる。表示部105は、液晶パネル等の公知の表示デバイスからなる。
The
記録再生部106は、制御部109からの指示に従い、記録媒体107に動画データ、静止画データ及び各種のデータを記録再生する。記録媒体107はビデオカメラ100の本体に内蔵されている。記録媒体107は、例えば、大容量のフラッシュメモリからなるが、ハードディスク(HDD)等のランダムアクセスな記録媒体であってもよい。記録再生部106は、FATファイルシステムに従い、記録媒体107に記録されるデータをファイルとして管理する。記録再生部106は、動画ファイルをAVCHDフォーマットに従うディレクトリに格納して管理し、静止画ファイルをDCFフォーマットに従うディレクトリに格納して管理する。
The recording / reproducing
制御部109はマイクロコンピュータ及び必要なメモリからなる。操作部108は、電源スイッチ、動画の撮影開始停止を指示するトリガスイッチ、静止画撮影スイッチ、ズームスイッチ、再生スイッチ及びメニュースイッチ等の各種のスイッチを備える。制御部109は、操作部108からのユーザの指示を受け付ける受付手段としても機能する。制御部109は、メモリ102に記憶されたプログラムに従い、操作部108からの指示に応じてビデオカメラ100の各部の動作を制御する。本実施例では、ユーザは、メニュースイッチを操作して表示部105にメニュー画面を表示させ、このメニュー画面を利用してビデオカメラ100の設定を変更する。
The
記録再生部110は、記録再生部106と同様に、制御部109からの指示に従い、各種のデータを記録媒体111に記録再生する。記録媒体111は、フラッシュメモリを内蔵した交換可能なメモリカードであるが、ハードディスク(HDD)等のランダムアクセス可能な記録媒体であってもよい。記録媒体111は、不図示の装着排出機構により、ビデオカメラ100に対してユーザが容易に装着排出可能になっている。記録再生部110は、装着された記録媒体111を保護する蓋112を備えている。ユーザが蓋112を開けることで、記録媒体111を装着又は排出できる。記録媒体111が装着された状態で蓋112を閉めることで、動画の記録が可能となる。記録再生部110は、記録媒体111が装着されているか否かを判別し、装着状態か非装着状態かを示す情報を制御部109に出力する。開閉検出部113は、蓋112の開閉状態を検出し、開状態か閉状態かを示す情報を制御部109に出力する。
Similar to the recording / reproducing
本実施例では、記録媒体111として2種類の記録媒体を利用可能である。第1の種類の記録媒体111は、複数のクラスタからなるブロックを単位としてアクセスした場合にデータの書き込み速度を保証し、クラスタ単位でアクセスした場合には書き込み速度を保証しない記録媒体である。また、第2の種類の記録媒体111は、クラスタを単位としてアクセスした場合であってもデータの書き込み速度を保証した記録媒体である。また、第1の種類の記録媒体に対してブロック単位にアクセスした場合のデータの書き込み速度は、第2の種類の記録媒体の書き込み速度よりも速いものとする。記録再生部110は、装着された記録媒体111が第1の種類の記録媒体か第2の種類の記録媒体かを検出し、検出結果を制御部109に通知する。内蔵の記録媒体107は、クラスタを単位としてアクセスした場合であってもデータの書き込み速度を保証した第2の種類の記録媒体であるものとする。
In this embodiment, two types of recording media can be used as the
出力部114は、撮影された動画信号及び再生動画信号をビデオカメラ100の外部機器に出力する。内部バス115は、ビデオカメラ100の各部の間で、各種のデータやコマンドを転送するために用いられる。
The
ビデオカメラ100の基本的な撮影処理を説明する。ビデオカメラ100では、内蔵の記録媒体107と記録媒体111のどちらにも、動画データや静止画データを記録でき、どちらからも再生できる。ユーザは、ビデオカメラ100が記録ポーズ状態であるときに操作部108を操作して、これら二つの記録媒体107,111のうちの何れか一つを記録先として選択する。制御部109は、選択された記録媒体を示す情報を内部の不揮発性メモリに記憶する。
A basic photographing process of the
操作部108によりビデオカメラ100の電源が投入されると、制御部109は各部を制御して、以下の記録準備処理を実行する。記録準備が完了すると、撮像部101により得られた動画信号に応じた被写体の動画を表示部105に表示し、記録ポーズ状態となる。この状態で、前述の様に記録先の記録媒体が設定され、操作部108により撮影開始の指示があると、制御部109は各部を制御し、動画データの記録を開始する。撮像部101は、制御部109からの指示に応じて動画データを出力する。この動画データは、バス115を介してメモリ102に一時格納される。信号処理部103は、メモリ102に記憶された動画データを符号化して、圧縮動画データをメモリ102に記憶する。
When the
記録先として記録媒体107が選択されていた場合、制御部109は、メモリ102から圧縮動画データを記録再生部106に読み出し、記録媒体107に記録させる。記録先として記録媒体111が選択されていた場合、制御部109は、メモリ102から圧縮動画データを記録再生部110に読み出し、記録媒体111に記録させる。
When the
記録開始後、操作部108により動画撮影停止の指示があると、制御部109は、記録先として選択された記録媒体107又は111に対応する記録再生部106又は110に動画信号の記録停止を指示する。本実施例では、撮影開始の指示から撮影停止の指示までの間に記録された一連の動画信号は、一つのファイルとして管理される。
After the start of recording, when the
記録媒体111に対する動画信号の記録中に開閉検出部113から蓋112の開状態を示す信号が出力されると、制御部109は記録再生部110を制御して、記録媒体111に対する動画信号の記録を停止する。一方、内蔵の記録媒体107に対する動画信号の記録中に開閉検出部113により蓋112の開状態を示す信号が出力された場合でも、制御部109は、動画信号の記録を停止せず、そのまま継続する。また、制御部109は、記録先として選択された記録媒体107又は111の記録残量が動画の記録中に所定量以下になると、動画信号の記録を停止するように各記録再生部106,110を制御する。
When a signal indicating the open state of the
記録ポーズ状態において、操作部108により静止画撮影の指示があると、制御部109は、撮像部101に対して静止画出力を指示する。撮像部101は、静止画出力の指示に応じて1画面の静止画データを生成し、メモリ102に格納する。信号処理部103は、制御部109からの静止画記録の指示に応じて、メモリ102の静止画データを圧縮符号化し、圧縮静止画データをメモリ102に記憶する。制御部109は、記録先として選択された記録媒体107又は111に対応する記録再生部106又は110に、静止画データを記録するように指示する。記録再生部106又は110は、この指示に応じて、記録媒体107又は111に圧縮静止画データを記録する。
In the recording pause state, when a still image shooting instruction is given by the
本実施例では、動画の撮影中に静止画を記録することができる。この場合、動画撮影の開始前に、ユーザは、操作部108を操作して、同時撮影モードを設定する。動画の記録中に操作部108により静止画撮影の指示があると、撮像部101は、静止画撮影の指示に対応する1画面の静止画データを出力する。この静止画データは、前記の様に圧縮符号化され、メモリ102に格納される。
In the present embodiment, a still image can be recorded during moving image shooting. In this case, before starting the moving image shooting, the user operates the
動画の記録先と静止画の記録先が同じ記録媒体である場合、動画信号の記録タイミングに合わせて、圧縮静止画データが同じ記録媒体に記録される。本実施例では、動画信号のデータレートが、各記録媒体107,111に記録可能なデータレートよりも低い。そのため、メモリ102に所定量の圧縮動画データが記憶される度に、メモリ102から圧縮動画データを読み出して記録先の記録媒体に書き込む。メモリ102に記憶された圧縮動画データの量が閾値よりも低くなると、記録先の記録媒体への記録を一時停止する。動画の記録中に静止画撮影の指示があると、記録媒体に対する動画信号の記録一時停止中に静止画を記録する。動画と静止画の同時記録については、後述する。
When the moving image recording destination and the still image recording destination are the same recording medium, the compressed still image data is recorded on the same recording medium in accordance with the recording timing of the moving image signal. In this embodiment, the data rate of the moving image signal is lower than the data rate that can be recorded on each of the
動画を記録する記録媒体と、静止画を記録する記録媒体とが異なる場合、動画信号を記録しながら、静止画信号を記録できる。 When a recording medium for recording a moving image is different from a recording medium for recording a still image, a still image signal can be recorded while recording a moving image signal.
本実施例の再生処理を説明する。操作部108により再生モードの指示があると、制御部109は、記録媒体107と記録媒体111のうち再生元として選択されている記録媒体を検出する。選択された記録媒体107又は111に記録された動画ファイルの動画先頭部分の圧縮動画データを読み出すように、記録再生部106又は110を制御する。信号処理部103は、読み出された圧縮動画データを復号し、表示制御部104に送る。表示制御部104は、復号された先頭画面のサイズを縮小し、代表画像を生成して表示部105に表示する。ユーザは、操作部108を操作し、表示部105に表示された各動画ファイルの代表画像のうち、再生したい所望の代表画像を選択し、再生を指示する。
The reproduction process of this embodiment will be described. When the playback unit is instructed by the
制御部109は再生を指示された代表画像に対応する動画ファイルを再生するように、選択された記録媒体107又は111に対応する記録再生部106又は110を制御する。記録再生部106又は110は、指定された動画ファイルを記録媒体107又は111から読み出し、メモリ102に記憶する。信号処理部103は、メモリ102から圧縮動画データを読み出して復号し、再生動画データをメモリ102に記憶する。表示制御部104はメモリ102から再生動画データを読み出し、再生された動画を表示部105に表示させる。そして、再生停止の指示があると、制御部109は動画ファイルの再生を停止し、再び、代表画像を表示部105に表示させる。
The
静止画の再生が指示されると、制御部109は、同様に記録媒体107又は111に記録された各静止画データの代表画像を生成し、表示部105に表示させる。ユーザに選択された代表画像に対応する静止画ファイルを記録媒体107又は111から再生し、表示部105に表示させる。
When reproduction of a still image is instructed, the
撮影準備処理と、静止画ファイルを格納するためのディレクトリの生成処理を説明する。ビデオカメラ100の電源が投入されると、制御部109は、動画と静止画の記録を可能にする記録準備処理を実行する。記録準備処理は、記録媒体107,111への記録が可能かどうかを判別する判別処理を含む。また、記録媒体111が新たに装着された場合、新たに装着された記録媒体111について判別処理を実行する。記録準備処理において、各記録媒体107,111の状態を確認し、記録媒体111が第1の種類の記録媒体であるかどうかを検出する。
A shooting preparation process and a process for generating a directory for storing still image files will be described. When the power of the
図2は、記録媒体111の判別処理を示すフローチャートである。図2の処理は、制御部109が各部を制御することにより実行される。
FIG. 2 is a flowchart showing the determination process of the
制御部109は、操作部108によりビデオカメラ100の電源が投入されるか、または、蓋112が閉じられた状態となったことを検出すると、図2に示す処理を開始する。まず、記録再生部110に対し、記録媒体111の状態を確認する(S201)。記録媒体111にアクセス可能か否かを判別する(S202)。記録媒体111が装着されていないか、または、蓋112が開いた状態の場合には、アクセス可能でないと判別する。アクセス可能でない場合(S202)、記録媒体111無しの状態を設定して、その旨の情報をメモリ102に記憶し(S210)、処理を終了する。
When the
記録媒体111にアクセス可能な場合(S202)、記録媒体111に対し、データ記録が可能かどうかを判別する(S203)。具体的には、記録媒体111が以下の条件1〜6を全て満たす場合に、記録可能と判断する。すなわち、
(条件1)記録可能残量が所定値以上である。
(条件2)記録されている動画のシーン(動画ファイルの数)が、記録フォーマットで既定されたシーン数の上限未満である。
(条件3)ファイルフォーマットが正しい。
(条件4)ファイルシステムが正しい。
(条件5)既に記録されている動画の放送方式が、ビデオカメラ100により記録される動画の放送方式と一致している。
(条件6)プロテクトがかかっていない。
If the
(Condition 1) The recordable remaining amount is equal to or greater than a predetermined value.
(Condition 2) The number of recorded moving image scenes (number of moving image files) is less than the upper limit of the number of scenes defined in the recording format.
(Condition 3) The file format is correct.
(Condition 4) The file system is correct.
(Condition 5) The moving image broadcasting system already recorded matches the moving image broadcasting method recorded by the
(Condition 6) Protection is not applied.
条件1に関して、記録残量が0或いは0に近い所定値よりも多いかどうかを判別する。ビデオカメラ100は、AVCHDフォーマットに従って動画を記録し、記録フォーマットによっては、一つの記録媒体に記録可能なシーンの上限が決まっている。条件2はこのシーン数の上限に関するものであり、記録媒体111に記録されているシーン数を検出し、上限に達しているかどうかを判別する。条件3、4については、それぞれ、記録媒体111のファイルフォーマットがビデオカメラ100における記録フォーマットで既定されたファイルフォーマット、ファイルシステムと同じかどうかを判別する。
Regarding condition 1, it is determined whether the remaining recording amount is 0 or more than a predetermined value close to 0. The
ビデオカメラ100がNTSC方式の動画を撮影記録するものである。そこで、条件5として、記録媒体111にNTSC方式以外の放送方式、例えば、PAL方式の動画が記録されていないかどうかを判別する条件6については、記録媒体111に対してデータの書き込みができないようにプロテクト設定されているかどうかを判別する。
The
各条件1〜6について、制御部109が、記録再生部110に対して問い合わせた結果の、記録再生部110からの応答に従って判別する。この際、制御部109は、記録媒体111の記録残量の情報も取得し、動画を記録可能な時間、及び/又は静止画を記録可能な枚数を算出する。
For each of the conditions 1 to 6, the
記録媒体111への動画及び静止画の記録が可能でないと判別した場合(S203)、記録媒体111への記録不可を設定し、その旨の情報をメモリ102に記憶し(S211)、処理を終了する。
If it is determined that recording of moving images and still images on the
記録媒体111への動画又は静止画の記録が可能な場合(S203)、記録媒体111に対し記録可能を示す情報をメモリ102に記憶する(S204)。装着されている記録媒体111の種類を検出する(S205)。具体的には、記録再生部110は、記録媒体111からメーカID情報、及び記録媒体111がサポートしている規格の情報などを記録媒体111から読み出し、これらの情報に基づき記録媒体111の種類を検出する。
When a moving image or a still image can be recorded on the recording medium 111 (S203), information indicating that recording is possible on the
記録媒体111が第1の種類の記録媒体かどうかを判別する(S206)。記録媒体111が第1の種類の記録媒体でなかった場合(S206)、そのまま処理を終了する。記録媒体111が第1の種類の記録媒体であった場合(S206)、記録媒体111内に作成されている静止画格納用ディレクトリを確認する(S207)。そして、静止画を格納可能なディレクトリが存在するかどうかを判別する(S208)。例えば、記録媒体111に作成されている静止画格納用ディレクトリのうち、最も番号が大きなディレクトリを確認する。ディレクトリ番号が最大のディレクトリ内に既に格納されている静止画ファイルの数が所定値以下であった場合には、静止画ファイルを格納可能なディレクトリがあると判断する。
It is determined whether the
DCF規格では、一つのディレクトリに格納できる静止画ファイル数の上限が9999個に規定されている。従って、規格上は、番号が最大のディレクトリ内に格納されている静止画ファイルの数が9999に達するまでは、このディレクトリに静止画ファイルを格納可能である。しかし、一つのディレクトリに多数のファイルを格納すると、扱いづらくなることから、本実施例では、一つの静止画ディレクトリに格納可能な静止画ファイルの数を、より少ない数、例えば100枚乃至1000枚程度とした。もちろん、規格上の既定値を上限値としても良いし、また、他の値とすることも可能である。 In the DCF standard, the upper limit of the number of still image files that can be stored in one directory is defined as 9999. Therefore, according to the standard, still image files can be stored in this directory until the number of still image files stored in the directory with the largest number reaches 9999. However, if a large number of files are stored in one directory, it becomes difficult to handle. In this embodiment, the number of still image files that can be stored in one still image directory is set to a smaller number, for example, 100 to 1000. The degree. Of course, a predetermined value in the standard may be set as the upper limit value, or may be set to another value.
静止画を格納可能なディレクトリが存在しない場合(S208)、新たに静止画格納用のディレクトリを記録媒体111に作成する(S209)。ディレクトリを新たに作成する場合、ファイルシステム上では新たにディレクトリエントリが作成されることになる。本実施例では、ディレクトリエントリを記録する際、記録媒体に対し、複数のクラスタからなるブロック単位でアクセスするのではなく、クラスタ単位でアクセスする。また、本実施例では各ディレクトリに対して独立にディレクトリ番号を付加して管理する。そして、新たにディレクトリを作成する度に、ディレクトリ番号を所定値(例えば1)ずつ増加させる。静止画を格納可能なディレクトリが存在した場合には(S208)、そのまま処理を終了する。 If there is no directory that can store still images (S208), a new directory for storing still images is created in the recording medium 111 (S209). When a new directory is created, a new directory entry is created on the file system. In this embodiment, when recording a directory entry, the recording medium is accessed in units of clusters rather than in units of blocks consisting of a plurality of clusters. In this embodiment, each directory is managed by adding a directory number independently. Each time a new directory is created, the directory number is incremented by a predetermined value (for example, 1). If there is a directory in which a still image can be stored (S208), the process ends.
第1の種類の記録媒体の場合、動画の記録中に静止画ディレクトリを作成すると、期待した書き込み速度が保証されないので、連続した動画の記録が保証されない。しかし、本実施例では、ステップS206〜209に示すように、電源投入時や装着時に予め静止画ディレクトリを作成する。詳細は後述するが、これにより、同時撮影モードにおいて、動画撮影中に静止画撮影の指示があった場合でも、動画の記録を中断又は停止すること無く、静止画を静止画ディレクトリに格納し、記録することができる。 In the case of the first type of recording medium, if a still image directory is created during recording of a moving image, the expected writing speed is not guaranteed, so that continuous moving image recording is not guaranteed. However, in this embodiment, as shown in steps S206 to S209, a still image directory is created in advance when the power is turned on or when the power is mounted. Although details will be described later, in the simultaneous shooting mode, even if there is an instruction to shoot a still image during movie shooting, the still image is stored in the still image directory without interrupting or stopping the recording of the movie, Can be recorded.
動画の記録中に静止画の撮影が可能な同時撮影モードにおける処理を説明する。本実施例では、操作部108の操作で、同時撮影モードにおける動画の記録先と静止画の記録先をユーザが独立に設定できる。例えば、同時撮影モードにおける動画の記録先を内蔵の記録媒体107に設定し、静止画の記録先を記録媒体111に設定することができる。或いは、動画と静止画の記録先を共に記録媒体107に設定することも、または、記録媒体111に設定することもできる。
Processing in the simultaneous shooting mode in which a still image can be shot while recording a moving image will be described. In this embodiment, the user can independently set the moving image recording destination and the still image recording destination in the simultaneous shooting mode by operating the
同時撮影モードにおける動画記録先と静止画記録先が異なる場合、動画の記録開始の指示に応じて、動画記録先に設定されている記録媒体に動画が記録され、記録停止の指示に応じて、動画の記録を停止する。動画の記録中に静止画の記録指示があると、静止画記録先に設定されている記録媒体に静止画が記録される。静止画ディレクトリに格納された静止画ファイル数が所定数に達した場合には、新たに静止画ディレクトリを作成して静止画ファイルが格納される。 When the video recording destination and the still image recording destination in the simultaneous shooting mode are different, the video is recorded on the recording medium set as the video recording destination according to the instruction to start recording the video, and according to the instruction to stop recording, Stop recording the movie. If there is a still image recording instruction during recording of a moving image, the still image is recorded on a recording medium set as a still image recording destination. When the number of still image files stored in the still image directory reaches a predetermined number, a still image directory is newly created to store still image files.
同時撮影モードにおける動画と静止画の記録先が同一の記録媒体に設定されている場合の処理動作を説明する。図3は、第2の種類の記録媒体である記録媒体111に、同時撮影モードにおける動画記録先と静止画記録先が設定されている場合の処理動作を示す。制御部109は、図3に示す処理に従って、各部を制御する。
A processing operation when the recording destination of the moving image and the still image in the simultaneous shooting mode is set to the same recording medium will be described. FIG. 3 shows a processing operation when a moving image recording destination and a still image recording destination in the simultaneous shooting mode are set on the
操作部108により同時撮影モードが設定され、動画の記録開始が指示されると、記録媒体111に対する動画の記録を開始する(S301)。動画の記録中に、操作部108により静止画記録が指示されたか否かを判別する(S302)。静止画記録の指示が無い場合(S302)、動画の記録停止が指示されたか否かを判別する(S303)。動画記録停止の指示が無い場合(S303)、S301に戻って動画の記録を続ける。また、動画の記録停止の指示があると(S303)、動画データの記録を停止して(S304)、記録待機状態に戻る。
When the simultaneous photographing mode is set by the
動画記録中に静止画の記録指示があると(S302)、先に説明したように1画面の静止画データを生成し、メモリ102に記憶する(S305)。静止画ファイルの格納先として選択されたディレクトリに静止画ファイルを格納可能かどうかを判別する(S306)。本実施例では、記録媒体111に作成された静止画ディレクトリのうち、ディレクトリ番号が最大のものを格納先のディレクトリとして選択する。ここでは、格納先の静止画ディレクトリに対して既に格納されている静止画ファイルの数が、所定値に達しているか否かを判別する。
When there is a still image recording instruction during moving image recording (S302), as described above, one-screen still image data is generated and stored in the memory 102 (S305). It is determined whether the still image file can be stored in the directory selected as the storage destination of the still image file (S306). In this embodiment, among the still image directories created on the
格納先の静止画ディレクトリにおいて既に格納されている静止画ファイルの数が所定値に達していない場合には、格納可能であると判別する(S306)。その場合、メモリ102に記憶された静止画データ(圧縮静止画データ)を格納先の静止画ディレクトリに格納し記録する(S307)。
If the number of still image files already stored in the storage destination still image directory has not reached the predetermined value, it is determined that the storage is possible (S306). In this case, the still image data (compressed still image data) stored in the
格納先の静止画ディレクトリにおいて既に格納されている静止画ファイルの数が所定値に達しており、これ以上格納できない場合、格納不能と判断する(S306)。この場合、制御部109は、記録再生部110を制御して記録媒体111に新たな静止画格納用ディレクトリを作成させる(S308)。そして、メモリ102に記憶された静止画データ(圧縮静止画データ)を、新たに作成したディレクトリに格納し記録する(S309)。
If the number of still image files already stored in the storage destination still image directory has reached a predetermined value and cannot be stored any more, it is determined that storage is impossible (S306). In this case, the
図4は、同時撮影モードにおける動画記録先と静止画記録先が同じ記録媒体111に設定され、且つ、記録媒体111が第1の種類の記録媒体である場合の処理動作を示す。制御部109は、図4に示す処理に従って、各部を制御する。
FIG. 4 shows a processing operation when the moving image recording destination and the still image recording destination are set to the
操作部108により同時撮影モードが設定され、動画の記録開始が指示されると、先に説明したように、記録媒体111への動画の記録が開始する(S401)。動画記録中に、操作部108により静止画記録が指示されたか否かを判別する(S402)。静止画記録の指示が無い場合(S402)、動画の記録停止が指示されたか否かを判別する(S403)。動画記録停止の指示が無い場合(S403)、S401に戻って動画の記録を続ける。
When the simultaneous shooting mode is set by the
動画の記録停止の指示があると(S403)、動画データの記録を停止する(S404)。そして、静止画を格納可能なディレクトリが存在するかどうかを判別する(S405)。具体的には、記録媒体111の静止画ディレクトリのうち、最大のディレクトリ番号のディレクトリに格納済みの静止画ファイル数が、所定値に達しているかどうかを判別する。静止画を格納可能なディレクトリが存在しない場合(S405)、新たに静止画格納用のディレクトリを記録媒体111に作成する(S406)。ディレクトリを新たに作成する場合には、記録媒体111に対して新たにディレクトリエントリが記録されることになる。また、静止画を格納可能なディレクトリが存在する場合(S405)、そのまま処理を終了する。
When there is an instruction to stop recording moving images (S403), recording of moving image data is stopped (S404). Then, it is determined whether or not a directory capable of storing a still image exists (S405). Specifically, it is determined whether or not the number of still image files stored in the directory having the largest directory number among the still image directories on the
動画記録中に静止画の記録指示があると(S402)、先に説明したように、1画面の静止画データを生成し、圧縮静止画データをメモリ102に記憶する(S407)。そして、静止画ファイルの格納先として選択されたディレクトリに静止画ファイルを格納可能かどうかを判別する(S408)。本実施例では、記録媒体111に作成された静止画ディレクトリのうち、ディレクトリ番号が最大のものを格納先のディレクトリとして選択している。そこで、格納先の静止画ディレクトリに対して既に格納されている静止画ファイルの数が、所定値に達しているか否かを判別する。
When a still image recording instruction is issued during moving image recording (S402), as described above, one-screen still image data is generated, and the compressed still image data is stored in the memory 102 (S407). Then, it is determined whether or not the still image file can be stored in the directory selected as the storage destination of the still image file (S408). In this embodiment, among the still image directories created on the
格納先の静止画ディレクトリに既に格納されている静止画ファイルの数が所定値に達していない場合には、格納可能であると判別する(S408)。この場合、メモリ102に記憶された圧縮静止画データをその静止画ディレクトリに格納し、記録する(S409)。
If the number of still image files already stored in the storage destination still image directory has not reached the predetermined value, it is determined that the storage is possible (S408). In this case, the compressed still image data stored in the
格納先の静止画ディレクトリに既に格納されている静止画ファイルの数が所定値に達しており、これ以上格納できない場合、格納できないと判断する(S408)。この場合、静止画データの記録を禁止し(S410)、表示制御部104により、静止画の撮影ができない旨の警告情報(アイコン)を表示部105に表示する(S411)。ユーザは、このアイコンを確認することで、これ以上静止画の撮影ができないことを認識できる。
If the number of still image files already stored in the storage destination still image directory has reached a predetermined value and cannot be stored any more, it is determined that the storage is impossible (S408). In this case, recording of still image data is prohibited (S410), and warning information (icon) indicating that a still image cannot be captured is displayed on the
図5は、電源オフ、または、記録媒体111の取り出しのために蓋112が開状態となった際の、静止画ディレクトリの削除処理のフローチャートを示す。制御部109は、図5に示す処理に従い各部を制御する。具体的には、操作部108により電源オフの指示があるか、または、開閉検出部113により開状態である旨が検出されると、制御部109は、図5に示す処理を開始する。
FIG. 5 shows a flowchart of still image directory deletion processing when the
記録媒体111が第1の種類の記録媒体であるかどうかを判別する(S501)。記録媒体111が第1の種類の記録媒体でなかった場合(S501)、処理を終了する。記録媒体111が第1の種類の記録媒体であった場合(S502)、S209又はS406において新たに作成した静止画格納用ディレクトリが記録媒体111に存在するかどうかを判別する(S502)。新たに作成したディレクトリが無い場合(S502)、処理を終了する。新たに作成したディレクトリがある場合(S502)、この新たなディレクトリに1以上の静止画ファイルが格納されているかどうかを判別する(S503)。新たなディレクトリに一つも静止画ファイルが格納されていない場合(S503)、この新たなディレクトリを削除する(S504)。ディレクトリを削除した場合には、記録媒体111からディレクトリエントリが削除されることになる。新たなディレクトリに1以上の静止画ファイルが格納されていた場合(S503)、そのまま処理を終了する。
It is determined whether or not the
本実施例では、動画の記録中に静止画ディレクトリを作成すると連続した動画の記録が保証されない種類の記録媒体を記録先とする場合、電源投入時や装着時に予め静止画ディレクトリを作成する。これにより、同時撮影モードにおいて、動画撮影中に静止画撮影の指示があった場合でも、動画の記録を中断又は停止すること無く、静止画を静止画ディレクトリに格納し、記録することができる。 In the present embodiment, when a recording medium of a type in which recording of a continuous moving image is not guaranteed if a still image directory is created during recording of a moving image is used as a recording destination, the still image directory is generated in advance when the power is turned on or mounted. Thus, in the simultaneous shooting mode, even when there is an instruction to shoot a still image during moving image shooting, the still image can be stored and recorded in the still image directory without interrupting or stopping the recording of the moving image.
なお、同時撮影モードに限らず、記録媒体111として第1の種類の記録媒体が装着された場合に、記録媒体111に対する静止画撮影後に図4のステップS405、S406に相当する処理を行う構成としてもよい。
In addition to the simultaneous shooting mode, when a first type of recording medium is loaded as the
また、本実施例では、内蔵の記録媒体107と交換可能な記録媒体111とを動画や静止画の記録先に指定可能な構成であるが、複数の交換可能な記録媒体に対して動画や静止画を記録する構成にも、適用可能である。また、一つの記録媒体に対して動画や静止画を記録する構成にも適用可能である。
In the present embodiment, the built-in
ビデオカメラに適用した実施例を説明したが、本発明は、動画と静止画を記録可能な撮像装置一般に適用可能である。
Although the embodiment applied to the video camera has been described, the present invention can be applied to any imaging device capable of recording moving images and still images.
Claims (4)
前記動画データと前記静止画データとを記録媒体に記録する記録手段であって、前記記録媒体に記録された動画データと静止画データをディレクトリに格納することにより管理する記録手段と、
前記動画データの記録開始および記録停止の指示と前記静止画データの記録指示とを受け付ける受付手段と、
前記記録媒体の種類を検出する検出手段と、
前記検出手段の出力に基づいて前記記録手段を制御する制御手段
とを備え、
前記制御手段は、前記記録媒体が、複数のクラスタからなるブロックを単位としてアクセスした場合にデータの書き込み速度を保証し、クラスタ単位でアクセスした場合には書き込み速度を保証しない所定の記録媒体である場合、前記動画データの記録開始の指示の前に静止画格納用ディレクトリを新たに作成し、前記動画データの記録中の前記静止画データの記録指示に応じて、前記静止画格納用ディレクトリに前記静止画データを格納して記録するように前記記録手段を制御し、前記記録媒体が前記所定の記録媒体でない場合、前記動画データの記録中の前記静止画データの記録指示に応じて前記静止画格納用ディレクトリを新たに作成して前記静止画データを格納して記録するように前記記録手段を制御することを特徴とする記録装置。 Acquisition means for acquiring video data and still image data;
Recording means for recording the moving image data and the still image data on a recording medium, wherein the recording means manages the moving image data and the still image data recorded on the recording medium by storing them in a directory;
Receiving means for receiving instructions for starting and stopping recording of the moving image data and recording instructions for the still image data;
Detecting means for detecting the type of the recording medium;
Control means for controlling the recording means based on the output of the detection means,
The control means is a predetermined recording medium that guarantees a data writing speed when the recording medium is accessed in units of blocks composed of a plurality of clusters, and does not guarantee a writing speed when accessed in units of clusters. In this case, a new still image storage directory is created before the instruction to start recording the moving image data, and the still image storage directory is stored in the still image storage directory in accordance with the instruction to record the still image data during recording of the moving image data. When the recording means is controlled to store and record still image data, and the recording medium is not the predetermined recording medium, the still image data is recorded in response to an instruction to record the still image data during recording of the moving image data. and create a new storage directory recording apparatus characterized by controlling the recording device to record and store the still image data
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009284781A JP5523081B2 (en) | 2009-12-16 | 2009-12-16 | Recording device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009284781A JP5523081B2 (en) | 2009-12-16 | 2009-12-16 | Recording device |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2011129183A JP2011129183A (en) | 2011-06-30 |
JP2011129183A5 JP2011129183A5 (en) | 2013-02-07 |
JP5523081B2 true JP5523081B2 (en) | 2014-06-18 |
Family
ID=44291612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009284781A Active JP5523081B2 (en) | 2009-12-16 | 2009-12-16 | Recording device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5523081B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102105362B1 (en) | 2013-09-17 | 2020-04-28 | 삼성전자주식회사 | Integrated circuit and image sensor including the same |
JP7213657B2 (en) * | 2018-11-05 | 2023-01-27 | キヤノン株式会社 | IMAGING DEVICE, CONTROL METHOD AND PROGRAM THEREOF |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4464235B2 (en) * | 2004-09-24 | 2010-05-19 | キヤノン株式会社 | Imaging device |
JP4143656B2 (en) * | 2005-08-02 | 2008-09-03 | キヤノン株式会社 | Image processing apparatus, image processing method, computer program, and storage medium |
JP2009118346A (en) * | 2007-11-08 | 2009-05-28 | Canon Inc | Information recording apparatus, method of controlling the same, and program |
JP4471007B2 (en) * | 2008-02-05 | 2010-06-02 | ソニー株式会社 | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, RECORDING DEVICE CONTROL METHOD PROGRAM AND RECORDING DEVICE CONTROL METHOD PROGRAM RECORDING MEDIUM |
JP5296062B2 (en) * | 2008-05-09 | 2013-09-25 | パナソニック株式会社 | LINK INFORMATION GENERATION DEVICE, IMAGE RECORDING DEVICE, IMAGE REPRODUCTION DEVICE, LINK INFORMATION GENERATION METHOD, IMAGE RECORDING METHOD, AND IMAGE REPRODUCTION METHOD |
-
2009
- 2009-12-16 JP JP2009284781A patent/JP5523081B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011129183A (en) | 2011-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8208793B2 (en) | Recording apparatus | |
KR101268923B1 (en) | Recording apparatus | |
JP2009118215A (en) | Imaging apparatus | |
CN102833480B (en) | Reproducer and reproducting method | |
US9224428B2 (en) | Recording apparatus and control method thereof | |
JP5523081B2 (en) | Recording device | |
JP5207943B2 (en) | Imaging device | |
JP2011250103A (en) | Reproducing apparatus | |
JP5584462B2 (en) | Recording apparatus and recording control method | |
JP2015099995A (en) | Recording device and recording device control method | |
JP2006114145A (en) | Animation recording and reproducing device, and method for protecting disk medium | |
JP5414844B2 (en) | Imaging device | |
US20090060457A1 (en) | Recording apparatus | |
JP5159473B2 (en) | Imaging device | |
JP5950798B2 (en) | Recording apparatus and control method thereof | |
JP5312104B2 (en) | Imaging device | |
JP2006323953A (en) | Information recording apparatus and information recording / reproducing apparatus | |
JP5683127B2 (en) | Recording device | |
JP5511739B2 (en) | Recording apparatus and recording method | |
JP5984546B2 (en) | Image processing apparatus, image processing method, and storage medium | |
JP6504927B2 (en) | Recording apparatus and control method of recording apparatus | |
JP2012019373A (en) | Recording apparatus and method | |
JP2005192143A (en) | Recording apparatus and method, computer program, and computer readable recording medium | |
JP2011124851A (en) | Signal processor | |
JP2016025391A (en) | Recording apparatus, recording method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121213 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131218 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131224 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140219 |
|
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: 20140311 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140408 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5523081 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: R3D03 |