JP2004040183A - Moving picture storage method and moving picture storage apparatus - Google Patents

Moving picture storage method and moving picture storage apparatus Download PDF

Info

Publication number
JP2004040183A
JP2004040183A JP2002190539A JP2002190539A JP2004040183A JP 2004040183 A JP2004040183 A JP 2004040183A JP 2002190539 A JP2002190539 A JP 2002190539A JP 2002190539 A JP2002190539 A JP 2002190539A JP 2004040183 A JP2004040183 A JP 2004040183A
Authority
JP
Japan
Prior art keywords
transfer
moving image
storage medium
information
stop
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.)
Withdrawn
Application number
JP2002190539A
Other languages
Japanese (ja)
Inventor
Satoru Yashiro
八代 哲
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 JP2002190539A priority Critical patent/JP2004040183A/en
Publication of JP2004040183A publication Critical patent/JP2004040183A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a moving picture storage apparatus that does not limit a trick operation such as fast forwarding in a reproduction source during dubbing when dubbing a moving picture photographed by a video camera or the like. <P>SOLUTION: When the reproduction source (video camera or the like) makes a trick operation to disable normal dubbing on the way that the moving picture storage apparatus dubs a moving picture from the reproduction source, the moving picture storage apparatus interrupts the dubbing, compares a moving picture file list acquired from a source medium of the reproduction source with dubbed files stored in a hard disk of the moving picture storage apparatus (S501) to create a list of undubbed parts (S502), and creates a play list describing both the dubbed parts and the undubbed parts to store the play list into the hard disk (S503). Through the above processing, the moving picture storage apparatus can perform dubbing processing without placing a limit on the trick operation in the reproduction source. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、他の記憶媒体から転送された映像や音声を再生する動画蓄積装置、動画蓄積方法、動画蓄積装置の制御プログラムおよびその制御プログラムを格納したコンピュータ可読の記憶媒体に関する。
【0002】
【従来の技術】
近年ハードディスクの大容量化、高速化、また、コンピューター技術の進歩により動画をハードディスクに記憶して再生することが可能になってきつつある。例えば、家庭用ビデオカメラで撮影した映像や放送される映像をハードディスクに録画蓄積(ダビング)し、ダビングした映像を再生することができるハードディスクレコーダーが実現可能となってきた。
【0003】
ところで、今まで一般の家庭において旅行やイベントなどを記憶に残すためビデオカメラで撮影した場合、撮影した日にだけ再生して、あとはあまり見ることがないという場合が多かった。この理由は、撮影したメディアの入れ替えが面倒であったり、再生を繰り返すことによる記憶メディアの劣化が気になったためである。しかし、上記ハードディスクレコーダーのような動画蓄積装置があれば、例えば、ビデオカメラで撮影した映像をその日のうちに再生しながらハードディスクレコーダーにダビングしておけば、後日、メディアの入れ替えも不要であり、再生を繰り返すことによる記憶メディアの劣化の心配もなく、好きな箇所から自由に撮影した映像の動画を再生させることができ、上記の問題を解消することが可能となる。
【0004】
しかしながら、従来のハードディスクレコーダーでは、例えばビデオカメラで撮影した映像をハードディスクにデータをダビングしている間は、ビデオカメラで撮影した映像を再生をし続ける必要があった。また、途中で再生を止めたり、ビデオカメラに装着された記憶メディアを交換したり、早回しなどのトリックプレイを行うと、その時点で映像のダビングが終了してしまうか、あるいは、止めた映像や早回しした映像そのものがダビングされてしまうという不具合を生じた。
【0005】
例えば、特開2000−306368号は、1倍速再生している場合にのみ映像情報をダビングするものであり、高速再生した映像はダビングの対象外であり、その実施形態によれば、再生側のテープを巻き戻した場合は同一映像を2重にダビングしてしまっていた。
【0006】
そこで、動画蓄積装置に動画をダビング中に再生側の再生を止めたり早回しなどのトリックプレイを制限することなくダビングが可能な動画蓄積装置が提案された。例えば、特開平5−89644号によれば、ビデオ編集において、編集作業中、再生VTRの出力映像信号を、ランダムアクセス可能な映像信号記憶装置にダビング記憶し、以後、ダビング済みの範囲内は、ランダムアクセス記憶装置から再生することにより、ユーザは、再生のための待ち時間を大幅に短縮することが可能である。
【0007】
【発明が解決しようとする課題】
しかしながら、特開平5−89644号は、ダビング後に再生を行う際の待ち時間を短縮できるものの、ダビング中でのユーザの操作制限を軽減させるものではなかった。
【0008】
またさらに、動画蓄積装置に動画をダビングする場合、再生側の装置で行う操作、例えば再生を止めたり、早回しなどのトリックプレイを制限することなくダビングが可能な動画蓄積装置もあるが、このような動画蓄積装置でダビングすると、ダビングした動画を再生する場合、再生される画像はダビングが完了した区間と未完了の区間があって未完了の区間をスキップして再生されるので、断片的な動画が再生されることになり、ストーリーのつながりがなく見ていて不快であった。
【0009】
そこで本発明は、上記従来技術の問題点を解決することを出発点としてなされたものであり、その目的は、例えば、家庭用のビデオカメラなどで撮影され、その記憶媒体に記憶されている動画などを動画蓄積装置内の記憶媒体に転送する際に、転送中に再生側(例えば、ビデオカメラ)における早回しや早戻しなどのトリックプレイや再生の一時停止などの操作を制限することなく行うことができる動画蓄積装置および動画蓄積装置を提供することである。
【0010】
【課題を解決するための手段】
上記目的を達成するための本発明に係る一実施形態の動画蓄積方法は、以下の構成を有する。すなわち、第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する場合に、転送中に正常な転送ができないと判断する場合は、前記転送を停止し、前記転送停止により発生する未転送部分を示す情報を保持し、転送が可能であると判断する間、前記情報に基づいて未転送部分を転送することを特徴とする。
【0011】
ここで、前記正常な転送ができないと判断する場合は、1倍速転送でない場合であり、早回しや早戻し等のトリックプレイ開始、停止、ポーズ、ソースメディアイジェクト、及び電源OFFを含む。また、前記転送が可能であると判断する間は、処理負荷が低い間であり、停止及びポーズの間を含む。また、前記未転送部分を示す情報は、動画データの一覧情報及び転送済みを示す情報、あるいは未転送を示す情報である。また、前記動画データは、映像データと音声データと制御情報とを含み、前記未転送部分を示す情報は、該制御情報として前記動画データに付加する。また、前記第1及び/又は第2記憶媒体は、ランダムアクセス可能な記憶媒体である。
【0012】
上記目的を達成するための本発明に係る一実施形態の動画蓄積装置は、以下の構成を有する。すなわち、第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する第1転送手段と、前記転送を停止する停止条件を検出する検出手段と、前記停止条件を検出すると、前記転送を停止するように前記転送手段を制御する制御手段と、前記転送停止により発生する未転送部分を示す情報を作成して保持する転送状態保持手段と、転送が可能であると判断する間、前記情報に基づいて未転送部分を転送する第2転送手段とを有することを特徴とする。
【0013】
上記目的を達成するための本発明に係る一実施形態の制御プログラムは、以下の構成を有する。すなわち、動画蓄積装置を制御する制御プログラムであって、第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する第1転送モジュールと、転送中に正常な転送ができないと判断する場合は、前記転送を停止する転送停止モジュールと、前記転送停止により発生する未転送部分を示す情報を作成して保持する転送状態保持モジュールと、転送が可能であると判断する間、前記情報に基づいて未転送部分を転送する第2転送モジュールとを有することを特徴とする。
【0014】
上記目的を達成するための本発明に係る一実施形態のコンピュータ可読記憶媒体は、以下の構成を有する。すなわち、動画蓄積装置を制御する制御プログラムを格納したコンピュータ可読の記憶媒体であって、前記制御プログラムは、第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する第1転送モジュールと、転送中に正常な転送ができないと判断する場合は、前記転送を停止する転送停止モジュールと、前記転送停止により発生する未転送部分を示す情報を作成して保持する転送状態保持モジュールと、転送が可能であると判断する間、前記情報に基づいて未転送部分を転送する第2転送モジュールとを有することを特徴とする。
【0015】
【発明の実施の形態】
以下、本発明の実施形態の動画蓄積装置について図面に基づいて詳細に説明する。なお以下の説明では、ダビングのことをキャプチャと呼ぶ場合もある。
【0016】
[動画蓄積装置のハードウエア構成例:図1]
図1は本実施形態の動画蓄積装置100のハードウエア構成を示している。図1に基づいて、動画蓄積装置100のハードウエアの構成について説明する。
【0017】
101はCPUであり、ROMやRAMに格納された制御プログラムを実行する中央演算処理部である。102はROMであり、本実施形態によるプログラムやデータが格納される。103は一時的なデータを記憶するRAMである。動画編集などの為の一時的なダビングを目的とした場合には、RAMの一部の領域をダビングする際の動画および付属情報、複製情報を記憶する目的で使用することができる。
【0018】
104はハードディスク(第2記憶媒体)であり、映像や音声や付属情報を記憶する。本実施形態では、ダビングする際、動画を録画する目的で使用されるため、DVD−RAM、CD−RW、MO、その他のストレージデバイス、また、ネットワークに接続されたストレージデバイスであってもよい。105はビデオカメラである。本実施形態では、ダビングする際、録画した動画の再生を行う目的で接続するため、ビデオデッキ等のAV機器、またはパーソナルコンピューター等であってもよい。
【0019】
106はIEEE1394インターフェースであり、ビデオカメラ105と接続され、ビデオカメラ105より動画映像音声情報および付属情報の帯域を確保してリアルタイムに確実に入出力したり、ビデオカメラ105を操作する制御コマンドの入出力を行ったり、ビデオカメラ105のソースメディア(第1記憶媒体)がイジェクトされたり、ビデオカメラ105の電源ON/OFFなどの状態を知ることができ、さらに、接続されたストレージデバイス上のデータをファイルとして扱い、ファイルの一覧、ファイルの属性やファイルの任意の位置のデータを入出力すること等が可能である。目的を達することができれば、IEEE1394インターフェースの代わりに、USBなどその他の有線インターフェースを用いても良いし、802.11やHomeRFなどの無線インターフェースを使用することもできる。
【0020】
107はスイッチやつまみ、ボタンなどから構成される操作パネルである。108はシリアルインターフェースであり、操作パネル107からの信号をCPU101で処理可能なデジタルデータに変換する。109はリモコンであり、ボタンからの押下情報を赤外線で発信する。110は、IrDAインターフェースであり、リモコン109の発信する赤外線を受信し、CPU101で処理可能なデジタルデータに変換する。
【0021】
111は映像や音声を出力するTVである。TV111は、パーソナルコンピュータ向けの高解像度のディスプレイや携帯端末向けなど低解像度のディスプレイ、ブラウン管や液晶ディスプレイ、カラーモニター、白黒モニターなどでもよい。112は出力部で、TV111で表示する機能メニューや動作モードおよび、符号化された動画データを復号し映像や音声信号を出力する。
【0022】
113はフロッピーディスクやCD−ROMなどのリムーバブルディスクドライブ(FDD)であり、後述するアプリケーションプログラム媒体からの読み出しなどに用いられる。114はネットワークインターフェイス(NeT−I/F)であり、後述するインターネットなどのネットワークシステムとのデータ転送を行う為のデータ制御や診断を行う。115は上述した各ユニット間を接続する為のI/Oバス(アドレスバス、データバスおよび制御バス)である。
【0023】
[リモコンの構成例:図2]
図2はリモコン109の概観を示すものである。
【0024】
201はメニューボタンでメニューボタン201を押下すると、ビデオ操作以外の比較的使用頻度の低い機能の階層化された一覧がTV111上に表示される。202はカーソル移動ボタンで、TV111上に表示される注目点をそれぞれの方向に移動する。203は実行ボタンで、カーソルのあるアイテムを指定したり、操作遷移を進めるものである。204は取消ボタンで、実行ボタン203による指定をキャンセルしたり、操作遷移を前の状態に戻すものである。
【0025】
205はビデオ操作ボタンで、それぞれ、早戻し、再生、早回し、録画、ポーズ、停止を指示するものである。ここで、ダビングをするには、録画と再生ボタンを押下する。なお、ビデオ操作ボタンは、動画蓄積装置100の操作のほか、IEEE1394インターフェース106を通してビデオカメラ105にビデオ操作制御コマンドを送ることでビデオカメラ105を操作することも可能である。動画蓄積装置100またはビデオカメラ105のどちらを操作するかはターゲットデバイスモードの状態による。例えば、ターゲットデバイスモードを再生側に設定すれば、ビデオカメラ105に搭載されたソースメディアに記憶された動画データを動画蓄積装置100に転送することができる。206は電源ボタンであり、動画蓄積装置100の電源のON/OFFを行う。
【0026】
リモコン109を用いて機能を実行する場合には、メニューボタン201を押下し、TV111に表示される階層化された機能一覧からカーソル移動ボタンにより注目点を移動することで機能を選択し、実行ボタン203を押下することで機能コマンドが発生し実行される。操作パネル107にもリモコンと同等のボタンやリモコンで選択可能な機能を割り当てたボタンやつまみが配置されている。
【0027】
なお機能コマンドの入力部としてはリモコン109や操作パネル107の各ボタンなどのほかに、パソコンのキーボードやマウスのような入力部によって構成してもよく、より多くのボタンを配し、携帯性には劣るが操作性を向上した操作盤によって構成してもよい。
【0028】
[動画データの構成例:図3]
次に記憶媒体に記憶される動画データの例を図3に示す。
【0029】
動画データは主に動画ファイル301(図3(a))とプレイリストファイル302(図3(b))の2種類のファイルで構成される。動画ファイル301は本実施形態ではMPEG2規格のトランスポートストリーム形式によって映像(Video)、音声(Audio)、付属情報が多重化されたファイルとして記憶されている。なお、動画ファイル301の形式はMPEG2に限ったものではなく、DVやその他の形式であってもよい。
【0030】
(動画ファイル:図3(a))
動画ファイルは、トランスポートストリーム形式の場合には連続した固定長のTSパケットで構成され、各TSパケットのヘッダには本体データの種別をあらわす識別情報やクロック情報が含まれ、識別情報によって、映像(Video)、音声(Audio)、付属情報、またその他に、動画再生手段が追加した独自のデータを識別し、分離することができる。
【0031】
この動画ファイル301は、ビデオカメラ105において録画が開始されるたびに作成され、原則として1ショットが1動画ファイルに対応する。後に編集などの処理を行った場合は1ショットが複数の動画ファイルで構成され、プレイリストファイル302により再生方法が定義される。動画ファイルのファイル名は、例えば、録画が開始された日付と時間から決められる。一例を示せば、20010523201595.MP2のように付けられる。ただし、以下の動作説明の図面においては、ファイル名を簡略して説明するため、桁数の少ない数字をファイル名として用いて表現している。
【0032】
映像(VIDEO)、音声(AUDIO)には同期を取る為にそれぞれタイムスタンプ情報が格納されている。
【0033】
付属情報のうちで、動画ファイル全体に関する付属情報は、動画ファイルの先頭部分および末尾部分に配置され、画像フレームや任意の区間に関する情報である付属情報は、対応する映像や音声の近傍に配置される様に多重化される。当然の事ながら一部またはすべてを動画ファイルとは独立したファイルとして配置してもよい。
【0034】
動画ファイル全体に関する付属情報には、例えば、動画の再生にかかる時間、撮影日時、撮影時のAEモード、などカメラの撮影状態を示すデータが格納される。各フレームに関する付属情報には、撮影時の絞り、シャッタースピード、ピントなどのリアルタイムに変動するカメラの撮影状態を示すデータが格納される。また、複数の動画ファイルを対象とした付属情報としてプレイリストや欠損情報リストがある。
【0035】
なお付属情報の符号化形式は、それぞれのビットに意味を定義したバイナリデータでもよく、テキストデータでもよい。テキストデータの場合は、XML形式の独自の型定義によって表現してもよく、MPEG7規格にに準拠する型定義を用いて表現してもよい。
【0036】
(プレイリストファイル:図3(b))
プレイリストファイル302は、1つまたは複数の動画ファイルの任意の範囲または全部を指定したリストであり、動画再生処理は、このリストに従って動画をシームレスに再生することが可能である。
【0037】
プレイリストファイル302に格納するデータの内容は本実施形態では動画ファイル名、開始タイム、終了タイムからなるリストである。タイムは時:分:秒:フレーム番号の形式で格納される。なお動画区間が特定できる情報であれば、開始タイム、終了タイムの代わりに、クロック情報や、ファイルオフセット、記憶媒体上の物理的、論理的な位置情報を用いてもよい。
【0038】
[動画蓄積処理のメイン動作手順例:図4]
図4は、本実施形態の動画蓄積装置100において、本体の電源を投入してからCPU101がRAM103を用いてROM102に格納された動画蓄積処理の制御プログラムを実行するフローを示している。また、図7は、例えばソースメディア上の動画データ一覧の一例を示すものである。
【0039】
なお、以下の説明では、ビデオカメラ105に搭載されているソースメディア(第1記憶媒体)に記憶されている動画データを動画蓄積装置100のハードディスク104(第2記憶媒体)にダビング(キャプチャ)する例を用いて説明する。
【0040】
以下、図4に基づいて制御プログラムを実行するフローを詳細に説明する。
【0041】
電源を投入すると、ステップS401に進み、各種インターフェースの初期化などのシステムの初期化を行う。次に、ステップS402に進み、操作パネル114またはリモコン109からコマンドが入力されたか否かを調べ、コマンドが入力された場合にはステップS403に進み、入力されたコマンドの識別をし、入力されたコマンドに応じて、ステップS404、ステップS407、ステップS410またはステップS409の各処理を行う。
【0042】
(キャプチャ開始コマンド処理)
まずステップS403のコマンドの識別で、入力されたコマンドがソースメディア(第1記憶媒体)から第2記憶媒体にダビングを開始するためのキャプチャ開始コマンドであった場合(例えば、図2の録画が押された場合)には、ステップS404〜S406でダビング開始の準備処理を行う。
【0043】
すなわち、まず、ステップS404に進み、キャプチャモード中であることを示すフラグをONにする。このフラグを参照することにより、以降の処理でキャプチャモード処理を行う。次にステップS405に進み、ターゲットデバイスモードを再生側すなわちビデオカメラに設定する。以降の操作パネル107やリモコン109からのビデオ操作は再生側であるビデオカメラ105を操作するようになる。
【0044】
次にステップS406に進み、再生側のビデオカメラ105に装着されたソースメディア(第1記憶媒体)からメディア情報を取得する。ただし、転送元であるソースメディアのすべての情報を入手することは転送時間の制約から不可能なので、ここでは、動画ファイルの全リスト(図7の(a)参照)、動画ファイルの先頭、末尾に含まれる付属情報、およびプレイリストファイル(図7の(b)参照)の内容をハードディスク104(第2記憶媒体)に転送する。尚、この場合は、ダビング停止後の再開時には、ステップS406は実行されない。あるいは、ステップS406では、最初は動画ファイルの全リストとプレイリストファイルと、最初の動画ファイルの先頭、末尾に含まれる付属情報を取得し、再開時にはその時点の動画ファイルの先頭、末尾に含まれる付属情報を取得するようにしてもよい。これらは、転送時間の制約から選択される。
【0045】
次に、ステップS402に戻り、次のコマンドの入力があるまで待機する。
【0046】
(ソースメディアの動画データ一覧:図7)
なお、図7は、ステップS406において、ソースメディア(第1記憶媒体)から取得され、ハードディスク104に蓄積される情報の例である。図中、701はソースメディアに格納されているファイルの一覧である。拡張子が「.mp2」であるものが動画ファイルであり、拡張子が「.lst」であるものがプレイリストファイルである。また702は、プレイリストファイルの内容例を示すものである。
【0047】
(通常再生コマンド処理)
一方、ステップS403の入力されたコマンド識別で、入力されたコマンドが通常再生開始コマンドだった場合(図2の再生が押された場合)には、ステップS407に進み、キャプチャモードを調べる。
【0048】
次に、ステップS407において、キャプチャモードがONでなかった場合には、何もしないでステップS409に進み、キャプチャモードがONであった場合は、ステップS408でキャプチャ開始処理をしてからステップS409に進んで再生処理をスタートさせてから、ステップS402に戻り、次のコマンドの入力があるまで待機する。
【0049】
なおステップS408におけるキャプチャ開始処理は以下の通りである。まず、キャプチャ開始処理は受け側のハードディスク104(第2記憶媒体)に動画ファイルを作成し、IEEE1394インターフェースから受信する動画データをハードディスク104にダビング可能な状態にして、図9で後述するキャプチャ済みリストに新たなファイル名とキャプチャ開始時間を追加する。ダビング可能な状態となったら再生側のビデオカメラ105に再生コマンドを送りビデオカメラ105のソースメディア(第1記憶媒体)の動画データのダビング(キャプチャ)を開始する。
【0050】
なお、キャプチャしたデータの動画ファイルへの書き込みは論理的なデータのまとまりを単位として行う。これについて詳細は後述するが、まとまりが完成するまではRAM103に一時的に蓄積しておく。キャプチャが中断したときにデータがまとまりの途中で切れた状態のままハードディスクに蓄積することがない様にする。また記憶する動画ファイルは、再生側の動画ファイルが切り替わる箇所で一旦クローズし、再生側と同様に新しい動画ファイルに切り替える。記憶するファイル名は再生側のファイル名の後に連番を付けたものとし、記憶した動画ファイル名から再生側の動画ファイル名が機械的に特定できる様にする。
【0051】
従って、新しい動画ファイルに切り替える時点(例えば、図8のP2やP3)で、キャプチャ済みリストの最後のファイルの長さが記入され、キャプチャ済みリストに新たなファイル名が開始時間(0)と共に追加される。
【0052】
(トリックプレイ開始コマンド等の処理)
一方、ステップS403のコマンド評価で入力されたコマンドが早回し、早戻し等のトリックプレイ開始コマンド、停止コマンド、ポーズコマンド、ソースメディアイジェクトコマンド、電源OFFコマンドなどの正常なダビングができないコマンドであった場合は、ステップS410に進む。
【0053】
ステップS410において、キャプチャモードを調べ、キャプチャモードがONでなかった場合には何もしないでステップS414に進み、キャプチャモードがONであった場合は、ステップS411〜S413の処理をしてからステップS414に進む。ステップS414では、各々のコマンド処理を開始させてからステップS402に戻り、次のコマンドの入力があるまで待機する。
【0054】
なおステップS411〜ステップS413の処理は以下の通りである。
【0055】
すなわち、キャプチャモードがONであった場合は、ステップS411でキャプチャ処理を終了し、動画ファイルをクローズする。このキャプチャの終了処理では、RAM103に残っているハードディスクにダビングする前の不完全な動画データのまとまりは破棄して、ステップS408あるいは動画ファイルが切り替わった時点で、新たに追加したキャプチャ済みリストのファイルに長さを記入する。次に、ステップS412で、欠損リストの作成処理を行う。なおこの欠損リストの作成処理は、図5を用いて詳細に説明するのでここでの説明は省略する。次にステップS413で、キャプチャモード中を示すフラグをOFFにする。
【0056】
(その他のコマンドの処理)
一方、ステップS403のコマンド評価で入力されたコマンドがその他のコマンドであった場合は、何もしないでステップS415に進み、入力されたコマンドの処理を行ってからステップS402に戻り、次のコマンドの入力があるまで待機する。
【0057】
尚、上記図4の処理例では、欠損リストの作成・更新をダビング停止時に行うように説明したが、ダビング再開時にも欠損リストを更新するように制御してもよく、図4の簡単な修正、例えばステップS408のキャプチャ開始処理で欠損リストの更新を行うことにより実現される。又、停止ボタンなどが押されない間は、ポーズやトリックプレイを終了するとダビングを自動的に再開するよう制御してもよく、この場合にはキャプチャフラグのON/OFFの手順の変更、例えば、図4のステップS413のキャプチャフラグOFFの処理をポーズやトリックプレイ開始などでは行なわず、ポーズやトリックプレイ終了時にはキャプチャフラグONのまま通常再生を開始するようにすればよい。
【0058】
[欠損リスト作成処理の動作手順例:図5]
次に、図4のステップS412の欠損リスト作成処理について詳細に説明する。図5は欠損リスト作成処理を示したフローチャートである。
【0059】
はじめに、図5の欠損リスト作成処理の概要を説明すると、欠損リスト作成処理とは、再生側のビデオカメラ105に装着されたソースメディア(第1記憶媒体)から動画蓄積装置100のハードディスク104(第2記憶媒体)へ動画データをダビング中に、再生側のビデオカメラ105を早回ししたり、早戻ししたり、再生を停止したりするなどの正常なダビングが出来ない各種操作が行なわれた場合に、それらの操作中は、ハードディスク104への動画データのダビングを中断し、さらにダビングを中断した部分(未ダビング部分)が分かるようにダビング情報をハードディスク104へ記憶すると共に、処理負荷が低い状態、例えば停止やポーズなどの場合は、未ダビング部分をハードディスク104へ記憶されたダビング情報に基づいてダビングする処理である。
【0060】
以下、図5のフローチャートに基づいて、欠損リスト作成処理を詳細に説明する。
【0061】
まず、欠損リスト作成処理が開始すると、ステップS501に進み、キャプチャ開始時にソースメディアから取得したプレイリストファイル(図7参照)と、ソースメディア情報、すなわち、トリック処理が行われた場合にハードディスク104に蓄積されたキャプチャ済み区間のリスト(図9や図12参照)との内容を比較する。
【0062】
次に、ステップS502に進み、作成されたキャプチャ済み区間のリストとソースメディアから取得した動画ファイル一覧とから欠損リスト(図10や図13参照)を作成し、RAM103またはハードディスク104に記憶する。
【0063】
次に、ステップS503に進み、プレイリストファイルとキャプチャ済み区間のリストと欠損リストとから新プレイリストファイルを作成し、RAM103またはハードディスク104に新プレイリストファイルを記憶する。新プレイリストファイルの各要素は、キャプチャ済みと欠損部分の境界で分割され、キャプチャ済みか否かが判別できるような属性を持たせて作成され、保存される。
【0064】
次に、ステップS504に進み、欠損リストを用いた再キャプチャ処理が可能かどうか(処理負荷が低い状態か否か)を調べ、再キャプチャ処理が可能でない場合にはリターンし、再キャプチャ処理が可能な場合には、ステップS505に進み、図6を用いて詳細を説明する再キャプチャ処理をしてからリターンする。
[欠損リスト作成処理の具体例:図8〜図14]
図8〜図14は、ビデオカメラ105と動画蓄積装置100を用いて、ビデオカメラ105のソースメディア(第1記録媒体)から動画蓄積装置100のハードディスク104(第2記録媒体)にダビングしている際に、トリック処理を行ったために正常なダビングができないで未ダビング部が生じる場合の一例を具体的に説明するための図である。なおトリック処理は図8に限ることはなく、他の場合であっても良い。
【0065】
図8は、トリック処理の一例として、通常再生でダビングしている際に早送りすなわち高速再生(トリックモードの処理)を行い、次に、通常再生に戻してダビングし、さらに、再生停止(トリックモードの処理)を行った場合を例にとり、ダビングできた部分、ダビングできなかった未ダビング部分(欠損部分)のデータを具体的に示している。
【0066】
シーケンス2の再生途中P2−1〜P2−2の区間において、高速再生(早送り:トリックモード処理)を行い、シーケンス3の再生中P3−1のタイミングで再生を停止(トリックモードの処理)したことを示す。しかしながら、動画データの復号化には遅延が発生し、また動画を安定的に再生する為に、通常、転送するデータは表示する時間より先行している為、実際の操作とデータ上では若干の差が発生する。そこでP2−1、P2−2、及びP3−1に対応する境界をそれぞれP2−1’、P2−2’、及びP3−1’としている。
【0067】
なおトリックモードか否かを判定する方法としては、転送される動画データには、TSパケットのヘッダ情報内にトリックモードか否かが分かるフラグがあり、これを参照することで対応する境界を判断することができる。なおトリックモードの判定はこれに限ったものではなく、例えば、動画データ中に独自のデータ形式によってトリックモードが判別できる情報を挿入してもよい。また、リモコン109や操作パネル107などの入力部からのトリックプレイ操作に基づいて判定してもよい。
【0068】
(図8の(P2−1)時点で早送りを開始した場合:図9〜図11)
図9は、図8の(P2−1)時点で早送りを行った場合のキャプチャ(ダビング)済み区間のリストの内容を示す図であり、図10は、その時点で作成される欠損リスト(未ダビング部分)を示す図であり、図11は、その時点で更新されるプレイリストの内容を示した図である。
【0069】
まず、早送りによって作成されたキャプチャ済み区間のリスト(図9)をプレイリストファイル(図7)と比較して(S501)、欠損リスト(図10)を作成して記録する(S502)。早送りによって作成されたキャプチャ済み区間のリスト(図9)、欠損リスト(図10)、プレイリストファイル(図7)から新プレイリストファイル(図11)を作成して記録する(S503)。
【0070】
(図8の(P2−2)時点で早送りを停止してダビングを再開した場合)
図示しないが、図9の3行目に図12の3行目の開始時間のみが記入されて付加され、キャプチャ済み区間のリストが更新される(S408)。
【0071】
(図8の(P3−1)時点で停止した場合:図12〜図14)
P1〜P2−1’、及びP2−2’〜P3−1’の区間における動画のキャプチャが完了すると、キャプチャ完了した区間とソースメディア上の動画ファイルを対応づけたキャプチャ済み区間のリストを作成できる。これが図12である。キャプチャ中にこのリストを参照することにより、重複してキャプチャすることを防ぐことができる。キャプチャ済み区間のリスト(図12)と図7に示したソースメディア上の情報から欠損リストが作成できる。これが図13である。なお、図12のキャプチャ済み区間のリスト、および図13の欠損リストにおいて、開始、長さの項目に式等が用いられているが、実際はこの数式と等価な値が時:分:秒:フレーム番号の形式で格納される。
【0072】
まず、再生停止によって作成されるキャプチャ済み区間のリスト(図12)をプレイリストファイル(図7)と比較する(S501)。次に、キャプチャ済み区間のリスト(図12)とプレイリストファイル(図7)から欠損リスト(図13)を更新する(S502)。再生停止によって作成されたキャプチャ済み区間のリスト(図12)、欠損リスト(図13)、プレイリストファイル(図7)から新プレイリストファイル(図14)を更新する(S503)。
【0073】
尚、上記欠損リストの内容は独自フォーマットの形式のバイナリ形式でもよいし、可読性のあるテキスト形式でもよい。テキスト形式の場合は、MPEG7に準拠させてもよい。また欠損情報はキャプチャ済み情報とソースメディア上の情報から生成できるのでキャプチャ済み情報を記憶してもよい。
【0074】
(MPEG7インスタンスの例:図15)
図15はMPEG7に準拠させた場合のMPEG7インスタンスの例である。これにはキャプチャ済みの動画について、複製されたものであるという情報と、キャプチャされたファイルのコピー元となったオリジナルの動画ファイルと、その中のどの区間であるかを特定可能な情報などを格納している。このような情報をキャプチャ済みの動画ごとに付与して、複製情報を記憶する。
【0075】
[欠損リストに基づいた再キャプチャ処理:図6]
次に図6を用いて欠損リストの再キャプチャ処理スレッドについて説明する。以下の説明では、図13の欠損リストを一例として説明するが、プレイリストを用いても同様の処理ができる。
【0076】
この欠損リストの再キャプチャ処理は、ビデオカメラ105のソースメディア(第1記憶媒体)からハードディスク104(第2記憶媒体)にダビングする際に、トリックプレイ処理の操作によってダビングされていない部分があると、システムおよびビデオカメラ105が停止、ポーズ状態のようなアイドリング中で、IEEE1394インターフェース上の使用帯域にも余裕があるときに、上記説明した欠損リスト(例えば、図13)に基づいて未ダビング部分をソースメディアからハードディスク104に再ダビングするものである。
【0077】
処理が開始すると、ステップS601に進み、欠損リストの先頭の要素へポインタを設定する(図13の場合は、ファイル002.mp2の{(P2−1’)−P2})。次にステップS602に進み、欠損開始点へシークする。シークする位置は、キャプチャ済みの動画区間のファイルサイズからおおよその位置を求め、そこから1フレームのデータの先頭を含むパケット単位で前後に移動し、パケットのヘッダに格納されたクロック情報を参照することで、正確な位置を求める。次にステップS603に進み、ソースメディア中の動画ファイル(図13の例では、ファイル002.mp2の{(P2−1’)−P2}から)のデータをブロック転送し、ハードディスク104に蓄積(ダビング)する。次に、ステップS604に進み、転送されるデータ中のパケットのヘッダに格納されたクロック情報を参照して、欠損終了時間(図13の場合は、ファイル002.mp2の{(P2−2’)−P2}まで)であるか判断する。まだ欠損終了時間に達していない場合はステップS603に戻りブロック転送を繰り返す。なお、本実施形態では各欠損情報につき1つの動画ファイルをハードディスク104に作成する。
【0078】
次に、1つの欠損リストについて転送が終了したら、ステップS605に進み、欠損リストから転送済みの欠損リストを削除する(図16に、図13からファイル002.mp2が削除された例を示す)。次にステップS606に進み、プレイリストファイルを更新する。すなわち、すべてのプレイリストファイルから転送済みの動画データについてキャプチャ済みフラグを操作し、プレイリストファイル中の隣り合うシーケンス番号の動画内容がキャプチャ済みで連続している場合は1つに統合する(図17に、ファイル002.mp2のダビングが完了した時のプレイリストファイルの更新の例を示す)。
【0079】
次にステップS607に進み、次の欠損情報(本例では、ファイル003.mp2の欠損情報)へポインタを進める。次にステップS608に進み、欠損リストをすべて処理したか判断し、まだ欠損情報が残っている場合はステップS602に戻り、上記説明したステップS602〜ステップS607までの処理を繰り返し行い、ステップS608において、全ての欠損情報を処理した場合にはステップS609に進み一連の処理を終了する。
【0080】
上記説明した実施形態において、複製した動画をトリックプレイなどを区切りに別の動画ファイルとして蓄積したが、再生側と複製側のファイルが1対1で対応するような動画ファイル構成とし、複製が完了していないファイル上のデータ領域は無効なデータであってもよい。
【0081】
これを実現するには記憶するファイルと再生側の動画ファイルのバイトオフセットを同期させる必要がある。記憶するファイルと再生側の動画ファイルのバイトオフセットを同期させる方法の一例について説明する。
【0082】
バイトオフセットを同期させることにより、キャプチャが欠損なく完全に終了した時点で再生側と記録側の動画ファイルのサイズは一致するようになる。通常、動画再生中に送受信される動画データには再生する動画ファイルに格納されているTSパケットの他に、転送中の動画データの時間情報とそれを表示すべき時間に大きなずれが表示した場合に時間調節の為に使われる空のTSパケットや、転送回線が機能していることを示す一定間隔で発生するTSパケットなどが多重化されている。
【0083】
これらのデータの種類を示す識別子はTSパケットヘッダに格納されているので、これを参照して必要なTSパケットを抽出して記憶している。また、通常、動画再生中に送受信される動画データにはファイル上のバイトオフセットを示す情報はなく、受信されたデータから抽出した動画データのTSパケットをそのまま追記記憶したのでは、例えばトリックプレイなどの操作を行った時点で、再生側と記録側でバイトオフセットがずれてしまい、同期が取れなくなってしまう。
【0084】
そこで、動画再生手段は、送出する動画データのファイルを記録する為のファイル名と、ファイル中のバイトオフセット情報を格納したTSパケットを一定の時間間隔で定期的に挿入し、またプレイリスト上の各要素の境界点で発生する非連続点でも挿入し送出する。これを、受信側で参照することで記録側のファイルは再生側とバイトオフセットを同期させることができる。
【0085】
本実施形態ではMPEG2規格に準じた例を示したが、独自に拡張した形式で同期情報を転送してもよい。DV形式のデータにおいては、例えば、動画データ中にはタイムコードが格納されているので、タイムコードとバイトオフセットの対応関係を示した情報を転送すればよい。転送方法に関しては動画データに挿入、多重化する方法や、動画データとは別のチャンネルでファイル転送などによって転送すればよい。
【0086】
上記実施形態においては、プログラムをROMに保持する場合について説明したが、これに限定されるものではなく、任意の記憶媒体を用いて実現してもよい。また、同様の動作をする回路で実現してもよい。
【0087】
なお、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0088】
プログラムコードを供給する為の記憶媒体としては、例えば、フロッピーディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW,DVD,磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0089】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0090】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが、実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0091】
本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した(図4〜図6に示す)フローチャートに対応するプログラムコードが格納されることになる。
【0092】
また、上述した実施形態では、動画蓄積装置自体について説明したが、複数の装置をインターネットなどのネットワークへ接続する場合に適用可能であることは言うまでもない。この時、通信コストの高い、動画データなどを光ディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW,DVD,磁気テープ、不揮発性のメモリカード、ROMなどのメディアを使ってオフラインで供給しておき、供給済みのデータはネットワークを経由しないで利用できるようにしてもよい。
【0093】
以上説明したように、本発明の動画蓄積装置は、ビデオカメラ等で撮影されてソースメディア(第1記憶媒体)に記憶されている動画を動画蓄積装置のハードディスク(第2記憶媒体)にダビングする途中で、ユーザがビデオカメラの早回しなどのトリックプレイ等を行っても、ダビングした部分とダビングできなかった部分を記載したプレイリストを作成しハードディスクに保持しておくことにより、ユーザがトリックプレイ等を制限無く行うことができる。
【0094】
【発明の効果】
以上説明したように、本発明によれば、例えば、家庭用のビデオカメラなどで撮影され記憶媒体に記憶されている動画などを動画蓄積装置の記憶媒体に転送する際に、転送中に再生側(ビデオカメラ側)における早回しや早戻しなどトリックプレイや再生の一時停止などの操作を制限することなく行うことができる動画蓄積方法および動画蓄積装置を提供できる。
【図面の簡単な説明】
【図1】本実施形態の動画蓄積装置のハードウェア構成の一例を示すブロック図である。
【図2】本実施形態の動画蓄積装置に用いられるリモコンの概観の一例を示す図である。
【図3】本実施形態の動画蓄積装置の記憶媒体に記憶される動画データの一例を示す図である。
【図4】本実施形態の動画蓄積装置のROMに記憶された制御プログラムによる処理手順を示すフローチャートである。
【図5】図4の制御プログラムにおけるS412の欠損リスト作成処理の詳細を示すフローチャートである。
【図6】図5の欠損リスト作成処理におけるS505の欠損リストの再キャプチャ処理スレッドの処理の詳細を示すフローチャートである。
【図7】本実施形態の動画蓄積装置に接続される再生元であるビデオカメラのソースメディア(第1の記憶媒体)に蓄積された動画データの内容の一例を示す図である。
【図8】本実施形態の動画蓄積装置におけるダビング中の操作の一例(ダビング→早送り→ダビング→停止)とその際に動画蓄積装置にダビングされるデータの範囲を説明する図である。
【図9】図8の(P2−1)時点での早送り開始におけるキャプチャ済み区間のリストの内容を説明する図である。
【図10】図8の(P2−1)時点での早送り開始において得られる欠損リストの一例を示す図である。
【図11】図8の(P2−1)時点での早送り開始において得られるプレイリストの内容を示した図である。
【図12】図8の(P3−1)時点での再生停止におけるキャプチャ済み区間のリストの内容を説明する図である。
【図13】図8の(P3−1)時点での再生停止において得られる欠損リスト(未ダビング部分)の一例を示す図である。
【図14】図8の(P3−1)時点での再生停止において得られる新プレイリストの内容を示した図である。
【図15】本実施形態の動画蓄積装置において、ダビング済みの情報をMPEG7準拠の形式で記憶する場合のインスタンス例を示した図である。
【図16】本実施形態の動画蓄積装置における欠損リストの更新前と更新後の一例を説明する図である。
【図17】本実施形態の動画蓄積装置におけるプレイリストの更新前と更新後の一例を説明する図である。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a moving image storage device for reproducing video and audio transferred from another storage medium, a moving image storage method, a control program for the moving image storage device, and a computer-readable storage medium storing the control program.
[0002]
[Prior art]
In recent years, with the increase in capacity and speed of hard disks, and advances in computer technology, it has become possible to store and play moving images on hard disks. For example, a hard disk recorder capable of recording (dubbing) video shot by a home video camera or broadcast video on a hard disk and reproducing the dubbed video has become feasible.
[0003]
By the way, in the past, in general homes, when shooting with a video camera in order to memorize trips, events, and the like, in many cases, it is often played back only on the day of shooting and rarely seen. The reason for this is that replacement of photographed media is troublesome, or deterioration of the storage medium due to repeated reproduction is a concern. However, if there is a moving image storage device such as the above hard disk recorder, for example, if dubbing to the hard disk recorder while playing the video taken by the video camera on the same day, it is not necessary to replace the media at a later date, It is possible to reproduce a moving image of a video freely taken from a desired place without worrying about deterioration of the storage medium due to repeated reproduction, and the above problem can be solved.
[0004]
However, in a conventional hard disk recorder, for example, while dubbing a video shot by a video camera to data on a hard disk, it is necessary to continuously play back the video shot by the video camera. Also, if you stop playback midway, replace the storage medium attached to the video camera, or perform trick play such as fast-turning, the dubbing of the video will end at that point, or the stopped video The problem was that the video itself that had been quickly turned was dubbed.
[0005]
For example, Japanese Patent Application Laid-Open No. 2000-306368 discloses that video information is dubbed only at 1 × speed reproduction, and video reproduced at high speed is not a target of dubbing. When the tape was rewound, the same video was dubbed twice.
[0006]
Therefore, a moving image storage device capable of dubbing without restricting trick play such as stopping or prematurely playing back a reproduction side while dubbing a moving image to the moving image storage device has been proposed. For example, according to Japanese Patent Application Laid-Open No. 5-89644, in video editing, during an editing operation, an output video signal of a reproduction VTR is dubbed and stored in a video signal storage device that can be randomly accessed. By playing from the random access storage device, the user can significantly reduce the waiting time for playing.
[0007]
[Problems to be solved by the invention]
However, Japanese Patent Application Laid-Open No. 5-89644 can reduce the waiting time when performing reproduction after dubbing, but does not reduce the restriction on user operations during dubbing.
[0008]
Furthermore, when dubbing a moving image to the moving image storage device, there is a moving image storage device that can perform dubbing without restricting a trick play such as an operation performed on a reproduction side device, for example, stopping a reproduction or a quick turn. When dubbing is performed with such a moving image storage device, when playing back a dubbed moving image, the reproduced image has a section where dubbing has been completed and an incomplete section, and is reproduced by skipping the uncompleted section. It was unpleasant to watch because there was no connection between the stories.
[0009]
Therefore, the present invention has been made to solve the above-mentioned problems of the conventional art as a starting point, and has as its object, for example, a method in which a moving image taken by a home video camera or the like and stored in its storage medium is stored. When transferring to a storage medium in a moving image storage device, during transfer, operations such as trick play such as fast-forwarding and fast-returning on a playback side (for example, a video camera) and operations such as pause of playback are performed without restriction. It is an object of the present invention to provide a moving image storage device and a moving image storage device that can perform the operation.
[0010]
[Means for Solving the Problems]
A moving image storage method according to an embodiment of the present invention for achieving the above object has the following configuration. That is, when transferring the moving image data stored in the first storage medium to the second storage medium, if it is determined that normal transfer cannot be performed during the transfer, the transfer is stopped and the transfer is stopped. The information indicating the untransferred portion is retained, and the untransferred portion is transferred based on the information while determining that the transfer is possible.
[0011]
Here, when it is determined that the normal transfer cannot be performed, the transfer is not the 1 × speed transfer, and includes trick play start, stop, pause, source media eject, and power OFF such as fast-turning and fast-returning. The period during which the transfer is determined to be possible is a period during which the processing load is low, and includes a period during a stop and a pause. Further, the information indicating the untransferred part is list information of moving image data and information indicating that transfer has been completed, or information indicating that transfer has not been performed. The moving image data includes video data, audio data, and control information, and the information indicating the untransferred portion is added to the moving image data as the control information. Further, the first and / or second storage medium is a storage medium that can be randomly accessed.
[0012]
A moving image storage device according to an embodiment of the present invention for achieving the above object has the following configuration. That is, first transfer means for transferring moving image data stored in the first storage medium to the second storage medium, detecting means for detecting a stop condition for stopping the transfer, and detecting the transfer condition when the stop condition is detected. Control means for controlling the transfer means so as to stop, transfer state holding means for creating and holding information indicating an untransferred portion generated by the transfer stop, and while determining that transfer is possible, And a second transfer means for transferring an untransferred portion based on the information.
[0013]
A control program according to an embodiment of the present invention for achieving the above object has the following configuration. That is, the control program is a control program for controlling the moving image storage device, and determines that the first transfer module transfers the moving image data stored in the first storage medium to the second storage medium and that normal transfer cannot be performed during the transfer. In the case, a transfer stop module that stops the transfer, a transfer state holding module that creates and holds information indicating an untransferred portion that occurs due to the transfer stop, and a transfer state holding module that determines that transfer is possible. And a second transfer module for transferring the untransferred part based on the second transfer module.
[0014]
A computer-readable storage medium according to an embodiment of the present invention for achieving the above object has the following configuration. That is, a computer-readable storage medium storing a control program for controlling a moving image storage device, wherein the control program transfers a moving image data stored in a first storage medium to a second storage medium. When it is determined that normal transfer cannot be performed during the transfer, a transfer stop module that stops the transfer, a transfer state holding module that creates and holds information indicating an untransferred portion generated by the transfer stop, A second transfer module for transferring an untransferred part based on the information while determining that the transfer is possible.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a moving image storage device according to an embodiment of the present invention will be described in detail with reference to the drawings. In the following description, dubbing may be called capture.
[0016]
[Example of hardware configuration of moving image storage device: FIG. 1]
FIG. 1 shows a hardware configuration of a moving image storage device 100 according to the present embodiment. The hardware configuration of the moving image storage device 100 will be described with reference to FIG.
[0017]
Reference numeral 101 denotes a CPU, which is a central processing unit that executes a control program stored in a ROM or a RAM. A ROM 102 stores programs and data according to the present embodiment. 103 is a RAM for storing temporary data. When the purpose is temporary dubbing for editing a moving image, it can be used for storing a moving image, ancillary information, and copy information when dubbing a part of the RAM.
[0018]
Reference numeral 104 denotes a hard disk (second storage medium) that stores video, audio, and attached information. In the present embodiment, when dubbing is performed, it is used for recording a moving image, and thus may be a DVD-RAM, CD-RW, MO, other storage device, or a storage device connected to a network. 105 is a video camera. In the present embodiment, when dubbing, an AV device such as a VCR or a personal computer may be used because the connection is made for the purpose of reproducing the recorded moving image.
[0019]
Reference numeral 106 denotes an IEEE 1394 interface, which is connected to the video camera 105 and secures a band of moving image / video information and attached information from the video camera 105 to reliably input / output in real time and input control commands for operating the video camera 105. Output, the source medium (first storage medium) of the video camera 105 is ejected, the power ON / OFF state of the video camera 105, etc. can be known. It can be treated as a file, and input / output data of a list of files, attributes of files, and arbitrary positions of files can be input and output. If the purpose can be achieved, another wired interface such as USB may be used instead of the IEEE1394 interface, or a wireless interface such as 802.11 or HomeRF may be used.
[0020]
An operation panel 107 includes switches, knobs, buttons, and the like. A serial interface 108 converts a signal from the operation panel 107 into digital data that can be processed by the CPU 101. Reference numeral 109 denotes a remote controller, which transmits information of pressing a button by infrared rays. Reference numeral 110 denotes an IrDA interface that receives infrared rays transmitted from the remote controller 109 and converts the infrared rays into digital data that can be processed by the CPU 101.
[0021]
Reference numeral 111 denotes a TV that outputs video and audio. The TV 111 may be a high-resolution display for a personal computer, a low-resolution display for a portable terminal, a CRT, a liquid crystal display, a color monitor, a monochrome monitor, or the like. Reference numeral 112 denotes an output unit which decodes function menus and operation modes displayed on the TV 111 and encoded moving image data and outputs video and audio signals.
[0022]
Reference numeral 113 denotes a removable disk drive (FDD) such as a floppy disk or a CD-ROM, which is used for reading from an application program medium described later. A network interface (NeT-I / F) 114 performs data control and diagnosis for performing data transfer with a network system such as the Internet described later. Reference numeral 115 denotes an I / O bus (address bus, data bus, and control bus) for connecting the above-described units.
[0023]
[Configuration example of remote controller: FIG. 2]
FIG. 2 shows an overview of the remote controller 109.
[0024]
Reference numeral 201 denotes a menu button. When the menu button 201 is pressed, a hierarchical list of functions that are relatively infrequently used other than the video operation is displayed on the TV 111. Reference numeral 202 denotes a cursor movement button for moving a point of interest displayed on the TV 111 in each direction. Reference numeral 203 denotes an execution button for designating an item with a cursor and for performing an operation transition. Reference numeral 204 denotes a cancel button for canceling designation by the execute button 203 or returning operation transition to a previous state.
[0025]
Reference numeral 205 denotes video operation buttons for instructing fast rewind, playback, fast forward, recording, pause, and stop, respectively. Here, to perform dubbing, the recording and playback buttons are pressed. The video operation button can operate the video camera 105 by sending a video operation control command to the video camera 105 through the IEEE 1394 interface 106, in addition to the operation of the moving image storage device 100. Whether to operate the video storage device 100 or the video camera 105 depends on the state of the target device mode. For example, if the target device mode is set to the playback side, the moving image data stored in the source medium mounted on the video camera 105 can be transferred to the moving image storage device 100. A power button 206 turns on / off the power of the moving image storage device 100.
[0026]
To execute a function using the remote control 109, the user presses the menu button 201, selects a function by moving a point of interest with a cursor movement button from a hierarchical function list displayed on the TV 111, and selects an execution button. By pressing the button 203, a function command is generated and executed. The operation panel 107 is also provided with buttons and knobs to which buttons equivalent to those of the remote controller and functions which can be selected with the remote controller are assigned.
[0027]
The input section of the function command may be constituted by an input section such as a keyboard or a mouse of a personal computer in addition to the buttons of the remote controller 109 and the operation panel 107. Although it is inferior, an operation panel having improved operability may be used.
[0028]
[Configuration example of moving image data: FIG. 3]
Next, FIG. 3 shows an example of moving image data stored in a storage medium.
[0029]
The moving image data mainly includes two types of files, a moving image file 301 (FIG. 3A) and a playlist file 302 (FIG. 3B). In the present embodiment, the moving image file 301 is stored as a file in which video (Video), audio (Audio), and attached information are multiplexed in the MPEG-2 transport stream format. The format of the moving image file 301 is not limited to MPEG2, but may be DV or another format.
[0030]
(Video file: Fig. 3 (a))
In the case of the transport stream format, the moving image file is composed of continuous fixed-length TS packets, and the header of each TS packet contains identification information indicating the type of main data and clock information. (Video), audio (Audio), attached information, and other unique data added by the moving image reproducing means can be identified and separated.
[0031]
The moving image file 301 is created each time recording is started in the video camera 105, and one shot corresponds to one moving image file in principle. When processing such as editing is performed later, one shot is composed of a plurality of moving image files, and a reproduction method is defined by the playlist file 302. The file name of the moving image file is determined, for example, from the date and time when the recording was started. One example is 200105523201595. It is attached like MP2. However, in the following description of the operation description, in order to simplify the file name, numerals having a small number of digits are used as the file name.
[0032]
Video (VIDEO) and audio (AUDIO) each store time stamp information for synchronization.
[0033]
Among the additional information, the additional information relating to the entire video file is located at the beginning and end of the video file, and the additional information, which is information relating to image frames and arbitrary sections, is located near the corresponding video and audio. Multiplexed as shown. As a matter of course, some or all of them may be arranged as files independent of the moving image file.
[0034]
The auxiliary information relating to the entire moving image file stores, for example, data indicating a shooting state of the camera, such as a time required for reproducing the moving image, a shooting date and time, and an AE mode at the time of shooting. In the attached information about each frame, data indicating the shooting state of the camera that changes in real time, such as the aperture, shutter speed, and focus at the time of shooting, is stored. Further, there are a playlist and a missing information list as additional information for a plurality of moving image files.
[0035]
The encoding format of the attached information may be binary data in which the meaning of each bit is defined, or text data. In the case of text data, it may be expressed by a unique type definition in the XML format, or may be expressed using a type definition conforming to the MPEG7 standard.
[0036]
(Playlist file: FIG. 3 (b))
The playlist file 302 is a list that designates an arbitrary range or all of one or a plurality of moving image files, and the moving image reproducing process can seamlessly reproduce the moving images according to the list.
[0037]
In the present embodiment, the content of the data stored in the playlist file 302 is a list including a moving image file name, a start time, and an end time. The time is stored in the format of hour: minute: second: frame number. Note that as long as the information can identify a moving image section, clock information, a file offset, and physical and logical position information on a storage medium may be used instead of the start time and the end time.
[0038]
[Example of main operation procedure of moving image storage processing: FIG. 4]
FIG. 4 shows a flow in which the CPU 101 executes the control program of the moving image storage process stored in the ROM 102 using the RAM 103 after the power of the main body is turned on in the moving image storage device 100 of the present embodiment. FIG. 7 shows an example of a moving image data list on a source medium, for example.
[0039]
In the following description, moving image data stored on a source medium (first storage medium) mounted on the video camera 105 is dubbed (captured) on the hard disk 104 (second storage medium) of the moving image storage device 100. This will be described using an example.
[0040]
Hereinafter, the flow of executing the control program will be described in detail with reference to FIG.
[0041]
When the power is turned on, the process proceeds to step S401, and system initialization such as initialization of various interfaces is performed. Next, the process proceeds to step S402 to check whether or not a command has been input from the operation panel 114 or the remote controller 109. If the command has been input, the process proceeds to step S403 to identify the input command and determine whether the input command has been input. According to the command, each processing of step S404, step S407, step S410 or step S409 is performed.
[0042]
(Capture start command processing)
First, in the identification of the command in step S403, when the input command is a capture start command for starting dubbing from the source medium (first storage medium) to the second storage medium (for example, the recording in FIG. 2 is pressed). If it is, the dubbing start preparation process is performed in steps S404 to S406.
[0043]
That is, first, the process proceeds to step S404, and a flag indicating that the camera is in the capture mode is turned ON. By referring to this flag, the capture mode processing is performed in the subsequent processing. Next, proceeding to step S405, the target device mode is set to the reproduction side, that is, the video camera. Subsequent video operations from the operation panel 107 or the remote control 109 operate the video camera 105 on the playback side.
[0044]
Next, the process proceeds to step S406, where media information is acquired from a source medium (first storage medium) attached to the video camera 105 on the playback side. However, since it is impossible to obtain all the information of the source media that is the transfer source due to the restriction of the transfer time, here, the entire list of the video files (see (a) of FIG. 7), the beginning and the end of the video files And the contents of the playlist file (see FIG. 7B) included in the hard disk 104 (second storage medium). In this case, step S406 is not executed when dubbing is resumed. Alternatively, in step S406, first, the entire moving image file list and the playlist file and the attached information included at the beginning and end of the first moving image file are obtained, and at the time of resumption, they are included at the beginning and end of the current moving image file. You may make it acquire additional information. These are selected from transfer time constraints.
[0045]
Next, the process returns to step S402, and waits until the next command is input.
[0046]
(List of video data of source media: Fig. 7)
FIG. 7 is an example of information acquired from the source medium (first storage medium) and stored in the hard disk 104 in step S406. In the figure, reference numeral 701 denotes a list of files stored in the source medium. A file having the extension “.mp2” is a moving image file, and a file having the extension “.lst” is a playlist file. Reference numeral 702 denotes an example of the contents of a playlist file.
[0047]
(Normal playback command processing)
On the other hand, if it is determined in step S403 that the input command is the normal reproduction start command (in the case where the reproduction in FIG. 2 is pressed), the flow advances to step S407 to check the capture mode.
[0048]
Next, in step S407, if the capture mode is not ON, the process proceeds to step S409 without doing anything. If the capture mode is ON, the capture start process is performed in step S408, and the process proceeds to step S409. After proceeding to start the reproduction process, the process returns to step S402 and waits until the next command is input.
[0049]
The capture start process in step S408 is as follows. First, in the capture start processing, a moving image file is created on the receiving hard disk 104 (second storage medium), and the moving image data received from the IEEE 1394 interface is made dubbable on the hard disk 104, and a captured list described later with reference to FIG. To add a new file name and capture start time. When dubbing is possible, a playback command is sent to the video camera 105 on the playback side, and dubbing (capture) of moving image data of the source medium (first storage medium) of the video camera 105 is started.
[0050]
The writing of the captured data to the moving image file is performed in units of logical data. This will be described in detail later, but is temporarily stored in the RAM 103 until the unit is completed. When capture is interrupted, data is not stored on the hard disk in the state of being cut off in the middle. Also, the moving image file to be stored is closed once at the point where the moving image file on the reproduction side is switched, and is switched to a new moving image file in the same manner as the reproduction side. The file name to be stored is obtained by adding a serial number after the file name on the playback side, so that the video file name on the playback side can be mechanically specified from the stored video file name.
[0051]
Therefore, at the time of switching to a new moving image file (for example, P2 or P3 in FIG. 8), the length of the last file in the captured list is entered, and a new file name is added to the captured list along with the start time (0). Is done.
[0052]
(Processing of trick play start command, etc.)
On the other hand, the command input in the command evaluation in step S403 is a command that does not allow normal dubbing, such as a trick play start command such as fast reverse, a stop command, a pause command, a source media eject command, and a power OFF command. In this case, the process proceeds to step S410.
[0053]
In step S410, the capture mode is checked. If the capture mode is not ON, the process proceeds to step S414 without doing anything. If the capture mode is ON, the processes in steps S411 to S413 are performed, and then the process proceeds to step S414. Proceed to. In step S414, after each command process is started, the process returns to step S402, and waits until the next command is input.
[0054]
The processing in steps S411 to S413 is as follows.
[0055]
That is, if the capture mode is ON, the capture process ends in step S411, and the moving image file is closed. In the capture ending process, the incomplete block of moving image data before dubbing to the hard disk remaining in the RAM 103 is discarded, and the file of the newly added captured list is deleted in step S408 or when the moving image file is switched. Fill in the length. Next, in step S412, a process of creating a missing list is performed. Note that the process of creating the loss list will be described in detail with reference to FIG. 5, and a description thereof will be omitted. Next, in step S413, the flag indicating the capture mode is turned off.
[0056]
(Processing of other commands)
On the other hand, if the command input in the command evaluation in step S403 is another command, the process proceeds to step S415 without performing any processing, returns to step S402 after processing the input command, and returns to step S402. Wait for input.
[0057]
In the processing example of FIG. 4 described above, the loss list is created and updated when dubbing is stopped. However, control may be performed so that the loss list is updated even when dubbing is resumed. For example, this is realized by updating the loss list in the capture start processing in step S408. As long as the stop button or the like is not pressed, dubbing may be automatically restarted when the pause or trick play ends. In this case, the capture flag ON / OFF procedure may be changed. The process of turning off the capture flag in step S413 of step 4 is not performed at the start of pause or trick play, and normal playback may be started with the capture flag ON at the end of pause or trick play.
[0058]
[Example of operation procedure of missing list creation processing: FIG. 5]
Next, the loss list creation processing in step S412 in FIG. 4 will be described in detail. FIG. 5 is a flowchart showing the loss list creation processing.
[0059]
First, an outline of the loss list creation processing of FIG. 5 will be described. The loss list creation processing is performed by using a source medium (first storage medium) mounted on the video camera 105 on the playback side and a hard disk 104 (first storage medium) of the moving image storage device 100. (2 storage media) When dubbing of the video camera 105 on the playback side is performed during the dubbing of the moving image data to the fast-moving, fast-rewinding, or stopping the playback, etc. During these operations, dubbing of moving image data to the hard disk 104 is interrupted, dubbing information is stored in the hard disk 104 so that a portion where dubbing has been interrupted (undubbed portion) can be recognized, and the processing load is low. For example, in the case of a stop or a pause, the undubbed portion is added to the dubbing information stored in the hard disk 104. It is a process of dubbing in Zui.
[0060]
Hereinafter, the loss list creation processing will be described in detail based on the flowchart of FIG.
[0061]
First, when the loss list creation process starts, the process proceeds to step S501, where the playlist file (see FIG. 7) acquired from the source media at the start of capture and the source media information, that is, the hard disk 104 when the trick process is performed. The contents of the stored list of captured sections (see FIGS. 9 and 12) are compared.
[0062]
Next, the process proceeds to step S502, where a loss list (see FIGS. 10 and 13) is created from the created list of captured sections and the moving image file list acquired from the source medium, and stored in the RAM 103 or the hard disk 104.
[0063]
Next, the process advances to step S503 to create a new playlist file from the playlist file, the list of captured sections, and the missing list, and store the new playlist file in the RAM 103 or the hard disk 104. Each element of the new playlist file is divided at the boundary between the captured portion and the missing portion, and is created and stored with an attribute that enables determination of whether or not the captured portion has been captured.
[0064]
Next, the process proceeds to step S504 to check whether the recapture process using the missing list is possible (whether the processing load is low). If the recapture process is not possible, the process returns and the recapture process is possible. If not, the process advances to step S505 to perform a recapture process described in detail with reference to FIG. 6, and then returns.
[Specific Example of Loss List Creation Processing: FIGS. 8 to 14]
8 to 14, the video camera 105 and the moving image storage device 100 are used to dub from the source medium (first recording medium) of the video camera 105 to the hard disk 104 (second recording medium) of the moving image storage device 100. FIG. 9 is a diagram specifically illustrating an example of a case where a normal dubbing cannot be performed due to a trick process and an undubbed portion occurs. The trick process is not limited to FIG. 8, and may be other cases.
[0065]
FIG. 8 shows an example of a trick process in which fast-forwarding, that is, high-speed playback (trick mode processing) is performed during normal playback dubbing, then normal playback is resumed, dubbing is performed, and playback is stopped (trick mode). In this example, the data of the portion that was dubbed and the data of the undubbed portion (deleted portion) that was not dubbed are specifically shown.
[0066]
High-speed playback (fast-forward: trick mode processing) was performed in the section from P2-1 to P2-2 during playback of sequence 2, and playback was stopped (trickle mode processing) at the timing of P3-1 during playback of sequence 3. Is shown. However, there is a delay in the decoding of the video data, and in order to play the video stably, the data to be transferred usually precedes the display time. A difference occurs. Therefore, boundaries corresponding to P2-1, P2-2, and P3-1 are defined as P2-1 ', P2-2', and P3-1 ', respectively.
[0067]
As a method of determining whether or not the mode is the trick mode, the transferred moving image data has a flag in the header information of the TS packet that indicates whether or not the mode is the trick mode. By referring to this, the corresponding boundary is determined. can do. The determination of the trick mode is not limited to this. For example, information that can determine the trick mode by a unique data format may be inserted into the moving image data. Alternatively, the determination may be made based on a trick play operation from an input unit such as the remote controller 109 or the operation panel 107.
[0068]
(When fast-forwarding is started at (P2-1) in FIG. 8: FIGS. 9 to 11)
FIG. 9 is a diagram showing the contents of a list of captured (dubbed) sections when fast-forwarding is performed at the time (P2-1) in FIG. 8, and FIG. 10 is a diagram showing a lost list (not yet created) created at that time. FIG. 11 is a diagram showing the contents of the playlist updated at that time.
[0069]
First, the list of captured sections (FIG. 9) created by fast-forwarding is compared with the playlist file (FIG. 7) (S501), and a loss list (FIG. 10) is created and recorded (S502). A new playlist file (FIG. 11) is created and recorded from the captured section list (FIG. 9), the missing list (FIG. 10), and the playlist file (FIG. 7) created by the fast forward (S503).
[0070]
(When fast-forwarding is stopped and dubbing is restarted at the point (P2-2) in FIG. 8)
Although not shown, only the start time of the third line of FIG. 12 is entered and added to the third line of FIG. 9, and the list of captured sections is updated (S408).
[0071]
(When stopped at (P3-1) in FIG. 8: FIGS. 12 to 14)
When the capturing of the moving image in the sections P1 to P2-1 ′ and P2-2 ′ to P3-1 ′ is completed, a list of captured sections in which the captured section is associated with the moving image file on the source medium can be created. . This is shown in FIG. By referring to this list during capture, duplicate capture can be prevented. A missing list can be created from the list of captured sections (FIG. 12) and the information on the source media shown in FIG. This is shown in FIG. In the list of captured sections in FIG. 12 and the missing list in FIG. 13, expressions and the like are used for the items of start and length. Actually, values equivalent to the mathematical expressions are hours: minutes: seconds: frames. Stored in number format.
[0072]
First, the list of captured sections (FIG. 12) created by stopping the reproduction is compared with the playlist file (FIG. 7) (S501). Next, the lost list (FIG. 13) is updated from the list of captured sections (FIG. 12) and the playlist file (FIG. 7) (S502). The new playlist file (FIG. 14) is updated from the list of captured sections (FIG. 12), the missing list (FIG. 13), and the playlist file (FIG. 7) created by stopping the reproduction (S503).
[0073]
Note that the contents of the above-mentioned loss list may be in a binary format in a format of a unique format, or may be in a readable text format. In the case of a text format, it may be compliant with MPEG7. Further, since the missing information can be generated from the captured information and the information on the source medium, the captured information may be stored.
[0074]
(Example of MPEG7 instance: Fig. 15)
FIG. 15 shows an example of an MPEG7 instance in the case of conforming to MPEG7. This includes information about the captured video that was copied, the original video file from which the captured file was copied, and information that could identify which section of the video file. Stored. Such information is provided for each captured moving image, and the copy information is stored.
[0075]
[Recapture processing based on missing list: Fig. 6]
Next, the recapture processing thread of the lost list will be described with reference to FIG. In the following description, the missing list in FIG. 13 will be described as an example, but the same processing can be performed using a playlist.
[0076]
In the recapture process of the lost list, when dubbing from the source medium (first storage medium) of the video camera 105 to the hard disk 104 (second storage medium), if there is a portion that has not been dubbed by the trick play processing operation When the system and the video camera 105 are idling such as stopped and paused, and there is room in the bandwidth used on the IEEE 1394 interface, the undubbed portion is deleted based on the loss list described above (for example, FIG. 13). This is for dubbing from the source medium to the hard disk 104 again.
[0077]
When the process starts, the process proceeds to step S601, in which a pointer is set to the first element of the loss list (in the case of FIG. 13, {(P2-1 ′)-P2} of the file 002.mp2). Next, the process proceeds to step S602 to seek to the loss start point. The seek position is obtained from an approximate position based on the file size of the captured moving image section, moves forward and backward in packet units including the beginning of one frame of data, and refers to clock information stored in the header of the packet. In this way, the exact position is determined. In step S603, the data of the moving image file in the source medium (in the example of FIG. 13, from {(P2-1 ′)-P2} of the file 002.mp2) is block-transferred and stored (dubbed) on the hard disk 104. ). Next, the process proceeds to step S 604, and refers to the clock information stored in the header of the packet in the data to be transferred, and refers to the loss end time (in the case of FIG. 13, {(P2-2 ′) of the file 002.mp2). −P2}). If the loss end time has not yet been reached, the flow returns to step S603 to repeat block transfer. In this embodiment, one moving image file is created on the hard disk 104 for each missing information.
[0078]
Next, when the transfer of one defective list is completed, the process proceeds to step S605, and the transferred defective list is deleted from the defective list (FIG. 16 shows an example in which the file 002.mp2 is deleted from FIG. 13). Next, the process proceeds to step S606 to update the playlist file. That is, the captured flag is operated for the moving image data transferred from all the playlist files, and when the moving image contents of adjacent sequence numbers in the playlist file are captured and continuous, they are integrated into one (FIG. FIG. 17 shows an example of updating the playlist file when the dubbing of the file 002.mp2 is completed.)
[0079]
Next, the process proceeds to step S607, and the pointer is advanced to the next missing information (the missing information of the file 003.mp2 in this example). Next, the process proceeds to step S608, where it is determined whether or not all the missing lists have been processed. If there is still missing information, the process returns to step S602, and the above-described processes from step S602 to step S607 are repeated, and in step S608, If all the pieces of missing information have been processed, the process proceeds to step S609, and a series of processes ends.
[0080]
In the embodiment described above, the copied moving image is stored as a separate moving image file with a trick play or the like as a delimiter. The data area on the file that has not been used may be invalid data.
[0081]
To realize this, it is necessary to synchronize the byte offset between the file to be stored and the moving image file on the playback side. An example of a method for synchronizing the byte offset between the file to be stored and the moving image file on the playback side will be described.
[0082]
By synchronizing the byte offsets, the size of the moving image file on the reproducing side and the size of the moving image file on the recording side become the same when the capture is completely completed without any loss. Normally, when the moving image data transmitted / received during the moving image reproduction shows a large difference between the time information of the moving image data being transferred and the time at which it is displayed, in addition to the TS packet stored in the moving image file to be reproduced. An empty TS packet used for time adjustment, a TS packet generated at a constant interval indicating that the transfer line is functioning, and the like are multiplexed.
[0083]
Since the identifiers indicating the types of these data are stored in the TS packet header, necessary TS packets are extracted and stored with reference to the identifiers. Also, normally, there is no information indicating the byte offset on the file in the moving image data transmitted and received during the reproduction of the moving image, and if the TS packet of the moving image data extracted from the received data is additionally recorded and stored as it is, for example, trick play, etc. When the above operation is performed, the byte offset is shifted between the reproducing side and the recording side, so that synchronization cannot be achieved.
[0084]
Therefore, the moving picture reproducing means periodically inserts a file name for recording the file of the moving picture data to be transmitted and a TS packet storing the byte offset information in the file at a fixed time interval. Even non-continuous points generated at the boundary points of each element are inserted and transmitted. By referencing this on the receiving side, the file on the recording side can synchronize the byte offset with the file on the reproducing side.
[0085]
In the present embodiment, an example according to the MPEG2 standard has been described. However, the synchronization information may be transferred in a uniquely extended format. In DV format data, for example, a time code is stored in moving image data, and therefore information indicating the correspondence between the time code and the byte offset may be transferred. The transfer method may be a method of inserting and multiplexing the data in the moving image data, or a method of transferring the file on a channel different from that of the moving image data.
[0086]
In the above embodiment, the case where the program is stored in the ROM has been described. However, the present invention is not limited to this, and may be realized by using an arbitrary storage medium. Further, it may be realized by a circuit that performs the same operation.
[0087]
The present invention may be applied to a system including a plurality of devices or to an apparatus including a single device. A storage medium storing a program code of software for realizing the functions of the above-described embodiments is supplied to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus reads out the program code stored in the storage medium. Needless to say, it can also be achieved by executing. In this case, the program code itself read from the storage medium implements the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0088]
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD, magnetic tape, nonvolatile memory card, ROM, etc. Can be used.
[0089]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the OS or the like running on the computer performs actual processing based on the instructions of the program code. It goes without saying that a case where some or all of the operations are performed and the functions of the above-described embodiments are realized by the processing is also included.
[0090]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0091]
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowcharts (shown in FIGS. 4 to 6).
[0092]
Further, in the above-described embodiment, the moving image storage device itself has been described. However, it is needless to say that the present invention can be applied to a case where a plurality of devices are connected to a network such as the Internet. At this time, moving image data and the like having high communication costs can be transferred off-line using media such as optical disks, magneto-optical disks, CD-ROMs, CD-Rs, CD-RWs, DVDs, magnetic tapes, nonvolatile memory cards, and ROMs. The data may be supplied, and the supplied data may be used without passing through the network.
[0093]
As described above, the moving image storage device of the present invention dubs a moving image captured by a video camera or the like and stored in a source medium (first storage medium) to a hard disk (second storage medium) of the moving image storage device. Even if the user performs trick play, such as turning the video camera early, the user can create a playlist in which the dubbed part and the part that could not be dubbed are stored and stored in the hard disk. Etc. can be performed without limitation.
[0094]
【The invention's effect】
As described above, according to the present invention, for example, when a moving image or the like captured by a home video camera or the like and stored in a storage medium is transferred to the storage medium of the moving image storage device, the playback side It is possible to provide a moving image storage method and a moving image storage device that can perform operations such as trick play and pause of reproduction, such as fast-forward and fast-return, on the (video camera side) without restriction.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an example of a hardware configuration of a moving image storage device according to an embodiment.
FIG. 2 is a diagram illustrating an example of an overview of a remote controller used in the moving image storage device of the embodiment.
FIG. 3 is a diagram illustrating an example of moving image data stored in a storage medium of the moving image storage device of the present embodiment.
FIG. 4 is a flowchart illustrating a processing procedure according to a control program stored in a ROM of the moving image storage device of the present embodiment.
FIG. 5 is a flowchart showing details of a loss list creation process of S412 in the control program of FIG. 4;
FIG. 6 is a flowchart showing details of processing of a lost list recapture processing thread in S505 in the lost list creation processing of FIG. 5;
FIG. 7 is a diagram illustrating an example of the content of moving image data stored in a source medium (first storage medium) of a video camera that is a playback source connected to the moving image storage device of the embodiment.
FIG. 8 is a diagram illustrating an example of an operation during dubbing (dubbing → fast forward → dubbing → stop) in the moving image storage device of the embodiment and a range of data to be dubbed to the moving image storage device at that time.
FIG. 9 is a diagram illustrating the contents of a list of captured sections at the start of fast-forwarding at (P2-1) in FIG. 8;
FIG. 10 is a diagram showing an example of a loss list obtained at the start of fast-forwarding at (P2-1) in FIG.
FIG. 11 is a diagram showing the contents of a playlist obtained at the start of fast-forwarding at (P2-1) in FIG.
FIG. 12 is a diagram for explaining the contents of a list of captured sections at the time of stopping reproduction at (P3-1) in FIG. 8;
FIG. 13 is a diagram showing an example of a loss list (undubbed portion) obtained when reproduction is stopped at the point (P3-1) in FIG.
FIG. 14 is a diagram showing the contents of a new playlist obtained when reproduction is stopped at the point (P3-1) in FIG.
FIG. 15 is a diagram showing an example of an instance in the case where dubbed information is stored in a format conforming to MPEG7 in the moving image storage device of the present embodiment.
FIG. 16 is a diagram illustrating an example before and after updating of a loss list in the moving image storage device of the present embodiment.
FIG. 17 is a diagram illustrating an example of a playlist before and after updating in the moving image storage device of the embodiment.

Claims (14)

第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する場合に、
転送中に正常な転送ができないと判断する場合は、前記転送を停止し、
前記転送停止により発生する未転送部分を示す情報を保持し、
転送が可能であると判断する間、前記情報に基づいて未転送部分を転送することを特徴とする動画蓄積方法。
When the moving image data stored in the first storage medium is transferred to the second storage medium,
If it is determined that normal transfer cannot be performed during transfer, stop the transfer,
Holding information indicating an untransferred portion generated by the transfer stop,
A moving image storage method, wherein an untransferred portion is transferred based on the information while it is determined that transfer is possible.
前記正常な転送ができないと判断する場合は、1倍速転送でない場合であり、早回しや早戻し等のトリックプレイ開始、停止、ポーズ、ソースメディアイジェクト、及び電源OFFを含むことを特徴とする請求項1に記載の動画蓄積方法。The case where it is determined that the normal transfer cannot be performed is a case where the transfer is not a 1x speed transfer, and includes trick play start, stop, pause, source media eject, and power-off such as fast forward and fast reverse. Item 4. The moving image storage method according to Item 1. 前記転送が可能であると判断する間は、処理負荷が低い間であり、停止及びポーズの間を含むことを特徴とする請求項1に記載の動画蓄積方法。The moving image storage method according to claim 1, wherein the period during which the transfer is determined to be possible is a period during which the processing load is low, and includes a period during a stop and a pause. 前記未転送部分を示す情報は、動画データの一覧情報及び転送済みを示す情報、あるいは未転送を示す情報であることを特徴とする請求項1に記載の動画蓄積方法。2. The moving image storage method according to claim 1, wherein the information indicating the untransferred part is list information of moving image data, information indicating that transfer has been completed, or information indicating that transfer has not been performed. 前記動画データは、映像データと音声データと制御情報とを含み、前記未転送部分を示す情報は、該制御情報として前記動画データに付加することを特徴とする請求項1又は4に記載の動画蓄積方法。The moving image according to claim 1, wherein the moving image data includes video data, audio data, and control information, and the information indicating the untransferred portion is added to the moving image data as the control information. Accumulation method. 前記第1及び/又は第2記憶媒体は、ランダムアクセス可能な記憶媒体であることを特徴とする請求項1に記載の動画蓄積方法。The moving image storage method according to claim 1, wherein the first and / or second storage medium is a storage medium that can be randomly accessed. 第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する第1転送手段と、
前記転送を停止する停止条件を検出する検出手段と、
前記停止条件を検出すると、前記転送を停止するように前記第1転送手段を制御する制御手段と、
前記転送停止により発生する未転送部分を示す情報を作成して保持する転送状態保持手段と、
転送が可能であると判断する間、前記情報に基づいて未転送部分を転送する第2転送手段とを有することを特徴とする動画蓄積装置。
First transfer means for transferring moving image data stored in the first storage medium to the second storage medium;
Detecting means for detecting a stop condition for stopping the transfer,
Control means for controlling the first transfer means to stop the transfer when the stop condition is detected;
Transfer state holding means for creating and holding information indicating an untransferred portion generated by the transfer stop,
A moving image storage device, comprising: a second transfer unit configured to transfer an untransferred portion based on the information while determining that the transfer is possible.
前記検出手段は、1倍速転送でない場合であり、早回しや早戻し等のトリックプレイ開始、停止、ポーズ、ソースメディアイジェクト、及び電源OFFを前記転送を停止する停止条件とすることを特徴とする請求項7に記載の動画蓄積装置。The detection means is a case where the transfer is not 1 × speed transfer, and a trick play start, a stop, a pause, a source media eject, and a power supply OFF such as a quick turn or a fast reverse are set as stop conditions for stopping the transfer. The moving image storage device according to claim 7. 前記第2転送手段は、処理負荷が低い間であり、停止及びポーズの間を転送が可能であると判断する間とすることを特徴とする請求項7に記載の動画蓄積装置。8. The moving image storage device according to claim 7, wherein the second transfer unit determines that the transfer is possible while the processing load is low and the stop and the pause are determined. 前記転送状態保持手段は、前記未転送部分を示す情報として、動画データの一覧情報及び転送済みを示す情報、あるいは未転送を示す情報を保持することを特徴とする請求項7に記載の動画蓄積装置。8. The moving image storage according to claim 7, wherein the transfer state holding unit holds, as the information indicating the untransferred portion, list information of moving image data, information indicating that data has been transferred, or information indicating that data has not been transferred. apparatus. 前記動画データは、映像データと音声データと制御情報とを含み、前記転送状態保持手段は、前記未転送部分を示す情報を、該制御情報として前記動画データに付加することを特徴とする請求項7又は10に記載の動画蓄積装置。The moving image data includes video data, audio data, and control information, and the transfer state holding unit adds information indicating the untransferred portion to the moving image data as the control information. 11. The moving image storage device according to 7 or 10. 前記第1及び/又は第2記憶媒体は、ランダムアクセス可能な記憶媒体であることを特徴とする請求項7に記載の動画蓄積装置。The moving image storage device according to claim 7, wherein the first and / or second storage medium is a storage medium that can be randomly accessed. 動画蓄積装置を制御する制御プログラムであって、
第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する第1転送モジュールと、
転送中に正常な転送ができないと判断する場合は、前記転送を停止する転送停止モジュールと、
前記転送停止により発生する未転送部分を示す情報を作成して保持する転送状態保持モジュールと、
転送が可能であると判断する間、前記情報に基づいて未転送部分を転送する第2転送モジュールとを有することを特徴とする制御プログラム。
A control program for controlling a moving image storage device,
A first transfer module for transferring moving image data stored in the first storage medium to the second storage medium,
If it is determined that a normal transfer cannot be performed during the transfer, a transfer stop module that stops the transfer,
A transfer state holding module that creates and holds information indicating an untransferred part generated by the transfer stop;
A control program, comprising: a second transfer module that transfers an untransferred part based on the information while determining that transfer is possible.
動画蓄積装置を制御する制御プログラムを格納したコンピュータ可読の記憶媒体であって、
前記制御プログラムは、
第1記憶媒体に記憶されている動画データを第2記憶媒体に転送する第1転送モジュールと、
転送中に正常な転送ができないと判断する場合は、前記転送を停止する転送停止モジュールと、
前記転送停止により発生する未転送部分を示す情報を作成して保持する転送状態保持モジュールと、
転送が可能であると判断する間、前記情報に基づいて未転送部分を転送する第2転送モジュールとを有することを特徴とする記憶媒体。
A computer-readable storage medium storing a control program for controlling a moving image storage device,
The control program includes:
A first transfer module for transferring moving image data stored in the first storage medium to the second storage medium,
If it is determined that a normal transfer cannot be performed during the transfer, a transfer stop module that stops the transfer,
A transfer state holding module that creates and holds information indicating an untransferred part generated by the transfer stop;
A second transfer module for transferring an untransferred portion based on the information while determining that the transfer is possible.
JP2002190539A 2002-06-28 2002-06-28 Moving picture storage method and moving picture storage apparatus Withdrawn JP2004040183A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002190539A JP2004040183A (en) 2002-06-28 2002-06-28 Moving picture storage method and moving picture storage apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002190539A JP2004040183A (en) 2002-06-28 2002-06-28 Moving picture storage method and moving picture storage apparatus

Publications (1)

Publication Number Publication Date
JP2004040183A true JP2004040183A (en) 2004-02-05

Family

ID=31700438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002190539A Withdrawn JP2004040183A (en) 2002-06-28 2002-06-28 Moving picture storage method and moving picture storage apparatus

Country Status (1)

Country Link
JP (1) JP2004040183A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110245A (en) * 2005-10-11 2007-04-26 Canon Inc Image recorder and image recording method
JP2012038413A (en) * 2011-09-26 2012-02-23 Canon Inc Recording/reproducing device and control method for the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110245A (en) * 2005-10-11 2007-04-26 Canon Inc Image recorder and image recording method
JP2012038413A (en) * 2011-09-26 2012-02-23 Canon Inc Recording/reproducing device and control method for the same

Similar Documents

Publication Publication Date Title
JP4396878B2 (en) Method for storing content
WO2006030767A1 (en) Data processing device
JP2005530296A (en) System and method for providing a video mark for a video program
JP4542546B2 (en) Data processing device
JP2002032975A (en) Data recording device and method, data recording and reproducing device and method and disk recording medium
JP3656902B2 (en) Information recording / reproducing device
US6577805B1 (en) Picture recording and reproducing apparatus and method
US20090046175A1 (en) Image processing apparatus, imaging apparatus, image processing method, and program
WO2002058384A1 (en) Reproducing apparatus and reproducing method
US7194191B2 (en) Information recording and reproducing apparatus
JP3591443B2 (en) Program signal recording and playback device
JP4284073B2 (en) AV data recording / reproducing apparatus and method, and recording medium recorded by the AV data recording / reproducing apparatus or method
JP2004040183A (en) Moving picture storage method and moving picture storage apparatus
JP2009010839A (en) Image data reproduction apparatus and image data reproduction method
JP2004056396A (en) Moving picture storage method and moving picture storage apparatus
JP2004040181A (en) Moving picture storage method and moving picture storage apparatus
JP2004040182A (en) Moving picture storage method and moving picture storage apparatus
JP2003339019A (en) Recording and reproducing apparatus and recording and reproducing method
JP3973568B2 (en) Data processing apparatus, data reproducing apparatus, data processing method, and data reproducing method
JP2010124073A (en) Video recording apparatus and method
US20050025467A1 (en) Recording and reproducing apparatus
JP2005018912A (en) Device and method for reproducing contents
JP3922199B2 (en) Data recording / reproducing device
JP4005505B2 (en) Providing program specification information of information recording medium
JP2000350130A (en) Video recording and reproducting device and time-shift reproducting device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906