JP2014022868A - Image processing system - Google Patents

Image processing system Download PDF

Info

Publication number
JP2014022868A
JP2014022868A JP2012158517A JP2012158517A JP2014022868A JP 2014022868 A JP2014022868 A JP 2014022868A JP 2012158517 A JP2012158517 A JP 2012158517A JP 2012158517 A JP2012158517 A JP 2012158517A JP 2014022868 A JP2014022868 A JP 2014022868A
Authority
JP
Japan
Prior art keywords
moving image
recording
image data
additional information
recording media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012158517A
Other languages
Japanese (ja)
Other versions
JP2014022868A5 (en
JP5984546B2 (en
Inventor
Michinori Nakajima
道紀 中島
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 JP2012158517A priority Critical patent/JP5984546B2/en
Publication of JP2014022868A publication Critical patent/JP2014022868A/en
Publication of JP2014022868A5 publication Critical patent/JP2014022868A5/en
Application granted granted Critical
Publication of JP5984546B2 publication Critical patent/JP5984546B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To combine a series of moving images being divided and recorded to a plurality of recording media, with a simple configuration.SOLUTION: An image processing system comprises: reading means for reading moving image data, first additional information to identify that the moving image data is recorded across a plurality of recording media, and second additional information different from the first additional information from the plurality of recording media; detection means for detecting two continuous pieces of moving image data recorded across the plurality of recording media, among a plurality pieces of the moving image data recorded to the plurality of recording media, on the basis of the first additional information and the second additional information read out from the plurality of recording media; and combining means for creating a piece of moving image data by combining the two pieces of moving image data detected by the detection means.

Description

本発明は画像処理装置に関し、特に、複数の記録媒体に記録された動画データの処理に関する。   The present invention relates to an image processing apparatus, and more particularly to processing of moving image data recorded on a plurality of recording media.

従来、動画や音声を記録する装置としてビデオカメラが知られている。近年では、メモリカードやHDDなどのランダムアクセス、且つ、大容量の記録媒体に対して動画や音声を記録する家庭用のビデオカメラが登場しており、一般家庭に広く普及している。また、複数の記録媒体に対して動画や音声を記録するビデオカメラも登場している。   2. Description of the Related Art Conventionally, a video camera is known as an apparatus for recording a moving image or sound. In recent years, video cameras for homes that record random access such as memory cards and HDDs and record moving images and audio on a large-capacity recording medium have appeared and are widely used in general homes. Video cameras that record moving images and audio on a plurality of recording media have also appeared.

この様に複数の記録媒体に対して動画を記録する装置では、動画の記録中に記録媒体の残量が無くなると、他の記録媒体に自動的に切り替えて記録を続ける機能を持つものがある(例えば、特許文献1参照)。   As described above, some apparatuses that record moving images on a plurality of recording media have a function of automatically switching to another recording medium and continuing the recording when the remaining amount of the recording medium runs out during the recording of the moving images. (For example, refer to Patent Document 1).

特開2005−174390号JP 2005-174390 A

しかしながら、複数の記録媒体にまたがって記録された一連のシーンの動画を再生するためには、複数の記録媒体がそろっていなければならず、不便である。そのため、複数の記録媒体にまたがって記録された動画を一つにまとめることができれば便利であるが、特許文献1では分割された動画を一つに結合する技術については開示されていない。   However, in order to reproduce a moving image of a series of scenes recorded across a plurality of recording media, the plurality of recording media must be prepared, which is inconvenient. For this reason, it is convenient if the moving images recorded across a plurality of recording media can be combined into one, but Patent Document 1 does not disclose a technique for combining the divided moving images into one.

本発明はこの様な問題を解決し、簡単な構成で、複数の記録媒体にまたがって記録された一連の動画を一つに結合することを目的とする。   An object of the present invention is to solve such a problem and to combine a series of moving images recorded across a plurality of recording media into one with a simple configuration.

本発明においては、複数の記録媒体から、動画データと、複数の記録媒体にまたがって記録された動画データであることを識別するための第1の付加情報と、前記第1の付加情報とは異なる第2の付加情報とを、複数の記録媒体から読み出す読み出し手段と、前記複数の記録媒体から読み出された前記第1の付加情報と前記第2の付加情報とに基づいて、前記複数の記録媒体に記録された複数の前記動画データのうち、複数の記録媒体にまたがって記録された、連続する二つの動画データを検出する検出手段と、前記検出手段により検出された二つの動画データを結合して一つの動画データを生成する結合手段とを備える。   In the present invention, the moving image data from the plurality of recording media, the first additional information for identifying the moving image data recorded across the plurality of recording media, and the first additional information are: Based on the reading means for reading different second additional information from a plurality of recording media, and the first additional information and the second additional information read from the plurality of recording media, Among the plurality of moving image data recorded on the recording medium, detection means for detecting two continuous moving image data recorded across the plurality of recording media, and two moving image data detected by the detection means Combining means for generating one moving image data by combining.

簡単な構成で、複数の記録媒体にまたがって記録された一連の動画を一つに結合することができる。   With a simple configuration, a series of moving images recorded over a plurality of recording media can be combined into one.

記録装置の構成を示す図である。It is a figure which shows the structure of a recording device. 記録動作を示すフローチャートである。It is a flowchart which shows recording operation. 記録された動画ファイルを示す図である。It is a figure which shows the recorded moving image file. リレー記録情報を示す図である。It is a figure which shows relay recording information. 付加情報を示す図である。It is a figure which shows additional information. リレー記録により記録される動画データとタイムコードを示す図である。It is a figure which shows the moving image data and time code which are recorded by relay recording. 画像処理装置の構成を示す図である。It is a figure which shows the structure of an image processing apparatus. 動画ファイルの結合処理を示すフローチャートである。It is a flowchart which shows the coupling | bonding process of a moving image file. 連続記録された動画ファイルの検出処理を示すフローチャートである。It is a flowchart which shows the detection process of the video file recorded continuously. 動画ファイルの結合処理を示すフローチャートである。It is a flowchart which shows the coupling | bonding process of a moving image file. 動画ファイルの結合処理を示すフローチャートである。It is a flowchart which shows the coupling | bonding process of a moving image file.

(第1の実施形態)
図1は、本発明の実施形態としての記録装置100の構成を示すブロック図である。なお、ビデオカメラ100は、AVCHDフォーマットに従い、動画を記録する。
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a recording apparatus 100 as an embodiment of the present invention. Note that the video camera 100 records a moving image in accordance with the AVCHD format.

図1において、撮像部101は被写体を撮影し、被写体を示す動画像信号を生成して出力する。撮像部101は、ズームレンズやフォーカスレンズ等の光学系、CCD等のイメージセンサ、アイリス、撮影した動画信号をデジタル信号に変換するAD変換器、撮影された動画に必要な処理を施す処理回路等を含む。メモリ102は、撮像部101から出力された動画データ、その他のデータを記憶する。   In FIG. 1, an imaging unit 101 captures a subject, generates and outputs a moving image signal indicating the subject. The imaging unit 101 includes an optical system such as a zoom lens and a focus lens, an image sensor such as a CCD, an iris, an AD converter that converts a captured moving image signal into a digital signal, a processing circuit that performs necessary processing on the captured moving image, and the like. including. The memory 102 stores moving image data output from the imaging unit 101 and other data.

信号処理部103は、記録時においては、撮影された動画データに対して、MPEG等の公知の符号化方式に従う符号化処理を施し、その情報量を圧縮する。また、信号処理部103は、再生時においては、再生された動画データを復号し、情報量を伸張する。表示制御部104は、制御部106からの指示に従い、動画やメニュー画面等の各種の情報を表示部105に表示する。表示部105は液晶パネル等、公知の表示装置を含む。   At the time of recording, the signal processing unit 103 performs encoding processing according to a known encoding method such as MPEG on the captured moving image data, and compresses the information amount. Further, at the time of reproduction, the signal processing unit 103 decodes the reproduced moving image data to expand the information amount. The display control unit 104 displays various types of information such as moving images and menu screens on the display unit 105 in accordance with instructions from the control unit 106. The display unit 105 includes a known display device such as a liquid crystal panel.

制御部106はマイクロプロセッサ(CPU)やその他必要なメモリを有し、メモリ102に記憶されたプログラムに従い、操作部108からの指示に応じて記録装置100の各部の動作を制御する。操作部107は、電源スイッチ、動画の撮影開始、停止を指示するトリガスイッチ、ズームスイッチ、再生スイッチ、メニュースイッチ等の各種のスイッチを備える。制御部106は、操作部107からのユーザの指示を受け付ける。また、本実施形態では、ユーザは、メニュースイッチを操作して表示部105にメニュー画面を表示し、このメニュー画面を利用して、リレー記録モードの設定を指示する。   The control unit 106 includes a microprocessor (CPU) and other necessary memory, and controls the operation of each unit of the recording apparatus 100 according to an instruction from the operation unit 108 in accordance with a program stored in the memory 102. The operation unit 107 includes various switches such as a power switch, a trigger switch for instructing start and stop of moving image shooting, a zoom switch, a playback switch, and a menu switch. The control unit 106 receives a user instruction from the operation unit 107. In this embodiment, the user operates a menu switch to display a menu screen on the display unit 105, and uses this menu screen to instruct setting of the relay recording mode.

記録再生部108は、制御部106からの指示に従い、動画データやその付加情報、及びその他各種の情報を記録媒体A110に記録し、記録媒体A110から再生する。また、記録再生部109は、制御部106からの指示に従い、動画データやその付加情報、及びその他各種の情報を記録媒体MB111に記録し、記録媒体B111から再生する。記録媒体A110、記録媒体B111はメモリカードやハードディスク(HDD)等のランダムアクセス可能な記録媒体である。本実施形態では、記録媒体A110、B111はそれぞれフラッシュメモリを内蔵したメモリカードであるものとする。   The recording / reproducing unit 108 records the moving image data, its additional information, and various other information on the recording medium A110 in accordance with an instruction from the control unit 106, and reproduces it from the recording medium A110. The recording / playback unit 109 records moving image data, its additional information, and various other information on the recording medium MB111 in accordance with an instruction from the control unit 106, and plays back from the recording medium B111. The recording medium A110 and the recording medium B111 are randomly accessible recording media such as a memory card and a hard disk (HDD). In the present embodiment, it is assumed that the recording media A110 and B111 are memory cards each incorporating a flash memory.

また、記録媒体A110、B111はそれぞれ、不図示の装着、排出機構により、記録装置100に対してユーザが容易に装着、排出可能な構成である。また、記録媒体A110、B111の一方を装着し、他方を排出した状態とすることも可能である。内部バス112は、記録装置100の各部の間で、各種のデータやコマンドを転送するために用いられる。   In addition, the recording media A110 and B111 are configured so that the user can easily mount and eject the recording medium 100 with respect to the recording apparatus 100 by an unillustrated mounting and ejection mechanism, respectively. It is also possible to mount one of the recording media A110 and B111 and eject the other. The internal bus 112 is used for transferring various data and commands between the units of the recording apparatus 100.

次に、記録装置100による基本的な記録処理、及び再生処理について説明する。   Next, basic recording processing and reproduction processing by the recording apparatus 100 will be described.

記録装置100では、記録媒体A110と記録媒体B111の何れかに対して動画を記録することができる。ユーザは、記録装置100が記録ポーズ状態であるときに操作部107を操作して、これら二つの記録媒体のうちの何れか一つを記録先の記録媒体として選択する。制御部106は、選択された記録媒体を示す情報を内部の不揮発性メモリに記憶する。   In the recording apparatus 100, a moving image can be recorded on either the recording medium A110 or the recording medium B111. The user operates the operation unit 107 when the recording apparatus 100 is in the recording pause state, and selects one of these two recording media as a recording destination recording medium. The control unit 106 stores information indicating the selected recording medium in an internal nonvolatile memory.

操作部107により記録装置100の電源が投入されると、制御部106は各部を制御して、撮像部101により得られた動画信号に応じた被写体の動画を表示部105に表示し、記録ポーズ状態となる。この状態で、記録先の記録媒体が設定され、操作部107により撮影開始の指示があると、制御部106は各部を制御し、動画の記録を開始する。撮像部101は、制御部106からの指示があると、動画データを出力し、バス112を介して一旦メモリ102に記憶する。信号処理部103は、メモリ102に記憶された動画データを符号化して、再度メモリ102に記憶する。記録先として記録媒体A110が選択されていた場合、制御部106は記録再生部108に対し、メモリ102から動画データを読み出し、記録媒体A110に記録するように指示する。また、制御部106は、記録先として記録媒体B111が選択されていた場合、同様に、メモリ102から動画データを読み出し、記録媒体B111に記録するように指示する。   When the power of the recording apparatus 100 is turned on by the operation unit 107, the control unit 106 controls each unit to display a moving image of the subject corresponding to the moving image signal obtained by the imaging unit 101 on the display unit 105, and to record a pause. It becomes a state. In this state, when a recording medium as a recording destination is set and an instruction to start shooting is given by the operation unit 107, the control unit 106 controls each unit and starts recording a moving image. When receiving an instruction from the control unit 106, the imaging unit 101 outputs moving image data and temporarily stores it in the memory 102 via the bus 112. The signal processing unit 103 encodes the moving image data stored in the memory 102 and stores it again in the memory 102. When the recording medium A110 is selected as the recording destination, the control unit 106 instructs the recording / reproducing unit 108 to read the moving image data from the memory 102 and record it in the recording medium A110. In addition, when the recording medium B111 is selected as the recording destination, the control unit 106 similarly instructs to read the moving image data from the memory 102 and record it in the recording medium B111.

そして、記録開始後、操作部107により撮影停止の指示があると、制御部106は記録再生部108、109のうち、記録先として選択された記録媒体に対応する記録再生部に対して、動画の記録停止を指示する。なお、本実施形態では、記録再生部108、109は記録媒体A110、記録媒体B111に記録した動画データを所定のファイルシステムに従い、動画ファイルとして管理する。また、本実施形態では、後述の様に、各種の付加情報を動画ファイルと共に記録媒体A110、記録媒体B111に記録する。また、ユーザは、記録する動画データのデータレートが異なる複数種類の記録モードの何れかを選択することができる。本実施形態では、例えば、通常画質モードと高画質モードの二種類の記録モードを用意している。そして、高画質モードでは、符号化された動画データの目標レートが24メガビット/秒(Mbps)となるように符号化し、通常画質モードでは、15Mbpsとなるように符号化する。制御部106は、ユーザにより設定された記録モードに応じて動画データのデータレートを変更するように、信号処理部103に指示する。信号処理部103は、指定された記録モードに応じて動画データの符号量を調整し、データレートを制御する。   When recording is instructed by the operation unit 107 after the recording is started, the control unit 106 moves the moving image to the recording / reproducing unit corresponding to the recording medium selected as the recording destination among the recording / reproducing units 108 and 109. To stop recording. In this embodiment, the recording / playback units 108 and 109 manage the moving image data recorded on the recording medium A110 and the recording medium B111 as moving image files according to a predetermined file system. In this embodiment, as described later, various types of additional information are recorded on the recording medium A110 and the recording medium B111 together with the moving image file. Further, the user can select any one of a plurality of types of recording modes having different data rates of moving image data to be recorded. In this embodiment, for example, two types of recording modes are prepared: a normal image quality mode and a high image quality mode. In the high image quality mode, encoding is performed so that the target rate of the encoded moving image data is 24 megabits / second (Mbps), and in the normal image quality mode, encoding is performed so as to be 15 Mbps. The control unit 106 instructs the signal processing unit 103 to change the data rate of the moving image data according to the recording mode set by the user. The signal processing unit 103 adjusts the code amount of the moving image data according to the designated recording mode, and controls the data rate.

次に、再生処理について説明する。   Next, the reproduction process will be described.

操作部108により再生モードの指示があると、制御部106は、記録媒体A110、記録媒体B111のうち、記録先として選択されている記録媒体を検出する。そして、選択された記録媒体に記録された動画ファイルに含まれる動画データの先頭部分を再生するように、各記録再生部108、109を制御する。そして、再生された動画データの先頭部分を信号処理部103により復号し、表示制御部104に送る。表示制御部104は、復号された先頭画面のサイズを縮小し、代表画像を生成して表示部105に表示する。ユーザは操作部107を操作し、表示部105に表示された各動画ファイルの代表画像のうち、再生したい所望の代表画像を選択し、再生を指示する。   When the playback unit is instructed by the operation unit 108, the control unit 106 detects a recording medium selected as a recording destination from among the recording medium A110 and the recording medium B111. Then, the recording / reproducing units 108 and 109 are controlled so as to reproduce the head portion of the moving image data included in the moving image file recorded on the selected recording medium. Then, the head portion of the reproduced moving image data is decoded by the signal processing unit 103 and sent to the display control unit 104. The display control unit 104 reduces the size of the decoded top screen, generates a representative image, and displays the representative image on the display unit 105. The user operates the operation unit 107 to select a desired representative image to be reproduced from the representative images of each moving image file displayed on the display unit 105 and instruct to reproduce the image.

制御部106は再生が指示されると、選択された代表画像に対応した動画ファイルを再生するように、選択された記録媒体に対応する記録再生部108、109を制御する。記録再生部108、109は、指定された動画ファイルを記録媒体から再生し、メモリ102に記憶する。信号処理部103はメモリ102から動画データを読み出して復号し、再度メモリ102に記憶する。表示制御部104はメモリ102から動画データを読み出し、再生された動画を表示部105に表示する。そして、再生停止の指示があると、制御部106は動画ファイルの再生を停止し、再び、代表画像を表示部105に表示させる。   When the reproduction is instructed, the control unit 106 controls the recording / reproducing units 108 and 109 corresponding to the selected recording medium so as to reproduce the moving image file corresponding to the selected representative image. The recording / reproducing units 108 and 109 reproduce the designated moving image file from the recording medium and store it in the memory 102. The signal processing unit 103 reads and decodes the moving image data from the memory 102 and stores it in the memory 102 again. The display control unit 104 reads the moving image data from the memory 102 and displays the reproduced moving image on the display unit 105. When there is an instruction to stop reproduction, the control unit 106 stops reproduction of the moving image file and displays the representative image on the display unit 105 again.

次に、リレー記録について説明する。   Next, relay recording will be described.

本実施形態では、二つの記録媒体の何れかに対する動画の記録中に、記録媒体の記録可能な空き容量(記録残量)が無くなり、記録できない状態となると、記録先を他方の記録媒体に切り替えて記録を継続する、リレー記録の機能を持つ。このリレー記録によれば、例えば、記録媒体A110への動画の記録中に、記録媒体Aの空き容量が無くなった場合、記録先を記録媒体A110から記録媒体B111に切り替える。そして、記録媒体B111に対して動画の記録を継続する。このように、リレー記録によれば、記録開始の指示から記録停止の指示までの間に、二つの記録媒体にまたがって動画が記録される。   In this embodiment, during recording of a moving image on one of the two recording media, when there is no recordable free space (recording remaining amount) on the recording medium and recording becomes impossible, the recording destination is switched to the other recording medium. Has a relay recording function. According to this relay recording, for example, when the recording medium A runs out of free space during recording of a moving image on the recording medium A110, the recording destination is switched from the recording medium A110 to the recording medium B111. Then, the moving image recording is continued on the recording medium B111. As described above, according to relay recording, a moving image is recorded across two recording media between a recording start instruction and a recording stop instruction.

また、本実施形態では、動画と共に複数の付加情報を記録する。図4は、第1の付加情報としてのリレー記録情報を示す図である。リレー記録情報は、動画データが二つの記録媒体にまたがって記録されていることを識別するための情報である。図4に示すように、リレー記録情報401は三つの状態を持つ。リレー記録情報401の値が0×30(第1の値)の場合はリレー記録により記録された動画では無いことを示している。リレー記録情報401の値が0×031(第2の値)の場合はリレー記録により記録された動画データであり、また、前半のシーンであることを示している。リレー記録情報401の値が0×032(第3の値)の場合はリレー記録により記録された動画データであり、また、後半のシーンであることを示している。   In the present embodiment, a plurality of additional information is recorded together with the moving image. FIG. 4 is a diagram showing relay recording information as the first additional information. The relay recording information is information for identifying that moving image data is recorded across two recording media. As shown in FIG. 4, the relay record information 401 has three states. When the value of the relay recording information 401 is 0 × 30 (first value), it indicates that the moving image is not recorded by relay recording. When the value of the relay recording information 401 is 0 × 031 (second value), it indicates moving image data recorded by relay recording and indicates the first half scene. When the value of the relay recording information 401 is 0 × 032 (third value), it indicates moving image data recorded by relay recording and indicates a second half scene.

また、図5は、付加情報を示す図である。図5(a)に示すように、付加情報501は、複数の項目を含んでいる。第2の付加情報501は、ファイル番号、記録モード、記録装置の識別情報である機器ID、動画データの記録部、動画ファイルに格納された動画データの記録開始、及び終了のタイムコードの情報を含む。ファイル番号は、各動画ファイルに付加されたファイル番号の情報である。記録モードは、記録された動画データのデータレートに関する情報である。記録日は、動画の記録開始時の日付を示している。開始タイムコード、終了タイムコードはそれぞれ、動画ファイルに格納される動画データの先頭フレームと最終フレームのタイムコードを示している。本実施形態では、記録された動画データのフレーム毎に記録開始からの経過時間(フレーム)を示すタイムコード情報を生成して記録する。また、ユーザによる記録開始の指示があった場合、タイムコードの値を00:00:00:00(時:分:秒:フレーム)に設定する。また、本実施形態では、記録する動画のフレームレートを30フレーム/秒とするので、タイムコードにおけるフレームの値は0−29の何れかとなる。   FIG. 5 is a diagram showing additional information. As shown in FIG. 5A, the additional information 501 includes a plurality of items. The second additional information 501 includes information on a file number, a recording mode, a device ID that is identification information of the recording device, a recording unit for moving image data, and recording start and end time codes of moving image data stored in the moving image file. Including. The file number is information on a file number added to each moving image file. The recording mode is information regarding the data rate of the recorded moving image data. The recording date indicates the date when the recording of the moving image starts. The start time code and the end time code respectively indicate the time code of the first frame and the last frame of the moving image data stored in the moving image file. In this embodiment, time code information indicating an elapsed time (frame) from the start of recording is generated and recorded for each frame of the recorded moving image data. When the user instructs to start recording, the time code value is set to 00:00:00 (hour: minute: second: frame). In this embodiment, since the frame rate of the moving image to be recorded is 30 frames / second, the value of the frame in the time code is 0-29.

制御部106は、これらリレー記録情報401と付加情報501を生成し、メモリ102に記憶する。そして、制御部106は、記録再生部を制御して、リレー記録情報401と付加情報501をそれぞれ、動画ファイルに対応づけて記録する。なお、本実施形態では、リレー記録情報401と第2の付加情報501を動画ファイル内に格納して記録するが、これらの付加情報を動画ファイルとは別のファイルとして記録する構成としてもよい。   The control unit 106 generates the relay recording information 401 and the additional information 501 and stores them in the memory 102. Then, the control unit 106 controls the recording / reproducing unit to record the relay recording information 401 and the additional information 501 in association with the moving image file. In the present embodiment, the relay recording information 401 and the second additional information 501 are stored and recorded in the moving image file. However, the additional information may be recorded as a file different from the moving image file.

図2は、リレー記録時の処理を示すフローチャートである。図2の処理は、制御部106が各部を制御することにより実行される。本実施形態では、二つの記録媒体A110とB111が共に装着されていることが検出された場合にリレー記録を実行し、何れか一方の記録媒体だけが装着されている場合にはリレー記録を行わない。また、一方の記録媒体から他方に切り替えた後、動画の記録を継続し、その後、他方の記録媒体の記録容量が無くなった場合は記録を停止する。また、両方の記録媒体が装着されている場合に、ユーザがリレー記録を行わないように設定できるように構成してもよい。   FIG. 2 is a flowchart showing processing at the time of relay recording. The process of FIG. 2 is executed by the control unit 106 controlling each unit. In the present embodiment, relay recording is performed when it is detected that the two recording media A110 and B111 are both mounted, and relay recording is performed when only one of the recording media is mounted. Absent. In addition, after switching from one recording medium to the other, the recording of the moving image is continued, and then the recording is stopped when the recording capacity of the other recording medium is exhausted. In addition, when both recording media are mounted, the user may be configured not to perform relay recording.

記録ポーズ状態において、ユーザにより記録開始の指示があった場合に図2の処理が開始される。まず、制御部106は、二つの記録媒体のうちユーザにより記録先として選択された方の記録媒体を記録策として指定する(S201)。そして、制御部106は、記録先として指定した記録媒体に対応した記録再生部108、あるいは109に対して動画の記録を開始するように指示する。記録再生部108、或いは109は、前記のように動画データを記録媒体に記録する(S202)。記録開始後、制御部106は、ユーザにより記録停止の指示があった場合(S203)、動画の記録を停止するように、動画を記録中の記録再生部108あるいは109に指示する。記録再生部108または109は、動画データの記録を停止し(S204)、この動画に対応したリレー記録情報401と付加情報501を記録する(S205)。記録が終了すると、記録ポーズ状態となる。   When the user gives an instruction to start recording in the recording pause state, the processing in FIG. 2 is started. First, the control unit 106 designates a recording medium selected as a recording destination by the user among the two recording media as a recording strategy (S201). Then, the control unit 106 instructs the recording / reproducing unit 108 or 109 corresponding to the recording medium designated as the recording destination to start recording a moving image. The recording / reproducing unit 108 or 109 records the moving image data on the recording medium as described above (S202). After the start of recording, when the recording is instructed by the user (S203), the control unit 106 instructs the recording / reproducing unit 108 or 109 that is recording the moving image to stop recording the moving image. The recording / reproducing unit 108 or 109 stops recording the moving image data (S204), and records the relay recording information 401 and the additional information 501 corresponding to the moving image (S205). When recording is completed, the recording pause state is established.

一方、S203で記録停止の指示が無い場合、制御部106は、記録中の記録媒体の記録残量を検出する(S206)。記録再生部108または109は、動画の記録中に繰り返し記録媒体の記録残量を検出し、記録残量の情報を制御部106に送る。記録残量が残っていた場合、そのまま動画の記録が継続される。また、記録残量が少ないと判断した場合、制御部106は、動画が記録されている記録媒体以外の他方の記録媒体が装着されているか否かを判別する(S207)。そして、他方の記録媒体が装着されていない場合、記録残量が無くなったため、制御部106は、動画を記録中の記録再生部108あるいは109に指示する。記録再生部108または109は、動画データの記録を停止し(S204)、この動画に対応したリレー記録情報401と付加情報501を記録する(S205)。   On the other hand, when there is no instruction to stop recording in S203, the control unit 106 detects the remaining recording capacity of the recording medium being recorded (S206). The recording / reproducing unit 108 or 109 repeatedly detects the remaining recording capacity of the recording medium during moving image recording, and sends information on the remaining recording capacity to the control unit 106. If the remaining recording capacity remains, recording of the moving image is continued as it is. If it is determined that the remaining recording capacity is low, the control unit 106 determines whether the other recording medium other than the recording medium on which the moving image is recorded is loaded (S207). When the other recording medium is not loaded, the remaining recording capacity is exhausted, so the control unit 106 instructs the recording / reproducing unit 108 or 109 that is recording a moving image. The recording / reproducing unit 108 or 109 stops recording the moving image data (S204), and records the relay recording information 401 and the additional information 501 corresponding to the moving image (S205).

また、他方の記録媒体が装着されていた場合、制御部106は、動画を記録中の記録媒体への記録を停止するように、記録再生部108または109に指示する。記録再生部108または109は、動画データの記録を停止し(S208)、この動画に対応したリレー記録情報401と付加情報501を記録する(S209)。次に、制御部106は、記録先を他方の記録媒体に変更し、動画の記録を継続するように、記録先の記録媒体に対応した記録再生部108または109に指示し、記録を継続する(S210)。   If the other recording medium is loaded, the control unit 106 instructs the recording / reproducing unit 108 or 109 to stop recording on the recording medium that is recording the moving image. The recording / reproducing unit 108 or 109 stops recording the moving image data (S208), and records the relay recording information 401 and the additional information 501 corresponding to the moving image (S209). Next, the control unit 106 changes the recording destination to the other recording medium and instructs the recording / reproducing unit 108 or 109 corresponding to the recording medium of the recording destination to continue recording the moving image, and continues the recording. (S210).

図3は、記録装置100により記録される動画ファイルを示す図である。図3(a)はリレー記録が行われない場合に記録される動画ファイルを示している。記録媒体A110が選択されている状態で記録開始、記録停止指示によりファイル名00001の動画ファイル301が記録される。その後、ユーザにより記録先が記録媒体B111に変更される。この状態で記録開始、停止指示によりファイル名00002の動画ファイル302が記録される。   FIG. 3 is a diagram illustrating a moving image file recorded by the recording apparatus 100. FIG. 3A shows a moving image file recorded when relay recording is not performed. With the recording medium A110 selected, a moving image file 301 with a file name 00001 is recorded by a recording start / stop instruction. Thereafter, the recording destination is changed to the recording medium B111 by the user. In this state, a moving image file 302 having a file name of 00002 is recorded by a recording start / stop instruction.

一方、図3(b)はリレー記録が行われた場合に記録される動画ファイルを示している。記録媒体A110が選択されている状態で記録開始指示によりファイル名00003の動画ファイル303が記録される。動画ファイル303の記録中に記録媒体A110の残量が無くなった場合、動画ファイル303の記録が停止され、記録先が記録媒体B111に変更されて、ファイル名00004の動画ファイル304が記録媒体B111に記録される。その後、記録停止の指示により、動画ファイル303の記録が停止される。   On the other hand, FIG. 3B shows a moving image file recorded when relay recording is performed. With the recording medium A110 selected, the moving image file 303 with the file name 00003 is recorded by a recording start instruction. If the recording medium A110 runs out during recording of the moving image file 303, the recording of the moving image file 303 is stopped, the recording destination is changed to the recording medium B111, and the moving image file 304 with the file name 00004 is stored in the recording medium B111. To be recorded. Thereafter, the recording of the moving image file 303 is stopped by an instruction to stop recording.

図3(a)のように、リレー記録が行われない場合に記録される動画ファイル301、302と共に記録されるリレー記録情報401の値は、0×30となる。また、図3(b)のようにリレー記録が行われた場合、動画ファイル303のリレー記録情報401の値は0×31となり、動画ファイル304のリレー記録情報401の値は0×32となる。   As shown in FIG. 3A, the value of the relay recording information 401 recorded together with the moving image files 301 and 302 recorded when the relay recording is not performed is 0 × 30. When relay recording is performed as shown in FIG. 3B, the value of the relay recording information 401 of the moving image file 303 is 0 × 31, and the value of the relay recording information 401 of the moving image file 304 is 0 × 32. .

図6は、図3(b)のようにリレー記録が行われた場合に各動画ファイル303、304に記録されるフレームと、各フレームのタイムコードを示す図である。記録媒体A110が選択された状態で、601で記録開始の指示があった場合、タイムコード値00:00:00:00が先頭のフレームに付加され、記録が開始される。その後、602で記録媒体A110から記録媒体B111に変更されると、記録媒体A110に記録された動画ファイル303の最後のフレームにはタイムコード値00:00:10:15が付加される。また、記録媒体B111に記録される動画ファイル304の先頭のフレームにはタイムコード値00:00:10:16が付加される。このように、リレー記録時には、動画ファイル303の最後のフレームと、動画ファイル304の先頭のフレームに付加されるタイムコード値は連続している。そのため、一方の動画ファイルの最終フレームのタイムコードから1フレームを加算した値が他方の動画ファイルの先頭フレームのタイムコードとして設定されていた場合、これら二つの動画ファイルはリレー記録により連続して記録されたものであることがわかる。その後、603で記録停止の指示があると動画ファイル304の記録を停止する。   FIG. 6 is a diagram showing the frames recorded in the moving image files 303 and 304 and the time code of each frame when relay recording is performed as shown in FIG. When the recording medium A110 is selected and a recording start instruction is issued in 601, the time code value 00:00:00 is added to the first frame, and recording is started. Thereafter, when the recording medium A110 is changed to the recording medium B111 in 602, the time code value 0: 00: 10: 15 is added to the last frame of the moving image file 303 recorded on the recording medium A110. A time code value of 00: 00: 10: 16 is added to the first frame of the moving image file 304 recorded on the recording medium B111. Thus, at the time of relay recording, the time code value added to the last frame of the moving image file 303 and the first frame of the moving image file 304 is continuous. Therefore, when the value obtained by adding one frame from the time code of the last frame of one video file is set as the time code of the first frame of the other video file, these two video files are recorded continuously by relay recording. It can be seen that Thereafter, when there is a recording stop instruction in 603, recording of the moving image file 304 is stopped.

図5(b)は、図6のようにリレー記録により記録された動画ファイル303、304の付加情報を示している。ここでは、記録モードとして高画質モード(データレートが24Mbps)が選択されているものとする。図5(b)に示すように、動画ファイル303の付加情報502には、開始タイムコード値として00:00:00:00が格納され、終了タイムコード値として00:00:10:15が格納される。一方、動画ファイル304の付加情報503には、開始タイムコード値として00:00:10:16が格納され、終了タイムコード値として00:00:30:00が格納される。   FIG. 5B shows additional information of the moving image files 303 and 304 recorded by relay recording as shown in FIG. Here, it is assumed that the high image quality mode (data rate is 24 Mbps) is selected as the recording mode. As shown in FIG. 5B, the additional information 502 of the moving image file 303 stores 00: 00: 00: 00 as the start time code value and 00: 00: 10: 15 as the end time code value. Is done. On the other hand, in the additional information 503 of the moving image file 304, 00: 00: 10: 16 is stored as the start time code value, and 00: 0: 30 is stored as the end time code value.

次に、このようにリレー記録により記録された二つの動画ファイルを結合する画像処理装置について説明する。図7は、本実施形態における画像処理装置700の構成を示している。画像処理装置700は、一般的なパーソナルコンピュータ(PC)などにより実現できる。   Next, an image processing apparatus that combines two moving image files recorded by relay recording will be described. FIG. 7 shows the configuration of the image processing apparatus 700 in this embodiment. The image processing apparatus 700 can be realized by a general personal computer (PC) or the like.

画像処理装置700において、CPU701は記憶部703に記憶されたアプリケーションソフトウエアに従って各部を制御する。メモリ702は、記憶部703に記憶されたソフトウエアのキャッシュメモリや、CPU701のワークメモリとして機能する。記憶部703は、ハードディスク(HDD)やフラッシュメモリドライブ(SSD)などの大容量の不揮発メモリを含む。記憶部703は、ソフトウエアを記憶する。また、記憶部703は、後述の様に、記録媒体A110、B111から読み出された動画ファイルや、結合動画ファイルなどを記憶する。表示部704は、ユーザによる操作画面などの情報を表示する。操作部705は、キーボードやマウス、その他ユーザが操作可能なスイッチなどを含む。記録媒体インターフェイス(IF)706は、記録媒体が装着可能な装着部を備え、装着された記録媒体から動画ファイルや各種のデータを読み出し、また、記録媒体に動画ファイルなどを書き込む。記録媒体IF706は、図1の記録媒体A110と記録媒体B111が装着される二つの装着部を備えるものとする。従って、画像処理装置700に対し、記録媒体A110と記録媒体B111を同時に装着可能である。バス707は各部の間でデータなどを送受信する。   In the image processing apparatus 700, the CPU 701 controls each unit in accordance with application software stored in the storage unit 703. The memory 702 functions as a software cache memory stored in the storage unit 703 and a work memory of the CPU 701. The storage unit 703 includes a large-capacity nonvolatile memory such as a hard disk (HDD) or a flash memory drive (SSD). The storage unit 703 stores software. The storage unit 703 stores a moving image file read from the recording media A110 and B111, a combined moving image file, and the like, as will be described later. A display unit 704 displays information such as a user operation screen. The operation unit 705 includes a keyboard, a mouse, and other switches that can be operated by the user. The recording medium interface (IF) 706 includes a mounting unit to which a recording medium can be mounted, reads a moving image file and various data from the mounted recording medium, and writes a moving image file and the like to the recording medium. The recording medium IF 706 includes two mounting portions to which the recording medium A 110 and the recording medium B 111 in FIG. 1 are mounted. Therefore, the recording medium A110 and the recording medium B111 can be simultaneously mounted on the image processing apparatus 700. A bus 707 transmits and receives data and the like between the units.

図8、図9は画像処理装置700による動画ファイルの結合処理を示すフローチャートである。図8、図9の処理はCPU701により実行される。結合処理が開始されると、まず、CPU701は、記録媒体IF706に二つの記録媒体を装着するようにユーザに指示する画面を表示部704に表示し、二つの記録媒体が装着されるのを待つ(S801)。記録媒体IF706に二つの記録媒体、ここでは記録媒体A110と記録媒体B111が装着されたことが検出されると(S802)、CPU701は、リレー記録により二つの記録媒体に連続して記録された動画ファイルを検出する(S803)。   FIG. 8 and FIG. 9 are flowcharts showing moving image file combining processing by the image processing apparatus 700. The processing of FIGS. 8 and 9 is executed by the CPU 701. When the combining process is started, first, the CPU 701 displays a screen for instructing the user to mount the two recording media on the recording medium IF 706 on the display unit 704 and waits for the two recording media to be mounted. (S801). When it is detected that two recording media, here recording medium A110 and recording medium B111, are installed in recording medium IF 706 (S802), CPU 701 continuously records the moving images recorded on the two recording media by relay recording. A file is detected (S803).

図9はS803における検出処理を示すフローチャートである。図9において、CPU701は、記録媒体IF706により、二つの記録媒体A110と記録媒体B111から、全ての動画ファイルのリレー記録情報を読み出して記憶部703に記憶する。そして、リレー記録情報の値に基づいて、二つの記録媒体に記録された動画ファイルから、前半シーンの動画ファイルを検出し、その数N1を検出する(S902)。ここで、前記のように、リレー記録情報の値が0×31である場合、前半シーンの動画ファイルであることを示している。次に、CPU701は、二つの記録媒体に記録された動画ファイルから、後半シーンの動画ファイルを検出し、その数N2を検出する(S903)。ここで、リレー記録情報の値が0×32である場合、後半シーンの動画ファイルであることを示している。   FIG. 9 is a flowchart showing the detection process in S803. In FIG. 9, the CPU 701 reads out the relay recording information of all moving image files from the two recording media A110 and B111 using the recording medium IF 706 and stores them in the storage unit 703. Then, based on the value of the relay recording information, the moving image files of the first half scene are detected from the moving image files recorded on the two recording media, and the number N1 is detected (S902). Here, as described above, when the value of the relay recording information is 0 × 31, it indicates a moving image file of the first half scene. Next, the CPU 701 detects the moving image file of the second half scene from the moving image files recorded on the two recording media, and detects the number N2 (S903). Here, when the value of the relay recording information is 0 × 32, it indicates a moving image file of the latter half scene.

そして、CPU701は、検出されたN1とN2がそれぞれ、0より大きいか否かを判別する(S904)。つまり、ここでは、二つの記録媒体に、前半シーンの動画ファイルと後半シーンの動画ファイルがそれぞれ、少なくとも一つは記録されているかどうかを判定している。判定の結果、前半シーンの動画ファイルと後半シーンの動画ファイルの少なくとも何れかが、一つも記録されていなかった場合、処理を終了する。   Then, the CPU 701 determines whether the detected N1 and N2 are each greater than 0 (S904). That is, here, it is determined whether or not at least one moving image file of the first half scene and moving image file of the second half scene are recorded on the two recording media. As a result of the determination, if at least one of the moving image file of the first half scene and the moving image file of the second half scene is not recorded, the process is terminated.

また、前半シーンの動画ファイルと後半シーンの動画ファイルが共に一つ以上記録されていた場合、CPU701は、まず、検出された前半シーンの動画ファイルの一つを選択する(S905)。そして、各動画ファイルの付加情報に基づいて、選択した前半シーンの動画ファイルに連続した後半シーンの動画ファイルを検出する(S906)。即ち、CPU701は、選択された前半シーンの付加情報501と、全ての後半シーンの動画ファイルの付加情報502とに基づいて、これらの付加情報が以下の条件1−4を満たすか否かを確認する。
条件1:記録モードが同じ
条件2:記録機器が同じ
条件3:前半シーンの動画ファイルの記録日と、後半シーンの動画ファイルの記録日の差が1日以内
条件4:前半シーンの動画ファイルの終了タイムコード値を1フレーム進めた値が後半シーンの動画ファイルの開始タイムコードと一致する
CPU701は、これらの条件1−4を全て満たす場合、その二つの動画ファイルがリレー記録により連続して記録されたものであると決定する。このように、リレー記録により連続して記録された動画ファイルがあった場合(S907)、CPU701は、前半シーンの動画ファイルのファイル名と、後半シーンの動画ファイルのファイル名の情報を記憶部703に記憶する(S908)。また、連続する後半シーンの動画ファイルが無い場合はそのままS909に進む。
When one or more of the first half-scene moving image file and the second half-scene moving image file are recorded, the CPU 701 first selects one of the detected first-half scene moving image files (S905). Then, based on the additional information of each moving image file, the moving image file of the latter half scene continuous to the selected moving image file of the first half scene is detected (S906). That is, the CPU 701 confirms whether or not the additional information satisfies the following conditions 1-4 based on the selected additional information 501 of the first half scene and the additional information 502 of the moving image files of all the second half scenes. To do.
Condition 1: Recording mode is the same Condition 2: Recording device is the same Condition 3: The recording date of the moving image file of the first half scene and the recording date of the moving image file of the second half scene is within one day Condition 4: The moving image file of the first half scene The value obtained by advancing the end time code value by one frame coincides with the start time code of the moving image file of the latter half scene. When the CPU 701 satisfies all of these conditions 1-4, the two moving image files are continuously recorded by relay recording. It is determined that As described above, when there is a moving image file continuously recorded by relay recording (S907), the CPU 701 stores information on the file name of the moving image file of the first half scene and the file name of the moving image file of the second half scene. (S908). On the other hand, if there is no continuous second half-scene moving image file, the process proceeds to S909.

S909では、CPU701は、残りの前半シーンの動画ファイルがあるかどうかを確認し、残りの前半シーンの動画ファイルが無い場合は処理を終了する。また、残りの前半シーンの動画ファイルがある場合、CPU701は、次の前半シーンの動画ファイルを選択し(S910)、S906に戻って処理を続ける。   In step S909, the CPU 701 confirms whether there is a moving image file of the remaining first half scene, and ends the process if there is no moving image file of the remaining first half scene. If there is a moving image file of the remaining first half scene, the CPU 701 selects a moving image file of the next first half scene (S910), returns to S906, and continues the processing.

図8の処理に戻り、CPU701は、S803の処理の結果、リレー記録により二つの記録媒体A110とB111に連続して記録された動画ファイルがあるか否かを判別する(S804)。連続して記録された動画ファイルがあった場合、CPU701は、記録媒体IF706に対し、S908で記憶されたファイル名の動画ファイルを読み出すように指示する(S805)。記録媒体IF706は、CPU701より指定された動画ファイルを記録媒体A110,B111より読み出し、記憶部703に記憶する。そして、CPU701は、記憶部703に記憶された、前半シーンの動画ファイルと後半シーンの動画ファイルとを結合し、結合動画ファイルを生成して記憶部703に記憶する。このとき、前半シーンの動画ファイルの後に後半シーンの動画ファイルを結合する。なお、ここでの動画ファイルの結合処理は、バイナリレベルでの単純な結合でよい。   Returning to the processing of FIG. 8, the CPU 701 determines whether there is a moving image file continuously recorded on the two recording media A110 and B111 by the relay recording as a result of the processing of S803 (S804). If there are continuously recorded moving image files, the CPU 701 instructs the recording medium IF 706 to read out the moving image file having the file name stored in S908 (S805). The recording medium IF 706 reads the moving image file designated by the CPU 701 from the recording media A 110 and B 111 and stores it in the storage unit 703. The CPU 701 combines the moving image file of the first half scene and the moving image file of the second half scene stored in the storage unit 703, generates a combined moving image file, and stores the combined moving image file in the storage unit 703. At this time, the moving image file of the second half scene is combined after the moving image file of the first half scene. The moving image file combining process here may be simple combining at the binary level.

一方、S803の処理の結果、リレー記録により二つの記録媒体A110とB111に連続して記録された動画ファイルが無い場合、CPU701は、結合できるファイルが見つからないことを表示部704に表示する(S807)。   On the other hand, as a result of the processing in S803, if there is no moving image file continuously recorded on the two recording media A110 and B111 by relay recording, the CPU 701 displays on the display unit 704 that a file that can be combined is not found (S807). ).

このように、本実施形態では、二つの記録媒体にまたがって連続的に記録された二つの動画ファイルを付加情報に基づいて検出して結合する。そのため、ユーザは、簡単な構成で、複数の記録媒体に分割されて記録された一連の動画を一つに結合した動画ファイルを得ることができる。   As described above, in this embodiment, two moving image files continuously recorded across two recording media are detected and combined based on the additional information. Therefore, the user can obtain a moving image file in which a series of moving images divided and recorded on a plurality of recording media are combined into one with a simple configuration.

なお、本実施形態では、記録媒体IF706は二つの装着部を備え、これらの装着部に記録媒体を装着する構成であったが、これ以外の構成とすることも可能である。例えば、画像処理装置700が公知のUSBの通信部を備える構成とする。そして、USBによりメモリカードリーダなどを接続し、このカードリーダに記録媒体A110とB111とを装着する構成としてもよい。或いは、図1の記録装置100にもUSBの通信部を備える構成としてもよい。そして、記録装置100に二つの記録媒体A110とB111とを装着した状態で記録装置100と画像処理装置700とをUSBにより接続し、画像処理装置700が記録装置100を制御して図8、図9の処理を行うようにしてもよい。   In the present embodiment, the recording medium IF 706 includes two mounting portions, and the recording medium is mounted on these mounting portions. However, other configurations are possible. For example, the image processing apparatus 700 includes a known USB communication unit. A memory card reader or the like may be connected by USB, and the recording media A110 and B111 may be attached to the card reader. Alternatively, the recording apparatus 100 in FIG. 1 may be configured to include a USB communication unit. Then, the recording apparatus 100 and the image processing apparatus 700 are connected by USB in a state where the two recording media A110 and B111 are mounted on the recording apparatus 100, and the image processing apparatus 700 controls the recording apparatus 100, and FIG. The process 9 may be performed.

また、記録装置100と画像処理装置700とを別々の構成としたが、一方に他方の機能を含むように構成してもよい。例えば、記録装置100に画像処理装置700の構成を備える構成としてもよい。また、タイムコードの他、フレーム毎に所定数ずつ値が増加する情報、例えば、先頭からのフレーム数を示す情報などを付加情報501の項目として記録する構成でもよい。そして、条件4として、タイムコードの値に代えて、フレーム数の情報を使うようにしてもよい。   In addition, the recording apparatus 100 and the image processing apparatus 700 are configured separately, but may be configured to include the other function in one. For example, the recording apparatus 100 may be configured to include the configuration of the image processing apparatus 700. Further, in addition to the time code, information whose value increases by a predetermined number for each frame, for example, information indicating the number of frames from the head, may be recorded as an item of the additional information 501. As condition 4, information on the number of frames may be used instead of the time code value.

次に、第2の実施形態を説明する。第2の実施形態においても、二つの記録媒体A110とB111とに対する動画ファイルや付加情報の記録処理は第1の実施形態と同様である。また、画像処理装置700の構成も第1の実施形態と同様とするが、第2の実施形態では、記録媒体IF706に対し、記録媒体を一つずつ装着して動画ファイルを結合する場合の処理を説明する。   Next, a second embodiment will be described. Also in the second embodiment, the recording process of moving image files and additional information for the two recording media A110 and B111 is the same as that of the first embodiment. The configuration of the image processing apparatus 700 is the same as that of the first embodiment, but in the second embodiment, processing when a recording medium is attached to the recording medium IF 706 one by one and a moving image file is combined. Will be explained.

図10は、第2の実施形態における画像処理装置700の処理を示すフローチャートである。結合処理が開始されると、まず、CPU701は、記録媒体IF706に一つの記録媒体を装着するようにユーザに指示する画面を表示部704に表示し、記録媒体が装着されるのを待つ(S1001)。記録媒体IF706に記録媒体、ここでは記録媒体A110が装着されたことが検出されると(S1002)、CPU701は、記録媒体IF706に対し、各動画ファイルのリレー記録情報を読み出すように指示する。記録媒体IF706は、記録媒体からリレー記録情報を読み出し、記憶部703に記憶する。CPU701は、読み出されたリレー記録情報に基づいて、リレー記録により記録された動画ファイルを検出し(S1003)、検出した動画ファイルを読み出して記憶するように記録媒体IF706に指示する。記録媒体IF706は、CPU701により指定された動画ファイルを記録媒体から読み出し、記憶部703に記憶する(S1004)。   FIG. 10 is a flowchart illustrating processing of the image processing apparatus 700 according to the second embodiment. When the combining process is started, first, the CPU 701 displays a screen for instructing the user to mount one recording medium on the recording medium IF 706 on the display unit 704, and waits for the recording medium to be mounted (S1001). ). When it is detected that the recording medium, here, the recording medium A110 is mounted on the recording medium IF 706 (S1002), the CPU 701 instructs the recording medium IF 706 to read the relay recording information of each moving image file. The recording medium IF 706 reads the relay recording information from the recording medium and stores it in the storage unit 703. The CPU 701 detects the moving image file recorded by the relay recording based on the read relay recording information (S1003), and instructs the recording medium IF 706 to read and store the detected moving image file. The recording medium IF 706 reads the moving image file designated by the CPU 701 from the recording medium and stores it in the storage unit 703 (S1004).

次に、CPU701は、他にリレー記録により動画ファイルが記録された記録媒体があるか否かを問い合わせる画面を表示部704に表示する。そして、ユーザにより、他の記録媒体がある旨が指示された場合(S1005)、S1001に戻り、記録媒体IF706に一つの記録媒体を装着するようにユーザに指示する画面を表示部704に表示する。   Next, the CPU 701 displays a screen for inquiring whether there is another recording medium on which a moving image file is recorded by relay recording on the display unit 704. When the user instructs that there is another recording medium (S1005), the process returns to S1001, and a screen for instructing the user to mount one recording medium on the recording medium IF 706 is displayed on the display unit 704. .

また、ユーザにより、他の記録媒体が無い旨が指示された場合(S1005)、図9に示す処理を実行する(S1006)。次に、CPU701は、S1006の処理の結果、リレー記録により二つの記録媒体A110とB111に連続して記録された動画ファイルがあるか否かを判別する(S1007)。連続して記録された動画ファイルがあった場合、CPU701は、記憶部703に記憶された動画ファイルから、S906により検出された、連続した前半シーンの動画ファイルと後半シーンの動画ファイルとを結合し、結合動画ファイルを生成する。なお、ここでの動画ファイルの結合処理は、バイナリレベルでの単純な結合でよい。   When the user instructs that there is no other recording medium (S1005), the processing shown in FIG. 9 is executed (S1006). Next, the CPU 701 determines whether there is a moving image file continuously recorded on the two recording media A110 and B111 by the relay recording as a result of the processing of S1006 (S1007). If there is a continuously recorded moving image file, the CPU 701 combines the moving image file of the first half scene and the moving image file of the second half scene detected in S906 from the moving image file stored in the storage unit 703. , Generate a combined video file. The moving image file combining process here may be simple combining at the binary level.

一方、S1007の処理の結果、リレー記録により二つの記録媒体A110とB111に連続して記録された動画ファイルが無い場合、CPU701は、結合できるファイルが見つからないことを表示部704に表示する(S1009)。   On the other hand, as a result of the processing of S1007, when there is no moving image file continuously recorded on the two recording media A110 and B111 by relay recording, the CPU 701 displays on the display unit 704 that a file that can be combined is not found (S1009). ).

このように、本実施形態においても、二つの記録媒体にまたがって連続的に記録された二つの動画ファイルを付加情報に基づいて検出して結合する。そのため、ユーザは、簡単な構成で、複数の記録媒体に分割されて記録された一連の動画を一つに結合した動画ファイルを得ることができる。   Thus, also in the present embodiment, two moving image files continuously recorded across two recording media are detected and combined based on the additional information. Therefore, the user can obtain a moving image file in which a series of moving images divided and recorded on a plurality of recording media are combined into one with a simple configuration.

次に、第3の実施形態を説明する。第1の実施形態では、リレー記録情報に基づき、記録媒体に記録された動画ファイルから、リレー記録により記録されたものを検出し、更に、連続記録された動画ファイルを検出していた。本実施形態では、装着された二つの記録媒体にそれぞれ一つずつ動画ファイルが記録されていた場合には、リレー記録情報の値をチェックせずに、付加情報に基づいてこれら二つの動画ファイルの連続性をチェックする。   Next, a third embodiment will be described. In the first embodiment, on the basis of the relay recording information, one recorded by relay recording is detected from the moving image file recorded on the recording medium, and further, the continuously recorded moving image file is detected. In this embodiment, when one moving image file is recorded on each of the two attached recording media, the value of the relay recording information is not checked, and the two moving image files are checked based on the additional information. Check continuity.

図11は第3の実施形態におけるCPU701の処理を示すフローチャートである。結合処理が開始されると、まず、CPU701は、記録媒体IF706に二つの記録媒体を装着するようにユーザに指示する画面を表示部704に表示し、二つの記録媒体が装着されるのを待つ(S1101)。記録媒体IF706に二つの記録媒体、ここでは記録媒体A110と記録媒体B111が装着されたことが検出されると(S1102)、CPU701は、二つの記録媒体にそれぞれ一つの動画ファイルが記録されているか否かを判別する(S1103)。少なくとも何れかの記録媒体に二つ以上の動画ファイルが記録されていた場合、図8のS803以降の処理に移行して、処理を続ける。   FIG. 11 is a flowchart showing the processing of the CPU 701 in the third embodiment. When the combining process is started, first, the CPU 701 displays a screen for instructing the user to mount the two recording media on the recording medium IF 706 on the display unit 704 and waits for the two recording media to be mounted. (S1101). When it is detected that two recording media, here recording medium A110 and recording medium B111, are installed in the recording medium IF 706 (S1102), the CPU 701 determines whether one moving image file is recorded on each of the two recording media. It is determined whether or not (S1103). If two or more moving image files are recorded on at least one of the recording media, the process proceeds to S803 and subsequent steps in FIG.

一方、各記録媒体に一つずつ動画ファイルが記録されていた場合、CPU701は、これら二つの動画ファイルがリレー記録により連続して記録されたものであるか否かを判別する(S1104)。ここでは、CPU701は、各動画ファイルの付加情報501に基づいて、二つの動画ファイルが以下の条件5−8を満たすか否かを判別する。
条件5:記録モードが同じ
条件6:記録機器が同じ
条件7:一方の動画ファイルの記録日と、他方の動画ファイルの記録日の差が1日以内
条件4:一方の動画ファイルの終了タイムコード値を1フレーム進めた値が他方の動画ファイルの開始タイムコードと一致する
この結果、二つの動画ファイルがリレー記録により連続して記録されたものであった場合、CPU701は、記録媒体IF706に対し、各記録媒体から動画ファイルを読み出すように指示する。記録媒体IF706は、CPU701より指定された動画ファイルを記録媒体A110,B111より読み出し、記憶部703に記憶する。そして、CPU701は、記憶部703に記憶された、二つの動画ファイルのうち、前半シーンの動画ファイルの後に後半シーンの動画ファイルを結合し、結合動画ファイルを生成して記憶部703に記憶する。二つの動画ファイルの付加情報501の開始タイムコードと終了タイムコードを比較することで、二つの動画ファイルの何れが前半シーンであるかを検出することができる。
On the other hand, when one moving image file is recorded on each recording medium, the CPU 701 determines whether or not these two moving image files are continuously recorded by relay recording (S1104). Here, the CPU 701 determines whether the two moving image files satisfy the following condition 5-8 based on the additional information 501 of each moving image file.
Condition 5: Same recording mode 6: Same recording device Condition 7: The difference between the recording date of one video file and the recording date of the other video file is within one day Condition 4: End time code of one video file The value advanced by one frame matches the start time code of the other moving image file. As a result, when two moving image files are recorded continuously by relay recording, the CPU 701 reads the recording medium IF 706. Instruct to read the moving image file from each recording medium. The recording medium IF 706 reads the moving image file designated by the CPU 701 from the recording media A 110 and B 111 and stores it in the storage unit 703. Then, the CPU 701 combines the moving image file of the latter half scene after the moving image file of the first half of the two moving image files stored in the storage unit 703, generates a combined moving image file, and stores the combined moving image file in the storage unit 703. By comparing the start time code and end time code of the additional information 501 of the two moving image files, it is possible to detect which of the two moving image files is the first half scene.

このように、本実施形態においても、二つの記録媒体にまたがって連続的に記録された二つの動画ファイルを付加情報に基づいて検出して結合する。そのため、ユーザは、簡単な構成で、複数の記録媒体に分割されて記録された一連の動画を一つに結合した動画ファイルを得ることができる。   Thus, also in the present embodiment, two moving image files continuously recorded across two recording media are detected and combined based on the additional information. Therefore, the user can obtain a moving image file in which a series of moving images divided and recorded on a plurality of recording media are combined into one with a simple configuration.

前述した本発明の実施形態に係わる記録装置を構成する各手段並び制御方法の各工程は、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記憶したコンピュータ読み取り可能な記憶媒体は本発明に含まれる。   Each process of each means arrangement control method which comprises the recording device concerning embodiment of this invention mentioned above is realizable by the program memorize | stored in RAM, ROM, etc. of computer operating. This program and a computer-readable storage medium storing the program are included in the present invention.

また、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。   In addition, the present invention can be implemented as, for example, a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system including a plurality of devices. The present invention may be applied to an apparatus composed of a single device.

なお、本発明は、前述した実施形態の機能を実現するソフトウエアのプログラムを、システムまたは装置に直接、または遠隔から供給する場合も含む。そして、そのシステムまたは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。   The present invention includes a case where a software program that realizes the functions of the above-described embodiments is supplied directly or remotely to a system or apparatus. This includes the case where the system or the computer of the apparatus is also achieved by reading and executing the supplied program code.

したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention. In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, and the like.

プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスクなどがある。さらに、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM、DVD−R)などもある。   Examples of the storage medium for supplying the program include a flexible disk, a hard disk, an optical disk, and a magneto-optical disk. Further, there are MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する方法がある。そして、前記ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記憶媒体にダウンロードすることによっても供給できる。   As another program supply method, there is a method of connecting to a homepage on the Internet using a browser of a client computer. It can also be supplied by downloading the computer program itself of the present invention or a compressed file including an automatic installation function from a homepage to a storage medium such as a hard disk.

また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、その他の方法として、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   As another method, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and encrypted from a homepage via the Internet to users who have cleared predetermined conditions. Download the key information to be solved. It is also possible to execute the encrypted program by using the key information and install the program on a computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。さらに、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   Further, the functions of the above-described embodiments are realized by the computer executing the read program. Furthermore, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can be realized by the processing.

さらに、その他の方法として、まず記憶媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。そして、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。   As another method, a program read from a storage medium is first written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on the instructions of the program, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are also realized by the processing.

また、各実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   In addition, each embodiment is merely an example of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

Claims (8)

動画データと、複数の記録媒体にまたがって記録された動画データであることを識別するための第1の付加情報と、前記第1の付加情報とは異なる第2の付加情報とを、複数の記録媒体から読み出す読み出し手段と、
前記複数の記録媒体から読み出された前記第1の付加情報と前記第2の付加情報とに基づいて、前記複数の記録媒体に記録された複数の前記動画データのうち、複数の記録媒体にまたがって記録された、連続する二つの動画データを検出する検出手段と、
前記検出手段により検出された二つの動画データを結合して一つの動画データを生成する結合手段とを備える画像処理装置。
A plurality of moving image data, first additional information for identifying moving image data recorded across a plurality of recording media, and second additional information different from the first additional information, Reading means for reading from the recording medium;
Based on the first additional information and the second additional information read from the plurality of recording media, among the plurality of moving image data recorded on the plurality of recording media, A detecting means for detecting two continuous moving image data recorded across,
An image processing apparatus comprising: a combining unit configured to combine two moving image data detected by the detection unit to generate one moving image data.
前記第1の付加情報は、二つの記録媒体にまたがって記録された動画データではない場合に第1の値をもち、またがって記録された二つの動画データのうちの前半の動画データである場合に第2の値をもち、後半の動画データである場合に第3の値をもつことを特徴とする請求項1に記載の画像処理装置。   The first additional information has a first value when it is not moving image data recorded across two recording media, and is the first half of moving image data recorded across two moving image data 2. The image processing apparatus according to claim 1, wherein the image processing apparatus has a second value and a third value in the case of moving image data in the second half. 前記第2の付加情報は、動画データのフレーム毎に、所定数ずつ値が増加する情報を含むことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second additional information includes information whose value increases by a predetermined number for each frame of moving image data. 前記第2の付加情報は、タイムコードを含むことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the second additional information includes a time code. 前記第2の付加情報は、前記動画データを記録した記録装置を識別する情報、前記動画データのデータレートに関する情報、前記動画データの記録日の情報の少なくとも一つを含むことを特徴とする請求項1に記載の画像処理装置。   The second additional information includes at least one of information for identifying a recording device that records the moving image data, information about a data rate of the moving image data, and information about a recording date of the moving image data. Item 8. The image processing apparatus according to Item 1. 前記検出手段は、前記複数の記録媒体に記録された複数の動画データのうち、複数の記録媒体にまたがって記録された複数の動画データの前記第2の付加情報を比較することにより、前記連続する二つの動画データを検出することを特徴とする請求項1に記載の画像処理装置。   The detecting means compares the second additional information of a plurality of moving image data recorded across a plurality of recording media among a plurality of moving image data recorded on the plurality of recording media, thereby comparing the second additional information. The image processing apparatus according to claim 1, wherein two moving image data are detected. 複数の記録媒体から、動画データと、複数の記録媒体にまたがって記録された動画データであることを識別するための第1の付加情報と、前記第1の付加情報とは異なる第2の付加情報とを、複数の記録媒体から読み出す読み出し工程と、
前記複数の記録媒体から読み出された前記第1の付加情報と前記第2の付加情報とに基づいて、前記複数の記録媒体に記録された複数の前記動画データのうち、複数の記録媒体にまたがって記録された、連続する二つの動画データを検出する検出工程と、
前記検出工程により検出された二つの動画データを結合して一つの動画データを生成する結合工程とを有する画像処理方法。
First additional information for identifying moving image data from a plurality of recording media, moving image data recorded across a plurality of recording media, and a second addition different from the first additional information Reading out information from a plurality of recording media;
Based on the first additional information and the second additional information read from the plurality of recording media, among the plurality of moving image data recorded on the plurality of recording media, A detection process for detecting two continuous moving image data recorded across the data;
An image processing method comprising: combining two moving image data detected by the detecting step to generate one moving image data.
請求項7に記載の方法をコンピュータにより実行するためのプログラムを記憶した記憶媒体。
A storage medium storing a program for executing the method according to claim 7 by a computer.
JP2012158517A 2012-07-17 2012-07-17 Image processing apparatus, image processing method, and storage medium Active JP5984546B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012158517A JP5984546B2 (en) 2012-07-17 2012-07-17 Image processing apparatus, image processing method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012158517A JP5984546B2 (en) 2012-07-17 2012-07-17 Image processing apparatus, image processing method, and storage medium

Publications (3)

Publication Number Publication Date
JP2014022868A true JP2014022868A (en) 2014-02-03
JP2014022868A5 JP2014022868A5 (en) 2015-08-20
JP5984546B2 JP5984546B2 (en) 2016-09-06

Family

ID=50197320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012158517A Active JP5984546B2 (en) 2012-07-17 2012-07-17 Image processing apparatus, image processing method, and storage medium

Country Status (1)

Country Link
JP (1) JP5984546B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001086462A (en) * 1999-09-17 2001-03-30 Sharp Corp Moving image recording device and moving image reproducing device
JP2005064926A (en) * 2003-08-14 2005-03-10 Fuji Photo Film Co Ltd Imaging apparatus
JP2008282471A (en) * 2007-05-10 2008-11-20 Sony Corp Recording apparatus, recording method and recording program, and editing apparatus, editing method and editing program
WO2010084781A1 (en) * 2009-01-26 2010-07-29 パナソニック株式会社 Video recorder

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001086462A (en) * 1999-09-17 2001-03-30 Sharp Corp Moving image recording device and moving image reproducing device
JP2005064926A (en) * 2003-08-14 2005-03-10 Fuji Photo Film Co Ltd Imaging apparatus
JP2008282471A (en) * 2007-05-10 2008-11-20 Sony Corp Recording apparatus, recording method and recording program, and editing apparatus, editing method and editing program
WO2010084781A1 (en) * 2009-01-26 2010-07-29 パナソニック株式会社 Video recorder

Also Published As

Publication number Publication date
JP5984546B2 (en) 2016-09-06

Similar Documents

Publication Publication Date Title
JP3977245B2 (en) Playback device
CN100454430C (en) Recording apparatus
US8275244B2 (en) Recording apparatus
JP2014165735A (en) Recording device, recording method and program
JP2004266386A (en) Recorder
JP2010141517A (en) Imaging apparatus, method of controlling the same, and program
JP5984546B2 (en) Image processing apparatus, image processing method, and storage medium
KR100883119B1 (en) Method for editing of moving picture file list
US7599601B2 (en) Recording method and recording device
JP5686574B2 (en) Recording device
JP2008097727A (en) Animation-reproducing device
JP4857140B2 (en) Recording apparatus and recording apparatus control method
JP4859187B2 (en) Recording apparatus, control method for the apparatus, and control program
JP5685075B2 (en) Recording apparatus, recording method, and program
JP2015099995A (en) Recording device and recording device control method
JP5950798B2 (en) Recording apparatus and control method thereof
JP3826134B2 (en) Recording device
JP2011060391A (en) Reproduction device
JP2009171345A (en) Information processing apparatus and information processing method
JP2011129183A (en) Recording device
JP2014164783A (en) Recording apparatus, control method thereof, image processing apparatus, and control method thereof
JP6080511B2 (en) Recording / reproducing apparatus and control method of recording / reproducing apparatus
JP2015029229A (en) Recording apparatus and control method therefor
JP4163655B2 (en) Image display device
JP5511739B2 (en) Recording apparatus and recording method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150707

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160802

R151 Written notification of patent or utility model registration

Ref document number: 5984546

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151