JP2007028209A - Content reproducing device - Google Patents

Content reproducing device Download PDF

Info

Publication number
JP2007028209A
JP2007028209A JP2005207520A JP2005207520A JP2007028209A JP 2007028209 A JP2007028209 A JP 2007028209A JP 2005207520 A JP2005207520 A JP 2005207520A JP 2005207520 A JP2005207520 A JP 2005207520A JP 2007028209 A JP2007028209 A JP 2007028209A
Authority
JP
Japan
Prior art keywords
contents
mpeg
reproduction
file
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
Application number
JP2005207520A
Other languages
Japanese (ja)
Other versions
JP4761862B2 (en
Inventor
Atsuhiko Tatsuta
篤彦 辰田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2005207520A priority Critical patent/JP4761862B2/en
Publication of JP2007028209A publication Critical patent/JP2007028209A/en
Application granted granted Critical
Publication of JP4761862B2 publication Critical patent/JP4761862B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a content reproducing device capable of improving operability during the reproduction, and also, capable of accurately synchronizing contents with each other. <P>SOLUTION: An HDD 44 reproduces four MPEG-PSs recorded on a hard disk 22 in parallel. A CPU 38 changes each of reproduction positions of the four MPEG-PSs when receiving positional change operation through an operation panel 36. The CPU 38 repeatedly detects a PTS corresponding to the current reproduction position from each of the four contents through MPEG decoders 28a-28d. The CPU 38 adjusts each of the reproduction positions of the four MPEG-PSs so that the time respectively shown by the detected PTSs is coincident with each other when receiving synchronization recovery operation. Consequently, it is possible to improve the operability during the reproduction, and also, to accurately synchronize the contents with each other. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、コンテンツ再生装置に関し、特にたとえば、複数のコンテンツを同期的に再生する、コンテンツ再生装置に関する。   The present invention relates to a content reproduction apparatus, and more particularly to, for example, a content reproduction apparatus that reproduces a plurality of contents synchronously.

従来この種の装置としては、特許文献1に開示されたものが知られている。この従来技術では、複数のコンテンツの各々について、バッファおよびレジスタが準備される。複数のコンテンツはそれぞれ、対応するバッファに蓄積され、対応するレジスタにセットされた時刻に出力される。複数のレジスタに同一の出力時刻をセットすることで、コンテンツ間の同期を正確に取ることが可能となる。
特開平6−214689号公報〔G06F 3/00,1/14,H04N 5/907〕
Conventionally, as this type of apparatus, one disclosed in Patent Document 1 is known. In this prior art, a buffer and a register are prepared for each of a plurality of contents. Each of the plurality of contents is stored in a corresponding buffer and output at the time set in the corresponding register. By setting the same output time in a plurality of registers, it is possible to accurately synchronize content.
JP-A-6-214689 [G06F 3/00, 1/14, H04N 5/907]

しかし、従来技術では、途中で再生速度を変化させたり再生位置を変更したりする操作が想定されておらず、十分な操作性は得られない。また、かかる操作に関連して的確にコンテンツ間の同期を取ることも困難である。
それゆえに、この発明の主たる目的は、再生時の操作性を向上させることができ、かつ的確にコンテンツ間の同期を取ることができる、コンテンツ再生装置を提供することである。
However, in the prior art, an operation for changing the playback speed or changing the playback position is not envisioned, and sufficient operability cannot be obtained. In addition, it is difficult to accurately synchronize contents in relation to such operations.
Therefore, a main object of the present invention is to provide a content reproduction apparatus that can improve operability during reproduction and can accurately synchronize content.

請求項1の発明に従うコンテンツ再生装置は、繰り返し記述された時刻情報を各々が有する複数のコンテンツを並列的に再生するコンテンツ再生装置において、位置変更操作を受け付けたとき複数のコンテンツの各々の再生位置を指定位置に変更する位置変更手段(S97)、現再生位置に対応する時刻情報を複数のコンテンツの各々から繰り返し検出する検出手段(S131〜S135)、および位置変更手段の変更動作の後に同期回復操作を受け付けたとき検出手段によって検出された時刻情報が示す時刻が互いに一致するように複数のコンテンツの各々の再生位置を調整する調整手段(S103,105,S109)を備えることを特徴とする。   The content reproduction apparatus according to the first aspect of the invention is a content reproduction apparatus that reproduces a plurality of contents each having time information that is repeatedly described in parallel, and when each of the plurality of contents is reproduced when a position change operation is accepted. Position change means (S97) for changing the position to the designated position, detection means (S131 to S135) for repeatedly detecting time information corresponding to the current playback position from each of the plurality of contents, and synchronous recovery after the change operation of the position change means It is characterized by comprising adjusting means (S103, 105, S109) for adjusting the reproduction position of each of the plurality of contents so that the times indicated by the time information detected by the detecting means when the operation is accepted are matched with each other.

繰り返し記述された時刻情報を各々が有する複数のコンテンツは、並列的に再生される。位置変更操作を受け付けると、複数のコンテンツの各々の再生位置は、位置変更手段によって指定位置に変更される。検出手段は、現再生位置に対応する時刻情報を複数のコンテンツの各々から繰り返し検出する。調整手段は、位置変更手段の変更動作の後に同期回復操作を受け付けたとき、検出手段によって検出された時刻情報が示す時刻が互いに一致するように、複数のコンテンツの各々の再生位置を調整する。   A plurality of contents each having time information repeatedly described are reproduced in parallel. When the position change operation is accepted, the reproduction position of each of the plurality of contents is changed to a designated position by the position change unit. The detecting means repeatedly detects time information corresponding to the current reproduction position from each of the plurality of contents. The adjusting means adjusts the reproduction position of each of the plurality of contents so that the times indicated by the time information detected by the detecting means coincide with each other when a synchronization recovery operation is received after the changing operation of the position changing means.

つまり、複数のコンテンツの各々の再生位置は、位置変更操作が行われたときに指定位置に変更される一方、同期回復操作が行われたときに現再生位置に対応する時刻情報が互いに一致するように調整される。これによって、再生時の操作性が向上し、かつ必要なときにコンテンツ間の同期が確保される。   In other words, the playback position of each of the plurality of contents is changed to the designated position when the position change operation is performed, and the time information corresponding to the current playback position matches each other when the synchronization recovery operation is performed. To be adjusted. As a result, the operability during reproduction is improved, and synchronization between contents is ensured when necessary.

請求項2の発明に従うコンテンツ再生装置は、請求項1に従属し、速度変更操作を受け付けたとき複数のコンテンツの各々の再生速度を指定速度に変更する速度変更手段(S99)、および調整手段の調整動作に関連して複数のコンテンツの各々の再生速度を基準速度に設定する設定手段(S107)をさらに備える。   A content playback apparatus according to the invention of claim 2 is dependent on claim 1, and includes a speed changing means (S99) for changing the playback speed of each of the plurality of contents to a designated speed when a speed change operation is accepted, and an adjusting means. In relation to the adjustment operation, setting means (S107) is further provided for setting the playback speed of each of the plurality of contents to the reference speed.

複数のコンテンツの各々の再生速度は、速度変更操作が行われたとき指定速度に変更され、再生位置の調整が行われると基準速度に戻される。これによって、操作性がさらに向上し、同期も確保される。   The playback speed of each of the plurality of contents is changed to a designated speed when a speed change operation is performed, and returned to the reference speed when the playback position is adjusted. This further improves operability and ensures synchronization.

請求項3の発明に従うコンテンツ再生装置は、請求項1または2に従属し、再生位置に対応する時刻情報によって示される時期が最も先行する先行コンテンツを複数のコンテンツの中から特定する特定手段(S101)をさらに備え、調整手段は先行コンテンツから検出された時刻情報を基準として調整動作を行う。これにより、効率的な鑑賞が行える。   The content playback apparatus according to the invention of claim 3 is dependent on claim 1 or 2, and the specifying means for specifying, from among the plurality of contents, the preceding content that precedes the time indicated by the time information corresponding to the playback position (S101). ), And the adjustment means performs an adjustment operation based on time information detected from the preceding content. This allows efficient viewing.

請求項4の発明に従うコンテンツ再生装置は、請求項1ないし3のいずれかに従属し、複数のコンテンツは、複数のカメラによって並列的に撮影された複数の映像コンテンツである。   A content reproduction apparatus according to a fourth aspect of the present invention is dependent on any one of the first to third aspects, and the plurality of contents are a plurality of video contents photographed in parallel by a plurality of cameras.

請求項5の発明に従うコンテンツ再生装置は、請求項4に従属し、複数の映像コンテンツの各々はMPEG(Moving Picture Experts Group)方式に従い、時刻情報はPTS(Presentation Time Stamp)である。   The content playback apparatus according to the invention of claim 5 is dependent on claim 4, wherein each of the plurality of video contents is in accordance with MPEG (Moving Picture Experts Group) system, and the time information is PTS (Presentation Time Stamp).

請求項6の発明に従うコンテンツ再生プログラムは、繰り返し記述された時刻情報を各々が有する複数のコンテンツを並列的に再生するコンテンツ再生装置のプロセサによって実行されるコンテンツ再生プログラムであって、位置変更操作を受け付けたとき複数のコンテンツの各々の再生位置を指定位置に変更する位置変更ステップ(S97)、現再生位置に対応する時刻情報を複数のコンテンツの各々から繰り返し検出する検出ステップ(S131〜S135)、および位置変更ステップの変更動作の後に同期回復操作を受け付けたとき検出ステップによって検出された時刻情報が示す時刻が互いに一致するように複数のコンテンツの各々の再生位置を調整する調整ステップ(S103,105,S109)を備える。   A content reproduction program according to a sixth aspect of the invention is a content reproduction program executed by a processor of a content reproduction apparatus that reproduces a plurality of contents each having repeatedly described time information in parallel, and performs a position change operation. A position changing step (S97) for changing the reproduction position of each of the plurality of contents to a designated position when received, a detection step (S131 to S135) for repeatedly detecting time information corresponding to the current reproduction position from each of the plurality of contents; And an adjustment step (S103, 105) that adjusts the reproduction position of each of the plurality of contents so that the times indicated by the time information detected by the detection step coincide with each other when a synchronization recovery operation is received after the change operation of the position change step. , S109).

この発明によれば、再生時の操作性を向上させることができ、かつ的確にコンテンツ間の同期を取ることができる。   According to the present invention, the operability at the time of reproduction can be improved and the contents can be accurately synchronized.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   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を参照して、この実施例のハードディスクビデオレコーダ10は、4つのビデオ入力端子12a〜12dを含む。ビデオ入力端子12a〜12dには、4台の監視カメラ(図示せず)から出力されたコンポジットビデオ信号がそれぞれ入力される。入力されたコンポジットビデオ信号は、それぞれNTSCデコーダ14a〜14dに与えられる。NTSCデコーダ14a〜14dの各々は、与えられたコンポジットビデオ信号をデコードしてビデオデータを出力する。   Referring to FIG. 1, the hard disk video recorder 10 of this embodiment includes four video input terminals 12a to 12d. Composite video signals output from four surveillance cameras (not shown) are input to the video input terminals 12a to 12d, respectively. The input composite video signals are supplied to NTSC decoders 14a to 14d, respectively. Each of the NTSC decoders 14a to 14d decodes a given composite video signal and outputs video data.

NTSCデコーダ14a〜14dから出力されたビデオデータは、記録回路42を形成するMPEGエンコーダ16a〜16dにそれぞれ与えられる。MPEGエンコーダ16a〜16dの各々は、与えられたビデオデータにMPEG方式に従うエンコード処理を施してビデオPES(Packetized Elementary Stream)を出力する。   The video data output from the NTSC decoders 14a to 14d is supplied to the MPEG encoders 16a to 16d forming the recording circuit 42, respectively. Each of the MPEG encoders 16a to 16d performs encoding processing according to the MPEG system on the given video data and outputs a video PES (Packetized Elementary Stream).

MPEGエンコーダ16a〜16dから出力されたビデオPESは、エンコーダバッファ18に書き込まれる。コントローラ20は、書き込まれたビデオPESをチャネル毎に多重してMPEG−PSを生成する。すなわち、MPEGエンコーダ16aから出力されたビデオPESを多重してCH1のMPEG−PSを生成し、MPEGエンコーダ16bから出力されたビデオPESを多重してCH2のMPEG−PSを生成し、MPEGエンコーダ16cから出力されたビデオPESを多重してCH3のMPEG−PSを生成し、そしてMPEGエンコーダ16dから出力されたビデオPESを多重してCH4のMPEG−PSを生成する。   The video PES output from the MPEG encoders 16 a to 16 d is written in the encoder buffer 18. The controller 20 multiplexes the written video PES for each channel to generate MPEG-PS. That is, the video PES output from the MPEG encoder 16a is multiplexed to generate an MPEG-PS for CH1, the video PES output from the MPEG encoder 16b is multiplexed to generate an MPEG-PS for CH2, and the MPEG encoder 16c The output video PES is multiplexed to generate CH3 MPEG-PS, and the video PES output from the MPEG encoder 16d is multiplexed to generate CH4 MPEG-PS.

コントローラ20はまた、生成されたMPEG−PSを形成するビデオフレームを管理するINDEXデータをチャネル毎に生成する。従って、CH1〜CH4の各々について、MPEG−PSとINDEXデータとが生成される。生成されたMPEG−PSおよびINDEXデータは、エンコーダバッファ18を介してHDD(Hard Disk Drive)44に与えられる。   The controller 20 also generates INDEX data for managing the video frames forming the generated MPEG-PS for each channel. Therefore, MPEG-PS and INDEX data are generated for each of CH1 to CH4. The generated MPEG-PS and INDEX data are given to an HDD (Hard Disk Drive) 44 via the encoder buffer 18.

HDD44は、内蔵型のハードディスク22を有する。HDD44は、与えられたMPEG−PSおよびINDEXデータを、チャネル毎に、ハードディスク22に形成されたMPEGファイルおよびINDEXファイルにそれぞれ書き込む。従って、書き込みは、4つのMPEGファイルおよび4つのINDEXファイルに対して並列的に実行されることになる。   The HDD 44 has a built-in hard disk 22. The HDD 44 writes the given MPEG-PS and INDEX data to an MPEG file and an INDEX file formed on the hard disk 22 for each channel. Therefore, writing is performed on four MPEG files and four INDEX files in parallel.

各チャネルの書き込みにあたっては、INDEXデータが常にMPEG−PSに優先する。つまり、たとえばCH1の書き込みでは、まず10秒に相当するINDEXデータがINDEXファイルに書き込まれ、次にこの10秒に対応するMPEG−PSがMPEGファイルに書き込まれる。CH2〜CH4についても同様である。4台の監視カメラの各々によって捉えられた映像は、こうして、MPEGファイルおよびINDEXファイルの態様でハードディスク22に記録される。なお、記録される映像には音声が付随していても構わない。この実施例では、MPEG−PSおよびINDEXデータを総括して“コンテンツ”と定義する。また、MPEGエンコーダ16a〜16dおよびMPEGデコーダ28a〜28dを同時にリセットし、4チャネル同時に録画開始/停止することで、CH1〜CH4の同期が確保される、つまりMPEGエンコーダ16a〜16dから同一もしくは十分近接するPTS値が出力されるものとする。   In writing to each channel, INDEX data always has priority over MPEG-PS. That is, for example, in writing CH1, INDEX data corresponding to 10 seconds is first written to the INDEX file, and then MPEG-PS corresponding to the 10 seconds is written to the MPEG file. The same applies to CH2 to CH4. The video captured by each of the four surveillance cameras is thus recorded on the hard disk 22 in the form of an MPEG file and an INDEX file. The recorded video may be accompanied by audio. In this embodiment, MPEG-PS and INDEX data are collectively defined as “content”. Also, by resetting the MPEG encoders 16a to 16d and the MPEG decoders 28a to 28d at the same time and simultaneously starting / stopping recording for four channels, synchronization of CH1 to CH4 is ensured, that is, the same or sufficiently close to the MPEG encoders 16a to 16d. It is assumed that the PTS value to be output is output.

ここで、図2を参照して、ハードディスク22の記録領域は、管理領域22a,MPEG領域22bおよびINDEX領域22cに区分される。管理領域22aには、チャネル毎の管理データ(図3(A)〜図3(D)参照;後述)を含む管理ファイルが記録される。MPEG領域22aには、CH1のMPEG−PS(図4(A)参照;後述)をそれぞれ含むMPEGファイル#1−1,MPEGファイル#1−2,…と、CH2のMPEG−PSをそれぞれ含むMPEGファイル#2−1,MPEGファイル#2−2,…と、CH3のMPEG−PSをそれぞれ含むMPEGファイル#3−1,MPEGファイル#3−2,…と、CH4のMPEG−PSをそれぞれ含むMPEGファイル#4−1,MPEGファイル#4−2,…とが記録される。   Here, referring to FIG. 2, the recording area of hard disk 22 is divided into a management area 22a, an MPEG area 22b, and an INDEX area 22c. In the management area 22a, a management file including management data for each channel (see FIGS. 3A to 3D; described later) is recorded. The MPEG area 22a includes MPEG files # 1-1, MPEG files # 1-2,... Each including CH1 MPEG-PS (see FIG. 4A; described later), and CH2 MPEG-PS respectively. MPEG file # 3-1, MPEG file # 2-2,..., MPEG file # 3-1, MPEG file # 3-2,. File # 4-1, MPEG file # 4-2,... Are recorded.

INDEX領域22cには、CH1のINDEXデータ(図4(B)参照;後述)をそれぞれ含むINDEXファイル#1−1,INDEXファイル#1−2,…と、CH2のINDEXデータをそれぞれ含むINDEXファイル#2−1,INDEXファイル#2−2,…と、CH3のINDEXデータをそれぞれ含むINDEXファイル#3−1,INDEXファイル#3−2,…と、CH4のINDEXデータをそれぞれ含むINDEXファイル#4−1,INDEXファイル#4−2,…とが記録される。   The INDEX area 22c includes INDEX file # 1-1, INDEX file # 1-2,... Each including CH1 INDEX data (see FIG. 4B), and INDEX file # including CH2 INDEX data. , INDEX file # 2-2,..., INDEX file # 3-1, INDEX file # 3-2,... Each including INDEX data of CH3, and INDEX file # 4- each including INDEX data of CH4. 1, INDEX file # 4-2,... Are recorded.

なお、同一の識別子を付されたMPEGファイルとINDEXファイルとは互いに対応しており、従って、たとえばMPEGファイル#1−1に書き込まれたMPEG−PSに対応するINDEXデータはINDEXファイル#1−1内に存在する。   Note that an MPEG file and an INDEX file assigned the same identifier correspond to each other, and therefore, for example, INDEX data corresponding to MPEG-PS written in MPEG file # 1-1 is INDEX file # 1-1. Exists within.

図3(A)〜図3(D)を参照して、CH1〜CH4の各々の管理データは、スタート時刻,エンド時刻,ファイル番号,MPEGファイル開始位置およびINDEXファイル開始位置が含まれる。“スタート時刻”は、対応するMPEGファイルへの書き込みが開始された時刻を示す。“エンド時刻”は、対応するMPEGファイルへの書き込みが終了した時刻を示す。“ファイル番号”は、対応するMPEGファイルのファイル番号を示す。“MPEGファイル開始位置”は、対応するMPEGファイルの書き込み開始位置を示す。“INDEXファイル開始位置”は、対応するINDEXファイルの書き込み開始位置を示す。   3A to 3D, each management data of CH1 to CH4 includes a start time, an end time, a file number, an MPEG file start position, and an INDEX file start position. “Start time” indicates the time when writing to the corresponding MPEG file is started. “End time” indicates the time when writing to the corresponding MPEG file is completed. “File number” indicates the file number of the corresponding MPEG file. “MPEG file start position” indicates the write start position of the corresponding MPEG file. “INDEX file start position” indicates the write start position of the corresponding INDEX file.

図4(A)を参照して、MPEG−PSは複数のパックによって形成され、各々のパックにはパックヘッダ,システムヘッダおよび複数のPESパケットが含まれる。MPEGフォーマットでは、Iピクチャ,BピクチャおよびPピクチャの3つのタイプが規定されており、1つのピクチャを形成するPESパケットが異なるパックに跨ることはない。Iピクチャはたとえば15フレーム毎に作成され、Iピクチャから始まる15フレームによって1つのGOP(Group Of Pictures)が形成される。監視カメラから出力されるコンポジットビデオ信号は30fpsのフレームレートを有し、従って1GOPを形成する15フレームは0.5秒に相当する。   Referring to FIG. 4A, MPEG-PS is formed by a plurality of packs, and each pack includes a pack header, a system header, and a plurality of PES packets. In the MPEG format, three types of I picture, B picture, and P picture are defined, and PES packets forming one picture do not straddle different packs. An I picture is created, for example, every 15 frames, and one GOP (Group Of Pictures) is formed by 15 frames starting from the I picture. The composite video signal output from the surveillance camera has a frame rate of 30 fps, so 15 frames forming 1 GOP correspond to 0.5 seconds.

パックヘッダにはSCR(System Clock Reference),多重化レートなどが記述され、システムヘッダにはビットレートなどが記述される。複数のPESパケットの各々は、PESパケットヘッダおよびエレメンタリストリームを含む。各々のフレームの提示タイミングを示すPTSは、PESパケットヘッダに記述される。   An SCR (System Clock Reference), a multiplexing rate, and the like are described in the pack header, and a bit rate and the like are described in the system header. Each of the plurality of PES packets includes a PES packet header and an elementary stream. The PTS indicating the presentation timing of each frame is described in the PES packet header.

図4(B)を参照して、INDEXデータは24バイト毎に区分され、区分された24バイトが各々のフレームに割り当てられる。つまり、24バイトのINDEXデータと1つのフレームとが互いに関連する。この24バイトは、対応するフレームのサイズを示すフレームサイズ,対応するフレームのMPEGファイル先頭からの距離を示すオフセット,対応するフレームのタイプを示すフレームタイプ,対応するフレームを作成した時刻を示す時刻情報,および対応するフレームのPTSによって形成される。   Referring to FIG. 4B, the INDEX data is divided every 24 bytes, and the divided 24 bytes are assigned to each frame. That is, 24-byte INDEX data and one frame are associated with each other. The 24 bytes are a frame size indicating the size of the corresponding frame, an offset indicating the distance of the corresponding frame from the beginning of the MPEG file, a frame type indicating the type of the corresponding frame, and time information indicating the time when the corresponding frame was created. , And the corresponding frame PTS.

フレームサイズには4バイトが割り当てられ、オフセットには8バイトが割り当てられ、フレームタイプには4バイトが割り当てられる。また、時刻情報には4バイトが割り当てられ、PTSには4バイトが割り当てられる。   4 bytes are assigned to the frame size, 8 bytes are assigned to the offset, and 4 bytes are assigned to the frame type. Also, 4 bytes are assigned to the time information, and 4 bytes are assigned to the PTS.

かかる管理データおよびINDEXデータを参照することで、指定箇所つまり所望の時刻に記録された映像を含んだMPEGファイルを特定し、さらにMPEGファイルから所望のフレームを特定することができる。   By referring to the management data and the INDEX data, it is possible to specify an MPEG file including a video recorded at a designated location, that is, a desired time, and further specify a desired frame from the MPEG file.

再び図1を参照して、ハードディスク22に記録された映像の再生もまた、4チャネル並列的に実行される。指定箇所再生操作によって所望の時刻が指定されると、まず、CH1の管理データ(図3(A)参照)に基づいて、指定時刻を含むMPEGファイルと、これに対応するINDEXファイルとが特定される。次に、特定されたINDEXファイルに含まれるINDEXデータに基づいて、指定時刻に対応するフレームが特定される。そして、特定されたMPEGファイルの開始位置と、特定されたフレームのオフセットとに基づいて、CH1の再生開始位置が検出される。CH2〜CH4についても、同様にして再生開始位置が検出される。   Referring again to FIG. 1, the reproduction of the video recorded on the hard disk 22 is also executed in parallel for four channels. When a desired time is designated by the designated location reproduction operation, first, an MPEG file including the designated time and an INDEX file corresponding thereto are specified based on the management data of CH1 (see FIG. 3A). The Next, a frame corresponding to the specified time is specified based on the INDEX data included in the specified INDEX file. Then, the reproduction start position of CH1 is detected based on the start position of the specified MPEG file and the specified frame offset. The reproduction start position is similarly detected for CH2 to CH4.

HDD44は、チャネル毎に、検出された再生開始位置からMPEG−PSを再生する。再生されたMPEG−PSは、再生回路46を形成するデコーダバッファ26に書き込まれる。コントローラ24は、書き込まれたCH1〜CH4のMPEG−PSからビデオPESをそれぞれ抽出し、抽出されたビデオPESを対応するMPEGデコーダ28a〜28dに与える。   The HDD 44 reproduces the MPEG-PS from the detected reproduction start position for each channel. The reproduced MPEG-PS is written into the decoder buffer 26 that forms the reproduction circuit 46. The controller 24 extracts video PES from the written MPEG-PS of CH1 to CH4, respectively, and supplies the extracted video PES to the corresponding MPEG decoders 28a to 28d.

MPEGデコーダ28a〜28dの各々は、与えられたビデオPESをデコードしてビデオデータを生成し、生成したビデオデータをマルチプレクサ30に与える。マルチプレクサ30は、与えられたCH1〜CH4のビデオデータを多重する。多重されたビデオデータは、NTSCエンコーダ32に与えられる。NTSCエンコーダ32は、与えられたビデオデータをコンポジットビデオ信号に変換し、変換されたコンポジットビデオ信号をモニタ34に出力する。この結果、4台の監視カメラによってそれぞれ捉えられた4つのシーンが、1つの画面内に表示される。   Each of the MPEG decoders 28 a to 28 d decodes the supplied video PES to generate video data, and supplies the generated video data to the multiplexer 30. The multiplexer 30 multiplexes the given video data of CH1 to CH4. The multiplexed video data is given to the NTSC encoder 32. The NTSC encoder 32 converts the given video data into a composite video signal, and outputs the converted composite video signal to the monitor 34. As a result, four scenes captured by the four surveillance cameras are displayed in one screen.

こうして1画面に表示される4シーンの映像は、同一時刻に撮影されたものである。つまり、指定箇所再生では、CH1〜CH4の映像は、互いに同期が取れた状態で再生される。この状態で、操作パネル36を介して、特定のチャネルに向けて早送り操作またはジャンプ操作が行われると、そのチャネルの再生速度または再生位置を変更する処理が行われる。このような個別変更処理の結果、CH1〜CH4の間の同期は崩れる。   Thus, the four scene images displayed on one screen are taken at the same time. That is, in the designated portion reproduction, the images of CH1 to CH4 are reproduced in a state of being synchronized with each other. In this state, when a fast-forward operation or a jump operation is performed toward a specific channel via the operation panel 36, processing for changing the reproduction speed or reproduction position of that channel is performed. As a result of such individual change processing, the synchronization between CH1 to CH4 is lost.

同期が崩れた後に、操作パネル36を介して同期回復操作が行われると、CH1〜CH4の再生速度をリセットする共に、CH1〜CH4のうち再生位置が最も進んだチャネル(以下“最先チャネル”)を検知して、残りのチャネルの再生位置を最先チャネルのそれに一致させる処理が行われる。以下、この同期回復処理について、図5,図6(A)〜図6(C),図7(A)〜図7(D)および図8(A)〜図8(D)により説明する。   When the synchronization recovery operation is performed via the operation panel 36 after the synchronization is lost, the playback speed of CH1 to CH4 is reset and the channel with the highest playback position among CH1 to CH4 (hereinafter referred to as “first channel”). ) Is detected, and the reproduction position of the remaining channel is matched with that of the earliest channel. Hereinafter, this synchronization recovery processing will be described with reference to FIGS. 5, 6 </ b> A to 6 </ b> C, 7 </ b> A to 7 </ b> D, and 8 </ b> A to 8 </ b> D.

前述のように、MPEGデコーダ28a〜28dでは、MPEG−PSを再生するときPTSが参照される。CPU38は、MPEGデコーダ28a〜28dでMPEG−PSからPTSが検出されたとき、これを取り込む。   As described above, the MPEG decoders 28a to 28d refer to the PTS when reproducing the MPEG-PS. The CPU 38 takes in the PTS when it is detected from the MPEG-PS by the MPEG decoders 28a to 28d.

フラッシュメモリ40にはレジスタR(図5参照)が形成されており、MPEGデコーダ28a〜28dから取り込まれたPTSは、レジスタR内のCH1〜CH4用領域にそれぞれ書き込まれる。書き込まれたPTSは、新たに取り込まれたPTSによって上書きされる。こうして、レジスタRには常時、各チャネルの最新のPTSが保持されることとなる。   A register R (see FIG. 5) is formed in the flash memory 40, and the PTSs fetched from the MPEG decoders 28a to 28d are written in the CH1 to CH4 areas in the register R, respectively. The written PTS is overwritten by the newly captured PTS. In this way, the register R always holds the latest PTS of each channel.

指定箇所再生操作,個別変更操作および同期回復操作の結果、レジスタR内の4つのPTSは、図6(A)〜図6(C)のように変化する。指定箇所再生操作が行われた直後は、図6(A)に示すように、各チャネルのPTSは、時間軸上の概ね同じ位置にある。この後、何の操作も行われなければ、各チャネルのPTSは、かかる位置関係を保ったまま時間軸上を一定速度で進行する。CH2に向けて個別変更操作たとえば早送り操作もしくはジャンプ操作が行われると、図6(B)に示すように、CH2のPTSが他のPTSに先行する状態となる。同期回復操作は、この状態で行われる。   As a result of the designated portion reproduction operation, the individual change operation, and the synchronization recovery operation, the four PTSs in the register R change as shown in FIGS. 6A to 6C. Immediately after the designated portion reproduction operation is performed, as shown in FIG. 6A, the PTSs of the respective channels are substantially at the same position on the time axis. After this, if no operation is performed, the PTS of each channel proceeds on the time axis at a constant speed while maintaining this positional relationship. When an individual change operation, such as a fast-forward operation or a jump operation, is performed toward CH2, as shown in FIG. 6B, the PTS of CH2 comes into a state preceding other PTSs. The synchronization recovery operation is performed in this state.

同期回復操作に応答して、CPU38は、レジスタR内の4つのPTSを互いに比較し、最先のPTSをレジスタRから取得する。次に、取得されたPTSに対応するオフセットもしくは最も近接するオフセットをINDEXデータ(図4(B)参照)から抽出する。そして、デコーダバッファ26をクリアすると共に各チャネルのMPEG−PSを抽出オフセットに対応する位置から1倍速で出力するようコントローラ24に命令する。   In response to the synchronization recovery operation, the CPU 38 compares the four PTSs in the register R with each other and obtains the earliest PTS from the register R. Next, the offset corresponding to the acquired PTS or the closest offset is extracted from the INDEX data (see FIG. 4B). Then, the controller 24 is instructed to clear the decoder buffer 26 and output the MPEG-PS of each channel from the position corresponding to the extraction offset at a single speed.

コントローラ24はかかる命令を実行し、その結果、レジスタR内のCH1,CH3およびCH4のPTSは、図6(C)に示すように、先行するCH2のPTSに追いつく。この後、何の操作も行われなければ、各チャネルのPTSは、互いの位置関係を保ったまま時間軸上を一定速度で進行する。   The controller 24 executes such an instruction, and as a result, the PTSs of CH1, CH3, and CH4 in the register R catch up with the PTS of the preceding CH2, as shown in FIG. After this, if no operation is performed, the PTS of each channel proceeds on the time axis at a constant speed while maintaining the positional relationship with each other.

指定箇所再生操作,個別変更操作および同期回復操作の結果、画面内の4つのシーンは図7(A)〜図7(D)あるいは図8(A)〜図8(D)のように変化する。指定箇所再生操作が行われると、図7(A)または図8(A)に示すように、4つのシーンはいずれも同時刻(10時10分00秒)から1倍速で再生が開始される。   As a result of the designated location reproduction operation, individual change operation, and synchronization recovery operation, the four scenes in the screen change as shown in FIGS. 7A to 7D or FIGS. 8A to 8D. . When the designated location playback operation is performed, as shown in FIG. 7A or FIG. 8A, the playback of all four scenes starts at the same speed (10:10:00) at the same speed. .

この後に個別変更操作としてCH2に向けた早送り操作が行われると、図7(B)に示すように、CH2の再生速度がたとえば2倍速に変更され、その結果、CH2に対応するシーンの時刻が他のシーンのそれに先行する状態となる。時刻の差は、時間の経過と共に拡大していく。時刻の差がたとえば50秒に達したとき同期回復操作が行われると、図7(C)および図7(D)に示すように、CH2の再生速度は1倍速に変更され、CH1,CH3およびCH4各々の時刻は50秒前方に移動される。これによって、4つのシーンで時刻および再生速度が一致する。   Thereafter, when a fast forward operation toward CH2 is performed as an individual change operation, the playback speed of CH2 is changed to, for example, double speed as shown in FIG. 7B, and as a result, the time of the scene corresponding to CH2 is changed. It becomes a state preceding that of other scenes. The difference in time increases with the passage of time. When the synchronization recovery operation is performed when the time difference reaches 50 seconds, for example, as shown in FIGS. 7C and 7D, the reproduction speed of CH2 is changed to 1 × speed, and CH1, CH3, and The time of each CH4 is moved forward by 50 seconds. As a result, the time and playback speed match in the four scenes.

一方、個別操作としてCH2に向けたジャンプ操作が行われると、図8(B)に示すように、CH2に対応するシーンの時刻は、たとえば4分40秒前方に一息に移動する。この場合、CH2に対応するシーンの時刻と他のシーンのそれとの差は4分40秒に保たれる。同期回復操作が行われると、図8(C)および図8(D)に示すように、CH1,CH3およびCH4各々の時刻は4分40秒秒前方に移動される。これによって、4つのシーンで時刻および再生速度が一致する。   On the other hand, when a jump operation toward CH2 is performed as an individual operation, as shown in FIG. 8B, the time of the scene corresponding to CH2 moves to a breath forward, for example, 4 minutes and 40 seconds. In this case, the difference between the time of the scene corresponding to CH2 and that of the other scene is kept at 4 minutes 40 seconds. When the synchronization recovery operation is performed, as shown in FIGS. 8C and 8D, the times of CH1, CH3, and CH4 are moved forward by 4 minutes and 40 seconds. As a result, the time and playback speed match in the four scenes.

なお、この実施例のハードディスクビデオレコーダ10では、オペレータによって通常録画操作が行われない時でも、録画が行われる。かかる録画動作を“テンポラリ録画”と定義する。このとき、CH1〜CH4のMPEG−PSは、CH1〜CH4のテンポラリ録画用のMPEGファイルに循環的に書き込まれる。   In the hard disk video recorder 10 of this embodiment, recording is performed even when the normal recording operation is not performed by the operator. Such a recording operation is defined as “temporary recording”. At this time, the MPEG-PS of CH1 to CH4 is cyclically written in the MPEG file for temporary recording of CH1 to CH4.

また、オペレータによる指定箇所再生操作が行われないとき、ハードディスク22に記録されたMPEG−PSが速やかに再生される。つまり、同じMPEG−PSの記録/再生がほぼ同時に行われる。かかる再生動作を“ライブ再生”と定義する。指定箇所再生操作が行われると、ライブ再生が中断され、指定された箇所のMPEG−PSがハードディスク22から再生される。なお、指定箇所再生動作が行われる間も、上述のテンポラリ録画または通常録画は実行される。   Further, when the designated portion reproduction operation by the operator is not performed, the MPEG-PS recorded on the hard disk 22 is reproduced promptly. That is, the same MPEG-PS recording / reproduction is performed almost simultaneously. Such playback operation is defined as “live playback”. When the designated part reproduction operation is performed, the live reproduction is interrupted, and the MPEG-PS at the designated part is reproduced from the hard disk 22. Note that the above-described temporary recording or normal recording is performed even while the designated portion reproduction operation is performed.

また、1つのMPEGファイルに記録可能なデータ量は、1Gバイト以下に制限される。HDD44は、CH1〜CH4の各々において、指定されたMPEGファイルが満杯となると、次のMPEGファイルおよびINDEXファイルを新たな記録先として指定する。後続のMPEG−PSおよびINDEXデータは、新規に指定されたMPEGファイルおよびINDEXファイルにそれぞれ記録される。このように記録先ファイルを更新する動作を“ファイル跨ぎ”と定義する。   The amount of data that can be recorded in one MPEG file is limited to 1 Gbyte or less. When the designated MPEG file is full in each of CH1 to CH4, the HDD 44 designates the next MPEG file and INDEX file as new recording destinations. Subsequent MPEG-PS and INDEX data are recorded in the newly designated MPEG file and INDEX file, respectively. The operation of updating the recording destination file in this way is defined as “file straddling”.

かかるファイル跨ぎは、再生時にも発生する。つまり、指定されたMPEGファイルから全てのMPEG−PSが再生されると、次のMPEGファイルが再生先として指定され、指定されたMPEGファイルからMPEG−PSが再生される。   Such file straddling also occurs during playback. That is, when all the MPEG-PSs are reproduced from the designated MPEG file, the next MPEG file is designated as the reproduction destination, and the MPEG-PS is reproduced from the designated MPEG file.

CPU38は、μITRONのようなマルチタスクOSの制御下で、図9に示すメインタスク,図10および〜図11に示す通常録画タスク,図12および図13に示す指定箇所再生タスク,および図14に示すPTS取り込みタスクを並列的に実行する。なお、これらのタスクに対応する制御プログラムは、フラッシュメモリ40に記憶される。   Under the control of a multitasking OS such as μITRON, the CPU 38 performs the main task shown in FIG. 9, the normal recording task shown in FIGS. 10 and 11, the designated portion reproduction task shown in FIGS. 12 and 13, and the FIG. The indicated PTS capture task is executed in parallel. Note that control programs corresponding to these tasks are stored in the flash memory 40.

まず、メインタスクについて説明する。図9を参照して、ステップS1およびS3では通常録画タスクおよび指定箇所再生タスクをそれぞれ起動し、ステップS5ではMPEGエンコーダ16a〜16dおよびMPEGデコーダ28a〜28dを起動し、そしてステップS7ではテンポラリ録画用の4個のMPEGファイルのオープンをHDD44に命令する。ステップS9では、テンポラリ録画の開始をHDD44に命令し、ステップS11ではライブ再生の開始をHDD44に命令する。これによって、テンポラリ録画された映像および音声が、録画とほぼ同時に出力される。   First, the main task will be described. Referring to FIG. 9, in steps S1 and S3, a normal recording task and a designated portion reproduction task are activated, respectively, in step S5, MPEG encoders 16a to 16d and MPEG decoders 28a to 28d are activated, and in step S7, for temporary recording. The HDD 44 is instructed to open the four MPEG files. In step S9, the HDD 44 is instructed to start temporary recording, and in step S11, the HDD 44 is instructed to start live playback. As a result, the temporarily recorded video and audio are output almost simultaneously with the recording.

テンポラリ録画およびライブ再生が開始されると、通常録画開始命令が発行されたか否かをステップS13で判別し、通常録画停止命令が発行されたか否かをステップS15で判別し、指定箇所再生開始命令が発行されたか否かをステップS25で判別し、そして指定箇所再生停止命令が発行されたか否かをステップS27で判別する。   When temporary recording and live playback are started, it is determined whether or not a normal recording start command is issued in step S13, and whether or not a normal recording stop command is issued is determined in step S15, and a specified location playback start command is issued. Is determined in step S25, and it is determined in step S27 whether or not a designated portion reproduction stop command has been issued.

操作パネル36によって通常録画開始操作が行われると、通常録画開始命令が発行され、操作パネル36によって通常録画停止操作が行われると、通常録画停止命令が発行される。また、操作パネル36によって指定箇所再生開始操作が行われると、指定箇所再生開始命令が発行され、操作パネル36によって指定箇所再生停止操作が行われると、指定箇所再生停止命令が発行される。   When a normal recording start operation is performed by the operation panel 36, a normal recording start command is issued. When a normal recording stop operation is performed by the operation panel 36, a normal recording stop command is issued. In addition, when a designated portion reproduction start operation is performed by the operation panel 36, a designated portion reproduction start command is issued. When a designated portion reproduction stop operation is performed by the operation panel 36, a designated portion reproduction stop command is issued.

ステップS13でYESと判断されると、ステップS17でテンポラリ録画の停止をHDD44に命令し、ステップS19でテンポラリ録画用の4個のMPEGファイルのクローズをHDD44に命令する。   If YES is determined in the step S13, the HDD 44 is instructed to stop temporary recording in a step S17, and the HDD 44 is instructed to close four MPEG files for temporary recording in a step S19.

ステップS15でYESと判断されると、ステップS21でテンポラリ録画用の4個のMPEGファイルのオープンをHDD44に命令し、ステップS23でテンポラリ録画の開始をHDD44に命令する。   If YES is determined in the step S15, the HDD 44 is instructed to open four MPEG files for temporary recording in a step S21, and the HDD 44 is instructed to start temporary recording in a step S23.

ステップS25でYESと判断されると、ステップS29でライブ再生の停止をHDD44に命令する。ステップS27でYESと判断されると、ステップS31でライブ再生の開始をHDD44に命令する。   If YES is determined in the step S25, the HDD 44 is instructed to stop the live reproduction in a step S29. If YES is determined in the step S27, the HDD 44 is instructed to start live reproduction in a step S31.

次に、通常録画タスクについて説明する。図10を参照して、通常録画開始命令が発行されたか否かをステップS41で判別し、YESであれば、ステップS43で管理ファイル,4個のMPEGファイルおよび4個のINDEXファイルのオープンをHDD44に命令する。ファイルがオープンされると、ステップS45で通常録画の開始をHDD44に命令する。   Next, the normal recording task will be described. Referring to FIG. 10, it is determined in step S41 whether or not a normal recording start command has been issued. If YES, the management file, the four MPEG files, and the four INDEX files are opened in HDD 44 in step S43. To order. When the file is opened, the HDD 44 is instructed to start normal recording in step S45.

続くステップS47では、CH1〜CH4の各々について、録画開始時刻start_time,ファイル番号fnum,MPEGファイル開始位置MstartおよびINDEXファイル開始位置Istartを管理ファイルに書き込むことをHDD44に命令する。   In subsequent step S47, for each of CH1 to CH4, the HDD 44 is instructed to write the recording start time start_time, the file number fnum, the MPEG file start position Mstart, and the INDEX file start position Istart to the management file.

ステップS49では通常録画停止命令が発行されたか否か判別し、ステップS51ではファイル跨ぎが発生したか否かつまり書き込み先のMPEGファイルが満杯となったか否かを判別する。ステップS49でYESであれば、ステップS53で通常録画の停止をHDD44に命令し、ステップS55でCH1〜CH4の各々について録画終了時刻end_timeを管理ファイルに追記することをHDD44に命令する。そしてステップS57で、MPEGファイル,INDEXファイルおよび管理ファイルのクローズをHDD44に命令し、その後ステップS41に戻る。   In step S49, it is determined whether or not a normal recording stop command has been issued. In step S51, it is determined whether or not file straddling has occurred, that is, whether or not the writing destination MPEG file has become full. If “YES” in the step S49, the HDD 44 is instructed to stop the normal recording in a step S53, and the HDD 44 is instructed to add the recording end time end_time to the management file for each of the CH1 to CH4 in a step S55. In step S57, the HDD 44 is instructed to close the MPEG file, INDEX file, and management file, and then the process returns to step S41.

ステップS51でYESであれば、ステップS59〜S67が実行される。図11を参照して、ステップS59では、ファイル跨ぎが発生したチャネルについて終了時刻end_timeを管理ファイルに追記することをHDD44に命令する。ステップS61では、ファイル跨ぎが発生したチャネルについてMPEGファイルのクローズをHDD44に命令する。ステップS63ではファイル跨ぎが発生したチャネルについて次のMPEGファイルのオープンをHDD44に命令し、ステップS65ではオープンされたMPEGファイルの先頭から録画を開始することをHDD44に命令する。ステップS67では、ファイル跨ぎが発生したチャネルについて、録画開始時刻start_time,ファイル番号fnum,MPEGファイル開始位置MstartおよびINDEXファイル開始位置Istartを管理ファイルに書き込むことをHDD44に命令する。書き込みが完了すると、ステップS49に戻る。   If YES in step S51, steps S59 to S67 are executed. Referring to FIG. 11, in step S59, the HDD 44 is instructed to add the end time end_time to the management file for the channel where the file crossing has occurred. In step S61, the HDD 44 is instructed to close the MPEG file for the channel where the file straddling has occurred. In step S63, the HDD 44 is instructed to open the next MPEG file for the channel where the file straddle has occurred, and in step S65, the HDD 44 is instructed to start recording from the top of the opened MPEG file. In step S67, the HDD 44 is instructed to write the recording start time start_time, the file number fnum, the MPEG file start position Mstart, and the INDEX file start position Istart to the management file for the channel where the file crossing has occurred. When the writing is completed, the process returns to step S49.

次に、指定箇所再生タスクについて説明する。図12を参照して、まずステップS81で指定箇所再生開始命令が発行されたか否か判別し、YESであればステップS83でCH1〜CH4の各々について、指定箇所を含むMPEGファイルおよびこれに対応するINDEXファイルのオープンをHDD44に命令する。オープンすべきMPEGファイルおよびINDEXファイルのファイル番号は、管理ファイル内の管理データ(図3(A)〜図3(D))を参照することで特定される。命令には、特定された4個のファイル番号が記述される。   Next, the designated place reproduction task will be described. Referring to FIG. 12, first, at step S81, it is determined whether or not a designated location reproduction start command has been issued. If YES, an MPEG file including the designated location and corresponding to each of CH1 to CH4 at step S83. The HDD 44 is instructed to open the INDEX file. The file numbers of the MPEG file and the INDEX file to be opened are specified by referring to the management data (FIGS. 3A to 3D) in the management file. The specified four file numbers are described in the command.

ステップS85では、CH1〜CH4にそれぞれ対応する4つのPTS取り込みタスク(図14参照)を起動する。ステップS87では、CH1〜CH4の各々について、オープンされたMPEGファイル内のMPEG−PSの特定フレームから再生を開始することをHDD44に命令する。再生を開始すべきフレームは、オープンされたINDEXファイル内のINDEXデータを参照することで特定される。命令には、特定されたフレームのオフセットが記述される。   In step S85, four PTS import tasks (see FIG. 14) corresponding to CH1 to CH4, respectively, are activated. In step S87, for each of CH1 to CH4, the HDD 44 is instructed to start playback from a specific frame of MPEG-PS in the opened MPEG file. The frame to be played back is specified by referring to the INDEX data in the opened INDEX file. The instruction describes the offset of the specified frame.

この後、処理はステップS89,S91,S111およびS113のループに入る。ステップS89では個別変更命令が発行されたか否かを判別し、ステップS91では同期回復命令が発行されたか否かを判別する。図13に移って、ステップS111ではファイル跨ぎが発生したか否かを判別し、ステップS113では指定箇所再生停止命令が発行されたか否かを判別する。   Thereafter, the process enters a loop of steps S89, S91, S111 and S113. In step S89, it is determined whether an individual change command has been issued. In step S91, it is determined whether a synchronization recovery command has been issued. Turning to FIG. 13, it is determined in step S111 whether or not file straddling has occurred, and in step S113, it is determined whether or not a designated location playback stop command has been issued.

図12に戻って、ステップS89でYESであれば、ステップS93で個別変更命令が速度変更か否かを判別し、ステップS95で個別変更命令が速度変更か否かを判別する。ステップS93でYESであれば、ステップS99に移って対象チャネルの再生速度を変更する。ステップS95でNOであれば、ステップS97に移って対象チャネルの再生位置を変更する。変更後、ループに戻る。   Returning to FIG. 12, if “YES” in the step S89, it is determined whether or not the individual change command is a speed change in a step S93, and whether or not the individual change command is a speed change is determined in a step S95. If “YES” in the step S93, the process proceeds to a step S99 to change the reproduction speed of the target channel. If “NO” in the step S95, the process shifts to a step S97 to change the reproduction position of the target channel. After the change, return to the loop.

ステップS91でYESであれば、ステップS101〜S109を実行する。すなわち、ステップS101では、レジスタR内の4つのPTSを互いに比較し、比較結果に基づいて最先のPTSを特定する。ステップS103では、特定されたPTSをレジスタRから取得する。ステップS105では、CH1〜CH4の各々について、取得されたPTSに対応するオフセットもしくは最も近接するオフセットを、オープンされているINDEXファイルに含まれるINDEXデータから抽出する。   If YES in step S91, steps S101 to S109 are executed. That is, in step S101, the four PTSs in the register R are compared with each other, and the earliest PTS is specified based on the comparison result. In step S103, the specified PTS is acquired from the register R. In step S105, for each of CH1 to CH4, the offset corresponding to the acquired PTS or the closest offset is extracted from the INDEX data included in the opened INDEX file.

ステップS107では、CH1〜CH4の各々について再生速度を1倍速に再設定する。ステップS109では、CH1〜CH4の各々について、再生位置を、抽出されたオフセットに対応する位置に再設定する。かかる再設定の結果、CH1〜CH4にそれぞれ対応する4つのMPEG−PSの同期が回復される(図6(B),図6(C)参照)。この後、ループに戻る。   In step S107, the reproduction speed is reset to 1 × for each of CH1 to CH4. In step S109, the reproduction position is reset to a position corresponding to the extracted offset for each of CH1 to CH4. As a result of the resetting, the synchronization of the four MPEG-PSs corresponding to CH1 to CH4 is restored (see FIGS. 6B and 6C). After this, return to the loop.

図13を参照して、ステップS111でYESであれば、ステップS115に移って、ファイル跨ぎが発生したチャネルについて、次のMPEGファイルのオープンをHDD44に命令する。続くステップS117では、オープンされたMPEGファイルの先頭から再生を開始することをHDD44に命令する。そしてステップS119で、再生済みのMPEGファイルのクローズをHDD44に命令する。この後、ループに戻る。   Referring to FIG. 13, if “YES” in the step S111, the process shifts to a step S115 to instruct the HDD 44 to open the next MPEG file for the channel where the file straddling has occurred. In the subsequent step S117, the HDD 44 is instructed to start reproduction from the top of the opened MPEG file. In step S119, the HDD 44 is instructed to close the reproduced MPEG file. After this, return to the loop.

ステップS113でYESであれば、ステップS115に移って、再生の停止をHDD44に命令する。続くステップS113でMPEGファイルおよびINDEXファイルのクローズをHDD44に命令し、ステップS125ではPTS取り込みタスクを終了する。そして、このタスク自身を終了する。   If “YES” in the step S113, the process shifts to a step S115 to instruct the HDD 44 to stop the reproduction. In step S113, the HDD 44 is instructed to close the MPEG file and the INDEX file, and in step S125, the PTS import task is terminated. Then, this task itself is finished.

次に、PTS取り込みタスクについて説明する。図14を参照して、CH1用のPTS取り込みタスクでは、まずステップS131で、MPEGデコーダ28aがPTSを検出したか否かを判別し、YESであればステップS113に移って、検出されたPTSをMPEGデコーダ28aから取り込む。続くステップS115では、取り込まれたPTSをレジスタRのCH1用領域(図5参照)に書き込む。書き込み後、ステップS131に戻る。なお、CH2〜CH4用のPTS取り込みタスクでも、これと同様の処理が行われる。   Next, the PTS import task will be described. Referring to FIG. 14, in the PTS import task for CH1, first, in step S131, it is determined whether or not the MPEG decoder 28a has detected PTS. If YES, the process proceeds to step S113, and the detected PTS is detected. Captured from the MPEG decoder 28a. In the subsequent step S115, the fetched PTS is written in the CH1 area of the register R (see FIG. 5). After writing, the process returns to step S131. Note that the same processing is performed in the PTS import task for CH2 to CH4.

以上の説明から分かるように、この実施例では、HDD44は、ハードディスク22に記録された4つのMPEG−PSを並列的に再生する。CPU38は、位置変更操作を受け付けると、4つのMPEG−PSの各々の再生位置を指定位置に変更する(S97)。   As can be seen from the above description, in this embodiment, the HDD 44 reproduces four MPEG-PS recorded on the hard disk 22 in parallel. When receiving the position change operation, the CPU 38 changes the reproduction position of each of the four MPEG-PSs to the designated position (S97).

一方、CPU38は、MPEGデコーダ28a〜28dを通して、現再生位置に対応するPTSを4つのコンテンツの各々から繰り返し検出する(S131〜S135)。そして、同期回復操作を受け付けたとき、検出されたPTSが示す時刻が互いに一致するように、4つのMPEG−PSの各々の再生位置を調整する(S103,S105,S109)。   On the other hand, the CPU 38 repeatedly detects the PTS corresponding to the current reproduction position from each of the four contents through the MPEG decoders 28a to 28d (S131 to S135). When the synchronization recovery operation is accepted, the reproduction positions of the four MPEG-PSs are adjusted so that the times indicated by the detected PTSs coincide with each other (S103, S105, S109).

つまり、複数のMPEG−PSの各々の再生位置は、位置変更操作が行われたときに指定位置に変更される一方、同期回復操作が行われたときに現再生位置に対応するPTSが互いに一致するように調整される。これによって、再生時の操作性が向上し、かつ必要なときにコンテンツ間の同期が確保される。   That is, the playback positions of each of the plurality of MPEG-PSs are changed to the designated positions when the position change operation is performed, while the PTSs corresponding to the current playback position match when the synchronization recovery operation is performed. To be adjusted. As a result, the operability during reproduction is improved, and synchronization between contents is ensured when necessary.

また、CPU38は、速度変更操作を受け付けたとき、複数のMPEG−PSの各々の再生速度を指定速度に変更する(S99)。そして、再生位置の調整に伴って、複数のコンテンツの各々の再生速度を基準速度に再設定する(S107)。つまり、複数のコンテンツの各々の再生速度は、速度変更操作が行われたとき指定速度に変更され、再生位置の調整が行われると基準速度に戻される。これによって、操作性がさらに向上し、同期も確保される。   Further, when receiving the speed change operation, the CPU 38 changes the playback speed of each of the plurality of MPEG-PSs to the designated speed (S99). Then, along with the adjustment of the playback position, the playback speed of each of the plurality of contents is reset to the reference speed (S107). That is, the playback speed of each of the plurality of contents is changed to the designated speed when the speed changing operation is performed, and returned to the reference speed when the playback position is adjusted. This further improves operability and ensures synchronization.

CPU38は、再生位置に対応するPTSによって示される時期が最も先行するMPEG−PSを複数のMPEG−PSの中から特定する(S101)。そして、特定されたMPEG−PSから検出されたPTSを基準として、再生位置の調整を行う。これにより、効率的な鑑賞が行える。   The CPU 38 identifies the MPEG-PS with the earliest timing indicated by the PTS corresponding to the reproduction position from among the plurality of MPEG-PS (S101). Then, the playback position is adjusted based on the PTS detected from the specified MPEG-PS. This allows efficient viewing.

なお、この実施例では、最も先行するMPEG−PSから検出されたPTSを基準に再生位置の調整を行ったが、最も後方を行くMPEG−PSから検出されたPTSを基準にこれを行ってもよい。これにより、見落としの少ない慎重な鑑賞が行える。さらには、どのMPEG−PSから検出されたPTSを基準に調整を行うかを任意に選択できるようにしてもよい。これにより、状況に適した鑑賞が行える。あるいは、いずれか1つのPTSを基準に再生位置の調整を行う代わりに、複数のPTSに基づいて基準時刻を算出し、算出結果に従って再生位置の調整を行ってもよい。   In this embodiment, the playback position is adjusted based on the PTS detected from the most preceding MPEG-PS. However, even if this is performed based on the PTS detected from the most backward MPEG-PS. Good. This allows for careful viewing with few oversights. Further, it may be possible to arbitrarily select which MPEG-PS is used for adjustment based on the detected PTS. Thereby, appreciation suitable for the situation can be performed. Alternatively, instead of adjusting the playback position based on any one PTS, the reference time may be calculated based on a plurality of PTSs, and the playback position may be adjusted according to the calculation result.

以上では、ハードディスクビデオレコーダ10を用いて説明したが、この発明は、繰り返し記述された時刻情報を各々が有する複数のコンテンツを並列的に再生するコンテンツ再生装置への適用が可能である。   The hard disk video recorder 10 has been described above, but the present invention can be applied to a content playback apparatus that plays back a plurality of contents each having time information that is repeatedly described.

この発明の一実施例を示すブロック図である。It is a block diagram which shows one Example of this invention. 図1実施例に適用されるハードディスクのマッピング状態を示す図解図である。It is an illustration figure which shows the mapping state of the hard disk applied to the FIG. 1 Example. (A)は図1実施例で作成されるCH1管理データの一例を示す図解図であり、(B)は図1実施例で作成されるCH2管理データの一例を示す図解図であり、(C)は図1実施例で作成されるCH3管理データの一例を示す図解図であり、(D)は図1実施例で作成されるCH4管理データの一例を示す図解図である。(A) is an illustrative view showing an example of CH1 management data created in the embodiment of FIG. 1, and (B) is an illustrative view showing an example of CH2 management data created in the embodiment of FIG. ) Is an illustrative view showing one example of CH3 management data created in FIG. 1 embodiment, and (D) is an illustrative view showing one example of CH4 management data created in FIG. 1 embodiment. (A)は図1実施例で作成されるMPEG−PSの構造を示す図解図であり、(B)は図1実施例で作成されるINDEXデータの構造を示す図解図である。(A) is an illustrative view showing a structure of MPEG-PS created in the embodiment of FIG. 1, and (B) is an illustrative view showing a structure of INDEX data created in the embodiment of FIG. 図1実施例に適用されるレジスタの構成例を示す図解図である。FIG. 3 is an illustrative view showing a configuration example of a register applied to the embodiment in FIG. 1; (A)〜(C)は図5レジスタに保持された4個のPTSの位置関係の変化を示す図解図である。(A)-(C) is an illustration figure which shows the change of the positional relationship of four PTS hold | maintained at the register | resistor of FIG. (A)〜(D)は図1実施例で表示される画面の変化の一例を示す図解図である。(A)-(D) is an illustration figure which shows an example of the change of the screen displayed in FIG. 1 Example. (A)〜(D)は図1実施例で表示される画面の変化の他の一例を示す図解図である。(A)-(D) is an illustration figure which shows another example of the change of the screen displayed in FIG. 1 Example. 図1実施例の動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of FIG. 1 Example. 図1実施例の動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of FIG. 1 Example. 図1実施例の動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of FIG. 1 Example. 図1実施例の動作のさらにその他の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of FIG. 1 Example further. 図1実施例の動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of FIG. 1 Example. 図1実施例の動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of FIG. 1 Example.

符号の説明Explanation of symbols

10 …ハードディスクビデオレコーダ
16a〜16d …MPEGエンコーダ
18 …エンコーダバッファ
20,24 …コントローラ
22 …ハードディスク
26 …デコーダバッファ
28a〜28d …MPEGデコーダ
30 …マルチプレクサ
34 …モニタ
38 …CPU
42 …記録回路
44 …ハードディスクドライブ(HDD)
46 …再生回路
DESCRIPTION OF SYMBOLS 10 ... Hard disk video recorder 16a-16d ... MPEG encoder 18 ... Encoder buffer 20, 24 ... Controller 22 ... Hard disk 26 ... Decoder buffer 28a-28d ... MPEG decoder 30 ... Multiplexer 34 ... Monitor 38 ... CPU
42 ... Recording circuit 44 ... Hard disk drive (HDD)
46. Reproduction circuit

Claims (6)

繰り返し記述された時刻情報を各々が有する複数のコンテンツを並列的に再生するコンテンツ再生装置において、
位置変更操作を受け付けたとき前記複数のコンテンツの各々の再生位置を指定位置に変更する位置変更手段、
現再生位置に対応する時刻情報を前記複数のコンテンツの各々から繰り返し検出する検出手段、および
前記位置変更手段の変更動作の後に同期回復操作を受け付けたとき前記検出手段によって検出された時刻情報が示す時刻が互いに一致するように前記複数のコンテンツの各々の再生位置を調整する調整手段を備えることを特徴とする、コンテンツ再生装置。
In a content reproduction apparatus for reproducing a plurality of contents each having time information repeatedly described in parallel,
Position changing means for changing the reproduction position of each of the plurality of contents to a designated position when a position changing operation is received;
Detection means for repeatedly detecting time information corresponding to the current reproduction position from each of the plurality of contents, and time information detected by the detection means when a synchronization recovery operation is received after a change operation of the position change means An apparatus for reproducing content, comprising adjusting means for adjusting a reproduction position of each of the plurality of contents so that times coincide with each other.
速度変更操作を受け付けたとき前記複数のコンテンツの各々の再生速度を指定速度に変更する速度変更手段、および
前記調整手段の調整動作に関連して前記複数のコンテンツの各々の再生速度を基準速度に設定する設定手段をさらに備える、請求項1記載のコンテンツ再生装置。
A speed changing means for changing the playback speed of each of the plurality of contents to a designated speed when a speed change operation is received; and a playback speed of each of the plurality of contents is set to a reference speed in connection with the adjustment operation of the adjusting means. The content reproduction apparatus according to claim 1, further comprising setting means for setting.
再生位置に対応する時刻情報によって示される時期が最も先行する先行コンテンツを前記複数のコンテンツの中から特定する特定手段をさらに備え、
前記調整手段は前記先行コンテンツから検出された時刻情報を基準として調整動作を行う、請求項1または2記載のコンテンツ再生装置。
Further comprising specifying means for specifying, from among the plurality of contents, preceding contents whose time indicated by the time information corresponding to the reproduction position is most advanced,
The content reproduction apparatus according to claim 1, wherein the adjustment unit performs an adjustment operation based on time information detected from the preceding content.
前記複数のコンテンツは、複数のカメラによって並列的に撮影された複数の映像コンテンツである、請求項1ないし3のいずれかに記載のコンテンツ再生装置。   The content reproduction apparatus according to any one of claims 1 to 3, wherein the plurality of contents are a plurality of video contents photographed in parallel by a plurality of cameras. 前記複数の映像コンテンツの各々はMPEG方式に従い、
前記時刻情報はPTSである、請求項4記載のコンテンツ再生装置。
Each of the plurality of video contents follows the MPEG system,
The content reproduction apparatus according to claim 4, wherein the time information is PTS.
繰り返し記述された時刻情報を各々が有する複数のコンテンツを並列的に再生するコンテンツ再生装置のプロセサによって実行されるコンテンツ再生プログラムであって、
位置変更操作を受け付けたとき前記複数のコンテンツの各々の再生位置を指定位置に変更する位置変更ステップ、
現再生位置に対応する時刻情報を前記複数のコンテンツの各々から繰り返し検出する検出ステップ、および
前記位置変更ステップの変更動作の後に同期回復操作を受け付けたとき前記検出ステップによって検出された時刻情報が示す時刻が互いに一致するように前記複数のコンテンツの各々の再生位置を調整する調整ステップを備える、コンテンツ再生プログラム。
A content reproduction program that is executed by a processor of a content reproduction apparatus that reproduces a plurality of contents each having repeatedly described time information in parallel,
A position changing step for changing the playback position of each of the plurality of contents to a designated position when a position changing operation is received;
A detection step that repeatedly detects time information corresponding to the current reproduction position from each of the plurality of contents, and time information detected by the detection step when a synchronization recovery operation is received after the change operation of the position change step A content playback program comprising an adjusting step of adjusting the playback position of each of the plurality of contents so that the times coincide with each other.
JP2005207520A 2005-07-15 2005-07-15 Content playback device Expired - Fee Related JP4761862B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005207520A JP4761862B2 (en) 2005-07-15 2005-07-15 Content playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005207520A JP4761862B2 (en) 2005-07-15 2005-07-15 Content playback device

Publications (2)

Publication Number Publication Date
JP2007028209A true JP2007028209A (en) 2007-02-01
JP4761862B2 JP4761862B2 (en) 2011-08-31

Family

ID=37788378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005207520A Expired - Fee Related JP4761862B2 (en) 2005-07-15 2005-07-15 Content playback device

Country Status (1)

Country Link
JP (1) JP4761862B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036867A (en) * 1999-07-23 2001-02-09 Gen Tec:Kk Synchronous display device for plural channel moving images
JP2002262233A (en) * 2001-03-01 2002-09-13 Mitsubishi Electric Corp Behavior measurement system
JP2002344897A (en) * 2001-05-16 2002-11-29 Mitsubishi Electric Corp Video display device
JP2004007118A (en) * 2002-05-31 2004-01-08 Toshiba Corp Television signal reproducing apparatus and reproducing method
JP2005276383A (en) * 2004-03-26 2005-10-06 Victor Co Of Japan Ltd Picture file recording and reproducing apparatus and picture file recording and reproducing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001036867A (en) * 1999-07-23 2001-02-09 Gen Tec:Kk Synchronous display device for plural channel moving images
JP2002262233A (en) * 2001-03-01 2002-09-13 Mitsubishi Electric Corp Behavior measurement system
JP2002344897A (en) * 2001-05-16 2002-11-29 Mitsubishi Electric Corp Video display device
JP2004007118A (en) * 2002-05-31 2004-01-08 Toshiba Corp Television signal reproducing apparatus and reproducing method
JP2005276383A (en) * 2004-03-26 2005-10-06 Victor Co Of Japan Ltd Picture file recording and reproducing apparatus and picture file recording and reproducing program

Also Published As

Publication number Publication date
JP4761862B2 (en) 2011-08-31

Similar Documents

Publication Publication Date Title
JP4369271B2 (en) System and method for time synchronization between multimedia content and segment metadata
TWI342711B (en) Information storage medium having recorded thereon text subtitle data synchronized with av data, and reproducing apparatus
KR101777908B1 (en) Method of processing a sequence of coded video frames
US8306383B2 (en) Data processor and hierarchy for recording moving and still picture files
WO2006030767A1 (en) Data processing device
JP2007074608A (en) Reproducing apparatus and reproducing method
KR100561414B1 (en) Apparatus and method for decoding data to provide browsable slide show, and data storage medium therefor
US9456243B1 (en) Methods and apparatus for processing time-based content
JP2004104728A (en) Video camera capable of editing data, data editing and recording program, data recording apparatus, and recording medium
JPWO2005002221A1 (en) Data processing apparatus and data processing method
JP2007306255A (en) Unit and method for processing information, and computer program
US20100278514A1 (en) Information processing device, information processing method, and computer program
WO2000027113A1 (en) Recording/reproducing apparatus and method
JP4852453B2 (en) Recording apparatus, video reproduction apparatus, and special reproduction method thereof
JP4761862B2 (en) Content playback device
US20040190171A1 (en) Content recording apparatus
JP4763589B2 (en) Playback device and playback method thereof
JP2007329593A (en) Image reproduction system
US20060291811A1 (en) Moving picture distribution system
JP3861045B2 (en) Video signal recording apparatus, video signal recording method, and video signal recording program
JP2001111943A (en) Recording and reproducing device
JP7272096B2 (en) Viewing and recording device, viewing and recording method and viewing and recording program
JP3975503B2 (en) Information reproducing apparatus and reproducing method
JP3897753B2 (en) Memory output device
JP2005235272A (en) Data recording/reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110406

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110607

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140617

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees