JP2014022868A - Image processing system - Google Patents
Image processing system Download PDFInfo
- 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
Links
Images
Abstract
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).
しかしながら、複数の記録媒体にまたがって記録された一連のシーンの動画を再生するためには、複数の記録媒体がそろっていなければならず、不便である。そのため、複数の記録媒体にまたがって記録された動画を一つにまとめることができれば便利であるが、特許文献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.
(第1の実施形態)
図1は、本発明の実施形態としての記録装置100の構成を示すブロック図である。なお、ビデオカメラ100は、AVCHDフォーマットに従い、動画を記録する。
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a
図1において、撮像部101は被写体を撮影し、被写体を示す動画像信号を生成して出力する。撮像部101は、ズームレンズやフォーカスレンズ等の光学系、CCD等のイメージセンサ、アイリス、撮影した動画信号をデジタル信号に変換するAD変換器、撮影された動画に必要な処理を施す処理回路等を含む。メモリ102は、撮像部101から出力された動画データ、その他のデータを記憶する。
In FIG. 1, an
信号処理部103は、記録時においては、撮影された動画データに対して、MPEG等の公知の符号化方式に従う符号化処理を施し、その情報量を圧縮する。また、信号処理部103は、再生時においては、再生された動画データを復号し、情報量を伸張する。表示制御部104は、制御部106からの指示に従い、動画やメニュー画面等の各種の情報を表示部105に表示する。表示部105は液晶パネル等、公知の表示装置を含む。
At the time of recording, the
制御部106はマイクロプロセッサ(CPU)やその他必要なメモリを有し、メモリ102に記憶されたプログラムに従い、操作部108からの指示に応じて記録装置100の各部の動作を制御する。操作部107は、電源スイッチ、動画の撮影開始、停止を指示するトリガスイッチ、ズームスイッチ、再生スイッチ、メニュースイッチ等の各種のスイッチを備える。制御部106は、操作部107からのユーザの指示を受け付ける。また、本実施形態では、ユーザは、メニュースイッチを操作して表示部105にメニュー画面を表示し、このメニュー画面を利用して、リレー記録モードの設定を指示する。
The
記録再生部108は、制御部106からの指示に従い、動画データやその付加情報、及びその他各種の情報を記録媒体A110に記録し、記録媒体A110から再生する。また、記録再生部109は、制御部106からの指示に従い、動画データやその付加情報、及びその他各種の情報を記録媒体MB111に記録し、記録媒体B111から再生する。記録媒体A110、記録媒体B111はメモリカードやハードディスク(HDD)等のランダムアクセス可能な記録媒体である。本実施形態では、記録媒体A110、B111はそれぞれフラッシュメモリを内蔵したメモリカードであるものとする。
The recording / reproducing
また、記録媒体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
次に、記録装置100による基本的な記録処理、及び再生処理について説明する。
Next, basic recording processing and reproduction processing by the
記録装置100では、記録媒体A110と記録媒体B111の何れかに対して動画を記録することができる。ユーザは、記録装置100が記録ポーズ状態であるときに操作部107を操作して、これら二つの記録媒体のうちの何れか一つを記録先の記録媒体として選択する。制御部106は、選択された記録媒体を示す情報を内部の不揮発性メモリに記憶する。
In the
操作部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
そして、記録開始後、操作部107により撮影停止の指示があると、制御部106は記録再生部108、109のうち、記録先として選択された記録媒体に対応する記録再生部に対して、動画の記録停止を指示する。なお、本実施形態では、記録再生部108、109は記録媒体A110、記録媒体B111に記録した動画データを所定のファイルシステムに従い、動画ファイルとして管理する。また、本実施形態では、後述の様に、各種の付加情報を動画ファイルと共に記録媒体A110、記録媒体B111に記録する。また、ユーザは、記録する動画データのデータレートが異なる複数種類の記録モードの何れかを選択することができる。本実施形態では、例えば、通常画質モードと高画質モードの二種類の記録モードを用意している。そして、高画質モードでは、符号化された動画データの目標レートが24メガビット/秒(Mbps)となるように符号化し、通常画質モードでは、15Mbpsとなるように符号化する。制御部106は、ユーザにより設定された記録モードに応じて動画データのデータレートを変更するように、信号処理部103に指示する。信号処理部103は、指定された記録モードに応じて動画データの符号量を調整し、データレートを制御する。
When recording is instructed by the
次に、再生処理について説明する。 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
制御部106は再生が指示されると、選択された代表画像に対応した動画ファイルを再生するように、選択された記録媒体に対応する記録再生部108、109を制御する。記録再生部108、109は、指定された動画ファイルを記録媒体から再生し、メモリ102に記憶する。信号処理部103はメモリ102から動画データを読み出して復号し、再度メモリ102に記憶する。表示制御部104はメモリ102から動画データを読み出し、再生された動画を表示部105に表示する。そして、再生停止の指示があると、制御部106は動画ファイルの再生を停止し、再び、代表画像を表示部105に表示させる。
When the reproduction is instructed, the
次に、リレー記録について説明する。 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
また、図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
制御部106は、これらリレー記録情報401と付加情報501を生成し、メモリ102に記憶する。そして、制御部106は、記録再生部を制御して、リレー記録情報401と付加情報501をそれぞれ、動画ファイルに対応づけて記録する。なお、本実施形態では、リレー記録情報401と第2の付加情報501を動画ファイル内に格納して記録するが、これらの付加情報を動画ファイルとは別のファイルとして記録する構成としてもよい。
The
図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
記録ポーズ状態において、ユーザにより記録開始の指示があった場合に図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
一方、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
また、他方の記録媒体が装着されていた場合、制御部106は、動画を記録中の記録媒体への記録を停止するように、記録再生部108または109に指示する。記録再生部108または109は、動画データの記録を停止し(S208)、この動画に対応したリレー記録情報401と付加情報501を記録する(S209)。次に、制御部106は、記録先を他方の記録媒体に変更し、動画の記録を継続するように、記録先の記録媒体に対応した記録再生部108または109に指示し、記録を継続する(S210)。
If the other recording medium is loaded, the
図3は、記録装置100により記録される動画ファイルを示す図である。図3(a)はリレー記録が行われない場合に記録される動画ファイルを示している。記録媒体A110が選択されている状態で記録開始、記録停止指示によりファイル名00001の動画ファイル301が記録される。その後、ユーザにより記録先が記録媒体B111に変更される。この状態で記録開始、停止指示によりファイル名00002の動画ファイル302が記録される。
FIG. 3 is a diagram illustrating a moving image file recorded by the
一方、図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
図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
図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
図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
次に、このようにリレー記録により記録された二つの動画ファイルを結合する画像処理装置について説明する。図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
画像処理装置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
図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
図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
そして、CPU701は、検出されたN1とN2がそれぞれ、0より大きいか否かを判別する(S904)。つまり、ここでは、二つの記録媒体に、前半シーンの動画ファイルと後半シーンの動画ファイルがそれぞれ、少なくとも一つは記録されているかどうかを判定している。判定の結果、前半シーンの動画ファイルと後半シーンの動画ファイルの少なくとも何れかが、一つも記録されていなかった場合、処理を終了する。
Then, the
また、前半シーンの動画ファイルと後半シーンの動画ファイルが共に一つ以上記録されていた場合、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
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
S909では、CPU701は、残りの前半シーンの動画ファイルがあるかどうかを確認し、残りの前半シーンの動画ファイルが無い場合は処理を終了する。また、残りの前半シーンの動画ファイルがある場合、CPU701は、次の前半シーンの動画ファイルを選択し(S910)、S906に戻って処理を続ける。
In step S909, the
図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
一方、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
このように、本実施形態では、二つの記録媒体にまたがって連続的に記録された二つの動画ファイルを付加情報に基づいて検出して結合する。そのため、ユーザは、簡単な構成で、複数の記録媒体に分割されて記録された一連の動画を一つに結合した動画ファイルを得ることができる。 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
また、記録装置100と画像処理装置700とを別々の構成としたが、一方に他方の機能を含むように構成してもよい。例えば、記録装置100に画像処理装置700の構成を備える構成としてもよい。また、タイムコードの他、フレーム毎に所定数ずつ値が増加する情報、例えば、先頭からのフレーム数を示す情報などを付加情報501の項目として記録する構成でもよい。そして、条件4として、タイムコードの値に代えて、フレーム数の情報を使うようにしてもよい。
In addition, the
次に、第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
図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
次に、CPU701は、他にリレー記録により動画ファイルが記録された記録媒体があるか否かを問い合わせる画面を表示部704に表示する。そして、ユーザにより、他の記録媒体がある旨が指示された場合(S1005)、S1001に戻り、記録媒体IF706に一つの記録媒体を装着するようにユーザに指示する画面を表示部704に表示する。
Next, the
また、ユーザにより、他の記録媒体が無い旨が指示された場合(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
一方、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
このように、本実施形態においても、二つの記録媒体にまたがって連続的に記録された二つの動画ファイルを付加情報に基づいて検出して結合する。そのため、ユーザは、簡単な構成で、複数の記録媒体に分割されて記録された一連の動画を一つに結合した動画ファイルを得ることができる。 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
一方、各記録媒体に一つずつ動画ファイルが記録されていた場合、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
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
このように、本実施形態においても、二つの記録媒体にまたがって連続的に記録された二つの動画ファイルを付加情報に基づいて検出して結合する。そのため、ユーザは、簡単な構成で、複数の記録媒体に分割されて記録された一連の動画を一つに結合した動画ファイルを得ることができる。 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の付加情報と前記第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の付加情報と前記第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.
A storage medium storing a program for executing the method according to claim 7 by a computer.
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)
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 |
-
2012
- 2012-07-17 JP JP2012158517A patent/JP5984546B2/en active Active
Patent Citations (4)
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 |