JP2015164266A - Moving picture recording system, imaging device and recording device - Google Patents

Moving picture recording system, imaging device and recording device Download PDF

Info

Publication number
JP2015164266A
JP2015164266A JP2014039641A JP2014039641A JP2015164266A JP 2015164266 A JP2015164266 A JP 2015164266A JP 2014039641 A JP2014039641 A JP 2014039641A JP 2014039641 A JP2014039641 A JP 2014039641A JP 2015164266 A JP2015164266 A JP 2015164266A
Authority
JP
Japan
Prior art keywords
recording
moving image
frame number
image data
frame
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
JP2014039641A
Other languages
Japanese (ja)
Inventor
野田 裕史
Yasushi Noda
裕史 野田
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 JP2014039641A priority Critical patent/JP2015164266A/en
Publication of JP2015164266A publication Critical patent/JP2015164266A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a moving picture recording system, an imaging device and a recording device in which video data recorded in a reverse direction corresponding to a reverse reproduction order opposite to a temporal order can be edited by using video data recorded in a forward direction.SOLUTION: In an imaging device (110), a recording processing device (124) records, in a recording medium (126), video data generated by imaging of an imaging unit (116) in a reverse direction, and allocates a frame number of an order reverse to the temporal order to each frame. A resolution converter (130) converts the video data to low-resolution video data. A data output unit (132) outputs the low-resolution video data, a frame number generation rule and a frame number initial value to an external recording device (160). The external recording device (160) records the received low-resolution video data in a forward direction, and allocates the same frame number allocated in the imaging device (110) to the same frame according to the frame number generation rule and the frame number initial value.

Description

本発明は、動画記録システム、撮像装置及び記録装置に関する。   The present invention relates to a moving image recording system, an imaging apparatus, and a recording apparatus.

動画を記録する撮像装置において、通常再生(順方向の再生)により時間的に逆方向の再生画像を表示できるように、記録時に予め時間的に逆方向で動画を符号化し記録する逆方向符号化記録方式が知られている(特許文献1参照)。   In the imaging device that records moving images, reverse coding that encodes and records moving images in the reverse direction in advance during recording so that the reproduced image in the reverse direction can be displayed by normal reproduction (forward reproduction). A recording method is known (see Patent Document 1).

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

高解像度の動画(例えば、いわゆる4K動画)を編集する場合、高性能のハードウエアを必要とするので、より解像度の動画ファイルで編集を行い、その編集結果をオリジナルの高解像度の動画ファイルに適用することが行われる。このような目的で、撮像装置本体において高解像度(又は低解像度)で動画を記録しつつ、撮像装置の外部端子からリアルタイム出力される動画を外部記録装置により低解像度(又は高解像度)で記録し、低解像度側を編集用とすることが行われる。   When editing high-resolution video (for example, so-called 4K video), high-performance hardware is required, so edit with a higher-resolution video file and apply the edited result to the original high-resolution video file. To be done. For this purpose, a moving image that is output in real time from the external terminal of the imaging device is recorded at a low resolution (or high resolution) by the external recording device while a moving image is recorded at a high resolution (or low resolution) in the imaging device body. The low resolution side is used for editing.

撮像装置の外部端子からリアルタイム出力される動画に付されるフレーム番号は撮像順である。従って、撮像装置側で記録される動画ファイルが時間軸に対して順方向である場合、撮像装置の記録動画と外部記録装置の記録動画とはフレーム番号が対応しており、一方の編集結果を他方に反映させることができる。しかし、撮像装置の動画記録を逆方向記録とした場合、撮像装置で逆方向記録される動画と外部記録装置に順方向記録される動画とでフレーム番号が対応しなくなり、一方の動画の編集結果を他方に反映させることができない。   Frame numbers given to moving images that are output in real time from the external terminal of the imaging device are in the order of imaging. Therefore, when the moving image file recorded on the imaging device side is in the forward direction with respect to the time axis, the recorded moving image of the imaging device and the recorded moving image of the external recording device have the same frame number, and It can be reflected in the other. However, when the moving image recording of the imaging device is reverse recording, the frame number does not correspond to the moving image recorded in the reverse direction by the imaging device and the moving image recorded in the forward direction to the external recording device, and the editing result of one moving image Cannot be reflected in the other.

図6は、逆方向記録された動画ファイルと、外部出力を順方向記録した動画ファイルのファイル番号対応を示す模式図である。横軸は、記録に伴う時間(動画ファイル内でのフレームの順序)を示す。動画ファイル610は逆方向記録されたもので、動画ファイル612は外部出力を順方向記録したものである。動画ファイル610は高解像度動画データからなり、動画ファイル612が低解像度動画データからなるので、動画ファイル610のビットレートは動画ファイル612のそれよりも高くなる。   FIG. 6 is a schematic diagram showing the correspondence between the file number of the moving image file recorded in the reverse direction and the moving image file recorded in the forward direction of the external output. The abscissa indicates the time required for recording (frame order in the moving image file). The moving image file 610 is recorded in the reverse direction, and the moving image file 612 is recorded in the forward direction of the external output. Since the moving image file 610 is composed of high resolution moving image data, and the moving image file 612 is composed of low resolution moving image data, the bit rate of the moving image file 610 is higher than that of the moving image file 612.

動画ファイル610において、上段には、動画ファイル610として記録された各フレームに付されたフレーム番号を示し、下段には、撮影時のフレームの順番を示す。図6に示す例では、逆方向記録のフレーム番号初期値を256とし、最初に記録されるフレームのフレーム番号が255で、以降、デクリメントされ最後に記録されるフレームのフレーム番号が43になっている。すなわち、動画ファイル610は、213個のフレームからなる。他方の動画ファイル612には、動画ファイル612として記録された各フレームに付されたフレーム番号を付記した。   In the moving image file 610, the upper row shows the frame number assigned to each frame recorded as the moving image file 610, and the lower row shows the frame order at the time of shooting. In the example shown in FIG. 6, the frame number initial value for backward recording is 256, the frame number of the first recorded frame is 255, and the frame number of the frame that is decremented and recorded last is 43. Yes. In other words, the moving image file 610 is composed of 213 frames. The frame number assigned to each frame recorded as the moving image file 612 is added to the other moving image file 612.

記録停止のタイミングの相違の問題で、一般的に、動画ファイル610,612に収容されるフレーム数が異なる。記録終了指示に応じて即時に記録動作を終了すると、転送途中のフレームを取りこぼす等の不都合を生じる可能性があるので、実際の記録終了を遅らせるように制御されるからである。図6に示す例では、動画ファイル612は、動画ファイル610より2フレーム多い。収容フレーム数の相違とフレーム番号の非対応とから、このままでは、動画ファイル612の編集結果を動画ファイル610上で反映するのはむずかしい。事前にフレーム数を一致させるか、動画ファイル間でフレームの対応を確認するなどの前処理が必要になる。   Generally, the number of frames accommodated in the moving image files 610 and 612 is different due to the difference in recording stop timing. This is because, if the recording operation is immediately ended in response to the recording end instruction, there is a possibility of inconvenience such as dropping a frame in the middle of transfer, so that the actual recording end is controlled. In the example illustrated in FIG. 6, the moving image file 612 has two frames more than the moving image file 610. Due to the difference in the number of accommodated frames and the non-correspondence of the frame number, it is difficult to reflect the editing result of the moving image file 612 on the moving image file 610 as it is. Preprocessing such as matching the number of frames in advance or checking the correspondence of frames between moving image files is required.

本発明は、このような不都合を解消する動画記録システム、撮像装置及び記録装置を提示することを目的とする。   It is an object of the present invention to provide a moving image recording system, an imaging apparatus, and a recording apparatus that can eliminate such inconveniences.

以上のような課題を解決するため、本発明に係る動画記録システムは、動画データを出力する動画出力手段と、前記動画データの解像度を低減し、低解像度動画データに出力する解像度変換手段と、時間順とは逆方向の再生順になる逆方向記録で前記動画データ及び前記低解像度動画データの一方を記録する記録手段であって、各フレームに時間順とは逆の順番のフレーム番号を付与する第1の記録手段と、時間順と同じ再生順になる順方向記録で前記動画データ及び前記低解像度動画データの他方を記録する記録手段であって、前記第1の記録手段で付与されるのと同じフレーム番号を同じフレームに付与する第2の記録手段とを有することを特徴とする。   In order to solve the problems as described above, a moving image recording system according to the present invention includes a moving image output unit that outputs moving image data, a resolution conversion unit that reduces the resolution of the moving image data and outputs it to low resolution moving image data, A recording means for recording one of the moving image data and the low-resolution moving image data by reverse recording in a playback order reverse to the time order, and assigning each frame a frame number in the reverse order to the time order A first recording means and a recording means for recording the other of the moving image data and the low-resolution moving image data in a forward direction recording in the same reproduction order as the time order, provided by the first recording means; And second recording means for assigning the same frame number to the same frame.

本発明によれば、動画データの記録と低解像度動画データの記録において同じフレームには同じフレーム番号が付与されているので、低解像度動画データによる編集結果を動画データの編集に利用できるようになる。   According to the present invention, since the same frame number is assigned to the same frame in the recording of moving image data and the recording of low resolution moving image data, the editing result of the low resolution moving image data can be used for editing the moving image data. .

本発明の一実施例の概略構成ブロック図である。It is a schematic block diagram of one Example of this invention. 本実施例を構成する撮像装置の外観図である。It is an external view of the imaging device which comprises a present Example. 本実施例の撮像装置の動作フローチャートである。3 is an operation flowchart of the imaging apparatus of the present embodiment. 本実施例の外部記録装置の動作フローチャートである。It is an operation | movement flowchart of the external recording device of a present Example. 本実施例で生成される2つの動画ファイルのフレーム対応を示す模式図である。It is a schematic diagram which shows the flame | frame correspondence of the two moving image files produced | generated in a present Example. 従来例における2つの動画ファイルのフレーム対応を示す模式図である。It is a schematic diagram which shows the flame | frame correspondence of two moving image files in a prior art example.

以下、図面を参照して、本発明の実施例を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明に係る動画記録システムの概略構成ブロック図を示す。図1に示す実施例は、レンズ交換可能な撮像装置110と、撮像装置110からリアルタイム出力される動画像信号を記録する外部記録装置160からなる。撮像装置110の外部映像信号出力端子が、HDMI(登録商標)ケーブル170を介して外部記録装置160の映像入力端子に接続する。   FIG. 1 shows a schematic block diagram of a moving image recording system according to the present invention. The embodiment shown in FIG. 1 includes an imaging device 110 with interchangeable lenses and an external recording device 160 that records a moving image signal output from the imaging device 110 in real time. The external video signal output terminal of the imaging device 110 is connected to the video input terminal of the external recording device 160 via the HDMI (registered trademark) cable 170.

撮像装置110は、本体112と、本体112に着脱可能な交換レンズ114からなる。撮像部116は、交換レンズ114による光学像を電気画像信号に変換するCCD型又はCMOS型イメージセンサと、当該イメージセンサの出力画像信号をデジタル化するA/D変換器からなる。カメラ画像処理部118はRAM120をワークエリアとして利用して、撮像部116から出力される画像データにガンマ補正及び色バランス調整等の周知のカメラ画像処理を施し、所定映像方式の動画データを出力する。すなわち、撮像部116およびカメラ画像処理部118は、記録すべき動画データを出力する動画出力手段として機能する。メモリ管理ユニット(MMU)122は、RAM120へのデータの読み書きを制御する。   The imaging device 110 includes a main body 112 and an interchangeable lens 114 that can be attached to and detached from the main body 112. The imaging unit 116 includes a CCD type or CMOS type image sensor that converts an optical image obtained by the interchangeable lens 114 into an electric image signal, and an A / D converter that digitizes the output image signal of the image sensor. The camera image processing unit 118 uses the RAM 120 as a work area, performs known camera image processing such as gamma correction and color balance adjustment on the image data output from the imaging unit 116, and outputs moving image data of a predetermined video system. . That is, the imaging unit 116 and the camera image processing unit 118 function as a moving image output unit that outputs moving image data to be recorded. A memory management unit (MMU) 122 controls reading and writing of data from and to the RAM 120.

記録処理部124は、カメラ画像処理部118から出力される画像データを、静止画か動画に応じてそれぞれに応じた所定の圧縮符号化方式で圧縮符号化し、記録媒体126に記録する。記録媒体126は、例えば、内蔵又は本体112に着脱自在な、メモリカードである。   The recording processing unit 124 compresses and encodes the image data output from the camera image processing unit 118 by a predetermined compression encoding method corresponding to each of the still image or the moving image and records the data on the recording medium 126. The recording medium 126 is, for example, a memory card that is built-in or removable from the main body 112.

解像度変換部130は、カメラ画像処理部118から出力される画像データを画素間引きにより解像度を低減し、得られた低解像度画像データをデータ出力部132に供給する。データ出力部132は、解像度変換部130による低解像度画像データからなる低解像度動画データをHDMI出力端子134からHDMIケーブル170を介して外部記録装置160に供給する。   The resolution conversion unit 130 reduces the resolution of the image data output from the camera image processing unit 118 by pixel thinning, and supplies the obtained low resolution image data to the data output unit 132. The data output unit 132 supplies low-resolution moving image data composed of low-resolution image data from the resolution conversion unit 130 to the external recording device 160 from the HDMI output terminal 134 via the HDMI cable 170.

本体制御部136は、操作スイッチ138〜146を具備する操作装置148の操作及び動作状態に応じて撮像装置110を統括制御する。本体制御部136は、例えば、ROM、RAM、EEPROM等の不揮発性メモリ及び各種I/O回路を内蔵するマイクロコンピュータからなる。   The main body control unit 136 performs overall control of the imaging device 110 according to the operation and operation state of the operation device 148 including the operation switches 138 to 146. The main body control unit 136 includes, for example, a nonvolatile memory such as a ROM, a RAM, and an EEPROM, and a microcomputer incorporating various I / O circuits.

操作スイッチ138は、レリーズボタンの半押し時にオンとなり、操作スイッチ140は、レリーズボタンの全押しでオンとなるスイッチである。本体制御部136は、操作スイッチ138のオンに応じて、レンズ114の露出とフォーカスを決定し、操作スイッチ140のオンに応じて、静止画撮影のシャッタを切る。   The operation switch 138 is turned on when the release button is half-pressed, and the operation switch 140 is turned on when the release button is fully pressed. The main body control unit 136 determines the exposure and focus of the lens 114 in response to the operation switch 138 being turned on, and releases the still image shooting shutter in response to the operation switch 140 being turned on.

操作スイッチ142は、静止画撮影モードか動画撮影モードを本体制御部136に指示する静止画/動画スイッチである。   The operation switch 142 is a still image / moving image switch that instructs the main body control unit 136 to select a still image capturing mode or a moving image capturing mode.

操作スイッチ144は、動画撮影モードで順方向記録か逆方向記録かを本体制御部136に指示知る記録方向指示スイッチである。   The operation switch 144 is a recording direction instruction switch for instructing the main body control unit 136 to perform forward direction recording or reverse direction recording in the moving image shooting mode.

操作スイッチ146は、動画記録の開始/終了を本体制御部136に指示するトグル形式の動画記録ボタンである。操作スイッチ146の操作は、操作スイッチ142により動画撮影モードが設定されているときのみ、有効となる。   The operation switch 146 is a toggle-format moving image recording button for instructing the main body control unit 136 to start / end moving image recording. The operation of the operation switch 146 is valid only when the moving image shooting mode is set by the operation switch 142.

表示部150は液晶表示装置(LCD)からなり、本体制御部136は、被写体の構図決定中の画像及び記録中の画像を表示部150に表示する。静止画モードでは、ユーザは、光学ファインダ152によっても被写体の構図を確認できる。   The display unit 150 includes a liquid crystal display (LCD), and the main body control unit 136 displays on the display unit 150 an image for which the composition of the subject is being determined and an image that is being recorded. In the still image mode, the user can also check the composition of the subject using the optical viewfinder 152.

交換レンズ114は、ズームレンズ、フォーカスレンズ及び絞りの位置を検出し、駆動を制御するレンズ制御部154を具備する。レンズ制御部154はズームレンズ等の検出位置を本体制御部136に通知し、本体制御部136からの制御信号に従い、ズームレンズ、フォーカスレンズ及び絞りを、それぞれに付属するアクチュエータを介して制御する。交換レンズ114は、手ブレ補正光学系を具備することもある。   The interchangeable lens 114 includes a lens control unit 154 that detects the positions of a zoom lens, a focus lens, and a diaphragm and controls driving. The lens control unit 154 notifies the detection position of the zoom lens or the like to the main body control unit 136, and controls the zoom lens, the focus lens, and the diaphragm via the respective actuators according to the control signal from the main body control unit 136. The interchangeable lens 114 may include a camera shake correction optical system.

記録処理部124の圧縮符号化及び解像度変換部130の解像度変換は、例えば、デジタル信号処理回路(DSP)上で動作するソフトウエアによって実現できる。本体制御部136の処理能力が高い場合、圧縮符号化及び解像度変換の一方又は両方を、本体制御部136上で動作するソフトウエアによっても実現可能である。   The compression encoding of the recording processing unit 124 and the resolution conversion of the resolution converting unit 130 can be realized by software operating on a digital signal processing circuit (DSP), for example. When the processing capability of the main body control unit 136 is high, one or both of compression encoding and resolution conversion can be realized by software operating on the main body control unit 136.

RAM120は、撮像部116から出力される画像データを一時記憶し、カメラ画像処理部118、記録処理部124及び解像度変換部130での処理のためのワークメモリ又はバッファとして利用される。   The RAM 120 temporarily stores image data output from the imaging unit 116, and is used as a work memory or buffer for processing in the camera image processing unit 118, the recording processing unit 124, and the resolution conversion unit 130.

外部記録装置160は、HDMI入力端子162、記録処理部164、及び記録媒体としてのHDD166からなり、撮像装置110の出力動画データをHDD166に記録する。HDMIケーブル170がHDMI入力端子162に接続する。撮像装置110のHDMI出力端子134から出力される低解像度画像データは、HDMIケーブル170及びHDMI入力端子162を介して記録処理部164に入力する。記録処理部164は、HDMI入力端子162からの低解像度画像データを圧縮符号化し、HDD166に記録する。   The external recording device 160 includes an HDMI input terminal 162, a recording processing unit 164, and an HDD 166 as a recording medium, and records output moving image data of the imaging device 110 on the HDD 166. The HDMI cable 170 is connected to the HDMI input terminal 162. The low resolution image data output from the HDMI output terminal 134 of the imaging apparatus 110 is input to the recording processing unit 164 via the HDMI cable 170 and the HDMI input terminal 162. The recording processing unit 164 compresses and encodes the low resolution image data from the HDMI input terminal 162 and records it in the HDD 166.

HDMIは画像データ及び音声データ以外のデータを伝送でき、制御信号も伝送できる。本体制御部136は、HDMIケーブル170を介して外部記録装置160に画像データ以外のデータ、具体的には、外部記録装置160に供給する動画データのフレーム番号を供給可能である。本実施例では、この機能を利用して、外部記録装置160に順方向記録される低解像度動画データのフレーム番号と、記録媒体126に逆方向記録される高解像度動画データのフレーム番号とを一致させる。   HDMI can transmit data other than image data and audio data, and can also transmit control signals. The main body control unit 136 can supply data other than image data to the external recording device 160 via the HDMI cable 170, specifically, a frame number of moving image data to be supplied to the external recording device 160. In this embodiment, using this function, the frame number of the low-resolution moving image data recorded in the forward direction on the external recording device 160 and the frame number of the high-resolution moving image data recorded in the reverse direction on the recording medium 126 are matched. Let

図2は、撮像装置110の外観図を示す。図2(1)は正面図を示し、図2(2)は背面図を示し、図2(3)は底面図を示す。レリーズボタン210に操作スイッチ138,140が組み込まれており、半押しで操作スイッチ138がオンとなり、全押しで操作スイッチ140がオンとなる。背面の切替えレバー212に静止画/動画スイッチ142が組み込まれている。正面の切替えレバー214には、記録方向指示スイッチ144が組み込まれている。本体の側面にHDMI出力端子134が配置されている。   FIG. 2 shows an external view of the imaging device 110. 2 (1) shows a front view, FIG. 2 (2) shows a rear view, and FIG. 2 (3) shows a bottom view. Operation switches 138 and 140 are incorporated in the release button 210, and the operation switch 138 is turned on when half-pressed, and the operation switch 140 is turned on when fully pressed. A still image / moving image switch 142 is incorporated in the switching lever 212 on the back side. A recording direction instruction switch 144 is incorporated in the front switching lever 214. An HDMI output terminal 134 is disposed on the side surface of the main body.

図3は、動画記録の撮像装置110側の動作フローチャートを示し、図4は、外部記録装置160側の動作フローチャートを示す。ユーザが、静止画/動画スイッチ142により動画記録モードを設定しており、動画記録開始/停止スイッチ146により動画記録の開始を本体制御部136に指示したとする。この動画記録開始の指示に応じて、本体制御部136は、図3に示すフローを開始する。   3 shows an operation flowchart on the imaging device 110 side for moving image recording, and FIG. 4 shows an operation flowchart on the external recording device 160 side. It is assumed that the user has set the moving image recording mode with the still image / moving image switch 142 and instructed the main body control unit 136 to start moving image recording with the moving image recording start / stop switch 146. In response to the instruction to start moving image recording, the main body control unit 136 starts the flow shown in FIG.

S301において、本体制御部136は、記録方向指示スイッチ144が順方向か逆方向かを確認する。本体制御部136は、逆方向の場合(S301)、記録すべき動画のフレーム番号算定の初期値として最大値を設定する(S302)。他方、順方向の場合(S301)、本体制御部136は、記録すべき動画のフレーム番号算定の初期値として最小値を設定する(S303)。   In S301, the main body control unit 136 checks whether the recording direction instruction switch 144 is in the forward direction or the reverse direction. In the reverse direction (S301), the main body control unit 136 sets the maximum value as the initial value for calculating the frame number of the moving image to be recorded (S302). On the other hand, in the forward direction (S301), the main body control unit 136 sets a minimum value as an initial value for calculating the frame number of the moving image to be recorded (S303).

通常再生ではフレーム番号順に各フレームを再生表示するので、通常再生で時間的に逆方向に再生する逆方向記録では、フレーム番号を時間軸に対して降順に付番する必要がある。そのため、逆方向記録に対しては、フレーム番号初期値を通常使用範囲でより大きな値、例えば最大値に設定し、入力順、即ち時間順の各フレームに降順となるフレーム番号を演算し付与する。   In normal reproduction, frames are reproduced and displayed in the order of frame numbers. Therefore, in reverse recording in which normal reproduction is performed in the reverse direction in time, it is necessary to assign frame numbers in descending order with respect to the time axis. Therefore, for reverse recording, the frame number initial value is set to a larger value in the normal use range, for example, the maximum value, and a frame number in descending order is calculated and assigned to each frame in the input order, that is, in time order. .

S304で、本体制御部136は、本体112の各部及び外部記録装置160に記録開始を指示する。具体的には、本体制御部136は、撮像部116、カメラ画像処理部118及び記録処理部124に記録処理を開始させ、解像度変換部130及びデータ出力部132に、低解像度動画データの出力を開始させる。また、本体制御部136は、HDMIケーブル170を介して外部記録装置160に、フレーム番号算定初期値(又はフレーム番号初期値)及び、フレーム番号生成規則としての記録方向の情報を含む記録開始制御信号を送信する。   In step S304, the main body control unit 136 instructs each unit of the main body 112 and the external recording device 160 to start recording. Specifically, the main body control unit 136 causes the imaging unit 116, the camera image processing unit 118, and the recording processing unit 124 to start recording processing, and causes the resolution conversion unit 130 and the data output unit 132 to output low-resolution moving image data. Let it begin. Also, the main body control unit 136 sends a recording start control signal including frame number calculation initial value (or frame number initial value) and recording direction information as a frame number generation rule to the external recording device 160 via the HDMI cable 170. Send.

本体制御部136は、記録処理部124を制御して、撮像部116による高解像度の動画データをフレーム単位で記録媒体126に記録する(S305,S306)。具体的には、本体制御部136は、各フレームについて、S302,S303で設定した初期値から、順方向記録の場合にはインクリメント(又は加算)で、逆方向記録の場合にはデクリメント(又は減算)で、フレーム番号を算出する(S305)。本体制御部136は、算出したフレーム番号を付して、当該フレームの圧縮画像データを記録媒体126の動画ファイルに記録する(S306)。ユーザによる記録終了の指示があるまで(S307)、本体制御部136は、S305,S306を繰り返す。   The main body control unit 136 controls the recording processing unit 124 to record high-resolution moving image data from the imaging unit 116 on the recording medium 126 in units of frames (S305, S306). Specifically, the main body control unit 136 increments (or adds) in the case of forward recording and decrements (or subtracts in the case of backward recording) from the initial values set in S302 and S303 for each frame. ) To calculate the frame number (S305). The body control unit 136 attaches the calculated frame number and records the compressed image data of the frame in the moving image file of the recording medium 126 (S306). Until the user gives an instruction to end recording (S307), the main body control unit 136 repeats S305 and S306.

フレーム番号の演算(S305)は、例えば、以下の方法による。すなわち、逆方向記録の場合には減算処理を設定し、順方向記録の場合には加算処理を設定する。フレーム番号が32bit整数として実装されている場合、最大値の0xFFFFFFFFからカウントダウンするように、本体制御部136は、S302でフレーム番号の初期値に0を設定する。このとき、記録すべき1フレーム目の画像に対し、本体制御部136は、S307でフレーム番号初期値0から1を減じて、フレーム番号を0xFFFFFFFFとする。このように、32bit整数のもっとも大きい値からフレーム番号をダウンカウントすることになる。   The frame number calculation (S305) is performed by the following method, for example. That is, subtraction processing is set in the case of backward recording, and addition processing is set in the case of forward recording. When the frame number is implemented as a 32-bit integer, the main body control unit 136 sets 0 as the initial value of the frame number so as to count down from the maximum value of 0xFFFFFFFF. At this time, the main body control unit 136 subtracts 1 from the frame number initial value 0 in S307 for the image of the first frame to be recorded, and sets the frame number to 0xFFFFFFFF. In this way, the frame number is counted down from the largest value of the 32-bit integer.

他方、順方向記録の場合、本体制御部136は、S303で、フレーム番号初期値として0xFFFFFFFFを設定する。このとき、記録すべき1フレーム目の画像に対し、本体制御部136は、S307で、フレーム番号初期値0xFFFFFFFFから1を加えて、フレーム番号を0とする。このように、32bit整数のもっとも小さい値からフレーム番号をアップカウントすることになる。   On the other hand, in the case of forward recording, the main body control unit 136 sets 0xFFFFFFFF as a frame number initial value in S303. At this time, the main body control unit 136 adds 1 to the frame number initial value 0xFFFFFFFF to set the frame number to 0 in step S307 for the first frame image to be recorded. In this way, the frame number is up-counted from the smallest 32-bit integer.

ここではフレーム番号を32bit整数として最大値0xFFFFFFFF、最小値0として実装している。フレーム番号として0xFFFFFFFF又は0を例外のために利用し特別な値として用いる実装では、最大値と最小値が必ずしも整数値の最大最小と一致していなくてもよい。また、動画記録のフレームレートなどに依存してフレーム番号を偶数に限定するなど、加減算を必ずしも1カウント単位で行なわなくてもよい。また、予め時間を指定して動画記録を開始するような場合は、その時間に要するフレーム数(例えばフレームレートが24fpsで1分なら、1440)を最大値として設定するようにしてもよい。   Here, the frame number is implemented as a 32-bit integer with a maximum value of 0xFFFFFFFF and a minimum value of 0. In an implementation that uses 0xFFFFFFFF or 0 as a frame number for an exception and uses it as a special value, the maximum value and the minimum value do not necessarily match the maximum and minimum integer values. Further, addition / subtraction is not necessarily performed in increments of 1 count, such as limiting the frame number to an even number depending on the frame rate of moving image recording. In addition, when moving image recording is started by specifying a time in advance, the number of frames required for that time (for example, 1440 if the frame rate is 1 minute at 24 fps) may be set as the maximum value.

記録終了の指示に応じて(S307)、本体制御部136は、記録媒体126への記録を終了し、外部記録装置160に記録終了を指示する(S308)。具体的には、本体制御部136は、撮像部116による画像データの記録媒体126への記録処理と、低解像度化した画像データの外部記録装置160への出力処理を終了する。これと同時に、本体制御部136は、外部記録装置160に記録終了制御信号を送信する。詳細は後述するが、外部記録装置160は、この記録終了制御信号に応じて記録動作を終了する。   In response to the recording end instruction (S307), the main body control unit 136 ends the recording on the recording medium 126 and instructs the external recording apparatus 160 to end the recording (S308). Specifically, the main body control unit 136 ends the recording process of the image data on the recording medium 126 by the imaging unit 116 and the output process of the image data with the reduced resolution to the external recording device 160. At the same time, the main body control unit 136 transmits a recording end control signal to the external recording device 160. Although details will be described later, the external recording device 160 ends the recording operation in response to the recording end control signal.

逆方向記録の場合、通常再生において各フレームが時間軸の逆順で再生される必要がある。そこで、本体制御部136は、逆方向記録の場合(S309)、S306(フレーム保存)で作成された動画ファイル中の各フレームの再生順序を記録された順とは逆の順になるように、当該動画ファイル中で反転する(S310)。これにより、この動画ファイルを先頭から再生したときに、時間的に逆順に再生されることになる。   In the case of reverse recording, each frame needs to be played back in the reverse order of the time axis in normal playback. Therefore, in the case of reverse recording (S309), the main body control unit 136 sets the playback order of each frame in the moving image file created in S306 (frame storage) so that the playback order is reverse to the recorded order. It is reversed in the moving image file (S310). Thus, when this moving image file is reproduced from the beginning, it is reproduced in reverse order in time.

本体制御部136は、動画ファイルのヘッダに、フレームの再生順を規定するフレーム再生順情報を書き込み、動画ファイルをクローズする(S311)。フレーム再生順情報は、各フレームのフレーム番号と動画ファイル上の記録位置との対応を示す情報を含む。   The main body control unit 136 writes frame playback order information that defines the playback order of frames in the header of the video file, and closes the video file (S311). The frame playback order information includes information indicating the correspondence between the frame number of each frame and the recording position on the moving image file.

図4を参照して、外部記録装置160の記録動作を説明する。外部記録装置160は、撮像装置110から記録開始制御信号を受信すると図4に示す記録動作を開始し、記録終了制御信号を受信すると記録動作を終了する。   The recording operation of the external recording device 160 will be described with reference to FIG. The external recording device 160 starts the recording operation shown in FIG. 4 when receiving the recording start control signal from the imaging device 110, and ends the recording operation when receiving the recording end control signal.

S401で、記録処理部164は、撮像装置110からの記録開始制御信号に付属するフレーム番号初期値を取り込み、内部変数のフレーム番号に設定する。S402で、記録処理部164は、撮像装置110からの記録開始制御信号に付属する記録方法情報から、撮像装置110での動画記録が順方向記録か逆方向記録かを判別する。逆方向記録の場合(S402)、S403で、記録処理部164は、記録すべき動画のフレーム番号演算方法として減算を設定する。他方、順方向記録の場合(S402)、S404で、記録処理部164は、記録すべき動画のフレーム番号演算方法として加算を設定する。   In S401, the recording processing unit 164 takes in the initial frame number value attached to the recording start control signal from the imaging device 110, and sets it as the frame number of the internal variable. In step S <b> 402, the recording processing unit 164 determines whether the moving image recording in the imaging apparatus 110 is forward recording or reverse recording from the recording method information attached to the recording start control signal from the imaging apparatus 110. In the case of reverse recording (S402), in S403, the recording processing unit 164 sets subtraction as the frame number calculation method of the moving image to be recorded. On the other hand, in the case of forward recording (S402), in S404, the recording processing unit 164 sets addition as the frame number calculation method of the moving image to be recorded.

このようにフレーム番号初期値及びフレーム演算方法を決定することにより、撮像装置110で記録される動画と外部記録装置160で記録される動画で、同じフレームに同じフレーム番号を付すことができる。撮像装置110でのフレーム番号演算の加算(又は減算)数が2以上の場合には、その加算(又は減算)数を撮像装置110から外部記録装置160に伝送し、外部記録装置160でのフレーム番号演算の加算(又は減算)数とすれば良いことは明らかである。   By determining the frame number initial value and the frame calculation method in this way, the same frame number can be assigned to the same frame in the moving image recorded by the imaging device 110 and the moving image recorded by the external recording device 160. When the number of additions (or subtractions) in the frame number calculation at the imaging device 110 is 2 or more, the number of additions (or subtractions) is transmitted from the imaging device 110 to the external recording device 160, and the frames at the external recording device 160 are transmitted. It is obvious that the number may be an addition (or subtraction) number operation.

S405で、記録処理部164は、S403,S404で設定された演算方法でフレーム番号を演算する。S406で、記録処理部164は、撮像装置110から受信する1フレーム分の低解像度画像データを圧縮符号化して、HDD166の所定の動画ファイルに保存する。記録処理部164は、撮像装置110からの記録終了制御信号を受信するまで(S407)、S405,S406を実行する。   In S405, the recording processing unit 164 calculates the frame number by the calculation method set in S403 and S404. In step S <b> 406, the recording processing unit 164 compresses and encodes the low-resolution image data for one frame received from the imaging apparatus 110 and stores the compressed video data in the HDD 166. The recording processing unit 164 executes S405 and S406 until a recording end control signal is received from the imaging device 110 (S407).

撮像装置110からの記録終了制御信号を受信すると(S407)、記録処理部164は、HDMI入力端子162からの画像データの取り込みを終了する(S408)。そして、記録処理部164は、HDD166の動画ファイルのヘッダに、フレームの再生順を規定するフレーム再生順情報を書き込み、動画ファイルをクローズする(S409)。フレーム再生順情報は、各フレームのフレーム番号と動画ファイル上の記録位置との対応を示す情報を含む。   When the recording end control signal is received from the imaging device 110 (S407), the recording processing unit 164 ends the capturing of the image data from the HDMI input terminal 162 (S408). Then, the recording processing unit 164 writes frame playback order information that defines the playback order of frames in the header of the moving picture file in the HDD 166, and closes the moving picture file (S409). The frame playback order information includes information indicating the correspondence between the frame number of each frame and the recording position on the moving image file.

図5は、記録媒体126に逆方向記録された動画ファイルと、HDD166に順方向記録された動画ファイルのファイル番号対応を示す模式図である。横軸は、記録に伴う時間(動画ファイル内でのフレームの順序)を示す。動画ファイル510は記録媒体126に記録されたもので、動画ファイル512はHDD166に記録されたものである。動画ファイル510は高解像度動画データからなり、動画ファイル512が低解像度動画データからなるので、動画ファイル510のビットレートは動画ファイル512のそれよりも高くなる。   FIG. 5 is a schematic diagram showing the file number correspondence between the moving image file recorded in the backward direction on the recording medium 126 and the moving image file recorded in the forward direction on the HDD 166. The abscissa indicates the time required for recording (frame order in the moving image file). The moving image file 510 is recorded on the recording medium 126, and the moving image file 512 is recorded on the HDD 166. Since the moving image file 510 is composed of high resolution moving image data and the moving image file 512 is composed of low resolution moving image data, the bit rate of the moving image file 510 is higher than that of the moving image file 512.

動画ファイル510において、上段には、動画ファイル510として記録された各フレームに付されたフレーム番号を示し、下段には、撮影時のフレームの順番を示す。図5に示す例では、逆方向記録のフレーム番号初期値を256とし、最初に記録されるフレームのフレーム番号が255で、以降、デクリメントされ最後に記録されるフレームのフレーム番号が43になっている。すなわち、動画ファイル510は、213個のフレームからなる。   In the moving image file 510, the upper row shows the frame number assigned to each frame recorded as the moving image file 510, and the lower row shows the frame order at the time of shooting. In the example shown in FIG. 5, the frame number initial value for backward recording is 256, the frame number of the first recorded frame is 255, and the frame number of the frame that is decremented and recorded last is 43. Yes. That is, the moving image file 510 is composed of 213 frames.

他方の動画ファイル512には、動画ファイル512として記録された各フレームに付されたフレーム番号を付記した。外部記録装置160は、撮像装置110からフレーム番号初期値として256を受信し、これをデクリメントして得られる255を最初に記録されるフレームに付与し、以降、フレーム番号をデクリメントする。一般的に、外部記録装置160の記録終了は、撮像装置110のそれより遅れる。動画ファイル512では、動画ファイル510に比べ、2フレーム、余計に記録され、最後に記録されるフレームのフレーム番号は41になっている。   The other moving image file 512 has a frame number attached to each frame recorded as the moving image file 512. The external recording device 160 receives 256 as the initial frame number from the imaging device 110, adds 255 obtained by decrementing this to the first recorded frame, and thereafter decrements the frame number. In general, the recording end of the external recording device 160 is delayed from that of the imaging device 110. Compared to the moving image file 510, the moving image file 512 is recorded with two frames, and the frame number of the last recorded frame is 41.

動画ファイル510と動画ファイル512とで記録されるフレーム数が異なるが、各フレームに付与したフレーム番号が一致しているので、動画ファイル512での編集結果を動画ファイル510に適用するのに支障は無い。動画ファイル512は動画ファイル510よりもデータ量が少ないので、編集に必要なリソースが少なくて済む。低解像度とは言え、動画ファイル512は、フレーム単位での編集には充分である。これらにより、大量のストレージやメモリを持たない編集システムにおいても編集作業を迅速に行なうことができる。   Although the number of frames recorded in the moving image file 510 and the moving image file 512 is different, the frame numbers assigned to the respective frames are the same, so there is a problem in applying the editing result in the moving image file 512 to the moving image file 510. No. Since the moving image file 512 has a smaller amount of data than the moving image file 510, fewer resources are required for editing. Although it has a low resolution, the moving image file 512 is sufficient for editing in units of frames. As a result, editing operations can be quickly performed even in an editing system that does not have a large amount of storage or memory.

HDMIケーブル170を通信媒体とする実施例を説明したが、その他の通信媒体を使用する通信手段で撮像装置110と外部記録装置160を接続しても、本発明を適用できることはいうまでもない。   Although the embodiment using the HDMI cable 170 as a communication medium has been described, it is needless to say that the present invention can be applied even if the imaging device 110 and the external recording device 160 are connected by communication means using other communication media.

上記実施例では、2つの動画記録系で記録される動画のフレーム番号を互いに一致させるために、一方から他方にフレーム番号初期値と演算方向(及び必要な番号変化量)を通知し、他方で同じフレーム番号の演算を行わせた。一方の動画記録系から他方の動画記録系に、一方の動画記録系で記録するフレームのフレーム番号を他方の動画記録系に通知して、記録すべきフレームに付加させてもよい。   In the above embodiment, in order to make the frame numbers of the moving images recorded by the two moving image recording systems coincide with each other, the frame number initial value and the calculation direction (and necessary number change amount) are notified from one to the other. The same frame number was calculated. The frame number of a frame to be recorded in one moving image recording system may be notified from one moving image recording system to the other moving image recording system and added to the frame to be recorded.

Claims (10)

動画データを出力する動画出力手段と、
前記動画データの解像度を低減し、低解像度動画データに出力する解像度変換手段と、
時間順とは逆方向の再生順になる逆方向記録で前記動画データ及び前記低解像度動画データの一方を記録する記録手段であって、各フレームに時間順とは逆の順番のフレーム番号を付与する第1の記録手段と、
時間順と同じ再生順になる順方向記録で前記動画データ及び前記低解像度動画データの他方を記録する記録手段であって、前記第1の記録手段で付与されるのと同じフレーム番号を同じフレームに付与する第2の記録手段
とを有することを特徴とする動画記録システム。
Video output means for outputting video data;
Resolution conversion means for reducing the resolution of the moving image data and outputting the reduced resolution moving image data;
A recording means for recording one of the moving image data and the low-resolution moving image data by reverse recording in a playback order reverse to the time order, and assigning each frame a frame number in the reverse order to the time order First recording means;
Recording means for recording the other of the moving image data and the low-resolution moving image data in forward recording in the same playback order as time order, and assigning the same frame number to the same frame as given by the first recording means A moving image recording system comprising: a second recording unit for applying the recording unit.
前記第1の記録手段が前記動画データを記録し、前記第2の記録手段が、前記低解像度動画データを記録することを特徴とする請求項1に記載の動画記録システム。   2. The moving image recording system according to claim 1, wherein the first recording unit records the moving image data, and the second recording unit records the low resolution moving image data. 前記動画出力手段が撮像手段であることを特徴とする請求項1又は2に記載の動画記録システム。   The moving image recording system according to claim 1, wherein the moving image output unit is an imaging unit. 前記第2の記録手段は、前記第1の記録手段におけるフレーム番号生成規則とフレーム番号初期値に従い、記録すべきフレームに付与するフレーム番号を算出することを特徴とする請求項1ないし3の何れか1項に記載の動画記録システム。   4. The method according to claim 1, wherein the second recording unit calculates a frame number to be given to a frame to be recorded in accordance with a frame number generation rule and a frame number initial value in the first recording unit. The moving image recording system according to claim 1. 前記動画出力手段、前記解像度変換手段及び前記第1の記録手段からなる装置に対し、前記第2の記録手段を外部記録装置として、通信手段を介して接続することを特徴とする請求項4に記載の動画記録システム。   5. The apparatus according to claim 4, wherein the second recording unit is connected as an external recording device to a device comprising the moving image output unit, the resolution conversion unit, and the first recording unit via a communication unit. The video recording system described. 動画データを出力する撮像手段と、
前記動画データの解像度を低減し、低解像度動画データに出力する解像度変換手段と、
時間順とは逆方向の再生順になる逆方向記録で前記動画データ及び前記低解像度動画データの一方を記録する記録手段であって、各フレームに時間順とは逆の順番のフレーム番号を付与する記録手段と、
前記記録手段で付与される前記フレーム番号に関する情報を外部記録装置に出力する通信手段
とを具備することを特徴とする撮像装置。
Imaging means for outputting video data;
Resolution conversion means for reducing the resolution of the moving image data and outputting the reduced resolution moving image data;
A recording means for recording one of the moving image data and the low-resolution moving image data by reverse recording in a playback order reverse to the time order, and assigning each frame a frame number in the reverse order to the time order Recording means;
An image pickup apparatus comprising: communication means for outputting information on the frame number given by the recording means to an external recording device.
前記通信手段が、前記記録手段で付与される前記フレーム番号に関する情報として、フレーム番号生成規則とフレーム番号初期値を前記外部記録装置に出力することを特徴とする請求項6に記載の撮像装置。   The imaging apparatus according to claim 6, wherein the communication unit outputs a frame number generation rule and a frame number initial value to the external recording device as information on the frame number assigned by the recording unit. 時間順とは逆方向の再生順になる逆方向記録で動画データを記録し、各フレームに時間順とは逆の順番のフレーム番号を付与する撮像装置の出力動画データを記録する記録装置であって、
前記出力動画データ及び、前記撮像装置で記録される前記動画データの各フレームに付与される前記フレーム番号に関する情報を受信する手段と、
時間順と同じ再生順になる順方向記録で前記出力動画データを記録する記録手段であって、前記フレーム番号に関する情報に従い、撮像装置で付与されるのと同じフレーム番号を同じフレームに付与する記録手段
とを具備することを特徴とする記録装置。
A recording device that records moving image data by reverse recording in a playback order that is reverse to time order and records output moving image data of an imaging device that assigns frame numbers in reverse order to time order to each frame. ,
Means for receiving the output moving image data and information relating to the frame number assigned to each frame of the moving image data recorded by the imaging device;
Recording means for recording the output moving image data in forward recording in the same playback order as in time order, and recording means for assigning the same frame number to the same frame as that provided by the imaging device according to the information on the frame number A recording apparatus.
前記出力動画データが、前記動画データの解像度を低減した低解像度動画データであることを特徴とする請求項8に記載の記録装置。   The recording apparatus according to claim 8, wherein the output moving image data is low-resolution moving image data in which the resolution of the moving image data is reduced. 前記フレーム番号に関する情報が、フレーム番号生成規則とフレーム番号初期値からなることを特徴とする請求項8又は9に記載の記録装置。   10. The recording apparatus according to claim 8, wherein the information regarding the frame number includes a frame number generation rule and a frame number initial value.
JP2014039641A 2014-02-28 2014-02-28 Moving picture recording system, imaging device and recording device Pending JP2015164266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014039641A JP2015164266A (en) 2014-02-28 2014-02-28 Moving picture recording system, imaging device and recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014039641A JP2015164266A (en) 2014-02-28 2014-02-28 Moving picture recording system, imaging device and recording device

Publications (1)

Publication Number Publication Date
JP2015164266A true JP2015164266A (en) 2015-09-10

Family

ID=54187032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014039641A Pending JP2015164266A (en) 2014-02-28 2014-02-28 Moving picture recording system, imaging device and recording device

Country Status (1)

Country Link
JP (1) JP2015164266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948571A (en) * 2017-12-27 2018-04-20 努比亚技术有限公司 The method, apparatus and computer-readable recording medium of video record

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948571A (en) * 2017-12-27 2018-04-20 努比亚技术有限公司 The method, apparatus and computer-readable recording medium of video record
CN107948571B (en) * 2017-12-27 2021-11-02 努比亚技术有限公司 Video recording method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US7706674B2 (en) Device and method for controlling flash
US9167163B2 (en) Digital image processing apparatus that displays first content, generates second content based on an input signal, and generates third content related to the second content, and method of controlling the same
JP2015122734A (en) Imaging apparatus and imaging method
JP2012065173A (en) Imaging apparatus
KR20150033192A (en) Read-out Mode Changeable Digital Photographing Apparatus And Method for Controlling the Same
JP2006162991A (en) Stereoscopic image photographing apparatus
US20140340526A1 (en) Imaging apparatus, method for controlling imaging apparatus, and system therefor
JP2007081465A (en) Remote controller and imaging apparatus
JP2012217168A (en) Imaging apparatus
JP5938655B2 (en) Playback device, imaging device, and program
JP2011077654A (en) Imaging apparatus, control method thereof and program
US20160012562A1 (en) Image processing apparatus and image processing method
JP3812264B2 (en) Imaging device
JP2009065320A (en) Imaging device
US10250760B2 (en) Imaging device, imaging system, and imaging method
JP2013211715A (en) Imaging device
JP2015164266A (en) Moving picture recording system, imaging device and recording device
JP5539078B2 (en) Display control apparatus, method, program, and recording medium
JP5810304B2 (en) Imaging apparatus and information display method in imaging apparatus
US20150139627A1 (en) Motion picture playback apparatus and method for playing back motion picture
JP2005051505A (en) Stereoscopic photographing device
JP2008227839A (en) Image-taking device
JP2010197524A (en) Image capturing apparatus
JP2017085338A (en) Imaging apparatus, control method, and program
JP2016208206A (en) Recording apparatus