JP2016063242A - Imaging apparatus, information processing method, and program - Google Patents

Imaging apparatus, information processing method, and program Download PDF

Info

Publication number
JP2016063242A
JP2016063242A JP2014186728A JP2014186728A JP2016063242A JP 2016063242 A JP2016063242 A JP 2016063242A JP 2014186728 A JP2014186728 A JP 2014186728A JP 2014186728 A JP2014186728 A JP 2014186728A JP 2016063242 A JP2016063242 A JP 2016063242A
Authority
JP
Japan
Prior art keywords
moving image
recording
control circuit
system control
data
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
JP2014186728A
Other languages
Japanese (ja)
Inventor
青山 聡
Satoshi Aoyama
聡 青山
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 JP2014186728A priority Critical patent/JP2016063242A/en
Publication of JP2016063242A publication Critical patent/JP2016063242A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent reduction in the response of an imaging apparatus.SOLUTION: The imaging apparatus includes: imaging means; and recording means for recording image data obtained from the imaging means as a moving image. The recording means, in a first moving image recording mode, for recording a silent moving image, records by associating the moving image with silent data, and, in a second moving image recording mode, for recording the silent moving image, records the moving image without recording voice data.SELECTED DRAWING: Figure 2

Description

本発明は、撮像装置、情報処理方法及びプログラムに関する。   The present invention relates to an imaging apparatus, an information processing method, and a program.

近年、デジタルカメラにおいて、静止画撮影だけでなく、動画を撮影する機会が増えつつある。動画の撮影機会が増えるにつれ、デジタルカメラの編集機能や、編集装置を用いて、撮影された動画をユーザの趣向に沿って編集したいというニーズが高まっている。
例えば、映像データの撮影は、映像装置で行い、音声データは、音声記録装置で採取し、これらを編集装置でタイムラインに沿って繋ぎ合わせるタイムライン編集等がある。この場合、映像データと音声データが別装置で記録されているため、撮像装置は、音声データを記録可能な装置であっても、音声データを記録する必要はなく、映像データのみが記録できればよい。
In recent years, in digital cameras, opportunities to shoot moving images as well as still images are increasing. As the number of movie shooting opportunities increases, there is an increasing need to edit a shot movie according to the user's preference using an editing function or an editing device of a digital camera.
For example, video data is shot by a video device, audio data is collected by an audio recording device, and these are connected by an editing device along a timeline, for example, timeline editing. In this case, since the video data and the audio data are recorded by different devices, the imaging device does not need to record the audio data even if the device can record the audio data, and only the video data can be recorded. .

このような使用方法を実現するため、撮像装置では、動画撮影を行う際に音声データを同時に録音するか否かを設定する録音設定メニューを備えている装置もある。図5は、MOVやMP4ファイルフォーマットで記録される動画データの概略図である。MOVやMP4のフォーマットでは、すべてのデータがボックスと呼ばれる単位で格納され、大きくmoovボックスとmdatボックスの2つから構成されている。moovボックスと呼ばれる領域には、動画データに含まれるメタデータが記録され、後述するmdatボックスに含まれるデータに関するヘッダ情報が記録されている。mdatボックスには、動画データに含まれる映像データ、音声データ等のデータ本体が記録される。これにより、映像データ、音声データ等の複数のトラックをまとめて管理することができる。図5(a)は、映像トラック、音声トラック、テキストトラック等の複数のトラックを含む動画データを示す図である。それぞれのトラックのmoov内にヘッダ情報が格納され、データはmdatに配置されることを示している。図5(b)は、映像トラックのみを含む動画データを示す図である。   In order to realize such a method of use, some imaging apparatuses include a recording setting menu for setting whether to record audio data simultaneously when performing moving image shooting. FIG. 5 is a schematic diagram of moving image data recorded in the MOV or MP4 file format. In the MOV and MP4 formats, all data is stored in units called boxes, and is largely composed of a moov box and an mdat box. In an area called “moov box”, metadata included in moving image data is recorded, and header information related to data included in an mdat box described later is recorded. In the mdat box, data bodies such as video data and audio data included in the moving image data are recorded. Thereby, a plurality of tracks such as video data and audio data can be managed collectively. FIG. 5A is a diagram illustrating moving image data including a plurality of tracks such as a video track, an audio track, and a text track. The header information is stored in the moov of each track, indicating that the data is arranged in mdat. FIG. 5B is a diagram showing moving image data including only a video track.

一方でユーザがわざわざ編集作業を行わず、ユーザが楽しめるように、または、効率的に鑑賞できるようにデジタルカメラで撮影した際に自動で簡易的に動画データを編集することも望まれている。このような自動編集機能を備えるデジタルカメラは、編集対象となる動画データが映像データのみを含む動画データ同士、映像データと音声データとを共に含む動画データ同士、というように同じ種類のデータに対し、結合処理を行うことができる。   On the other hand, it is also desired that video data is automatically and simply edited when a digital camera is used so that the user can enjoy the game without editing it and can be viewed efficiently. A digital camera having such an automatic editing function can handle the same kind of data such as video data whose video data to be edited includes only video data, video data that includes both video data and audio data, and so on. , It can be combined.

また、特許文献1には、同一の記録媒体にオーディオチャンネル数の異なるビデオデータを記憶する際に、記録するチャンネル数は固定とし、対応しないオーディオのチャンネルには無音データを含むオーディオデータを付加する技術が開示されている。   In Patent Document 1, when video data having different numbers of audio channels is stored in the same recording medium, the number of channels to be recorded is fixed, and audio data including silent data is added to unsupported audio channels. Technology is disclosed.

特開2004−319003号公報JP 2004-319003 A

しかし、映像データしか含まない動画データと映像データと音声データを含む動画データとを結合しようとした場合、音声データの有無により音声データのずれが生じないようにする必要がある。例えば、無音データのような影響のない音声データを適宜付加したり、音声データをマルチチャネル化したりして、対象の映像のタイミングでしか再生させないようにする等、特殊な処理を行う必要がある。このため、処理が煩雑になってしまう。   However, when the moving image data including only the video data, the moving image data including the video data and the audio data are to be combined, it is necessary to prevent the audio data from being shifted due to the presence or absence of the audio data. For example, it is necessary to perform special processing such as adding audio data without influence such as silence data as appropriate, or making audio data multi-channel so that it can be played back only at the timing of the target video. . For this reason, processing becomes complicated.

図6は、動画データの結合処理の説明図である。図6(a)に示すように、映像データと音声データとを含む動画データ同士を結合する場合には、動画データに映像トラックと音声トラックとがそれぞれ追記され、ヘッダ情報が更新される。これにより、映像データと音声データの再生タイミングがずれることなく、結合することができる。一方で、図6(b)に示すように、映像データと音声データを持つ動画データと映像データのみの動画データを結合するとする。この場合に、音声トラックがそのまま追記されると、映像データ2を再生している際に音声データ3が再生されるような、映像データと音声データの同期がとれていない動画データが作成されてしまう。   FIG. 6 is an explanatory diagram of the moving image data combining process. As shown in FIG. 6A, when moving image data including video data and audio data is combined, a video track and an audio track are added to the moving image data, and header information is updated. As a result, it is possible to combine the video data and the audio data without shifting the reproduction timing. On the other hand, as shown in FIG. 6B, it is assumed that moving image data having video data and audio data is combined with moving image data having only video data. In this case, if the audio track is added as it is, the video data and the audio data are not synchronized so that the audio data 3 is reproduced when the video data 2 is reproduced. End up.

これを回避する1つの対策としては、映像データ2を再生している間、無音データを再生させる方法がある。これにより、映像データ3と音声データ3の同期をとることができる。この場合には、映像データ2の再生時間分の無音データを改めて生成し、追記する処理が必要となる。これにより、編集処理に時間がかかり、デジタルカメラのレスポンスが低下する等の影響がある。   As one countermeasure for avoiding this, there is a method of reproducing silence data while the video data 2 is reproduced. Thereby, the video data 3 and the audio data 3 can be synchronized. In this case, it is necessary to newly generate silence data for the reproduction time of the video data 2 and add it. As a result, the editing process takes time, and the response of the digital camera is reduced.

本発明はこのような問題点に鑑みなされたもので、撮像装置のレスポンスの低下を防止することを目的とする。   The present invention has been made in view of such a problem, and an object thereof is to prevent a decrease in response of an imaging apparatus.

そこで、本発明の撮像装置は、撮像手段と、前記撮像手段から得られた画像データを動画として記録する記録手段とを有し、前記記録手段は、無音動画を記録する第1の動画記録モードの場合、前記動画と無音データとを対応付けて記録し、前記無音動画を記録する第2の動画記録モードの場合、音声データを記録することなく前記動画を記録することを特徴とする。   Therefore, the imaging apparatus of the present invention includes an imaging unit and a recording unit that records the image data obtained from the imaging unit as a moving image, and the recording unit is a first moving image recording mode that records a silent moving image. In the case of the second moving image recording mode in which the moving image and the silent data are recorded in association with each other and the silent moving image is recorded, the moving image is recorded without recording the audio data.

本発明によれば、撮像装置のレスポンスの低下を防止することができる。   According to the present invention, it is possible to prevent a decrease in response of the imaging apparatus.

デジタルカメラを示す図である。It is a figure which shows a digital camera. 第1の撮影処理を示すフローチャートである。It is a flowchart which shows a 1st imaging | photography process. 撮影後処理を示すフローチャートである。It is a flowchart which shows the imaging | photography post-process. 第2の撮影処理を示すフローチャートである。It is a flowchart which shows a 2nd imaging | photography process. 従来の動画データを概略図である。It is a schematic diagram of conventional moving image data. 従来の動画データの結合処理の説明図である。It is explanatory drawing of the combining process of the conventional moving image data.

以下、本発明の実施形態について図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、撮像装置の一例としてのデジタルカメラ100を示す図である。10は、デジタルカメラ100の撮影レンズ11を含む撮像部を覆う事により、撮像部の汚れや破損を防止するバリアである保護手段である。11は撮影レンズ、12は絞り機能を備えるシャッター、13は光学像を電気信号に変換するCCDやCMOS素子等で構成される撮像素子、15は撮像素子13のアナログ信号出力をディジタル信号に変換するA/D変換器である。14は撮像素子13、A/D変換器15、D/A変換器21にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50により制御される。20は画像処理回路であり、A/D変換器15からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。   FIG. 1 is a diagram illustrating a digital camera 100 as an example of an imaging apparatus. A protection unit 10 is a barrier that prevents the imaging unit from being soiled or damaged by covering the imaging unit including the photographing lens 11 of the digital camera 100. Reference numeral 11 denotes a photographing lens, 12 denotes a shutter having a diaphragm function, 13 denotes an image sensor composed of a CCD or CMOS element for converting an optical image into an electric signal, and 15 denotes an analog signal output from the image sensor 13 to a digital signal. It is an A / D converter. A timing generation circuit 14 supplies a clock signal and a control signal to the image sensor 13, the A / D converter 15, and the D / A converter 21, and is controlled by the memory control circuit 22 and the system control circuit 50. An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 15 or the data from the memory control circuit 22.

また、画像処理回路20は、撮像した画像データを用いて所定の演算処理を行う。得られた演算結果に基づいてシステム制御回路50が露光制御40、測距制御41に対して制御を行い、AF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュプリ発光)処理を行う。画像処理回路20は、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてAWB(オートホワイトバランス)処理も行っている。さらに、画像処理回路20は、メモリ25に格納された画像を読み込んでJPEG方式やMPEG−4 AVC/H.264方式での圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ25に書き込む。   Further, the image processing circuit 20 performs a predetermined calculation process using the captured image data. Based on the obtained calculation result, the system control circuit 50 controls the exposure control 40 and the distance measurement control 41, and performs AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash pre-flash) processing. Do. The image processing circuit 20 performs predetermined calculation processing using the captured image data, and also performs AWB (auto white balance) processing based on the obtained calculation result. Further, the image processing circuit 20 reads an image stored in the memory 25 and reads the JPEG format or MPEG-4 AVC / H. H.264 compression or expansion processing is performed, and the processed data is written into the memory 25.

22は、メモリ制御回路であり、A/D変換器15、タイミング発生回路14、画像処理回路20、画像表示メモリ24、D/A変換器21、メモリ25を制御する。A/D変換器15のデータは画像処理回路20及びメモリ制御回路22を介して、又は直接、メモリ制御回路22を介して、画像表示メモリ24又はメモリ25に書き込まれる。24は画像表示メモリ、21はD/A変換器、23はTFT LCD等から成る表示部であり、画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器21を介して表示部23に表示される。表示部23を用いて撮像した画像データを逐次表示すれば、ライブ映像を表示する電子ファインダ機能を実現することが可能である。   A memory control circuit 22 controls the A / D converter 15, the timing generation circuit 14, the image processing circuit 20, the image display memory 24, the D / A converter 21, and the memory 25. Data of the A / D converter 15 is written into the image display memory 24 or the memory 25 via the image processing circuit 20 and the memory control circuit 22 or directly via the memory control circuit 22. Reference numeral 24 denotes an image display memory, 21 denotes a D / A converter, 23 denotes a display unit including a TFT LCD, and the display image data written in the image display memory 24 is displayed via the D / A converter 21. Displayed on the unit 23. If image data captured using the display unit 23 is sequentially displayed, an electronic viewfinder function for displaying live video can be realized.

25は、撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。また、メモリ25はシステム制御回路50の作業領域としても使用することが可能である。40は、絞り機能を備えるシャッター12を制御する露光制御手段である。41は撮影レンズ11のフォーカシングを制御する測距制御手段、42は、撮影レンズ11のズーミングを制御するズーム制御手段、43は、バリアである保護手段10の動作を制御するバリア制御手段である。71は、被写体等の外部音声を取り込む集音手段としてのマイク、72は、デジタルカメラ100の操作音やシャッター音、動画再生時の音声を出力するスピーカーである。73は、マイク71、スピーカー72の制御や入出力される音声データの録音レベルやボリューム、ノイズキャンセル処理等を施す音声制御部である。   Reference numeral 25 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images. The memory 25 can also be used as a work area for the system control circuit 50. Reference numeral 40 denotes exposure control means for controlling the shutter 12 having an aperture function. Reference numeral 41 denotes a distance measurement control means for controlling the focusing of the photographing lens 11, reference numeral 42 denotes a zoom control means for controlling zooming of the photographing lens 11, and reference numeral 43 denotes a barrier control means for controlling the operation of the protection means 10 as a barrier. Reference numeral 71 denotes a microphone as sound collection means for capturing external sound such as a subject, and 72 denotes a speaker that outputs operation sound and shutter sound of the digital camera 100 and sound during moving image reproduction. Reference numeral 73 denotes an audio control unit that performs control of the microphone 71 and the speaker 72, recording level and volume of input / output audio data, noise cancellation processing, and the like.

50は、本デジタルカメラ全体を制御するシステム制御回路50である。51は、電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。プログラムだけでなく、地図情報等も記録されている。なお、後述するデジタルカメラ100の機能や処理は、CPU等を含むシステム制御回路50が不揮発性メモリ51等に格納されているプログラムを読み出し、このプログラムを実行することにより実現されるものである。   A system control circuit 50 controls the entire digital camera. Reference numeral 51 denotes an electrically erasable / recordable non-volatile memory, such as an EEPROM. Not only the program but also map information is recorded. Note that the functions and processing of the digital camera 100 described later are realized by a system control circuit 50 including a CPU reading a program stored in the nonvolatile memory 51 and executing the program.

60、61及び62は、システム制御回路50の各種の動作指示を入力するための操作手段である。60、61及び62は、電源スイッチ、モード切り替えスイッチ、メニューボタン、十字キー、さらに、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。60は、シャッタースイッチSW1で、不図示のシャッターボタンの操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の動作開始を指示する。   Reference numerals 60, 61 and 62 denote operation means for inputting various operation instructions of the system control circuit 50. Reference numerals 60, 61, and 62 are configured by a single switch or a combination of a power switch, a mode change switch, a menu button, a cross key, a touch panel, a pointing by line-of-sight detection, a voice recognition device, and the like. Reference numeral 60 denotes a shutter switch SW1, which is turned on during the operation of a shutter button (not shown), and performs AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, EF (flash pre-flash) processing, and the like. Instruct the start of operation.

61は、シャッタースイッチSW2で、不図示のシャッターボタンの操作完了でONとなり、露光処理、現像処理、記録処理という一連の処理の動作開始を指示する。ここで、露光処理は、撮像素子13から読み出した信号をA/D変換器15、メモリ制御回路22を介してメモリ25に画像データを書き込む処理である。現像処理は、画像処理回路20やメモリ制御回路22での演算を用いた処理である。記録処理は、メモリ25から画像データを読み出し、画像処理回路20により圧縮を行い、メモリ25に格納した後にカードコントローラ90を介して、外部記録媒体91に画像データを書き込む処理である。   Reference numeral 61 denotes a shutter switch SW2, which is turned on when an operation of a shutter button (not shown) is completed, and instructs the start of a series of processing operations such as exposure processing, development processing, and recording processing. Here, the exposure process is a process of writing the image data into the memory 25 via the A / D converter 15 and the memory control circuit 22 from the signal read from the image sensor 13. The development process is a process using an operation in the image processing circuit 20 or the memory control circuit 22. The recording process is a process of reading image data from the memory 25, compressing the image data by the image processing circuit 20, storing the data in the memory 25, and then writing the image data to the external recording medium 91 via the card controller 90.

62は、各種ボタンやタッチパネル等からなる操作部である。62は、例えば、電源ボタン、メニューボタン、撮影モード/再生モード/その他特殊撮影モードの切替えを行うモード切替スイッチ、十字キー、セットボタン、マクロボタン、である。62はまた、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタンである。62はまた、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン等である。   An operation unit 62 includes various buttons and a touch panel. Reference numeral 62 denotes, for example, a power button, a menu button, a mode switching switch for switching between shooting mode / playback mode / other special shooting modes, a cross key, a set button, and a macro button. Reference numeral 62 denotes a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, a menu movement + (plus) button, and a menu movement− (minus) button. Reference numeral 62 denotes a reproduction image movement + (plus) button, a reproduction image-(minus) button, a photographing image quality selection button, an exposure correction button, a date / time setting button, and the like.

70は、動画撮影の開始、終了を指示するための操作部材である動画撮影ボタンである。81は、電源制御手段である。80は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプター等からなる電源である。90は、メモリカード等の外部記録媒体とデータの送受信を行うカードコントローラである。91は、メモリカード等の外部記録媒体である。   Reference numeral 70 denotes a moving image shooting button which is an operation member for instructing start and end of moving image shooting. Reference numeral 81 denotes power supply control means. A power source 80 includes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, an AC adapter, or the like. Reference numeral 90 denotes a card controller that transmits and receives data to and from an external recording medium such as a memory card. Reference numeral 91 denotes an external recording medium such as a memory card.

図2は、デジタルカメラ100による、情報処理の一例としての、第1の撮影処理を示すフローチャートである。第1の撮影処理は、デジタルカメラ100に、撮影モードとして、静止画・動画撮影同時記録モードが設定された場合に実行される処理である。ユーザにより、操作部62に含まれるモード切り替えスイッチが切り替えられることにより、撮影モードが静止画・動画撮影同時記録モードに設定される。静止画・動画同時撮影モードとは、一回のレリーズで静止画と、そのレリーズ以前の動画とレリーズ後の動画を同時に記録する撮影モードである。静止画・動画撮影同時記録モードでは、静止画撮影をすると共にそれまでに撮影していた動画をそれ以前に同じモードで撮影された動画に追記記録するという機能がある。ユーザは、このモードで撮影を繰り返し行うことで、例えばあるイベントの期間に撮影した静止画とそれぞれの静止画を撮影していた際の状況を一連の動画として容易に振り返ることができるいわゆるダイジェスト版の動画を得ることができる。   FIG. 2 is a flowchart illustrating a first photographing process as an example of information processing by the digital camera 100. The first shooting process is a process executed when the digital camera 100 is set to the still image / moving image shooting simultaneous recording mode as the shooting mode. When the user switches the mode switch included in the operation unit 62, the shooting mode is set to the still image / moving image shooting simultaneous recording mode. The still image / moving image simultaneous shooting mode is a shooting mode in which a still image, a moving image before the release and a moving image after the release are simultaneously recorded in one release. In the still image / moving image recording simultaneous recording mode, there is a function of taking a still image and additionally recording a moving image previously shot on a moving image previously shot in the same mode. The user can repeat the shooting in this mode, so that, for example, a so-called digest version that can easily look back as a series of moving images taken during a certain event period and the situation when each still image was shot Can be obtained.

デジタルカメラ100において、静止画・動画撮影同時記録モードが選択されると、ステップS200において、システム制御回路50は、デジタルカメラ100の録音設定を確認する。デジタルカメラ100は、操作部62に含まれるメニューボタンを使用して、デジタルカメラ100の設定を切り替えることが可能である。その設定項目に動画記録時に外部音声の録音を行うか否かを設定する録音設定メニューがある。システム制御回路50は、録音設定メニューにおいて、録音を行う「録音あり」に設定されている場合は(ステップS200でYes)、処理をステップS201へ進める。ステップS201において、システム制御回路50は、音声制御部73に対して外部音声を録音する設定を行う。システム制御回路50は、録音を行わない「録音なし」に設定されている場合は(ステップS200でNo)、処理をステップS202へ進める。ステップS202において、システム制御回路50は、音声制御部73に対して、外部音声を無効とし、音声データとしてミュート(無音データ)を入力するよう設定を行う。   When the digital camera 100 selects the still image / moving image recording simultaneous recording mode, the system control circuit 50 confirms the recording setting of the digital camera 100 in step S200. The digital camera 100 can switch the setting of the digital camera 100 using a menu button included in the operation unit 62. In the setting item, there is a recording setting menu for setting whether or not to record an external sound during moving image recording. In the recording setting menu, the system control circuit 50 advances the process to step S201 when “recording is present” for recording is set (Yes in step S200). In step S <b> 201, the system control circuit 50 sets the audio control unit 73 to record external audio. If the system control circuit 50 is set to “no recording” in which recording is not performed (No in step S200), the system control circuit 50 advances the process to step S202. In step S202, the system control circuit 50 sets the audio control unit 73 to invalidate the external audio and input mute (silence data) as audio data.

ステップS203において、システム制御回路50は、露光制御40によって制御された適正露出となった撮像素子13を制御し、撮像素子13の出力を基に表示用動画像を生成する。次に、ステップS204において、システム制御回路50は、ステップS203と同様に撮像素子13を制御し、撮像素子13の出力を基に動画記録用動画像を生成する。さらに、ステップS204において、システム制御回路50は、「録音あり」に設定されている場合には、スピーカー72を制御して外部音声を集音し、撮影タイミングに同期して、音声データを生成する。次に、ステップS205において、システム制御回路50は、ステップS203で作成した表示用画像を表示部23に表示する。   In step S <b> 203, the system control circuit 50 controls the image sensor 13 having the appropriate exposure controlled by the exposure control 40, and generates a display moving image based on the output of the image sensor 13. Next, in step S204, the system control circuit 50 controls the image sensor 13 similarly to step S203, and generates a moving image recording moving image based on the output of the image sensor 13. Furthermore, in step S204, when “with recording” is set, the system control circuit 50 controls the speaker 72 to collect external audio and generates audio data in synchronization with the shooting timing. . Next, in step S205, the system control circuit 50 displays the display image created in step S203 on the display unit 23.

ステップS206において、システム制御回路50は、動画記録用画像を画像処理回路20に含まれる映像圧縮処理を用いて、映像データの圧縮処理を開始し、圧縮されたデータをメモリ25に格納する。また、システム制御回路50は、映像データの圧縮とともに、含まれる音声圧縮処理を用いて、マイク71で入力された音声データの圧縮処理も開始し、圧縮されたデータをメモリ25に格納する。録音しない設定の場合は、システム制御回路50は、ミュートデータを圧縮し、メモリ25に格納する。このように、システム制御回路50は、録音設定に関わらず、映像データと音声データとを対応付けて1つの動画ファイルに記録する。   In step S <b> 206, the system control circuit 50 starts a video data compression process using the video compression process included in the image processing circuit 20 for moving image recording images, and stores the compressed data in the memory 25. In addition to the compression of the video data, the system control circuit 50 also starts the compression process of the audio data input from the microphone 71 using the included audio compression process, and stores the compressed data in the memory 25. If the recording is not set, the system control circuit 50 compresses the mute data and stores it in the memory 25. As described above, the system control circuit 50 records video data and audio data in association with each other and records them in one moving image file regardless of the recording setting.

ステップS207において、システム制御回路50は、静止画・動画同時記録モードから他のモードへのモード変更が行われたか否かを確認する。システム制御回路50は、操作部62に含まれるモード切り替えスイッチによる他の撮影モードの変更や再生モードへの移行、電源スイッチによる電源OFF等があった場合に、モード変更があったと判断する。システム制御回路50は、モード変更が行われた場合は(ステップS207でYes)、処理をステップS208へ進める。システム制御回路50は、モード変更が行われていない場合は(ステップS207でNo)、処理をステップS209へ進める。ステップS208において、システム制御回路50は、映像・音声圧縮処理を終了し、メモリ25に格納していた映像データ及び音声データを破棄して、第1の撮影処理を終了する。   In step S207, the system control circuit 50 checks whether or not the mode change from the still image / moving image simultaneous recording mode to another mode has been performed. The system control circuit 50 determines that there has been a mode change when there is a change in another shooting mode by the mode change switch included in the operation unit 62, a transition to the playback mode, a power OFF by the power switch, or the like. When the mode is changed (Yes in step S207), the system control circuit 50 advances the process to step S208. If the mode has not been changed (No in step S207), the system control circuit 50 advances the process to step S209. In step S208, the system control circuit 50 ends the video / audio compression processing, discards the video data and audio data stored in the memory 25, and ends the first photographing processing.

一方、ステップS209では、システム制御回路50は、操作部62に含まれるメニューボタンが押され、設定メニューを開くよう指示されたか確認する。システム制御回路50は、メニューボタンが押され設定変更の指示を受け付けた場合には(ステップS209でYes)、処理をステップS210へ進める。システム制御回路50は、メニューボタンが押されなかった場合には(ステップS209でNo)、処理をステップS215へ進める。ステップS210において、システム制御回路50は、映像・音声圧縮処理を停止し、メモリ25に格納されている映像データ及び音声データを破棄する。   On the other hand, in step S209, the system control circuit 50 confirms whether the menu button included in the operation unit 62 is pressed and an instruction to open the setting menu is given. When the menu button is pressed and a setting change instruction is accepted (Yes in step S209), the system control circuit 50 advances the process to step S210. If the menu button has not been pressed (No in step S209), the system control circuit 50 advances the process to step S215. In step S210, the system control circuit 50 stops the video / audio compression processing and discards the video data and audio data stored in the memory 25.

次に、ステップS211において、システム制御回路50は、メニュー変更において録音設定のへ変更を指示されたか確認する。システム制御回路50は、録音設定の変更指示を受け付けた場合には(ステップS211でYes)、処理をステップS212へ進める。システム制御回路50は、録音設定の変更指示を受け付けなかった場合には(ステップS211でNo)、処理をステップS213へ進める。ステップS212において、システム制御回路50は、録音設定を変更する。次に、ステップS213において、システム制御回路50は、その他の変更を指示されたか否かを確認する。システム制御回路50は、その他の変更指示を受け付けた場合には(ステップS213でYes)、処理をステップS214へ進める。システム制御回路50は、その他の変更指示を受け付けなかった場合には(ステップ213でNo)、処理をステップS200へ進める。ステップS214において、システム制御回路50は、指示に係る設定を変更し、その後処理をステップS200へ進める。   Next, in step S211, the system control circuit 50 confirms whether or not a change in the recording setting is instructed in the menu change. When the system control circuit 50 receives an instruction to change the recording setting (Yes in step S211), the system control circuit 50 advances the process to step S212. If the system control circuit 50 does not accept the recording setting change instruction (No in step S211), the system control circuit 50 advances the process to step S213. In step S212, the system control circuit 50 changes the recording setting. Next, in step S213, the system control circuit 50 checks whether or not other changes have been instructed. If the system control circuit 50 receives another change instruction (Yes in step S213), the system control circuit 50 advances the process to step S214. If the system control circuit 50 does not accept any other change instruction (No in step 213), the process proceeds to step S200. In step S214, the system control circuit 50 changes the setting related to the instruction, and then proceeds to step S200.

ステップS215において、システム制御回路50は、シャッタースイッチSW1(60)が押下されたか否かを確認する。システム制御回路50は、シャッタースイッチSW1が押下された場合には(ステップS215でYes)、処理をステップS216へ進める。システム制御回路50は、シャッタースイッチSW1が押下されなかった場合には(ステップS215でNo)、処理をステップS203へ進める。ステップS216において、システム制御回路50は、デジタルカメラ100に設定されているフォーカスモードや露出モードに応じた合焦・露出処理を行う。   In step S215, the system control circuit 50 checks whether or not the shutter switch SW1 (60) has been pressed. When the shutter switch SW1 is pressed (Yes in step S215), the system control circuit 50 advances the process to step S216. If the shutter switch SW1 has not been pressed (No in step S215), the system control circuit 50 advances the process to step S203. In step S <b> 216, the system control circuit 50 performs focusing / exposure processing according to the focus mode and exposure mode set in the digital camera 100.

ステップS217において、システム制御回路50は、シャッタースイッチSW2(61)が押下されたか否かを確認する。システム制御回路50は、シャッタースイッチSW2が押下された場合には(ステップS217でYes)、処理をステップS218へ進める。システム制御回路50は、シャッタースイッチSW2が押下されなかった場合には(ステップS217でNo)、処理をステップS215へ進める。ステップS218において、システム制御回路50は、表示装置の画像表示を停止すると共に、映像・音声圧縮処理を停止させる。ここでは、システム制御回路50は、メモリ25に格納された映像データ及び音声データの破棄は行わず、これらを引き続きメモリ25に保持しておく。   In step S217, the system control circuit 50 checks whether or not the shutter switch SW2 (61) has been pressed. When the shutter switch SW2 is pressed (Yes in step S217), the system control circuit 50 advances the process to step S218. If the shutter switch SW2 is not pressed (No in step S217), the system control circuit 50 advances the process to step S215. In step S218, the system control circuit 50 stops the image display on the display device and stops the video / audio compression processing. Here, the system control circuit 50 does not discard the video data and audio data stored in the memory 25, and keeps them in the memory 25.

次に、ステップS219において、システム制御回路50は、撮像素子13を制御し、撮像素子13の出力を基に記録用の静止画データを撮影する。次に、ステップS220において、システム制御回路50は、記録用の静止画データから撮影後の画像確認用のレビュー画像を生成する。次に、ステップS221において、システム制御回路50は、画像処理回路20に含まれる静止画圧縮処理等を用いて記録用のJPEGデータを生成し、メモリ25に格納する。システム制御回路50は、その後、撮影後処理を行う。撮影後処理については、図3を参照しつつ後述する。   Next, in step S219, the system control circuit 50 controls the image sensor 13, and captures still image data for recording based on the output of the image sensor 13. Next, in step S220, the system control circuit 50 generates a review image for image confirmation after shooting from the still image data for recording. Next, in step S <b> 221, the system control circuit 50 generates JPEG data for recording using a still image compression process included in the image processing circuit 20, and stores it in the memory 25. Thereafter, the system control circuit 50 performs post-shooting processing. The post-shooting process will be described later with reference to FIG.

図3は、デジタルカメラ100による撮影後処理(ステップS222)における詳細な処理を示すフローチャートである。ステップS301において、システム制御回路50は、ステップS221でメモリ25に格納されたJPEGデータを外部記録媒体91に記録する。次に、ステップS302において、システム制御回路50は、メモリ25に格納した映像データが所定の記録時間t0より長いか否かを判定する。システム制御回路50は、長いと判定した場合は(ステップS302でYes)、処理をステップS304へ進める。システム制御回路50は、短いと判定した場合は(ステップS302でNo)、処理をステップS303へ進める。ステップS303において、システム制御回路50は、メモリ25に格納していた静止画撮影前の映像データ及び音声データを破棄する。   FIG. 3 is a flowchart showing detailed processing in post-shooting processing (step S222) by the digital camera 100. In step S301, the system control circuit 50 records the JPEG data stored in the memory 25 in step S221 on the external recording medium 91. Next, in step S302, the system control circuit 50 determines whether the video data stored in the memory 25 is longer than a predetermined recording time t0. If it is determined that the system control circuit 50 is long (Yes in step S302), the process proceeds to step S304. If it is determined that the system control circuit 50 is short (No in step S302), the process proceeds to step S303. In step S <b> 303, the system control circuit 50 discards the video data and audio data before still image shooting stored in the memory 25.

ステップS304において、システム制御回路50は、メモリ25に格納されている映像・音声データの記録先を決定すべく、映像・音声データを追記できる動画ファイルが外部記録媒体91に記録されているか否かを確認する。システム制御回路50は、動画ファイルが記録されていない場合には(ステップS304でNo)、処理をステップS305へ進める。そして、ステップS305において、システム制御回路50は、静止画撮影前に撮影された映像・音声データを新規ファイルとして記録し、その後処理をステップS307へ進める。   In step S304, the system control circuit 50 determines whether or not a moving image file to which video / audio data can be additionally recorded is recorded in the external recording medium 91 in order to determine the recording destination of the video / audio data stored in the memory 25. Confirm. If no moving image file is recorded (No in step S304), the system control circuit 50 advances the process to step S305. In step S305, the system control circuit 50 records the video / audio data shot before shooting the still image as a new file, and then advances the process to step S307.

一方、システム制御回路50は、動画ファイルが記録されている場合には(ステップS304でYes)、処理をステップS306へ進める。そして、ステップS306において、システム制御回路50は、既存の動画ファイルに静止画撮影前に撮影された映像・音声データを追記記録し、その後処理をステップS307へ進める。このとき、追記される動画ファイルは、必ず映像データと音声データを対応付けた形式で記録される。また、追記される音声データは、録音設定メニューの設定に応じ、外部音声の録音データの場合もあれば無音データの場合もあるが、いずれの場合においても、動画ファイルには、映像データと音声データとを対応付けた形式で記録される。このため、映像データ及び音声データを、再生タイミングを同期して追記することができる。   On the other hand, when a moving image file is recorded (Yes in step S304), the system control circuit 50 advances the process to step S306. In step S306, the system control circuit 50 additionally records the video / audio data shot before shooting the still image in the existing moving image file, and then advances the processing to step S307. At this time, the additionally recorded moving image file is always recorded in a format in which video data and audio data are associated with each other. Depending on the setting of the recording setting menu, the audio data to be added may be either external audio recording data or silent data. In either case, the video file contains video data and audio. Recorded in a format that associates data. For this reason, video data and audio data can be additionally recorded in synchronization with the reproduction timing.

ステップS307において、システム制御回路50は、ステップS220で作成したレビュー用画像を、表示部23に表示する。次に、ステップS308において、システム制御回路50は、ステップS303で映像データ及び音声データを破棄したか否かを確認する。システム制御回路50は、映像データ等を破棄した場合は(ステップS308でYes)、処理をステップS317へ進め、映像・音声圧縮処理を終了し、撮影後処理を終了する。システム制御回路50は、映像データ等を破棄していない場合には(ステップS308でNo)、処理をステップS309へ進める。   In step S307, the system control circuit 50 displays the review image created in step S220 on the display unit 23. Next, in step S308, the system control circuit 50 checks whether or not the video data and audio data have been discarded in step S303. When the video data or the like is discarded (Yes in step S308), the system control circuit 50 advances the process to step S317, ends the video / audio compression process, and ends the post-shooting process. If the video data or the like has not been discarded (No in step S308), the system control circuit 50 advances the process to step S309.

ステップS309において、システム制御回路50は、デジタルカメラ100の設定メニューで静止画撮影前データとともに、ストップモーションを記録する設定が有効か否かを確認する。システム制御回路50は、ストップモーション記録が無効の場合は(ステップS309でNo)、処理をステップS317へ進める。システム制御回路50は、ストップモーション記録が有効の場合は(ステップS309でYes)、処理をステップS310へ進める。ステップS310において、システム制御回路50は、ステップS219で撮影された静止画から動画記録用のストップモーション画像を生成する。ここで、システム制御回路50は、静止画と動画のアスペクトが異なる場合は、静止画がすべて表示されるようにリサイズ処理を行い、静止画の表示領域以外は黒塗りする。例えば、システム制御回路50は、静止画のアスペクトが4:3で動画のアスペクトが16:9の場合、左右の領域を黒塗りしたストップモーション画像を生成する。   In step S <b> 309, the system control circuit 50 confirms whether or not the setting for recording the stop motion is valid together with the pre-still image data in the setting menu of the digital camera 100. If the stop motion recording is invalid (No in step S309), the system control circuit 50 advances the process to step S317. If the stop motion recording is valid (Yes in step S309), the system control circuit 50 advances the process to step S310. In step S310, the system control circuit 50 generates a stop motion image for moving image recording from the still image captured in step S219. Here, when the aspect of the still image is different from that of the moving image, the system control circuit 50 performs a resizing process so that all the still images are displayed, and paints the areas other than the still image display area in black. For example, when the aspect ratio of the still image is 4: 3 and the aspect ratio of the moving image is 16: 9, the system control circuit 50 generates a stop motion image in which the left and right areas are painted black.

次に、ステップS311において、システム制御回路50は、録音設定を確認する。システム制御回路50は、「録音あり」に設定されている場合(ステップS311でYes)、処理をステップS312へ進める。システム制御回路50は、システム制御回路50は、「録音なし」に設定されている場合(ステップS311でNo)、処理をステップS313へ進める。ステップS312において、システム制御回路50は、不揮発性メモリ51に予め記憶されているシャッター音データを音声データとして埋め込むよう音声制御部73に設定する。次に、ステップS313において、システム制御回路50は、ステップS310で生成された画像と音声データとを、画像処理回路20に含まれる映像・音声圧縮処理を用いて圧縮し、メモリ25に格納する。   Next, in step S311, the system control circuit 50 confirms the recording setting. If the system control circuit 50 is set to “with recording” (Yes in step S311), the process proceeds to step S312. If the system control circuit 50 is set to “no recording” (No in step S311), the system control circuit 50 advances the process to step S313. In step S312, the system control circuit 50 sets the sound control unit 73 to embed shutter sound data stored in advance in the nonvolatile memory 51 as sound data. In step S 313, the system control circuit 50 compresses the image and audio data generated in step S 310 using the video / audio compression processing included in the image processing circuit 20, and stores the compressed data in the memory 25.

次に、ステップS314において、システム制御回路50は、ステップS313にて圧縮した映像データが所定の記録時間t2より長いか否かを判定する。システム制御回路50は、長いと判定した場合には(ステップS314でYes)、処理をステップS315へ進める。システム制御回路50は、短いと判定した場合には(ステップS314でNo)、処理をステップS313へ進める。ステップS315において、システム制御回路50は、ステップS313で圧縮した映像データ、音声データを外部記録媒体91に記録する。システム制御回路50は、ステップS306,ステップS307で撮影前の映像データを記録している場合には、その映像データと同じファイルに追記して記録する。ステップS316において、システム制御回路50は、映像データ、音声データの記録が完了するまで待つ。記録が完了すると、ステップS317において、システム制御回路50は、映像・音声圧縮処理を終了し、撮影後処理を終了する。   Next, in step S314, the system control circuit 50 determines whether the video data compressed in step S313 is longer than the predetermined recording time t2. If it is determined that the system control circuit 50 is long (Yes in step S314), the process proceeds to step S315. If it is determined that the system control circuit 50 is short (No in step S314), the process proceeds to step S313. In step S315, the system control circuit 50 records the video data and audio data compressed in step S313 on the external recording medium 91. When the video data before photographing is recorded in steps S306 and S307, the system control circuit 50 adds and records the video data in the same file as the video data. In step S316, the system control circuit 50 waits until the recording of video data and audio data is completed. When the recording is completed, in step S317, the system control circuit 50 ends the video / audio compression processing and ends the post-shooting processing.

以上のように、デジタルカメラ100は、静止画・動画同時記録モードにおいては、録音設定に関わらず、常に映像データと音声データとを含む動画ファイルを作成する。なお、「録音あり」設定の場合の音声データは、録音された外部音声であり、「録音なし」設定の場合の音声データは、無音データである。静止画・動画同時記録モードにおける「録音なし」設定は、無音動画を記録する第1の動画記録モードの一例である。静止画・動画同時記録モードにおける「録音あり」設定は、動画と共に外部音声を記録する第3の動画記録モードの一例である。   As described above, the digital camera 100 always creates a moving image file including video data and audio data regardless of the recording setting in the still image / moving image simultaneous recording mode. Note that the audio data when “with recording” is set is recorded external audio, and the audio data when “without recording” is set is silent data. The “no recording” setting in the still image / moving image simultaneous recording mode is an example of a first moving image recording mode for recording a silent moving image. The “with recording” setting in the still image / moving image simultaneous recording mode is an example of a third moving image recording mode in which external sound is recorded together with the moving image.

さらに、上述のように、本実施形態に係る静止画・動画撮影同時記録モードでは、静止画とともに撮影された動画は、それ以前に同じモードで撮影された動画に追記記録されるという機能がある。すなわち、静止画・動画撮影同時記録モードは、撮影により得られた動画の編集を行う動画撮影モードである。デジタルカメラ100は、このように他の動画と結合(編集)することが前提の動画撮影において、「録音なし」に設定されている場合であっても、音声データを含むファイル形式で記録する。したがって、動画結合を容易に行うことができる。   Furthermore, as described above, in the still image / moving image recording simultaneous recording mode according to the present embodiment, there is a function that a moving image shot together with a still image is additionally recorded on a moving image previously shot in the same mode. . That is, the still image / moving image recording simultaneous recording mode is a moving image capturing mode for editing a moving image obtained by shooting. The digital camera 100 records in a file format including audio data even when “no recording” is set in the moving image shooting premised on combining (editing) with other moving images. Therefore, moving image combination can be easily performed.

図4は、デジタルカメラ100による、情報処理の一例としての第2の撮影処理を示すフローチャートである。第2の撮影処理は、デジタルカメラ100に、撮影モードとして、動画撮影モードが設定された場合に実行される処理である。ユーザにより操作部62に含まれるモード切り替えスイッチが切り替えられることにより、撮影モードが動画撮影モードに設定される。   FIG. 4 is a flowchart showing a second photographing process as an example of information processing by the digital camera 100. The second shooting process is a process executed when the moving image shooting mode is set as the shooting mode in the digital camera 100. When the user switches the mode change switch included in the operation unit 62, the shooting mode is set to the moving image shooting mode.

ステップS401において、システム制御回路50は、モード変更が行われたか確認する。ステップS401の処理は、ステップS207(図2)の処理と同様である。システム制御回路50は、モード変更が行われた場合は(ステップS401でYes)、第2の撮影処理を終了する。システム制御回路50は、モード変更が行われていない場合は(ステップS401でNo)、処理をステップS402へ進める。ステップS402〜ステップS406の処理は、それぞれ図2を参照しつつ説明したステップS209〜ステップS214の処理と同様である。   In step S401, the system control circuit 50 confirms whether the mode has been changed. The process of step S401 is the same as the process of step S207 (FIG. 2). When the mode is changed (Yes in step S401), the system control circuit 50 ends the second imaging process. If the mode has not been changed (No in step S401), the system control circuit 50 advances the process to step S402. The processing in steps S402 to S406 is the same as the processing in steps S209 to S214 described with reference to FIG.

ステップS406の処理の後、ステップS407において、システム制御回路50は、動画撮影ボタン70が押下されたか否かを確認する。システム制御回路50は、動画撮影ボタン70が押下された場合には(ステップS407でYes)、処理をステップS408へ進める。システム制御回路50は、動画撮影ボタン70が押下されていない場合には(ステップS407でNo)、処理をステップS401へ進める。ステップS408において、システム制御回路50は、動画撮影を開始し、露光制御40によって制御された適正露出の撮像素子13を制御し、撮像素子13の出力を基に表示用動画像を生成する。次に、ステップS409において、システム制御回路50は、ステップS408と同様に撮像素子13を制御し、撮像素子13の出力を基に動画記録用画像を生成する。次に、ステップS410において、システム制御回路50は、ステップS408で作成した表示用動画像を表示部23に表示する。次に、ステップS411において、システム制御回路50は、記録用動画像を画像処理回路20に含まれる映像圧縮処理を用いて、映像データへと圧縮し、メモリ25に格納する。   After step S406, in step S407, the system control circuit 50 checks whether or not the moving image shooting button 70 has been pressed. When the moving image shooting button 70 is pressed (Yes in step S407), the system control circuit 50 advances the process to step S408. If the moving image shooting button 70 has not been pressed (No in step S407), the system control circuit 50 advances the process to step S401. In step S <b> 408, the system control circuit 50 starts moving image shooting, controls the image sensor 13 with proper exposure controlled by the exposure control 40, and generates a display moving image based on the output of the image sensor 13. Next, in step S409, the system control circuit 50 controls the image sensor 13 similarly to step S408, and generates a moving image recording image based on the output of the image sensor 13. Next, in step S410, the system control circuit 50 displays the display moving image created in step S408 on the display unit 23. Next, in step S <b> 411, the system control circuit 50 compresses the recording moving image into video data using the video compression processing included in the image processing circuit 20, and stores it in the memory 25.

次に、ステップS412において、システム制御回路50は、録音設定を確認する。システム制御回路50は、「録音あり」に設定されている場合には(ステップS412でYes)、処理をステップS413へ進める。ステップS413において、システム制御回路50は、音声制御部73から入力された外部音声をシステム制御回路50に含まれる音声圧縮処理を用いて、圧縮し、メモリ25に格納する。システム制御回路50は、「録音なし」に設定されている場合には(ステップS412でNo)、音声データの作成は行わずに、処理をステップS414へ進める。ステップS414において、システム制御回路50は、メモリ25に格納されているデータを記録する。システム制御回路50は、「録音あり」に設定されている場合には、映像データ及び音声データを1つの動画ファイルに記録する。システム制御回路50はまた「録音なし」に設定されている場合には、映像データのみを1つの動画ファイルに記録する。動画撮影モードにおける「録音なし」の設定は、無音録画を記録する第2の動画記録モードの一例である。   Next, in step S412, the system control circuit 50 confirms the recording setting. If the system control circuit 50 is set to “with recording” (Yes in step S412), the system control circuit 50 advances the process to step S413. In step S 413, the system control circuit 50 compresses the external audio input from the audio control unit 73 using the audio compression processing included in the system control circuit 50 and stores the compressed audio in the memory 25. If “no recording” is set (No in step S412), the system control circuit 50 advances the process to step S414 without creating audio data. In step S414, the system control circuit 50 records the data stored in the memory 25. The system control circuit 50 records the video data and the audio data in one moving image file when “with recording” is set. The system control circuit 50 also records only video data in one moving image file when “no recording” is set. The setting of “no recording” in the moving image shooting mode is an example of a second moving image recording mode for recording silent recording.

次に、ステップS415において、システム制御回路50は、動画撮影ボタン70が押下されたか否かを確認する。システム制御回路50は、動画撮影ボタン70が押下された場合には(ステップS415でYes)、処理をステップS417へ進める。システム制御回路50は、動画撮影ボタン70が押下されていない場合には(ステップS415でNo)、処理をステップS417へ進める。ステップS416において、システム制御回路50は、モード変更の有無を確認する。システム制御回路50は、モードが変更された場合には(ステップS416でYes)、処理をステップS417へ進める。システム制御回路50は、モードが変更されていない場合には(ステップS416でNo)、処理をステップS408へ進めることにより、動画撮影を継続する。   Next, in step S415, the system control circuit 50 checks whether or not the moving image shooting button 70 has been pressed. When the moving image shooting button 70 is pressed (Yes in step S415), the system control circuit 50 advances the process to step S417. If the moving image shooting button 70 has not been pressed (No in step S415), the system control circuit 50 advances the process to step S417. In step S416, the system control circuit 50 checks whether or not there is a mode change. When the mode is changed (Yes in step S416), the system control circuit 50 advances the process to step S417. If the mode has not been changed (No in step S416), the system control circuit 50 advances the process to step S408 to continue moving image shooting.

ステップS417において、システム制御回路50は、動画撮影を停止し、映像圧縮処理を終了する。次に、ステップS418において、システム制御回路50は、録音設定を確認する。システム制御回路50は、「録音あり」に設定されている場合には(ステップS418でYes)、処理をステップS419へ進める。システム制御回路50は、「録音なし」に設定されている場合には(ステップS418でNo)、処理をステップS420へ進める。ステップS419において、システム制御回路50は、音声圧縮処理を終了する。次に、ステップS420において、システム制御回路50は、メモリ25に格納されているすべての映像データ、音声データを記録し、動画記録を完了し、処理をステップS401へ進める。   In step S417, the system control circuit 50 stops moving image shooting and ends the video compression process. Next, in step S418, the system control circuit 50 confirms the recording setting. If the system control circuit 50 is set to “with recording” (Yes in step S418), the process proceeds to step S419. If “no recording” is set (No in step S418), the system control circuit 50 advances the process to step S420. In step S419, the system control circuit 50 ends the audio compression process. Next, in step S420, the system control circuit 50 records all video data and audio data stored in the memory 25, completes moving image recording, and advances the process to step S401.

以上のように、デジタルカメラ100は、動画撮影モードにおいては、録音設定に応じて、映像データと音声データとを含む動画ファイル又は映像データのみを含む動画ファイルというように、異なる形式の動画ファイルを記録する。このように、デジタルカメラ100は、動画撮影後に動画の編集が行われない撮影モードに設定され、「録音なし」に設定されている場合には、音声に対応付けることなく、動画のみを記録する。このように、本実施形態に係る、デジタルカメラ100は、動画に対応付けて音声データを記録するか否か、音声データとして無音データを記録するか外部音声を記録するかを動画の用途や撮影モードに応じて設定することができる。   As described above, in the moving image shooting mode, the digital camera 100 stores different types of moving image files such as a moving image file including video data and audio data or a moving image file including only video data in accordance with the recording setting. Record. As described above, when the digital camera 100 is set to a shooting mode in which a moving image is not edited after moving image shooting and is set to “no recording”, the digital camera 100 records only the moving image without associating it with the sound. As described above, the digital camera 100 according to this embodiment determines whether to record audio data in association with a moving image, whether to record silence data as audio data, or to record external audio, and to use the moving image. It can be set according to the mode.

従来技術においては、記録対象となる動画ファイルが、映像データのみを含むデータと、映像データと音声データとを含むデータとを同一の動画ファイルに記録していた。このため、映像データと音声データの同期を取るべく、映像データのみを含むデータにおいて、映像データと同じ時間分の圧縮された音声データを別途作成したうえで追記する等、映像データと音声データのずれを補正する処理が必要であった。これに対し、本実施形態のデジタルカメラ100は、録音を行わない設定であっても、形式的に音声データを生成する。これにより、映像データと音声データの同期をとるための処理を不要とすることができる。すなわち、デジタルカメラ100は、撮像装置のレスポンスの低下を招くことなく、動画データの結合処理を効率的に行うことができる。   In the prior art, a moving image file to be recorded records data including only video data and data including video data and audio data in the same moving image file. For this reason, in order to synchronize the video data and audio data, in the data including only the video data, the compressed audio data for the same time as the video data is separately created and added, for example, Processing to correct the deviation was necessary. In contrast, the digital camera 100 according to the present embodiment formally generates audio data even when recording is not performed. Thereby, the process for synchronizing the video data and the audio data can be made unnecessary. In other words, the digital camera 100 can efficiently perform the moving image data combining process without degrading the response of the imaging apparatus.

<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給する。そして、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media. Then, the computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program.

以上、上述した各実施形態によれば、撮像装置のレスポンスの低下を招くことなく、動画データの結合処理(連結の処理)を効率的に行うことができる。   As described above, according to each of the above-described embodiments, it is possible to efficiently perform moving image data combining processing (connection processing) without causing a decrease in response of the imaging apparatus.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

11 撮影レンズ
12 シャッター
13 撮像素子
25 メモリ
50 システム制御回路
71 マイク
91 記録媒体
100 デジタルカメラ
DESCRIPTION OF SYMBOLS 11 Shooting lens 12 Shutter 13 Image pick-up element 25 Memory 50 System control circuit 71 Microphone 91 Recording medium 100 Digital camera

Claims (6)

撮像手段と、
前記撮像手段から得られた画像データを動画として記録する記録手段とを有し、
前記記録手段は、無音動画を記録する第1の動画記録モードの場合、前記動画と無音データとを対応付けて記録し、前記無音動画を記録する第2の動画記録モードの場合、音声データを記録することなく前記動画を記録することを特徴とする撮像装置。
Imaging means;
Recording means for recording the image data obtained from the imaging means as a moving image,
In the first moving image recording mode for recording a silent moving image, the recording means records the moving image and the silent data in association with each other, and in the second moving image recording mode for recording the silent moving image, audio data is recorded. An image pickup apparatus that records the moving image without recording.
外部音声を集音する集音手段を更に有し、
前記集音手段は、前記記録手段が前記無音動画を記録するモードの場合、前記外部音声を集音する処理を行わないことを特徴とする請求項1に記載の撮像装置。
A sound collecting means for collecting external sound;
The imaging apparatus according to claim 1, wherein the sound collecting unit does not perform a process of collecting the external sound when the recording unit is in a mode of recording the silent moving image.
前記記録手段は、前記動画と共に外部音声を記録する第3の動画記録モードの場合、前記撮像手段の撮影タイミングにおいて前記集音手段により得られた外部音声と、前記動画とを対応付けて記録することを特徴とする請求項2に記載の撮像装置。   In the third moving image recording mode in which external sound is recorded together with the moving image, the recording unit records the external sound obtained by the sound collecting unit and the moving image in association with the shooting timing of the imaging unit. The imaging apparatus according to claim 2. 複数の動画データを結合する画像処理手段を更に有し、
前記画像処理手段は、前記第1の動画記録モードで記録された動画と、前記第3の動画記録モードで記録された動画とを結合することを特徴とする請求項3に記載の撮像装置。
It further has an image processing means for combining a plurality of moving image data,
The imaging apparatus according to claim 3, wherein the image processing unit combines the moving image recorded in the first moving image recording mode and the moving image recorded in the third moving image recording mode.
撮像装置が実行する情報処理方法であって、
撮像ステップと、
前記撮像ステップから得られた画像データを動画として記録する記録ステップとを含み、
前記記録ステップでは、無音動画を記録する第1の動画記録モードの場合、前記動画と無音データとを対応付けて記録し、前記無音動画を記録する第2の動画記録モードの場合、音声データを記録することなく前記動画を記録することを特徴とする情報処理方法。
An information processing method executed by an imaging apparatus,
Imaging step;
A recording step of recording the image data obtained from the imaging step as a moving image,
In the recording step, in the first moving image recording mode for recording a silent moving image, the moving image and the silent data are recorded in association with each other, and in the second moving image recording mode for recording the silent moving image, audio data is recorded. An information processing method, wherein the moving image is recorded without being recorded.
コンピュータに、
撮像ステップと、
前記撮像ステップから得られた画像データを動画として記録する記録ステップとを実行させ、
前記記録ステップでは、無音動画を記録する第1の動画記録モードの場合、前記動画と無音データとを対応付けて記録し、前記無音動画を記録する第2の動画記録モードの場合、音声データを記録することなく前記動画を記録することを特徴とするプログラム。
On the computer,
Imaging step;
Recording step of recording the image data obtained from the imaging step as a moving image;
In the recording step, in the first moving image recording mode for recording a silent moving image, the moving image and the silent data are recorded in association with each other, and in the second moving image recording mode for recording the silent moving image, audio data is recorded. A program for recording the moving image without recording.
JP2014186728A 2014-09-12 2014-09-12 Imaging apparatus, information processing method, and program Pending JP2016063242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014186728A JP2016063242A (en) 2014-09-12 2014-09-12 Imaging apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014186728A JP2016063242A (en) 2014-09-12 2014-09-12 Imaging apparatus, information processing method, and program

Publications (1)

Publication Number Publication Date
JP2016063242A true JP2016063242A (en) 2016-04-25

Family

ID=55798268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014186728A Pending JP2016063242A (en) 2014-09-12 2014-09-12 Imaging apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP2016063242A (en)

Similar Documents

Publication Publication Date Title
JP6324063B2 (en) Image reproducing apparatus and control method thereof
JP2007159088A (en) Imaging apparatus and method of controlling same
JP2011250340A (en) Imaging apparatus and control method of same
JP2008186287A (en) Image recording apparatus and image recording method
JP6460783B2 (en) Image processing apparatus and control method thereof
JP6180285B2 (en) Imaging apparatus, imaging method, and program
JP5836578B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP2007174278A (en) Image display device, and image displaying method
JP2014138246A (en) Image pickup device, control method and program thereof, and recording medium
JP2016063242A (en) Imaging apparatus, information processing method, and program
JP2012080428A (en) Imaging device, control method therefor, program and recording medium
JP2018152699A (en) Digital camera
JP2020161954A (en) Image processing device, imaging device, image processing method, and program
JP6351260B2 (en) Imaging apparatus and control method thereof
JP2021129200A (en) Moving image playback device
JP7171376B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
KR101156683B1 (en) Composite imaging method for digital image processing device
JP6702698B2 (en) Imaging device and information processing method
JP2017085338A (en) Imaging apparatus, control method, and program
JP2015171113A (en) Image processing system and control method of the same
JP6460785B2 (en) Electronic device and control method of electronic device
JP2016082276A (en) Imaging apparatus
JP6238735B2 (en) Imaging apparatus and control method thereof
JP2018207418A (en) Imaging apparatus
JP2019075664A (en) Image processing device