JP2010258785A - Multiplexed stream data reproducing device - Google Patents
Multiplexed stream data reproducing device Download PDFInfo
- Publication number
- JP2010258785A JP2010258785A JP2009106547A JP2009106547A JP2010258785A JP 2010258785 A JP2010258785 A JP 2010258785A JP 2009106547 A JP2009106547 A JP 2009106547A JP 2009106547 A JP2009106547 A JP 2009106547A JP 2010258785 A JP2010258785 A JP 2010258785A
- Authority
- JP
- Japan
- Prior art keywords
- stream data
- data
- reference clock
- unit
- multiplexed
- 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.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
この発明は、多重化されたストリームデータを再生する多重化ストリームデータ再生装置に関するものである。 The present invention relates to a multiplexed stream data reproducing apparatus that reproduces multiplexed stream data.
ストリームデータの多重化とは、複数のストリームデータを、同期再生可能な一つのストリームデータにまとめることである。身近な例として、DVD(Digital Versatile Disk)における映像と音声の多重化や、デジタルテレビジョン放送などにおける映像・音声・データの多重化などがある。このようなストリームデータを多重化する従来の方法としては以下のようなものがあった。
(1)MPEGシステム型
(2)AVI/ASF型
MPEG:Motion Pictures Experts Group
AVI:Audio Video Interface
ASF:Advanced Systems Format
Multiplexing of stream data is to combine a plurality of stream data into one stream data that can be synchronously reproduced. Familiar examples include video and audio multiplexing on a DVD (Digital Versatile Disk) and video / audio / data multiplexing on digital television broadcasts. Conventional methods for multiplexing such stream data include the following.
(1) MPEG system type (2) AVI / ASF type MPEG: Motion Pictures Experts Group
AVI: Audio Video Interface
ASF: Advanced Systems Format
上記の(1)の方法は、マルチメディアデータの多重化方式として国際標準化されているMPEGシステムによるものである(例えば、特許文献1および非特許文献1参照)。この方法では、多重化する各ストリームデータをPES(Packetized Elementary Stream)という単位で細かく区切り、それらを時刻順に並べていくことで多重化ストリームデータを構成する。多重化ストリームデータ内には、基準時刻情報(PCR:Program Clock ReferenceおよびSCR:System Clock Reference)が含まれており、再生機側ではこれを使って再生機内に高精度な基準クロックを再現することができる。多重化ストリームデータを再生する際には、その基準クロックとPES内に含まれるタイムスタンプ(PTS:Presentation Time StampおよびDTS:Decoding Time Stamp)とを照合して各PESの再生タイミングを決定する。
The method (1) is based on an MPEG system that is internationally standardized as a multimedia data multiplexing method (see, for example,
一方、上記(2)の方法は、米マイクロソフト社により開発されたファイルフォーマットであり、パーソナルコンピュータ等において映像データ・音声データ・メタデータといったストリームデータを多重化するために頻繁に使われている方式である(例えば、非特許文献2参照)。本方式では、チャンクと呼ばれる単位で各ストリームデータを細かく区切り、それを時刻順に並べることで多重化ストリームデータを構成する。多重化ストリームデータ内にはヘッダ情報があり、その中に、各ストリームデータに対する更新頻度(再生周波数)が記載されている。多重化ストリームデータを再生する際には、この再生周波数に準じてチャンクを処理し多重化ストリームデータを再生する。 On the other hand, the method (2) is a file format developed by Microsoft Corporation, and is a method frequently used for multiplexing stream data such as video data, audio data, and metadata in a personal computer or the like. (For example, see Non-Patent Document 2). In this system, multiplexed stream data is configured by finely dividing each stream data in units called chunks and arranging them in time order. There is header information in the multiplexed stream data, and the update frequency (reproduction frequency) for each stream data is described therein. When the multiplexed stream data is reproduced, the chunk is processed according to the reproduction frequency to reproduce the multiplexed stream data.
上記(1)の方式では、上述のように基準クロックをペースメーカーにして再生が行われる。しかしながら、基準クロックは、多重化されたストリームデータ全体に対して付けられるものであるから、このクロックを頼りにして再生すると、ストリームデータ全体に対する同期再生はできても、特定のストリームデータにフォーカスを当てた同期再生はできない。例えば、多重化ストリームデータ内に間欠的な時間でしか存在しないストリームデータが含まれていた場合、上記(1)の方式では多重化ストリーム全体に対し付けられた基準クロックに基づく同期再生しかできないから、間欠的なストリームデータが存在する区間のみを他のストリームデータと同期して再生することはできない。 In the method (1), reproduction is performed using the reference clock as a pacemaker as described above. However, since the reference clock is attached to the entire multiplexed stream data, reproduction based on this clock can focus on specific stream data even if the entire stream data can be reproduced synchronously. The synchronized playback cannot be applied. For example, when stream data that exists only in intermittent time is included in the multiplexed stream data, the method (1) can only perform synchronous reproduction based on the reference clock attached to the entire multiplexed stream. Only the section in which intermittent stream data exists cannot be reproduced in synchronization with other stream data.
また、上記(2)の方式の場合には、各ストリームデータが予め設定された再生周波数を基準に再生される。従って、多重化ストリームデータ内には、再生周波数に従って再生されるように各ストリームデータのチャンクを並べる必要がある。このため、この方式では(1)の方式と異なり、一部のストリームデータが途中で欠落している、あるいは途中でフレームレート等の再生周波数が変わる、といった多重化ストリームデータを構築することができない。 In the case of the method (2), each stream data is reproduced based on a preset reproduction frequency. Therefore, it is necessary to arrange the chunks of the stream data in the multiplexed stream data so that they are reproduced according to the reproduction frequency. Therefore, unlike this method (1), this method cannot construct multiplexed stream data in which some stream data is missing on the way or the playback frequency such as the frame rate changes on the way. .
このように、従来の多重化ストリームデータの再生においては、多重化されたストリームデータを作成する時点で既に再生するパターンやデータを再生するタイミングが決まっており、一度多重化されてしまうと、再生機側では再生するタイミングを変更することはできないという問題があった。このため、必ずしもアプリケーションが意図する再生パターンで同期再生できるとは限らなかった。 As described above, in the reproduction of the conventional multiplexed stream data, the reproduction timing of the pattern and data that has already been reproduced is determined at the time when the multiplexed stream data is created. There was a problem that the playback timing could not be changed on the machine side. For this reason, synchronized playback cannot always be performed with a playback pattern intended by the application.
この発明は上記のような課題を解決するためになされたもので、多重化ストリームデータに多重化された複数のストリームデータの中から再生の基準となるストリームデータを選択することのできる多重化ストリームデータ再生装置を得ることを目的とする。 The present invention has been made to solve the above-described problems, and a multiplexed stream that can select stream data to be a reference for reproduction from among a plurality of stream data multiplexed into the multiplexed stream data. An object is to obtain a data reproducing apparatus.
この発明に係る多重化ストリームデータ再生装置は、複数のストリームデータが多重化された多重化ストリームデータを各々のストリームデータに分離すると共に、分離された各々のストリームデータを同期再生するための基準時刻情報を出力するデマルチプレクサ部と、デマルチプレクサ部から出力される基準時刻情報から基準クロックを再現する基準クロック再現部と、デマルチプレクサ部にて分離された各々のストリームデータを基準クロック再現部から出力される基準クロックに基づき復号する複数のデコーダと、再生の基準クロックとなるストリームデータの指定を受け付け、指定されたストリームデータをデマルチプレクサ部に伝える基準クロック要求受付部とを備え、デマルチプレクサ部は、基準クロック再現部に対して出力する基準時刻情報を、基準クロック要求受付部から伝えられたストリームデータから抽出するようにしたものである。 The multiplexed stream data reproducing apparatus according to the present invention separates multiplexed stream data obtained by multiplexing a plurality of stream data into each stream data, and a reference time for synchronously reproducing each separated stream data A demultiplexer unit that outputs information, a reference clock reproduction unit that reproduces a reference clock from reference time information output from the demultiplexer unit, and each stream data separated by the demultiplexer unit is output from the reference clock reproduction unit A plurality of decoders for decoding based on a reference clock, a reference clock request receiving unit that receives designation of stream data to be a reference clock for reproduction, and transmits the designated stream data to the demultiplexer unit. Output to reference clock reproduction unit That the reference time information, is obtained so as to extract from the stream data transmitted from the reference clock request receiving unit.
この発明の監視制御装置の多重化ストリームデータ再生装置は、デマルチプレクサ部から基準クロック再現部に対して出力する基準時刻情報を、指定されたストリームデータから抽出するようにしたので、多重化ストリームデータに多重化された複数のストリームデータの中から再生の基準となるストリームデータを選択することができる。 In the multiplexed stream data reproduction device of the monitoring control apparatus according to the present invention, the reference time information output from the demultiplexer unit to the reference clock reproduction unit is extracted from the designated stream data. It is possible to select stream data as a reference for reproduction from among a plurality of stream data multiplexed in the above.
実施の形態1.
図1は、この発明の実施の形態1による多重化ストリームデータ再生装置を用いた監視システムの構成図である。
産業用監視分野では、CCTVシステム等のカメラ映像を記録するレコーダにて、映像以外のデータも同時に記録するマルチログレコーダが実用化され始めている。図1では、カメラ101からの映像データ、マイク102からの音声データ、センサ103からの計測データを同時に記録するマルチログレコーダ104と、その記録されたデータを再生する再生装置105および再生装置105に接続された表示装置106、スピーカ107からなるシステムを示している。
FIG. 1 is a block diagram of a monitoring system using a multiplexed stream data reproducing apparatus according to
In the industrial monitoring field, multi-log recorders that simultaneously record data other than video in recorders that record camera video, such as CCTV systems, are beginning to be put into practical use. In FIG. 1, a
マルチログレコーダ104では、上記映像データ、音声データ、計測データといったデータが時系列のストリームデータとして入力され、それを再生装置105で同期再生できるよう多重化して記録している。マルチログレコーダ104と再生装置105との間は、ネットワーク等により接続されており、再生装置105では、マルチログレコーダで記録された多重化ストリームデータを取り込むことができるようになっている。再生装置105に取り込まれた多重化ストリームデータは、装置内で復号され、映像データや計測データであれば表示装置106に、音声データであればスピーカ107に出力される。
In the
しかしながら、音声データや計測データと比べ、映像データはデータ量が多いため、常に記録するのではなく、例えば画像処理を行って動きがあったときのみ記録する、あるいは昼間だけ記録し夜間は記録しないといった運用がなされることも多い。図2は、映像データ201、音声データ202、計測データ203を記録するマルチログレコーダにおいて、音声データ202は常時記録し、映像データは動きがあったときのみ記録し、計測データはセンサが反応したときのみ記録した場合の多重化ストリームデータをタイムラインでみた例である。図示のように、時刻t1からt2の間は、映像データ201、音声データ202、計測データ203の全てが記録されている。時刻t2からt3の間は映像データ201と音声データ202のみ記録している。時刻t3からt4の間は音声データ202のみ記録し、t4からt5の間は音声データ202と計測データ203を記録している。このようなストリームデータ群に対し、従来のMPEGシステム型による多重化を行うと、時刻t1からt5までの間は常に音声データ202が存在するため、多重化ストリームデータは時刻t1からt5までの時間区間を持ったデータになる。この多重化ストリームデータを再生すると、その再生には(t5−t1)だけの時間を要することになる。
However, compared to audio data and measurement data, video data has a large amount of data, so it is not always recorded. For example, video data is recorded only when there is movement, or it is recorded only during the day and not at night. Are often used. FIG. 2 shows a multi-log recorder that records
一方、このようなデータを使って、センサによる計測データを表示することを主目的としたアプリケーションが組まれる場合を考える。このようなアプリケーションでは、計測データが主であるため、計測データの存在する区間のみを再生したいと考えるのが自然である。更に、それに合わせてその際の映像と音声も同時に確認したいという要望も少なくない。 On the other hand, consider a case where an application whose main purpose is to display sensor measurement data is built using such data. In such an application, the measurement data is mainly used, and it is natural that only the section in which the measurement data exists is reproduced. In addition, there are many requests to simultaneously confirm the video and audio at that time.
しかしながら、従来のMPEGシステムといった再生機では、上記のような多重化ストリームデータに対しては計測データを基準に再生するというような選択肢はなく、多重化ストリームデータ内に存在する基準時刻情報をもとに基準クロックが再現され、そのクロックの進行にあわせて再生が行われる。上記の場合は、(t2−t1)+(t5−t4)の時間だけ再生したいにもかかわらず、結果的に(t5−t1)の間、音声データを再生することになる。本発明においては、このような多重化ストリームデータに対しても、時刻の基準となるストリームデータを予め指定し、そのストリームデータの時刻の進行にあわせて他の多重化されたストリームデータも再生されることを目的とする。例えば、図2において、計測データの時刻を基準に指定した場合には、計測データのある区間のみを再生し、計測データのない区間はスキップして再生される。その際、多重化されている他のストリームデータもその時刻の進行にあわせて再生されたり、スキップして再生されたりする。一方、時刻の基準に、音声データやMPEGシステムにおける基準時刻(STC)を指定した場合、通常のMPEGシステムと同様に(t5−t1)の時間をかけて再生される。 However, in a playback device such as a conventional MPEG system, there is no option of playing back the multiplexed stream data as described above based on the measurement data, and the reference time information existing in the multiplexed stream data is also included. At the same time, the reference clock is reproduced, and reproduction is performed as the clock progresses. In the above case, the audio data is reproduced during (t5-t1) as a result, although it is desired to reproduce only the time (t2-t1) + (t5-t4). In the present invention, for such multiplexed stream data, stream data serving as a time reference is designated in advance, and other multiplexed stream data is also reproduced as the time of the stream data advances. The porpose is to do. For example, in FIG. 2, when the time of measurement data is designated as a reference, only a section with measurement data is reproduced, and a section without measurement data is reproduced with skipping. At this time, other multiplexed stream data is also reproduced in accordance with the progress of the time, or is reproduced by skipping. On the other hand, when audio data or a standard time (STC) in the MPEG system is designated as the time standard, the reproduction is performed over a period of (t5-t1) as in the normal MPEG system.
図3は、実施の形態1の多重化ストリームデータ再生装置の構成図である。
本多重化ストリームデータ再生装置は、基準クロック要求受付部1、デマルチプレクサ(DMUX)部2、基準クロック再現部3、デコーダ4−1〜4−n、出力部5−1〜5−n、インタフェース6−1〜6−nを備えている。
基準クロック要求受付部1は、アプリケーションからの基準クロックの指定を受け付け、それをDMUX部2に伝える。DMUX部2は、入力された多重化ストリームデータを分離すると共に基準クロック要求受付部1から伝えられた基準クロックに対応する時刻情報を基準クロック再現部3に伝える。基準クロック再現部3は、DMUX部2から出力される基準時刻情報から基準クロックを再現する。デコーダ4−1〜4−nは、DMUX部2にて分離されたN個のストリームデータに各々対応し、基準クロック再現部3からの基準クロックに基づき各々のストリームデータを復号する。また、出力部5−1〜5−nは、それぞれのデコーダ4−1〜4−nが出力する復号されたストリームデータを各々のストリームデータに対応するインタフェース6−1〜6−nに出力する。更に、インタフェース6−1〜6−nは、出力部5−1〜5−nから出力されたそれぞれのストリームデータを、例えば図1に示す表示装置106やスピーカ107に接続する。
FIG. 3 is a configuration diagram of the multiplexed stream data reproducing apparatus according to the first embodiment.
The multiplexed stream data reproducing apparatus includes a reference clock
The reference clock
次に、図2で説明した多重化ストリームデータを例にとって本実施の形態の動作を具体的に説明する。ここでは、アプリケーションは、計測データを主体に再生することを目的としたものと仮定する。そのような場合、アプリケーションは、計測データを時刻の基準とするよう基準クロック要求受付部1に対して指定する。指定した情報は、基準クロック要求受付部1からDMUX部2に伝えられ、DMUX部2は、計測データが含まれるPES内のDTS情報ないしはPTS情報を抽出し、基準クロック再現部3に伝える。基準クロック再現部3は、そのDTS情報ないしはPTS情報から基準クロックを再現する。映像データ、音声データ、計測データの各デコーダ4−1〜4−nは、DMUX部2から出力されたPESデータを受け取り、PESデータ内に含まれるDTS情報あるいはPTS情報と、基準クロック再現部3にて再現された基準クロック値とを照合し、クロックが一致するPESデータを復号する。
Next, the operation of the present embodiment will be specifically described taking the multiplexed stream data described in FIG. 2 as an example. Here, it is assumed that the application is intended to reproduce measurement data as a subject. In such a case, the application instructs the reference clock
この際、計測データは常時含まれているわけではなく、間欠的に含まれているので、計測データが持つDTS/PTS情報は再生中に時刻がスキップする場合がある。この場合には、基準時刻もスキップすることになり、例えば音声データ用デコーダ等においては時刻情報が一致しないデータが存在することになるが、そのデータは破棄され、復号されない。復号されたストリームデータのみが各インタフェース6−1〜6−nに出力される。この結果、計測データが存在する時刻に対してのみ、映像データ、音声データ、計測データが同期再生されることになる。なお、映像データや音声データなどは、符号化方式によっては、ランダムアクセスポイントが決まってしまう場合がある。この場合には、事前のランダムアクセスポイントから再生する、あるいは次のランダムアクセスポイントから再生するといった形がとられる場合もある。 At this time, the measurement data is not always included, but is included intermittently, and thus the DTS / PTS information included in the measurement data may be skipped during playback. In this case, the reference time is also skipped. For example, in the audio data decoder or the like, there is data that does not match the time information, but the data is discarded and is not decoded. Only the decoded stream data is output to each interface 6-1 to 6-n. As a result, video data, audio data, and measurement data are synchronously reproduced only at the time when the measurement data exists. For video data, audio data, and the like, a random access point may be determined depending on the encoding method. In this case, the reproduction may be performed from a previous random access point or from the next random access point.
以上のように、本実施の形態においては、時刻の基準となるストリームデータを選択できるようにしたことにより、一つの多重化ストリームデータに対し、様々なアプリケーションで要求されるパターンの再生に対応できるようになる、という効果がある。 As described above, in the present embodiment, stream data serving as a reference for time can be selected, so that it is possible to support reproduction of patterns required by various applications for one multiplexed stream data. This has the effect of becoming
尚、本実施の形態においては、計測データがなかなか現れないようなデータである場合にはDMUX部2とデコーダ4−1〜4−nとの間に大きめのバッファが必要になることは言うまでもない。 In the present embodiment, it is needless to say that a large buffer is required between the DMUX unit 2 and the decoders 4-1 to 4-n when the measurement data does not readily appear. .
また、本実施の形態では、映像データ、音声データ、計測データを例にとって説明したが、多重化されるストリームデータはこれらに限ったものではなく、多様なストリームデータを含んでいても本発明の実現が可能であることは言うまでもない。 In this embodiment, video data, audio data, and measurement data have been described as examples. However, the stream data to be multiplexed is not limited to these, and the present invention may include various stream data. Needless to say, this is possible.
更に、本実施の形態においては、一例として、計測データを時刻の基準としたが、その他のストリームデータや従来のPCR/SCRを使ったシステム時刻STCを時刻基準とすることもできる。また、多重化ストリームの中に、独自の時間軸を一つのストリームデータとしてその中に含めることも可能である。そして、そのようなデータを基準クロック要求受付部1から時刻の基準として指定すると、そのデータがペースメーカーとなって、独自の時間軸での再生も可能となる。例えば、ある映像監視システムにおいては、夜間のデータはそれほど重要ではなく、夜間部分に対しては早送り再生する機能が備えられていると便利な場合がある。このような場合、通常のPCR/SCRでは実時間で再生されてしまうので、夜間は早く時刻が流れるようなPTS/DTS時刻を持ったストリームデータを挿入し、このストリームデータを対象に基準クロックを再現するよう指定する。そうすることで、夜間部分は早く時間が流れ、昼間は実時間で再生するということが可能となる。
Furthermore, in the present embodiment, as an example, the measurement data is used as a time reference, but other stream data or a system time STC using conventional PCR / SCR can be used as a time reference. In addition, a unique time axis can be included in the multiplexed stream as one stream data. When such data is designated as a time reference from the reference clock
また、画像処理した結果を一つのストリームデータとしてその中に含めることも可能である。このようなデータを時刻の基準に指定すると、画像処理の結果に追従した再生が可能となる。こうすることで、映像そのものは常時録画しておき、画像処理に反応した時間区間(例えば動きのあった区間)のみを再生することも可能である。 In addition, it is possible to include the result of image processing as one stream data. When such data is designated as a time reference, reproduction following the result of image processing becomes possible. By doing so, it is possible to record the video itself at all times and reproduce only the time interval (for example, the interval in which the motion has occurred) in response to the image processing.
以上説明したように、実施の形態1の多重化ストリームデータ再生装置によれば、複数のストリームデータが多重化された多重化ストリームデータを各々のストリームデータに分離すると共に、分離された各々のストリームデータを同期再生するための基準時刻情報を出力するデマルチプレクサ部と、デマルチプレクサ部から出力される基準時刻情報から基準クロックを再現する基準クロック再現部と、デマルチプレクサ部にて分離された各々のストリームデータを基準クロック再現部から出力される基準クロックに基づき復号する複数のデコーダと、再生の基準クロックとなるストリームデータの指定を受け付け、指定されたストリームデータをデマルチプレクサ部に伝える基準クロック要求受付部とを備え、デマルチプレクサ部は、基準クロック再現部に対して出力する基準時刻情報を、基準クロック要求受付部から伝えられたストリームデータから抽出するようにしたので、多重化ストリームデータに多重化された複数のストリームデータの中から再生の基準となるストリームデータを選択することができる。 As described above, according to the multiplexed stream data reproducing apparatus of the first embodiment, the multiplexed stream data obtained by multiplexing a plurality of stream data is separated into each stream data, and each separated stream A demultiplexer unit that outputs reference time information for synchronously reproducing data, a reference clock reproduction unit that reproduces a reference clock from the reference time information output from the demultiplexer unit, and a demultiplexer unit Accepts a plurality of decoders that decode stream data based on a reference clock output from the reference clock reproduction unit, and accepts a designation of stream data that is a reproduction reference clock, and accepts a reference clock request that conveys the designated stream data to the demultiplexer unit The demultiplexer unit is a reference Since the reference time information to be output to the lock reproduction unit is extracted from the stream data transmitted from the reference clock request receiving unit, reproduction from a plurality of stream data multiplexed into the multiplexed stream data is performed. The reference stream data can be selected.
実施の形態2.
実施の形態2では、多重化ストリームデータの中に含まれるストリームデータのうち、再生するストリームデータ種別を選択しつつ、時刻の基準となるストリームデータを選択できるようにした例である。ストリームデータの選択は、例えば多重化方式がMPEGシステムの場合には、ストリームIDを指定することにより一意にストリームデータを特定できるので、これを複数指定することにより同期再生するストリームデータ群を指定することができる。
Embodiment 2. FIG.
Embodiment 2 is an example in which stream data serving as a time reference can be selected while selecting a stream data type to be reproduced from stream data included in multiplexed stream data. For example, when the multiplexing method is an MPEG system, stream data can be selected by specifying a stream ID, so that stream data can be uniquely specified. By specifying a plurality of stream data, a stream data group to be synchronously reproduced is specified. be able to.
図4は、実施の形態2による多重化ストリームデータ再生装置の構成図である。
実施の形態2の多重化ストリームデータ再生装置は、基準クロック要求受付部1、DMUX部2a、基準クロック再現部3、デコーダ4−1〜4−n、出力部5−1〜5−n、インタフェース6−1〜6−n、ストリームデータ要求受付部7を備えている。ここで、基準クロック要求受付部1、基準クロック再現部3〜インタフェース6−1〜6−nは、実施の形態1の構成と同様であるため、対応する部分に同一符号を付してその説明を省略する。ストリームデータ要求受付部7は、アプリケーションから、再生するストリームデータ群を受け付け、それをDMUX部2aに伝える機能を有している。また、DMUX部2aは、実施の形態1のDMUX部2の機能に加えて、ストリームデータ要求受付部7から指示された再生するストリームデータ群に基づいて、再生するストリームデータのみをデコーダ4−1〜4−nに出力する機能を有している。
FIG. 4 is a configuration diagram of the multiplexed stream data reproducing apparatus according to the second embodiment.
The multiplexed stream data reproducing apparatus according to the second embodiment includes a reference clock
次に、実施の形態2の多重化ストリームデータ再生装置の動作について説明する。
図5は、本実施の形態において、映像データ(#1)301、映像データ(#2)302、音声データ303、計測データ304を記録するマルチログレコーダにおいて、記録データをタイムラインでみた例である。映像データ(#1)301は常時記録、映像データ(#2)302は間欠記録を行っている。
Next, the operation of the multiplexed stream data reproducing apparatus according to the second embodiment will be described.
FIG. 5 shows an example in which recorded data is viewed on a timeline in a multi-log recorder that records video data (# 1) 301, video data (# 2) 302,
ここで、本実施の形態におけるアプリケーションは、映像データ(#1)301および映像データ(#2)302、音声データ303のみを再生するものとし、映像データ(#2)302を時刻の基準として再生したいとする。この場合には、計測データは不要であるので、再生の必要はない。そこで、アプリケーションは、ストリームデータ要求受付部7に対して、映像データ(#1)301および映像データ(#2)302、音声データ303のみを再生するよう要求する。また、アプリケーションは、基準クロック要求受付部1に対して、映像データ(#2)302を時刻の基準として再生するよう要求を行う。
これにより、DMUX部2aは、実施の形態1と同様に、音声データ303が含まれるPES内のDTS情報ないしはPTS情報を抽出し、基準クロック再現部3に伝える。基準クロック再現部3は、そのDTS情報ないしはPTS情報から基準クロックを再現する。また、DMUX部2aは、多重化ストリームデータより分離した映像データ(#1)301、映像データ(#2)302および音声データ303のみを、対応するデコーダ4−1〜4−nに送出する。
Here, the application in the present embodiment reproduces only the video data (# 1) 301, the video data (# 2) 302, and the
As a result, the
映像データ(#1)301、映像データ(#2)302および音声データ303に対応した各デコーダ4−1〜4−nは、DMUX部2aから出力されたPESデータを受け取り、PESデータ内に含まれるDTS情報あるいはPTS情報と、基準クロック再現部3にて再現された基準クロック値とを照合し、クロックが一致するPESデータを復号する。これにより、音声データ303に同期して映像データ(#1)301、映像データ(#2)302および音声データ303が出力部5−1〜5−nから出力される。
The decoders 4-1 to 4-n corresponding to the video data (# 1) 301, the video data (# 2) 302, and the
尚、上記実施の形態2では、選択するデータを映像データ、音声データとし、計測データを非選択としたが、本発明の効果は選択するストリームデータには依存しないことは言うまでもない。
また、実施の形態2では、同期再生するストリームデータのみをDMUX部2aからデコーダ4−1〜4−nに送出するようにしたが、DMUX部2aから全てのストリームデータをデコーダ4−1〜4−nに送出し、別途、復号するストリームデータを指定するようにしてもよい。
In the second embodiment, the data to be selected is video data and audio data, and the measurement data is not selected. Needless to say, the effect of the present invention does not depend on the stream data to be selected.
In the second embodiment, only stream data to be synchronously reproduced is transmitted from the
以上のように、実施の形態2の多重化ストリームデータ再生装置では、複数の多重化ストリームデータの中から、再生対象とするストリームデータの指定を受け付け、この指定をデマルチプレクサ部に伝えるストリームデータ要求受付部を備え、デマルチプレクサ部は、ストリームデータ要求受付部から伝えられたストリームデータのみをデコーダに出力するようにしたので、実施の形態1の効果に加えて、一つの多重化ストリームデータに対し、少ない復号負荷で様々なアプリケーションで要求されるパターンの再生に対応できるようになる、という効果がある。 As described above, in the multiplexed stream data reproducing apparatus according to the second embodiment, a stream data request that receives designation of stream data to be reproduced from a plurality of multiplexed stream data and transmits this designation to the demultiplexer unit. In addition to the effects of the first embodiment, the demultiplexer unit outputs only the stream data transmitted from the stream data request reception unit to the decoder. There is an effect that it is possible to cope with the reproduction of patterns required by various applications with a small decoding load.
1 基準クロック要求受付部、2 DMUX(デマルチプレクサ)部、3 基準クロック再現部、4−1〜4−n デコーダ、5−1〜5−n 出力部、6−1〜6−n インタフェース、7 ストリームデータ要求受付部、101 カメラ、102 マイク、103 センサ、104 マルチログレコーダ、105 再生装置、106 表示装置、107 スピーカ。 1 reference clock request reception unit, 2 DMUX (demultiplexer) unit, 3 reference clock reproduction unit, 4-1 to 4-n decoder, 5-1 to 5-n output unit, 6-1 to 6-n interface, 7 Stream data request reception unit, 101 camera, 102 microphone, 103 sensor, 104 multi-log recorder, 105 playback device, 106 display device, 107 speaker.
Claims (2)
前記デマルチプレクサ部から出力される基準時刻情報から基準クロックを再現する基準クロック再現部と、
前記デマルチプレクサ部にて分離された各々のストリームデータを前記基準クロック再現部から出力される基準クロックに基づき復号する複数のデコーダと、
再生の基準クロックとなるストリームデータの指定を受け付け、当該指定されたストリームデータを前記デマルチプレクサ部に伝える基準クロック要求受付部とを備え、
前記デマルチプレクサ部は、前記基準クロック再現部に対して出力する基準時刻情報を、前記基準クロック要求受付部から伝えられたストリームデータから抽出することを特徴とする多重化ストリームデータ再生装置。 A demultiplexer unit that separates multiplexed stream data obtained by multiplexing a plurality of stream data into each stream data, and outputs reference time information for synchronously reproducing each separated stream data;
A reference clock reproduction unit that reproduces a reference clock from the reference time information output from the demultiplexer unit;
A plurality of decoders for decoding each stream data separated by the demultiplexer unit based on a reference clock output from the reference clock reproduction unit;
A reference clock request receiving unit that receives designation of stream data to be a reference clock for reproduction, and transmits the designated stream data to the demultiplexer unit;
The multiplexed stream data reproducing apparatus, wherein the demultiplexer unit extracts reference time information output to the reference clock reproduction unit from stream data transmitted from the reference clock request receiving unit.
前記デマルチプレクサ部は、前記ストリームデータ要求受付部から伝えられたストリームデータのみをデコーダに出力することを特徴とする請求項1記載の多重化ストリームデータ再生装置。 A stream data request receiving unit that receives designation of stream data to be reproduced from a plurality of multiplexed stream data and transmits the designation to the demultiplexer unit,
2. The multiplexed stream data reproducing apparatus according to claim 1, wherein the demultiplexer unit outputs only the stream data transmitted from the stream data request receiving unit to the decoder.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009106547A JP2010258785A (en) | 2009-04-24 | 2009-04-24 | Multiplexed stream data reproducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009106547A JP2010258785A (en) | 2009-04-24 | 2009-04-24 | Multiplexed stream data reproducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010258785A true JP2010258785A (en) | 2010-11-11 |
Family
ID=43319195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009106547A Pending JP2010258785A (en) | 2009-04-24 | 2009-04-24 | Multiplexed stream data reproducing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010258785A (en) |
-
2009
- 2009-04-24 JP JP2009106547A patent/JP2010258785A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI342711B (en) | Information storage medium having recorded thereon text subtitle data synchronized with av data, and reproducing apparatus | |
JP5197910B2 (en) | Device for receiving digital information signals | |
JP5047607B2 (en) | Stream recording apparatus, stream recording method, recording system, and recording / reproducing system | |
US8676038B2 (en) | Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program | |
JP2008160748A5 (en) | ||
JP2005278152A (en) | Video/audio playback apparatus and video/audio playback method | |
JP2008193203A (en) | Digital video information data generation apparatus, digital video information recording apparatus, digital video information reproducing apparatus, and digital video information data generation method | |
JP2007047232A (en) | Decoding apparatus, decoding method, and disk type recording medium | |
JP2008294638A (en) | Transmission system, recording apparatus, transmission method, recording method, and program | |
JP2004040579A (en) | Digital broadcast reception device and synchronous reproduction method for digital broadcast | |
JP3529679B2 (en) | Recording / playback device | |
JP2010258785A (en) | Multiplexed stream data reproducing device | |
JP4215075B2 (en) | Information processing device | |
JP2007174256A (en) | Video image and audio sound recording device | |
JP2003153151A (en) | Device for storing and reproducing digital broadcasting | |
JP3897753B2 (en) | Memory output device | |
JP4725675B2 (en) | Recording / reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method, and computer program | |
JP2007243706A (en) | Apparatus and method for data format conversion | |
KR100631783B1 (en) | System and method for synchronizing multimedia data with metadata | |
JP2002247506A (en) | Recording device for digital audiovisual information | |
JP4187040B2 (en) | Recording / playback device | |
JP4566097B2 (en) | Data processing method, data processing apparatus, computer program, and recording medium | |
JP2004147153A (en) | Method, device, and program for recording video signal | |
JP5100852B2 (en) | Digital signal recording / reproducing apparatus and method, digital signal reproducing apparatus and method | |
JP2004515022A (en) | Method of providing program specification information on information recording medium |