JP2017034459A - Recording device and recording method - Google Patents

Recording device and recording method Download PDF

Info

Publication number
JP2017034459A
JP2017034459A JP2015152156A JP2015152156A JP2017034459A JP 2017034459 A JP2017034459 A JP 2017034459A JP 2015152156 A JP2015152156 A JP 2015152156A JP 2015152156 A JP2015152156 A JP 2015152156A JP 2017034459 A JP2017034459 A JP 2017034459A
Authority
JP
Japan
Prior art keywords
image data
still image
recording
moving image
instruction
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.)
Pending
Application number
JP2015152156A
Other languages
Japanese (ja)
Inventor
智也 山下
Tomoya Yamashita
智也 山下
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 JP2015152156A priority Critical patent/JP2017034459A/en
Publication of JP2017034459A publication Critical patent/JP2017034459A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily record still image data corresponding to identification information into a recording media when the identification information is recorded based on an instruction for acquiring part of moving image data as still image data.SOLUTION: A recording device records a moving image file including moving image data and a still image file including still image data into a recording media, and applies identification information to the moving image file based on an instruction for acquiring part of the moving image data as the still image data. The still image data corresponding to the identification information is generated from the moving image file and is recorded into the recording media in accordance with an instruction of display processing or image processing for the still image data corresponding to the identification information.SELECTED DRAWING: Figure 1

Description

本発明は記録装置に関し、特に動画データから静止画データを生成して記録媒体へ記録する記録装置に関するものである。   The present invention relates to a recording apparatus, and more particularly to a recording apparatus that generates still image data from moving image data and records it on a recording medium.

従来、デジタルカメラやビデオカメラ等において、動画データの記録中に静止画データを生成する、または、記録媒体に記録された動画データの一部を静止画データとして生成する機能がある。   Conventionally, a digital camera, a video camera, or the like has a function of generating still image data during recording of moving image data, or generating a part of moving image data recorded on a recording medium as still image data.

例えば特許文献1は、動画データの記録中に入力された静止画データの記録指示のタイミングに対応したフレームを静止画用バッファメモリに保存し、動画データの記録終了後に動画データを含む動画ファイルに関連する静止画ファイルとして記録媒体に記録する。静止画用バッファメモリの容量が少ない場合には、静止画データの記録指示のタイミングに対応した動画データの記録開始からの経過フレーム数を付加情報として記憶する。そしてユーザから任意のタイミングで静止画データの表示指示が入力されたら、記憶した経過フレーム数に基づいて動画データから静止画データが生成され表示される。   For example, in Patent Document 1, a frame corresponding to a recording instruction timing of still image data input during recording of moving image data is stored in a still image buffer memory, and a moving image file including moving image data is recorded after the recording of moving image data is completed. Record it as a related still image file on a recording medium. When the capacity of the still image buffer memory is small, the number of frames that have elapsed since the start of recording of moving image data corresponding to the timing of recording instructions for still image data is stored as additional information. When an instruction to display still image data is input from the user at an arbitrary timing, still image data is generated from the moving image data and displayed based on the stored number of elapsed frames.

特開2012−182730号公報JP 2012-182730 A

上述した特許文献1において、静止画データの記録指示のタイミングに対応したフレームを経過フレーム数などの付加情報として記憶している状態では、記憶した経過フレーム数に対応する静止画データは静止画ファイルとして記録されてない場合がある。このような場合であっても、記憶した経過フレーム数に基づいて動画データから静止画データを生成して表示することは可能であるが、ユーザが静止画ファイルとして記録媒体に記録してあるかどうかを把握しにくい。   In Patent Document 1 described above, in a state where frames corresponding to the timing of recording instruction of still image data are stored as additional information such as the number of elapsed frames, still image data corresponding to the number of elapsed frames stored is a still image file. May not be recorded. Even in such a case, it is possible to generate and display still image data from the moving image data based on the stored number of elapsed frames, but whether the user has recorded it as a still image file on the recording medium. It ’s hard to know.

本発明はこのような背景に鑑みてなされたものであり、動画データの一部を静止画データとして取得する指示に基づいた識別情報が記憶されている場合、識別情報に対応する静止画データを容易に記録媒体に記録することを目的とする。   The present invention has been made in view of such a background. When identification information based on an instruction to acquire a part of moving image data as still image data is stored, still image data corresponding to the identification information is stored. It is intended to easily record on a recording medium.

上記目的を達成するために、本発明に係る記録装置は、動画データを含む動画ファイルと、静止画データを含む静止画ファイルとを記録媒体に記録する記録手段と、動画データの一部を静止画データとして取得する指示に基づいた識別情報を、前記動画ファイルに付加する付加手段と、前記識別情報に対応する静止画データを前記動画ファイルから生成する生成手段と、前記識別情報に対応する静止画データに対して所定の処理を指示する指示手段と、前記記録手段を制御する制御手段と、を有し、前記指示手段により前記識別情報に対応する静止画データに対して表示処理または加工処理が指示されたことに応じて、前記制御手段は、前記生成手段により生成された前記識別情報に対応する静止画データを前記記録媒体に記録するように前記記録手段を制御することを特徴とする。   In order to achieve the above object, a recording apparatus according to the present invention includes a recording means for recording a moving image file including moving image data, a still image file including still image data on a recording medium, and a portion of the moving image data. Adding means for adding identification information based on an instruction acquired as image data to the moving image file, generating means for generating still image data corresponding to the identification information from the moving image file, and stillness corresponding to the identification information Display means for instructing predetermined processing for image data; and control means for controlling the recording means; display processing or processing for still image data corresponding to the identification information by the instruction means In response to the instruction, the control means records the still image data corresponding to the identification information generated by the generation means on the recording medium. And controlling the recording means.

本発明によれば、動画データの一部を静止画データとして取得する指示に基づいた識別情報が記憶されている場合に、識別情報に対応する静止画データを容易に記録媒体に記録することができる。   According to the present invention, when identification information based on an instruction to acquire a part of moving image data as still image data is stored, still image data corresponding to the identification information can be easily recorded on a recording medium. it can.

本発明における記録装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a recording apparatus according to the present invention. 動画データの記録中に静止画データの取得を指示された場合のフラグ情報及び動画ファイルの記録処理を示すフローチャートである。It is a flowchart which shows the flag information and the recording process of a moving image file when acquisition of still image data is instructed during recording of moving image data. 動画ファイルに付加されたフラグ情報の概略図である。It is the schematic of the flag information added to the moving image file. 動画データの再生中に静止画データの取得を指示された場合のフラグ情報の記録処理を示すフローチャートである。It is a flowchart which shows the recording process of flag information when acquisition of still image data is instructed during reproduction of moving image data. フラグ情報に対応する静止画データに対して処理を指示された場合の処理を示すフローチャートである。It is a flowchart which shows a process when a process is instruct | indicated with respect to the still image data corresponding to flag information.

以下、添付図面を参照して、本発明の実施形態を説明する。   Embodiments of the present invention will be described below 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 the generated still image data in the memory 102. Further, 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 corresponding to the set number of pixels, the frame rate, the target bit rate, and the like, and the memory 102 To remember.

メモリ102には、撮像部101から出力された静止画データや動画データ、信号処理部103により符号化された静止画データや動画データ等が一時的に記憶され、記録媒体108のファイルシステムの情報及び管理情報などの各種情報が記憶される。更にメモリ102には、制御部105で処理する実行プログラムが記憶されている。信号処理部103は、撮像部101から出力された静止画データや動画データに対して、JPEGやMPEG等の公知の符号化方式に従う符号化処理を行う。また信号処理部103は、記録媒体108に記録された静止画ファイルや動画ファイルに復号処理(デコード)を施す。   The 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 103, and information on the file system of the recording medium 108. Various information such as management information is stored. Further, the memory 102 stores an execution program processed by the control unit 105. The signal processing unit 103 performs an encoding process according to a known encoding method such as JPEG or MPEG on the still image data or the moving image data output from the imaging unit 101. In addition, the signal processing unit 103 performs a decoding process (decoding) on the still image file and the moving image file recorded on the recording medium 108.

画像処理部104は、制御部105からの指示に従い、メモリ102に記憶された静止画データや動画データ、GUI(グラフィカルユーザインターフェース)のデータなどの各種データを表示部109に表示するための画像処理を行う。   The image processing unit 104 performs image processing for displaying various data such as still image data, moving image data, and GUI (graphical user interface) data stored in the memory 102 on the display unit 109 in accordance with an instruction from the control unit 105. I do.

制御部105はマイクロコンピュータ(CPU)やその他必要なメモリを有し、メモリ102に記憶されたプログラムに従い、操作部106からの指示に応じてデジタルカメラ100の各部の動作を制御する。操作部106は、電源スイッチ、動画の記録開始、停止を指示するトリガスイッチ、静止画記録スイッチ、ズームスイッチ、再生スイッチ、メニュースイッチ等の各種のスイッチを備え、スイッチを介して入力されたユーザから指示を制御部105に送信する。また操作部106は、動画データの記録中または再生中に静止画データの取得を指示するスイッチを有する。なお、操作部106の一部はタッチパネルで構成され、表示部109に装着されるようにしてもよい。   The control unit 105 includes a microcomputer (CPU) and other necessary memory, and controls the operation of each unit of the digital camera 100 according to an instruction from the operation unit 106 in accordance with a program stored in the memory 102. The operation unit 106 includes various switches such as a power switch, a trigger switch for instructing start and stop of moving image recording, a still image recording 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. The operation unit 106 also has a switch for instructing acquisition of still image data during recording or reproduction of moving image data. Note that a part of the operation unit 106 may be configured by a touch panel and attached to the display unit 109.

記録再生部107は、記録媒体108からファイルシステムの情報及び管理情報などを読み出してメモリ102に記憶する。ファイルシステムの情報は、例えば記録媒体108に記録されたファイルのファイル名、ファイルサイズ及び記録アドレス等を示すデータからなる。記録再生部107は、記録媒体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 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. The recording / playback unit 107 manages still image data, moving image data, audio data, and various types of information to be recorded on the recording medium 108 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 / playback 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 memory 102 is stored for each predetermined unit. Recording is performed 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からの指示に従い、信号処理部103及び画像処理部104において画像処理された静止画データや動画データ、GUI等を表示する。表示部109は液晶パネル等、公知の表示装置を含む。内部バス110は、デジタルカメラ100の各部の間で、各種のデータやコマンドを転送するために用いられる。   The display unit 109 displays still image data, moving image data, GUI, and the like image-processed by the signal processing unit 103 and the image processing unit 104 in accordance with an instruction from the control unit 105. The display unit 109 includes a known display device such as a liquid crystal panel. The internal bus 110 is used to transfer various data and commands between the units of the digital camera 100.

(動画データ及び静止画データの記録処理)
次にデジタルカメラ100による基本的な記録処理について説明する。デジタルカメラ100は記録媒体108に対して、静止画データを含む静止画ファイルや動画データを含む動画ファイルを記録することができる。操作部106により電源オンの指示があると、制御部105は各部を制御してデジタルカメラ100を記録待機状態に設定する。記録待機状態において、撮像部101は動画データを出力し、撮像部101からの動画データに係る被写体の画像が表示部109に表示される。
(Recording process of moving image data and still image data)
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 109.

動画データの記録処理について説明する。動画データの記録処理は、デジタルカメラ100の記録待機状態において、操作部106による動画データの記録開始の指示が入力されたことに応じて、制御部105が各部を制御して行われる。制御部105は、動画データの記録開始の指示に応じて記録再生部107に対して記録媒体108に新たな動画ファイルを生成させ、撮像部101から出力された動画データを生成した動画ファイルに記録させる。このとき撮像部101はユーザにより設定された画素数及びフレームレートの動画データを出力する。   The moving image data recording process will be described. In the recording standby state of the digital camera 100, the moving image data recording process is performed by the control unit 105 controlling each unit in response to the input of the moving image data recording instruction from the operation unit 106. The control unit 105 causes the recording / playback unit 107 to generate a new moving image file on the recording medium 108 in response to an instruction to start recording moving image data, and records the moving image data output from the imaging unit 101 in the generated moving image file. Let At this time, the imaging unit 101 outputs moving image data having the number of pixels and the frame rate set by the user.

また信号処理部103は設定された動画の記録形式に応じた目標ビットレートになるように動画データを圧縮し、記録再生部107は、圧縮された動画データを不図示の音声入力部から入力された音声データと共に、所定の単位ごとに記録媒体108に記録する。   In addition, the signal processing unit 103 compresses the moving image data so that the target bit rate corresponds to the set moving image recording format, and the recording / reproducing unit 107 receives the compressed moving image data from an audio input unit (not shown). Along with the audio data, it is recorded on the recording medium 108 for each predetermined unit.

操作部106による動画データの記録停止の指示が入力されたことに応じて、制御部105は動画データの記録を停止させる。そして制御部105は、記録再生部107に記録を終了したファイルを所定のフォーマット(MOV、MP4等)に形成して記録媒体108に記録させ(ファイルクローズ処理)、動画データの記録処理を終了する。   In response to the input of the moving image data recording stop instruction from the operation unit 106, the control unit 105 stops the recording of the moving image data. Then, the control unit 105 forms the recorded file in the recording / playback unit 107 in a predetermined format (MOV, MP4, etc.) and records it on the recording medium 108 (file closing process), and ends the moving image data recording process. .

静止画データの記録処理について説明する。静止画データの記録処理は、デジタルカメラ100の記録待機状態において、操作部106による静止画データの記録指示が入力されたことに応じて、制御部105が各部を制御して行われる。撮像部101は、操作部106による静止画データの記録指示の入力に対応したタイミングで1画面の静止画データを生成して出力する。そして出力された静止画データは、信号処理部103により圧縮され、記録再生部107により静止画ファイルとして所定のフォーマット(JPEG等)で記録媒体108に記録される。   Still image data recording processing will be described. 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 103 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により静止画データの取得指示を受け付けることができる。そしてデジタルカメラ100は、静止画データの取得指示に対応した静止画データを、任意のタイミングで入力される静止画データの記録指示に応じて動画データから生成して記録媒体108に記録できる。動画データの記録中または再生中に静止画データの取得を指示された場合の動画ファイルの記録処理、及び取得を指示された静止画データの記録処理については後述する。   In the present embodiment, the digital camera 100 can accept an instruction to acquire still image data through the operation unit 106 during recording or reproduction of moving image data. The digital camera 100 can generate still image data corresponding to a still image data acquisition instruction from moving image data in accordance with a still image data recording instruction input at an arbitrary timing, and record it on the recording medium 108. The recording process of the moving image file when the acquisition of the still image data is instructed during the recording or reproduction of the moving image data and the recording process of the still image data instructed to acquire will be described later.

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

(動画データの記録中に静止画データの取得を指示された場合の記録処理)
図2は本実施形態における、動画データの記録中において静止画データの取得を指示された場合の、静止画データの取得指示に基づいた識別情報(フラグ情報)及び動画ファイルの記録処理を示すフローチャートである。図2のフローチャートは、デジタルカメラ100の電源がオンされる、または、動画データの記録中に静止画データの取得指示を行うことが可能な動画記録モードに設定されたことで、メモリ102に記憶されているプログラムに基づいて開始される。制御部105は、デジタルカメラ100の電源オンに応じて記録媒体108のマウント処理を行い、記録媒体108へファイルを記録するための準備を行う。
(Recording process when instructed to acquire still image data during video data recording)
FIG. 2 is a flowchart showing recording processing of identification information (flag information) and a moving image file based on an instruction to acquire still image data when an instruction to acquire still image data is instructed during recording of moving image data in the present embodiment. It is. The flowchart of FIG. 2 is stored in the memory 102 when the digital camera 100 is turned on or set to a moving image recording mode in which an instruction to obtain still image data can be issued during recording of moving image data. It starts based on the program that is running. The control unit 105 mounts the recording medium 108 in response to power-on of the digital camera 100 and prepares for recording a file on the recording medium 108.

ステップS201で制御部105は、操作部106から動画データの記録開始の指示が入力されたかどうか判断する。動画データの記録開始の指示が入力されていない場合、ステップS209で制御部105は動画記録モードが静止画記録モードや再生モード等の他のモードに変更されたかどうか、またはデジタルカメラ100の電源がオフされたかどうかを判別する。他のモードに変更された場合または電源がオフされた場合は、本処理を終了する。他のモードに変更されていない場合または電源がオフされていない場合は、制御部105はステップS201の判断を継続する。   In step S <b> 201, the control unit 105 determines whether an instruction to start recording moving image data is input from the operation unit 106. If no instruction to start recording moving image data is input, in step S209, the control unit 105 determines whether the moving image recording mode has been changed to another mode such as a still image recording mode or a reproduction mode, or the power source of the digital camera 100 is Determine if it was turned off. When the mode is changed to another mode or when the power is turned off, this process is terminated. If the mode has not been changed to another mode or the power has not been turned off, the control unit 105 continues the determination in step S201.

動画データの記録開始の指示が入力された場合には、ステップS202で制御部105は、記録再生部107に対して、新たな動画ファイルを記録媒体108にオープンするように指示する。そしてステップS203で制御部105は、撮像部101から出力された動画データを信号処理部103により符号化させ、更に記録再生部107にステップS202でオープンした記録媒体108の動画ファイルに動画データを記録させるように制御する。   When an instruction to start recording moving image data is input, the control unit 105 instructs the recording / playback unit 107 to open a new moving image file on the recording medium 108 in step S202. In step S203, the control unit 105 causes the signal processing unit 103 to encode the moving image data output from the imaging unit 101, and further records the moving image data in the moving image file of the recording medium 108 opened in step S202 in the recording / playback unit 107. To control.

ステップS204で制御部105は、操作部106を介して静止画データの取得指示が入力されたかどうかを判断する。静止画データの取得指示が入力された場合、ステップS205において制御部105は、動画データの記録中に入力された静止画データの取得指示に基づいた識別情報をフラグ情報として生成してメモリ102に保持する。   In step S <b> 204, the control unit 105 determines whether a still image data acquisition instruction has been input via the operation unit 106. When a still image data acquisition instruction is input, in step S205, the control unit 105 generates identification information based on the still image data acquisition instruction input during recording of moving image data as flag information and stores it in the memory 102. Hold.

本実施形態においてフラグ情報は、動画データの記録中に静止画データの取得指示が入力される度に生成される。フラグ情報は、フラグIDと、記録開始からの経過時間に関する情報とを含む。   In the present embodiment, the flag information is generated every time a still image data acquisition instruction is input during recording of moving image data. The flag information includes a flag ID and information related to the elapsed time from the start of recording.

フラグIDとは、入力された取得指示を識別するために付与される、0から始まり取得指示が入力される度に1ずつ増える数字である。フラグIDは、静止画データの取得指示が入力された際に、記録中の動画ファイルについて生成されたフラグ情報の中で最大のフラグIDに1を加えた値が用いられる。本実施形態においてフラグIDは、動画データの記録が開始される毎に0から始まる数字を用いるが、例えばデジタルカメラ100の電源オンから電源オフまでの間、連続した番号になるようにフラグIDを付与してもよい。   The flag ID is a number given to identify the input acquisition instruction, starting from 0 and incrementing by 1 each time the acquisition instruction is input. As the flag ID, a value obtained by adding 1 to the maximum flag ID among the flag information generated for the moving image file being recorded when an instruction to acquire still image data is input. In the present embodiment, the flag ID uses a number starting from 0 each time recording of moving image data is started. For example, the flag ID is set to a continuous number from the power-on to the power-off of the digital camera 100. It may be given.

記録開始からの経過時間に関する情報は、静止画データの取得指示が入力されたタイミングに関する情報である。例えば記録開始からの経過時間に関する情報は、不図示のタイマーで計測された時間の情報を用いてもよいし、動画データの記録開始からの経過時間に動画データのフレームレートを乗算して求めた、動画データの記録開始からの経過フレーム数を用いてもよい。本実施形態においては、記録開始からの経過時間に関する情報として、静止画データの取得指示が入力されたタイミングに対応する動画データの記録開始からの経過フレーム数を用いる。   Information relating to the elapsed time from the start of recording is information relating to the timing at which an instruction to acquire still image data is input. For example, the information on the elapsed time from the start of recording may be information on the time measured by a timer (not shown), or obtained by multiplying the elapsed time from the start of recording of moving image data by the frame rate of the moving image data. Alternatively, the number of elapsed frames from the start of recording of moving image data may be used. In the present embodiment, the number of elapsed frames from the start of recording of moving image data corresponding to the timing at which an instruction to acquire still image data is input is used as information related to the elapsed time from the start of recording.

そしてステップS206において制御部105は、操作部106を介して動画データの記録停止の指示を受け付けたかどうかを判断し、動画データの記録停止の指示を受け付けるまで、ステップS203からステップS205の処理を続ける。こうして1つの動画データの記録中に静止画データの取得指示が複数回入力された場合は、それぞれの静止画データの取得指示に対応する複数のフラグ情報がメモリ102に保持される。   In step S206, the control unit 105 determines whether or not an instruction to stop recording moving image data is received via the operation unit 106, and continues the processing from step S203 to step S205 until an instruction to stop recording moving image data is received. . In this way, when a still image data acquisition instruction is input a plurality of times during recording of one moving image data, a plurality of flag information corresponding to each still image data acquisition instruction is held in the memory 102.

ステップS206で動画データの記録停止の指示を受け付けた場合(ステップS206でYes)、ステップS207で制御部105は動画データの記録を停止する。そして、制御部105はステップS208において、メモリ102に保持されているフラグ情報を動画ファイルに付加する形で記録し、記録再生部107に動画ファイルのクローズ処理を行わせて動画データの記録処理を終了する。   When an instruction to stop recording moving image data is received in step S206 (Yes in step S206), the control unit 105 stops recording moving image data in step S207. In step S208, the control unit 105 records the flag information held in the memory 102 in a form to be added to the moving image file, and causes the recording / playback unit 107 to perform the moving image file closing process to perform the moving image data recording process. finish.

フラグ情報は、静止画データの取得指示が入力された際に記録中だった動画ファイル内のヘッダ部に記録してもよいし、動画ファイルの管理情報として動画ファイルとは別に記録媒体108に記録してもよい。図3に動画ファイル301に付加されたフラグ情報の概略図を示す。図3では動画ファイル301の記録中に3回の静止画データの取得指示が入力され、動画ファイル301にフラグ情報302、303、304が付加されている場合を示している。1回目の静止画データの取得指示に対応するフラグ情報302は、動画データの記録開始からの経過フレーム数が30のときに静止画データの取得指示が入力されたことを示す。   The flag information may be recorded in the header portion of the moving image file that was being recorded when the still image data acquisition instruction was input, or may be recorded on the recording medium 108 as the moving image file management information separately from the moving image file. May be. FIG. 3 shows a schematic diagram of flag information added to the moving image file 301. FIG. 3 shows a case where a still image data acquisition instruction is input three times during recording of the moving image file 301 and flag information 302, 303, 304 is added to the moving image file 301. Flag information 302 corresponding to the first still image data acquisition instruction indicates that a still image data acquisition instruction has been input when the number of frames that have elapsed since the start of moving image data recording is 30.

(動画データの再生中に静止画データの取得を指示された場合のフラグ情報の記録処理)
図4は本実施形態における、動画データの再生中に静止画データの取得を指示された場合のフラグ情報の記録処理を示すフローチャートである。図4のフローチャートは、操作部106により再生モードにおいて動画ファイルの再生指示があった場合に、メモリ102に記憶されているプログラムに基づいて開始される。再生モードにおいて表示部109には、記録媒体108に記録されている動画ファイルや静止画ファイルの代表画像(サムネイル)を含むインデックス画面が表示される。ユーザが操作部106を操作して、表示部109に表示された各ファイルの代表画像から動画ファイルの代表画像を選択し、選択した動画ファイルの再生指示を入力した場合に本フローチャートの処理が開始される。
(Recording process of flag information when instructed to acquire still image data during playback of video data)
FIG. 4 is a flowchart showing a flag information recording process when an instruction to acquire still image data is given during reproduction of moving image data in the present embodiment. The flowchart in FIG. 4 is started based on a program stored in the memory 102 when an instruction to reproduce a moving image file is issued in the reproduction mode by the operation unit 106. In the playback mode, the display unit 109 displays an index screen including a moving image file recorded on the recording medium 108 and a representative image (thumbnail) of a still image file. The processing of this flowchart starts when the user operates the operation unit 106 to select a representative image of a moving image file from the representative images of each file displayed on the display unit 109 and inputs a reproduction instruction for the selected moving image file. Is done.

ステップS401において制御部105は、再生を指示された動画データを再生するように記録再生部107を制御する。ステップS402において制御部105は、動画データを再生している状態で操作部106を介して静止画データの取得指示が入力されたかどうかを判断する。静止画データの取得指示が入力された場合、ステップS403において制御部105は、動画データの記録中に入力された静止画データの取得指示に基づいた識別情報をフラグ情報として生成してメモリ102に保持する。フラグ情報は上述した動画データの記録中に記録されるフラグ情報と同様である。ステップS402において静止画データの取得指示が入力されていない場合は、ステップS404の処理に進む。   In step S401, the control unit 105 controls the recording / reproducing unit 107 to reproduce the moving image data instructed to be reproduced. In step S402, the control unit 105 determines whether a still image data acquisition instruction has been input via the operation unit 106 while moving image data is being reproduced. When a still image data acquisition instruction is input, in step S403, the control unit 105 generates identification information based on the still image data acquisition instruction input during recording of moving image data as flag information and stores it in the memory 102. Hold. The flag information is the same as the flag information recorded during the recording of the moving image data described above. If no still image data acquisition instruction has been input in step S402, the process proceeds to step S404.

そしてステップS404において制御部105は、操作部106を介して動画データの再生停止の指示を受け付けたかどうか、または動画データの再生が終了したかどうかを判断する。動画データの再生停止の指示を受け付けていない場合、及び動画データの再生が終了していない場合は、動画データの再生停止の指示を受け付けるか動画データの再生が終了するまで、ステップS401からステップS403の処理を繰り返す。動画データの再生停止の指示を受け付けた場合、または動画データの再生が終了した場合(ステップS404でYes)は、ステップS405において制御部105は、動画データの再生を停止する。そしてステップS406において制御部105は、メモリ102に保持されているフラグ情報を再生していた動画ファイルに付加する形で記録して処理を終了する。   In step S <b> 404, the control unit 105 determines whether an instruction to stop reproduction of moving image data has been received via the operation unit 106, or whether reproduction of moving image data has ended. When the instruction to stop the reproduction of the moving image data has not been received, and when the reproduction of the moving image data has not ended, the process from step S401 to step S403 is performed until the instruction to stop the reproduction of moving image data is received or the reproduction of the moving image data ends. Repeat the process. When the instruction to stop the reproduction of the moving image data is received or when the reproduction of the moving image data ends (Yes in step S404), the control unit 105 stops the reproduction of the moving image data in step S405. In step S406, the control unit 105 records the flag information held in the memory 102 in a form to be added to the reproduced moving image file, and ends the process.

(フラグ情報に対応する静止画データの記録処理)
本実施形態においてフラグ情報が動画ファイルに付加されて記録されている場合、任意のタイミングで入力される静止画データの記録指示に応じて、フラグ情報に対応する静止画データを静止画ファイルとして記録媒体108に記録することができる。例えばデジタルカメラ100はフラグ情報に対応する静止画データの記録モードを有する。
(Recording process of still image data corresponding to flag information)
In the present embodiment, when flag information is added to a moving image file and recorded, the still image data corresponding to the flag information is recorded as a still image file in response to a still image data recording instruction input at an arbitrary timing. It can be recorded on the medium 108. For example, the digital camera 100 has a still image data recording mode corresponding to the flag information.

フラグ情報に対応した静止画データを記録するモードが選択されると、制御部105は、記録媒体108に記録されているファイルの中で、フラグ情報が付加されている動画ファイルの代表画像を動画ファイルのインデックス画面として表示する制御を行う。ユーザは操作部106を介して、表示部109に表示された動画ファイルのインデックス画面から動画ファイルを選択する。   When a mode for recording still image data corresponding to flag information is selected, the control unit 105 selects a representative image of a moving image file to which flag information is added from among files recorded on the recording medium 108 as a moving image. Controls display as a file index screen. The user selects a moving image file from the moving image file index screen displayed on the display unit 109 via the operation unit 106.

そして制御部105は、選択された動画ファイルに付加されているフラグ情報に関する代表画像をフラグ情報のインデックス画面として表示部109に表示する。このとき表示するフラグ情報に関する代表画像には、所定のアイコンやフラグ情報に対応する静止画データの縮小画像(サムネイル)、フラグIDのリスト等を用いることができる。フラグ情報に関する代表画像は、フラグ情報を動画ファイルに付加して記録する際に、信号処理部103や画像処理部104により生成してフラグ情報と共に動画ファイルに付加して記録しておいてもよい。または表示部109にフラグ情報のインデックス画面を表示する際に、信号処理部103や画像処理部104により各フラグ情報に関する代表画像を生成し、生成されたフラグ情報に関する代表画像を表示部109に表示するように制御部105が制御してもよい。   Then, the control unit 105 displays the representative image relating to the flag information added to the selected moving image file on the display unit 109 as an index screen of flag information. As a representative image related to the flag information displayed at this time, a reduced icon (thumbnail) of still image data corresponding to a predetermined icon or flag information, a list of flag IDs, or the like can be used. The representative image related to the flag information may be generated by the signal processing unit 103 or the image processing unit 104 and added to the moving image file and recorded together with the flag information when the flag information is added to the moving image file and recorded. . Alternatively, when displaying the flag information index screen on the display unit 109, the signal processing unit 103 or the image processing unit 104 generates a representative image for each flag information, and displays the generated representative image for the flag information on the display unit 109. The control unit 105 may control so as to.

フラグ情報のインデックス画面において、ユーザにより操作部106を介してフラグ情報に関する代表画像が選択され、選択された代表画像のフラグ情報が、記録媒体108に静止画データを記録するフラグ情報として決定される。そして操作部106を介して静止画データの記録指示が入力されると、制御部105は、フラグ情報に対応する静止画データを生成するように制御する。具体的には、制御部105は信号処理部103を制御し、フラグ情報に含まれる動画データの記録開始からの経過フレーム数に対応する部分の動画データを、記録媒体108に記録されている動画ファイルから再生して復号(デコード)する。そして、信号処理部103は、デコードされた動画データの中からフラグ情報の経過フレーム数に対応するフレームに基づいて静止画データを生成する。   On the flag information index screen, a representative image related to flag information is selected by the user via the operation unit 106, and the flag information of the selected representative image is determined as flag information for recording still image data on the recording medium 108. . When a still image data recording instruction is input via the operation unit 106, the control unit 105 controls to generate still image data corresponding to the flag information. Specifically, the control unit 105 controls the signal processing unit 103, and the moving image data recorded in the recording medium 108 is recorded in a portion of the moving image data corresponding to the number of frames elapsed from the start of recording of the moving image data included in the flag information. Play from the file and decode. Then, the signal processing unit 103 generates still image data based on a frame corresponding to the number of elapsed frames of flag information from the decoded moving image data.

そして制御部105は、生成された静止画データを静止画ファイルとしてファイル名を付加して記録媒体108に記録するように記録再生部107を制御する。このとき制御部105は、フラグ情報に対応する静止画ファイルのメタデータにフラグ情報に対応した静止画ファイルであることを示す情報(例えばフラグ情報が付加された動画ファイルのファイル名やフラグID等)を記録するように制御してもよい。   Then, the control unit 105 controls the recording / reproducing unit 107 to record the generated still image data on the recording medium 108 with a file name added as a still image file. At this time, the control unit 105 indicates information indicating that the still image file corresponds to the flag information to the metadata of the still image file corresponding to the flag information (for example, the file name or flag ID of the moving image file to which the flag information is added). ) May be recorded.

フラグ情報に対応する静止画データを記録媒体108に記録したことに応じて、本実施形態において制御部105は、静止画データが記録媒体108に記録済みであることを示す記録済み情報をフラグ情報に追加して記録する。この構成の場合、前述した動画ファイルのインデックス画面では、制御部105は静止画データの記録済み情報が記録されていないフラグ情報が付加されている動画ファイルの代表画像を表示するようにしてもよい。または動画ファイルのインデックス画面は、フラグ情報が付加されている全ての動画ファイルの代表画像を表示した上で、静止画データの記録済み情報が記録されていないフラグ情報が付加された動画ファイルが識別できるような表示をするようにしてもよい。   In response to recording the still image data corresponding to the flag information on the recording medium 108, in the present embodiment, the control unit 105 displays the recorded information indicating that the still image data has been recorded on the recording medium 108 as flag information. Add to and record. In the case of this configuration, the control unit 105 may display a representative image of a moving image file to which flag information in which recorded information of still image data is not recorded is added on the above-described moving image file index screen. . Alternatively, the index screen for movie files displays representative images of all movie files with flag information added, and identifies movie files with flag information to which recorded information of still image data is not recorded You may make it display as possible.

また前述したフラグ情報のインデックス画面では、動画ファイルのインデックス画面で選択された動画ファイルに付加されているフラグ情報の中で、静止画データの記録済み情報が記録されていないフラグ情報に関する代表画像のみを表示してもよい。またはフラグ情報のインデックス画面は、選択された動画ファイルに付加された全てのフラグ情報に関する代表画像を表示した上で、静止画データの記録済み情報が記録されていないフラグ情報が識別できるような表示をしてもよい。   In addition, in the flag information index screen described above, only representative images related to flag information in which recorded information of still image data is not recorded among flag information added to the moving image file selected on the moving image file index screen. May be displayed. Alternatively, the flag information index screen displays a representative image related to all flag information added to the selected moving image file, and displays a flag information in which recorded information of still image data is not recorded. You may do.

フラグ情報に対応する静止画データを記録媒体108に記録した後、制御部105により該フラグ情報が動画ファイルから削除される構成でもよい。この場合、動画ファイルのインデックス画面においては、フラグ情報が付加されている全ての動画ファイルの代表画像が表示され、フラグ情報のインデックス画面においては、選択された動画ファイルに付加された全てのフラグ情報に関する代表画像が表示される。   After the still image data corresponding to the flag information is recorded on the recording medium 108, the control unit 105 may delete the flag information from the moving image file. In this case, on the video file index screen, representative images of all video files to which flag information is added are displayed, and on the flag information index screen, all flag information added to the selected video file. A representative image is displayed.

前述した構成では、静止画データを記録するフラグ情報を決定するために、動画ファイルのインデックス画面を表示した上で、選択された動画ファイルに付加されているフラグ情報のインデックス画面を表示したがこれに限られない。例えば前述した動画ファイルのインデックス画面を表示せず、記録媒体108に記録されている動画ファイルに付加された全てのフラグ情報に関する代表画像をインデックス画面として表示し、ユーザに静止画データを記録するフラグ情報を決定させてもよい。このとき制御部105は、静止画データの記録済み情報が記録されていないフラグ情報が識別できる代表画像を生成して表示するように制御してもよい。また、インデックス画面に表示するフラグ情報の代表画像は、静止画データの記録済み情報が記録されていないフラグ情報の代表画像のみであってもよい。   In the configuration described above, in order to determine flag information for recording still image data, an index screen for flag information added to the selected video file is displayed after displaying a video file index screen. Not limited to. For example, a flag for displaying the representative image regarding all flag information added to the moving image file recorded on the recording medium 108 as an index screen without displaying the above-described moving image file index screen, and recording still image data to the user Information may be determined. At this time, the control unit 105 may control to generate and display a representative image that can identify flag information in which recorded information of still image data is not recorded. Further, the representative image of flag information displayed on the index screen may be only the representative image of flag information in which recorded information of still image data is not recorded.

また制御部105は、前述した動画ファイルのインデックス画面やフラグ情報のインデックス画面からユーザに選択されたフラグ情報に対応する静止画データを、信号処理部103に生成させ、表示部109に表示させてもよい。そして、フラグ情報に対応した静止画データを表示部109に表示しているときに、表示中の静止画データの記録指示により、フラグ情報に対応した静止画データが記録される構成でもよい。   In addition, the control unit 105 causes the signal processing unit 103 to generate still image data corresponding to the flag information selected by the user from the above-described moving image file index screen or flag information index screen, and causes the display unit 109 to display the still image data. Also good. Then, when still image data corresponding to flag information is displayed on the display unit 109, still image data corresponding to flag information may be recorded by a recording instruction for the still image data being displayed.

(フラグ情報に対応する静止画データに対する処理)
図5は、フラグ情報に対応する静止画データに対して所定の処理を指示された場合の処理を示すフローチャートである。図5のフローチャートは、デジタルカメラ100が再生モードまたは編集モードに設定されたことで、メモリ102に記憶されているプログラムに基づいて開始される。
(Processing for still image data corresponding to flag information)
FIG. 5 is a flowchart showing processing when a predetermined processing is instructed for still image data corresponding to flag information. The flowchart of FIG. 5 is started based on the program stored in the memory 102 when the digital camera 100 is set to the reproduction mode or the editing mode.

ステップS501において制御部105は、静止画データに関するインデックス画面を表示する。ここで静止画データに関するインデックス画面とは例えば、記録媒体108に記録されている静止画ファイルの代表画像と、記録媒体108に記録されている動画ファイルに付加されているフラグ情報に関する代表画像とを含むインデックス画面である。フラグ情報に関する代表画像は前述のように生成され表示される。静止画データに関するインデックス画面において操作部106から入力されるユーザの指示により代表画像が選択される(ステップS502)。   In step S501, the control unit 105 displays an index screen related to still image data. Here, the index screen related to still image data includes, for example, a representative image of a still image file recorded on the recording medium 108 and a representative image related to flag information added to a moving image file recorded on the recording medium 108. It is an index screen including. The representative image related to the flag information is generated and displayed as described above. A representative image is selected in accordance with a user instruction input from the operation unit 106 on the index screen related to still image data (step S502).

制御部105は選択された代表画像の静止画データを、静止画データに関するインデックス画面に代えて表示部109へ表示する処理を行う(ステップS503)。記録媒体108に記録されている静止画ファイルの代表画像が選択された場合には、静止画ファイルに含まれる静止画データを表示部109に表示するように制御部105は制御を行う。また、記録媒体108に記録されている動画ファイルに付加されているフラグ情報に関する代表画像が選択された場合には、前述のようにフラグ情報に対応する静止画データを動画ファイルから生成して表示部109に表示するように制御部105は制御を行う。   The control unit 105 performs a process of displaying still image data of the selected representative image on the display unit 109 instead of the index screen related to the still image data (step S503). When the representative image of the still image file recorded on the recording medium 108 is selected, the control unit 105 performs control so that still image data included in the still image file is displayed on the display unit 109. When a representative image related to flag information added to the moving image file recorded on the recording medium 108 is selected, still image data corresponding to the flag information is generated from the moving image file and displayed as described above. The control unit 105 performs control so as to display on the unit 109.

ステップS504において制御部105は、操作部106を介して何らかの処理を行う指示が入力されたかどうかを判断する。処理を行う指示が入力されていない場合には、ステップS502で選択された代表画像の静止画データの表示を続ける。処理を行う指示が入力された場合(ステップS504でYes)、ステップS505において制御部105は、入力された指示が、ステップS502にて代表画像が選択された、処理対象の静止画データの加工処理の指示かどうかを判断する。ここで静止画データの加工処理とは、静止画データの表示を拡大縮小する処理、静止画データをプロテクト(保護)する処理、静止画データの表示方向を回転する処理、トリミングを行う処理などの処理である。本実施形態において静止画データの加工処理とは、静止画データを削除する処理及び静止画データの表示を終了する処理を含まないこととする。   In step S <b> 504, the control unit 105 determines whether an instruction to perform some processing is input via the operation unit 106. If no instruction to perform processing is input, the display of still image data of the representative image selected in step S502 is continued. When an instruction to perform processing is input (Yes in step S504), in step S505, the control unit 105 processes the still image data to be processed in which the input instruction is a representative image selected in step S502. Judge whether or not the instruction. Here, the processing for processing still image data includes processing for enlarging and reducing the display of still image data, processing for protecting still image data, processing for rotating the display direction of still image data, processing for trimming, and the like. It is processing. In the present embodiment, the processing of still image data does not include processing for deleting still image data and processing for ending display of still image data.

静止画データの加工処理以外の指示が入力された場合(ステップS505でNo)、ステップS513において制御部105は、ステップS504で入力された指示に応じた処理を実行し、本処理を終了する。静止画データの加工処理以外の指示とは、例えば静止画データを削除する指示や静止画データの表示終了の指示等である。静止画データを削除する指示が入力された場合で、ステップS502で選択された処理対象の静止画データが静止画ファイルとして記録媒体108に記録されている場合には、制御部105は該静止画ファイルを削除する。   When an instruction other than the still image data processing process is input (No in step S505), in step S513, the control unit 105 executes a process according to the instruction input in step S504, and ends this process. The instruction other than the still image data processing is, for example, an instruction to delete still image data or an instruction to end display of still image data. When an instruction to delete still image data is input and the still image data to be processed selected in step S502 is recorded on the recording medium 108 as a still image file, the control unit 105 performs the still image data processing. Delete the file.

静止画データを削除する指示が入力された場合で、処理対象の静止画データがフラグ情報に対応する静止画データであり記録媒体108に記録されていない場合には、制御部105は該フラグ情報を削除するように記録再生部107を制御する。フラグ情報の削除の処理は、記録再生部107により、記録媒体108に記録されている動画ファイルから該フラグ情報を削除する処理が行われる。静止画データの表示終了の指示が入力された場合、制御部105は静止画データの表示を終了する処理を行う。   When an instruction to delete still image data is input and the still image data to be processed is still image data corresponding to the flag information and is not recorded on the recording medium 108, the control unit 105 displays the flag information. The recording / reproducing unit 107 is controlled so as to be deleted. The process of deleting the flag information is performed by the recording / playback unit 107 to delete the flag information from the moving image file recorded on the recording medium 108. When an instruction to end display of still image data is input, the control unit 105 performs processing to end display of still image data.

静止画データの加工処理が指示されると(ステップS505でYes)制御部105はステップS506で、ステップS502で選択された処理対象の静止画データが静止画ファイルとして記録媒体108に記録されているかどうかを判断する。具体的には、処理対象の静止画データが、動画ファイルに付加されたフラグ情報に対応する静止画データであって、該フラグ情報に前述した静止画データの記録済み情報が記録されている場合、制御部105はステップS506でYesと判断する。処理対象の静止画データが、動画ファイルに付加されているフラグ情報に対応する静止画データであって、該フラグ情報に静止画データの記録済み情報が記録されていない場合、制御部105はステップS506でNoと判断する。   When processing of still image data is instructed (Yes in step S505), the control unit 105 determines whether the still image data to be processed selected in step S502 is recorded on the recording medium 108 as a still image file in step S506. Judge whether. Specifically, when the still image data to be processed is still image data corresponding to the flag information added to the moving image file, and the recorded information of the still image data described above is recorded in the flag information The control unit 105 determines Yes in step S506. If the still image data to be processed is still image data corresponding to the flag information added to the moving image file, and the recorded information of the still image data is not recorded in the flag information, the control unit 105 performs step It is determined No in S506.

処理対象の静止画データが静止画ファイルとして記録媒体108に記録されていない場合、制御部105はステップS507で、処理対象の静止画データを静止画ファイルとして記録媒体108に記録させる。具体的に制御部105は、ステップS502で選択された代表画像の静止画データを、フラグ情報に基づいて生成するよう信号処理部103を制御し、生成された静止画データを静止画ファイルとして記録媒体108に記録するよう記録再生部107を制御する。そしてステップS508で制御部105は、記録媒体108に静止画ファイルを記録したことに応じて、この静止画データに対応したフラグ情報に、静止画データの記録済み情報を追加して記録し、フラグ情報を更新する。   If the still image data to be processed is not recorded on the recording medium 108 as a still image file, the control unit 105 records the still image data to be processed on the recording medium 108 as a still image file in step S507. Specifically, the control unit 105 controls the signal processing unit 103 to generate the still image data of the representative image selected in step S502 based on the flag information, and records the generated still image data as a still image file. The recording / reproducing unit 107 is controlled to record on the medium 108. In step S508, in response to the recording of the still image file on the recording medium 108, the control unit 105 adds the recorded information of the still image data to the flag information corresponding to the still image data and records the flag information. Update information.

制御部105はステップS509において、ステップS504で入力された処理の指示を処理対象の静止画データに対して実行するように制御する。   In step S509, the control unit 105 performs control so that the processing instruction input in step S504 is executed on the still image data to be processed.

制御部105は、ステップS510において処理を終了するかどうかを判断し、更に他の処理を継続する場合には(ステップS510でNo)ステップS514にて入力された処理をステップS509において実行する。ステップS502で選択された処理対象の静止画データに対する処理を終了する指示が入力された場合、またはモードを変更する指示やデジタルカメラ100の電源オフの指示がなされた場合には、制御部105はステップS510でYesと判断する。ステップS511において制御部105は、ステップS509で処理された静止画データを記録媒体108に記録するかどうかを、ユーザにより操作部106を介して入力された指示等に基づいて判断する。処理された静止画データを記録媒体108に記録する場合(ステップS511でYes)には、ステップS512において制御部105は、ステップS509で処理された静止画データを処理後静止画ファイルとして記録媒体108に記録する。   The control unit 105 determines whether or not to end the process in step S510, and when other processes are to be continued (No in step S510), executes the process input in step S514 in step S509. When an instruction to end the process for the still image data to be processed selected in step S502 is input, or when an instruction to change the mode or an instruction to turn off the digital camera 100 is given, the control unit 105 In step S510, “Yes” is determined. In step S511, the control unit 105 determines whether to record the still image data processed in step S509 on the recording medium 108 based on an instruction input by the user via the operation unit 106. When recording the processed still image data on the recording medium 108 (Yes in step S511), in step S512, the control unit 105 records the still image data processed in step S509 as a processed still image file as the recording medium 108. To record.

このとき本実施形態においては、ステップS509で処理された静止画データを、ステップS507で記録された静止画ファイルや、今回の処理より前に記録されている静止画ファイルとは別の静止画ファイルとして記録媒体108に記録する。しかしこれに限らず、ステップS502で選択された代表画像の静止画ファイル等の、記録媒体108に記録済みの静止画ファイルに上書きする形で、ステップS509で処理された静止画データを記録してもよい。   At this time, in this embodiment, the still image data processed in step S509 is replaced with the still image file recorded in step S507 or a still image file different from the still image file recorded before the current processing. To the recording medium 108. However, the present invention is not limited thereto, and the still image data processed in step S509 is recorded in the form of overwriting the still image file recorded in the recording medium 108, such as the still image file of the representative image selected in step S502. Also good.

ステップS501で表示するインデックス画面は静止画データに関するインデックス画面に限られず、インデックス画面に記録媒体108に記録された動画ファイルの代表画像が含まれていてもよい。ただし、ステップS506からステップS508の処理は静止画データに関する代表画像が選択された場合のみに行われる。ステップS502で動画ファイルの代表画像が選択された場合で、制御部105がステップS505にてYesの判断をした場合には、ステップS509へ処理を進める。   The index screen displayed in step S501 is not limited to the index screen related to still image data, and the index screen may include a representative image of a moving image file recorded on the recording medium 108. However, the processing from step S506 to step S508 is performed only when a representative image related to still image data is selected. When the representative image of the moving image file is selected in step S502, and the control unit 105 determines Yes in step S505, the process proceeds to step S509.

また、フラグ情報に対応する静止画データが記録媒体108に記録されている場合には、フラグ情報に静止画データが記録済みであることを示す記録済み情報を記録する構成である場合について説明したが、これに限らない。フラグ情報に対応する静止画データが記録媒体108に記録されたらフラグ情報を消去する構成では、ステップS506において制御部105は、ステップS502で選択された代表画像がフラグ情報に対応する静止画データの代表画像かどうかを判断する。ステップS502で選択された代表画像がフラグ情報に対応する静止画データの代表画像の場合には、制御部105はステップS506でNoと判断してステップS507に処理を進める。ステップS502で選択された代表画像がフラグ情報に対応する静止画データの代表画像ではなく、記録媒体108に記録された静止画ファイルの代表画像である場合には、制御部105はステップS506でYesと判断してステップS509に処理を進める。   Further, a case has been described in which, when still image data corresponding to flag information is recorded on the recording medium 108, recorded information indicating that still image data has been recorded is recorded in the flag information. However, it is not limited to this. In the configuration in which the flag information is deleted when the still image data corresponding to the flag information is recorded on the recording medium 108, in step S506, the control unit 105 determines that the representative image selected in step S502 is the still image data corresponding to the flag information. It is determined whether it is a representative image. If the representative image selected in step S502 is a representative image of still image data corresponding to the flag information, the control unit 105 determines No in step S506 and advances the process to step S507. When the representative image selected in step S502 is not the representative image of the still image data corresponding to the flag information but the representative image of the still image file recorded on the recording medium 108, the control unit 105 determines Yes in step S506. And the process proceeds to step S509.

ステップS507の処理において、制御部105は、処理対象の静止画データが記録媒体108に記録されていないことをユーザに通知し、ユーザが処理対象の静止画データを記録媒体108に記録するかどうかを選択可能な構成にしてもよい。処理対象の静止画データを記録媒体108に記録しないことがユーザにより選択された場合、制御部105はステップS507及びステップS508の処理を行わず、ステップS509に処理を進める。そしてステップS509において制御部105は、信号処理部103により処理対象の静止画データをフラグ情報に基づいて動画ファイルから生成し、静止画データを不図示のバッファに記憶した状態でステップS506の処理を行う。   In the process of step S507, the control unit 105 notifies the user that the processing target still image data is not recorded on the recording medium 108, and whether or not the user records the processing target still image data on the recording medium 108. May be configured to be selectable. When the user selects not to record the still image data to be processed in the recording medium 108, the control unit 105 does not perform the processes in steps S507 and S508, and advances the process to step S509. In step S509, the control unit 105 generates the still image data to be processed from the video file based on the flag information by the signal processing unit 103, and performs the processing in step S506 in a state where the still image data is stored in a buffer (not shown). Do.

またステップS507で制御部105は、処理対象の静止画データのフラグ情報が付加された動画ファイルに付加されている他のフラグ情報のうち、対応する静止画データが記録媒体108に記録されていないフラグ情報に対応する静止画データを記録してもよい。また、ステップS506の判断及びステップS507の静止画ファイルを記録する処理は、ステップS505で処理対象の静止画データの加工処理が指示された場合に行われたが、これに限られない。例えば、ステップS506の判断及びステップS507の静止画ファイルを記録する処理は、ステップS503において静止画データの表示処理後に行ってもよいし、ステップS510で処理を終了すると判断された後に行うようにしてもよい。   In step S507, the control unit 105 does not record the corresponding still image data in the recording medium 108 among the other flag information added to the moving image file to which the flag information of the still image data to be processed is added. Still image data corresponding to the flag information may be recorded. Further, the determination in step S506 and the process of recording the still image file in step S507 are performed when the processing of the still image data to be processed is instructed in step S505, but is not limited thereto. For example, the determination in step S506 and the processing for recording the still image file in step S507 may be performed after the display processing of the still image data in step S503, or after the processing is determined to be terminated in step S510. Also good.

以上のように、動画データの一部を静止画データとして取得する指示に基づいたフラグ情報が動画ファイルに付加されている場合、フラグ情報に対応する静止画データを静止画ファイルとして容易に記録媒体に記録することができる。フラグ情報に対応する静止画データを静止画ファイルとして記録媒体に記録していない状態で、該静止画データに対して加工処理など所定の処理が指示された場合、フラグ情報に対応する静止画データを記録媒体に記録することができる。本実施形態においては、ユーザがフラグ情報に対応する静止画データを記録媒体に記録する指示を行わなくても、加工処理など所定の処理の指示に応じて、フラグ情報に対応する静止画データを記録媒体に記録することができる。   As described above, when flag information based on an instruction to acquire a part of moving image data as still image data is added to the moving image file, the still image data corresponding to the flag information can be easily recorded as a still image file. Can be recorded. Still image data corresponding to the flag information when the still image data corresponding to the flag information is not recorded as a still image file on the recording medium and a predetermined process such as a processing process is instructed on the still image data. Can be recorded on a recording medium. In this embodiment, even if the user does not give an instruction to record still image data corresponding to the flag information on the recording medium, the still image data corresponding to the flag information is changed according to an instruction of a predetermined process such as a processing process. It can be recorded on a recording medium.

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

Claims (5)

動画データを含む動画ファイルと、静止画データを含む静止画ファイルとを記録媒体に記録する記録手段と、
動画データの一部を静止画データとして取得する指示に基づいた識別情報を、前記動画ファイルに付加する付加手段と、
前記識別情報に対応する静止画データを前記動画ファイルから生成する生成手段と、
前記識別情報に対応する静止画データに対して所定の処理を指示する指示手段と、
前記記録手段を制御する制御手段と、を有し、
前記指示手段により前記識別情報に対応する静止画データに対して表示処理または加工処理が指示されたことに応じて、前記制御手段は、前記生成手段により生成された前記識別情報に対応する静止画データを前記記録媒体に記録するように前記記録手段を制御することを特徴とする記録装置。
Recording means for recording a moving image file including moving image data and a still image file including still image data on a recording medium;
Adding means for adding identification information based on an instruction to acquire a part of moving image data as still image data to the moving image file;
Generating means for generating still image data corresponding to the identification information from the moving image file;
Instruction means for instructing predetermined processing for still image data corresponding to the identification information;
Control means for controlling the recording means,
In response to an instruction to display or process the still image data corresponding to the identification information by the instruction unit, the control unit performs the still image corresponding to the identification information generated by the generation unit. A recording apparatus for controlling the recording means to record data on the recording medium.
前記加工処理は、前記識別情報に対応する静止画データの表示を拡大縮小する処理、前記静止画データを保護する処理、前記静止画データの表示方向を回転する処理、前記静止画データをトリミングする処理のうち少なくとも1つを含むことを特徴とする請求項1に記載の記録装置。   The processing includes processing for enlarging and reducing the display of still image data corresponding to the identification information, processing for protecting the still image data, processing for rotating the display direction of the still image data, and trimming the still image data. The recording apparatus according to claim 1, comprising at least one of processes. 前記指示手段により前記識別情報に対応する静止画データに対して加工処理が指示された場合に、前記制御手段は、前記生成手段により生成された前記識別情報に対応する第1静止画データを前記記録媒体に記録し、前記第1静止画データを前記加工処理により加工した第2静止画データを前記記録媒体に記録するように前記記録手段を制御することを特徴とする請求項2に記載の記録装置。   When the processing unit is instructed by the instruction unit for the still image data corresponding to the identification information, the control unit outputs the first still image data corresponding to the identification information generated by the generation unit. 3. The recording device according to claim 2, wherein the recording unit is controlled to record the second still image data, which is recorded on a recording medium and the first still image data is processed by the processing, onto the recording medium. Recording device. 前記制御手段は、前記指示手段により前記表示処理または加工処理が指示された前記静止画データに対応する前記識別情報が付加されていた前記動画ファイルに付加されている、前記識別情報と異なる他の識別情報に対応する静止画データを前記記録媒体に記録するように前記記録手段を制御することを特徴とする請求項1から3のいずれか一項に記載の記録装置。   The control means is different from the identification information added to the moving image file to which the identification information corresponding to the still image data instructed by the instruction means for the display process or processing is added. The recording apparatus according to claim 1, wherein the recording unit is controlled to record still image data corresponding to identification information on the recording medium. 動画データを含む動画ファイルと、静止画データを含む静止画ファイルとを記録媒体に記録する記録工程と、
動画データの一部を静止画データとして取得する指示に基づいた識別情報を、前記動画ファイルに付加する付加工程と、
前記識別情報に対応する静止画データを前記動画ファイルから生成する生成工程と、
前記識別情報に対応する静止画データに対して所定の処理を指示する指示工程を有し、
前記記録工程において、前記指示工程で前記識別情報に対応する静止画データに対して表示処理または加工処理が指示されたことに応じて、前記生成工程で生成された前記識別情報に対応する静止画データを前記記録媒体に記録することを特徴とする記録方法。
A recording step of recording a moving image file including moving image data and a still image file including still image data on a recording medium;
An adding step of adding identification information based on an instruction to acquire a part of moving image data as still image data to the moving image file;
Generating step for generating still image data corresponding to the identification information from the moving image file;
An instruction step for instructing predetermined processing for still image data corresponding to the identification information;
In the recording step, a still image corresponding to the identification information generated in the generation step in response to an instruction to display or process the still image data corresponding to the identification information in the instruction step. A recording method comprising recording data on the recording medium.
JP2015152156A 2015-07-31 2015-07-31 Recording device and recording method Pending JP2017034459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015152156A JP2017034459A (en) 2015-07-31 2015-07-31 Recording device and recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015152156A JP2017034459A (en) 2015-07-31 2015-07-31 Recording device and recording method

Publications (1)

Publication Number Publication Date
JP2017034459A true JP2017034459A (en) 2017-02-09

Family

ID=57989134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015152156A Pending JP2017034459A (en) 2015-07-31 2015-07-31 Recording device and recording method

Country Status (1)

Country Link
JP (1) JP2017034459A (en)

Similar Documents

Publication Publication Date Title
JP6402934B2 (en) MOVIE GENERATION DEVICE, MOVIE GENERATION METHOD, AND PROGRAM
JP2009118215A (en) Imaging apparatus
US8660400B2 (en) Imaging apparatus and method of starting the same
US9462182B2 (en) Imaging apparatus and control method thereof
JP2015023317A5 (en) Image management apparatus, image management method, program, and storage medium
JP2017034459A (en) Recording device and recording method
JP2017022559A (en) Recording device and control method for recording device
JP7214538B2 (en) Imaging device and recording control method
JP6282136B2 (en) Imaging apparatus and control method thereof
JP2006092681A (en) Image management method, image management device and image management system
JP6504927B2 (en) Recording apparatus and control method of recording apparatus
JP2008177784A (en) Recording and reproducing device and its control method, program and storage medium
JP2011129183A (en) Recording device
JP5511739B2 (en) Recording apparatus and recording method
JP2015115899A (en) Imaging apparatus, control method thereof and program
JP6082269B2 (en) Recording apparatus and control method thereof
JP6263002B2 (en) Imaging apparatus, control method therefor, and program
JP5814640B2 (en) Recording apparatus, control method therefor, and program
JP2013005054A (en) Reproduction device and reproduction method
JP2020048167A (en) Imaging device, image recording method, and program
JP5451203B2 (en) Image recording apparatus and image recording method
JP2015029229A (en) Recording apparatus and control method therefor
JP2010093407A (en) Imaging apparatus
JP2019110401A (en) Moving picture recording apparatus, control method for moving picture recording apparatus, and program
JP2012217198A (en) Imaging apparatus