JP2008092253A - Recording and reproducing device - Google Patents
Recording and reproducing device Download PDFInfo
- Publication number
- JP2008092253A JP2008092253A JP2006270445A JP2006270445A JP2008092253A JP 2008092253 A JP2008092253 A JP 2008092253A JP 2006270445 A JP2006270445 A JP 2006270445A JP 2006270445 A JP2006270445 A JP 2006270445A JP 2008092253 A JP2008092253 A JP 2008092253A
- Authority
- JP
- Japan
- Prior art keywords
- time
- image
- audio
- recording
- time information
- 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
Landscapes
- Television Signal Processing For Recording (AREA)
- Closed-Circuit Television Systems (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
この発明は、記録再生装置に関し、特にたとえば監視カメラシステムに適用され、複数の画像フレームおよび複数の音声ブロックの記録/再生を行う、記録再生装置に関する。 The present invention relates to a recording / reproducing apparatus, and more particularly to a recording / reproducing apparatus that is applied to, for example, a surveillance camera system and records / reproduces a plurality of image frames and a plurality of audio blocks.
従来のこの種の装置の一例が、特許文献1に開示されている。この従来技術によれば、動画データはタイムコードが付加された状態でネットワークから受信され、音声データもまたタイムコードが付加された状態でネットワークから受信される。受信された動画データはフレーム・バッファを介してモニタから出力される。受信された音声データは、音声出力バッファに一時的に格納される。音声出力タイミング調整装置は、受信されたタイムコードおよび音声出力バッファの使用量情報に従い、モニタに表示するフレームに対応する音声がスピーカから出力されるように、音声出力バッファ上で無音声区間を挿入又は削除する。
しかし、従来技術では、動画データの出力タイミングがタイムコードによってのみ規定され、動画データの出力タイミングに合わせて音声データの出力タイミングが調整される。すると、動画データのフレームレートが極端に長く(たとえば1フレーム/30分)、かつ音声データが受信されない期間が間欠的に現れるような場合、同じ画像が長時間にわたって表示され続ける現象が発生する。このような現象は、操作性の点で問題がある。 However, in the prior art, the output timing of moving image data is defined only by the time code, and the output timing of audio data is adjusted according to the output timing of moving image data. Then, when the frame rate of the moving image data is extremely long (for example, 1 frame / 30 minutes) and a period in which no audio data is received appears intermittently, a phenomenon occurs in which the same image continues to be displayed for a long time. Such a phenomenon is problematic in terms of operability.
それゆえに、この発明の主たる目的は、操作性を向上させることができる、記録再生装置を提供することである。 Therefore, a main object of the present invention is to provide a recording / reproducing apparatus capable of improving operability.
請求項1の発明に従う記録再生装置(200:実施例で相当する参照符号。以下同じ)は、画像/音声の記録時刻を定義する第1時間軸に沿う第1画像時刻情報と画像/音声の作成時刻を定義する第2時間軸に沿う第2画像時刻情報とが各々に割り当てられた複数の画像フレームを記録媒体(52)に記録する第1記録手段(S5)、第1時間軸に沿う第1音声時刻情報と第2時間軸に沿う第2音声時刻情報とが各々に割り当てられた複数の音声ブロックを記録媒体に記録する第2記録手段(S11)、基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを複数の音声ブロックの中から特定する第1特定手段(S33, S35)、基準画像フレームに割り当てられた第2画像時刻情報との間で時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを第1特定手段によって特定された音声ブロック以降の音声ブロックの中から特定する第2特定手段(S39, S41, S43)、基準画像フレームに遅れる複数の画像フレームを第2画像時刻情報に基づいて記録媒体から再生する画像再生手段(S61)、画像再生手段によって再生される複数の画像フレームに関連する複数の音声ブロックを第2音声時刻情報に基づいて記録媒体から再生する音声再生手段(S51)、および音声再生手段によって再生される音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたとき基準画像フレームを再決定する再決定手段(S93)を備える。 The recording / reproducing apparatus according to the first aspect of the present invention (200: reference numeral corresponding to the embodiment; the same applies hereinafter) includes the first image time information and the image / sound along the first time axis defining the image / sound recording time. First recording means (S5) for recording on the recording medium (52) a plurality of image frames each assigned with second image time information along the second time axis defining the creation time, along the first time axis Second recording means (S11) for recording on the recording medium a plurality of audio blocks each assigned with the first audio time information and the second audio time information along the second time axis, and the second audio means assigned to the reference image frame First specifying means (S33, S35) for specifying a sound block to which a first sound time information satisfying a time condition with one image time information is assigned from a plurality of sound blocks, assigned to a reference image frame Time condition with the second image time information Second specifying means (S39, S41, S43) for specifying an audio block to which the second audio time information satisfying the condition is assigned from the audio blocks after the audio block specified by the first specifying means, as a reference image frame Image reproduction means (S61) for reproducing a plurality of delayed image frames from the recording medium based on the second image time information, and a plurality of audio blocks related to the plurality of image frames reproduced by the image reproduction means as second audio time information. Re-determination to re-determine the reference image frame when an error condition relating to continuity of the creation / recording time is satisfied for the audio block reproduced by the audio reproducing unit and the audio reproduction unit (S51) for reproducing from the recording medium based on Means (S93) are provided.
第1時間軸は画像/音声の記録時刻を定義し、第2時間軸は画像/音声の作成時刻を定義する。第1記録手段によって記録媒体に記録される複数の画像フレームの各々には、第1時間軸に沿う第1画像時刻情報と第2時間軸に沿う第2画像時刻情報とが割り当てられる。また、第2記録手段によって記録媒体に記録される複数の音声ブロックの各々には、第1時間軸に沿う第1音声時刻情報と第2時間軸に沿う第2音声時刻情報とが割り当てられる。 The first time axis defines the image / sound recording time, and the second time axis defines the image / sound creation time. First image time information along the first time axis and second image time information along the second time axis are assigned to each of the plurality of image frames recorded on the recording medium by the first recording means. Also, first audio time information along the first time axis and second audio time information along the second time axis are assigned to each of the plurality of audio blocks recorded on the recording medium by the second recording means.
第1特定手段は、基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを、複数の音声ブロックの中から特定する。第2特定手段は、基準画像フレームに割り当てられた第2画像時刻情報との間で時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを、第1特定手段によって特定された音声ブロック以降の音声ブロックの中から特定する。 The first specifying means specifies, from among the plurality of audio blocks, an audio block to which the first audio time information that satisfies the time condition is satisfied with the first image time information assigned to the reference image frame. The second specifying means specifies the audio block to which the second audio time information satisfying the time condition is satisfied with the second image time information assigned to the reference image frame, and the audio block specified by the first specifying means Specify from the following audio blocks.
画像再生手段は、基準画像フレームに遅れる複数の画像フレームを第2画像時刻情報に基づいて記録媒体から再生する。音声再生手段は、画像再生手段によって再生される複数の画像フレームに関連する複数の音声ブロックを第2音声時刻情報に基づいて記録媒体から再生する。基準画像フレームは、音声再生手段によって再生される音声ブロックについて作成時刻の連続性に関するエラー条件が満足されたとき、再決定手段によって再決定される。 The image reproducing means reproduces a plurality of image frames delayed from the reference image frame from the recording medium based on the second image time information. The audio reproduction means reproduces a plurality of audio blocks related to the plurality of image frames reproduced by the image reproduction means from the recording medium based on the second audio time information. The reference image frame is redetermined by the redetermining means when an error condition regarding continuity of creation time is satisfied for the audio block reproduced by the audio reproducing means.
このように、画像再生処理および音声再生処理は、第2時間軸に沿う時刻情報に基づいて実行される。したがって、画像と音声との間で同期を正確に確立することができる。また、音声ブロックについて作成時刻の連続性に関するエラー条件が満足されると、基準画像フレームが再決定され、第1時間軸に沿う時刻情報に基づいて画像再生処理および音声再生処理が再開される。これによって、エラー条件が満足されたときに、再決定された基準画像フレームからの同期再生を速やかに再開することができ、操作性の向上が図られる。 Thus, the image reproduction process and the audio reproduction process are executed based on the time information along the second time axis. Therefore, synchronization can be accurately established between the image and the sound. When the error condition regarding the continuity of the creation time is satisfied for the audio block, the reference image frame is re-determined, and the image reproduction process and the audio reproduction process are restarted based on the time information along the first time axis. As a result, when the error condition is satisfied, the synchronized reproduction from the re-determined reference image frame can be resumed promptly, and the operability is improved.
請求項2の発明に従う記録再生装置は、請求項1に従属し、再決定手段は画像再生手段によって今回再生された画像フレームの次の画像フレームを基準画像フレームとして決定する。エラー条件が満足されると、再生される画像フレームが次の画像フレームに更新される。 A recording / reproducing apparatus according to a second aspect of the invention is dependent on the first aspect, and the re-determination means determines the next image frame of the image frame reproduced this time by the image reproduction means as a reference image frame. When the error condition is satisfied, the reproduced image frame is updated to the next image frame.
請求項3の発明に従う記録再生装置は、請求項1または2に従属し、画像フレームおよび音声ブロックを公衆回線網を通して取り込む取込手段(30)をさらに備える。第1時間軸に沿う時刻と第2時間軸に沿う時刻のずれは、公衆回線網を介した通信を行うときに顕在化し易い。かかる場合に、第1時間軸および第2時間軸の両方に注目する意義が大きくなる。
The recording / reproducing apparatus according to the invention of
請求項4の発明に従う記録再生装置は、請求項1ないし3のいずれかに従属し、時刻条件は注目する画像時刻情報が示す時刻に遅れる最先の時刻を示すという条件である。 A recording / reproducing apparatus according to a fourth aspect of the invention is dependent on any one of the first to third aspects, wherein the time condition is a condition that the earliest time lags behind the time indicated by the noticed image time information.
請求項5の発明に従う記録再生装置は、請求項1ないし4のいずれかに従属し、基準画像フレームを記録媒体から再生する開始画像再生手段(S23)をさらに備える。 A recording / reproducing apparatus according to a fifth aspect of the invention is dependent on any one of the first to fourth aspects, and further comprises start image reproducing means (S23) for reproducing the reference image frame from the recording medium.
請求項6の発明に従う記録再生装置は、請求項1ないし5のいずれかに従属し、エラー条件は、画像再生手段によって今回再生された画像フレームに割り当てられた第2画像時刻情報が示す時刻と音声再生手段によって次回再生される音声ブロックに割り当てられた第2音声時刻情報が示す時刻との差分の絶対値が第1閾値を上回るという第1閾値条件を含む。第2時間軸が平常時間と夏時間との間で遷移し、第2画像時刻情報が示す時刻が平常時間に対応する一方、第2音声時刻情報が夏時間に対応するような場合、第1閾値条件が満足される。これによって、第2時間軸の歪みに対する耐久性が向上する。
The recording / reproducing apparatus according to the invention of claim 6 is dependent on any one of
請求項7の発明に従う記録再生装置は、請求項6に従属し、第1閾値は1つの音声ブロックによって表現される音声の期間に相当する。 A recording / reproducing apparatus according to a seventh aspect of the present invention is dependent on the sixth aspect, and the first threshold corresponds to a period of sound expressed by one sound block.
請求項8の発明に従う記録再生装置は、請求項1ないし7のいずれかに従属し、エラー条件は、画像再生手段によって今回再生される現画像フレームと画像再生手段によって次回再生される次画像フレームとの間で再生すべき音声ブロックが欠落しているというブロック条件を含む。 The recording / reproducing apparatus according to an eighth aspect of the invention is dependent on any one of the first to seventh aspects, wherein the error condition is a current image frame reproduced this time by the image reproducing means and a next image frame reproduced next time by the image reproducing means. Including a block condition that an audio block to be reproduced is missing.
請求項9の発明に従う記録再生装置は、請求項6ないし8のいずれかに従属し、エラー条件は、画像再生手段によって今回再生された画像フレームに割り当てられた第2画像時刻情報が示す時刻と画像再生手段によって次回再生される画像フレームに割り当てられた第2画像時刻情報が示す時刻との差分の絶対値が第2閾値を上回るという第2閾値条件をさらに含む。 The recording / reproducing apparatus according to the invention of claim 9 is dependent on any one of claims 6 to 8, and the error condition is the time indicated by the second image time information assigned to the image frame reproduced this time by the image reproducing means. It further includes a second threshold condition that the absolute value of the difference from the time indicated by the second image time information assigned to the image frame to be reproduced next time by the image reproducing means exceeds the second threshold.
請求項10の発明に従う記録再生装置は、請求項1ないし9のいずれかに従属し、第1時間軸は世界標準時刻の時間軸に相当する。 A recording / reproducing apparatus according to a tenth aspect of the present invention is dependent on any one of the first to ninth aspects, and the first time axis corresponds to a time axis of world standard time.
請求項11の発明に従う記録再生プログラムは、記録再生装置(200)のプロセサ(44)に、画像/音声の記録時刻を定義する第1時間軸に沿う第1画像時刻情報と画像/音声の作成時刻を定義する第2時間軸に沿う第2画像時刻情報とが各々に割り当てられた複数の画像フレームを記録媒体(52)に記録する第1記録ステップ(S5)、第1時間軸に沿う第1音声時刻情報と第2時間軸に沿う第2音声時刻情報とが各々に割り当てられた複数の音声ブロックを記録媒体に記録する第2記録ステップ(S11)、基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを複数の音声ブロックの中から特定する第1特定ステップ(S33, S35)、基準画像フレームに割り当てられた第2画像時刻情報との間で時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを第1特定ステップによって特定された音声ブロック以降の音声ブロックの中から特定する第2特定ステップ(S39, S41, S43)、基準画像フレームに遅れる複数の画像フレームを第2画像時刻情報に基づいて記録媒体から再生する画像再生ステップ(S61)、画像再生ステップによって再生される複数の画像フレームに関連する複数の音声ブロックを第2音声時刻情報に基づいて記録媒体から再生する音声再生ステップ(S51)、および音声再生ステップによって再生される音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたとき基準画像フレームを再決定する再決定ステップ(S93)を実行させるための、記録再生プログラムである。
The recording / reproducing program according to the invention of
請求項1の発明と同様、画像と音声との間での正確な同期の確立と、操作性の向上とが図られる。 As in the first aspect of the invention, establishment of accurate synchronization between the image and the sound and improvement in operability are achieved.
請求項12の発明に従う記録再生方法は、記録再生装置(200)によって実行される記録再生方法であって、画像/音声の記録時刻を定義する第1時間軸に沿う第1画像時刻情報と画像/音声の作成時刻を定義する第2時間軸に沿う第2画像時刻情報とが各々に割り当てられた複数の画像フレームを記録媒体(52)に記録する第1記録ステップ(S5)、第1時間軸に沿う第1音声時刻情報と第2時間軸に沿う第2音声時刻情報とが各々に割り当てられた複数の音声ブロックを記録媒体に記録する第2記録ステップ(S11)、基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを複数の音声ブロックの中から特定する第1特定ステップ(S33, S35)、基準画像フレームに割り当てられた第2画像時刻情報との間で時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを第1特定ステップによって特定された音声ブロック以降の音声ブロックの中から特定する第2特定ステップ(S39, S41, S43)、基準画像フレームに遅れる複数の画像フレームを第2画像時刻情報に基づいて記録媒体から再生する画像再生ステップ(S61)、画像再生ステップによって再生される複数の画像フレームに関連する複数の音声ブロックを第2音声時刻情報に基づいて記録媒体から再生する音声再生ステップ(S51)、および音声再生ステップによって再生される音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたとき基準画像フレームを再決定する再決定ステップ(S93)を備える。
The recording / reproducing method according to the invention of
請求項1の発明と同様、画像と音声との間での正確な同期の確立と、操作性の向上とが図られる。 As in the first aspect of the invention, establishment of accurate synchronization between the image and the sound and improvement in operability are achieved.
この発明によれば、画像再生処理および音声再生処理は、第2時間軸に沿う時刻情報に基づいて実行される。したがって、画像と音声との間で同期を正確に確立することができる。また、音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されると、基準画像フレームが再決定され、第1時間軸に沿う時刻情報に基づいて画像再生処理および音声再生処理が再開される。これによって、エラー条件が満足されたときに、再決定された基準画像フレームからの同期再生を速やかに再開することができ、操作性の向上が図られる。 According to this invention, the image reproduction process and the audio reproduction process are executed based on the time information along the second time axis. Therefore, synchronization can be accurately established between the image and the sound. When the error condition regarding the continuity of the creation / recording time is satisfied for the audio block, the reference image frame is re-determined, and the image reproduction process and the audio reproduction process are restarted based on the time information along the first time axis. The As a result, when the error condition is satisfied, the synchronized reproduction from the re-determined reference image frame can be resumed promptly, and the operability is improved.
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.
図1を参照して、この実施例の監視カメラシステムは、インターネット網300を介して互いに接続された監視カメラ100および記録再生装置200を備える。監視カメラ100は図2に示すように構成され、記録再生装置200は図3に示すように構成される。
With reference to FIG. 1, the surveillance camera system of this embodiment includes a
図2を参照して、監視カメラ100は、被写界を捉えるイメージセンサ10を含む。イメージセンサ10は、被写界を表す画像データを周期的に出力し、カメラ処理回路12はイメージセンサ10から出力された複数フレームの画像データの各々にJPEG圧縮を施す。ここで、画像データの出力周期は、1/30秒〜1時間の間で調整可能である。つまり、イメージセンサ10のフレームレートは、30フレーム/秒〜1フレーム/1時間の間で調整される。
Referring to FIG. 2,
JPEG圧縮によって生成された圧縮画像データつまりJPEGデータは、メモリ制御回路18によってSDRAM20に書き込まれる。JPEGデータの先頭および末尾にそれぞれ付加すべきヘッダおよびフッタは、CPU24によって作成される。
The compressed image data generated by JPEG compression, that is, JPEG data is written into the
CPU24は、イメージセンサ10の解像度およびフレームレート,注目するJPEGデータのフレーム番号などをヘッダに記述し、注目するJPEGデータを作成した時刻つまり画像作成時刻をフッタに記述する。ここで、画像作成時刻は、時計回路26によってミリ秒単位まで検出され、ミリ秒単位までフッタに記述される。こうして、図5(A)に示す構造を有するJPEGファイルがSDRAM20内に得られる。
The
監視カメラ100はまた、被写界周辺の外部音声を捉えるマイクロフォン14を含む。音声処理回路16は、マイクロフォン14から出力された音声データを246ミリ秒単位で分割し、分割された各ブロックの音声データをメモリ制御回路18を通してSDRAM20に書き込む。各ブロックの音声データの先頭に付加すべきヘッダもまた、CPU24によって作成される。
CPU24は、注目する音声データのブロック番号や注目する音声データを作成した時刻つまり音声作成時刻をヘッダに記述する。音声作成時刻もまた、時計回路26によってミリ秒単位まで検出され、ミリ秒単位までヘッダに記述される。ヘッダは20バイトで表現され、各ブロックの音声データは5900バイトで表現される。こうして、図5(B)に示す構造を有する音声ブロックがSDRAM20内に得られる。
The
ここで、監視カメラ100はたとえばアメリカ合衆国に設置され、時計回路26が採用する時間軸は平常時間および夏時間の間で図12に示すように遷移する。夏時間は、4月第1日曜日午前2時00分から始まり、10月最終日曜日午前2時00分に終了する。開始日には午前2時00分が午前3時00分になり、終了日には午前2時00分が午前1時00分になる。
Here, the
I/F回路22は、SDRAM20に蓄積されたJPEGファイルおよび音声ブロックをインターネット網300を通して記録再生装置200に送出する。図4(A)に示すように、JPEGファイルはイメージセンサ10のフレームレートに対応する周期で送信され、音声ブロックは246ミリ秒毎に送信される。JPEGファイルはTCP/IPプロトコルに従って転送され、音声ブロックはUDPプロトコルに従って転送される。
The I /
なお、音声処理回路16は切換操作によってオン/オフされる。オン状態では音声ブロックが上述の要領で作成されてI/F回路22から送信される一方、オフ状態では音声ブロックの作成/送信処理は中断される。
The
図3を参照して、記録再生装置200は、インターネット網300と接続されるI/F回路30を含む。監視カメラ100から送信されたJPEGファイルおよび音声ブロックは、キーボード54によって記録モードが選択されたとき、I/F回路30によって受信される。受信されたJPEGファイルおよび音声ブロックは、メモリ制御回路32を介してDRAM34に書き込まれる。
Referring to FIG. 3, recording / reproducing
インターネット網300を経由した転送処理の性質上、JPEGファイルを受信する周期は監視カメラ100からのJPEGファイルの送信周期と必ずしも一致せず、音声ブロックを受信する周期もまた監視カメラ100からの音声ブロックの送信周期と必ずしも一致しない。このため、JPEGファイルおよび音声ブロックは、たとえば図4(B)に示すように、ジッタを伴って受信される。なお、この実施例は、JPEGファイルは送信順序と同じ順序でI/F回路30によって受信され、音声ブロックもまた送信順序と同じ順序でI/F回路30によって受信されることを前提とする。
Due to the nature of the transfer process via the
DRAM34に蓄積されたJPEGファイルその後、CPU44から画像記録命令を受けたHDD50によって読み出され、ハードディスク52に蓄積される。JPEGファイルは、図6(A)に示す動画像ファイルに受信順序と同じ順序で収められる。DRAM34に蓄積された音声ブロックも、CPU44から音声記録命令を受けたHDD50によって読み出され、ハードディスク52に蓄積される。音声ブロックは、図6(B)に示す音声ファイルに受信順序と同じ順序で収められる。
The JPEG file stored in the
CPU44は、HDD50によるJPEGファイルの記録処理と並行して図7(A)に示す画像INDEXテーブルT1を作成し、HDD50による音声ブロックの記録処理と並行して図7(B)に示す音声INDEXテーブルT2を作成する。
The
図7(A)によれば、画像INDEXテーブルT1は、フレーム番号および画像記録時刻がそれぞれ書き込まれる2つのカラムが設けられ、各々のカラムを形成する複数のセクションに複数のインデックス番号がそれぞれ割り当てられる。また、図7(B)によれば、音声INDEXテーブルT2は、ブロック番号および音声記録時刻がそれぞれ書き込まれる2つのカラムが設けられ、各々のカラムを形成する複数のセクションに複数のインデックス番号がそれぞれ割り当てられる。 According to FIG. 7A, the image INDEX table T1 is provided with two columns in which frame numbers and image recording times are written, and a plurality of index numbers are assigned to a plurality of sections forming each column. . Further, according to FIG. 7B, the audio INDEX table T2 is provided with two columns in which block numbers and audio recording times are respectively written, and a plurality of index numbers are assigned to a plurality of sections forming each column. Assigned.
CPU44は、記録処理を施されるJPEGファイルのヘッダからフレーム番号を検出し、記録処理が実行される時刻つまり画像記録時刻を時計回路46からミリ秒単位まで検出し、そして検出されたフレーム番号および画像記録時刻をインデックス番号に従う順序で画像INDEXテーブルT1に書き込む。時計回路46は世界標準時刻(UTC: Coordinated Universal Time)を採用し、時計回路46の時間軸は全世界共通である。CPU44はまた、記録処理を施される音声ブロックのヘッダからブロック番号を検出し、記録処理が実行される時刻つまり音声記録時刻を時計回路46からミリ秒単位まで検出し、そして検出されたブロック番号および音声記録時刻をインデックス番号に従う順序で音声INDEXテーブルT2に書き込む。
The
なお、画像INDEXテーブルT1および音声INDEXテーブルT2は、記録モードが終了されたとき、ファイル形式でハードディスク52に記録される。
The image INDEX table T1 and the audio INDEX table T2 are recorded in the
再生モードが選択されると、ハードディスク52に記録された動画像ファイルおよび音声ファイルが次の要領で再生される。まず、画像INDEXテーブルT1および音声INDEXテーブルT2がハードディスク52から読み出される。次に、図8に示す再生バーB1およびスライダSL1が、画像再生回路36によってモニタ38に表示される。再生バーB1の左端近傍には、動画ファイルの先頭のJPEGファイルに記述された画像作成時刻のうち“月”,“日”,“時”,“分”および“秒”の数値が表示される。また、再生バーB1の右端近傍には、動画ファイルの末尾のJPEGファイルに記述された画像作成時刻のうち“月”,“日”,“時”,“分”および“秒”の数値が表示される。
When the reproduction mode is selected, the moving image file and audio file recorded on the
マウスポインタ56によってスライダSL1を所望の位置に配置すると、その位置に対応するJPEGファイルが基準JPEGファイルとされ、この基準JPEGファイルの取得処理および再生処理が実行される。このとき、ファイル取得命令がCPU44からHDD50に向けて発行され、ファイル再生命令がCPU44からJPEGデコーダ48および画像再生回路36の各々に向けて発行される。
When the slider SL1 is arranged at a desired position by the
ハードディスク52内の動画像ファイルに収められた所望のJPEGファイルは、HDD50によって取得され、メモリ制御回路32を通してDRAM34に書き込まれる。JPEGファイルに格納されたJPEGデータはJPEGデコーダ48によってデコードされ、デコードされた画像データに対応する画像は画像再生回路36によって図8に示す要領でモニタ38に表示される。
A desired JPEG file stored in the moving image file in the
取得されたJPEGファイルに記述された画像作成時刻は、図9(A)に示すように変数ILTcrntおよび変数ILTinitの各々に設定される。また、取得されたJPEGファイルのフレーム番号と同じフレーム番号に割り当てられた画像記録時刻が、画像INDEXテーブルT1から検出される。検出された画像記録時刻は、図9(C)に示すように変数IUTcrntに設定される。 The image creation time described in the acquired JPEG file is set in each of variable ILTcrnt and variable ILTinit as shown in FIG. Further, the image recording time assigned to the same frame number as that of the acquired JPEG file is detected from the image INDEX table T1. The detected image recording time is set in a variable IUTcrnt as shown in FIG.
続いて、今回再生されたJPEGファイルの次のJPEGファイルを動画ファイルから取得するべく、ファイル取得命令がCPU44からHDD50に向けて発行される。HDD50は、上述と同じの要領で次のJPEGファイルを取得し、取得したJPEGファイルをメモリ制御回路32を通してDRAM34に書き込む。取得されたJPEGファイルに記述された画像作成時刻は、図9(A)に示すように変数ILTnxtに設定される。
Subsequently, a file acquisition command is issued from the
つまり、変数ILTcrntおよびIUTcrntはそれぞれ、今回再生されたJPEGファイルに対応する画像作成時刻および画像記録時刻を示す。また、変数ILTinitは、再生モードが選択された当初に再生されたJPEGファイルに対応する画像作成時刻を示す。さらに、変数ILTnxtは、次回再生されるJPEGファイルに対応する画像作成時刻を示す。 That is, the variables ILTcrnt and IUTcrnt indicate the image creation time and the image recording time corresponding to the JPEG file reproduced this time, respectively. The variable ILTinit indicates the image creation time corresponding to the JPEG file that was originally played back when the playback mode was selected. Further, the variable ILTnxt indicates the image creation time corresponding to the JPEG file to be reproduced next time.
続いて、変数IUTcrntが示す画像記録時刻に遅れる最先の音声記録時刻が、時刻条件を満足する音声記録時刻として音声INDEXテーブルT2から検出される。検出された音声記録時刻は、図9(D)に示すように変数AUTnxtに設定される。さらに、変数AUTnxtに対応する音声ブロックを取得するべく、ブロック取得命令がCPU44からHDD50に向けて発行される。ハードディスク52内の音声ファイルに収められた所望の音声ブロックはHDD50によって取得され、メモリ制御回路32を通してDRAM34に書き込まれる。
Subsequently, the earliest audio recording time delayed from the image recording time indicated by the variable IUTcrnt is detected from the audio INDEX table T2 as the audio recording time that satisfies the time condition. The detected voice recording time is set in a variable AUTnxt as shown in FIG. Further, a block acquisition command is issued from the
取得された音声ブロックに記述された音声作成時刻は、図9(B)に示すように変数ALTnxtに設定される。さらに、変数ILTinitによって示される画像作成時刻が変数ALTnxtによって示される音声作成時刻に先行するか否かが判別される。判別結果が否定的であれば次の音声ブロックが上述と同じ要領で音声ファイルから取得され、取得された音声ブロックに記述された音声作成時刻が変数ALTnxtに設定される。 The voice creation time described in the acquired voice block is set in a variable ALTnxt as shown in FIG. Further, it is determined whether or not the image creation time indicated by the variable ILTinit precedes the audio creation time indicated by the variable ALTnxt. If the determination result is negative, the next audio block is acquired from the audio file in the same manner as described above, and the audio creation time described in the acquired audio block is set in the variable ALTnxt.
つまり、変数ALTnxtは、変数ILTinitが示す画像作成時刻に遅れる最先の音声作成時刻が検出されるまで、つまり時刻条件を満足する音声作成時刻が検出されるまで、図9(B)に示すように更新される。画像作成時刻に関連する変数ILTinit,ILTcrntおよびILTnxtとの関係では、音声作成時刻に関連する変数ALTnxtは図10に示すように更新される。こうして、時刻条件を満足する音声作成時刻が記述された音声ブロックが特定される。 That is, the variable ALTnxt is as shown in FIG. 9B until the earliest voice creation time that is later than the image creation time indicated by the variable ILTinit is detected, that is, until the voice creation time that satisfies the time condition is detected. Updated to In relation to the variables ILTinit, ILTcrnt and ILTnxt related to the image creation time, the variable ALTnxt related to the voice creation time is updated as shown in FIG. In this way, the voice block in which the voice creation time that satisfies the time condition is described is specified.
特定された音声ブロック以降の複数の音声ブロックは、各音声ブロックに記述された音声作成時刻とクロック回路44cによって定義されるシステム時刻とを参照して246ミリ秒毎に再生される。このとき、ブロック再生命令が音声再生回路40に向けて繰り返し発行され、かつブロック取得命令がHDD50に向けて繰り返し発行される。ブロック再生命令を受けた音声再生回路40は、DRAM34に格納された音声ブロックをメモリ制御回路32を通して読み出し、読み出された音声ブロックに対応する音声をスピーカ42から出力する。ブロック取得命令を受けたHDD50の動作は上述の通りである。
A plurality of audio blocks after the specified audio block are reproduced every 246 milliseconds with reference to the audio creation time described in each audio block and the system time defined by the clock circuit 44c. At this time, the block reproduction command is repeatedly issued to the
また、変数ILTinitによって示される画像作成時刻が記述されたJPEGファイル以降の複数のJPEGファイルは、各JPEGファイルに記述された画像作成時刻とシステム時刻とを参照して、監視カメラ100のフレームレートに対応する周期で再生される。このとき、ファイル再生命令がJPEGデコーダ48および画像再生回路40に向けて繰り返し発行され、かつファイル取得命令がHDD50に向けて繰り返し発行される。JPEGデコーダ,画像再生回路40およびHDD50の動作は上述のとおりである。この結果、対応する画像がモニタ38から出力される。
A plurality of JPEG files after the JPEG file in which the image creation time indicated by the variable ILTinit is described are referred to the frame rate of the
このように、音声ブロックは音声記録時刻ではなく音声作成時刻を参照して再生され、JPEGファイルは画像記録時刻ではなく画像作成時刻を参照して再生される。したがって、インターネット網300を介した転送処理に起因するジッタに関係なく、正確な同期再生が可能となる。
Thus, the audio block is reproduced with reference to the audio creation time instead of the audio recording time, and the JPEG file is reproduced with reference to the image creation time instead of the image recording time. Accordingly, accurate synchronized reproduction is possible regardless of jitter caused by transfer processing via the
ただし、監視カメラ100の設定によっては、音声ブロックの送信が中断される。また、監視カメラ100の時計回路26が採用する時間軸は、平常時間および夏時間の間での遷移、または電源オフに伴う時計回路26のリセットに起因して歪む場合がある。この歪みは、音声ファイル上で隣り合う2つの音声ブロックにそれぞれ記述された2つの音声作成時刻の連続性を破壊し、画像および音声の同期再生を困難にする。
However, depending on the setting of the
そこで、この実施例では、図11に示すように、(1)今回再生されたJPEGファイルに対応する画像作成時刻と次に再生される音声ブロックに対応する音声作成時刻との差分絶対値が246ミリ秒を上回るとき、または(2)今回再生されたJPEGファイルに対応する画像作成/記録時刻と次回再生されるJPEGファイルに対応する画像作成/記録時刻との間に記録された音声ブロックが存在しないときに、音声作成/記録時刻の連続性が損なわれたと判断し、基準JPEGファイルを再決定するようにしている。基準JPEGファイルは、今回再生されたJPEGファイルの次に受信されたJPEGファイルである。基準JPEGファイルが再決定されるため、JPEGファイルおよび音声ブロックの同期再生は、図9(A)〜図9(D)に示す処理を経て再開される。 Therefore, in this embodiment, as shown in FIG. 11, (1) the absolute value of the difference between the image creation time corresponding to the JPEG file reproduced this time and the audio creation time corresponding to the audio block to be reproduced next is 246. When the time exceeds milliseconds, or (2) there is an audio block recorded between the image creation / recording time corresponding to the JPEG file played this time and the image creation / recording time corresponding to the next JPEG file played back If not, it is determined that the continuity of the voice creation / recording time has been lost, and the reference JPEG file is determined again. The reference JPEG file is a JPEG file received next to the JPEG file reproduced this time. Since the reference JPEG file is re-determined, the synchronized playback of the JPEG file and the audio block is resumed through the processes shown in FIGS. 9A to 9D.
上述の条件(1)および(2)をそれぞれ“閾値条件”および“ブロック条件”と定義し、両者の上位概念を“エラー条件”と定義すると、基準JPEGファイルは、音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたときに再決定される。そして、画像INDEXテーブルT1および音声INDEXテーブルT2の参照を経て同期再生が再開される。これによって、エラー条件が満足されたときに、再決定された基準JPEGファイルからの同期再生を速やかに再開することができ、操作性の向上が図られる。 When the above conditions (1) and (2) are defined as “threshold condition” and “block condition”, respectively, and the upper concept of both is defined as “error condition”, the reference JPEG file is created / recorded for the audio block. It is re-determined when the error condition regarding the continuity of is satisfied. Then, the synchronized reproduction is resumed through reference to the image INDEX table T1 and the audio INDEX table T2. As a result, when the error condition is satisfied, the synchronized playback from the re-determined reference JPEG file can be resumed quickly, and the operability is improved.
CPU44は、記録モードが選択されたとき図13に示す記録制御処理を実行し、再生モードが選択されたとき図14〜図18に示す再生制御処理を実行する。なお、これらのフロー図に対応する制御プログラムは、ハードディスク52に記憶される。
The
図13を参照して、ステップS1ではJPEGファイルを受信したか否かを判別し、ステップS3では音声ブロックを受信したか否かを判別する。具体的には、新規のJPEGファイルがDRAM34に確保されたか否かがステップS1で判別され、新規の音声ブロックがDRAM34に確保されたか否かがステップS3で判別される。ステップS1でYESであればステップS5に進み、ステップS3でYESであればステップS11に進む。
Referring to FIG. 13, it is determined whether or not a JPEG file has been received in step S1, and whether or not an audio block has been received is determined in step S3. Specifically, whether or not a new JPEG file is secured in the
ステップS5では、HDD50に対して画像記録命令を発行する。HDD50は、DRAM34に格納されたJPEGファイルを読み出し、読み出されたJPEGファイルをハードディスク52内の動画ファイルに書き込む。ステップS7では、時計回路46が示す現在時刻を画像記録時刻として取得する。ステップS9では、今回記録されるJPEGファイルに記述されたフレーム番号とステップS7で取得された画像記録時刻とを画像INDEXテーブルT1に書き込む。書き込みが完了すると、ステップS1に戻る。
In step S5, an image recording command is issued to the
ステップS11では、HDD50に対して音声記録命令を発行する。HDD50は、DRAM34に格納された音声ブロックを読み出し、読み出された音声ブロックをハードディスク52内の音声ファイルに書き込む。ステップS13では、時計回路46が示す現在時刻を音声記録時刻として取得する。ステップS15では、今回記録される音声ブロックに記述されたブロック番号とステップS13で取得された音声記録時刻とを音声INDEXテーブルT2に書き込む。書き込みが完了すると、ステップS1に戻る。
In step S11, an audio recording command is issued to the
図14を参照して、ステップS21では指定されたJPEGファイルの取得&再生を実行するべく、ファイル取得命令をHDD50に向けて発行し、画像再生命令をJPEGデコーダ48および画像再生回路36に向けて発行する。ハードディスク52内の動画像ファイルに収められた所望のJPEGファイルは、メモリ制御回路32を通してDRAM34に書き込まれる。JPEGファイルに格納されたJPEGデータはJPEGデコーダ48によってデコードされ、デコードされた画像データに対応する画像は画像再生回路36によってモニタ38に表示される。
Referring to FIG. 14, in step S21, a file acquisition command is issued to
ステップS23では、ステップS21で取得されたJPEGファイルのフッタから画像作成時刻を検出し、検出された画像作成時刻を変数ILTcrntに設定する。ステップS25では、取得されたJPEGファイルのフレーム番号と同じフレーム番号に割り当てられた画像記録時刻を画像INDEXテーブルT1から検出する。ステップS27では、変数ITLcrntが示す数値を変数ITLinitに設定する。 In step S23, the image creation time is detected from the footer of the JPEG file acquired in step S21, and the detected image creation time is set in a variable ILTcrnt. In step S25, the image recording time assigned to the same frame number as that of the acquired JPEG file is detected from the image INDEX table T1. In step S27, the numerical value indicated by the variable ITLcrnt is set in the variable ITLinit.
ステップS29では、ステップS23で取得されたJPEGファイルの次のJPEGファイルを取得するべく、HDD50に向けてファイル取得命令を発行する。所望のJPEGファイルは、上述と同様、メモリ制御回路32を通してDRAM34に書き込まれる。ステップS31では、取得したJPEGファイルのフッタから画像作成時刻を検出し、検出された画像作成時刻を変数ILTnxtに設定する。
In step S29, a file acquisition command is issued to the
ステップS33では、変数IUTcrntが示す時刻に遅れる最先の音声記録時刻(時刻条件を満足する音声記録時刻)を音声INDEXテーブルT2から検出し、検出された音声記録時刻を変数AUTnxtに設定する。ステップS35では、変数AUTnxtが示す時刻に記録された音声ブロックをハードディスク52に記録された音声ファイルから取得し、ステップS37では取得された音声ブロックに記述された音声作成時刻を検出する。検出された音声作成時刻は、変数ALTnxtに設定される。
In step S33, the earliest audio recording time (audio recording time satisfying the time condition) that is delayed from the time indicated by the variable IUTcrnt is detected from the audio INDEX table T2, and the detected audio recording time is set in the variable AUTnxt. In step S35, the audio block recorded at the time indicated by the variable AUTnxt is acquired from the audio file recorded in the
ステップS39では、変数ILTinitが示す時刻が変数ALTnxtが示す時刻に先行するか否か(時刻条件が満足されるか否か)を判別する。ここでNOであれば、ステップS35で取得された音声ブロックの次の音声ブロックを取得するべく、ステップS41でブロック取得命令をHDD50に向けて発行する。所望の音声ブロックは、上述と同様、メモリ制御回路32を通してDRAM34に書き込まれる。ステップS43では、取得した音声ブロックから音声作成時刻を検出し、検出された音声作成時刻を変数ALTnxtに設定する。ステップS43の処理が完了すると、ステップS39に戻る。
In step S39, it is determined whether or not the time indicated by the variable ILTinit precedes the time indicated by the variable ALTnxt (whether or not the time condition is satisfied). If “NO” here, a block acquisition command is issued to the
ステップS39でYESであればステップS45に進み、クロック回路44cが示す現在のシステム時刻を再生開始時刻として取得する。取得された再生開始時刻は、変数Tinitに設定される。ステップS47では、現在のシステム時刻を再度取得し、取得されたシステム時刻を変数Tcrntに設定する。ステップS49では、変数TcrntおよびTinitの差分値である“Tcrnt−Tinit”が変数ALTnxtおよびILTinitの差分値である“ALTnxt−ILTinit”を上回るか否かを判別する。ここでNOであれば直接ステップS59に進む一方、YESであればステップS51〜S57の処理を経てステップS59に進む。 If “YES” in the step S39, the process proceeds to a step S45 to acquire the current system time indicated by the clock circuit 44c as the reproduction start time. The acquired reproduction start time is set in the variable Tinit. In step S47, the current system time is acquired again, and the acquired system time is set in a variable Tcrnt. In step S49, it is determined whether or not “Tcrnt−Tinit”, which is the difference value between the variables Tcrnt and Tinit, exceeds “ALTnxt−ILTinit”, which is the difference value between the variables ALTnxt and ILTinit. If “NO” here, the process directly proceeds to the step S59 while if “YES”, the process proceeds to the step S59 through the processes of the steps S51 to S57.
ステップS51では、変数ALTnxtが示す時刻に記録された音声ブロックを再生すべく、音声再生命令を音声再生回路40に向けて発行する。音声再生回路40は、DRAM34に格納された音声ブロックをメモリ制御回路32を通して読み出し、読み出された音声ブロックに対応する音声をスピーカ42から出力する。ステップS53では、変数ALTnxtが示す数値を変数ALTcrntに設定する。続くステップS55およびS57では、上述のステップS41およびS43と同様の処理を実行する。こうして、音声ブロックが連続的に再生され、変数ALTcrntおよびALTnxtが1ブロック毎に更新される。
In step S51, an audio reproduction command is issued to the
ステップS59では、変数TcrntおよびTinitの差分値である“Tcrnt−Tinit”が変数ILTnxtおよびILTinitの差分値である“ILTnxt−ILTinit”を上回るか否かを判別する。ここでNOであれば直接ステップS71に進む一方、YESであればステップS61〜S69の処理を経てステップS71に進む。 In step S59, it is determined whether or not “Tcrnt−Tinit”, which is the difference value between the variables Tcrnt and Tinit, exceeds “ILTnxt−ILTinit”, which is the difference value between the variables ILTnxt and ILTinit. If “NO” here, the process directly proceeds to the step S71 while if “YES”, the process proceeds to the step S71 through the processes of the steps S61 to S69.
ステップS61では、変数ILTnxtが示す時刻に記録されたJPEGファイルを再生すべく、画像再生命令をJPEGデコーダ48および画像再生回路36に向けて発行する。この結果、所望のJPEGファイルに格納JPEGデータに基づく画像がモニタ38に表示される。
In step S61, an image reproduction command is issued to the
ステップS63では変数ILTcrntが示す数値を変数Tlastに設定し、ステップS65では変数ILTnxtが示す数値を変数ILTcrntに設定する。続くステップS67およびS69では、上述のステップS29およびS31と同様の処理を実行する。こうして、JPEGファイルが連続的に再生され、変数Tlast,ILTcrntおよびILTnxtが1ブロック毎に更新される。 In step S63, the numerical value indicated by the variable ILTcrnt is set in the variable Tlast, and in step S65, the numerical value indicated by the variable ILTnxt is set in the variable ILTcrnt. In subsequent steps S67 and S69, processing similar to that in steps S29 and S31 described above is executed. In this way, the JPEG file is continuously reproduced, and the variables Tlast, ILTcrnt, and ILTnxt are updated for each block.
ステップS71では、変数ILTnxtおよびILTcrntの差分絶対値である|ILTnxt−ILTcrnt|が閾値TH(=たとえば10秒)を上回るか否かを判別する。また、ステップS73ではフラグFLG2が“0”であるか否かを判別する。さらに、ステップS75では、変数ILTcrntおよび変数ALTnxtの差分絶対値である|ILTcrnt−ALTcrnt|が1ブロックの音声データの長さである246ミリ秒以下であるか否か、つまり閾値条件が満足されるか否かを判別する。また、ステップS77では、変数IUTcrntが示す時刻に遅れ、かつ変数IUTnxtが示す時刻に先行する時刻に記録された音声ブロックが音声ファイルに存在するか否か、つまりブロック条件が満足されるか否かを判別する。 In step S71, it is determined whether or not | ILTnxt−ILTcrnt |, which is the absolute difference between the variables ILTnxt and ILTcrnt, exceeds a threshold value TH (= 10 seconds, for example). In step S73, it is determined whether or not the flag FLG2 is “0”. Furthermore, in step S75, whether or not | ILTcrnt−ALTcrnt |, which is the absolute difference between the variable ILTcrnt and the variable ALTnxt, is equal to or less than 246 milliseconds, which is the length of the audio data of one block, that is, the threshold condition is satisfied. It is determined whether or not. Further, in step S77, whether or not there is an audio block recorded in the audio file that is delayed from the time indicated by the variable IUTcrnt and preceded by the time indicated by the variable IUTnxt, that is, whether or not the block condition is satisfied. Is determined.
ステップS71またはS73でNOであれば、直接ステップS83に進む。ステップS71,S73,S75およびS77のいずれもYESであれば、ステップS79でフラグFLG1およびFLG2をそれぞれ“0”および“1”に設定してからステップS83に進む。ステップS71およびS73でYESであるものの、ステップS75またはS77でNOであれば、ステップS81でフラグFLG1およびFLG2の各々を“1”に設定してからステップS83に進む。 If NO in step S71 or S73, the process directly proceeds to step S83. If YES in steps S71, S73, S75, and S77, the flags FLG1 and FLG2 are set to “0” and “1”, respectively, in step S79, and then the process proceeds to step S83. If YES in steps S71 and S73, but NO in step S75 or S77, each of flags FLG1 and FLG2 is set to “1” in step S81, and then the process proceeds to step S83.
ステップS83では、変数TcrntおよびTlastの差分値である“Tcrnt−Tlast”が閾値THを上回るか否かを判別する。ステップS85ではフラグFLG2が“1”であるか否かを判別し、ステップS87ではフラグFLG1が“1”であるか否かを判別する。ステップS83またはS85でNOであれば直接ステップS47に戻る。ステップS83およびS85でYESであり、かつステップS87でNOであれば、ステップS89でフラグFLG1およびFLG2を初期化(=0)してからステップS47に戻る。 In step S83, it is determined whether or not “Tcrnt−Tlast”, which is a difference value between the variables Tcrnt and Tlast, exceeds a threshold value TH. In step S85, it is determined whether or not the flag FLG2 is “1”. In step S87, it is determined whether or not the flag FLG1 is “1”. If NO in step S83 or S85, the process directly returns to step S47. If YES in steps S83 and S85 and NO in step S87, flags FLG1 and FLG2 are initialized (= 0) in step S89, and the process returns to step S47.
ステップS85,S87およびS89のいずれもYESであれば、ステップS91でフラグFLG1およびFLG2を初期化する。ステップS93では、ステップS67で取得されたJPEGファイルの次に受信されたJPEGファイルを指定し、その後にステップS21に戻る。なお、図示しないが、フラグFLG1およびFLG2は、図14〜図18に示す再生制御処理が開始される前に、初期化される。 If YES in any of steps S85, S87, and S89, flags FLG1 and FLG2 are initialized in step S91. In step S93, the JPEG file received next to the JPEG file acquired in step S67 is designated, and then the process returns to step S21. Although not shown, flags FLG1 and FLG2 are initialized before the reproduction control process shown in FIGS. 14 to 18 is started.
以上の説明から分かるように、画像作成時刻および音声作成時刻は、監視カメラ100の時計回路26が採用する時間軸によって定義される。画像記録時刻および音声記録時刻は、記録再生装置200の時計回路46が採用する時間軸によって定義される。ハードディスク52に記録される複数のJPEGファイルの各々には、画像作成時刻および画像記録時刻が割り当てられる。また、ハードディスク52に記録される複数の音声ブロックの各々には、音声作成時刻および音声記録時刻が割り当てられる。
As can be seen from the above description, the image creation time and the sound creation time are defined by the time axis adopted by the
CPU44は、基準JPEGファイルに割り当てられた画像記録時刻との間で時刻条件を満足する音声記録時刻が割り当てられた音声ブロックを、複数の音声ブロックの中から特定する(S33, S35)。CPU44はまた、基準JPEGファイルに割り当てられた画像作成時刻との間で時刻条件を満足する音声作成時刻が割り当てられた音声ブロックを、前段の処理で特定された音声ブロック以降の音声ブロックの中から特定する(S39, S41, S43)。
The
基準JPEGファイルに遅れる複数のJPEGファイルは、各々に割り当てられた画像作成時刻を参照してハードディスク52から再生される(S61)。再生される複数のJPEGファイルに関連する複数の音声ブロックは、各々に割り当てられた音声作成時刻を参照してハードディスク52から再生される(S51)。基準JPEGファイルは、音声作成時刻の連続性に関するエラー条件が満足されたとき、再決定される(93)。
A plurality of JPEG files delayed from the reference JPEG file are reproduced from the
このように、JPEGファイルおよび音声ブロックは、画像作成時刻および音声作成時刻を参照して再生される。したがって、画像と音声との間で同期を正確に確立することができる。また、音声作成時刻の連続性に関するエラー条件が満足されると、基準JPEGファイルが再決定され、世界標準時刻である画像記録時刻および音声記録時刻の参照を経て同期再生が再開される。これによって、エラー条件が満足されたときに、再決定された基準JPEGファイルからの同期再生を速やかに再開することができ、操作性の向上が図られる。 Thus, the JPEG file and the audio block are reproduced with reference to the image creation time and the audio creation time. Therefore, synchronization can be accurately established between the image and the sound. When the error condition relating to the continuity of the audio creation time is satisfied, the standard JPEG file is re-determined, and the synchronized reproduction is resumed through reference to the image recording time and the audio recording time which are the world standard time. As a result, when the error condition is satisfied, the synchronized playback from the re-determined reference JPEG file can be resumed quickly, and the operability is improved.
なお、この実施例では、ステップS77の判別処理にあたって画像記録時刻および音声記憶時刻に注目するようにしているが、これに代えて画像作成時刻および音声作成時刻に注目するようにしてもよい。 In this embodiment, attention is paid to the image recording time and the voice storage time in the determination processing in step S77, but instead of this, attention may be paid to the image creation time and the voice creation time.
100 …監視カメラ
200 …記録再生装置
300 …インターネット網
10 …イメージセンサ
14 …マイクロフォン
26,46 …時計回路
22,30 …I/F回路
44 …CPU
52 …ハードディスク
56 …マウスポインタ
38 …モニタ
42 …スピーカ
DESCRIPTION OF
52 ...
Claims (12)
前記第1時間軸に沿う第1音声時刻情報と前記第2時間軸に沿う第2音声時刻情報とが各々に割り当てられた複数の音声ブロックを前記記録媒体に記録する第2記録手段、
基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを前記複数の音声ブロックの中から特定する第1特定手段、
前記基準画像フレームに割り当てられた第2画像時刻情報との間で前記時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを前記第1特定手段によって特定された音声ブロック以降の音声ブロックの中から特定する第2特定手段、
前記基準画像フレームに遅れる複数の画像フレームを前記第2画像時刻情報に基づいて前記記録媒体から再生する画像再生手段、
前記画像再生手段によって再生される複数の画像フレームに関連する複数の音声ブロックを前記第2音声時刻情報に基づいて前記記録媒体から再生する音声再生手段、および
前記音声再生手段によって再生される音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたとき前記基準画像フレームを再決定する再決定手段を備える、記録再生装置。 A plurality of first image time information along a first time axis that defines an image / sound recording time and second image time information along a second time axis that defines an image / sound creation time First recording means for recording an image frame on a recording medium;
Second recording means for recording, on the recording medium, a plurality of audio blocks each of which is assigned first audio time information along the first time axis and second audio time information along the second time axis;
First specifying means for specifying, from among the plurality of sound blocks, a sound block to which first sound time information that satisfies a time condition is satisfied with the first image time information assigned to the reference image frame;
The audio blocks after the audio block specified by the first specifying means are selected as audio blocks to which the second audio time information satisfying the time condition is satisfied with the second image time information assigned to the reference image frame. A second specifying means for specifying from among the above,
Image reproducing means for reproducing a plurality of image frames delayed from the reference image frame from the recording medium based on the second image time information;
Audio reproducing means for reproducing a plurality of audio blocks related to a plurality of image frames reproduced by the image reproducing means from the recording medium based on the second audio time information; and an audio block reproduced by the audio reproducing means A recording / reproducing apparatus comprising re-determination means for re-determining the reference image frame when an error condition regarding continuity of creation / recording time is satisfied.
画像/音声の記録時刻を定義する第1時間軸に沿う第1画像時刻情報と画像/音声の作成時刻を定義する第2時間軸に沿う第2画像時刻情報とが各々に割り当てられた複数の画像フレームを記録媒体に記録する第1記録ステップ、
前記第1時間軸に沿う第1音声時刻情報と前記第2時間軸に沿う第2音声時刻情報とが各々に割り当てられた複数の音声ブロックを前記記録媒体に記録する第2記録ステップ、
基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを前記複数の音声ブロックの中から特定する第1特定ステップ、
前記基準画像フレームに割り当てられた第2画像時刻情報との間で前記時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを前記第1特定ステップによって特定された音声ブロック以降の音声ブロックの中から特定する第2特定ステップ、
前記基準画像フレームに遅れる複数の画像フレームを前記第2画像時刻情報に基づいて前記記録媒体から再生する画像再生ステップ、
前記画像再生ステップによって再生される複数の画像フレームに関連する複数の音声ブロックを前記第2音声時刻情報に基づいて前記記録媒体から再生する音声再生ステップ、および
前記音声再生ステップによって再生される音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたとき前記基準画像フレームを再決定する再決定ステップを実行させるための、記録再生プログラム。 In the processor of the recording and playback device,
A plurality of first image time information along a first time axis that defines an image / sound recording time and second image time information along a second time axis that defines an image / sound creation time A first recording step of recording an image frame on a recording medium;
A second recording step of recording, on the recording medium, a plurality of audio blocks each of which is assigned first audio time information along the first time axis and second audio time information along the second time axis;
A first specifying step of specifying, from among the plurality of sound blocks, a sound block to which first sound time information that satisfies a time condition is satisfied with the first image time information assigned to the reference image frame;
The audio blocks subsequent to the audio block specified by the first specifying step are the audio blocks to which the second audio time information satisfying the time condition is satisfied with the second image time information assigned to the reference image frame. A second specifying step of specifying from
An image reproduction step of reproducing a plurality of image frames delayed from the reference image frame from the recording medium based on the second image time information;
An audio reproduction step of reproducing a plurality of audio blocks related to a plurality of image frames reproduced by the image reproduction step from the recording medium based on the second audio time information; and an audio block reproduced by the audio reproduction step A recording / reproducing program for executing a redetermination step for redetermining the reference image frame when an error condition regarding continuity of creation / recording time is satisfied.
画像/音声の記録時刻を定義する第1時間軸に沿う第1画像時刻情報と画像/音声の作成時刻を定義する第2時間軸に沿う第2画像時刻情報とが各々に割り当てられた複数の画像フレームを記録媒体に記録する第1記録ステップ、
前記第1時間軸に沿う第1音声時刻情報と前記第2時間軸に沿う第2音声時刻情報とが各々に割り当てられた複数の音声ブロックを前記記録媒体に記録する第2記録ステップ、
基準画像フレームに割り当てられた第1画像時刻情報との間で時刻条件を満足する第1音声時刻情報が割り当てられた音声ブロックを前記複数の音声ブロックの中から特定する第1特定ステップ、
前記基準画像フレームに割り当てられた第2画像時刻情報との間で前記時刻条件を満足する第2音声時刻情報が割り当てられた音声ブロックを前記第1特定ステップによって特定された音声ブロック以降の音声ブロックの中から特定する第2特定ステップ、
前記基準画像フレームに遅れる複数の画像フレームを前記第2画像時刻情報に基づいて前記記録媒体から再生する画像再生ステップ、
前記画像再生ステップによって再生される複数の画像フレームに関連する複数の音声ブロックを前記第2音声時刻情報に基づいて前記記録媒体から再生する音声再生ステップ、および
前記音声再生ステップによって再生される音声ブロックについて作成/記録時刻の連続性に関するエラー条件が満足されたとき前記基準画像フレームを再決定する再決定ステップを備える、記録再生方法。 A recording / reproducing method executed by a recording / reproducing apparatus,
A plurality of first image time information along a first time axis that defines an image / sound recording time and second image time information along a second time axis that defines an image / sound creation time A first recording step of recording an image frame on a recording medium;
A second recording step of recording, on the recording medium, a plurality of audio blocks each of which is assigned first audio time information along the first time axis and second audio time information along the second time axis;
A first specifying step of specifying, from among the plurality of sound blocks, a sound block to which first sound time information that satisfies a time condition is satisfied with the first image time information assigned to the reference image frame;
The audio blocks subsequent to the audio block specified by the first specifying step are the audio blocks to which the second audio time information satisfying the time condition is satisfied with the second image time information assigned to the reference image frame. A second specifying step of specifying from
An image reproduction step of reproducing a plurality of image frames delayed from the reference image frame from the recording medium based on the second image time information;
An audio reproduction step of reproducing a plurality of audio blocks related to a plurality of image frames reproduced by the image reproduction step from the recording medium based on the second audio time information; and an audio block reproduced by the audio reproduction step A recording / reproducing method comprising a redetermination step of redetermining the reference image frame when an error condition relating to continuity of creation / recording time is satisfied.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006270445A JP4722005B2 (en) | 2006-10-02 | 2006-10-02 | Recording / playback device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006270445A JP4722005B2 (en) | 2006-10-02 | 2006-10-02 | Recording / playback device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008092253A true JP2008092253A (en) | 2008-04-17 |
JP4722005B2 JP4722005B2 (en) | 2011-07-13 |
Family
ID=39375916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006270445A Expired - Fee Related JP4722005B2 (en) | 2006-10-02 | 2006-10-02 | Recording / playback device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4722005B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011004204A (en) * | 2009-06-19 | 2011-01-06 | Elmo Co Ltd | Video data generation apparatus, video data generation system, video data generation method and computer program |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11187365A (en) * | 1997-12-25 | 1999-07-09 | Meidensha Corp | Still picture transmitting method |
JPH11275560A (en) * | 1998-03-19 | 1999-10-08 | Fujitsu Ltd | Monitoring system, and data processor using the system |
JP2001016558A (en) * | 1999-06-29 | 2001-01-19 | Canon Inc | System and method for communication and terminal device |
JP2001162491A (en) * | 1999-12-09 | 2001-06-19 | Yokogawa Electric Corp | Machining monitor |
JP2001307252A (en) * | 2000-04-25 | 2001-11-02 | Hitachi Ltd | Watch system |
JP2005129975A (en) * | 2003-10-21 | 2005-05-19 | Hitachi Ltd | Information recording and reproducing apparatus |
-
2006
- 2006-10-02 JP JP2006270445A patent/JP4722005B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11187365A (en) * | 1997-12-25 | 1999-07-09 | Meidensha Corp | Still picture transmitting method |
JPH11275560A (en) * | 1998-03-19 | 1999-10-08 | Fujitsu Ltd | Monitoring system, and data processor using the system |
JP2001016558A (en) * | 1999-06-29 | 2001-01-19 | Canon Inc | System and method for communication and terminal device |
JP2001162491A (en) * | 1999-12-09 | 2001-06-19 | Yokogawa Electric Corp | Machining monitor |
JP2001307252A (en) * | 2000-04-25 | 2001-11-02 | Hitachi Ltd | Watch system |
JP2005129975A (en) * | 2003-10-21 | 2005-05-19 | Hitachi Ltd | Information recording and reproducing apparatus |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011004204A (en) * | 2009-06-19 | 2011-01-06 | Elmo Co Ltd | Video data generation apparatus, video data generation system, video data generation method and computer program |
Also Published As
Publication number | Publication date |
---|---|
JP4722005B2 (en) | 2011-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4421156B2 (en) | Image reproducing apparatus and image recording / reproducing apparatus | |
EP1111612B1 (en) | Method and device for managing multimedia file | |
US8249419B2 (en) | Method for generating additional information for guaranteeing seamless playback between data streams, recording medium storing the information, and recording, editing and/or playback apparatus using the same | |
KR20090012152A (en) | Recording apparatus, reproducing apparatus, recording/reproducing apparatus, image pickup apparatus, recording method and program | |
JP2002032975A (en) | Data recording device and method, data recording and reproducing device and method and disk recording medium | |
JP2007306255A (en) | Unit and method for processing information, and computer program | |
JP2004159251A (en) | Video editing apparatus and video editing program | |
CN100454430C (en) | Recording apparatus | |
JP4722005B2 (en) | Recording / playback device | |
US7149409B2 (en) | Reproduction apparatus and reproduction method | |
JP2003189228A (en) | Picture recorder | |
CN102611868B (en) | Motion image data recording equipment and control method thereof | |
JP4297187B2 (en) | After-recording method and apparatus for recording medium, and reproducing method and apparatus for digital recording medium | |
US9025931B2 (en) | Recording apparatus, recording method, and program | |
JP2005151173A (en) | Moving picture recording reproducing apparatus, moving picture reproducer and moving picture reproducing method | |
JP2007036783A (en) | Video editing system and video device | |
JP2006221697A (en) | Optical disk recording apparatus and optical disk recording method | |
JP2006019996A (en) | Image storing/reproducing device | |
JP2006237954A (en) | Image reproducer and image reproduction method | |
JP2009105477A (en) | Reproducing device and reproducing method | |
JP5560999B2 (en) | Video / audio recording / reproducing apparatus and video / audio recording / reproducing method | |
JP2003242717A (en) | Recording and reproducing device | |
JP2004297618A (en) | Image extraction method and image extraction apparatus | |
JP4419126B2 (en) | Editing / reproducing apparatus, editing / reproducing method, and program | |
JP2014121047A (en) | Recorder, recording method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091001 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101224 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110308 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110405 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140415 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |