[go: up one dir, main page]

JP2017005391A - Recording apparatus and recording apparatus control method - Google Patents

Recording apparatus and recording apparatus control method Download PDF

Info

Publication number
JP2017005391A
JP2017005391A JP2015115232A JP2015115232A JP2017005391A JP 2017005391 A JP2017005391 A JP 2017005391A JP 2015115232 A JP2015115232 A JP 2015115232A JP 2015115232 A JP2015115232 A JP 2015115232A JP 2017005391 A JP2017005391 A JP 2017005391A
Authority
JP
Japan
Prior art keywords
recording
moving image
file
image data
recording medium
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.)
Granted
Application number
JP2015115232A
Other languages
Japanese (ja)
Other versions
JP6504927B2 (en
Inventor
亮 及川
Akira Oikawa
亮 及川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2015115232A priority Critical patent/JP6504927B2/en
Publication of JP2017005391A publication Critical patent/JP2017005391A/en
Application granted granted Critical
Publication of JP6504927B2 publication Critical patent/JP6504927B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)
  • Studio Devices (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a user with a time capable of recording on a recording medium more appropriately, when recording video data on a recording medium.SOLUTION: A recorder records a video file including video data on a recording medium, and acquires a first recordable time capable of recording on a recording medium based on an idle capacity recordable on the recording medium, and a second recordable time recordable on the recording medium based on the number of files recordable on the recording medium. Out of the first recordable time and second recordable time, the short recordable time is displayed in a display section, as the recordable time of the video data onto the recording medium.SELECTED DRAWING: Figure 1

Description

本発明は記録装置及び記録装置の制御方法に関し、特に動画データを記録媒体へ記録する装置に関するものである。   The present invention relates to a recording apparatus and a control method for the recording apparatus, and more particularly to an apparatus for recording moving image data on a recording medium.

近年、動画データの高画質化や高解像度化が進んでおり、動画データを構成する1フレームあたりのデータ量が大きくなったり、単位時間あたりのフレーム数(fps)が多くなったりすることで、動画データの容量は飛躍的に大きくなる傾向にある。また動画データの大容量化に伴って、256ギガバイト(GB)や512GBといった大容量のメモリ(記録媒体)が存在する。   In recent years, moving image data has been improved in image quality and resolution, and the amount of data per frame constituting the moving image data has increased or the number of frames per unit time (fps) has increased. The capacity of moving image data tends to increase dramatically. Further, with the increase in capacity of moving image data, there are large-capacity memories (recording media) such as 256 gigabytes (GB) and 512 GB.

デジタルカメラ等で撮影された動画データは一般的に、MOVやMP4等の動画ファイル形式で記録され、それらの動画ファイルはFAT32(File Allocation Table 32bit)等のファイルシステムで記録媒体に記録される。ファイルシステムでは管理可能なファイルサイズに上限があり、1ファイルあたりのデータ容量が制限される。例えばFAT32でフォーマットされた記録媒体には1ファイルあたり4GBを越えて記録できない。   Moving image data shot by a digital camera or the like is generally recorded in a moving image file format such as MOV or MP4, and these moving image files are recorded on a recording medium by a file system such as FAT32 (File Allocation Table 32 bits). In the file system, there is an upper limit on the manageable file size, and the data capacity per file is limited. For example, a recording medium formatted with FAT32 cannot record more than 4 GB per file.

従来、撮影した動画データをメモリに記録する際、記録可能なメモリの容量がなくなり突然撮影できなくなることを防ぐために、表示部に残りどれだけの時間分の動画データが記録可能であるかを表示する画像記録装置がある(例えば、特許文献1参照)。   Conventionally, when recording recorded video data in memory, the display unit displays how much video data can be recorded in order to prevent sudden recording failure due to lack of recordable memory capacity. There is an image recording apparatus (see, for example, Patent Document 1).

特開平10−172269号公報Japanese Patent Laid-Open No. 10-172269

記録媒体のファイルシステムによるファイルサイズの上限値(FAT32では4GB)より大きい動画データを記録するために、動画データを複数のファイルに分割して記録する技術がある。一方デジタルカメラやビデオカメラ等で用いられているDCF(Design rule for Camera File system)規格においては、記録媒体に記録可能なディレクトリ数及び各ディレクトリ内に記録可能なファイル数に上限がある。このため、記録媒体に記録可能な空き容量があったとしても、ファイル数の上限によってファイルを生成できず動画データの記録ができなくなってしまう場合がある。   In order to record moving image data larger than the upper limit value of the file size (4 GB in FAT32) according to the file system of the recording medium, there is a technique of dividing the moving image data into a plurality of files and recording. On the other hand, in the DCF (Design rule for Camera File system) standard used in digital cameras, video cameras, and the like, there is an upper limit on the number of directories that can be recorded on a recording medium and the number of files that can be recorded in each directory. For this reason, even if there is a free space that can be recorded on the recording medium, a file may not be generated due to the upper limit of the number of files, and moving image data may not be recorded.

本発明はこのような背景に鑑みてなされたものであり、記録媒体に動画データを記録する場合に、記録媒体に記録可能な時間をより適切にユーザに提供することを目的とする。   The present invention has been made in view of such a background, and an object of the present invention is to more appropriately provide a user with a recordable time when recording moving image data on a recording medium.

上記目的を達成するために、本発明に係る記録装置は、動画データを含む動画ファイルを記録媒体に記録する記録手段と、前記記録媒体に記録可能な空き容量に基づいた前記記録媒体に記録可能な第1の記録可能時間を取得し、前記記録媒体に記録可能なファイル数に基づいた前記記録媒体に記録可能な第2の記録可能時間を取得する取得手段と、前記取得手段により取得された前記第1の記録可能時間と前記第2の記録可能時間とのうち、短い記録可能時間を前記記録媒体への動画データの記録可能時間として表示部に表示させるように制御する制御手段とを有することを特徴とする。   In order to achieve the above object, a recording apparatus according to the present invention can record a moving image file including moving image data on a recording medium, and record on the recording medium based on a free space that can be recorded on the recording medium. Obtaining a first recordable time, obtaining a second recordable time recordable on the recording medium based on the number of files recordable on the recording medium, and obtaining by the obtaining means Control means for controlling the display unit to display a short recordable time out of the first recordable time and the second recordable time as the recordable time of moving image data on the recording medium. It is characterized by that.

本発明によれば、記録媒体に動画データを記録する場合に、記録媒体に記録可能な時間をより適切にユーザに提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, when moving image data is recorded on a recording medium, the time which can be recorded on a recording medium can be provided to a user more appropriately.

本発明における記録装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a recording apparatus according to the present invention. 動画データの分割記録モードでの記録処理を示すフローチャートである。It is a flowchart which shows the recording process in the division | segmentation recording mode of moving image data. 実施形態1における記録可能時間の取得処理を示すフローチャートである。3 is a flowchart illustrating a recordable time acquisition process according to the first embodiment. 表示部110に記録可能時間が表示される場合の概略図である。FIG. 11 is a schematic diagram when a recordable time is displayed on the display unit 110. 動画データの延長記録モードでの記録処理を示すフローチャートである。It is a flowchart which shows the recording process in the extended recording mode of moving image data. 実施形態2における記録可能時間の取得処理を示すフローチャートである。10 is a flowchart illustrating a recordable time acquisition process according to the second embodiment.

以下、添付図面を参照して、本発明を説明する。   Hereinafter, the present invention will be described with reference to the accompanying drawings.

(実施形態1)
図1は、実施形態1による記録装置としてのデジタルカメラ100の構成例を示すブロック図である。撮像部101は、撮影した被写体を示す画像データを生成して出力する。撮像部101は、ズームレンズやフォーカスレンズ等の光学系、CMOS等のイメージセンサ、アイリス、撮影した画像信号をデジタル信号に変換するAD変換器、AD変換器から出力された画像データに必要な処理を施す処理回路等を含む。撮像部101は、制御部105から静止画記録の指示が出力された場合、静止画撮影指示に対応したタイミングで1画面の静止画データを生成して出力し、揮発性メモリ102に記憶する。また、撮像部101は、制御部105から動画記録の指示が出力された場合、設定された画素数及びフレームレートや目標ビットレート等に応じた形式の動画データを生成して出力し、揮発性メモリ102に記憶する。
(Embodiment 1)
FIG. 1 is a block diagram illustrating a configuration example of a digital camera 100 as a recording apparatus according to the first embodiment. The imaging unit 101 generates and outputs image data indicating a photographed subject. The imaging unit 101 includes an optical system such as a zoom lens and a focus lens, an image sensor such as a CMOS, an iris, an AD converter that converts a captured image signal into a digital signal, and processing necessary for image data output from the AD converter. Including a processing circuit. When an instruction for recording a still image is output from the control unit 105, the imaging unit 101 generates and outputs still image data for one screen at a timing corresponding to the still image shooting instruction, and stores it in the volatile memory 102. In addition, when an instruction to record a moving image is output from the control unit 105, the imaging unit 101 generates and outputs moving image data in a format according to the set number of pixels, a frame rate, a target bit rate, and the like. Store in the memory 102.

揮発性メモリ102には、撮像部101から出力された静止画データや動画データ、信号処理部104により符号化された静止画データや動画データ等が一時的に記憶され、記録媒体108のファイルシステムの情報及び管理情報などの各種情報が記憶される。不揮発性メモリ103には、制御部105で処理する実行プログラムや、静止画データや動画データに重畳して表示部110に表示する付加情報の画像(グラフィカルユーザーインターフェース/GUI)を生成するためのデータ等が記憶されている。付加情報は例えば、静止画または動画を記録する際の設定値や静止画の記録可能枚数、動画の記録経過時間や記録可能時間等の情報である。信号処理部104は、撮像部101から出力された静止画データや動画データに対して、JPEGやMPEG等の公知の符号化方式に従う符号化処理を施し、その情報量を圧縮する。   The volatile memory 102 temporarily stores still image data and moving image data output from the imaging unit 101, still image data and moving image data encoded by the signal processing unit 104, and the file system of the recording medium 108. And various information such as management information are stored. The non-volatile memory 103 includes an execution program to be processed by the control unit 105 and data for generating an additional information image (graphical user interface / GUI) to be displayed on the display unit 110 while being superimposed on still image data or moving image data. Etc. are stored. The additional information is, for example, information such as a set value when recording a still image or a moving image, the number of still images that can be recorded, a recording elapsed time or a recordable time of the moving image, and the like. The signal processing unit 104 performs encoding processing according to a known encoding method such as JPEG or MPEG on the still image data or moving image data output from the imaging unit 101, and compresses the information amount.

制御部105はマイクロコンピュータ(CPU)やその他必要なメモリを有し、不揮発性メモリ103に記憶されたプログラムに従い、操作部106からの指示に応じてデジタルカメラ100の各部の動作を制御する。操作部106は、電源スイッチ、動画の撮影開始、停止を指示するトリガスイッチ、静止画撮影スイッチ、ズームスイッチ、再生スイッチ、メニュースイッチ等の各種のスイッチを備え、スイッチを介して入力されたユーザから指示を制御部105に送信する。なお、操作部106の一部はタッチパネルで構成され、表示部110に装着されるようにしてもよい。   The control unit 105 includes a microcomputer (CPU) and other necessary memory, and controls the operation of each unit of the digital camera 100 in accordance with an instruction from the operation unit 106 according to a program stored in the nonvolatile memory 103. The operation unit 106 includes various switches such as a power switch, a trigger switch for instructing start and stop of moving image shooting, a still image shooting switch, a zoom switch, a playback switch, a menu switch, and the like from a user input via the switch. An instruction is transmitted to the control unit 105. A part of the operation unit 106 may be configured with a touch panel and may be attached to the display unit 110.

記録再生部107は、記録媒体108からファイルシステムの情報及び管理情報などを読み出して揮発性メモリ102に記憶する。ファイルシステムの情報は、例えば記録媒体108に記録されたファイルのファイル名、ファイルサイズ及び記録アドレス等を示すデータからなる。記録媒体108に記録する静止画データや動画データ、音声データ及び各種情報を記録媒体108のファイルシステムに従い管理する。   The recording / playback unit 107 reads file system information, management information, and the like from the recording medium 108 and stores them in the volatile memory 102. The file system information includes data indicating the file name, file size, recording address, and the like of the file recorded on the recording medium 108, for example. Still image data, moving image data, audio data, and various information to be recorded on the recording medium 108 are managed according to the file system of the recording medium 108.

記録再生部107はATA(AT Attachment)等の公知のインターフェースを有し、制御部105からの制御コマンドに従い、揮発性メモリ102に記憶されている静止画データや動画データ等の情報を所定の単位ごとに記録媒体108に記録する。また記録再生部107は、制御部105からの指示に従い、記録媒体108に記録されている静止画データや動画データなどを読み出す。記録媒体108は例えば、大容量のハードディスク(HDD)やメモリーカード等のランダムアクセスな記録媒体である。記録媒体108はデジタルカメラ100の本体に内蔵されていてもよいし、不図示の装着、排出機構により、デジタルカメラ100に対して着脱可能な構成でもよい。   The recording / reproducing unit 107 has a known interface such as ATA (AT Attachment), and in accordance with a control command from the control unit 105, information such as still image data and moving image data stored in the volatile memory 102 is stored in a predetermined unit. Every time, it is recorded on the recording medium 108. The recording / playback unit 107 reads still image data, moving image data, and the like recorded on the recording medium 108 in accordance with an instruction from the control unit 105. The recording medium 108 is a random access recording medium such as a large-capacity hard disk (HDD) or a memory card. The recording medium 108 may be built in the main body of the digital camera 100 or may be configured to be detachable from the digital camera 100 by a mounting / discharging mechanism (not shown).

表示制御部109は、制御部105からの指示に従い、揮発性メモリ102に記憶された静止画データや動画データ、不揮発性メモリ103に記憶されたGUIのデータなどの各種データを表示部110に表示するための画像処理を行う。表示部110は、制御部105からの指示に従い、表示制御部109において画像処理された静止画データや動画データ、GUI等を表示する。表示部110は液晶パネル等、公知の表示装置を含む。内部バス111は、デジタルカメラ100の各部の間で、各種のデータやコマンドを転送するために用いられる。   The display control unit 109 displays various data such as still image data and moving image data stored in the volatile memory 102 and GUI data stored in the nonvolatile memory 103 on the display unit 110 in accordance with an instruction from the control unit 105. Image processing is performed. The display unit 110 displays still image data, moving image data, GUI, and the like image-processed by the display control unit 109 in accordance with an instruction from the control unit 105. The display unit 110 includes a known display device such as a liquid crystal panel. The internal bus 111 is used to transfer various data and commands between the units of the digital camera 100.

次にデジタルカメラ100による基本的な記録処理について説明する。デジタルカメラ100は記録媒体108に対して、静止画データを含む静止画ファイルや動画データを含む動画ファイルを記録することができる。操作部106により電源オンの指示があると、制御部105は各部を制御してデジタルカメラ100を記録待機状態に設定する。記録待機状態において、撮像部101は動画データを出力し、撮像部101からの動画データに係る被写体の画像が表示部110に表示される。   Next, basic recording processing by the digital camera 100 will be described. The digital camera 100 can record a still image file including still image data and a moving image file including moving image data on the recording medium 108. When a power-on instruction is given by the operation unit 106, the control unit 105 controls each unit to set the digital camera 100 to a recording standby state. In the recording standby state, the imaging unit 101 outputs moving image data, and an image of a subject related to the moving image data from the imaging unit 101 is displayed on the display unit 110.

静止画データの記録処理は、デジタルカメラ100の記録待機状態において、操作部106による静止画データの記録指示が入力されたことに応じて、制御部105が各部を制御して行われる。撮像部101は、操作部106による静止画データの記録指示の入力に対応したタイミングで1画面の静止画データを生成して出力する。そして出力された静止画データは、信号処理部104により圧縮され、記録再生部107により静止画ファイルとして所定のフォーマット(JPEG等)で記録媒体108に記録される。   The still image data recording process is performed by the control unit 105 controlling each unit in response to the input of a still image data recording instruction from the operation unit 106 in the recording standby state of the digital camera 100. The imaging unit 101 generates and outputs still image data of one screen at a timing corresponding to the input of a still image data recording instruction by the operation unit 106. The output still image data is compressed by the signal processing unit 104 and recorded on the recording medium 108 in a predetermined format (JPEG or the like) as a still image file by the recording / reproducing unit 107.

次に動画データの記録処理について説明する。本実施形態でデジタルカメラ100は、操作部106からの動画の記録開始の指示に応じて動画データを含む動画ファイルを記録媒体108に記録し、動画の記録停止の指示に応じて動画データの記録を停止して記録処理を終了する。本実施形態では2つの記録モードで動画データの記録が行われる。記録中の動画ファイルのファイルサイズが所定の閾値より大きい場合に、一連の動画データを複数のファイルに分割して記録する分割記録モードと、一連の動画データを1つの動画ファイルに記録する通常記録モードがある。分割記録モードでは、記録中の動画ファイルのファイルサイズが所定の閾値に達するごとに記録媒体108に新たに動画ファイルが生成される。また、通常記録モードでは記録中の動画ファイルのファイルサイズに関わらず1回の記録指示により1つの動画ファイルが生成される。   Next, the moving image data recording process will be described. In this embodiment, the digital camera 100 records a moving image file including moving image data on the recording medium 108 in response to an instruction to start recording moving images from the operation unit 106, and records moving image data in response to an instruction to stop recording moving images. To stop the recording process. In the present embodiment, moving image data is recorded in two recording modes. When the file size of the moving image file being recorded is larger than a predetermined threshold, the divided recording mode for recording a series of moving image data into a plurality of files and the normal recording for recording the moving image data in one moving image file There is a mode. In the divided recording mode, a new moving image file is generated on the recording medium 108 every time the file size of the moving image file being recorded reaches a predetermined threshold. In the normal recording mode, one moving image file is generated by one recording instruction regardless of the file size of the moving image file being recorded.

本実施形態において動画データを分割記録モードで記録するかどうかは、記録媒体108のファイルシステムに基づいて制御部105が判断する。具体的には制御部105が、揮発性メモリ102に記憶されたファイルシステムの情報を解析して、記録媒体108において使用されるファイルシステムがexFATかFAT32かを識別する。制御部105は記録媒体108のファイルシステムがexFATの場合は分割記録モードで記録しない(通常記録モードで記録する)と判断し、FAT32の場合は分割記録モードで記録すると判断する。分割記録モードで記録する場合、記録媒体108のファイルシステムで規定されるファイルサイズの上限値(FAT32では4GB)より所定量少ないサイズが、ファイル分割の閾値として設定され、揮発性メモリ102に記憶される。制御部105は、記録中の動画ファイルのファイルサイズがファイル分割の閾値を越えたらファイルを分割して動画データを記録するよう制御する。   In the present embodiment, the control unit 105 determines whether to record moving image data in the divided recording mode based on the file system of the recording medium 108. Specifically, the control unit 105 analyzes file system information stored in the volatile memory 102 and identifies whether the file system used in the recording medium 108 is exFAT or FAT32. When the file system of the recording medium 108 is exFAT, the control unit 105 determines that recording is not performed in the divided recording mode (recording is performed in the normal recording mode), and when the file system is FAT32, it is determined that recording is performed in the divided recording mode. When recording in the split recording mode, a file size that is smaller by a predetermined amount than the upper limit (4 GB in FAT32) of the file size defined by the file system of the recording medium 108 is set as a threshold for file splitting and stored in the volatile memory 102. The The control unit 105 controls to divide the file and record moving image data when the file size of the moving image file being recorded exceeds the file division threshold.

図2は動画データを分割記録モードで記録する場合の記録処理を示すフローチャートである。記録待機状態において操作部106から動画の記録開始の指示があると、ステップS201で制御部105は、各部を制御して記録媒体108に新たに動画ファイルを生成し、撮像部101から出力された動画データを生成した動画ファイルに記録させる。このとき撮像部101はユーザにより設定された画素数及びフレームレートの動画データを出力する。また、信号処理部104は設定された動画の記録形式に応じた目標ビットレートになるように、動画データを圧縮する。そして記録再生部107は、圧縮された動画データを不図示の音声入力部から入力された音声データと共に、所定の単位ごとに記録媒体108に記録する。   FIG. 2 is a flowchart showing a recording process when moving image data is recorded in the divided recording mode. When there is an instruction to start recording a moving image from the operation unit 106 in the recording standby state, the control unit 105 controls each unit to generate a new moving image file on the recording medium 108 and output it from the imaging unit 101 in step S201. Record the video data in the generated video file. At this time, the imaging unit 101 outputs moving image data having the number of pixels and the frame rate set by the user. Further, the signal processing unit 104 compresses the moving image data so that the target bit rate is set in accordance with the set moving image recording format. The recording / reproducing unit 107 records the compressed moving image data on the recording medium 108 for each predetermined unit together with the audio data input from the audio input unit (not shown).

ステップS202において制御部105は、記録媒体108に動画データを記録可能な空き容量があるかどうかを判断する。空き容量がない場合に制御部105は、ステップS208で動画データの記録を停止させる。そしてステップS209で制御部105は、記録再生部107に、記録を終了したファイルを所定のフォーマット(MOV、MP4等)に形成して記録媒体108に記録させ(ファイルクローズ処理)、動画データの記録処理を終了する。   In step S <b> 202, the control unit 105 determines whether the recording medium 108 has a free capacity capable of recording moving image data. If there is no free space, the control unit 105 stops recording moving image data in step S208. In step S209, the control unit 105 causes the recording / playback unit 107 to form the recorded file in a predetermined format (MOV, MP4, etc.) and record it on the recording medium 108 (file closing process), thereby recording moving image data. The process ends.

空き容量がある場合(S202でYes)には、制御部105はステップS203において、動画データの記録停止指示を受けたかどうか判断する。操作部106等を介して記録停止指示を受けた場合、制御部105は、上述したようにステップS208及びステップS209の動画データの記録処理を終了する処理を行う。記録停止指示を受けていない場合、ステップS204において制御部105は、現在記録中の動画ファイルのファイルサイズが、揮発性メモリ102に記憶されているファイル分割の閾値に達したかどうかを判断する。   If there is free space (Yes in S202), the control unit 105 determines in step S203 whether a moving image data recording stop instruction has been received. When receiving a recording stop instruction via the operation unit 106 or the like, the control unit 105 performs a process of ending the moving image data recording process in steps S208 and S209 as described above. If the recording stop instruction has not been received, in step S204, the control unit 105 determines whether or not the file size of the currently recorded moving image file has reached the file division threshold value stored in the volatile memory 102.

記録中の動画ファイルのファイルサイズがまだファイル分割の閾値に達していない場合、制御部105はステップS201の動画データの記録処理を続けて行うように制御する。記録中の動画ファイルのファイルサイズがファイル分割の閾値に達した場合、ステップS205において制御部105は、現在記録中のファイルへの動画データの記録を終了して新しい次のファイルを生成可能かどうか判断する。新たなファイルが生成可能な場合、制御部105は記録を終了したファイルについてファイルクローズ処理を行い(ステップS206)、新たなファイルの生成処理を行い(ステップS207)、新たなファイルへ動画データの記録を続ける。新たなファイルが生成できない場合(ステップS205でNo)、制御部105は、上述したようにステップS208及びステップS209の動画データの記録処理を終了する処理を行う。   When the file size of the moving image file being recorded has not yet reached the file division threshold, the control unit 105 controls to continue the recording processing of the moving image data in step S201. If the file size of the moving image file being recorded has reached the file division threshold, in step S205, the control unit 105 can finish recording the moving image data in the currently recorded file and generate a new next file. to decide. If a new file can be generated, the control unit 105 performs a file closing process on the file that has been recorded (step S206), performs a new file generation process (step S207), and records moving image data in the new file. Continue. When a new file cannot be generated (No in step S205), the control unit 105 performs a process of ending the moving image data recording process in steps S208 and S209 as described above.

次に本実施形態における動画ファイル、静止画ファイル及びその他各種のファイルのファイル名(ファイル番号)の付加方法について説明する。本実施形態においてこれらのファイルはDCF(Design rule for Camera File system)規格に基づいて生成される。記録媒体108には複数のファイルを格納可能なディレクトリが生成され、100から999までの数字を用いたディレクトリ番号を含むディレクトリ名が付加される。また、各ディレクトリに記録されるファイルには、0001から9999までの数字を用いたファイル番号を含むファイル名が付加される。   Next, a method for adding file names (file numbers) of moving image files, still image files, and other various files in this embodiment will be described. In this embodiment, these files are generated based on the DCF (Design rule for Camera File system) standard. A directory capable of storing a plurality of files is generated on the recording medium 108, and a directory name including a directory number using numbers from 100 to 999 is added. A file name including a file number using numbers from 0001 to 9999 is added to the file recorded in each directory.

記録媒体108に作成された新たなディレクトリには、ファイル番号0001のファイルから記録される。新たにファイルを生成する場合、ファイルを記録するディレクトリ内に記録済みのファイルの中で最大のファイル番号を1だけ増加させて、連続したファイル番号を含むファイル名が新たなファイルに付加される。そしてそのディレクトリ内にファイル番号9999のファイルの記録を終えて、次に新たにファイルが生成される場合には、新たなディレクトリが作成される。そして、記録媒体108に記録済みのディレクトリの中で最大のディレクトリ番号を1だけ増加させて連続したディレクトリ番号を含むディレクトリ名が新たなディレクトリに付加され、新たなディレクトリ内にファイルが記録されていく。   A new directory created in the recording medium 108 is recorded from the file with the file number 0001. When a new file is generated, the maximum file number among the files already recorded in the directory in which the file is recorded is increased by 1, and a file name including consecutive file numbers is added to the new file. When recording of the file with the file number 9999 is finished in the directory and a new file is generated next, a new directory is created. Then, the maximum directory number among the directories already recorded on the recording medium 108 is incremented by 1, a directory name including a continuous directory number is added to the new directory, and files are recorded in the new directory. .

例えばディレクトリ番号100のディレクトリに、ファイル番号0001からファイル番号9999のファイルを記録した後に、新たに生成したファイルを記録する場合には、ディレクトリ番号101の新たなディレクトリが作成される。そして新たに生成したファイルは、ディレクトリ番号101のディレクトリにファイル番号0001のファイルとして記録される。   For example, when a newly generated file is recorded after the files of file number 0001 to 9999 are recorded in the directory of directory number 100, a new directory of directory number 101 is created. The newly generated file is recorded as a file with the file number 0001 in the directory with the directory number 101.

本実施形態において図2で説明したように、動画データを複数のファイルに分割して記録する場合、図2のステップS207において生成されるファイルは、ステップS206でクローズ処理したファイルのファイル番号に1を加えたファイル番号が付加される。   As described with reference to FIG. 2 in the present embodiment, when the moving image data is divided and recorded into a plurality of files, the file generated in step S207 in FIG. Is added to the file number.

また本実施形態では、新たなファイルに付加するファイル番号は、該ファイルを生成する際に記録媒体108に記録済みの最大のディレクトリ番号のディレクトリに記録されている最大のファイル番号に1加えた番号を用いる。例えば、記録媒体108内で最大のディレクトリ番号300のディレクトリにファイル番号0100のファイルが記録済みの場合、新たなファイルはディレクトリ番号300のディレクトリにファイル番号0101のファイルとして記録される。また、記録媒体108内で最大のディレクトリ番号300のディレクトリにファイル番号9999のファイルが記録済みの場合、新たなファイルは新たに作成されたディレクトリ番号301のディレクトリに、ファイル番号0001のファイルとして記録される。   In this embodiment, the file number added to the new file is a number obtained by adding 1 to the maximum file number recorded in the directory of the maximum directory number recorded in the recording medium 108 when the file is generated. Is used. For example, if the file with the file number 0100 has already been recorded in the directory with the largest directory number 300 in the recording medium 108, the new file is recorded as the file with the file number 0101 in the directory with the directory number 300. If the file with the file number 9999 has already been recorded in the directory with the largest directory number 300 in the recording medium 108, the new file is recorded as the file with the file number 0001 in the newly created directory with the directory number 301. The

本実施形態では、1つのディレクトリに記録された最大のファイル番号より小さな番号が、同じディレクトリ内の何れのファイルにもファイル番号として使用されていない場合、この未使用の番号を新たに記録するファイルのファイル番号に使用しない。例えばファイルを記録後に消去した場合、消去したファイルが最終ファイル(最大のフォルダ番号のフォルダに記録されている最大のファイル番号のファイル)でない場合は、消去したファイルのファイル番号は新たなファイルのファイル番号に使用されない。この場合、最大のディレクトリ番号999のディレクトリに最大のファイル番号9999のファイルが記録された記録媒体には、新たにファイルを生成することができず、ファイルを記録することができない。   In this embodiment, when a number smaller than the maximum file number recorded in one directory is not used as a file number for any file in the same directory, a file in which this unused number is newly recorded Do not use for file numbers. For example, if a file is deleted after recording, and the deleted file is not the last file (the file with the highest file number recorded in the folder with the highest folder number), the file number of the deleted file is the file of the new file. Not used for numbers. In this case, a new file cannot be generated on the recording medium in which the file with the maximum file number 9999 is recorded in the directory with the maximum directory number 999, and the file cannot be recorded.

例えば、図2のステップS205において、現在記録中の動画ファイルのファイル番号が9999であり、ディレクトリ番号999のディレクトリに記録されている場合、制御部105は新たなファイルを生成できないと判断する。   For example, in step S205 of FIG. 2, when the file number of the currently recorded moving image file is 9999 and is recorded in the directory with the directory number 999, the control unit 105 determines that a new file cannot be generated.

新たに生成するファイルに付加するファイル番号は上述した決定の仕方に限らず、例えば各ディレクトリ内で使用されていないファイル番号を使用して、新たなファイルに付加してもよい。この場合、新たなファイルの記録時にディレクトリ番号999のディレクトリにファイル番号9999のファイルが記録済みの記録媒体でも、各ディレクトリでファイル番号として未使用の番号があれば、その未使用の番号を用いて新たなファイルを生成できる。   The file number to be added to the newly generated file is not limited to the above-described determination method. For example, a file number that is not used in each directory may be used to add to the new file. In this case, even if a recording medium in which a file with a file number 9999 is recorded in a directory with a directory number 999 when a new file is recorded, if there is an unused number as a file number in each directory, the unused number is used. A new file can be generated.

静止画データや動画データを記録する際の撮影条件等の設定項目については、ユーザが設定できるように構成してもよい。静止画データについての設定項目としては、記録画素数、ホワイトバランス、露光等がある。動画データについての設定項目は、1フレーム当たりの画素数やフレームレート、目標ビットレート、圧縮方法等の動画データの記録形式等がある。複数の設定項目がある場合、複数の設定項目の少なくとも一つをユーザが任意に設定できるようにしてもよく、これら複数の設定項目を対応づけておき、何れか一つをユーザが設定した場合に、他の項目が自動的に設定されるようにしておいてもよい。例えば動画データの記録形式をUHD(3840×2160/30fps)、FHD(1920×1080/30fps)、SD(640×480/30fps)とし、フレームの画素数とフレームレートをセットにして3種類から選択できる構成してもよい。   Setting items such as shooting conditions when recording still image data and moving image data may be configured to be set by the user. Setting items for still image data include the number of recorded pixels, white balance, exposure, and the like. Setting items for moving image data include the number of pixels per frame, a frame rate, a target bit rate, a moving image data recording format such as a compression method, and the like. When there are a plurality of setting items, at least one of the plurality of setting items may be arbitrarily set by the user. When these setting items are associated with each other and the user sets one of them In addition, other items may be automatically set. For example, the video data recording format is UHD (3840 x 2160/30 fps), FHD (1920 x 1080/30 fps), SD (640 x 480/30 fps), and the number of frame pixels and the frame rate are selected from three types. It may be configured.

制御部105は、静止画データや動画データを記録する際の設定項目を示す情報を揮発性メモリ102に記憶する。操作部106により静止画データや動画データの記録開始の指示があると、制御部105は各部を制御して、揮発性メモリ102に記憶された設定項目に基づいた静止画データや動画データの記録を開始する。   The control unit 105 stores information indicating setting items for recording still image data and moving image data in the volatile memory 102. When the operation unit 106 instructs to start recording still image data or moving image data, the control unit 105 controls each unit to record still image data or moving image data based on the setting items stored in the volatile memory 102. To start.

次に静止画データと動画データの再生処理について説明する。操作部106により再生モードの指示があった場合、制御部105は、記録媒体108に記録されている静止画ファイルや動画ファイルの代表画像(サムネイル)を含むインデックス画面を表示部110に表示する。ユーザは操作部106を操作し、表示部110に表示された各ファイルの代表画像から何れかを選択し、再生を指示する。再生が指示された場合、制御部108は、選択された代表画像に対応した静止画ファイルまたは動画ファイルを再生するように記録再生部107を制御する。記録再生部107は、制御部105からの指示により、指定された静止画ファイルまたは動画ファイルを随時記録媒体108から読み出し、揮発性メモリ102に記憶する。信号処理部104は揮発性メモリ102から再生する静止画ファイルまたは動画ファイルを読み出して復号し、再生された静止画データまたは動画データとして再度揮発性メモリ102に記憶する。表示部110は、表示制御部109により揮発性メモリ102から再生された静止画データまたは動画データを表示する。操作部106より再生停止の指示があった場合、制御部108は静止画データまたは動画データの再生を停止させ、再び、インデックス画面を表示部110に表示させる。   Next, playback processing of still image data and moving image data will be described. When the playback unit is instructed by the operation unit 106, the control unit 105 displays an index screen including a representative image (thumbnail) of a still image file or a moving image file recorded on the recording medium 108 on the display unit 110. The user operates the operation unit 106, selects any one of the representative images of each file displayed on the display unit 110, and instructs reproduction. When reproduction is instructed, the control unit 108 controls the recording / reproducing unit 107 to reproduce a still image file or a moving image file corresponding to the selected representative image. The recording / playback unit 107 reads out a designated still image file or moving image file from the recording medium 108 as needed in accordance with an instruction from the control unit 105 and stores it in the volatile memory 102. The signal processing unit 104 reads and decodes a still image file or a moving image file to be reproduced from the volatile memory 102, and stores the decoded still image data or moving image data in the volatile memory 102 again as reproduced still image data or moving image data. The display unit 110 displays still image data or moving image data reproduced from the volatile memory 102 by the display control unit 109. When the operation unit 106 instructs to stop the reproduction, the control unit 108 stops the reproduction of the still image data or the moving image data, and displays the index screen on the display unit 110 again.

次に本実施形態における動画データの記録可能時間の取得処理を説明する。図3は、本実施形態における記録可能時間の取得処理を示すフローチャートである。本実施形態では、動画データの記録可能時間として、動画データを記録可能な記録媒体の空き容量、または該記録媒体に記録可能なファイル数に基づいて、記録可能時間を取得する。本実施形態において図3の処理は、動画データの記録待機中や記録開始前に行われるが、動画データの記録中に所定の間隔で行われてもよい。   Next, the acquisition processing of the recordable time of moving image data in the present embodiment will be described. FIG. 3 is a flowchart showing a recordable time acquisition process according to this embodiment. In the present embodiment, the recordable time of the moving image data is acquired based on the free capacity of the recording medium that can record the moving image data or the number of files that can be recorded on the recording medium. In the present embodiment, the processing of FIG. 3 is performed during recording standby of the moving image data or before the start of recording, but may be performed at predetermined intervals during recording of the moving image data.

ステップS301において制御部105は、記録媒体108において動画データや静止画データを記録可能な空き容量を取得する。そしてステップS302において、制御部105は記録媒体108に動画データを記録可能な空き容量があるか判断する。空き容量がない場合(ステップS301でNo)、ステップS312において制御部105は、記録媒体108には動画データの記録可能時間がない旨を表示部110に表示するように表示制御部109を制御して、本処理を終了する。   In step S <b> 301, the control unit 105 acquires a free space in which the moving image data and still image data can be recorded on the recording medium 108. In step S302, the control unit 105 determines whether the recording medium 108 has a free capacity capable of recording moving image data. If there is no free space (No in step S301), in step S312, the control unit 105 controls the display control unit 109 to display on the display unit 110 that the recording medium 108 has no recordable time for moving image data. Then, this process ends.

空き容量がある場合(ステップS302でYes)、ステップS303において制御部105は、揮発性メモリ102に記憶されている動画データの設定項目から動画データの目標ビットレートを取得する。動画の目標ビットレートの値は、動画データの設定項目の1つとして予めユーザによって設定されている値を用いてもよいし、設定されている動画データの記録形式(1フレーム当たりの画素数やフレームレート)から求めてもよい。本実施形態では、記録する動画データの1フレーム当たりの画素数とフレームレートに応じて目標ビットレートがそれぞれ設定されている。例えばSD(640×480/30fps)の動画データでの目標ビットレートは10Mbps、UHD(3840×2160/30fps)の動画データでの目標ビットレートは500Mbpsとする。   When there is free space (Yes in step S302), in step S303, the control unit 105 acquires the target bit rate of the moving image data from the setting items of the moving image data stored in the volatile memory 102. As the value of the target bit rate of the moving image, a value set in advance by the user as one of the setting items of the moving image data may be used, or the set recording format of the moving image data (the number of pixels per frame, It may be obtained from the frame rate. In this embodiment, the target bit rate is set according to the number of pixels per frame and the frame rate of the moving image data to be recorded. For example, the target bit rate for SD (640 × 480/30 fps) moving image data is 10 Mbps, and the target bit rate for UHD (3840 × 2160/30 fps) moving image data is 500 Mbps.

ステップS304において制御部105は、ステップS301で取得した記録媒体108の空き容量と、ステップS303で取得した動画データの目標ビットレートに基づいて、記録媒体108における動画データの記録可能時間Aを取得する。ここで記録可能時間Aは、(記録媒体108の空き容量)/(記録する動画データの目標ビットレート)により得られる。例えば記録媒体108の空き容量が48.4GBの場合に、動画データの記録形式がUHD(3840×2160/30fps)で目標ビットレートが500Mbpsとすると、記録可能時間Aは12分54秒となる。   In step S304, the control unit 105 acquires the recordable time A of the moving image data on the recording medium 108 based on the free space of the recording medium 108 acquired in step S301 and the target bit rate of the moving image data acquired in step S303. . Here, the recordable time A is obtained by (free space of the recording medium 108) / (target bit rate of moving image data to be recorded). For example, when the free space of the recording medium 108 is 48.4 GB, if the recording format of the moving image data is UHD (3840 × 2160/30 fps) and the target bit rate is 500 Mbps, the recordable time A is 12 minutes 54 seconds.

次にステップS305において制御部105は、揮発性メモリ102に記憶されている記録媒体108のファイルシステムの情報に基づいて、動画データを複数のファイルに分割しながら記録する分割記録モードで記録するかどうかを判断する。制御部105は、記録媒体108のファイルシステムがexFATの場合は分割記録モードで記録しない(通常記録モードで記録する)と判断し、FAT32の場合は分割記録モードで記録する(ファイルサイズの上限値が4GB)と判断する。   Next, in step S <b> 305, based on the file system information of the recording medium 108 stored in the volatile memory 102, the control unit 105 records in the divided recording mode in which the moving image data is recorded while being divided into a plurality of files. Judge whether. When the file system of the recording medium 108 is exFAT, the control unit 105 determines that recording is not performed in the divided recording mode (recording is performed in the normal recording mode), and when the file system is FAT32, recording is performed in the divided recording mode (upper limit value of the file size). 4GB).

ステップS305において、分割記録モードで記録しないと判断された場合は、ステップS311に進み、制御部105はステップS304で取得した記録可能時間Aを表示部110に表示するように表示制御部109を制御する。動画データの記録形式がUHD(3840×2160/30fps)で記録可能時間Aが12分54秒の場合、図4(a)に示すように表示部110に記録可能時間が表示される。   If it is determined in step S305 that recording is not performed in the divided recording mode, the process proceeds to step S311 and the control unit 105 controls the display control unit 109 to display the recordable time A acquired in step S304 on the display unit 110. To do. When the recording format of the moving image data is UHD (3840 × 2160/30 fps) and the recordable time A is 12 minutes 54 seconds, the recordable time is displayed on the display unit 110 as shown in FIG.

動画データを分割記録モードで記録する場合(ステップS305でYes)ステップS306で制御部105は、分割記録モードで記録する際のファイルサイズの上限値を、揮発性メモリ102に記憶されているファイルシステムの情報から取得する。記録媒体108のファイルシステムがFAT32の場合は、ファイルサイズの上限値は4GBとなる。   When moving image data is recorded in the divided recording mode (Yes in step S305), in step S306, the control unit 105 stores the upper limit value of the file size for recording in the divided recording mode in the volatile memory 102. Get from the information of. When the file system of the recording medium 108 is FAT32, the upper limit value of the file size is 4 GB.

次に制御部105はステップS307において、記録媒体108に記録可能なファイル数を取得する。本実施形態において、静止画ファイルや動画ファイル等の各種ファイルはDCF規格に準拠して生成される。そして新たに生成されるファイルには、記録媒体108に記録された最大のディレクトリ番号のディレクトリ内に記録されている、最大のファイル番号に1加えたファイル番号を用いたファイル名が付加される。よって本実施形態においては、記録媒体108に記録された最大のディレクトリ番号のディレクトリに記録可能なファイル数は、ファイル番号の最大値の9999から、該ディレクトリ内に記録されているファイルの最大のファイル番号を引いた値となる。例えば記録媒体108に記録された最大のディレクトリ番号が900で、ディレクトリ番号900のディレクトリにファイル番号9995のファイルが記録済みの場合、ディレクトリ番号900のディレクトリに記録可能なファイル数は4となる。   Next, in step S307, the control unit 105 acquires the number of files that can be recorded on the recording medium. In the present embodiment, various files such as still image files and moving image files are generated in accordance with the DCF standard. The newly generated file is added with a file name using a file number obtained by adding 1 to the maximum file number recorded in the directory having the maximum directory number recorded on the recording medium 108. Therefore, in the present embodiment, the number of files that can be recorded in the directory having the maximum directory number recorded on the recording medium 108 is from the maximum value 9999 of the file number to the maximum number of files recorded in the directory. The number is subtracted. For example, if the maximum directory number recorded on the recording medium 108 is 900 and a file with the file number 9955 has already been recorded in the directory with the directory number 900, the number of files that can be recorded in the directory with the directory number 900 is 4.

更に、記録媒体108にまだ作成されていないディレクトリ番号のディレクトリに記録可能なファイル数は、各ディレクトリにつき9999個である。よって、記録媒体108にまだ作成されていないディレクトリ番号のディレクトリに記録可能なファイル数は、ディレクトリ番号の最大値の999から記録媒体108に記録された最大のディレクトリ番号を引いた値に9999をかけた値である。以上より、記録媒体108に記録可能なファイル数は、記録媒体108に記録された最大のディレクトリ番号のディレクトリに記録可能なファイル数に、まだ作成されていないディレクトリ番号のディレクトリに記録可能なファイル数を足したものとなる。   Further, the number of files that can be recorded in a directory having a directory number that has not yet been created on the recording medium 108 is 9999 for each directory. Therefore, the number of files that can be recorded in a directory having a directory number that has not yet been created on the recording medium 108 is obtained by multiplying the value obtained by subtracting the maximum directory number recorded on the recording medium 108 from the maximum value 999 of the directory number. Value. From the above, the number of files that can be recorded on the recording medium 108 is the number of files that can be recorded in the directory with the maximum directory number recorded on the recording medium 108 and the number of files that can be recorded in the directory with the directory number that has not yet been created. Will be added.

記録媒体108に記録可能なファイル数の取得方法は上記に限らない。例えば、各ディレクトリ内で使用されていないファイル番号を新たなファイルのファイル番号として付加する場合には、まだ作成されていないディレクトリも含めた各ディレクトリで記録可能なファイル数を足し合わせた値を用いてもよい。   The method for obtaining the number of files that can be recorded on the recording medium 108 is not limited to the above. For example, when adding a file number that is not used in each directory as the file number of a new file, use the value obtained by adding the number of files that can be recorded in each directory, including directories that have not yet been created. May be.

ステップS308において制御部105は、ステップS307で取得した記録媒体108に記録可能なファイル数に基づいて、記録媒体108における動画データの記録可能時間Bを取得する。本実施形態では、ステップS303で取得した動画データの目標ビットレートとステップS306で取得したファイルサイズの上限値とに基づいて、設定された動画データの記録形式の目標ビットレートでの1つの動画ファイル当たりの記録可能時間を取得する。1ファイル当たりの記録可能時間は、具体的には(ファイルサイズの上限値)/(記録する動画データの目標ビットレート)により得られる。例えば、動画データの記録形式が前述のUHDで目標ビットレートが500Mbpsであり、ファイルサイズの上限値が4GBだったとき、1ファイル当たりの記録可能時間は1分4秒となる。   In step S308, the control unit 105 acquires the recordable time B of the moving image data in the recording medium 108 based on the number of files that can be recorded in the recording medium 108 acquired in step S307. In the present embodiment, one moving image file at the target bit rate of the set moving image data recording format based on the target bit rate of the moving image data acquired in step S303 and the upper limit value of the file size acquired in step S306. Get the recordable time per hit. Specifically, the recordable time per file is obtained by (upper limit value of file size) / (target bit rate of moving image data to be recorded). For example, when the recording format of moving image data is the aforementioned UHD, the target bit rate is 500 Mbps, and the upper limit value of the file size is 4 GB, the recordable time per file is 1 minute 4 seconds.

1ファイル当たりの記録可能時間の取得方法は上記のような算出方法に限らない。例えば動画データの記録形式(前述のUHD、FHD、SD等)毎に1ファイル当たりの記録可能時間の値をテーブル等で不揮発性メモリ103等に保持していて、設定された動画データの記録形式に応じて値を読みだして取得してもよい。   The method for obtaining the recordable time per file is not limited to the above calculation method. For example, the recordable time value per file is stored in the nonvolatile memory 103 or the like in a table or the like for each moving image data recording format (the above-mentioned UHD, FHD, SD, etc.), and the set moving image data recording format Depending on, the value may be read and acquired.

そして、動画データの記録待機中や記録開始前に記録可能時間Bを取得する場合においては、1ファイル当たりの記録可能時間に、ステップS307で取得した記録可能なファイル数をかけた値を記録可能時間Bとする。例えば、動画データの記録形式がUHDで目標ビットレートが500Mbpsであり、記録媒体108に記録可能なファイル数が4の場合には記録可能時間Bは4分16秒となる。   When the recordable time B is acquired during recording standby or before the start of recording of moving image data, a value obtained by multiplying the recordable time per file by the number of recordable files acquired in step S307 can be recorded. Time B is assumed. For example, when the recording format of moving image data is UHD, the target bit rate is 500 Mbps, and the number of files that can be recorded on the recording medium 108 is 4, the recordable time B is 4 minutes and 16 seconds.

動画データの記録中に記録可能時間Bを取得する場合においては、1ファイル当たりの記録可能時間に記録可能なファイル数をかけた値に更に、現在記録中のファイルの残りの記録可能時間を加えた値を記録可能時間Bとする。   When the recordable time B is acquired during recording of moving image data, the remaining recordable time of the currently recorded file is added to the value obtained by multiplying the recordable time per file by the number of recordable files. The recorded value is defined as a recordable time B.

ステップS309において制御部105は、ステップS304で取得された記録可能時間AとステップS308で取得された記録可能時間Bとを比較する。記録可能時間Aより記録可能時間Bの方が短い場合には(ステップS309でYes)、制御部105はステップS310において、記録可能時間Bを表示部110に表示するように表示制御部109を制御して、本処理を終了する。動画データの記録形式が前述したUHDで記録可能時間Bが4分16秒の場合、図4(b)に示すように表示部110に記録可能時間が表示される。また、記録可能時間Bより記録可能時間Aの方が短い場合には(ステップS309でNo)、制御部105はステップS311において、記録可能時間Aを表示部110に表示するように表示制御部109を制御して、本処理を終了する。   In step S309, the control unit 105 compares the recordable time A acquired in step S304 with the recordable time B acquired in step S308. If the recordable time B is shorter than the recordable time A (Yes in step S309), the control unit 105 controls the display control unit 109 to display the recordable time B on the display unit 110 in step S310. Then, this process ends. When the recording format of the moving image data is UHD and the recordable time B is 4 minutes 16 seconds, the recordable time is displayed on the display unit 110 as shown in FIG. If the recordable time A is shorter than the recordable time B (No in step S309), the control unit 105 causes the display control unit 109 to display the recordable time A on the display unit 110 in step S311. To end the present process.

例えば、記録媒体108の空き容量が48.4GBで記録可能なファイル数が4であり、UHDの動画データをファイルサイズの上限値を4GBとして記録する場合を考える。この場合、記録媒体108の空き容量に基づいて取得した記録可能時間Aは12分54秒で、記録可能なファイル数に基づいて取得した記録可能時間Bは4分16秒である。つまり、記録媒体108の空き容量には記録時間が12分54秒に相当する動画データを記録できるが、実際にはファイル数の上限によって4分16秒しか記録できない。このような場合に、本実施形態においては実際に記録可能な4分16秒を記録可能時間として表示部110に表示することができる。   For example, consider a case where the free space of the recording medium 108 is 48.4 GB, the number of files that can be recorded is 4, and UHD moving image data is recorded with an upper limit value of the file size of 4 GB. In this case, the recordable time A acquired based on the free space of the recording medium 108 is 12 minutes 54 seconds, and the recordable time B acquired based on the number of recordable files is 4 minutes 16 seconds. That is, moving image data corresponding to a recording time of 12 minutes and 54 seconds can be recorded in the free space of the recording medium 108, but actually, only 4 minutes and 16 seconds can be recorded due to the upper limit of the number of files. In such a case, in this embodiment, the actually recordable 4 minutes 16 seconds can be displayed on the display unit 110 as the recordable time.

以上の本実施形態の図3のステップS305において、記録媒体108のファイルシステムがexFATの場合に動画データを分割記録モードで記録しないと判断したが、これに限らない。例えば記録媒体108のファイルシステムがexFATでも、1ファイル当たりのファイルサイズの上限値がユーザ等によって所定の値(4GB等)に設定可能な構成とすることもできる。このような場合は、制御部105は図3のステップS305において分割記録モードで記録すると判断する。このとき、ユーザ等により設定されたファイルサイズの上限値は、動画データについての設定項目として揮発性メモリ102に記憶され、図3のステップS306において制御部105は、揮発性メモリ102からファイルサイズの上限値を取得する。   In step S305 of FIG. 3 of the present embodiment as described above, it is determined that the moving image data is not recorded in the divided recording mode when the file system of the recording medium 108 is exFAT. However, the present invention is not limited to this. For example, even if the file system of the recording medium 108 is exFAT, the upper limit value of the file size per file can be set to a predetermined value (4 GB or the like) by the user or the like. In such a case, the control unit 105 determines to record in the divided recording mode in step S305 in FIG. At this time, the upper limit value of the file size set by the user or the like is stored in the volatile memory 102 as a setting item for moving image data, and the control unit 105 reads the file size from the volatile memory 102 in step S306 in FIG. Get the upper limit.

以上のように本実施形態においては、動画データを記録可能な記録媒体の空き容量に基づいて取得された記録可能時間と、該記録媒体に記録可能なファイル数に基づいて取得された記録可能時間とのうち、短い記録可能時間を表示する。このような構成により、記録媒体へのより適切な動画データの記録可能時間をユーザに提供することができる。   As described above, in the present embodiment, the recordable time acquired based on the free space of the recording medium capable of recording moving image data and the recordable time acquired based on the number of files recordable on the recording medium. The short recordable time is displayed. With such a configuration, it is possible to provide the user with a more suitable recording time of moving image data on the recording medium.

(実施形態2)
本実施形態でデジタルカメラ100は、記録媒体108のファイルシステムがexFATのときに、1ファイル当たりのファイルサイズの上限値がユーザ等により設定可能な構成を有する。ファイルサイズの上限値は、記録媒体108のファイルシステムで規定されるファイルサイズの上限値より小さい値に設定でき、揮発性メモリ102に記憶される。exFATでのファイルサイズの上限値は16エクスビバイト(EiB)である。
(Embodiment 2)
In the present embodiment, the digital camera 100 has a configuration in which the upper limit value of the file size per file can be set by the user or the like when the file system of the recording medium 108 is exFAT. The upper limit value of the file size can be set to a value smaller than the upper limit value of the file size defined by the file system of the recording medium 108 and is stored in the volatile memory 102. The upper limit of the file size in exFAT is 16 exbytes (EiB).

実施形態1では動画データを分割記録モードで記録するかどうか(図3のステップS305)を記録媒体108のファイルシステムに基づいて判断し、ファイルシステムがexFATの場合には分割記録モードで記録しない(通常記録モードで記録する)とした。一方本実施形態では、記録媒体108のファイルシステムがexFATであっても、ファイルサイズの上限値がユーザ等により記録媒体108の容量より小さい値に設定された場合には、動画データを分割記録モードで記録する。   In the first embodiment, whether to record moving image data in the divided recording mode (step S305 in FIG. 3) is determined based on the file system of the recording medium 108. When the file system is exFAT, the moving image data is not recorded in the divided recording mode ( Recording in the normal recording mode). On the other hand, in the present embodiment, even if the file system of the recording medium 108 is exFAT, if the upper limit value of the file size is set to a value smaller than the capacity of the recording medium 108 by the user or the like, the moving image data is divided into the divided recording mode. Record with.

ファイルシステムがexFATであってファイルサイズの上限値がユーザ等により設定された場合、設定されたファイルサイズの上限値より所定量少ないサイズが、ファイル分割の閾値として設定され、揮発性メモリ102に記憶される。制御部105は、記録中の動画ファイルのファイルサイズがファイル分割の閾値を越えたらファイルを分割して動画データを記録するよう制御する。   When the file system is exFAT and the upper limit value of the file size is set by the user or the like, a size smaller than the set upper limit value of the file size by a predetermined amount is set as the file division threshold and stored in the volatile memory 102 Is done. The control unit 105 controls to divide the file and record moving image data when the file size of the moving image file being recorded exceeds the file division threshold.

本実施形態においても、実施形態1と同様に動画ファイル、静止画ファイル及びその他各種のファイルは、DCF規格に基づいて生成される。この構成では、ファイルシステムがexFATであっても設定されたファイルサイズの上限値を超えないように動画ファイルを生成していくと、記録媒体108に記録可能な空き容量があってもファイル数の上限により動画データの記録ができない場合がある。   Also in the present embodiment, as in the first embodiment, a moving image file, a still image file, and other various files are generated based on the DCF standard. In this configuration, even when the file system is exFAT, if a moving image file is generated so as not to exceed the upper limit value of the set file size, the number of files can be increased even if there is a free space that can be recorded on the recording medium 108. Recording of moving image data may not be possible due to the upper limit.

そこで本実施形態は、記録媒体108に記録可能な最終ファイル(ディレクトリ番号999のディレクトリに記録されるファイル番号9999のファイル)のみ、設定されたファイルサイズの上限値を超えて動画データを記録する延長記録モードを有する。延長記録モードで動画データを記録する場合、記録媒体108に記録可能な最終ファイルのファイルサイズの上限値が、ユーザ等に設定されたファイルサイズの上限値から記録媒体108のファイルシステムで規定される上限値に変更される。具体的には、記録媒体108のファイルシステムがexFATでファイルサイズの上限値が4GBに設定された場合、記録媒体108に記録可能な最終ファイルのファイルサイズの上限値が16EiB(0xFFFFFFFFFFFFFFFF)に変更される。   Therefore, in the present embodiment, only the final file that can be recorded on the recording medium 108 (the file with the file number 9999 recorded in the directory with the directory number 999) is an extension that records the moving image data exceeding the set upper limit of the file size. Has a recording mode. When moving image data is recorded in the extended recording mode, the upper limit value of the file size of the final file that can be recorded on the recording medium 108 is defined by the file system of the recording medium 108 from the upper limit value of the file size set by the user or the like. It is changed to the upper limit. Specifically, when the file system of the recording medium 108 is exFAT and the upper limit value of the file size is set to 4 GB, the upper limit value of the file size of the final file that can be recorded on the recording medium 108 is changed to 16 EiB (0xFFFFFFFFFFFFFFFF). The

本実施形態においては、動画データの延長記録が可能かどうかの判断を記録媒体108のファイルシステムがexFATかどうかで判断する。記録媒体108のファイルシステムがexFATの場合、ユーザ等によりファイルサイズの上限値を4GBや8GB等に設定されていても、ファイルシステム上のファイルサイズの上限値は16EiBと記録媒体の記録容量よりはるかに大きい。そのため最終ファイルは設定されたファイルサイズの上限値を超えて動画データを延長記録することが可能である。   In the present embodiment, whether or not the extended recording of moving image data is possible is determined based on whether or not the file system of the recording medium 108 is exFAT. When the file system of the recording medium 108 is exFAT, even if the upper limit value of the file size is set to 4 GB or 8 GB by the user or the like, the upper limit value of the file size on the file system is 16 EiB, which is much larger than the recording capacity of the recording medium. Big. For this reason, the last file can extend and record moving image data exceeding the set upper limit of the file size.

この構成により、記録媒体108のファイルシステムがexFATであってファイルサイズの上限値が設定された場合であっても、記録媒体108の記録可能な空き容量を効率的に使用して動画データを記録することができる。   With this configuration, even when the file system of the recording medium 108 is exFAT and the upper limit value of the file size is set, moving image data is recorded using the recordable free space of the recording medium 108 efficiently. can do.

本実施形態においてデジタルカメラ100で行われる記録処理について、図5を用いて説明する。図5は、ファイルサイズの上限値がユーザ等により設定された場合に、動画データを延長記録モードで記録する記録処理を示すフローチャートである。図5においてステップS201からステップS209で行う処理は実施形態1の図2において説明した各処理と同様である。   A recording process performed by the digital camera 100 in the present embodiment will be described with reference to FIG. FIG. 5 is a flowchart showing a recording process for recording moving image data in the extended recording mode when the upper limit value of the file size is set by the user or the like. In FIG. 5, the processing performed from step S201 to step S209 is the same as the processing described in FIG. 2 of the first embodiment.

ステップS204で用いるファイル分割の閾値は、揮発性メモリ102に記憶されたファイル分割の閾値を用いる。本実施形態において、記録媒体108のファイルシステムがFAT32の場合のファイル分割の閾値は、実施形態1で説明したようにFAT32で規定されるファイルサイズの上限値(4GB)より所定量少ないサイズである。また記録媒体108のファイルシステムがexFATの場合のファイル分割の閾値は、上述したようにユーザ等により設定されたファイルサイズの上限値から所定量少ないサイズである。   As the file division threshold used in step S204, the file division threshold stored in the volatile memory 102 is used. In the present embodiment, the file division threshold when the file system of the recording medium 108 is FAT32 is a size smaller by a predetermined amount than the upper limit value (4 GB) of the file size defined by FAT32 as described in the first embodiment. . In addition, when the file system of the recording medium 108 is exFAT, the file division threshold is smaller by a predetermined amount than the upper limit value of the file size set by the user or the like as described above.

本実施形態で現在記録中のファイルが最終ディレクトリの最終ファイルの場合にステップS205において新たなファイルを作成できないと判断されると、制御部105はステップS501において、動画データの延長記録が可能かどうかを判断する。本実施形態においては、ステップS501の判断を記録媒体のファイルシステムがexFATかどうかで判断する。記録媒体108のファイルシステムがexFATで動画データの延長記録が可能な場合、制御部105はステップS502で現在記録中のファイル(最終ディレクトリの最終ファイル)のファイルサイズの上限値を16EiBに更新する。   If it is determined in step S205 that a new file cannot be created when the file currently being recorded in this embodiment is the final file in the final directory, the control unit 105 determines in step S501 whether extended recording of moving image data is possible. Judging. In the present embodiment, the determination in step S501 is made based on whether the file system of the recording medium is exFAT. When the file system of the recording medium 108 is exFAT and extended recording of moving image data is possible, the control unit 105 updates the upper limit value of the file size of the currently recorded file (final file in the final directory) to 16EiB in step S502.

そして制御部105は、ステップS201に戻って現在記録中のファイルへ動画データの記録を続ける延長記録モードで記録を行うように各部を制御する。このとき制御部105は、ユーザ等に設定されたファイルサイズの上限値を超えて動画データを記録していることを示す情報を表示部110に表示するように表示制御部109を制御してもよい。   Then, the control unit 105 returns to step S201 and controls each unit to perform recording in the extended recording mode in which moving image data is continuously recorded in the file currently being recorded. At this time, the control unit 105 may control the display control unit 109 to display information indicating that the moving image data is recorded exceeding the upper limit value of the file size set by the user or the like on the display unit 110. Good.

動画データを延長記録モードで記録する場合、記録媒体108の空き容量がなくなる(ステップS202でNo)か、記録停止指示を受ける(ステップS203でYes)と、上述したステップS208及びステップS209で動画データの記録処理を終了する。   When recording moving image data in the extended recording mode, when there is no free space in the recording medium 108 (No in step S202) or a recording stop instruction is received (Yes in step S203), the moving image data is recorded in the above-described steps S208 and S209. The recording process is terminated.

記録媒体108のファイルシステムがFAT32等で動画データの延長記録が可能でない場合(ステップS501でNo)、制御部105はステップS208及びステップS209で動画データの記録処理を終了する。   If the file system of the recording medium 108 is FAT32 or the like and extended recording of moving image data is not possible (No in step S501), the control unit 105 ends the moving image data recording process in steps S208 and S209.

以下では、本実施形態において上述したようにファイルサイズの上限値がユーザ等により設定可能であって、延長記録モードで動画データを記録することが可能なデジタルカメラ100での動画データの記録可能時間の取得方法を説明する。   Hereinafter, as described above in the present embodiment, the upper limit value of the file size can be set by the user or the like, and the recordable time of the moving image data in the digital camera 100 capable of recording the moving image data in the extended recording mode. The acquisition method of will be described.

図6は、本実施形態における動画データの記録可能時間の取得処理を示したフローである。本実施形態において図6の処理は動画データの記録待機中や記録開始前に行われるが、動画データの記録中に所定の間隔で行われてもよい。ステップS301からステップS304、ステップS307からステップS312で行う処理は、実施形態1の図3において説明した各処理と同様である。   FIG. 6 is a flow showing the acquisition processing of the recordable time of the moving image data in the present embodiment. In the present embodiment, the processing of FIG. 6 is performed during recording standby of the moving image data or before the start of recording, but may be performed at predetermined intervals during recording of the moving image data. The processes performed in steps S301 to S304 and steps S307 to S312 are the same as the processes described in FIG. 3 of the first embodiment.

ステップ601において制御部105は、揮発性メモリ102に記憶されている記録媒体108のファイルシステムの情報とファイルサイズの上限値に基づいて、動画データを分割記録モードで記録するかどうかを判断する。制御部105が分割記録モードで記録すると判断するのは、記録媒体108のファイルシステムがFAT32の場合と、ファイルシステムがexFATでファイルサイズの上限値がユーザ等により設定された場合である。一方制御部105が分割記録モードで記録しない(通常記録モードで記録する)と判断するのは、記録媒体108のファイルシステムがexFATでファイルサイズの上限値がユーザ等により設定されていない場合である。   In step 601, the control unit 105 determines whether to record the moving image data in the divided recording mode based on the file system information of the recording medium 108 stored in the volatile memory 102 and the upper limit value of the file size. The control unit 105 determines that the recording is performed in the divided recording mode when the file system of the recording medium 108 is FAT32 or when the file system is exFAT and the upper limit value of the file size is set by the user or the like. On the other hand, the control unit 105 determines that recording is not performed in the split recording mode (recording is performed in the normal recording mode) when the file system of the recording medium 108 is exFAT and the upper limit value of the file size is not set by the user or the like. .

ステップS601において分割記録モードで記録しないと判断された場合、ステップS311に進み、制御部105はステップS304で取得した記録可能時間Aを表示部110に表示するように表示制御部109を制御する。   If it is determined in step S601 that recording is not performed in the divided recording mode, the process proceeds to step S311 and the control unit 105 controls the display control unit 109 to display the recordable time A acquired in step S304 on the display unit 110.

分割記録モードで記録する場合、ステップS603で制御部105は、記録媒体108に記録可能な最終ディレクトリの最終ファイルで、動画データの延長記録が可能かどうかを判断する。本実施形態においては、ステップS602の判断を記録媒体108のファイルシステムがexFATかどうかで判断する。記録媒体108のファイルシステムがexFATの場合は、ファイルサイズの上限値が設定されていたとしても、最終ファイルには設定されたファイルサイズの上限値を超えて動画データの延長記録が可能であると判断する。記録媒体108のファイルシステムがFAT32等でexFATでない場合、ファイルシステムでファイルサイズの上限値が決められているので、最終ファイルであってもファイルサイズの上限値を超えて動画データを延長記録することはできないと判断する。   When recording in the divided recording mode, in step S603, the control unit 105 determines whether extended recording of moving image data is possible with the final file in the final directory recordable on the recording medium 108. In this embodiment, the determination in step S602 is determined based on whether the file system of the recording medium 108 is exFAT. If the file system of the recording medium 108 is exFAT, even if the upper limit value of the file size is set, the final file can be extendedly recorded with moving image data exceeding the set upper limit value of the file size. to decide. When the file system of the recording medium 108 is FAT32 or the like and is not exFAT, the upper limit value of the file size is determined by the file system. Therefore, even for the final file, the moving image data is recorded in an extended manner exceeding the upper limit value of the file size. Judge that it is not possible.

動画データの延長記録が可能と判断された場合、制御部105は、ステップS304で取得した記録可能時間Aを表示部110に表示するように表示制御部109を制御する。これは、設定されたファイルサイズの上限値を超えて最終ファイルへの動画データの延長記録を続ける場合は、記録媒体108の記録可能な空き容量に動画データを記録することが可能になるためである。   When it is determined that extended recording of moving image data is possible, the control unit 105 controls the display control unit 109 to display the recordable time A acquired in step S304 on the display unit 110. This is because moving image data can be recorded in the recordable free space of the recording medium 108 when continuing the extended recording of moving image data to the final file exceeding the set upper limit of the file size. is there.

動画データの延長記録が可能でないと判断された場合(ステップS602でNo)は、ステップS603で制御部105は、動画データを分割記録モードで記録する際のファイルサイズの上限値を取得する。分割記録する際のファイルサイズの上限値は、揮発性メモリ102に記憶されているファイルシステムの情報または設定されたファイルサイズの上限値から取得する。ファイルシステムの情報から記録媒体108のファイルシステムがFAT32の場合、分割記録する際のファイルサイズの上限値を4GBとし、exFATの場合は設定されたファイルサイズの上限値を分割記録する際のファイルサイズの上限値とする。そして制御部105はステップS307以下の処理を行う。   If it is determined that extended recording of moving image data is not possible (No in step S602), in step S603, the control unit 105 acquires an upper limit value of the file size when recording moving image data in the divided recording mode. The upper limit value of the file size at the time of divided recording is acquired from the file system information stored in the volatile memory 102 or the upper limit value of the set file size. From the file system information, when the file system of the recording medium 108 is FAT32, the upper limit value of the file size at the time of divided recording is set to 4 GB, and when it is exFAT, the upper limit value of the set file size is set at the time of divided recording. The upper limit value of. And the control part 105 performs the process below step S307.

上述した実施形態では、最終ファイルでファイルサイズの上限値を超えて動画データを延長記録できるかどうかの判断を、記録媒体108のファイルシステムがexFATかどうかで判断した。それだけに限らず、例えばFAT32でファイルサイズの上限値をユーザ等により2GBと設定されていた場合、最終ファイルのみFAT32におけるファイルサイズの上限値の4GBまで延長記録を可能としてもよい。この場合、制御部105は図6のステップS602では延長記録可能と判断する。   In the embodiment described above, whether or not moving image data can be extended and recorded exceeding the upper limit of the file size in the final file is determined based on whether or not the file system of the recording medium 108 is exFAT. For example, when the upper limit value of the file size is set to 2 GB by the user or the like in the FAT 32, only the final file may be extended to the maximum file size value of 4 GB in the FAT 32. In this case, the control unit 105 determines that extended recording is possible in step S602 of FIG.

そして制御部105は表示する記録可能時間として、記録媒体108の記録容量に基づいた記録可能時間A(ステップS311)ではなく、記録媒体108に記録可能なファイル数に基づいて記録可能時間Cを取得する。このとき記録可能時間Cは、ステップS603で取得したファイルサイズの上限値(最終ファイル以外は2GB、最終ファイルは4BG)と、ステップS307で取得した記録媒体108に記録可能なファイル数に基づいて取得される。具体的に記録可能時間Cは、最終ファイル以外の記録可能なファイル(ファイルサイズの上限値が2GB)に動画データを記録可能な時間に、最終ファイル(ファイルサイズの上限値が4GB)に動画データを記録可能な時間を足した値となる。   Then, the control unit 105 obtains the recordable time C based on the number of files that can be recorded on the recording medium 108 instead of the recordable time A based on the recording capacity of the recording medium 108 (step S311). To do. At this time, the recordable time C is acquired based on the upper limit value of the file size acquired in step S603 (2 GB for the files other than the final file, 4BG for the final file) and the number of files that can be recorded on the recording medium 108 acquired in step S307. Is done. Specifically, the recordable time C is the time when movie data can be recorded in a recordable file other than the last file (upper limit of file size is 2 GB), and the last recordable file (upper limit of file size is 4 GB). Is a value obtained by adding the recordable time.

以上より実施形態では、最終ファイルに動画データを延長記録可能な場合に、記録媒体の空き容量に基づいた記録可能時間と、該記録媒体に記録可能なファイル数に基づいた記録可能時間とのうち、より適切な動画データの記録可能時間を表示する。このような構成により、最終ファイルに動画データを延長記録可能な場合であっても、より適切な記録媒体への動画データの記録可能時間をユーザに提供できる。   As described above, in the embodiment, when the moving image data can be extended and recorded in the final file, the recordable time based on the free capacity of the recording medium and the recordable time based on the number of files recordable on the recording medium , More suitable video data recordable time is displayed. With such a configuration, even when moving image data can be extended and recorded in the final file, it is possible to provide the user with a more suitable recording time of moving image data on a recording medium.

100 デジタルカメラ
101 撮像部
102 揮発性メモリ
103 不揮発性メモリ
104 信号処理部
105 制御部
106 操作部
107 記録再生部
108 記録媒体
109 表示制御部
110 表示部
111 内部バス
DESCRIPTION OF SYMBOLS 100 Digital camera 101 Image pick-up part 102 Volatile memory 103 Non-volatile memory 104 Signal processing part 105 Control part 106 Operation part 107 Recording / reproducing part 108 Recording medium 109 Display control part 110 Display part 111 Internal bus

Claims (6)

動画データを含む動画ファイルを記録媒体に記録する記録手段と、
前記記録媒体に記録可能な空き容量に基づいた前記記録媒体に記録可能な第1の記録可能時間を取得し、前記記録媒体に記録可能なファイル数に基づいた前記記録媒体に記録可能な第2の記録可能時間を取得する取得手段と、
前記取得手段により取得された前記第1の記録可能時間と前記第2の記録可能時間とのうち、短い記録可能時間を前記記録媒体への動画データの記録可能時間として表示部に表示させるように制御する制御手段とを有することを特徴とする記録装置。
A recording means for recording a moving image file including moving image data on a recording medium;
A first recordable time that can be recorded on the recording medium based on the free space that can be recorded on the recording medium is acquired, and a second that can be recorded on the recording medium based on the number of files that can be recorded on the recording medium. Acquisition means for acquiring the recordable time of
Of the first recordable time and the second recordable time acquired by the acquisition means, a short recordable time is displayed on the display unit as a recordable time of moving image data on the recording medium. And a control means for controlling the recording apparatus.
前記取得手段は、一つの動画ファイル当たりの記録可能時間と前記記録媒体に記録可能な動画ファイルの数とに基づいて前記第2の記録可能時間を取得することを特徴とする請求項1に記載の記録装置。   2. The acquisition unit according to claim 1, wherein the acquisition unit acquires the second recordable time based on a recordable time per movie file and a number of movie files that can be recorded on the recording medium. Recording device. 前記記録手段は、記録中の動画ファイルのファイルサイズが所定の値に達した場合、記録中の動画ファイルをクローズし、新たに動画ファイルを生成して動画データの記録を続けることを特徴とする請求項1または2に記載の記録装置。   When the file size of the moving image file being recorded reaches a predetermined value, the recording means closes the moving image file being recorded, generates a new moving image file, and continues recording moving image data. The recording apparatus according to claim 1 or 2. 前記記録手段は、記録中の動画ファイルのファイルサイズが所定の値に達する毎に動画ファイルを分割する第1の記録モードと、記録中の動画ファイルを分割せずに記録する第2の記録モードとを有し、
前記制御手段は、前記記録手段が前記第1のモードで動画データを記録する場合に、前記第1の記録可能時間と前記第2の記録可能時間とのうち、短い記録可能時間を前記記録媒体への動画データの記録可能時間として前記表示部に表示させるように制御し、
前記記録手段が前記第2のモードで動画データを記録する場合、前記第1の記録可能時間を前記記録媒体への動画データの記録可能時間として前記表示部に表示させるように制御することを特徴とする請求項1から3のいずれか一項に記載の記録装置。
The recording means includes a first recording mode that divides the moving image file every time the file size of the moving image file being recorded reaches a predetermined value, and a second recording mode that records the moving image file being recorded without being divided. And
The control means sets a short recordable time out of the first recordable time and the second recordable time when the recording means records moving image data in the first mode. Control to display on the display unit as the recordable time of video data to
When the recording unit records moving image data in the second mode, control is performed so that the first recordable time is displayed on the display unit as the recordable time of moving image data on the recording medium. The recording apparatus according to any one of claims 1 to 3.
前記記録手段は、記録中の動画ファイルのファイルサイズが所定の値に達する毎に動画ファイルを分割する前記第1のモードの動画データの記録において、前記記録媒体に記録可能な最終ファイルのみ前記所定の値を超えて動画データを記録する第3のモードを有し、
前記制御手段は、前記記録手段が前記第3のモードで動画データを記録する場合に、前記第1の記録可能時間を前記記録媒体への動画データの記録可能時間として前記表示部に表示させるように制御することを特徴とする請求項1から4のいずれか一項に記載の記録装置。
In the recording of moving image data in the first mode in which the recording unit divides the moving image file every time the file size of the moving image file being recorded reaches a predetermined value, only the final file that can be recorded on the recording medium is the predetermined file A third mode for recording video data exceeding the value of
When the recording unit records moving image data in the third mode, the control unit causes the display unit to display the first recordable time as the recordable time of moving image data on the recording medium. The recording apparatus according to claim 1, wherein the recording apparatus is controlled as follows.
動画データを含む動画ファイルを記録媒体に記録する工程と、
前記記録媒体に記録可能な空き容量に基づいた前記記録媒体に記録可能な第1の記録可能時間を取得し、前記記録媒体に記録可能なファイル数に基づいた前記記録媒体に記録可能な第2の記録可能時間を取得する工程と、
前記第1の記録可能時間と前記第2の記録可能時間とのうち、短い記録可能時間を前記記録媒体への動画データの記録可能時間として表示部に表示させるように制御する工程と、を有することを特徴とする記録装置の制御方法。
Recording a moving image file including moving image data on a recording medium;
A first recordable time that can be recorded on the recording medium based on the free space that can be recorded on the recording medium is acquired, and a second that can be recorded on the recording medium based on the number of files that can be recorded on the recording medium. Obtaining the recordable time of
A step of controlling the display unit to display a short recordable time out of the first recordable time and the second recordable time as the recordable time of moving image data on the recording medium. A control method for a recording apparatus.
JP2015115232A 2015-06-05 2015-06-05 Recording apparatus and control method of recording apparatus Active JP6504927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015115232A JP6504927B2 (en) 2015-06-05 2015-06-05 Recording apparatus and control method of recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015115232A JP6504927B2 (en) 2015-06-05 2015-06-05 Recording apparatus and control method of recording apparatus

Publications (2)

Publication Number Publication Date
JP2017005391A true JP2017005391A (en) 2017-01-05
JP6504927B2 JP6504927B2 (en) 2019-04-24

Family

ID=57752884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015115232A Active JP6504927B2 (en) 2015-06-05 2015-06-05 Recording apparatus and control method of recording apparatus

Country Status (1)

Country Link
JP (1) JP6504927B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158645A (en) * 2001-11-21 2003-05-30 Canon Inc Imaging apparatus, file storage warning method, computer-readable storage medium, and program
JP2007180834A (en) * 2005-12-27 2007-07-12 Toshiba Corp Portable imaging device
JP2010028805A (en) * 2008-06-17 2010-02-04 Panasonic Corp Imaging apparatus and method of starting same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003158645A (en) * 2001-11-21 2003-05-30 Canon Inc Imaging apparatus, file storage warning method, computer-readable storage medium, and program
JP2007180834A (en) * 2005-12-27 2007-07-12 Toshiba Corp Portable imaging device
JP2010028805A (en) * 2008-06-17 2010-02-04 Panasonic Corp Imaging apparatus and method of starting same

Also Published As

Publication number Publication date
JP6504927B2 (en) 2019-04-24

Similar Documents

Publication Publication Date Title
KR101268923B1 (en) Recording apparatus
US8417089B2 (en) Recording apparatus
US8660400B2 (en) Imaging apparatus and method of starting the same
US8275244B2 (en) Recording apparatus
JP6057701B2 (en) Recording apparatus and control method thereof
KR101385168B1 (en) Image data recording apparatus
JP6220160B2 (en) Reproducing apparatus and control method thereof
JP2015023317A5 (en) Image management apparatus, image management method, program, and storage medium
JP5523081B2 (en) Recording device
JP6278353B2 (en) RECORDING DEVICE, RECORDING METHOD, PROGRAM, AND IMAGING DEVICE
JP6504927B2 (en) Recording apparatus and control method of recording apparatus
US9025935B2 (en) Recording apparatus, recording method, and recording system
JP2013046125A (en) Imaging apparatus
JP7214538B2 (en) Imaging device and recording control method
JP2015029229A (en) Recording apparatus and control method therefor
JP6436818B2 (en) Recording apparatus and method
JP2017022559A (en) Recording device and control method for recording device
JP5950798B2 (en) Recording apparatus and control method thereof
JP5159473B2 (en) Imaging device
JP5511739B2 (en) Recording apparatus and recording method
JP2020077917A (en) Imaging apparatus, control method of the same, and program
JP7171337B2 (en) IMAGING DEVICE, IMAGE RECORDING METHOD AND PROGRAM
JP5683127B2 (en) Recording device
JP2013005054A (en) Reproduction device and reproduction method
JP5489582B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190326

R151 Written notification of patent or utility model registration

Ref document number: 6504927

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151